/* VDEONE 3.7.13 | Brand Identity Studio. Scoped visual system; approved site/player unchanged. */
.pre-studio{display:grid;gap:19px;min-width:0;--pre-line:#3e3947;--pre-muted:#b7b0c0;--pre-paper:#faf5fe;--pre-accent:#e0baf3;}
.pre-studio *{box-sizing:border-box}
.pre-studio-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 215px;align-items:center;gap:26px;min-height:232px;padding:30px clamp(23px,3.7vw,43px);border:1px solid #494052;border-radius:25px;background:#15141b;overflow:hidden;}
.pre-studio-hero:after{content:"";position:absolute;inset:auto 30px 0;height:1px;background:linear-gradient(90deg,transparent,#a38ab3,transparent);opacity:.35;pointer-events:none}
.pre-studio-heading{position:relative;z-index:1;min-width:0}
.pre-studio .section-kicker{font-size:10px;color:#c4a9d8;letter-spacing:.15em;font-weight:750}
.pre-studio-hero h2{margin:10px 0 12px;font-size:clamp(29px,3.3vw,47px);line-height:1.07;letter-spacing:-.056em;font-weight:830;color:var(--pre-paper);max-width:16ch;}
.pre-studio-hero h2 em{font-style:normal;color:var(--pre-accent)}
.pre-studio-hero p{margin:0;max-width:63ch;color:#c6becb;font-size:13px;line-height:1.7}
.pre-studio-meta{display:flex;gap:8px 15px;flex-wrap:wrap;margin-top:19px;color:#e0d8e7;font-size:11px}
.pre-studio-meta span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.pre-studio-meta svg{color:#c39bd8;width:15px;height:15px}
.pre-studio-signature{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;border-left:1px solid #48404f;padding-left:24px;text-align:center}
.pre-studio-signature img{display:block;width:min(102px,100%);aspect-ratio:1;object-fit:contain;filter:none}
.pre-studio-signature span{color:#e1d8e9;font-size:9px;font-weight:760;letter-spacing:.12em}
.pre-studio-signature strong{color:#857990;font-size:9px;font:650 9px/1.4 ui-monospace,monospace;letter-spacing:.09em}
.pre-studio-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:start;gap:17px;min-width:0}
.pre-panel{min-width:0;padding:22px;border:1px solid #393440;border-radius:20px;background:#111116;}
.pre-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:19px}
.pre-section-head>div{min-width:0}
.pre-section-head h3{margin:7px 0 5px;color:var(--pre-paper);font-size:20px;letter-spacing:-.027em;line-height:1.17;font-weight:800}
.pre-section-head p{margin:0;color:#b4acbf;font-size:12px;line-height:1.6;max-width:69ch}
.pre-section-head .status{flex-shrink:0}
.pre-preview-box{position:relative;overflow:hidden;border:1px solid #3c3448;border-radius:15px;aspect-ratio:16/9;background:#08090e;display:grid;place-items:center}
.pre-preview-box video{display:block;width:100%;height:100%;object-fit:contain;max-height:100%;background:#050509}
.pre-preview-footer{display:flex;gap:10px;justify-content:space-between;align-items:center;padding-top:15px;min-width:0}
.pre-preview-footer span{color:#f8f4fc;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pre-preview-footer small{color:#a9a0b2;font-size:10px;text-align:right;white-space:nowrap}
.pre-settings-form{display:grid;gap:13px;min-width:0}
.pre-toggle-row{display:flex;justify-content:space-between;align-items:center;gap:17px;padding:14px 15px;border:1px solid #302b36;border-radius:12px;background:#19171f;cursor:pointer;min-width:0}
.pre-toggle-row span{min-width:0;display:grid;gap:4px}
.pre-toggle-row strong{font-size:12px;color:#f0eaf5}
.pre-toggle-row small{font-size:10px;line-height:1.5;color:#b4aabd}
.pre-toggle-row input{appearance:none;position:relative;flex:0 0 46px;width:46px;height:27px;border-radius:99px;border:1px solid #62566e;background:#2c2832;cursor:pointer;transition:background .17s ease}
.pre-toggle-row input:after{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#eae2ed;transition:transform .17s ease}
.pre-toggle-row input:checked{background:#6f507f;border-color:#b79bca}.pre-toggle-row input:checked:after{transform:translateX(19px);background:#fff}
.pre-form-field{display:grid;gap:8px;min-width:0;color:#e2dbea;font-size:11px;font-weight:680}
.pre-form-field>span{line-height:1.3}
.pre-form-field input,.pre-form-field select{width:100%;max-width:100%;min-width:0;min-height:43px;border-radius:11px!important;border:1px solid #504659!important;background:#1b1821!important;color:#f3edf9!important;font-size:12px!important;padding:9px 12px!important;}
.pre-form-field input[type=file]{padding:10px!important;line-height:22px}
.pre-form-field input[type=file]::file-selector-button{background:#29212f;color:#f3eaf7;border:1px solid #6e5a7a;border-radius:7px;padding:7px 11px;margin-right:10px;cursor:pointer}
.pre-form-field input:focus-visible,.pre-form-field select:focus-visible,.pre-studio button:focus-visible,.pre-studio a:focus-visible,.pre-toggle-row input:focus-visible{outline:2px solid #efcafa;outline-offset:3px}
.pre-primary-action{min-height:43px;justify-content:center}
.pre-feedback{margin:0;color:#b7abbe;font-size:10px;line-height:1.55}
.pre-library-count,.pre-count{display:inline-flex;flex-shrink:0;padding:7px 10px;border:1px solid #594c5f;border-radius:9px;color:#dbc7e6;letter-spacing:.08em;font-size:10px;font-weight:750}
.pre-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:12px;margin-bottom:18px}
.pre-library-item{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 12px;background:#1b1820;border:1px solid #3a3442;border-radius:13px}
.pre-library-item.is-default{border-color:#a57eb4;background:#231c28}
.pre-library-icon{flex:0 0 39px;height:39px;width:39px;display:grid;place-items:center;color:#e1c8ee;border:1px solid #64536c;border-radius:11px;background:#2b2530}
.pre-library-copy{min-width:0;flex:1;display:grid;gap:5px}.pre-library-copy strong{font-size:11px;color:#f3edf7;line-height:1.3;overflow-wrap:anywhere}.pre-library-copy small{font-size:9px;color:#b8a9bf;letter-spacing:.04em;line-height:1.4}
.pre-library-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.pre-library-actions .btn{min-height:34px;border-radius:9px;font-size:10px}
.pre-upload-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 18px;border-top:1px solid #3b3341;padding-top:18px}
.pre-upload-form>div{display:grid;grid-template-columns:1fr 1fr;gap:13px;min-width:0}.pre-upload-btn{min-height:43px;white-space:nowrap}.pre-file-help{grid-column:1/-1;margin:0;color:#aea5b4;font-size:10px;line-height:1.55}
.pre-assign-fields{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(145px,.8fr) minmax(150px,.9fr) minmax(145px,.9fr) auto;align-items:end;gap:11px}
.pre-assign-fields #preCustomField[hidden]{display:none!important}
.pre-assign-btn{min-height:43px;white-space:nowrap;justify-content:center}
.pre-assignments-list{margin-top:20px;border-top:1px solid #393340;display:grid;gap:0}
.pre-assignment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid #2f2a35;min-width:0}
.pre-assignment-row span{display:grid;gap:4px;min-width:0}.pre-assignment-row strong{font-size:12px;color:#eae2f0}.pre-assignment-row small{font-size:11px;color:#b0a5b8}
.pre-assignment-row button{white-space:nowrap}
.pre-assignment-empty{padding:20px 0;color:#b2a6bd;font-size:12px;line-height:1.6}
.pre-studio-footer{display:flex;align-items:flex-start;gap:9px;color:#a99daf;font-size:11px;line-height:1.55;padding:5px 8px 15px}
.pre-studio-footer svg{flex-shrink:0;color:#c5abd4;width:15px;height:15px}
/* Brand intro is independent of #video, its Media3/Web media policy, DRM, QoE and progress. */
.player-wrap>.vde-brand-intro{position:absolute;inset:0;z-index:70;display:grid;place-items:center;background:#030308;overflow:hidden;color:#fff;isolation:isolate}
.vde-brand-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#020207}
.vde-brand-footer{position:absolute;z-index:2;inset:auto max(18px,env(safe-area-inset-right)) 30px max(18px,env(safe-area-inset-left));display:flex;align-items:center;gap:13px;min-height:45px;padding:8px 12px;border-radius:12px;background:rgba(8,8,13,.83);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(9px)}
.vde-brand-label{display:flex;align-items:baseline;gap:9px;color:#fff;font-size:13px;font-weight:840;letter-spacing:.08em;white-space:nowrap}
.vde-brand-label small{font-size:9px;color:#d6c2e7;font-weight:640;letter-spacing:.06em}
.vde-brand-time{font:650 11px ui-monospace,Menlo,monospace;color:#dcd7e4;font-variant-numeric:tabular-nums;margin-left:auto}
.vde-brand-actions{display:flex;align-items:center;gap:8px;min-width:0}
.vde-brand-sound,.vde-brand-skip,.vde-brand-start{border:1px solid rgba(223,205,235,.48);background:rgba(37,26,44,.87);color:#f8f1ff;border-radius:9px;min-height:37px;padding:7px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font:700 11px/1.1 var(--vde-font-ui)}
.vde-brand-skip[hidden],.vde-brand-start[hidden]{display:none!important}
.vde-brand-sound.is-muted{color:#cabbd4}
.vde-brand-track{position:absolute;inset:auto 0 0;height:3px;background:#29212e;z-index:3}.vde-brand-track span{display:block;height:100%;width:0;background:#d8b4e9;transition:width .16s linear}
.vde-brand-start{position:relative;z-index:4;font-size:14px;padding:15px 22px;min-height:54px;border-radius:13px;background:#231629}
.vde-brand-intro button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1120px){.pre-studio-grid{grid-template-columns:1fr}.pre-assign-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pre-assign-btn{align-self:end}}
@media(max-width:760px){.pre-studio{gap:13px}.pre-studio-hero{grid-template-columns:1fr;min-height:auto;padding:24px 20px;border-radius:19px}.pre-studio-signature{display:none}.pre-panel{padding:17px;border-radius:17px}.pre-studio-hero h2{font-size:clamp(29px,7.5vw,42px)}.pre-upload-form{grid-template-columns:1fr}.pre-upload-form>div{grid-template-columns:1fr}.pre-assign-fields{grid-template-columns:1fr}.pre-preview-footer{align-items:flex-start}.pre-preview-footer small{white-space:normal}.pre-section-head{flex-wrap:wrap}.pre-studio-meta{gap:8px 13px}.pre-library-item{flex-wrap:wrap}.pre-library-actions{width:100%;justify-content:flex-start;margin-left:53px}.vde-brand-footer{inset:auto 9px max(18px,env(safe-area-inset-bottom)) 9px;flex-wrap:wrap;gap:7px;padding:8px}.vde-brand-label small{display:none}.vde-brand-sound span{display:none}.vde-brand-track{height:2px}}
@media(max-width:360px){.pre-toggle-row{padding:12px}.pre-library-item{padding:11px}.pre-library-actions{margin-left:0}.pre-studio-meta{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pre-studio *, .vde-brand-intro *{transition:none!important;scroll-behavior:auto!important}}
