.v410-page{margin:0;background:#f5f4ef;color:#163649;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.v410-page *,.v410-admin *{box-sizing:border-box}.v410-page a{color:inherit}.v410-header{max-width:1480px;padding:25px 42px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #18394d22}.v410-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:850;letter-spacing:.05em}.v410-brand small{display:block;letter-spacing:0;font-size:11px;font-weight:500;color:#527082}.v410-mark{display:grid;place-items:center;background:#007caa;color:white;width:48px;height:48px;border-radius:15px 5px 15px 5px;font-size:35px;line-height:1}.v410-header>a:last-child{font-size:13px;text-decoration:none}.v410-public{max-width:1480px;padding:48px 42px 20px;margin:auto}.v410-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:34px}.v410-eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:#137c91}.v410-intro h1{font-size:clamp(34px,4.4vw,64px);line-height:1.08;letter-spacing:-.055em;margin:15px 0}.v410-intro h1 span{color:#087fab}.v410-intro p{max-width:710px;margin:0;color:#527082;font-size:17px}.v410-summary{text-align:right;white-space:nowrap;padding-bottom:5px}.v410-summary strong{display:block;font-size:28px;letter-spacing:-.04em}.v410-summary span{color:#587381;font-size:12px}.v410-shell{background:#0b2232;color:#e9f4fa;border:1px solid #234052;border-radius:23px;overflow:hidden;box-shadow:0 16px 40px #15394b16}.v410-shell:fullscreen{width:100%;height:100%;border:0;border-radius:0;display:flex;flex-direction:column;background:#061522}.v410-filters{display:flex;gap:8px;flex-wrap:wrap;padding:19px 22px;border-bottom:1px solid #ffffff17}.v410-shell button,.v410-shell select,.v410-shell input{font:inherit}.v410-shell button{cursor:pointer}.v410-chip{color:#c5d6df;background:#142f41;border:1px solid #385063;padding:8px 12px;border-radius:999px;font-size:12px!important}.v410-chip[aria-pressed=true]{color:#062237;background:#8be0ed;border-color:#8be0ed}.v410-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0}.v410-shell:fullscreen .v410-layout{flex:1}.v410-stage{min-width:0;min-height:0;display:flex;flex-direction:column}.v410-picture{position:relative;background:#04111c;aspect-ratio:16/9;min-height:0;display:grid;place-items:center;overflow:hidden}.v410-picture video{display:block;width:100%;height:100%;max-height:70vh;object-fit:contain}.v410-shell:fullscreen .v410-picture{flex:1;aspect-ratio:auto}.v410-shell:fullscreen .v410-picture video{max-height:100%}.v410-empty-poster{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:radial-gradient(ellipse at 70% 10%,#116f83 0%,#0a2436 65%);pointer-events:none}.v410-empty-poster strong{font-size:clamp(24px,4vw,44px);letter-spacing:-.04em}.v410-empty-poster span{font-size:13px;color:#b5d4df}.v410-empty-poster[hidden]{display:none}.v410-details{padding:22px 25px 18px;border-top:1px solid #ffffff17}.v410-details small{font-size:10px;letter-spacing:.1em;color:#79c9da;text-transform:uppercase}.v410-details h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;margin:8px 0}.v410-details p{font-size:13px;color:#bad0dd;margin:8px 0 0;white-space:pre-line;overflow-wrap:anywhere}.v410-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 22px;background:#102b3d}.v410-tools button,.v410-tools select{border:1px solid #406174;border-radius:9px;background:#18394e;color:white;padding:9px 11px;font-size:12px;font-weight:650}.v410-tools button:disabled{opacity:.35;cursor:default}.v410-tools label{font-size:12px;display:flex;align-items:center;gap:5px}.v410-tools .v410-play{background:#8be0ed;color:#082435;border-color:#8be0ed}.v410-tools [data-full]{margin-left:auto}.v410-playlist{background:#102839;border-left:1px solid #ffffff17;min-width:0;display:flex;flex-direction:column}.v410-list-header{display:flex;justify-content:space-between;padding:19px 17px;align-items:center;gap:10px}.v410-list-header strong{font-size:13px}.v410-list-header span{font-size:11px;color:#9bbdcd}.v410-list{overflow:auto;max-height:650px;padding:0 10px 12px}.v410-shell:fullscreen .v410-list{max-height:none;flex:1}.v410-card{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;text-align:left;border:1px solid transparent;border-radius:11px;background:transparent;color:#e8f3fa;padding:9px;margin-bottom:4px}.v410-card:hover{background:#1a3b50}.v410-card[aria-current=true]{border-color:#61cddd;background:#1c4053}.v410-thumb{position:relative;background:#21495c;border-radius:6px;aspect-ratio:16/9;overflow:hidden;display:grid;place-items:center;color:#87cedd}.v410-thumb img{width:100%;height:100%;object-fit:cover}.v410-thumb time{position:absolute;bottom:3px;right:3px;padding:1px 4px;border-radius:3px;font-size:9px;background:#04131de8;color:white}.v410-card strong{display:block;font-size:12px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}.v410-card small{display:block;color:#94b7c9;font-size:10px;margin-top:5px}.v410-status{font-size:12px;min-height:36px;padding:9px 22px;margin:0;border-top:1px solid #ffffff17;color:#b7d3e0}.v410-status.is-error{color:#ffb9ad}.v410-shell :focus-visible,.v410-admin :focus-visible{outline:3px solid #00a9d6;outline-offset:2px}.v410-foot{display:flex;justify-content:space-between;gap:15px;padding:28px 0;color:#68818d;font-size:11px}.v410-notice{padding:12px 16px;border-radius:10px;color:#665025;background:#f9e9be;font-size:13px}.v410-notice[hidden]{display:none}.v410-welcome{padding:70px 35px;background:#e9f0ee;border-radius:20px;text-align:center}.v410-welcome h2{font-size:28px}.v410-progress-choice{background:#1b4054;border:1px solid #6c9aaa;border-radius:12px;padding:14px;margin:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}.v410-progress-choice button{padding:7px 12px;color:#dff8ff;background:#24536b;border:1px solid #6797aa;border-radius:6px;margin-left:6px}.v410-progress-choice[hidden]{display:none}
.v410-admin{color:#163649}.v410-admin .v410-box{background:white;border:1px solid #d1e0e9;border-radius:18px;padding:23px;margin-bottom:20px}.v410-admin h1{font-size:30px;margin:6px 0}.v410-admin h2{font-size:20px;margin:0 0 15px}.v410-admin .v410-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.v410-admin .v410-top p{margin:4px 0 20px;color:#5c788b;font-size:14px}.v410-admin .v410-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:20px}.v410-admin label{display:block;font-size:13px;font-weight:650;margin:12px 0 5px}.v410-admin label:has(input[type=checkbox]){display:flex;gap:8px;align-items:center}.v410-admin input:not([type=checkbox]),.v410-admin textarea,.v410-admin select{width:100%;max-width:100%;font:inherit;border:1px solid #c4d9e5;border-radius:9px;padding:10px;color:#173b50;background:#fff}.v410-admin textarea{min-height:85px}.v410-admin button,.v410-admin a.v410-button{font:600 13px/1.3 system-ui;border:1px solid #bad3e2;border-radius:9px;padding:10px 13px;background:#f8fcff;color:#174f6b;cursor:pointer;text-decoration:none;display:inline-block}.v410-admin button:disabled{opacity:.45;cursor:default}.v410-admin .v410-primary{color:white;background:#087fad;border-color:#087fad}.v410-admin .v410-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:16px}.v410-admin .v410-status{padding:10px 0;color:#366b7f}.v410-admin .v410-status.is-error{color:#a82c30}.v410-admin .v410-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #d5e3eb;padding:13px;border-radius:12px;margin:10px 0;background:#fff}.v410-admin .v410-row strong{display:block;overflow-wrap:anywhere}.v410-admin .v410-row small{display:block;color:#58788b;font-size:11px}.v410-admin .v410-row img{width:90px;height:56px;object-fit:cover;border-radius:6px}.v410-admin .v410-row .v410-actions{margin:0}.v410-admin .v410-row[draggable=true]{cursor:grab}.v410-admin .v410-row.is-dragover{outline:2px solid #06a2c7}.v410-admin .v410-badge{display:inline-block;font-size:10px;border-radius:12px;padding:3px 7px;background:#eaf4f8;color:#216078;margin-top:4px}.v410-admin progress{width:100%;height:14px;accent-color:#0789ac;margin:12px 0}.v410-admin .v410-help{font-size:12px;color:#5d7c8c;line-height:1.6}.v410-admin [data-upload-file]{background:#f5fafb;border:1px dashed #8eb8cb;padding:18px}.v410-admin .v410-upload-card{padding:14px;background:#f1f8fc;border-radius:10px;margin:10px 0;overflow-wrap:anywhere}.v410-admin .v410-upload-card p{font-size:12px}.v410-admin .v410-warning{color:#926017;font-size:12px}.v410-admin [hidden]{display:none!important}
@media(max-width:1050px){.v410-layout{grid-template-columns:minmax(0,1fr) 270px}.v410-public{padding:32px 22px}.v410-header{padding:22px}.v410-admin .v410-grid{grid-template-columns:1fr}}
@media(max-width:760px){.v410-intro{display:block}.v410-summary{text-align:left;margin-top:17px;display:flex;align-items:baseline;gap:10px}.v410-summary strong{font-size:20px}.v410-header{padding:16px}.v410-header>a:last-child{font-size:11px}.v410-brand small{max-width:140px;font-size:9px}.v410-public{padding:25px 12px}.v410-layout{display:flex;flex-direction:column}.v410-playlist{border-left:0;border-top:1px solid #ffffff17}.v410-list{max-height:340px}.v410-filters{padding:13px;gap:6px}.v410-chip{font-size:11px!important;padding:7px 9px}.v410-details{padding:17px}.v410-details h2{font-size:21px}.v410-tools{padding:12px;gap:7px}.v410-tools [data-full]{margin-left:0}.v410-shell:fullscreen .v410-playlist{max-height:30vh;flex-shrink:0}.v410-shell:fullscreen .v410-layout{overflow:auto}.v410-shell:fullscreen .v410-stage{flex:1;flex-shrink:0;min-height:45vh}.v410-shell:fullscreen .v410-details p{display:none}.v410-shell:fullscreen .v410-filters{display:none}.v410-progress-choice{margin:10px;flex-wrap:wrap}.v410-admin .v410-row{grid-template-columns:65px minmax(0,1fr)}.v410-admin .v410-row img{width:65px;height:45px}.v410-admin .v410-row .v410-actions{grid-column:1/-1}.v410-admin .v410-top{display:block}.v410-foot{font-size:10px}}
.v410-shell.v410-expanded{position:fixed;inset:0;z-index:2147483000;border-radius:0;overflow:auto;display:flex;flex-direction:column}.v410-expanded .v410-layout{flex:1}.v410-expanded .v410-list{max-height:75vh}
.v410-admin .v410-confirm{border:1px solid #b9d4e2;border-radius:16px;padding:24px;color:#163649;max-width:460px;background:white}.v410-confirm::backdrop{background:#071e30b5}.v410-confirm>div{display:flex;justify-content:flex-end;gap:10px}.v410-brand img{width:230px;max-width:36vw;height:auto;display:block}
/* Shared semantic description typography; clipboard fonts/colours are discarded. */
.v411-rich-content{font:14px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:anywhere;white-space:normal}.v411-rich-content p{font:inherit;margin:0 0 .9em;white-space:normal;color:inherit}.v411-rich-content p:last-child{margin-bottom:0}.v411-rich-content h2,.v411-rich-content h3{color:inherit;letter-spacing:normal;line-height:1.3;font-weight:750;margin:1em 0 .5em}.v411-rich-content h2{font-size:1.35em}.v411-rich-content h3{font-size:1.15em}.v411-rich-content ul,.v411-rich-content ol{margin:.5em 0 1em;padding-left:1.6em}.v411-rich-content li{margin:.25em 0}.v411-rich-content strong{font-weight:750}.v411-rich-content blockquote{margin:1em 0;padding-left:1em;border-left:3px solid #55bfd1}.v411-rich-content a{color:#086b98;text-decoration:underline}.v410-details .v411-rich-content{color:#c7dce7;font-size:14px;max-height:330px;overflow:auto;margin-top:12px;scrollbar-gutter:stable}.v410-details .v411-rich-content a{color:#9ae7f1}.v410-details .v411-rich-content strong,.v410-details .v411-rich-content h2,.v410-details .v411-rich-content h3{color:#f3faff}.v410-admin .v411-description-field{margin:14px 0}.v410-admin .v411-rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px;border:1px solid #c4d9e5;border-radius:9px 9px 0 0;background:#eff6fa}.v410-admin .v411-rich-toolbar select{width:auto;padding:7px;max-width:140px}.v410-admin .v411-rich-toolbar button{padding:7px 9px}.v410-admin .v411-rich-content{padding:14px;border:1px solid #c4d9e5;border-top:0;border-radius:0 0 9px 9px;min-height:220px;max-height:550px;overflow:auto;background:white;color:#173b50}.v410-admin [data-description-count]{display:block;text-align:right;color:#5b7687;margin:6px 0;font-size:11px}.v410-admin [data-description-count].is-error{color:#a82c30}.v410-admin .v411-transfer{border:1px solid #c7dde6;background:#f1f8fb;border-radius:10px;padding:12px;margin:14px 0;font-size:12px;overflow-wrap:anywhere}.v411-transfer p{line-height:1.6;margin:6px 0}.v411-transfer details{margin-top:10px}.v411-transfer summary{cursor:pointer;color:#436779}.v410-admin .v411-transfer button{text-align:left}.v411-link-dialog input{display:block;width:100%;padding:10px;margin:8px 0 18px;border:1px solid #b9d4e2;border-radius:8px}
@media(max-width:760px){.v410-details .v411-rich-content{max-height:240px}.v410-shell:fullscreen .v411-rich-content{max-height:140px}.v410-shell:fullscreen .v411-rich-content p{display:block}.v410-admin .v411-rich-content{min-height:180px}}
.v411-rich-content li>p{margin:.2em 0}
/* Fullscreen: bound every grid/flex level to the viewport. Native video size
   and the number of playlist items must never enlarge the outer shell. */
.v410-shell:is(:fullscreen,.v410-expanded){width:100%;height:100vh;height:100dvh;max-height:100dvh;border:0;border-radius:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#061522}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-filters{display:flex;flex-wrap:nowrap;min-width:0;overflow-x:auto;padding:12px 18px;scrollbar-width:thin;flex:none}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-chip{flex:none;white-space:nowrap}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-layout{display:grid;grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden;flex:initial}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-stage{height:100%;min-height:0;overflow:hidden;flex:initial}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-picture{flex:1 1 0;min-height:0;aspect-ratio:auto}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-picture video{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-tools{flex:0 0 auto;max-height:30vh;max-height:30dvh;overflow:auto;padding:10px 16px;overscroll-behavior:contain}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-progress-choice{flex:0 0 auto;max-height:18vh;overflow:auto;padding:8px 12px;margin:8px 12px}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-details{flex:0 1 auto;min-height:0;max-height:min(26vh,220px);overflow:auto;padding:12px 18px;overscroll-behavior:contain;scrollbar-gutter:stable}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-details h2{font-size:21px;margin:5px 0}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-details .v411-rich-content{max-height:none;overflow:visible;margin-top:8px;scrollbar-gutter:auto}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-details .v411-rich-content p{display:block}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-playlist{height:100%;min-height:0;max-height:none;overflow:hidden;flex:initial}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-list-header{flex:none;padding:14px 17px}
.v410-shell:is(:fullscreen,.v410-expanded) .v410-list{flex:1 1 0;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable}
.v410-shell:is(:fullscreen,.v410-expanded)>.v410-status{min-height:0;max-height:12vh;overflow:auto;flex:none}
@media(max-width:760px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(80px,25%)}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-filters{padding:8px 10px;gap:6px}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-tools{padding:8px 10px;gap:6px;max-height:32vh;max-height:32dvh}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-tools button,.v410-shell:is(:fullscreen,.v410-expanded) .v410-tools select{padding:7px 8px;font-size:11px}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-details{padding:8px 12px;max-height:min(19vh,150px)}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-details h2{font-size:17px}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-list-header{padding:8px 12px}
 .v410-shell:is(:fullscreen,.v410-expanded)>.v410-status{padding:7px 12px;font-size:11px}
}
@media(max-height:450px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-filters{padding:6px 10px}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-details{max-height:18vh;padding:6px 12px}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-tools{max-height:32vh;max-height:32dvh;padding:6px 10px}
}
.v410-page:has(.v410-shell.v410-expanded){overflow:hidden}
@media(min-width:600px) and (max-width:760px) and (max-height:450px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-layout{grid-template-columns:minmax(0,1fr) 230px;grid-template-rows:minmax(0,1fr)}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-playlist{border-top:0;border-left:1px solid #ffffff17}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-card{grid-template-columns:68px minmax(0,1fr);gap:7px;padding:7px}
}

/* 4.10.4: one touch-sized control row, shared by desktop and mobile. */
.v410-shell .v410-tools{display:flex;flex-flow:row nowrap;gap:10px;padding:10px 18px;overflow-x:auto;overflow-y:hidden;min-height:64px;flex-shrink:0}
.v410-shell .v410-tools button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:10px;border-radius:10px;line-height:1}
.v410-shell .v410-tools button svg{display:block;pointer-events:none}
.v410-shell .v410-tools [data-auto][aria-pressed=true]{color:#082435;background:#8be0ed;border-color:#8be0ed;box-shadow:inset 0 0 0 2px #082435}
.v410-shell .v410-tools [data-full]{margin-left:auto}
.v410-shell>.v410-status:empty{display:none}
.v410-admin [data-editor]{scroll-margin-top:110px}
@media(max-width:760px){
 .v410-shell .v410-tools,.v410-shell:is(:fullscreen,.v410-expanded) .v410-tools{gap:4px;padding:8px;min-height:60px;max-height:none;justify-content:space-between}
 .v410-shell .v410-tools [data-full]{margin-left:0}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-tools button{padding:10px}
}
@media(max-width:360px){
 .v410-shell .v410-tools,.v410-shell:is(:fullscreen,.v410-expanded) .v410-tools{gap:2px;padding:8px 2px}
}

/* 4.10.5: controls belong to the picture, never consume a separate layout row. */
.v415-overlay{display:none;position:absolute;z-index:3;color:#fff;opacity:1;transition:opacity .18s ease}
.v415-custom-controls .v415-overlay{display:flex}
.v415-top{top:0;right:0;gap:6px;padding:10px;background:linear-gradient(225deg,#04111ccc,transparent 75%);border-radius:0 0 0 20px}
.v415-bottom{left:0;right:0;bottom:0;flex-direction:column;padding:18px 14px 8px;background:linear-gradient(transparent,#04111ce6 30%,#04111cf5)}
.v415-playback{display:flex;align-items:center;gap:6px;min-width:0}
.v415-overlay button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:10px;border:1px solid #abc9db55;border-radius:9px;background:#142d3bbb;color:white;line-height:1}
.v415-overlay button svg{display:block;pointer-events:none}
.v415-overlay button:disabled{opacity:.35;cursor:default}
.v415-overlay .v410-play,.v415-overlay [data-auto][aria-pressed=true]{background:#8be0ed;color:#082435;border-color:#8be0ed}
.v415-overlay [data-clock]{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:6px;flex:1;min-width:0}
.v415-overlay input[type=range]{accent-color:#8be0ed;cursor:pointer;min-height:44px;margin:0;min-width:0}
.v415-overlay [data-seek]{width:100%;display:block;flex:none;touch-action:pan-y}
.v415-overlay [data-volume]{width:75px;flex:0 1 75px}
.v415-controls-hidden .v415-overlay{opacity:0;pointer-events:none}
.v415-controls-hidden .v410-picture{cursor:none}
.v415-controls-hidden .v410-picture:has(.v415-overlay :focus-visible) .v415-overlay{opacity:1;pointer-events:auto}
.v415-message{position:absolute;z-index:4;left:12px;right:12px;top:65px;width:fit-content;max-width:calc(100% - 24px);padding:8px 12px;border:1px solid #6a95ac;border-radius:8px;background:#092432ed;color:#e3f7ff;font-size:12px;overflow-wrap:anywhere;max-height:40%;overflow:auto}
.v415-message.is-error{border-color:#d58c78;color:#ffcbbe}
.v415-message[hidden]{display:none}
.v410-shell:is(:fullscreen,.v410-expanded){grid-template-rows:auto minmax(0,1fr)}
.v415-number{font-variant-numeric:tabular-nums;color:#85cbd9}
.v410-admin .v410-grid{align-items:start}
.v410-admin [data-upload-box]{grid-column:1;grid-row:1}
.v410-admin [data-settings-box]{grid-column:2;grid-row:1}
.v410-admin [data-list-box]{grid-column:1;grid-row:2}
.v410-admin [data-editor-slot]{grid-column:2;grid-row:2;align-self:stretch;min-width:0}
.v410-admin [data-editor]{position:sticky;top:var(--v415-editor-top,110px);max-height:calc(100vh - var(--v415-editor-top,110px) - 80px);max-height:calc(100dvh - var(--v415-editor-top,110px) - 80px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.v410-admin .v410-row{grid-template-columns:80px minmax(0,1fr)}
.v410-admin .v410-row img{width:80px;height:50px}
.v410-admin .v410-row .v410-actions{grid-column:2;gap:6px}
.v410-admin .v410-row.is-selected{border-color:#168eac;box-shadow:inset 3px 0 #168eac;background:#f5fbfd}
.v410-admin .v415-number{color:#14768c}
.v410-admin [data-publish][aria-pressed=true]{background:#e5f4ed;border-color:#a5d5bb;color:#246444}
.v410-admin [data-uploads]{max-height:330px;overflow:auto;overscroll-behavior:contain;margin:8px 0}
.v410-admin .v415-editor-dialog{border:1px solid #bad3e2;border-radius:16px;background:#f4f7fb;color:#163649;padding:12px;width:calc(100% - 24px);max-width:640px;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.v415-editor-dialog::backdrop{background:#071e30b5}
.v410-admin .v415-editor-dialog [data-editor]{position:static;max-height:none;margin:10px 0 0;overflow:visible}
.v410-admin [data-editor-close]{display:block;margin-left:auto;min-height:44px}
@media(max-width:1050px){
 .v410-admin [data-upload-box],.v410-admin [data-settings-box],.v410-admin [data-list-box],.v410-admin [data-editor-slot]{grid-column:1;grid-row:auto}
 .v410-admin [data-settings-box]{order:-1}
 .v410-admin [data-editor-slot]{display:none}
}
@media(max-width:600px){
 .v415-top{padding:6px;gap:4px}
 .v415-bottom{padding:10px 2px 2px}
 .v415-playback{gap:0}
 .v415-overlay [data-clock]{font-size:10px;margin-left:2px;text-align:center}
 .v415-overlay [data-volume]{display:none}
 .v415-message{top:56px;font-size:11px}
}
@media(max-width:360px){.v415-overlay [data-clock]{font-size:9px;letter-spacing:-.04em}}
@media(prefers-reduced-motion:reduce){.v415-overlay{transition:none}}
/* 4.10.6: separate fullscreen scopes and a title-row share action. */
.v416-header{display:flex;align-items:flex-start;border-bottom:1px solid #ffffff17;min-width:0;background:#061522}
.v416-header>.v410-filters{flex:1;min-width:0;border:0}
.v416-global{flex:none;padding:10px 12px}
.v416-global button,.v416-title-row button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px;border:1px solid #55768b;border-radius:9px;background:#142f41;color:#e9f4fa;flex:none}
.v416-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v416-title-row h2{min-width:0;overflow-wrap:anywhere}
.v416-title-row button{margin-left:auto}
.v416-settings{position:fixed;z-index:2147483505;width:260px;max-width:calc(100vw - 16px);padding:14px;border:1px solid #5c8195;border-radius:12px;background:#102c3ef5;color:#e9f4fa;box-shadow:0 8px 25px #0007;font-size:13px;max-height:calc(100dvh - 16px);overflow:auto}
.v416-settings label{display:block;font-weight:600}.v416-settings select{display:block;width:100%;min-height:44px;margin-top:8px;border:1px solid #6f95a8;border-radius:7px;background:#173b50;color:#fff;padding:8px}
.v416-settings small{display:block;font-size:11px;line-height:1.4;margin-top:6px}
.v416-settings[hidden],.v415-overlay button[hidden]{display:none!important}
.v416-mobile-nav{display:none;gap:10px;margin-top:10px}
.v410-picture video{touch-action:manipulation}
.v410-picture:is(:fullscreen,.v416-video-full){position:fixed;inset:0;z-index:2147483501;width:100vw;height:100vh;height:100dvh;max-height:none;aspect-ratio:auto;background:#000}
.v410-picture:is(:fullscreen,.v416-video-full) video{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain}
.v410-page:has(.v416-video-full){overflow:hidden}
.v415-overlay [data-cast][aria-pressed=true]{background:#8be0ed;color:#082435;border-color:#8be0ed}
.v415-controls-hidden .v410-picture:has(.v416-settings:not([hidden])) .v415-overlay{opacity:1;pointer-events:auto}
@media(max-width:600px){
 .v416-header>.v410-filters{flex-wrap:nowrap;overflow-x:auto;padding:8px;scrollbar-width:thin}
 .v416-header .v410-chip{white-space:nowrap;flex:none}
 .v416-global{padding:6px}
 .v415-playback>[data-prev],.v415-playback>[data-next],.v415-playback>[data-auto]{display:none}
 .v416-mobile-nav{display:flex}
 .v416-title-row{gap:6px}
}
.v410-shell:is(:fullscreen,.v410-expanded) .v416-header>.v410-filters{flex:1 1 0}
.v415-overlay [data-clock]{overflow:hidden;text-overflow:ellipsis}
/* 4.10.7: compact remote playback and room to browse on a phone. */
.v410-picture{aspect-ratio:var(--v417-video-ratio,1.7777778)}
.v417-remote-panel{display:flex;align-items:center;gap:12px;padding:9px 14px;background:#102b3d;border-bottom:1px solid #ffffff17;flex-wrap:wrap;flex:0 0 auto}
.v417-remote-panel[hidden],.v410-details [hidden]{display:none!important}
.v417-remote-label{flex:1;min-width:100px}.v417-remote-label strong{font-size:13px;line-height:1.35;display:block}.v417-remote-label small{display:block;font-size:11px;line-height:1.4;color:#a8c7d6;margin-top:3px}
.v417-remote-panel [data-return-local]{flex:none;max-width:170px;min-height:44px;border:1px solid #74cbdc;border-radius:9px;background:#8be0ed;color:#082435;font-size:12px;font-weight:700;padding:8px 12px;line-height:1.3}
.v417-remote-panel [data-return-help]{flex:0 0 100%;font-size:12px;line-height:1.45;margin:0;color:#d0e8f1}
.v417-remote-panel [data-return-help][hidden]{display:none}
.v417-remote-panel .v415-message{position:static;flex:0 0 100%;max-height:none;max-width:100%;width:auto;margin:0;z-index:auto}
.v410-shell.v417-remote .v410-picture{flex:0 0 114px;height:114px;min-height:114px;max-height:114px;aspect-ratio:auto;cursor:auto}
.v410-shell.v417-remote .v410-picture video{opacity:0;pointer-events:none}
.v410-shell.v417-remote .v410-empty-poster{display:none}
.v410-shell.v417-remote .v415-overlay{opacity:1;pointer-events:auto}
.v410-details [data-description-toggle]{min-height:36px;font-size:12px;border:0;background:transparent;color:#8be0ed;padding:6px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@media(max-width:760px){
 .v410-shell .v410-picture{flex:0 0 auto;aspect-ratio:var(--v417-video-ratio,1.7777778);height:auto;min-height:114px;max-height:36vh;max-height:36dvh}
 .v410-shell .v410-picture video{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain}
 .v410-shell .v410-details{padding:9px 12px;max-height:none;overflow:visible;flex:none}
 .v410-shell .v410-details h2{font-size:17px;line-height:1.25;margin:4px 0}
 .v410-shell .v410-details .v411-rich-content{max-height:30dvh;overflow:auto;margin-top:7px}
 .v410-shell .v410-list{max-height:none;height:52vh;height:52dvh;min-height:220px;overscroll-behavior:contain;touch-action:pan-y}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-stage{height:auto;max-height:59vh;max-height:59dvh;min-height:0;overflow:auto;flex:none}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-details{max-height:none;overflow:visible;flex:none;scrollbar-gutter:auto}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-playlist{max-height:none;min-height:0;height:100%;overflow:hidden}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-list{height:auto;min-height:0;max-height:none;flex:1 1 0}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-list-header{padding:10px 12px}
 .v410-shell.v417-remote .v410-picture{flex:0 0 100px;height:100px;min-height:100px;max-height:100px;aspect-ratio:auto}
 .v417-remote-panel{padding:7px 10px;gap:8px;flex-wrap:wrap}
 .v417-remote-label small{display:none}
 .v417-remote-panel [data-return-local]{font-size:12px;max-width:165px;padding:6px 10px}
}
/* Landscape keeps the playlist beside the image instead of under a shallow viewport. */
@media(min-width:600px) and (max-width:760px) and (max-height:450px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-layout{grid-template-columns:minmax(0,1fr) 250px;grid-template-rows:minmax(0,1fr)}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-stage{height:100%;max-height:none;overflow:auto}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-picture{max-height:60vh;max-height:60dvh}
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-playlist{border-left:1px solid #ffffff17;border-top:0}
}
/* Video-only fullscreen always uses the entire screen, independently of the compact tour. */
.v410-shell .v410-picture:is(:fullscreen,.v416-video-full){position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;min-height:0;max-height:none;flex:none;aspect-ratio:auto}
.v410-shell .v410-picture:is(:fullscreen,.v416-video-full) video{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain}
.v410-shell.v417-remote .v410-picture:is(:fullscreen,.v416-video-full){height:100dvh;max-height:none}
@media(max-width:760px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-picture:not(:fullscreen):not(.v416-video-full){flex:0 0 auto;height:auto;min-height:114px;max-height:36dvh;aspect-ratio:var(--v417-video-ratio,1.7777778)}
 .v410-shell.v417-remote:is(:fullscreen,.v410-expanded) .v410-picture:not(:fullscreen):not(.v416-video-full){flex:0 0 100px;height:100px;min-height:100px;max-height:100px;aspect-ratio:auto}
 .v416-header>.v410-filters{scrollbar-width:none}.v416-header>.v410-filters::-webkit-scrollbar{display:none}
}
@media(min-width:600px) and (max-width:760px) and (max-height:450px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v410-picture:not(:fullscreen):not(.v416-video-full){max-height:60dvh}
 .v410-shell.v417-remote:is(:fullscreen,.v410-expanded) .v410-picture:not(:fullscreen):not(.v416-video-full){max-height:100px}
}

@media(max-width:760px){.v410-shell:is(:fullscreen,.v410-expanded) .v416-header>.v410-filters{scrollbar-width:none}}

@media(min-width:761px){.v410-shell.v417-remote .v410-layout{grid-template-columns:minmax(0,1fr) minmax(340px,44%)}}
@media(max-width:760px){.v410-shell:is(:fullscreen,.v410-expanded) .v410-details .v411-rich-content{max-height:26dvh;overflow:auto}}
@media(min-width:600px) and (max-width:760px) and (max-height:450px){
 .v410-shell:is(:fullscreen,.v410-expanded) .v415-playback>[data-prev],.v410-shell:is(:fullscreen,.v410-expanded) .v415-playback>[data-next],.v410-shell:is(:fullscreen,.v410-expanded) .v415-playback>[data-auto]{display:none}
 .v410-shell:is(:fullscreen,.v410-expanded) .v416-mobile-nav{display:flex}
 .v410-shell:is(:fullscreen,.v410-expanded) .v415-overlay [data-volume]{display:none}
}

/* Quality stays inside the existing fading settings panel. */
.v416-settings [data-quality-note]{display:block;max-width:270px;line-height:1.4;color:#aec7d6;font-size:12px}.v416-settings [data-quality]{max-width:100%;min-width:155px}.v419-queue{margin:20px 0;padding:20px;border:1px solid #c6dce9;border-radius:18px;background:#f0f8fc;color:#163c52}.v419-queue h3{margin:0 0 10px}.v419-queue p{margin:8px 0;line-height:1.5}.v419-quality{display:block;font-size:12px;color:#50788c;margin-top:6px}.v419-status{padding:14px;border-radius:12px;background:#eef7fa;margin:14px 0}.v419-status progress{width:100%;height:9px}.v419-status button{margin-top:10px}.v419-queue [role=status]{font-size:13px}

/* 4.10.10: bound the frame width, not the width of a portrait image.
   Explicit width prevents aspect-ratio + max-height from shrinking the frame. */
.v410-shell .v410-picture{width:100%;min-width:0;max-width:100%;align-self:stretch;justify-self:stretch}
.v410-shell .v410-picture video{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center center}
.v410-picture .v415-bottom{left:0;right:0;width:100%;max-width:100%;box-sizing:border-box;min-width:0}
.v410-picture .v415-playback{width:100%;min-width:0}
@media(max-width:760px){
 .v410-shell:not(.v417-remote) .v410-picture.v420-portrait:not(:fullscreen):not(.v416-video-full){max-height:40vh;max-height:40dvh}
}
@media(min-width:600px) and (max-width:760px) and (max-height:450px){
 .v410-shell:not(.v417-remote):is(:fullscreen,.v410-expanded) .v410-picture.v420-portrait:not(:fullscreen):not(.v416-video-full){max-height:60dvh}
}
.v410-shell .v410-picture:is(:fullscreen,.v416-video-full){width:100vw;max-width:none}
@media(min-width:761px){
 .v410-shell:not(.v417-remote) .v410-picture.v420-portrait:not(:fullscreen):not(.v416-video-full){max-height:70vh;max-height:70dvh}
}

/* Top-layer settings escape video clipping while retaining their root for fullscreen. */
.v416-settings{inset:auto;margin:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.v416-settings::backdrop{background:transparent;pointer-events:none}
.v416-settings .v416-mobile-nav button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:10px;border:1px solid #abc9db55;border-radius:9px;background:#142d3bbb;color:white;line-height:1}
.v416-settings .v416-mobile-nav button svg{display:block;pointer-events:none}
.v416-settings .v416-mobile-nav button:disabled{opacity:.35;cursor:default}
.v416-settings .v416-mobile-nav [aria-pressed=true]{background:#8be0ed;color:#082435}

/* The public gallery's title and close link sit above the maximized player. */
.v419-gallery-page {
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  height:100vh;
  height:100dvh;
  overflow:hidden;
  background:#061522;
  color:#e9f4fa;
}
.v419-gallery-header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(8px,1.4vw,20px);
  padding:8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  background:#0b2232;
  border-bottom:1px solid #385063;
}
.v419-gallery-logo {
  width:67px;
  height:34px;
  border-radius:5px;
  background:#ecf5fa url('/assets/logo-horizontal.png') left center / auto 100% no-repeat;
}
.v419-gallery-header h1 {
  margin:0;
  font-size:clamp(15px,2.1vw,25px);
  line-height:1.2;
}
:is(.v419-gallery-close,.v420-gallery-full) {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #507386;
  border-radius:10px;
  background:#142f41;
  text-decoration:none;
}
:is(.v419-gallery-close,.v420-gallery-full):is(:hover,:focus-visible) {
  background:#245069;
  outline:2px solid #8be0ed;
  outline-offset:2px;
}
.v419-gallery-main {
  display:flex;
  flex-direction:column;
  min-height:0;
}
.v419-gallery-main > [data-v410-root] {
  flex:1 1 0;
  min-height:0;
  overflow:auto;
}
.v419-gallery-main > .v410-notice,.v419-gallery-main [data-v410-root] > p {
  margin:0;
  padding:8px 16px;
}
.v419-gallery-page .v410-shell.v410-expanded:not(:fullscreen) {
  position:static;
  height:100%;
  max-height:none;
  z-index:auto;
  box-shadow:none;
}
@media(max-width:400px) {
  .v419-gallery-logo {width:56px;height:28px}
}

.v419-gallery-actions {
  display:flex;
  align-items:center;
  gap:6px;
}
.v419-gallery-actions > button {
  color:inherit;
  padding:0;
  cursor:pointer;
}
.v419-gallery-actions > [hidden] {
  display:none;
}
