/* Film Club (FC1–FC3, 27 October): the approved mock-ups' look (film-club/mockups/film-club.html, Design Review cleared),
   for the client's page (index.html) and Nicolas's booth (booth.html). Filmic: a dark screen, a film strip, gold seats. */
@font-face{font-family:'Nunito Sans';font-weight:400;font-display:swap;src:url('/shared/brand/fonts/nunito-sans-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito Sans';font-weight:600;font-display:swap;src:url('/shared/brand/fonts/nunito-sans-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito Sans';font-weight:700 900;font-display:swap;src:url('/shared/brand/fonts/nunito-sans-latin-700-normal.woff2') format('woff2')}
:root {
  --page: #f4efe6; --card: #fffdf8; --card2: #f7f1e6; --line: #e3d9c8; --ink: #1f1e1d; --soft: #6c655c;
  --aqua: #91d9c1; --aquaInk: #1f3d35; --aquaText: #23866f; --orange: #d06f56; --gold: #e2b04a;
  --screen: #121110; --pill: #1a1817; --seat: #d9cfbf; --seatOn: #e2b04a; --grain: .07;
}
html[data-theme="dark"] {
  --page: #1f1e1d; --card: #2c2a28; --card2: #353230; --line: #403c38; --ink: #f6f2ea; --soft: #b5ada2; --aquaText: #91d9c1;
  --screen: #0d0c0b; --pill: #46413c; --seat: #4a4541; --grain: .09;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: var(--page); color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; font-size: 16px; overflow: hidden; }
button, input, textarea, select { font-family: inherit; color: inherit; font-size: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
html[data-theme="dark"] .main-btn:disabled { opacity: 1; background: var(--card2); color: var(--soft); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Film grain over the whole page */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: var(--grain); z-index: 50;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.app { display: flex; flex-direction: column; height: 100vh; }
/* Home's shared client header: 72 px, 40 px icon boxes left, watercolour band (atelier-brand-header.css), actions right */
header.fc-top { height: 72px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 28px 0 10px; border-bottom: 1px solid var(--line); background: #f8f7f3; }
html[data-theme="dark"] header.fc-top { background: #1f1e1d; }
.nav-ico { width: 40px; height: 40px; border-radius: 9px; border: 1px solid #deded9; background: #fffdf9; display: inline-grid; place-items: center; color: #242423; text-decoration: none; }
.nav-ico .ico { width: 24px; height: 24px; stroke-width: 1.5; }
html[data-theme="dark"] .nav-ico { background: #283032; border-color: #3d4648; color: #efe9e2; }
header.fc-top .spacer { flex: 1; }
header.fc-top .hbtn { height: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid #deded9; background: #fffdf9; color: #242423; font-size: 15px; text-decoration: none; }
header.fc-top .hbtn .ico { width: 20px; height: 20px; }
/* The open view: aqua tint and edge, so Take My Seat stays the one solid aqua button (Design Review, 31 October). */
header.fc-top .hbtn.on { background: rgba(145,217,193,.22); border-color: var(--aqua); color: #242423; }
html[data-theme="dark"] header.fc-top .hbtn.on { background: rgba(145,217,193,.16); color: #efe9e2; }
html[data-theme="dark"] header.fc-top .hbtn:not(.on) { background: #283032; border-color: #3d4648; color: #efe9e2; }
.hbtn { height: 48px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.hbtn svg { width: 22px; height: 22px; }
main { flex: 1; min-height: 0; padding: 20px 24px; display: flex; gap: 20px; }
main.col { flex-direction: column; }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.h2 { font-size: 15px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); }
.main-btn { height: 72px; border-radius: 8px; border: 0; background: var(--aqua); color: var(--aquaInk); font-weight: 900; font-size: 24px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; flex: none; }
.main-btn .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.main-btn.orange { background: var(--orange); color: #fff; }
.main-btn.mid { height: 64px; font-size: 20px; }

/* Gate: signed out, no invitation */
.gate { flex: 1; display: grid; place-items: center; padding: 24px; }
.gate-card { max-width: 520px; padding: 32px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.gate-card h1 { font-size: 30px; font-weight: 900; }
.gate-card p { color: var(--soft); font-size: 18px; }
.gate-card a { text-decoration: none; }

/* The film frame */
.screen { position: relative; background: var(--screen); border-radius: 8px; overflow: hidden; flex: 1; min-height: 0; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.screen svg.film { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); z-index: 1; }
.badge { position: absolute; z-index: 3; top: 18px; height: 40px; padding: 0 16px; border-radius: 8px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; background: rgba(18,17,16,.72); color: #f6f2ea; backdrop-filter: blur(4px); }
.badge.l { left: 18px; } .badge.r { right: 18px; } .badge.r.lane-off { right: 122px; }
.badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.badge .dot.red, .reddot { background: #d6452f; }
.reddot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.badge .dot.aqua { background: var(--aqua); } .badge .dot.gold { background: var(--gold); }
.badges { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; gap: 10px; }
.badges .badge { position: static; }
.lane { position: absolute; z-index: 2; right: 0; top: 0; bottom: 0; width: 104px; background: linear-gradient(to left, rgba(10,9,8,.72), rgba(10,9,8,0)); pointer-events: none; }
.float { position: absolute; z-index: 3; font-size: 40px; width: 104px; text-align: center; right: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); pointer-events: none; animation: rise 7s linear forwards; }
.float small { display: block; font-size: 12px; font-weight: 800; color: #f6f2ea; text-align: center; margin-top: -4px; white-space: nowrap; }
@keyframes rise { from { transform: translateY(0); opacity: 1; } 70% { opacity: .9; } to { transform: translateY(-260px); opacity: 0; } }
.center-cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3; }
.center-cta button, .center-cta label { min-width: 112px; height: 112px; padding: 0 28px; border-radius: 8px; border: 0; background: rgba(18,17,16,.7); color: #f6f2ea; display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 900; font-size: 22px; cursor: pointer; }
.center-cta .ico { width: 52px; height: 52px; }
.screen-msg { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #f6f2ea; text-align: center; padding: 24px; background: rgba(18,17,16,.64); }
.screen-msg b { font-size: 34px; font-weight: 900; }
.screen-msg span { font-size: 18px; color: #ece6db; font-weight: 700; }
.screen-msg span span { font-size: inherit; color: inherit; }
/* A member's own pause during a live screening, and Back To Nicolas (5 November). */
.screen .my-pause { position: absolute; left: 18px; bottom: 18px; top: auto; z-index: 3; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center; }
.screen .my-pause .ico { width: 20px; height: 20px; }
.screen-msg .rejoin { margin-top: 10px; height: 64px; padding: 0 28px; border-radius: 8px; border: 0; background: var(--aqua); color: var(--aquaInk); display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; cursor: pointer; }
.screen-msg .rejoin .ico { width: 26px; height: 26px; }
.drop.over { outline: 3px dashed var(--aqua); outline-offset: -10px; }

/* Film-strip progress with reaction marks */
.strip { position: relative; height: 64px; border-radius: 8px; background: #1a1817; flex: none; overflow: hidden; min-width: 0; }
.strip.seekable { cursor: pointer; }
.strip-row .strip { flex: 1; }
.strip::before, .strip::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 10px, #4a4541 10px 22px); }
.strip::before { top: 5px; } .strip::after { bottom: 5px; }
.strip .bars { position: absolute; left: 96px; right: 112px; top: 18px; bottom: 18px; display: flex; align-items: flex-end; gap: 2px; }
.strip .bars i { flex: 1; background: rgba(226,176,74,.55); border-radius: 2px 2px 0 0; min-height: 8%; }
.strip .bars i.past { background: var(--gold); }
.strip.solo .bars i { height: 10% !important; background: #4a4541 !important; }
.strip.solo .bars i.mine { height: 80% !important; background: var(--aqua) !important; }
.strip .head { position: absolute; top: 12px; bottom: 12px; width: 3px; background: var(--orange); border-radius: 2px; }
.strip .t { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; color: #f6f2ea; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.strip .t.l { left: 16px; } .strip .t.r { right: 16px; color: #b5ada2; }
.strip-row { display: flex; gap: 12px; flex: none; align-items: stretch; }
.peaks { position: relative; height: 36px; flex: none; }
.peak { position: absolute; bottom: 0; transform: translateX(-50%); height: 30px; padding: 0 10px; border-radius: 8px; background: var(--pill); color: var(--gold); font-weight: 900; font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; }
.peak::after { content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--pill); }

/* Reaction bar */
.react { display: flex; gap: 12px; flex: none; }
.emo { width: 72px; height: 72px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: 34px; display: flex; align-items: center; justify-content: center; flex: none; }
.react.wide .emo { flex: 1; width: auto; }
.emo:active { transform: scale(.94); }
.note-in { flex: 1; min-width: 0; height: 72px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; color: var(--soft); font-size: 18px; }
.note-in input, .note-in textarea { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 18px; color: var(--ink); resize: none; }
.note-in input::placeholder, .note-in textarea::placeholder { color: var(--soft); }
.note-in.tall { flex: none; align-items: flex-start; padding-top: 16px; }
.note-in.tall textarea { height: 100%; }
.seg { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); height: 52px; flex: none; }
.seg button { padding: 0 16px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; background: var(--card2); color: var(--soft); border: 0; }
.seg button.on { background: var(--aqua); color: var(--aquaInk); }
.seg.full { height: 56px; } .seg.full button { flex: 1; justify-content: center; font-size: 17px; }
.seg.small { height: 40px; } .seg.mid { height: 48px; }

/* Side panel */
.side { width: 400px; flex: none; display: flex; flex-direction: column; min-height: 0; }
.side-head { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); flex: none; align-items: center; }
.side-head.title { padding: 18px 16px; }
.side-head .h2 { flex: 1; }
.tab { flex: 1; height: 52px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tab.on { background: var(--aqua); color: var(--aquaInk); border-color: var(--aqua); }
.side-body { flex: 1; min-height: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.side-body.end { justify-content: flex-end; }
.side-foot { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: none; }
.fade-top { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px); mask-image: linear-gradient(to bottom, transparent 0, #000 16px); }
.onoff { display: flex; align-items: center; gap: 12px; flex: none; }
.onoff span { flex: 1; font-size: 18px; font-weight: 800; }
.onoff.big span { font-size: 20px; }
.rule { border-top: 1px solid var(--line); margin: 4px -16px 0; flex: none; }

/* Seats */
.seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 8px; }
.seatc { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.seatc svg { width: 46px; height: 40px; }
.side .seatc svg { width: 52px; height: 46px; }
.side .seats { gap: 14px 8px; }
.seatc .s-back { fill: var(--seat); } .seatc .s-arm { fill: var(--seat); opacity: .75; }
.seatc.on .s-back, .seatc.on .s-arm { fill: var(--seatOn); }
.seatc.me .s-back, .seatc.me .s-arm { fill: var(--aqua); }
.seatc span { font-size: 12px; font-weight: 700; color: var(--soft); height: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seatc.on span, .seatc.me span { color: var(--ink); }
.screenline { height: 8px; border-radius: 0 0 50% 50%; background: var(--gold); opacity: .6; margin: 0 20px 6px; flex: none; }

/* Notes stream by film time */
.msgs { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.msg { display: flex; gap: 12px; align-items: flex-start; flex: none; }
.tc { flex: none; height: 30px; padding: 0 10px; border-radius: 8px; background: #1a1817; color: var(--gold); font-weight: 800; font-size: 14px; display: flex; align-items: center; font-variant-numeric: tabular-nums; border: 0; }
button.tc { cursor: pointer; }
.msg .who { font-weight: 800; font-size: 15px; }
.msg .txt { font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.msg .em { font-size: 22px; }
.msg.mine .who { color: var(--aquaText); }
.msg.host .who { color: var(--aquaText); }
.empty { color: var(--soft); font-size: 17px; font-weight: 700; text-align: center; padding: 12px; }

/* Ticket (lobby) */
.ticket { display: flex; overflow: hidden; flex: 1; min-height: 0; }
.poster { position: relative; flex: none; background: var(--screen); overflow: hidden; }
.poster svg, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster img.film-bg { filter: blur(16px) brightness(.55); transform: scale(1.15); }
.poster img.film-poster { object-fit: contain; }
.perf { width: 0; border-left: 3px dashed var(--line); margin: 20px 0; flex: none; }
.ticket-main { flex: 1; display: flex; flex-direction: column; padding: 24px 28px; gap: 16px; min-width: 0; }
.ticket .kicker { color: #85590a; }   /* gold, like TAC's: orange is for stop actions (Design Review, 31 October) */
html[data-theme="dark"] .ticket .kicker { color: var(--gold); }
.ticket .title { font-size: 46px; font-weight: 900; line-height: 1.02; }
.ticket .meta { font-size: 20px; color: var(--soft); font-weight: 700; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; grid-auto-rows: 1fr; min-height: 0; }
.fact { background: var(--card2); border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fact .k { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); }
.fact .val { white-space: nowrap; font-size: 26px; font-weight: 900; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; gap: 10px; }
.chip { height: 40px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; background: var(--card2); border: 1px solid var(--line); white-space: nowrap; min-width: 0; overflow: hidden; }
.chip.grow1 { flex: 1; }
.chip.ok { background: transparent; border-color: var(--aquaText); color: var(--aquaText); }
.chip.small { height: 34px; }
.chip.gold { background: transparent; border-color: var(--gold); color: #85590a; }
html[data-theme="dark"] .chip.gold { color: var(--gold); }
.seat-panel { width: 390px; flex: none; padding: 24px 24px 24px 0; display: flex; }
.seat-panel .inner { flex: 1; background: var(--card2); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; }
.seat-panel .seats { flex: 1; align-content: space-evenly; }
.lobby-row { display: flex; gap: 20px; height: 236px; flex: none; }
.lobby-row > section { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cards2 { flex: 1; display: flex; gap: 12px; min-height: 0; }
.mini { flex: 1; display: flex; gap: 14px; background: var(--card2); border-radius: 8px; overflow: hidden; min-width: 0; border: 0; text-align: left; padding: 0; }
.mini .poster { width: 104px; align-self: stretch; }
.mini .body { padding: 14px 14px 14px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.mini .t2 { font-size: 20px; font-weight: 900; line-height: 1.15; height: 46px; overflow: hidden; }
.mini .m2 { color: var(--soft); font-weight: 700; font-size: 15px; }
.mini .foot { margin-top: auto; display: flex; gap: 8px; }
.mini.replay { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 16px; border-left: 6px solid var(--gold); }
.mini.replay .t2 { height: auto; display: flex; align-items: center; gap: 10px; }
.mini.replay .t2 span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini.sel { box-shadow: inset 0 0 0 2px var(--aqua); }
.mini.none { align-items: center; justify-content: center; color: var(--soft); font-weight: 800; }

/* Option rows (levels) */
.levels { flex: 1; display: flex; gap: 20px; min-height: 0; }
.levels > section { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.opt { display: flex; align-items: center; gap: 18px; padding: 0 20px; border-radius: 8px; background: var(--card2); border: 1px solid var(--line); border-left: 8px solid var(--line); flex: 1; min-height: 56px; text-align: left; }
.opt.on { border-left-color: var(--aqua); background: var(--card); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.opt.off { opacity: .45; cursor: default; }
.opt .num { width: 44px; height: 44px; border-radius: 8px; background: var(--page); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; flex: none; }
.opt.on .num { background: var(--aqua); color: var(--aquaInk); }
.opt .nm { font-size: 26px; font-weight: 900; }
.opt .pv { margin-left: auto; display: flex; gap: 8px; align-items: center; font-size: 32px; } .opt .pv .ico { width: 30px; height: 30px; color: var(--soft); }
.opt .pv .say { font-size: 18px; font-weight: 800; color: var(--soft); }
.opt .lock { margin-left: auto; display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 15px; color: var(--soft); }
.opt .nick { margin-left: auto; width: 220px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--page); padding: 0 12px; font-size: 18px; font-weight: 800; outline: none; }
.opt .nick:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(145,217,193,.45); }

/* Link My Copy */
.checks { display: flex; gap: 12px; flex: none; height: 92px; }
.checks .fact { flex: 1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; border-left: 6px solid var(--line); }
.checks .fact.ok { border-left-color: var(--aqua); }
.checks .fact.bad { border-left-color: var(--orange); }
.checks .fact .val { font-size: 22px; }
.okc { display: flex; color: var(--aquaText); } .okc .ico { width: 34px; height: 34px; stroke-width: 2.4; }
.badc { display: flex; color: var(--orange); } .badc .ico { width: 34px; height: 34px; stroke-width: 2.4; }
.checks .hbtn { flex: 1; height: auto; font-size: 20px; justify-content: center; }

/* Controls on the film (they fade a second after the mouse leaves) */
.film-ctrl { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 150px; padding: 0 24px 20px; display: flex; align-items: flex-end; gap: 12px; background: linear-gradient(to top, rgba(10,9,8,.8), rgba(10,9,8,0)); color: #f6f2ea; transition: opacity .4s; }
.screen.idle .film-ctrl { opacity: 0; pointer-events: none; }
.screen.idle { cursor: none; }
.film-ctrl .mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.film-ctrl .row { display: flex; gap: 12px; }
.fc-b { width: 56px; height: 56px; border-radius: 8px; border: 0; background: rgba(246,242,234,.14); color: #f6f2ea; display: flex; align-items: center; justify-content: center; }
.fc-b .ico { width: 28px; height: 28px; }
.fc-b.big { width: 72px; background: var(--aqua); color: var(--aquaInk); }
.fc-t { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.hide-btn { width: 48px; flex: none; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); color: var(--soft); display: flex; align-items: center; justify-content: center; }
.hide-btn.side-x { height: 44px; width: 44px; }
.hide-btn.side-x .ico { transform: rotate(-90deg); }
.slim { display: flex; gap: 12px; flex: none; height: 56px; }
.slim .hbtn { flex: 1; height: 56px; justify-content: center; font-size: 18px; }
.slim .hbtn .ico { transform: rotate(180deg); }
.tab.notes-btn { flex: none; width: 220px; height: 72px; font-size: 20px; }
.slim .tab.notes-btn { height: 56px; font-size: 18px; }
.replay-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 60px 32px 28px; background: linear-gradient(to top, rgba(10,9,8,.85), rgba(10,9,8,0)); color: #f6f2ea; }
.replay-title b { display: block; font-size: 52px; font-weight: 900; line-height: 1; }
.replay-title span { display: block; font-size: 20px; font-weight: 700; color: #d8d2c7; margin-top: 8px; }

/* Faces */
.faces-stage { position: relative; flex: 1; min-height: 0; border-radius: 8px; overflow: hidden; background: var(--card2); }
.faces-stage .vc { padding: 0; background: transparent; }
.faces-stage:empty::after { content: ''; position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; opacity: .35;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3z'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--soft); }
.faces-stage .vc-others { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 1fr; gap: 10px; }
.faces-stage .vc-tile { border-radius: 8px; }
.faces-quiet { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.faces-quiet .chip { border-style: dashed; }
.faces-btns { display: flex; gap: 10px; flex: none; }
.faces-btns .hbtn { flex: 1; justify-content: center; height: 56px; }
.faces-btns .hbtn.on { background: var(--aqua); border-color: var(--aqua); color: var(--aquaInk); }

/* Booth */
.mem { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 8px; background: var(--card2); flex: none; height: 56px; border-left: 6px solid var(--aqua); }
.mem.warn { border-left-color: var(--gold); }
.mem.wait { border-left-color: var(--line); }
.mem .av { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; flex: none; }
.mem .nm { font-weight: 800; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem .st { margin-left: auto; font-weight: 800; font-size: 15px; color: var(--soft); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.mem.pick { cursor: pointer; border-top: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.mem.pick.sel { background: var(--card); box-shadow: inset 0 0 0 2px var(--aqua); }
.ctrls { display: flex; gap: 12px; flex: none; }
.ctrl { width: 84px; height: 84px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); display: flex; align-items: center; justify-content: center; flex: none; }
.ctrl .ico { width: 36px; height: 36px; }
.ctrl.big { width: 120px; background: var(--aqua); color: var(--aquaInk); border: 0; }
.lvs { flex: 1; display: flex; gap: 8px; }
.lv { flex: 1; height: 84px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; }
.lv small { font-size: 12px; font-weight: 800; color: var(--soft); text-transform: uppercase; letter-spacing: 1px; }
.lv.on { background: var(--aqua); color: var(--aquaInk); border-color: var(--aqua); }
.lv.on small { color: var(--aquaInk); }
.lv.under { background: rgba(145,217,193,.25); }
.scroll { overflow-y: auto; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); }
.form input, .form select { height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); padding: 0 12px; font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--orange); font-weight: 800; font-size: 15px; min-height: 18px; }

/* Header confirmation: middle of the header, black with white type, 10 s (his rule) */
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 60; height: 40px; padding: 0 18px; border-radius: 8px; background: #1f1e1d; color: #fff; font-weight: 800; display: flex; align-items: center; }
html[data-theme="dark"] .toast { background: #000; }

/* Phones: one column, the page scrolls (no phone design yet; handover §7) */
@media (max-width: 900px) {
  body { overflow: auto; }
  .app { height: auto; min-height: 100vh; }
  header.fc-top { padding: 0 12px; }
  header.fc-top .hbtn span { display: none; }
  main { flex-direction: column; padding: 12px 16px; }
  .side { width: 100%; min-height: 420px; }
  .screen { min-height: 220px; flex: none; aspect-ratio: 16 / 9; }
  .ticket { flex-direction: column; }
  .ticket .poster { width: 100% !important; height: 200px; }
  .perf { display: none; }
  .seat-panel { width: 100%; padding: 0 16px 16px; }
  .ticket .title { font-size: 32px; }
  .lobby-row, .levels, .checks, .cards2 { flex-direction: column; height: auto; }
  .lobby-row .mini { min-height: 110px; }
  .react { flex-wrap: wrap; } .emo { width: 52px; height: 52px; font-size: 26px; }
  .note-in { flex-basis: 100%; }
  .opt .nm { font-size: 18px; } .opt .nick { width: 120px; }
  .facts { min-height: 160px; }
  .ctrls { flex-wrap: wrap; } .lvs { flex-basis: 100%; }
}

/* Design Review on PR #1019 (27 October): the booth's Up To matches TAC's (gold for the chosen level, the rest neutral),
   and Audience / Notes are a segmented choice (aqua tint with a border); Pause stays the one full-aqua control. */
html .booth-page .lv.on { background: var(--gold); border-color: var(--gold); color: #3a2a08; }
html .booth-page .lv.on small { color: #3a2a08; }
html .booth-page .lv.under { background: var(--card2); }
html .booth-page .side-head .tab.on { background: rgba(145,217,193,.22); border-color: var(--aqua); color: var(--ink); box-shadow: 0 0 0 1px var(--aqua) inset; }
html[data-theme="dark"] .booth-page .side-head .tab.on { background: rgba(145,217,193,.16); }

/* Join As A Guest (31 October): a guest's own link, no account; the label is the placeholder (Design Principles 21b). */
.join-form { width: 420px; flex: none; padding: 24px 24px 24px 0; display: flex; margin: 0; }
.join-form .inner { flex: 1; background: var(--card2); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.join-h { font-size: 24px; font-weight: 900; }
.join-in { height: 56px; border-radius: 8px; border: 1px solid var(--aqua); background: var(--card); color: var(--ink); padding: 0 14px; font: 800 20px 'Nunito Sans', sans-serif; outline: none; }
.join-in:focus { box-shadow: 0 0 0 3px rgba(145,217,193,.45); }
.join-copy { height: 72px; border-radius: 8px; border: 1px solid var(--aqua); border-left: 6px solid var(--aqua); background: rgba(145,217,193,.18); color: var(--ink); display: flex; align-items: center; gap: 12px; padding: 0 16px; text-align: left; cursor: pointer; }
.join-copy.ok { background: transparent; }
.join-copy b { display: block; font-size: 18px; }
.join-copy span span { font-size: 14px; color: var(--soft); font-weight: 700; }
.join-form .grow { flex: 1; }
.join-err { min-height: 18px; font-weight: 800; font-size: 14px; color: var(--soft); text-align: center; }
.join-alt { text-align: center; font-weight: 800; color: var(--aquaText); font-size: 16px; text-decoration: none; }
.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; }
.join-step { display: flex; gap: 14px; align-items: flex-start; background: var(--card2); border-radius: 8px; padding: 16px; }
.join-step > b { width: 40px; height: 40px; border-radius: 50%; background: var(--aqua); color: var(--aquaInk); display: grid; place-items: center; font-size: 20px; flex: none; }
.join-step .t2 { font-size: 20px; font-weight: 900; }
.join-step .m2 { font-size: 15px; color: var(--soft); font-weight: 700; margin-top: 4px; }
@media (max-width: 900px) {
  .join-form { width: 100%; padding: 0 16px 16px; }
  .join-steps { grid-template-columns: 1fr; }
}

/* Doors Open and Starts count down (his note, 2 November): yellow until the doors open, then Starts in red. */
.fact .cd { font-size: 15px; font-weight: 800; margin-top: 2px; color: var(--soft); min-height: 1.2em; }
.fact.timed.gold { background: var(--gold); }
.fact.timed.gold .k, .fact.timed.gold .val, .fact.timed.gold .cd { color: #1f1e1d; }
.fact.timed.red { background: #c9483b; }
.fact.timed.red .k, .fact.timed.red .val, .fact.timed.red .cd { color: #fff; }
/* A copy that is not Nicolas's file, and the file every guest needs (2 November). */
.join-copy.bad { border-color: var(--orange); border-left-color: var(--orange); background: rgba(208,111,86,.12); }
.join-copy.bad .ico { color: var(--orange); }
.join-need { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--soft); padding: 0 4px; }
.join-need b { color: var(--ink); word-break: break-all; }
.join-need .ico { flex: none; width: 20px; height: 20px; }
/* A shorter window (CM, 3 November: a 1440x900 screen leaves the page about 780 tall, and the countdown on Doors Open
   slipped under the My Seat chip; Tests To Run, 4 November: still at 886-915). The page checks whether the two rows
   of tiles fit (fitTiles in film-club.js); when they do not, the four go on one row, tighter, so every countdown
   stays whole above the chips, whatever the window and however long the title. */
@media (min-width: 901px) {
  .ticket-main { container: tm / size; }
  .ticket .facts.one-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .ticket .facts.one-row .fact { padding: 6px 12px; }
  .ticket .facts.one-row .fact .k { font-size: 11px; letter-spacing: .8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ticket .facts.one-row .fact .val { font-size: 22px; margin-top: 0; }
  .ticket .facts.one-row .fact .cd { font-size: 13px; margin-top: 0; }
  @container tm (max-height: 400px) {
    .ticket .title { font-size: 36px; }
    .ticket .meta { font-size: 17px; }
    .ticket .main-btn { height: 56px; min-height: 56px; }
  }
}
@media (min-width: 901px) and (max-height: 740px) {
  .lobby-row { height: 186px; }
  .ticket-main { gap: 10px; padding: 18px 28px; }
  .mini .t2 { height: auto; white-space: nowrap; text-overflow: ellipsis; }
}

/* The logo leads Home on a computer (Home #1274, 4 November); phones keep the house until there is a photo, Sign Out
   pointing left before it. A screening (or a guest link) hides the logo as it hides the house. */
@media (min-width: 601px) { #nav-home { display: none !important; } }
@media (max-width: 600px) { header.fc-top .brand-mark { display: none; } #signout { order: -1; } #signout .ico { transform: scaleX(-1); } header.fc-top:has(.brand-mark.has-photo) #nav-home { display: none; } }
header.fc-top:has(#nav-home.hidden) .brand-mark { display: none !important; }
