/* Festival chrome on the shared comic type system. Scene and media remain untouched. */
:root{--bg:#050608;--ink:#ece4d3;--cyan:#ff6b2c;--purple:#ff6b2c;--pink:#ff6b2c;--glass:#0b0c10;--line:#514e47;--font:var(--type-body)}
body{font-size:var(--type-body-size)}
#fest-top{background:#050608eF;border-bottom:1px solid var(--line)}
.fest-brand{font-family:var(--type-section);font-weight:800;font-size:20px;letter-spacing:.04em}
.fest-brand img,.fest-gate-logo{filter:none}
.fest-back,.fest-gfx,.fest-director,.fest-btn,.ft-btn,.mn-btn,.mn-info,.fest-enter,.fest-gfx-close,.q-opt{font-family:var(--type-button);font-weight:600;border-radius:0;min-height:44px;background:#0b0c10;color:var(--ink);border:1px solid var(--line);box-shadow:none}
.fest-back{font-size:16px;padding:0 10px}
.fest-gfx{font-size:20px}
.fest-btn{width:44px;height:44px;flex:none}
.fest-enter,.fest-play,.ft-playbtn,.mn-btn-gold,.q-opt[aria-pressed=true]{background:#ff6b2c;border:1px solid #ff6b2c;color:#07080b;box-shadow:none}
.fest-enter:hover:not(:disabled),.ft-playbtn:hover,.mn-btn-gold:hover{background:#ff864f;box-shadow:none;transform:translateY(-1px)}
.fest-director.on,.fest-movie.on,.ft-btn[aria-pressed=true],.ft-btn[aria-expanded=true]{background:#25160f;border-color:#ff6b2c;color:var(--ink);box-shadow:none}
.fest-player,.fest-list,.fest-gfx-pop,.fest-card,.fest-now,.fest-seekstrip,.mn-un-card{background:var(--glass);border:1px solid var(--line);border-radius:0;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 12px 32px #0008}
.fest-player{border-top:3px solid #ff6b2c}
.fest-gate{background:#050608eF;overflow-y:auto}
.fest-gate-inner{padding:28px 24px;border:1px solid var(--line);border-top:3px solid #ff6b2c;background:#0b0c10;max-width:min(560px,calc(100% - 32px));margin:20px 0}
.fest-gate-title{font-family:var(--type-display);font-weight:900;font-size:clamp(48px,9vw,86px);background:none;background-clip:initial;-webkit-background-clip:initial;color:var(--ink);filter:none;letter-spacing:.01em}
.fest-eyebrow,.fest-live,.fest-sub,.fest-card-tag,.fest-now-eyebrow,.mn-un-eyebrow,.q-title{font-family:var(--type-eyebrow);font-weight:600;font-size:14px;color:#ff6b2c}
.fest-live i{box-shadow:none;animation:none}
.fest-gate-sub{font-family:var(--type-body);font-size:20px;color:var(--ink)}
.fest-tip,.q-note,.mn-log{font-family:var(--type-caption);font-size:14px;color:#c3bdaf}
.fest-enter{font-size:18px;letter-spacing:.12em}
.fest-meta{min-height:44px;font-family:var(--type-body)}
#fest-title{font-family:var(--type-body);font-size:18px;font-weight:500}
.fest-sub{color:#c3bdaf;letter-spacing:.04em}
.fest-row{font-family:var(--type-body);font-size:18px;min-height:44px;border-radius:0;border-bottom:1px solid #292a2d}
.fest-row.active,.fest-row.is-mine,.fest-row.is-mine:hover{background:#25160f;border-left:3px solid #ff6b2c}
.fest-row:hover{background:#1b1c20}
.fest-row-num,.ft-time,.mn-meta,.mn-un-count{font-family:var(--type-data);font-weight:500;font-size:12px;color:#c3bdaf}
.fest-row-mine,.fest-row-exp{font-family:var(--type-eyebrow);font-size:12px;border-radius:0}
.fest-row-mine{background:#ff6b2c;color:#07080b}
.fest-card strong,.fest-now strong,.ft-title,.mn-title,.mn-name,.mn-fbtitle,.mn-un-title{font-family:var(--type-section);font-weight:800;color:var(--ink)}
.fest-card-tag{font-size:12px}
.fest-card strong{font-size:24px}
.fest-card-close{width:44px;height:44px;top:0;right:0;border-radius:0}
.fest-card-link{font-family:var(--type-button);min-height:44px}
.ft-title{font-size:24px}
.mn-title{font-size:32px;letter-spacing:.015em}
.mn-name{font-size:26px;line-height:1.1}
.mn-lobby,.fest-theatre{background:#050608}
.mn-head,.ft-head,.ft-bar{background:#0b0c10;border-bottom:1px solid var(--line)}
.mn-card,.mn-skel{border:1px solid var(--line);border-radius:0;background:#0b0c10}
.mn-card:hover,.mn-card.is-picked,.mn-card.no-poster{border-color:#ff6b2c;box-shadow:none}
.mn-art{background:#050608}
.mn-prog i{background:#ff6b2c}
.mn-cont{color:#ff6b2c}
.mn-auto{font-family:var(--type-caption);font-size:16px;color:var(--ink)}
.mn-auto input,.calm-row input,.ft-range,.fest-vol{accent-color:#ff6b2c}
.mn-un-art{border-radius:0}
.mn-un-card{border-top:3px solid #ff6b2c}
.mn-un-title{font-size:30px}
.ft-skip{font-family:var(--type-data);font-size:12px}
:focus-visible,.mn-card:focus-visible,.mn-btn:focus-visible,.mn-info:focus-visible,.ft-playbtn:focus-visible,.fest-enter:focus-visible,.fest-play:focus-visible,.fest-gfx-close:focus-visible,.q-opt[aria-pressed=true]:focus-visible{outline:3px solid #ff6b2c;outline-offset:3px}
@media(max-width:560px){
 .fest-back{font-size:14px;padding:0 6px}
 .fest-live{font-size:12px}
 .fest-sub{font-size:12px}
 .fest-player{gap:6px;padding:8px; width:calc(100% - 24px)}
 .fest-meta{min-width:0}
 .fest-actions{gap:6px}
 .fest-actions .fest-director{font-size:14px;padding:0 10px}
 .mn-title{font-size:26px;letter-spacing:.015em}
 .fest-gate-logo{width:64px;height:64px}
 .fest-eyebrow{letter-spacing:.12em}
}
@media(max-height:500px){.fest-gate-inner{margin:12px 0;padding:16px}.fest-gate-logo{display:none}.fest-gate-sub{margin-bottom:12px}.fest-tip{margin-top:12px}}

/* Storyboard round 1: keep controls clear of the shared bars. */
.fest-card{max-width:calc(100vw - 16px);box-sizing:border-box}
.fest-card strong{white-space:normal;overflow-wrap:anywhere}
.fest-snap{bottom:244px}
.fest-actions{pointer-events:none}
.fest-actions>button{pointer-events:auto}
.fest-snapshot{position:fixed;inset:var(--sn-h,100px) 0 0;z-index:2100;background:#080b12ed;display:grid;place-items:center;padding:12px;box-sizing:border-box}
.fest-snapshot[hidden]{display:none}
.fest-snapshot-panel{max-width:900px;max-height:100%;display:flex;flex-direction:column;gap:12px;min-height:0}
#fest-snap-image{display:block;min-height:0;object-fit:contain;max-height:calc(100dvh - var(--sn-h,100px) - 100px);max-width:100%;align-self:center}
.fest-snapshot-actions{display:flex;gap:12px;flex-shrink:0}
.fest-snapshot .mn-btn{font-family:var(--type-button);font-size:14px}
@media (max-height:500px), (orientation:landscape) and (pointer:coarse) and (min-width:700px) and (max-width:1400px){
 html.sn-on body .fest-actions{top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom));right:12px;left:auto;flex-direction:row;width:auto;transform:none;z-index:30}
 .fest-actions .fest-director{position:static;inset:auto}
 .fest-actions .fest-snap{width:auto;min-width:80px;font-size:14px;border-radius:0}
 .mn-upnext{top:var(--sn-h,100px);padding:8px}
 .mn-un-card{width:min(720px,100%);max-height:calc(100dvh - var(--sn-h,100px) - 16px);box-sizing:border-box;display:grid;grid-template-columns:38% 1fr;column-gap:16px;padding:12px;text-align:left}
 .mn-un-art{grid-column:1;grid-row:1/6;align-self:center}
 .mn-un-card>:not(.mn-un-art){grid-column:2;margin-top:0;margin-bottom:6px}
 .mn-un-title{font-size:22px}
 .mn-un-actions{gap:6px}
 .mn-un-actions .mn-btn{min-height:44px;flex-basis:100px}
}
@media (pointer:coarse) and (orientation:portrait) and (max-width:1024px){
 html.sn-on body .fest-actions{bottom:calc(28px + env(safe-area-inset-bottom))}
 .fest-card{width:calc(100vw - 16px)}
}
/* The settings sheet also starts below the shared music bar. */
html.sn-on .fest-gfx-pop{z-index:45;top:calc(var(--sn-h) + 8px + env(safe-area-inset-top));max-height:calc(100dvh - var(--sn-h) - 24px - env(safe-area-inset-top));box-sizing:border-box;overflow-y:auto}
