/* The Winner's Circle story. Real screens, framed per beat (Story.shot); each screen's layer takes the colour at the screen's edge, so a
   frame that does not fill the stage reads as the page around it. Ava's card is redrawn in the app's own type (Clash Display, Inter) and
   colours: page #202022, cards #141414, the red-orange as the one accent. One motion idea. */
@font-face { font-family: "TWC Clash"; src: url("../fonts/twc-clash-display.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "TWC Inter"; src: url("../fonts/twc-inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.tw { --bg: #202022; --card: #141414; --acc: #f94933; --line: rgb(249 73 51 / .55); --clash: "TWC Clash", system-ui, sans-serif;
  background: var(--bg); color: #fff; container-type: size; font-family: "TWC Inter", system-ui, sans-serif; }
.story:has(.tw) { background: #202022; color: #f4f4f5; }
.story:has(.tw) .story-line, .story:has(.tw) .story-hint, .story:has(.tw) .story-prog { color: #f4f4f5; background: #202022; }
.tw-layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4cqw; padding: 5cqw; box-sizing: border-box; opacity: 0; visibility: hidden; transform: translateY(10px); transition: transform 420ms var(--ease), opacity 420ms var(--ease), visibility 0s linear 420ms; }
.story[data-layer="names"] .tw-names, .story[data-layer="game"] .tw-game, .story[data-layer="login"] .tw-login-l, .story[data-layer="team"] .tw-team, .story[data-layer="site"] .tw-site, .story[data-layer="ava"] .tw-ava-l { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.tw-layer { --fs: clamp(.75rem, 2.4cqw, 1rem); font-size: var(--fs); }

/* the screens: a margin of the screen's own page colour around each frame */
.tw .tw-shot { inset: 4cqw; }
.tw-names, .tw-login-l { background: #131313; }
.tw-game { background: #202022; }
.tw-team { background: #111114; }
.tw-site { background: #272729; }

/* ava, redrawn */
.tw-ava-l { align-items: center; }
.tw-ava { width: min(100%, 26rem); display: grid; gap: .9rem; }
.tw-who { display: grid; margin: 0; }
.tw-who small { color: #9a9aa2; }
.tw-say { margin: 0; font-size: 1.15em; line-height: 1.3; }
/* the figure is the point of the card: the app's headline type at a size of its own, in its one accent; the words stay as they are */
.tw-stat { margin: 0; display: grid; gap: .3rem; }
.tw-stat b { font-family: var(--clash); font-size: clamp(3rem, min(17cqw, 18cqh), 6.5rem); font-weight: 600; line-height: .9; letter-spacing: -.02em; color: var(--acc); }
.tw-stat span { color: #e8e8ea; font-weight: 600; }
.tw-pred { display: grid; gap: .25rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: #d8d8dc; }
.tw-pred b { letter-spacing: .08em; color: #fff; }
@media (prefers-reduced-motion: reduce) { .tw-layer { transition: none; transform: none; } }
