*{box-sizing:border-box}html,body{margin:0;height:100%;background:#111b2b;color:#ecf2f9;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,a{font:inherit}button{cursor:pointer}.reel-shell{height:100vh;height:100dvh;display:flex;min-height:0;flex-direction:column;background:#111b2b;overflow:hidden}.reel-top{flex:0 0 auto;display:flex;align-items:center;gap:22px;padding:12px 26px;border-bottom:1px solid #2a3b51;min-height:64px}.reel-mark{font-size:20px;font-weight:800;color:#edf4fd;text-decoration:none;letter-spacing:-.7px}.reel-mark span{color:#88b5d8}.reel-title{display:flex;flex-direction:column;gap:3px;min-width:0}.reel-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reel-title small{font-size:12px;color:#9eb0c7}.reel-top-actions{margin-left:auto;display:flex;gap:15px;align-items:center;white-space:nowrap}.reel-top-actions a{color:#d6e6f5;text-decoration:none;font-size:13px}.reel-top-actions button,.reel-nav button,.reel-playback button{background:#213249;color:#e8f0fa;border:1px solid #455d77;border-radius:8px;display:grid;place-items:center}.reel-top-actions button{width:36px;height:34px}.reel-content{width:min(1380px,100%);min-height:0;margin:0 auto;padding:12px 22px 15px;flex:1;display:flex;flex-direction:column;gap:9px;overflow:hidden}.reel-stage{flex:1 1 auto;min-height:0;display:grid;place-items:center}.reel-player-surface{background:#060c16;aspect-ratio:16/9;width:min(100%, calc((100dvh - 270px)*16/9));max-height:100%;display:grid;place-items:center;overflow:hidden;border-radius:8px;position:relative}.reel-player-surface iframe,.reel-player-surface video{width:100%;height:100%;border:0;object-fit:contain}.reel-player-surface iframe{pointer-events:none}.reel-controls{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;min-height:33px;gap:8px}.reel-current{display:flex;gap:14px;align-items:center;min-width:0}.reel-current span{color:#a5b8cf;font-size:12px;white-space:nowrap}.reel-current strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reel-nav{display:flex;gap:7px;flex:0 0 auto}.reel-nav button{width:33px;height:31px}.reel-playback{display:flex;align-items:center;gap:12px;min-height:36px}.reel-playback button{width:34px;height:32px;flex-shrink:0}.reel-playback #reel-time{font-size:11px;min-width:91px;color:#a5b8cf;font-variant-numeric:tabular-nums}.reel-playback input{flex:1;min-width:0;accent-color:#88b5d8;cursor:pointer}.reel-playback input:disabled{opacity:.4}.reel-strip{flex:0 0 auto;display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));gap:7px;min-height:0;width:100%}.reel-strip-item{min-width:0;text-align:left;display:flex;flex-direction:column;gap:4px;padding:5px;background:#1b2b40;color:#e5eef8;border:1px solid #334860;border-radius:8px;overflow:hidden}.reel-strip-item.active{border-color:#9cc9ee;background:#273b56}.reel-strip-item>div{aspect-ratio:16/9;min-height:0;display:grid;place-items:center;background:#0a1422;border-radius:5px;overflow:hidden}.reel-strip-item img{width:100%;height:100%;object-fit:cover}.reel-strip-item strong{font-size:clamp(9px,1vw,12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reel-strip-item small{color:#a4b9d1;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reel-loading{padding:30vh 20px;text-align:center;color:#d6e3f2}@media(max-width:700px){.reel-top{padding:9px 12px;gap:9px;min-height:51px}.reel-mark{font-size:17px}.reel-title small{display:none}.reel-title b{font-size:12px}.reel-top-actions{gap:6px}.reel-top-actions a{font-size:11px}.reel-content{padding:7px;gap:5px}.reel-player-surface{width:min(100%,calc((100dvh - 205px)*16/9))}.reel-current strong{font-size:12px}.reel-strip{gap:3px}.reel-strip-item{padding:2px;border-radius:4px;gap:2px}.reel-strip-item small{display:none}.reel-strip-item strong{font-size:9px}.reel-playback{gap:6px}}@media(max-height:560px){.reel-top{min-height:40px;padding:5px 12px}.reel-content{padding:5px;gap:3px}.reel-strip-item small{display:none}.reel-strip-item{padding:2px}.reel-controls{min-height:26px}.reel-playback{min-height:26px}.reel-player-surface{width:min(100%,calc((100dvh - 156px)*16/9))}}

.reel-top-actions .reel-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border:1px solid #ffffff45;border-radius:7px;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;color:#edf4fc;text-decoration:none;box-sizing:border-box}.reel-top-actions .reel-toggle:hover{background:#ffffff20}@media(max-width:850px){.reel-top-actions .reel-toggle{min-height:36px;padding:0 9px;font-size:10px}}

/* v5.9: stage-first sizing; the carousel is always a shallow strip. */
.reel-shell{height:100dvh;min-height:0}
.reel-content{width:100%;max-width:1600px;padding:8px 16px 10px;gap:6px}
.reel-stage{flex:1 1 0;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.reel-player-surface{aspect-ratio:16/9;width:auto;height:min(100%,calc((100vw - 32px)*9/16));max-width:100%;max-height:100%;flex:none}
.reel-controls{min-height:25px}
.reel-playback{min-height:34px;gap:9px}
.reel-strip{height:clamp(66px,12dvh,110px);max-height:13dvh;flex:0 0 auto;align-items:stretch;overflow:hidden;grid-template-columns:repeat(var(--count),minmax(0,1fr))}
.reel-strip-item{height:100%;min-height:0;padding:3px;gap:3px}
.reel-strip-item>div{aspect-ratio:auto;height:calc(100% - 18px);min-height:0;flex:1}
.reel-strip-item strong{flex:0 0 13px;line-height:13px;font-size:10px}
.reel-strip-item small{display:none}
.reel-player-click{position:absolute;inset:0;border:0;background:transparent;cursor:pointer;z-index:2;width:100%;height:100%;padding:0}
.reel-player-click:focus-visible{outline:3px solid #88b5d8;outline-offset:-4px}
.reel-playback #reel-seek{flex:1 1 auto}
.reel-playback #reel-volume{flex:0 0 clamp(62px,9vw,110px);width:clamp(62px,9vw,110px)}
@media(max-width:700px){.reel-content{padding:5px 7px;gap:4px}.reel-strip{height:clamp(56px,10dvh,78px);max-height:12dvh}.reel-player-surface{height:min(100%,calc((100vw - 14px)*9/16))}.reel-playback #reel-volume{flex-basis:60px;width:60px}.reel-playback{gap:5px}}
@media(max-height:480px){.reel-strip{height:48px;max-height:12dvh}.reel-top{min-height:38px}.reel-playback{min-height:28px}}

/* v5.10: navy palette is intentionally isolated to the reel viewer. */
.reel-top-actions button:hover,.reel-nav button:hover,.reel-playback button:hover{background:#304966;border-color:#739ac1}
.reel-strip-item:hover{background:#2b405a;border-color:#6388aa}
.reel-strip-item.active{box-shadow:inset 0 0 0 1px #88b5d8}
.reel-top-actions .reel-toggle:hover{background:#304966}
.reel-playback input{accent-color:#88b5d8}

/* v5.12: preserve the entire image, including portrait or alternate aspect ratios. */
.reel-strip-item>div{background:#081423;overflow:hidden;min-width:0}
.reel-strip-item img{width:100%;height:100%;object-fit:contain;object-position:center}
.reel-top-actions .reel-toggle{font:inherit;font-size:11px;font-weight:800;min-width:94px}
.reel-gate{min-height:100dvh;display:grid;place-items:center;padding:20px;background:#111b2b}
.reel-gate form{width:min(420px,100%);background:#1b2b40;border:1px solid #344960;border-radius:14px;padding:32px;display:grid;gap:15px}
.reel-gate h1{font-size:27px;line-height:1.2;margin:0}.reel-gate p{color:#bac9dd;margin:0}.reel-gate label{display:grid;gap:6px;color:#dce8f7;font-size:13px}.reel-gate input{width:100%;padding:12px;border-radius:7px;background:#101d30;border:1px solid #526985;color:white;font:inherit}.reel-gate button{border:0;border-radius:8px;padding:13px;background:#8bb8de;color:#101d30;font-weight:700;cursor:pointer}.reel-gate-error{color:#ffd3d3!important}

/* v5.13: fixed-size thumbnail viewport; images retain their native aspect ratio. */
.reel-strip-item{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 14px;align-items:stretch;overflow:hidden}
.reel-strip-item>div{height:100%;width:100%;min-height:0;min-width:0;aspect-ratio:unset;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#07111e}
.reel-strip-item img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;flex:none}
.reel-strip-item strong{min-width:0;line-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reel-player-warning{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;pointer-events:none;color:#fff;text-align:center;font-size:12px;background:#192b41eb;border-radius:6px;padding:8px;display:none}
.reel-player-warning:not(:empty){display:block}

/* v5.14: compact, intrinsically sized carousel cards. */
.reel-strip{display:flex!important;align-items:stretch;justify-content:safe center;gap:9px;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;scrollbar-color:#455d77 transparent;width:100%;padding:1px 0 4px;min-width:0}
.reel-strip-item{flex:0 0 auto!important;width:140px;max-width:260px;min-width:42px;min-height:0;grid-template-rows:minmax(0,1fr) 14px}
.reel-strip-item>div{min-height:0;min-width:0}
.reel-strip-item img{object-fit:contain!important;max-width:100%;max-height:100%;height:auto!important;width:auto!important}
@media(max-width:700px){.reel-strip{justify-content:safe flex-start;gap:6px}}

/* v5.15: player metadata, clear volume controls, central paused affordance and video-only fullscreen. */
.reel-current-details{display:flex;flex-direction:column;min-width:0;gap:2px}
.reel-current-details strong{font-size:14px;line-height:1.2}
.reel-current-details small{color:#a5b8cf;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reel-playback #reel-mute svg,.reel-playback #reel-full-playback svg{display:block;width:19px;height:19px}
.reel-center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:4;width:66px;height:66px;display:grid;place-items:center;border-radius:50%;border:1px solid #c5daee80;background:#182c46d9;color:#f3f8ff;box-shadow:0 6px 28px #0008;cursor:pointer;transition:background .15s,transform .15s}
.reel-center-play:hover{background:#2c4b6ded;transform:translate(-50%,-50%) scale(1.06)}
.reel-center-play svg{width:27px;height:27px;margin-left:4px}
.reel-center-play[hidden]{display:none!important}
.reel-player-surface:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0;background:#02060d}
.reel-player-surface:fullscreen iframe,.reel-player-surface:fullscreen video{object-fit:contain}
@media(max-width:700px){.reel-current-details strong{font-size:12px}.reel-current-details small{font-size:10px}.reel-center-play{width:52px;height:52px}.reel-center-play svg{width:22px;height:22px}}

/* v5.16 · understated, centered final-reel screen */
.reel-end-screen[hidden]{display:none!important}
.reel-end-screen{position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(4,12,24,.92);backdrop-filter:blur(18px)}
.reel-end-panel{width:min(540px,100%);padding:clamp(28px,6vw,60px);background:linear-gradient(145deg,#1b304b 0%,#111c2e 68%,#101a29 100%);border:1px solid #54708c70;border-radius:16px;box-shadow:0 24px 90px #0008;text-align:center;color:#edf4fd}
.reel-end-eyebrow{letter-spacing:.23em;font:600 10px/1.5 system-ui,sans-serif;color:#a8c1dc}
.reel-end-line{height:1px;width:54px;margin:23px auto;background:#8eb0d0}
.reel-end-title{font-family:Georgia,serif;font-size:clamp(30px,5vw,49px);font-weight:400;line-height:1.14;margin:0;overflow-wrap:anywhere}
.reel-end-subtitle{font-size:14px;line-height:1.6;color:#b0c4d9;margin:16px auto 0;max-width:380px}
.reel-end-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:36px}
.reel-end-actions button,.reel-end-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:7px;padding:11px 18px;font:600 12px/1.4 system-ui,sans-serif;text-decoration:none;cursor:pointer}
.reel-end-replay{background:#adcbe6;color:#12243a;border:1px solid #adcbe6}
.reel-end-replay:hover{background:#d0e3f6}
.reel-end-treatment{border:1px solid #8096af;background:transparent;color:#edf4fd}
.reel-end-treatment[hidden]{display:none!important}
.reel-end-treatment:hover{background:#263e58}

/* v5.16.2: exact visual centering regardless of the video aspect ratio. */
.reel-player-surface > .reel-center-play{position:absolute!important;inset:0!important;margin:auto!important;left:0!important;top:0!important;right:0!important;bottom:0!important;transform:none!important;z-index:5;display:flex;align-items:center;justify-content:center;padding:0}
.reel-player-surface > .reel-center-play:hover{transform:scale(1.06)!important}
.reel-player-surface > .reel-center-play svg{display:block;flex:none;margin-left:3px}
.reel-player-surface > .reel-center-play[hidden]{display:none!important}

/* v5.18: controls live inside the fullscreen player, floating over the video.
   The original controls are moved, not cloned, preserving all playback bindings. */
.reel-player-surface:fullscreen .reel-playback-floating{
  position:absolute;z-index:20;left:50%;bottom:max(22px,env(safe-area-inset-bottom));
  transform:translateX(-50%);width:min(900px,calc(100% - 44px));
  display:flex;align-items:center;gap:12px;min-height:58px;
  padding:11px 16px;border-radius:14px;border:1px solid #a4c0dd40;
  color:#edf4fd;background:rgba(11,24,43,.84);
  box-shadow:0 12px 45px #0009;backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.reel-player-surface:fullscreen .reel-playback-floating button{
  display:grid;place-items:center;flex-shrink:0;background:#253b57;
  border:1px solid #627c99;color:#eef5ff;border-radius:8px;
}
.reel-player-surface:fullscreen .reel-playback-floating #reel-seek{flex:1 1 auto;min-width:24px}
.reel-player-surface:fullscreen .reel-playback-floating #reel-volume{flex:0 0 clamp(48px,11vw,110px);min-width:0}
.reel-player-surface:fullscreen .reel-playback-floating #reel-time{white-space:nowrap}
/* Center the glyph geometrically inside its already-centered circular button. */
.reel-player-surface > .reel-center-play svg{margin:0!important;transform:none!important}
@media(max-width:600px){
  .reel-player-surface:fullscreen .reel-playback-floating{width:calc(100% - 20px);bottom:max(12px,env(safe-area-inset-bottom));padding:8px;gap:6px;min-height:48px}
  .reel-player-surface:fullscreen .reel-playback-floating #reel-time{min-width:72px;font-size:10px}
  .reel-player-surface:fullscreen .reel-playback-floating #reel-volume{flex-basis:48px;width:48px}
}

/* v5.21: shared treatment-style cookie banner */
.consent-shade{position:fixed;inset:0;background:#101810a0;display:grid;place-items:end center;z-index:40;padding:20px}
.consent-card{width:min(580px,100%);background:#f9fbf6;color:#28392c;border-radius:17px;padding:28px;box-shadow:0 30px 90px #0008}
.consent-card h2{font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.5px;margin:0 0 10px}
.consent-card p{font-size:12px;line-height:1.8;color:#758777;margin:0 0 20px}
.consent-buttons{display:flex;gap:10px;justify-content:flex-end}
.consent-buttons button{border:1px solid #cbdccc;padding:12px 17px;border-radius:8px;font-size:11px;font-weight:800;background:white;color:#46614a}
.consent-buttons button.agree{background:#304c35;border-color:#304c35;color:white}
.consent-card{padding:23px}
.consent-buttons{flex-direction:column}
.consent-disclosure{font-size:11px;line-height:1.65;color:#758777;margin:-7px 0 18px}
.consent-disclosure summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.consent-disclosure p{font-size:11px;margin:8px 0 0}
.consent-card>p{margin-bottom:19px}
#reel-consent[hidden]{display:none!important}

@media(max-width:650px){#reel-consent .consent-card{padding:23px}#reel-consent .consent-buttons{flex-direction:column}}


/* v5.22: treatment viewer header geometry, fonts and control design. */
.v-topbar{height:70px;flex-shrink:0;border-bottom:1px solid #303930;background:#1b211c;display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:15px}
.v-identity{display:flex;align-items:center;gap:15px;min-width:0}
.v-brand{font-weight:850;letter-spacing:-1px;font-size:21px;color:#f0f5e9;white-space:nowrap}
.v-brand span{color:#d1eab0}
.v-divider{height:23px;width:1px;background:#3d4a3e}
.v-project{display:grid;gap:4px;min-width:0}
.v-project b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}
.v-project span{font-size:10px;color:#8f9c91;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v-top-actions{display:flex;align-items:center;gap:7px}
.v-icon-btn{display:grid;place-items:center;background:transparent;border:1px solid transparent;color:#a8b7a8;height:38px;min-width:38px;padding:0 10px;border-radius:8px}
.v-icon-btn:hover{background:#2b342b;border-color:#3b483c;color:#eef5e8}
.v-top-actions .v-textbutton{font-size:11px;display:flex;align-items:center;gap:8px;background:#d0e8af;color:#233327;border-radius:7px;border:0;font-weight:800;padding:11px 15px}
.v-top-actions .v-textbutton:hover{background:#e6f6cf}

/* Keep reels navy, but share the treatment viewer header's exact sizes and structure. */
.reel-top.v-topbar{height:70px;min-height:70px;padding:0 27px;gap:15px;background:#1b2739;border-bottom:1px solid #34465e}
.reel-top .v-identity{display:flex;align-items:center;gap:15px;min-width:0}
.reel-top .v-brand{font-weight:850;letter-spacing:-1px;font-size:21px;color:#f0f5fc;white-space:nowrap;text-decoration:none}
.reel-top .v-brand span{color:#9cc9ee}
.reel-top .v-divider{height:23px;width:1px;background:#405773}
.reel-top .v-project{display:grid;gap:4px;min-width:0}
.reel-top .v-project b{font-size:12px;max-width:360px}
.reel-top .v-project span{font-size:10px;color:#a1b3c9;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.reel-top .v-top-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.reel-top .v-icon-btn{display:grid;place-items:center;background:transparent;border:1px solid transparent;color:#adbed4;height:38px;width:auto;min-width:38px;padding:0 10px;border-radius:8px}
.reel-top .v-icon-btn:hover{background:#31445f;border-color:#4b6584;color:#f2f7ff}
.reel-top .v-contact-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;height:38px;padding:0 13px;border:1px solid #4f6784;border-radius:7px;font-size:11px;font-weight:700;line-height:1;color:#edf4fd;text-decoration:none;white-space:nowrap;background:transparent}
.reel-top .v-contact-link:hover{background:#304966}
.reel-top .v-top-actions .v-textbutton{font-size:11px;display:flex;align-items:center;gap:8px;background:#bdd8f0;color:#1d3149;border-radius:7px;border:0;font-weight:800;padding:11px 15px;height:38px;min-width:unset;width:auto;white-space:nowrap}
.reel-top .v-top-actions .v-textbutton:hover{background:#d6e8f8;color:#192c42}
@media(max-width:700px){.reel-top.v-topbar{height:56px;min-height:56px;padding:0 12px;gap:8px}.reel-top .v-brand{font-size:18px}.reel-top .v-identity{gap:8px}.reel-top .v-project b{max-width:120px}.reel-top .v-top-actions{gap:4px}.reel-top .v-contact-link{padding:0 8px;font-size:10px}.reel-top .v-top-actions .v-textbutton{padding:0 10px}.reel-top .v-icon-btn{min-width:34px;padding:0 7px}}

/* Portrait/mobile composition: video first, controls and scrollable projects below. */
@media(max-width:760px), (max-aspect-ratio:4/5) and (max-width:1050px){
 html,body{overflow:hidden}
 .reel-shell{height:100dvh;min-height:0}
 .reel-top.v-topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:11px 14px;gap:9px}
 .reel-top .v-identity{flex:1 1 190px;min-width:0}
 .reel-top .v-project b{max-width:min(57vw,380px);font-size:12px}
 .reel-top .v-top-actions{flex:0 1 auto;gap:5px}
 .reel-top .v-contact-link{max-width:150px;overflow:hidden;text-overflow:ellipsis}
 .reel-content{padding:12px 12px max(15px,env(safe-area-inset-bottom));gap:12px;overflow-y:auto;overscroll-behavior:contain;justify-content:flex-start}
 .reel-stage{flex:0 0 auto;min-height:0;display:flex;width:100%;overflow:visible}
 .reel-player-surface{width:100%;height:auto;max-height:none;aspect-ratio:16/9;flex:none;border-radius:10px}
 .reel-controls{min-height:42px;gap:10px}
 .reel-current{min-width:0;gap:9px}.reel-current-details strong{font-size:13px}.reel-current-details small{font-size:11px}
 .reel-nav button{height:40px;width:42px}
 .reel-playback:not(.reel-playback-floating){display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px;grid-template-rows:34px 34px;align-items:center;gap:5px 9px;min-height:78px}
 .reel-playback:not(.reel-playback-floating) #reel-play{grid-column:1;grid-row:1}
 .reel-playback:not(.reel-playback-floating) #reel-time{grid-column:2;grid-row:1;min-width:0}
 .reel-playback:not(.reel-playback-floating) #reel-seek{grid-column:1/5;grid-row:2;width:100%}
 .reel-playback:not(.reel-playback-floating) #reel-mute{grid-column:3;grid-row:1}
 .reel-playback:not(.reel-playback-floating) #reel-full-playback{grid-column:4;grid-row:1}
 .reel-playback:not(.reel-playback-floating) #reel-volume{display:none}
 .reel-playback button{height:38px;width:40px}
 .reel-strip{flex:0 0 auto;height:114px!important;max-height:none!important;min-height:0;justify-content:flex-start!important;gap:9px;padding:3px 0 8px;scroll-snap-type:x proximity}
 .reel-strip-item{min-width:142px!important;max-width:175px!important;width:155px!important;scroll-snap-align:start;grid-template-rows:minmax(0,1fr) 16px;padding:5px;border-radius:9px}
 .reel-strip-item strong{font-size:11px}
 .reel-end-panel{max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px 22px}
 .reel-player-surface:fullscreen{width:100vw!important;height:100dvh!important}
}
@media(max-width:440px){
 .reel-top.v-topbar{gap:9px;padding:10px 12px}
 .reel-top .v-identity{flex-basis:100%}
 .reel-top .v-project b{max-width:calc(100vw - 110px)}
 .reel-top .v-top-actions{width:100%;justify-content:flex-end}
 .reel-content{padding:12px 10px max(14px,env(safe-area-inset-bottom));gap:11px}
 .reel-strip{height:106px!important}
}

/* Reel mobile header follows Folio's single-row treatment design, in navy. */
@keyframes reel-copy-pop{0%{transform:scale(1)}35%{transform:scale(1.13)}65%{transform:scale(.96)}100%{transform:scale(1)}}
#reel-copy{position:relative;transition:background .2s,color .2s}
#reel-copy.is-copied{animation:reel-copy-pop .33s ease-out;background:#d5eafb!important;color:#18314b!important}
#reel-copy.is-copied::after{content:"✓";position:absolute;right:-5px;top:-6px;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#6299c9;color:white;font-size:11px;box-shadow:0 2px 8px #0006}
@media(prefers-reduced-motion:reduce){#reel-copy.is-copied{animation:none}}
@media(max-width:760px), (max-aspect-ratio:4/5) and (max-width:1050px){
 .reel-top.v-topbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;height:62px!important;min-height:62px!important;padding:0 12px!important}
 .reel-top .v-identity{display:flex!important;flex:1 1 0!important;align-items:center!important;gap:8px!important;width:auto!important;min-width:0!important}
 .reel-top .v-brand{font-size:18px!important;flex:none}
 .reel-top .v-divider{height:24px!important;flex:none}
 .reel-top .v-project{min-width:0!important;flex:1 1 auto!important}
 .reel-top .v-project b{max-width:100%!important;display:block;font-size:11px!important}
 .reel-top .v-project span{max-width:100%!important;display:block;font-size:9px!important}
 .reel-top .v-top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;flex:none!important;gap:5px!important;margin:0!important}
 .reel-top #reel-full{display:none!important}
 .reel-top .v-top-actions .reel-toggle{display:inline-flex!important;align-items:center;gap:4px!important;width:auto!important;max-width:none!important;white-space:nowrap;min-width:0!important;min-height:36px!important;height:36px!important;padding:0 9px!important;font-size:10px!important}
 .reel-top .reel-toggle svg{flex:none;display:block;width:13px;height:13px}
 .reel-top .v-top-actions #reel-copy{display:grid!important;place-items:center!important;flex:none!important;margin:0!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important}
 .reel-top #reel-copy span{display:none!important}
 .reel-playback:not(.reel-playback-floating) #reel-full-playback{display:grid!important}
}
@media(max-width:390px){
 .reel-top.v-topbar{padding:0 10px!important;gap:6px!important}
 .reel-top .v-brand{font-size:16px!important}
 .reel-top .v-identity{gap:6px!important}
 .reel-top .reel-toggle{font-size:9px!important;padding:0 7px!important}
}
@media(pointer:coarse){
 .reel-shell.reel-mobile-immersive{position:fixed;inset:0;z-index:120;height:100dvh;width:100vw;background:#111b2b}
 .reel-shell.reel-mobile-immersive .reel-top{display:none!important}
 .reel-shell.reel-mobile-immersive .reel-content{padding:8px 10px max(12px,env(safe-area-inset-bottom));gap:8px}
 .reel-shell.reel-mobile-immersive .reel-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center}
 .reel-shell.reel-mobile-immersive .reel-player-surface{width:100%;height:auto;max-height:100%;aspect-ratio:16/9}
 .reel-shell.reel-mobile-immersive .reel-strip{display:none!important}
 .reel-shell.reel-mobile-immersive .reel-controls{display:none!important}
 .reel-shell.reel-mobile-immersive .reel-playback{flex:0 0 auto}
}


/* Reel viewing controls: a Folio-style floating playback dock. */
@media(max-width:760px), (max-aspect-ratio:4/5) and (max-width:1050px){
 .reel-shell .reel-content{
  position:relative;display:flex;flex-direction:column;
  flex:1 1 auto;min-height:0;overflow:hidden!important;
  padding:8px 10px max(12px,env(safe-area-inset-bottom))!important;
  gap:7px!important;
 }
 .reel-shell .reel-controls{
  order:0;flex:0 0 auto;min-height:41px;align-items:center;
  padding:0 3px;gap:8px;
 }
 .reel-shell .reel-current{gap:8px}
 .reel-shell .reel-current-details{min-width:0}
 .reel-shell .reel-current-details strong{font-size:12px}
 .reel-shell .reel-current-details small{font-size:10px}
 .reel-shell .reel-nav{gap:7px}
 .reel-shell .reel-nav button{width:39px;height:36px;border-radius:9px;background:#253a52;border:1px solid #46607c;color:#e9f2fa;font-size:19px}
 .reel-shell .reel-stage{
  order:1;flex:1 1 auto!important;min-height:0!important;
  display:flex!important;align-items:center;justify-content:center;
  width:100%;overflow:hidden!important;position:relative;
 }
 .reel-shell .reel-player-surface{
  flex:none;width:min(100%,calc((100dvh - 230px)*16/9))!important;
  max-width:100%;max-height:100%!important;height:auto!important;
  aspect-ratio:16/9;border-radius:10px;
 }
 .reel-shell .reel-strip{
  order:3;flex:0 0 auto;height:96px!important;
  max-height:96px!important;min-height:0!important;
  margin-top:53px;overflow-x:auto;overflow-y:hidden;
  padding:3px 0 6px;
 }
 .reel-shell .reel-strip-item{width:134px!important;min-width:134px!important;max-width:150px!important}
 .reel-shell .reel-playback:not(.reel-playback-floating){
  order:2;position:absolute;z-index:7;
  bottom:calc(96px + max(12px,env(safe-area-inset-bottom)) + 9px);
  left:50%;transform:translateX(-50%);
  width:min(calc(100% - 24px),440px);
  min-height:48px!important;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px 38px;
  grid-template-rows:36px 25px;gap:0 8px;
  padding:7px 11px 6px;border-radius:14px;
  border:1px solid #516980;background:#16263bee;
  box-shadow:0 8px 30px #0009;backdrop-filter:blur(16px);
 }
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-play{grid-column:1;grid-row:1}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-time{grid-column:2;grid-row:1;white-space:nowrap;min-width:0}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-mute{grid-column:3;grid-row:1}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-full-playback{grid-column:4;grid-row:1}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-seek{grid-column:1 / 5;grid-row:2;width:100%}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-volume{display:none}
 .reel-shell .reel-playback:not(.reel-playback-floating) button{width:36px;height:34px}
}
@media(max-width:760px) and (max-height:650px){
 .reel-shell .reel-strip{height:72px!important;max-height:72px!important;margin-top:51px}
 .reel-shell .reel-playback:not(.reel-playback-floating){bottom:calc(72px + max(12px,env(safe-area-inset-bottom)) + 8px)}
}
@media(pointer:coarse){
 .reel-shell.reel-video-fullscreen{
  position:fixed!important;inset:0;z-index:500;width:100vw;height:100dvh;
  background:#02050a;overflow:hidden;
 }
 .reel-shell.reel-video-fullscreen .reel-top,
 .reel-shell.reel-video-fullscreen .reel-controls,
 .reel-shell.reel-video-fullscreen .reel-strip{display:none!important}
 .reel-shell.reel-video-fullscreen .reel-content{
  position:static;display:flex!important;flex-direction:column;
  width:100%;height:100dvh;max-width:none;padding:0!important;gap:0!important;
 }
 .reel-shell.reel-video-fullscreen .reel-stage{
  position:relative;flex:1 1 auto!important;width:100vw;height:100%;
  padding:0!important;overflow:hidden!important;
 }
 .reel-shell.reel-video-fullscreen .reel-player-surface{
  width:100vw!important;max-width:100vw!important;
  height:min(100dvh,56.25vw)!important;max-height:100dvh!important;
  aspect-ratio:16/9;border-radius:0;
 }
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating){
  display:grid!important;bottom:max(13px,env(safe-area-inset-bottom))!important;
  left:50%;margin:0;z-index:600;
 }
}

/* Mobile landscape: side rails leave the center to the video. */
@media (orientation:landscape) and (pointer:coarse) and (max-height:620px){
 .reel-shell{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;height:100dvh!important;min-height:0!important;overflow:hidden}
 .reel-top.v-topbar{grid-column:1;grid-row:1;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:16px!important;width:104px!important;height:100dvh!important;min-height:0!important;padding:max(12px,env(safe-area-inset-top)) 7px 10px!important;border-right:1px solid #34475d;border-bottom:0!important}
 .reel-top .v-identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;width:100%!important;min-width:0!important;flex:none!important}
 .reel-top .v-brand{font-size:17px!important}
 .reel-top .v-divider{display:none!important}
 .reel-top .v-project{width:100%!important;min-width:0!important}
 .reel-top .v-project b{font-size:10px!important;max-height:44px;white-space:normal!important;line-height:1.3}
 .reel-top .v-project span{font-size:9px!important;max-height:35px;overflow:hidden;white-space:normal!important}
 .reel-top .v-top-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:7px!important}
 .reel-top .v-top-actions .reel-toggle{height:34px!important;min-height:34px!important;padding:0 4px!important;font-size:9px!important;justify-content:center}
 .reel-top .v-top-actions #reel-copy{width:100%!important;min-width:0!important;height:34px!important}
 .reel-content{grid-column:2;grid-row:1;position:relative!important;display:flex!important;flex-direction:column!important;gap:3px!important;width:100%!important;height:100dvh!important;min-height:0!important;padding:5px 68px 5px 5px!important;overflow:hidden!important}
 .reel-controls{order:0!important;min-height:30px!important;max-height:32px!important;flex:0 0 32px!important}
 .reel-controls .reel-current-details strong{font-size:10px!important}
 .reel-controls .reel-current-details small,.reel-controls #reel-count{font-size:9px!important}
 .reel-nav button{height:28px!important;width:34px!important}
 .reel-stage{order:1!important;flex:1 1 auto!important;min-height:0!important;max-height:calc(100dvh - 45px)!important;display:flex!important;align-items:center;justify-content:center}
 .reel-player-surface{width:min(100%,calc((100dvh - 48px)*16/9))!important;height:auto!important;max-height:100%!important;aspect-ratio:16/9}
 .reel-strip{display:none!important}
 .reel-playback:not(.reel-playback-floating){position:absolute!important;top:5px!important;bottom:5px!important;right:max(5px,env(safe-area-inset-right))!important;left:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:57px!important;min-height:0!important;height:auto!important;padding:8px 5px!important;overflow-y:auto!important;border-radius:12px!important}
 .reel-playback:not(.reel-playback-floating) #reel-play,.reel-playback:not(.reel-playback-floating) #reel-mute,.reel-playback:not(.reel-playback-floating) #reel-full-playback{display:grid!important;width:37px!important;height:36px!important;flex:none!important}
 .reel-playback:not(.reel-playback-floating) #reel-time{min-width:0!important;font-size:9px!important;line-height:1.4;white-space:normal!important;text-align:center}
 .reel-playback:not(.reel-playback-floating) #reel-seek{width:30px!important;height:85px!important;min-height:50px!important;flex:none!important;writing-mode:vertical-lr;direction:rtl}
 .reel-playback:not(.reel-playback-floating) #reel-volume{display:none!important}
 .reel-shell.reel-video-fullscreen{display:block!important}
 .reel-shell.reel-video-fullscreen .reel-content{padding:0!important}
}


/* Access-gated reels: match treatment mobile layout in Folio navy. */
@media(max-width:760px), (max-aspect-ratio:4/5) and (max-width:1050px){
 .reel-gate{box-sizing:border-box;display:flex;align-items:safe center;justify-content:center;min-height:100dvh;height:auto;overflow-y:auto;overscroll-behavior:contain;padding:max(16px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));}
 .reel-gate form{box-sizing:border-box;width:min(440px,100%);min-width:0;max-height:none;margin:auto;padding:clamp(20px,5vw,28px);gap:12px;border-radius:16px;}
 .reel-gate h1{font-size:clamp(23px,6vw,29px);line-height:1.17;overflow-wrap:anywhere;}
 .reel-gate p{font-size:12px;line-height:1.45;overflow-wrap:anywhere;}
 .reel-gate input{box-sizing:border-box;min-width:0;min-height:46px;font-size:16px;border-radius:9px;}
 .reel-gate button{min-height:46px;font-size:14px;}
}
@media (orientation:landscape) and (pointer:coarse) and (max-height:620px){
 .reel-gate{min-height:100dvh;display:block;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow-y:auto;}
 .reel-gate form{width:min(720px,100%);margin:0 auto;padding:13px 20px;gap:7px;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;}
 .reel-gate form .reel-mark,.reel-gate h1,.reel-gate p,.reel-gate-error{grid-column:1 / -1;}
 .reel-gate form .reel-mark{font-size:17px;}
 .reel-gate h1{font-size:19px;}
 .reel-gate p{font-size:11px;}
 .reel-gate label{font-size:11px;min-width:0;}
 .reel-gate input{min-height:37px;padding:8px 10px;}
 .reel-gate button{grid-column:1 / -1;min-height:39px;padding:8px;}
}


/* Landscape v2: video-first cinema canvas with low horizontal control dock. */
@media (orientation:landscape) and (pointer:coarse) and (max-height:620px){
 .reel-shell:not(.reel-video-fullscreen){display:flex!important;flex-direction:column!important;position:relative!important;width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-top.v-topbar{position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex:0 0 38px!important;width:100%!important;height:38px!important;min-height:38px!important;padding:0 max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))!important;gap:8px!important;border-right:0!important;border-bottom:1px solid #34475d!important}
 .reel-top .v-identity{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:0!important;flex:1 1 0!important}
 .reel-top .v-brand{font-size:14px!important;flex:none!important}
 .reel-top .v-divider{display:block!important;width:1px!important;height:18px!important}
 .reel-top .v-project{width:auto!important;min-width:0!important;flex:1 1 auto!important}
 .reel-top .v-project b{font-size:10px!important;white-space:nowrap!important;text-overflow:ellipsis!important;max-height:none!important}
 .reel-top .v-project span{display:none!important}
 .reel-top .v-top-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;width:auto!important;flex:none!important}
 .reel-top .v-top-actions .reel-toggle{height:28px!important;min-height:28px!important;padding:0 7px!important;font-size:9px!important}
 .reel-top .v-top-actions #reel-copy{height:28px!important;width:30px!important;min-width:30px!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-content{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;max-width:none!important;margin:0!important;padding:3px max(10px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;gap:3px!important;overflow:hidden!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-controls{order:0!important;display:flex!important;align-items:center!important;flex:0 0 29px!important;min-height:29px!important;max-height:29px!important;padding:0 3px!important}
 .reel-controls .reel-current-details strong{font-size:10px!important}
 .reel-controls .reel-current-details small,.reel-controls #reel-count{font-size:9px!important}
 .reel-nav button{width:34px!important;height:28px!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-stage{order:1!important;display:flex!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;width:100%!important;height:auto!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-player-surface{width:min(100%,calc((100dvh - 123px)*16/9))!important;max-width:100%!important;height:auto!important;max-height:100%!important;aspect-ratio:16/9!important;flex:none!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-playback:not(.reel-playback-floating){order:2!important;position:relative!important;top:auto!important;bottom:auto!important;right:auto!important;left:auto!important;transform:none!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex:0 0 43px!important;width:min(100%,670px)!important;height:43px!important;min-height:43px!important;margin:0 auto!important;padding:4px 10px!important;gap:10px!important;overflow:visible!important;border-radius:11px!important}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-play,.reel-shell .reel-playback:not(.reel-playback-floating) #reel-mute,.reel-shell .reel-playback:not(.reel-playback-floating) #reel-full-playback{display:grid!important;flex:0 0 34px!important;width:34px!important;height:32px!important}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-time{min-width:76px!important;white-space:nowrap!important;font-size:10px!important}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-seek{writing-mode:horizontal-tb!important;direction:ltr!important;flex:1 1 auto!important;width:auto!important;min-width:28px!important;height:auto!important;min-height:0!important}
 .reel-shell .reel-playback:not(.reel-playback-floating) #reel-volume{display:none!important}
 .reel-shell:not(.reel-video-fullscreen) .reel-strip{display:none!important}
 .reel-shell.reel-video-fullscreen{display:flex!important}
 .reel-shell.reel-video-fullscreen .reel-top{display:none!important}
}


/* Landscape fullscreen retains the polished video-first dock, not legacy rails. */
@media (orientation:landscape) and (pointer:coarse) and (max-height:620px){
 .reel-shell.reel-video-fullscreen{position:fixed!important;inset:0!important;z-index:500!important;display:flex!important;flex-direction:column!important;width:100vw!important;height:100dvh!important;background:#060b14!important;overflow:hidden!important}
 .reel-shell.reel-video-fullscreen .reel-top{display:none!important}
 .reel-shell.reel-video-fullscreen .reel-content{display:flex!important;flex-direction:column!important;position:relative!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;padding:max(5px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;gap:4px!important;overflow:hidden!important}
 .reel-shell.reel-video-fullscreen .reel-controls{display:flex!important;order:0!important;flex:0 0 30px!important;min-height:30px!important;max-height:30px!important;align-items:center!important}
 .reel-shell.reel-video-fullscreen .reel-stage{display:flex!important;order:1!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;align-items:center!important;justify-content:center!important}
 .reel-shell.reel-video-fullscreen .reel-player-surface{width:min(100%,calc((100dvh - 93px)*16/9))!important;height:auto!important;max-width:100%!important;max-height:100%!important;aspect-ratio:16/9!important;border-radius:7px!important;flex:none!important}
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating){display:flex!important;order:2!important;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex:0 0 43px!important;width:min(100%,670px)!important;height:43px!important;min-height:43px!important;margin:0 auto!important;padding:4px 10px!important;border-radius:11px!important;overflow:visible!important}
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-play,.reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-mute,.reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-full-playback{display:grid!important;flex:0 0 34px!important;width:34px!important;height:32px!important}
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-time{min-width:76px!important;font-size:10px!important;white-space:nowrap!important}
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-seek{display:block!important;writing-mode:horizontal-tb!important;direction:ltr!important;flex:1 1 auto!important;width:auto!important;min-width:28px!important;height:auto!important;min-height:0!important}
 .reel-shell.reel-video-fullscreen .reel-playback:not(.reel-playback-floating) #reel-volume,.reel-shell.reel-video-fullscreen .reel-strip{display:none!important}
}

/* Provider-native iOS fullscreen: allow gestures and native fullscreen chrome. */
@media (pointer:coarse){
 .reel-player-surface.reel-ios-native-controls iframe{pointer-events:auto!important}
 .reel-player-surface.reel-ios-native-controls .reel-player-click,
 .reel-player-surface.reel-ios-native-controls .reel-center-play{pointer-events:none!important}
 .reel-ios-fullscreen-hint{position:absolute;top:6px;left:50%;transform:translateX(-50%);pointer-events:none;z-index:5;background:#0c1728db;color:#e8f2ff;border-radius:7px;padding:6px 9px;font-size:11px;white-space:nowrap}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:620px){
 .reel-player-surface iframe{pointer-events:auto!important}
 .reel-player-surface .reel-player-click,.reel-player-surface .reel-center-play{pointer-events:none!important}
}


/* Folio exclusively owns embedded-player interactions, including landscape. */
.reel-player-surface iframe{pointer-events:none!important}
.reel-player-surface .reel-player-click,.reel-player-surface .reel-center-play{pointer-events:auto!important}
.reel-player-surface.reel-ios-native-controls iframe{pointer-events:none!important}
.reel-ios-fullscreen-hint{display:none!important}
@media (pointer:coarse) and (orientation:landscape) and (max-height:620px){
 .reel-player-surface iframe{pointer-events:none!important}
 .reel-player-surface .reel-player-click,.reel-player-surface .reel-center-play{pointer-events:auto!important}
}
/* True browser fullscreen on the Folio wrapper, preserving its own controls. */
.reel-player-surface:fullscreen,.reel-player-surface:-webkit-full-screen{
 position:relative!important;display:flex!important;align-items:center!important;
 justify-content:center!important;overflow:hidden!important;
 width:100vw!important;height:100dvh!important;max-width:none!important;
 max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;
 background:#000!important;
}
.reel-player-surface:fullscreen iframe,.reel-player-surface:-webkit-full-screen iframe,
.reel-player-surface:fullscreen video,.reel-player-surface:-webkit-full-screen video{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 object-fit:contain!important;pointer-events:none!important;
}
.reel-player-surface:fullscreen .reel-playback-floating,
.reel-player-surface:-webkit-full-screen .reel-playback-floating{
 position:absolute!important;z-index:50!important;left:50%!important;
 bottom:max(12px,env(safe-area-inset-bottom))!important;top:auto!important;
 right:auto!important;transform:translateX(-50%)!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;
 gap:8px!important;width:min(720px,calc(100% - 28px))!important;
 height:48px!important;min-height:48px!important;margin:0!important;padding:6px 10px!important;
}
.reel-player-surface:fullscreen .reel-playback-floating #reel-seek,
.reel-player-surface:-webkit-full-screen .reel-playback-floating #reel-seek{
 writing-mode:horizontal-tb!important;direction:ltr!important;flex:1 1 auto!important;
 height:auto!important;min-width:30px!important;width:auto!important;
}
.reel-player-surface:fullscreen .reel-playback-floating #reel-play,
.reel-player-surface:fullscreen .reel-playback-floating #reel-mute,
.reel-player-surface:fullscreen .reel-playback-floating #reel-full-playback{
 display:grid!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
}

/* Show the project and client together on each reel thumbnail across screen sizes. */
.reel-strip-item{grid-template-rows:minmax(0,1fr) 15px 14px!important}
.reel-strip-item strong{min-width:0;min-height:0;line-height:15px!important}
.reel-strip-item small{display:block!important;min-width:0;min-height:0;line-height:14px;font-size:10px;color:#a4b9d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.reel-strip-item{grid-template-rows:minmax(0,1fr) 14px 13px!important}.reel-strip-item strong{line-height:14px!important}.reel-strip-item small{font-size:9px;line-height:13px}}

/* A little more room for the thumbnail image plus project/client labels. */
@media(min-width:701px){.reel-strip{height:128px!important}.reel-strip-item{min-width:150px}}
@media(max-width:700px){.reel-strip{height:108px!important;max-height:108px!important}.reel-strip-item{width:148px!important;min-width:148px!important;max-width:164px!important}}
@media(max-width:700px) and (max-height:650px){.reel-strip{height:84px!important;max-height:84px!important}}

/* Thumbnail hierarchy: client and cutdown lead, project title follows in regular weight. */
.reel-strip-item strong{font-weight:750}
.reel-strip-item small{font-weight:400}
