/* siu website. Visual world inherited from the siu Mac launcher. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-800-italic.woff2") format("woff2"); }

:root {
  --ground: #0d1220;
  --rail: #0a0e19;
  --panel: #141b30;
  --panel-2: #1b2440;
  --line: #232d4d;
  --line-2: #34406a;
  --ink: #eef2ff;
  --ink-2: #b9c1dc;
  --muted: #8892b0;
  --volt: #d4ff3a;
  --volt-ink: #10160a;
  --alert: #ff4d4f;
  --display: "Barlow Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ui: "Barlow", "PingFang SC", "Hiragino Sans GB", -apple-system, "Microsoft YaHei", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --skew: -12deg;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ground); color: var(--ink);
  font: 400 16px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(212, 255, 58, .55); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--volt); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--volt); color: var(--volt-ink); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--rail); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--rail); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 3px solid var(--rail); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: condensed, slanted as a whole at the wipe angle (CJK has no italic). */
.slant { display: inline-block; transform: skewX(-10deg); transform-origin: left bottom; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: .005em; line-height: .94; text-wrap: balance; }
:lang(en) .display { font-style: italic; }
:lang(en) .slant.display { transform: none; }
h2.display { font-size: clamp(44px, 6.2vw, 92px); }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; max-width: 34em; }
:lang(en) .lede { max-width: 38em; }
.note { color: var(--muted); font-size: 13px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px;
  font: 600 16px/1 var(--ui); white-space: nowrap; text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-volt { background: var(--volt); color: var(--volt-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.btn-volt:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .45); background: #defe6c; }
.btn-volt:active { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(13, 18, 32, .45); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(27, 36, 64, .7); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn[aria-disabled="true"], .btn:disabled { cursor: not-allowed; background: var(--panel-2); color: var(--muted); box-shadow: none; border: 1px dashed var(--line-2); transform: none; }
.soon { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--panel-2); color: var(--ink-2); font: 700 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.btn .soon { background: rgba(255, 255, 255, .06); }

/* ---------- Score-bug navigation ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background-color .3s, padding .3s var(--ease), box-shadow .3s;
}
.top.solid { background: rgba(10, 14, 25, .92); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(8px)) { .top.solid { background: rgba(10, 14, 25, .8); backdrop-filter: blur(14px) saturate(1.2); } }
.bug { display: flex; align-items: stretch; height: 42px; transform: skewX(-10deg); border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.bug > * { transform: skewX(10deg); }
.bug-cell { display: flex; align-items: center; background: var(--panel-2); border-left: 1px solid var(--ground); }
.bug-brand { display: flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; background: var(--rail); text-decoration: none; transform: none; }
.bug-brand img { width: 30px; height: 30px; transform: skewX(10deg); }
.bug-brand b { font: italic 800 27px/1 var(--display); color: var(--volt); transform: skewX(10deg); letter-spacing: .01em; }
.bug-tag { padding: 0 14px; font: 700 14px/1 var(--display); letter-spacing: .08em; color: var(--ink-2); background: var(--panel-2); text-transform: uppercase; display: flex; align-items: center; }
.bug-tag span { transform: skewX(10deg); }
.links { display: flex; align-items: center; gap: 4px; list-style: none; }
.links a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.links a:hover { color: var(--ink); background: rgba(27, 36, 64, .7); }
.links a.on { color: var(--ink); }
.top-act { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 8px; border-radius: 14px; background: rgba(10, 14, 25, .9); transition: background-color .3s; }
.top.solid .top-act { background: transparent; }
.lang { display: flex; height: 40px; padding: 4px; border-radius: 10px; background: rgba(13, 18, 32, .55); border: 1px solid var(--line); }
.lang button { padding: 0 10px; border-radius: 7px; font: 700 14px/1 var(--display); letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); }
.signin { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.signin:hover { color: var(--ink); background: rgba(27, 36, 64, .7); }
.signin svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(13, 18, 32, .55); }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Hero: the highlights reel ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: #000; isolation: isolate; }
.reel { position: absolute; inset: 0; }
.shot { position: absolute; inset: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.shot.live img { animation: drift 7s linear forwards; }
@keyframes drift { to { transform: scale(1.08); } }
.shot.incoming { z-index: 2; clip-path: polygon(118% 0, 140% 0, 140% 100%, 104% 100%); }
.shot.incoming.go { clip-path: polygon(-16% 0, 140% 0, 140% 100%, -30% 100%); transition: clip-path .75s var(--ease); }
.cutbar { position: absolute; top: -5%; bottom: -5%; left: 0; width: 22px; z-index: 3; background: var(--volt); transform: translateX(112vw) skewX(var(--skew)); pointer-events: none; opacity: 0; }
.cutbar.go { opacity: 1; transform: translateX(-30vw) skewX(var(--skew)); transition: transform .75s var(--ease), opacity .2s .6s; }
.cutbar.go.fade { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 4; background: linear-gradient(180deg, rgba(5, 8, 15, 0), rgba(5, 8, 15, .55)); pointer-events: none; }

.panel { position: absolute; z-index: 5; top: -10%; bottom: -10%; left: -16vw; width: 62vw; background: var(--ground); transform: skewX(var(--skew)); transform-origin: bottom left; }
.panel::after { content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 14px; background: var(--volt); }
.panel::before { content: ""; position: absolute; top: 0; bottom: 0; right: -44px; width: 5px; background: var(--volt); opacity: .45; }
.hero-copy { position: absolute; z-index: 6; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(44vw, 640px); }
.hero h1 { font-size: clamp(64px, 8.2vw, 132px); }
.hero h1 .line { display: block; }
.hero .lede { margin-top: clamp(24px, 3.4vh, 36px); max-width: 30em; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.6vh, 38px); }
.hero-meta { margin-top: 16px; color: var(--muted); font-size: 13.5px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.hero-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin-right: 14px; vertical-align: middle; }

.frame-tag { position: absolute; z-index: 6; right: var(--gutter); top: 96px; padding: 6px 10px; border-radius: 7px; background: rgba(5, 8, 15, .72); color: var(--ink-2); font-size: 12.5px; }
.reel-ui { position: absolute; z-index: 6; right: var(--gutter); bottom: clamp(22px, 4vh, 40px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cut { display: flex; align-items: center; gap: 12px; font: italic 800 24px/1 var(--display); letter-spacing: .05em; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.cut b { color: var(--volt); }
.cut button { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(5, 8, 15, .7); color: var(--ink); }
.cut button svg { width: 15px; height: 15px; }
.strip { display: flex; gap: 6px; align-items: flex-end; list-style: none; }
.strip button { display: block; width: 66px; height: 40px; border-radius: 6px; overflow: hidden; opacity: .62; transition: opacity .25s, width .45s var(--ease), height .45s var(--ease), box-shadow .25s; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.strip button img { width: 100%; height: 100%; object-fit: cover; }
.strip button:hover { opacity: .95; }
.strip button[aria-current="true"] { opacity: 1; width: 92px; height: 54px; box-shadow: 0 0 0 3px var(--volt), 0 6px 16px rgba(0, 0, 0, .5); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(84px, 10vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .lede { justify-self: end; }

/* Pile to film */
.pile { background: var(--ground); }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; list-style: none; }
.tile { position: relative; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: var(--panel); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s, opacity .3s; }
.tile .tg { position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; border-radius: 5px; background: rgba(5, 8, 15, .78); font-size: 11.5px; line-height: 1.2; color: var(--ink-2); }
.tile.out img { filter: grayscale(.85) brightness(.55); }
.tile.out .tg { color: #ffb3b4; }
.tile.out::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(13, 18, 32, 0) 0 9px, rgba(13, 18, 32, .35) 9px 11px); }
.tile.pick { box-shadow: inset 0 0 0 3px var(--volt); }
.tile.pick .no { position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; background: var(--volt); color: var(--volt-ink); font: italic 800 16px/24px var(--display); text-align: center; z-index: 1; }
.tile.pick:hover img, .tile.pick.hot img { transform: scale(1.06); }
.tally { position: sticky; top: 100px; background: var(--panel); border-radius: 14px; padding: 22px; }
.tally-row { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
.tally-row b { font: italic 800 34px/1 var(--display); color: var(--ink); }
.tally-row.v b { color: var(--volt); }
.tally p { margin-top: 14px; }
.film { margin-top: 28px; }
.film-bar { display: flex; gap: 3px; height: 64px; border-radius: 10px; overflow: hidden; list-style: none; }
.film-bar li { position: relative; min-width: 0; overflow: hidden; background: var(--panel-2); transition: flex-grow .4s var(--ease), filter .25s; }
.film-bar li img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.film-bar li span { position: absolute; left: 6px; top: 5px; font: italic 800 15px/1 var(--display); color: var(--volt); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.film-bar li.hot { box-shadow: inset 0 0 0 3px var(--volt); }
.film-bar li.hot img { opacity: 1; }
.beats { position: relative; height: 26px; margin-top: 6px; border-radius: 6px; background: var(--rail); }
.beats i { position: absolute; top: 5px; bottom: 5px; width: 2px; border-radius: 1px; background: var(--volt); opacity: .8; }
.beats i.dn { background: var(--ink-2); opacity: .35; }
.film-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.film-cap b { font: italic 800 20px/1 var(--display); color: var(--ink); letter-spacing: .03em; }

/* How it cuts: running order on a track */
.how { background: var(--rail); overflow: hidden; }
.track { position: relative; padding-top: 34px; }
.ruler { position: absolute; top: 0; left: 0; right: 0; height: 22px; background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 40px 100%; mask-image: linear-gradient(180deg, #000 0 40%, transparent 40%); -webkit-mask-image: linear-gradient(180deg, #000 0 40%, transparent 40%); opacity: .7; }
.steps { display: grid; grid-template-columns: 1fr 1.25fr 1.45fr 1.15fr; gap: 4px; list-style: none; counter-reset: step; }
.step { position: relative; background: var(--panel); padding: 26px 24px 30px; min-height: 290px; display: flex; flex-direction: column; }
.step:first-child { border-radius: 14px 0 0 14px; }
.step:last-child { border-radius: 0 14px 14px 0; }
.step-k { font: 700 13px/1 var(--display); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.step h3 { margin-top: 14px; font: 800 clamp(28px, 2.6vw, 38px)/1 var(--display); }
:lang(en) .step h3 { font-style: italic; }
.step p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.step .chips { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.step.lit { background: var(--panel-2); }
.step.lit .chip { background: #26315a; }
.step.lit .step-k { color: var(--volt); }
.music { display: grid; grid-template-columns: 1fr 1.25fr 1.45fr 1.15fr; gap: 4px; margin-top: 4px; }
.music > div { height: 40px; background: var(--panel); position: relative; overflow: hidden; }
.music > div:first-child { border-radius: 0 0 0 14px; }
.music > div:last-child { border-radius: 0 0 14px 0; }
.music .wave { position: absolute; inset: 9px 10px; background: repeating-linear-gradient(90deg, rgba(185, 193, 220, .28) 0 2px, transparent 2px 6px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.music .on .wave, .music > .on .wave { background: repeating-linear-gradient(90deg, rgba(212, 255, 58, .55) 0 2px, transparent 2px 6px); }
.music .bt { position: absolute; top: 4px; bottom: 4px; width: 3px; background: var(--volt); border-radius: 2px; }
.music-label { display: flex; justify-content: space-between; margin-top: 10px; padding-left: 16px; color: var(--muted); font-size: 13px; }
.playhead { position: absolute; top: 8px; bottom: -4px; left: 0; width: 3px; background: var(--volt); z-index: 2; pointer-events: none; transform: translateX(var(--ph, 0px)); will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; left: -8px; width: 19px; height: 14px; background: var(--volt); border-radius: 3px 3px 9px 9px; }

/* Finished film: the siu app */
.app-sec { background: var(--ground); }
.app-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.app-copy .lede { margin-top: 26px; }
.display .line { display: block; }
.facts { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.facts svg { width: 20px; height: 20px; color: var(--volt); margin-top: 3px; }
.facts b { color: var(--ink); font-weight: 600; }
.win { position: relative; border-radius: 16px; overflow: hidden; background: var(--ground); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07); display: grid; grid-template-columns: 150px 1fr; aspect-ratio: 1360 / 900; font-size: 12px; }
.win-rail { background: var(--rail); padding: 42px 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.lights { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-mark { display: flex; align-items: center; gap: 7px; margin: 0 6px 16px; }
.win-mark img { width: 26px; height: 26px; }
.win-mark b { font: italic 800 20px/1 var(--display); }
.win-nav { padding: 7px 8px; border-radius: 7px; color: var(--ink-2); font-weight: 500; display: flex; justify-content: space-between; }
.win-nav.on { background: var(--panel-2); color: #fff; }
.win-main { padding: 22px 22px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.win-bug { display: inline-flex; align-self: flex-start; border-radius: 6px; overflow: hidden; transform: skewX(-10deg); font: 700 12px/1 var(--display); letter-spacing: .05em; }
.win-bug span { padding: 6px 9px; background: var(--panel-2); border-left: 1px solid var(--ground); }
.win-bug span:first-child { background: var(--volt); color: var(--volt-ink); border: 0; }
.win-hero { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 6.4; background: #000; }
.win-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.win-hero .w { position: absolute; top: -10%; bottom: -10%; left: -18%; width: 62%; background: var(--ground); transform: skewX(-14deg); transform-origin: bottom left; }
.win-hero .w::after { content: ""; position: absolute; top: 0; bottom: 0; right: -8px; width: 8px; background: var(--volt); }
.win-hero .t { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.win-hero .t b { display: block; font: italic 800 clamp(34px, 4.4vw, 60px)/.85 var(--display); color: var(--volt); }
.win-hero .t span { display: block; margin-top: 8px; font: 800 clamp(13px, 1.2vw, 17px)/1.1 var(--display); }
.win-hero .t em { display: block; margin-top: 5px; font-style: normal; color: var(--ink-2); font-size: 11px; }
.win-h { font: 800 17px/1 var(--display); transform: skewX(-10deg); transform-origin: left bottom; }
.win-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wf .th { position: relative; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; }
.wf .th img { width: 100%; height: 100%; object-fit: cover; }
.wf .tc { position: absolute; right: 5px; bottom: 5px; background: rgba(5, 8, 15, .8); padding: 2px 5px; border-radius: 4px; font: italic 700 11px/1.1 var(--display); }
.wf b { display: block; margin-top: 6px; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf span { color: var(--muted); font-size: 11px; }
.share { position: absolute; right: 18px; bottom: 18px; width: 190px; background: rgba(27, 36, 64, .96); border-radius: 11px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.share div { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--ink); }
.share div:first-child { background: #2a3766; }
.share svg { width: 15px; height: 15px; color: var(--ink-2); }
.example { margin-top: 12px; text-align: right; }

/* Local */
.local { min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: #000; }
.local-bg { position: absolute; inset: 0; }
.local-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; }
.local-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 18, 32, .96) 0%, rgba(13, 18, 32, .86) 46%, rgba(13, 18, 32, .35) 100%); }
.local .wrap { position: relative; }
.local h2 { max-width: 9em; }
:lang(en) .local h2 { max-width: 11em; }
.local .lede { margin-top: 26px; }
.ledger { list-style: none; margin-top: 44px; max-width: 760px; }
.ledger li { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(185, 193, 220, .2); }
.ledger li:last-child { border-bottom: 1px solid rgba(185, 193, 220, .2); }
.ledger dt, .ledger .k { font: 800 22px/1.15 var(--display); }
:lang(en) .ledger .k { font-style: italic; }
.ledger .v { color: var(--ink-2); }
.ledger code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; color: var(--ink); background: rgba(27, 36, 64, .8); padding: 1px 6px; border-radius: 5px; }

/* Subscription */
.plans { background: var(--ground); }
.plan-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--panel); }
.plan-side { padding: clamp(28px, 4vw, 52px); }
.plan-side + .plan-side { background: var(--panel-2); }
.plan-name { display: flex; align-items: center; gap: 12px; }
.plan-name h3 { font: 800 34px/1 var(--display); }
:lang(en) .plan-name h3 { font-style: italic; }
.price { margin-top: 26px; font: italic 800 clamp(56px, 6vw, 84px)/.9 var(--display); color: var(--muted); letter-spacing: .01em; }
.plan-side ul { list-style: none; margin-top: 26px; }
.plan-side li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 0; color: var(--ink-2); border-top: 1px solid var(--line); }
.plan-side li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--volt); }
.plan-side .btn { margin-top: 30px; }
.plan-side p.note { margin-top: 14px; }

/* Download: the SIU! moment */
.dl { overflow: hidden; background: #000; min-height: 100vh; display: flex; align-items: center; }
.dl-bg { position: absolute; inset: 0; }
.dl-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.dl-w1 { position: absolute; z-index: 1; top: -10%; bottom: -10%; left: -20vw; width: 76vw; background: var(--ground); transform: skewX(-14deg); transform-origin: bottom left; }
.dl-w2 { position: absolute; z-index: 1; top: -10%; bottom: -10%; left: 56vw; width: 18px; background: var(--volt); transform: skewX(-14deg); transform-origin: bottom left; }
.dl-w3 { position: absolute; z-index: 1; top: -10%; bottom: -10%; left: calc(56vw + 36px); width: 6px; background: var(--volt); opacity: .5; transform: skewX(-14deg); transform-origin: bottom left; }
.dl .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 100px; }
.siu { font: italic 800 clamp(120px, 19vw, 300px)/.8 var(--display); color: var(--volt); letter-spacing: -.01em; display: block; }
.dl h2 { margin-top: 26px; font-size: clamp(36px, 4.2vw, 60px); }
.dl .lede { margin-top: 16px; max-width: 30em; }
.dl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.dl-acts .btn-volt { height: 60px; padding: 0 30px; font-size: 18px; border-radius: 14px; }
.req { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.req span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; background: rgba(27, 36, 64, .85); color: var(--ink-2); font-size: 13px; }
.install { list-style: none; margin-top: 40px; max-width: 640px; counter-reset: i; }
.install li { counter-increment: i; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.install li::before { content: counter(i); font: italic 800 26px/1 var(--display); color: var(--volt); }
.install b { color: var(--ink); font-weight: 600; }
.notmac { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(27, 36, 64, .9); color: var(--ink-2); font-size: 14px; max-width: 560px; display: none; }
.notmac.show { display: block; }
/* entrance: content is visible by default; JS arms it only when motion is allowed */
.dl.armed .siu { transform: translateX(-30px) skewX(0); opacity: 0; filter: blur(6px); }
.dl.armed .dl-w1 { transform: translateX(80vw) skewX(-14deg); }
.dl.armed .dl-w2, .dl.armed .dl-w3 { transform: translateX(60vw) skewX(-14deg); }
.dl.play .siu { transform: none; opacity: 1; filter: none; transition: transform .7s .35s var(--ease), opacity .4s .35s, filter .5s .35s; }
.dl.play .dl-w1, .dl.play .dl-w2, .dl.play .dl-w3 { transform: skewX(-14deg); transition: transform .8s var(--ease); }
.dl.play .dl-w2 { transition-delay: .06s; } .dl.play .dl-w3 { transition-delay: .1s; }

/* FAQ */
.faq { background: var(--ground); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px 80px; align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-grid .lede { margin-top: 22px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.qa[open] summary svg { transform: rotate(45deg); color: var(--volt); }
.qa .a { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 46em; }
.qa .a p + p { margin-top: 10px; }

/* Footer */
.foot { background: var(--rail); padding: 64px 0 40px; border-top: 1px solid #111831; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand b { display: block; font: italic 800 30px/1 var(--display); color: var(--volt); }
.foot-brand span { font-size: 13px; color: var(--muted); }
.foot h4 { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.foot ul a { text-decoration: none; } .foot ul a:hover { color: var(--ink); text-decoration: underline; }
.foot .muted-item { color: var(--muted); }
.linkish { padding: 0; font-size: inherit; color: inherit; text-align: left; }
.linkish:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .22em; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* Sign-in dialog */
dialog.sheet-dlg { margin: auto; width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 18px; padding: 0; color: var(--ink); background: var(--panel); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
dialog.sheet-dlg::backdrop { background: rgba(5, 8, 15, .72); }
@supports (backdrop-filter: blur(4px)) { dialog.sheet-dlg::backdrop { backdrop-filter: blur(4px); } }
dialog[open].sheet-dlg { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dlg-top { position: relative; height: 112px; overflow: hidden; background: #000; }
.dlg-top img.bgimg { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.dlg-top .w { position: absolute; top: -20%; bottom: -20%; left: -30%; width: 78%; background: var(--panel); transform: skewX(-14deg); }
.dlg-top .w::after { content: ""; position: absolute; top: 0; bottom: 0; right: -8px; width: 8px; background: var(--volt); }
.dlg-top .mk { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; }
.dlg-top .mk img { width: 44px; height: 44px; }
.dlg-top .mk b { font: italic 800 30px/1 var(--display); }
.dlg-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(5, 8, 15, .7); }
.dlg-x svg { width: 16px; height: 16px; }
.dlg-body { padding: 22px 24px 26px; }
.dlg-body h2 { font: 800 30px/1 var(--display); }
:lang(en) .dlg-body h2 { font-style: italic; }
.dlg-body > p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.idp { margin-top: 20px; display: grid; gap: 10px; }
.idp .btn { width: 100%; justify-content: space-between; height: 50px; }
.idp .btn > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.dlg-body .note { margin-top: 16px; }

/* Sign-in with a token (2026-12-02) */
dialog.sheet-dlg { max-height: calc(100vh - 32px); overflow: auto; }
.token-form { margin-top: 18px; }
.token-form label { display: block; margin-bottom: 8px; color: var(--ink-2); font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.token-row { display: flex; gap: 8px; }
.token-row input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--rail); color: var(--ink); font: 500 15px/1 var(--ui); }
.token-row input::placeholder { color: var(--muted); }
.token-row input:focus { outline: 2px solid var(--volt); outline-offset: 1px; border-color: transparent; }
.token-row .btn { height: 50px; padding: 0 22px; }
.token-row .btn:disabled { cursor: progress; }
.form-msg { margin-top: 10px; color: #ff7a7c; font-size: 14px; }
.fine { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.fine b { color: var(--ink-2); font-weight: 600; }
.signed-as { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.signed-as b { color: var(--ink); font-weight: 600; }
.handover { width: 100%; margin-top: 16px; }
.fine-p { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.sign-out { margin-top: 12px; color: var(--muted); font-size: 13px; }
.idp-sep { margin-top: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.idp-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.idp-sep + .idp { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .links a { padding: 9px 9px; font-size: 14.5px; }
  .bug-tag { display: none; }
  .board { grid-template-columns: 1fr; }
  .tally { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) ; gap: 0 22px; }
  .tally p { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .links { display: none; }
  .menu-btn { display: inline-flex; }
  .top.menu-open .links { display: flex; position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; padding: 8px; border-radius: 14px; background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
  .top.menu-open .links a { padding: 13px 14px; font-size: 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lede { justify-self: start; }
  .steps, .music { grid-template-columns: 1fr 1fr; }
  .music { display: none; }
  .step { border-radius: 0 !important; min-height: 0; }
  .steps { border-radius: 14px; overflow: hidden; }
  .playhead { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .top { padding: 12px var(--gutter); }
  .top.solid { padding-top: 8px; padding-bottom: 8px; }
  .bug { height: 38px; }
  .bug-brand b { font-size: 24px; }
  .signin .lbl, .top-act .btn-sm .lbl { display: none; }
  .signin { padding: 0 10px; }
  .top-act .btn-sm { padding: 0 12px; }
  .lang button { padding: 0 8px; }
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .reel { position: relative; height: 54svh; min-height: 300px; }
  .hero::after { display: none; }
  .panel { position: relative; top: auto; bottom: auto; left: 0; width: 100%; transform: none; margin-top: -42px; padding: 0; height: 0; }
  .panel::before, .panel::after { display: none; }
  .hero-copy { position: relative; left: auto; top: auto; transform: none; width: auto; background: var(--ground); padding: 34px var(--gutter) 44px; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); margin-top: -40px; border-top: 0; }
  .hero-copy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(to bottom right, transparent calc(50% - 4px), var(--volt) calc(50% - 4px), var(--volt) calc(50% + 4px), transparent calc(50% + 4px)); }
  .hero h1 { font-size: clamp(52px, 15vw, 76px); }
  .hero-acts .btn { flex: 1 1 auto; }
  .frame-tag { top: 74px; }
  .reel-ui { bottom: auto; top: calc(54svh - 96px); }
  .strip { display: none; }
  .win-hero .w { width: 78%; }
  .win-hero .t em { display: none; }
  .cut { font-size: 19px; }
  .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet li:nth-child(n+16) { display: none; }
  .tally { grid-template-columns: 1fr; }
  .tile .tg { font-size: 10.5px; left: 4px; bottom: 4px; padding: 2px 5px; }
  .steps { grid-template-columns: 1fr; }
  .win { grid-template-columns: 1fr; aspect-ratio: auto; }
  .win-rail { display: none; }
  .win-films .wf:nth-child(3) { display: none; }
  .win-films { grid-template-columns: 1fr 1fr; }
  .share { position: relative; right: auto; bottom: auto; width: auto; margin: 0 14px 14px; }
  .lights { display: none; }
  .ledger li { grid-template-columns: 1fr; gap: 6px; }
  .plan-board { grid-template-columns: 1fr; }
  .dl { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .dl-bg { position: relative; inset: auto; height: 46svh; min-height: 260px; }
  .dl-w1, .dl-w2, .dl-w3 { display: none; }
  .dl .wrap { margin-top: -40px; padding-top: 30px; padding-bottom: 72px; background: var(--ground); clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); }
  .dl .wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(to bottom right, transparent calc(50% - 4px), var(--volt) calc(50% - 4px), var(--volt) calc(50% + 4px), transparent calc(50% + 4px)); }
  .siu { margin-top: 10px; }
  .dl-acts .btn-volt { width: 100%; }
  .qa summary { font-size: 16.5px; }
  .qa .a { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .shot.live img { animation: none; }
  .shot.incoming.go, .cutbar.go { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

#films-h { font-size: clamp(40px, 5vw, 76px); }
#films-h .line { white-space: nowrap; }

/* ---------- Understand → script → shots ---------- */
.board { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.col-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font: 700 15px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.col-cap .note { font: 400 12.5px/1.3 var(--ui); letter-spacing: 0; text-transform: none; }
.scale { display: flex; transform: skewX(-10deg); border-radius: 10px; overflow: hidden; margin: 0 0 clamp(36px, 4.5vw, 56px) 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.scale-cell { flex: 1 1 0; display: flex; align-items: baseline; gap: 12px; padding: 18px 26px; background: var(--panel-2); border-left: 1px solid var(--ground); }
.scale-cell:first-child { border-left: 0; }
.scale-cell > * { transform: skewX(10deg); }
.scale-cell b { font: italic 800 clamp(44px, 5vw, 72px)/.9 var(--display); color: var(--volt); letter-spacing: .01em; }
.scale-cell span { color: var(--ink); font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; }
.scale-cell.v { background: var(--volt); align-items: center; }
.scale-cell.v span { color: var(--volt-ink); font: 800 clamp(20px, 2vw, 28px)/1.1 var(--display); }
:lang(en) .scale-cell.v span { font-style: italic; }
.script { list-style: none; background: var(--panel); border-radius: 14px; padding: 6px 18px; }
.seg { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-top: 1px solid var(--line); cursor: default; transition: background-color .2s; }
.seg:first-child { border-top: 0; }
.seg h4 { font: 800 21px/1.1 var(--display); grid-column: 1; }
:lang(en) .seg h4 { font-style: italic; }
.seg p { grid-column: 1; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.seg .shots { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 5px; align-self: center; }
.seg .shots i { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; background: var(--panel-2); color: var(--ink-2); font: italic 800 16px/26px var(--display); text-align: center; font-style: italic; transition: background-color .2s, color .2s; }
.seg.hot .shots i, .seg:hover .shots i { background: var(--volt); color: var(--volt-ink); }
.seg.hot h4 { color: var(--volt); }
.film { margin-top: 30px; }
.board .sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Revise ---------- */
.revise { background: var(--rail); }
.app-sec { background: var(--rail); }
.rv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.cm { align-self: flex-end; max-width: 88%; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px 14px 4px 14px; background: var(--panel-2); }
.cm p { font-size: 16px; color: var(--ink); }
.cm-tc { flex: none; margin-top: 2px; padding: 2px 7px; border-radius: 5px; background: var(--rail); font: italic 800 15px/1.2 var(--display); color: var(--volt); }
.reply { margin-top: 8px; padding: 18px; border-radius: 14px 14px 14px 4px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.who { display: flex; align-items: center; gap: 10px; }
.who img { width: 28px; height: 28px; }
.who b { font: 800 19px/1 var(--display); }
:lang(en) .who b { font-style: italic; }
.reply ul { list-style: none; margin-top: 12px; display: grid; gap: 7px; }
.reply li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.reply li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--volt); transform: skewX(-12deg); }
.vs { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.vbar { display: flex; gap: 2px; height: 16px; border-radius: 4px; overflow: hidden; }
.vbar i { background: var(--line-2); }
.vbar.v2 i { background: #4a5a90; }
.vbar.v2 i.new { background: var(--volt); }
.cm-input { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 6px 0 16px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); font-size: 15px; }
.cm-input i { width: 36px; height: 36px; border-radius: 9px; background: var(--volt); color: var(--volt-ink); display: grid; place-items: center; transform: rotate(-90deg); }
.cm-input svg { width: 17px; height: 17px; }
.pk { background: var(--panel); border-radius: 16px; padding: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
.pk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 4px 12px; }
.pk-head b { font: 800 22px/1 var(--display); }
:lang(en) .pk-head b { font-style: italic; }
.pk-head span { color: var(--muted); font-size: 13px; }
.pk-view { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.pk-view img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pk-view img.swap { opacity: .2; }
.pk-tc { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(5, 8, 15, .78); font: italic 800 17px/1 var(--display); }
.pk-range { position: relative; height: 22px; margin: 12px 0 14px; border-radius: 6px; background: var(--rail); }
.pk-range .rec { position: absolute; top: 2px; bottom: 2px; left: 30%; width: 26%; border: 1.5px dashed rgba(212, 255, 58, .55); border-radius: 4px; }
.pk-range .win { position: absolute; top: 0; bottom: 0; left: 30%; width: 26%; border-radius: 5px; background: rgba(212, 255, 58, .22); box-shadow: inset 0 0 0 2px var(--volt); transition: left .4s var(--ease), width .4s var(--ease); }
.pk-cands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cand { position: relative; text-align: left; border-radius: 9px; overflow: hidden; background: var(--panel-2); padding: 0 0 8px; transition: box-shadow .2s, transform .2s var(--ease); }
.cand:hover { transform: translateY(-2px); }
.cand img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cand b { display: block; padding: 7px 8px 0; font-size: 12.5px; font-weight: 600; }
.cand span { display: block; padding: 2px 8px 0; font-size: 11.5px; color: var(--muted); }
.cand[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink-2); }
.cand.using { box-shadow: 0 0 0 3px var(--volt); }
.cand.using span { color: var(--volt); }
.pk-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.pk-foot .btn[disabled] { cursor: default; }

/* ---------- Export ---------- */
.export { background: var(--ground); }
.ex-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ex-tl { background: var(--rail); border-radius: 16px; padding: 22px; position: relative; overflow: hidden; }
.ex-tl::after { content: ""; position: absolute; top: -10%; bottom: -10%; right: 18px; width: 12px; background: var(--volt); transform: skewX(-12deg); }
.ex-trk { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-right: 44px; }
.ex-trk em { width: 40px; flex: none; font: 700 13px/1 var(--display); letter-spacing: .06em; color: var(--muted); font-style: normal; text-transform: uppercase; }
.ex-clips { flex: 1; display: flex; gap: 3px; height: 62px; }
.ex-clips i { display: block; border-radius: 5px; background-size: cover; background-position: center; }
.ex-wave { flex: 1; height: 30px; border-radius: 5px; background: var(--panel) repeating-linear-gradient(90deg, rgba(185, 193, 220, .3) 0 2px, transparent 2px 5px) center / 100% 60% no-repeat; }
.ex-wave.mu { background: var(--panel) repeating-linear-gradient(90deg, rgba(212, 255, 58, .5) 0 2px, transparent 2px 6px) center / 100% 70% no-repeat; }
.outs { list-style: none; }
.out { padding: 22px 0; border-top: 1px solid var(--line); }
.out:last-child { border-bottom: 1px solid var(--line); }
.out-name { display: flex; align-items: center; gap: 14px; }
.out-name b { font: italic 800 clamp(32px, 3.2vw, 44px)/1 var(--display); letter-spacing: .01em; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--panel-2); color: var(--volt); font: 700 14px/1 var(--display); letter-spacing: .04em; transform: skewX(-10deg); }
.out p { margin-top: 8px; color: var(--ink-2); max-width: 34em; }

@media (max-width: 980px) {
  .board, .rv-grid, .ex-grid { grid-template-columns: 1fr; }
  .cm { max-width: 100%; }
}
@media (max-width: 760px) {
  .scale { flex-direction: column; transform: none; margin-left: 0; }
  .scale-cell { border-left: 0; border-top: 1px solid var(--ground); padding: 14px 18px; }
  .scale-cell > * { transform: none; }
  .pk-cands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg { grid-template-columns: 1fr; }
  .seg .shots { grid-column: 1; grid-row: auto; }
  .ex-clips { height: 40px; }
  .board .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
