/* Glowkit: the Neon kit's own pieces, drawn as live HTML. Used inside visuals only (frames, panels, thumbnails).
   Every size is in container units, so a piece reads the same in a hero frame and in a small card thumbnail. */
/* the browser's own surfaces in the page's palette: selection, caret, scrollbar */
::selection { background: #e0242f; color: #fff; }
input, textarea { caret-color: #e0242f; }
html { scrollbar-color: #3a3b40 #0a0a0b; }
/* the chrome emblem: the Glowkit G drawn in polished metal, lit red from below (a picture, never shaded on the scene's mark) */
.emblem { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .6)) drop-shadow(0 0 40px rgb(224 36 47 / .25)); }
/* the kit window: its scene list beside the scene playing, the way OBS shows it */
.kw { background: #121316; color: #e9ecee; border-radius: 12px; overflow: hidden; font: 400 13px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 70px -30px rgb(0 0 0 / .8); }
.kw__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .07); color: #9aa0a6; }
.kw__bar b { color: #eceef0; font-weight: 500; } .kw__bar .sp { flex: 1; }
.kw__dots { display: flex; gap: 6px; } .kw__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3e43; }
.kw__body { display: grid; grid-template-columns: 180px 1fr; }
.kw__list { padding: 10px; display: grid; align-content: start; gap: 2px; border-right: 1px solid rgb(255 255 255 / .07); }
.kw__list span { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; color: #aeb3b8; }
.kw__list span.is-on { background: rgb(224 36 47 / .16); color: #fff; }
.kw__list span em { font-style: normal; color: #7d8389; }
.kw__stage { padding: 14px; }
.kw__stage .ov { aspect-ratio: 16 / 9; border-radius: 8px; }
.kw .ov__title { font-size: 6cqw; }
@media (max-width: 639px) { .kw__body { grid-template-columns: 1fr; } .kw__list { display: none; } .kw__bar .sp ~ span { display: none; } }
/* the 3D renders' keyboard focus ring in the page's colours (the renderer's default is near-black) */
.frame[data-product] { --print3d-ring: #e0242f; --print3d-ring-in: #ffffff; }
/* the closing band in the brand's red, a step deeper so every word on it reads at 7:1 */
footer.closing.ground-brand { --bg: #a8121c; --surface: #8f0f18; --action: #ffffff; --action-ink: #a8121c; }
footer.closing.ground-brand .muted, footer.closing.ground-brand .t-small { color: #ffe3e5; }
footer.closing.ground-brand .mark--initial { background: #ffffff; color: #a8121c; }
/* every box that holds a piece is its container, so a piece's sizes follow the box it sits in, never the screen */
.thumb, .ex, .al, .step-ui, .kw__stage { container-type: inline-size; }
/* a size container takes no width from its content, so each one is given its box outright */
:is(.frame, .panel) > :is(.thumb, .ex, .al, .setup) { position: absolute !important; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.thumb > :not(.ov) { width: min(100%, 220px) !important; }
/* a split frame on a desktop runs the screen's content height, so the section's gap below it matches the others */
@media (min-width: 1024px) { .frame--split.fill-h { aspect-ratio: auto; height: min(708px, calc(100svh - 192px)); } }
/* the footer's initial tile at the nav's size, so its letter is never clipped */
.footer .nav__logo .mark--initial { width: 22px; height: 22px; font-size: 13px; }
.ov, .nk { --ov-bg: #0a0b0e; --ov-pink: #ff2d42; --ov-cyan: #9edcff; --ov-ink: #eef8ff; }
.ov { container-type: inline-size; position: relative; overflow: hidden; color: var(--ov-ink); font-family: var(--font-mono);
  background: radial-gradient(120% 80% at 50% 0%, #1a1d24 0%, var(--ov-bg) 60%); }
.ov__floor { position: absolute; left: 0; right: 0; top: 58%; bottom: 0; opacity: .4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M80 0L-160 40M80 0L-120 40M80 0L-80 40M80 0L-40 40M80 0L0 40M80 0L40 40M80 0L80 40M80 0L120 40M80 0L160 40M80 0L200 40M80 0L240 40M80 0L280 40M80 0L320 40M0 1.5H160M0 4H160M0 7.5H160M0 12H160M0 18H160M0 26H160M0 36H160' fill='none' stroke='%2336e2ff' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); }
.ov__line { position: absolute; left: 0; right: 0; top: 58%; height: 2px; background: var(--ov-pink); box-shadow: 0 0 1.6cqw var(--ov-pink); }
.ov__kicker { position: absolute; left: 0; right: 0; top: 14%; text-align: center; font: 500 2.2cqw/1 var(--font-mono); letter-spacing: .3em; color: var(--ov-cyan); text-shadow: 0 0 1.2cqw var(--ov-cyan); }
.ov__title { position: absolute; left: 0; right: 0; top: 22%; text-align: center; font: 500 9cqw/1 var(--font-display); letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 0 .6cqw #fff, 0 0 2.4cqw var(--ov-pink), 0 0 6cqw var(--ov-pink); }
.ov__count { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); padding: 1cqw 2.4cqw; border: 2px solid var(--ov-cyan); border-radius: 1cqw;
  font: 500 4cqw/1 var(--font-mono); color: var(--ov-cyan); box-shadow: 0 0 2cqw rgb(158 220 255 / .45), inset 0 0 1.6cqw rgb(158 220 255 / .25); }
.ov__name { position: absolute; left: 4%; bottom: 7%; font: 500 2.6cqw/1 var(--font-display); color: #fff; }
.ov__name::before { content: ""; display: inline-block; width: 1.4cqw; height: 1.4cqw; margin-right: 1cqw; border-radius: 50%; background: var(--ov-pink); box-shadow: 0 0 1.2cqw var(--ov-pink); vertical-align: .1em; }
.ov__socials { position: absolute; right: 4%; bottom: 7%; display: flex; gap: 2.4cqw; font: 500 1.9cqw/1 var(--font-mono); color: var(--ov-ink); }
.ov__socials span { padding: .8cqw 1.4cqw; border: 1px solid rgb(255 45 66 / .7); border-radius: .8cqw; }
/* scene variants: a webcam box, a chat column, a track bar, a raid list */
.ov__cam { position: absolute; right: 4%; top: 8%; width: 30%; aspect-ratio: 16 / 10; border: .5cqw solid var(--ov-pink); border-radius: 1.4cqw;
  background: radial-gradient(90% 90% at 50% 40%, #1d2028, #0a0b0e); box-shadow: 0 0 3cqw rgb(255 45 66 / .45); }
.ov__cam--big { left: 8%; right: auto; top: 12%; width: 58%; }
.ov__chat { position: absolute; right: 4%; top: 44%; width: 30%; bottom: 22%; border: 1px solid rgb(158 220 255 / .5); border-radius: 1.2cqw; padding: 1.6cqw;
  display: grid; align-content: start; gap: 1.2cqw; font: 400 1.9cqw/1.3 var(--font-text); background: rgb(7 19 29 / .8); }
.ov__chat b { color: var(--ov-cyan); font-weight: 500; }
.ov__game { position: absolute; left: 4%; top: 8%; width: 60%; bottom: 22%; border-radius: 1.4cqw;
  background: linear-gradient(160deg, #183a2c, #0d1f2a 60%, #2a1630); box-shadow: inset 0 0 0 1px rgb(158 220 255 / .35); }
.ov__track { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); padding: 1.2cqw 2.6cqw; border-radius: 1cqw; border: 1px solid rgb(255 45 66 / .7);
  font: 500 2.2cqw/1 var(--font-mono); white-space: nowrap; background: rgb(7 19 29 / .85); }
.ov__track::before { content: "Now playing  "; color: var(--ov-pink); }
.ov__list { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); display: grid; gap: 1.2cqw; text-align: center; font: 500 2.4cqw/1.2 var(--font-display); }
.ov__list span:first-child { color: var(--ov-cyan); font: 500 1.8cqw/1 var(--font-mono); letter-spacing: .2em; }

/* single pieces: an alert, panels, sub badges, a Discord welcome, channels, roles, a thumbnail, a Stream Deck grid */
.nk { container-type: inline-size; position: relative; color: var(--ov-ink); font-family: var(--font-text); }
.nk-alert { background: var(--ov-bg); border: 2px solid var(--ov-pink); border-radius: 2.4cqw; display: grid; grid-template-columns: auto 1fr; gap: 1.6cqw 4cqw; align-items: center; padding: 5cqw 6cqw;
  box-shadow: 0 0 5cqw rgb(255 45 66 / .45); }
.nk-alert .av { grid-row: span 2; width: 16cqw; height: 16cqw; border-radius: 50%; background: linear-gradient(135deg, var(--ov-pink), var(--ov-cyan)); }
.nk-alert small { font: 500 max(13px, 3.6cqw)/1.2 var(--font-mono); letter-spacing: .14em; color: var(--ov-cyan); }
.nk-alert b { font: 500 max(14px, 7cqw)/1.1 var(--font-display); letter-spacing: -0.01em; }
.nk-alert--cyan { border-color: var(--ov-cyan); box-shadow: 0 0 5cqw rgb(158 220 255 / .4); } .nk-alert--cyan small { color: var(--ov-pink); }
.nk-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3cqw; }
.nk-panels span { display: grid; place-items: center; height: 15cqw; background: var(--ov-bg); border: 2px solid var(--ov-cyan); border-radius: 2.4cqw; color: #fff;
  font: 500 max(13px, 5cqw)/1 var(--font-display); text-shadow: 0 0 2cqw var(--ov-cyan); box-shadow: 0 0 3cqw rgb(158 220 255 / .3); }
.nk-panels span:nth-child(4n+2), .nk-panels span:nth-child(4n+3) { border-color: var(--ov-pink); text-shadow: 0 0 2cqw var(--ov-pink); box-shadow: 0 0 3cqw rgb(255 45 66 / .3); }
.nk-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; }
.nk-badges span { aspect-ratio: 1; display: grid; place-items: center; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(160deg, var(--ov-cyan), #6cc4ef); color: var(--ov-bg); font: 500 max(13px, 5cqw)/1 var(--font-mono); }
.nk-badges span:nth-child(even) { background: linear-gradient(160deg, #e0242f, #a8121c); color: #fff; }
.nk-emotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; }
.nk-emotes span { aspect-ratio: 1; border-radius: 3cqw; display: grid; place-items: center; background: var(--ov-bg); border: 2px solid var(--ov-pink); color: #fff;
  font: 500 max(13px, 6cqw)/1 var(--font-display); text-shadow: 0 0 2cqw var(--ov-pink); }
.nk-emotes span:nth-child(odd) { border-color: var(--ov-cyan); text-shadow: 0 0 2cqw var(--ov-cyan); }
.nk-welcome { background: #1e1f24; border-radius: 2.4cqw; overflow: hidden; color: #f2f3f5; }
.nk-welcome .ban { display: grid; place-items: center; height: 34cqw; background: radial-gradient(100% 120% at 50% 0%, #2a1014, var(--ov-bg)); }
.nk-welcome .ban strong { font: 500 10cqw/1 var(--font-display); color: #fff; text-shadow: 0 0 4cqw var(--ov-pink); letter-spacing: -0.02em; }
.nk-welcome .msg { padding: 4cqw 5cqw; font: 400 max(13px, 4cqw)/1.35 var(--font-text); }
.nk-welcome .msg b { color: var(--ov-cyan); font-weight: 500; }
.nk-channels { background: #2b2d31; color: #b5bac1; border-radius: 2.4cqw; padding: 5cqw; display: grid; gap: 3cqw; font: 500 max(13px, 4.4cqw)/1.2 var(--font-text); }
.nk-channels small { font: 500 max(13px, 3.4cqw)/1 var(--font-text); letter-spacing: .04em; color: #949ba4; }
.nk-channels .on { color: #fff; }
.nk-roles { background: #2b2d31; color: #f2f3f5; border-radius: 2.4cqw; padding: 5cqw; display: grid; gap: 3cqw; font: 500 max(13px, 4.4cqw)/1 var(--font-text); }
.nk-roles span { display: flex; align-items: center; gap: 3cqw; } .nk-roles i { width: 5cqw; height: 5cqw; border-radius: 50%; }
.nk-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 2.4cqw; overflow: hidden; background: var(--ov-bg); display: grid; align-content: end; padding: 5cqw; }
.nk-thumb::before { content: ""; position: absolute; right: 6%; top: 12%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--ov-pink), var(--ov-cyan)); opacity: .9; }
.nk-thumb strong { position: relative; font: 500 9cqw/1 var(--font-display); color: #fff; letter-spacing: -0.02em; text-shadow: 0 0 3cqw var(--ov-cyan); max-width: 70%; }
.nk-deck { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4cqw; padding: 4cqw; background: #141618; border-radius: 3cqw; }
.nk-deck span { aspect-ratio: 1; border-radius: 2cqw; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, #1d2230, var(--ov-bg)); }
.nk-deck span i { width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--ov-cyan); box-shadow: 0 0 2cqw var(--ov-cyan); }
.nk-deck span:nth-child(3n) i { background: var(--ov-pink); box-shadow: 0 0 2cqw var(--ov-pink); border-radius: 1cqw; }
.nk-deck span:nth-child(4n+2) i { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.nk-bracket { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw 6cqw; padding: 5cqw; background: var(--ov-bg); border-radius: 2.4cqw; border: 1px solid rgb(158 220 255 / .45); }
.nk-bracket span { padding: 2.4cqw 3cqw; border-radius: 1.6cqw; border: 1px solid rgb(255 45 66 / .6); font: 500 max(13px, 4cqw)/1 var(--font-display); color: #fff; }
.nk-bracket span.win { border-color: var(--ov-cyan); box-shadow: 0 0 3cqw rgb(158 220 255 / .35); }
.nk-shadow { box-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 22px 48px -22px rgb(0 0 0 / .7); }

/* ================= v2: the kit pieces, polished and alive =================
   Every loop runs only while its section is on screen (glowkit.js adds .is-live), stops with the page's
   "Pause animations" button (html.motion-paused) and rests under reduced motion. Cycles are 2.4 to 3.6 s.
   Curves are the site's own: --m-ease-enter for arrivals, --m-ease-io for on-screen moves, linear for timers. */

/* alerts: a chrome-dark card, a turning gradient ring round the avatar, a timer bar that drains */
.nk-alert { position: relative; overflow: hidden; border-radius: 3cqw; border-width: 1.5px;
  background: linear-gradient(180deg, #131419, #08090c);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 4cqw rgb(255 45 66 / .4), 0 18px 40px -18px rgb(0 0 0 / .9); }
.nk-alert--cyan { box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 0 4cqw rgb(158 220 255 / .35), 0 18px 40px -18px rgb(0 0 0 / .9); }
.nk-alert .av { background: conic-gradient(from 0deg, var(--ov-pink), #ffd2d6, var(--ov-cyan), var(--ov-pink));
  box-shadow: inset 0 0 0 1.1cqw #0d0e12; animation: nk-spin 6s linear infinite; }
.nk-alert::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .9cqw; transform-origin: left center;
  background: linear-gradient(90deg, var(--ov-pink), #ff9aa2); animation: nk-drain 3.6s linear infinite; }
.nk-alert--cyan::after { background: linear-gradient(90deg, var(--ov-cyan), #eaf8ff); }
.is-live .piece--alerts > .nk-alert { animation: nk-alert-in 3.6s var(--m-ease-enter) infinite both; }
.is-live .piece--alerts > .nk-alert { animation-delay: -1s; } .is-live .piece--alerts > .nk-alert:nth-child(2) { animation-delay: -.78s; } .piece--alerts > .nk-alert:nth-child(2)::after { animation-delay: .22s; }
.is-live .piece--alerts > .nk-alert:nth-child(3) { animation-delay: -.56s; } .piece--alerts > .nk-alert:nth-child(3)::after { animation-delay: .44s; }
@keyframes nk-alert-in { 0% { opacity: 0; transform: translateX(9%) scale(.97); } 14%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-3%); } }
@keyframes nk-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes nk-spin { to { transform: rotate(1turn); } }

/* Twitch panels: a polished chrome edge, a drawn icon, a shine that crosses each one in turn */
.nk-panels span { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 2cqw;
  height: 13cqw; border-radius: 2.2cqw; border: 1.5px solid transparent;
  background: linear-gradient(180deg, #15161b, #07080b) padding-box,
              linear-gradient(140deg, #f6f7f9, #6b6f78 25%, #1a1b1f 45%, #d4d7dc 60%, #3b3d44 80%, #eceef1) border-box;
  box-shadow: 0 0 3cqw rgb(158 220 255 / .2), 0 16px 30px -16px rgb(0 0 0 / .9); }
.nk-panels span:nth-child(4n+2), .nk-panels span:nth-child(4n+3) { border-color: transparent; box-shadow: 0 0 3cqw rgb(255 45 66 / .26), 0 16px 30px -16px rgb(0 0 0 / .9); }
.nk-panels span svg { width: 4.6cqw; height: 4.6cqw; flex: none; fill: none; stroke: var(--ov-cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1cqw var(--ov-cyan)); }
.nk-panels span:nth-child(4n+2) svg, .nk-panels span:nth-child(4n+3) svg { stroke: var(--ov-pink); filter: drop-shadow(0 0 1cqw var(--ov-pink)); }
.nk-panels span::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -50%; width: 34%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .3), transparent); transform: skewX(-20deg);
  animation: nk-sweep 3.2s var(--m-ease-io) infinite; }
.nk-panels span:nth-child(2)::after { animation-delay: .16s; } .nk-panels span:nth-child(3)::after { animation-delay: .32s; }
.nk-panels span:nth-child(4)::after { animation-delay: .48s; } .nk-panels span:nth-child(5)::after { animation-delay: .64s; }
.nk-panels span:nth-child(6)::after { animation-delay: .8s; }
@keyframes nk-sweep { 0%, 50% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(560%) skewX(-20deg); } }

/* sub badges: gems in a chrome rim, bobbing, a glint crossing each in turn */
.nk-badges span { position: relative; isolation: isolate; color: #0a0b0e; font-weight: 600;
  background: linear-gradient(160deg, #ffffff, #8a8e96 38%, #2a2c31 55%, #e9ecf0 75%, #6d727c);
  animation: nk-bob 3s ease-in-out infinite; }
.nk-badges span::before { content: ""; position: absolute; inset: 7%; z-index: -1; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: radial-gradient(70% 60% at 35% 25%, #e2f5ff, #8fd2f5 45%, #3d8fbf); }
.nk-badges span:nth-child(even) { color: #fff; background-color: #5a0a10; text-shadow: 0 1px 2px rgb(60 0 6 / .9);
  background-image: linear-gradient(160deg, #b9bdc4, #6a6e76 38%, #2a2c31 55%, #9ea2aa 75%, #4d515a); }
.nk-badges span:nth-child(even)::before { background: radial-gradient(40% 30% at 30% 16%, #e0525c, #9c0f19 45%, #4a070c); }
.nk-badges span::after { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .8) 50%, transparent 62%); transform: translateX(-120%);
  animation: nk-glint 3.4s var(--m-ease-io) infinite; }
.nk-badges span:nth-child(2), .nk-badges span:nth-child(2)::after { animation-delay: .2s; }
.nk-badges span:nth-child(3), .nk-badges span:nth-child(3)::after { animation-delay: .4s; }
.nk-badges span:nth-child(4), .nk-badges span:nth-child(4)::after { animation-delay: .6s; }
@keyframes nk-glint { 0%, 58% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes nk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5%); } }

/* emotes: chrome-edged tiles that pop one after another */
.nk-emotes span { border: 1.5px solid transparent;
  background: linear-gradient(180deg, #16171c, #07080b) padding-box, linear-gradient(140deg, #ffffff, #6b6f78 30%, #1a1b1f 50%, #d4d7dc 70%, #3b3d44) border-box;
  box-shadow: 0 0 3cqw rgb(255 45 66 / .2), 0 14px 26px -14px rgb(0 0 0 / .9); animation: nk-pop 2.8s var(--m-ease-enter) infinite; }
.nk-emotes span:nth-child(odd) { box-shadow: 0 0 3cqw rgb(158 220 255 / .2), 0 14px 26px -14px rgb(0 0 0 / .9); }
.nk-emotes span:nth-child(2) { animation-delay: .14s; } .nk-emotes span:nth-child(3) { animation-delay: .28s; } .nk-emotes span:nth-child(4) { animation-delay: .42s; }
@keyframes nk-pop { 0%, 64%, 100% { transform: none; } 72% { transform: translateY(-14%) scale(1.06); } 82% { transform: translateY(0) scale(.98); } }

/* Discord: the stream world as the banner, the sign flickering on, a new member arriving each round */
.nk-welcome { box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 24px 50px -22px rgb(0 0 0 / .95), 0 0 5cqw -1cqw rgb(255 45 66 / .3); }
.nk-welcome .ban { background: url("assets/media/stream-world-1280.jpg") center 74% / cover; }
.nk-welcome .ban strong { animation: nk-flicker 4s steps(1, end) infinite; }
@keyframes nk-flicker { 0%, 100% { opacity: 1; } 4% { opacity: .35; } 6% { opacity: 1; } 9% { opacity: .55; } 11% { opacity: 1; } }
.nk-welcome .msg { display: flex; align-items: center; gap: 2.4cqw; }
.is-live .nk-welcome .msg { animation: nk-join 3.6s var(--m-ease-enter) -1s infinite both; }
.nk-welcome .msg::before { content: ""; flex: none; width: 6cqw; height: 6cqw; border-radius: 50%; background: conic-gradient(from 90deg, var(--ov-cyan), #e2f5ff, var(--ov-pink), var(--ov-cyan)); }
@keyframes nk-join { 0% { opacity: 0; transform: translateY(35%); } 16%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.nk-channels { font-size: max(13px, 3.8cqw); box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 24px 50px -22px rgb(0 0 0 / .95); }
.nk-channels span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-channels .on { margin: 0 -1.6cqw; padding: .7cqw 1.6cqw; border-radius: 1.2cqw; background: rgb(224 36 47 / .2); box-shadow: inset 2px 0 0 #e0242f; }

/* the Live Cable plugged into a tile: the real plug render, a spark at its tip, a pull-out and re-plug on hover */
.plug { position: absolute; z-index: 2; left: -15%; top: 50%; width: 45%; height: auto; transform: translate(0, -50%);
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / .75)); pointer-events: none; }
.spark { position: absolute; z-index: 3; left: 30%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #ffffff 0 18%, #ff2d42 42%, transparent 70%); animation: nk-spark 2.4s ease-in-out infinite; }
@keyframes nk-spark { 0%, 100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.4); } }
@media (hover: hover) and (pointer: fine) {
  .card:hover .plug { animation: nk-replug 1.1s var(--m-ease-io); }
  .card:hover .spark { animation: nk-spark-out 1.1s linear; }
  .card:hover .piece { animation: nk-power 1.1s steps(1, end); }
}
@keyframes nk-replug { 0% { transform: translate(0, -50%); } 32%, 56% { transform: translate(-20%, -50%); } 100% { transform: translate(0, -50%); } }
@keyframes nk-spark-out { 0%, 30% { opacity: 1; } 31%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nk-power { 0%, 32% { opacity: 1; } 33%, 90% { opacity: .3; } 92% { opacity: .9; } 94% { opacity: .45; } 96%, 100% { opacity: 1; } }

/* only while on screen; the page's pause button; reduced motion rests every loop on its finished picture */
:is(.nk, .nk *, .plug, .spark), :is(.nk, .nk *)::before, :is(.nk, .nk *)::after { animation-play-state: paused; }
.is-live :is(.nk, .nk *, .plug, .spark), .is-live :is(.nk, .nk *)::before, .is-live :is(.nk, .nk *)::after { animation-play-state: running; }
html.motion-paused :is(.nk, .nk *, .plug, .spark), html.motion-paused :is(.nk, .nk *)::before, html.motion-paused :is(.nk, .nk *)::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  :is(.nk, .nk *, .plug, .spark, .piece), :is(.nk, .nk *)::before, :is(.nk, .nk *)::after { animation: none !important; }
}
/* smaller tiles: the shop's card thumbnails and the kit page's alert frame */
.panel--top { overflow: hidden; }
.panel--top > .plug { width: 32%; left: -14%; }
.panel--top > .spark { left: 17%; }
.panel--top > .thumb { padding-left: 24%; padding-right: 4%; box-sizing: border-box; }
.frame > :is(.plug, .spark) { position: absolute !important; } /* system.css makes everything in a frame relative */
.frame > .plug { width: 34%; left: -12%; }
.frame > .spark { left: 21%; }
.frame > .plug ~ .al { padding-left: 24%; box-sizing: border-box; }
.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.motion-toggle { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--ink); cursor: pointer; }
/* ================= v3: ten more kit widgets and the Discord pack's twenty pieces =================
   Each tile rests on a finished frame; its loop runs only under .is-live (glowkit.js), pauses with the page's
   button and stops under reduced motion (the v2 rules above cover every .nk). */
/* on the page's 12 columns: six small tiles, then four wider ones (tablet: three, then two; phone: two) */
.wx-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.wx-grid > * { min-width: 0; grid-column: auto / span 2; }
.wx-grid > :nth-child(n+7) { grid-column: auto / span 3; }
.wx-grid .panel { --p-h: 200px; }
.wx-grid .ex { display: grid; place-items: center; padding: 9%; background: radial-gradient(90% 70% at 50% 110%, rgb(224 36 47 / .24), transparent 70%), #0b0c0f; }
.wx-grid .ex > .nk { width: 100%; }
@media (max-width: 1023px) { .wx-grid > * { grid-column: auto / span 4; } .wx-grid > :nth-child(n+7) { grid-column: auto / span 6; } }
@media (max-width: 639px) { .wx-grid { row-gap: 24px; } .wx-grid .ex > .nk.wx-vert { width: 48cqw; } .wx-grid > *, .wx-grid > :nth-child(n+7) { grid-column: auto / span 6; } .wx-grid .panel { --p-h: 176px; } .wx-grid .ex { padding: 7%; } }
.wx-card { background: linear-gradient(180deg, #15161b, #08090c); border-radius: 3cqw; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 18px 36px -18px rgb(0 0 0 / .9); }

/* 1 stinger: a red and a chrome panel wipe across, the G mark holds in between */
.wx-sting { position: relative; aspect-ratio: 16 / 9; border-radius: 3cqw; overflow: hidden; background: #0a0b0e; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.wx-sting i { position: absolute; top: -20%; bottom: -20%; left: -10%; width: 120%; transform: skewX(-18deg); background: linear-gradient(90deg, #7a0d15, #e0242f 45%, #ff5a68); }
.wx-sting i + i { left: 62%; width: 22%; background: linear-gradient(90deg, #8a8e96, #ffffff 50%, #8a8e96); }
.wx-sting b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 22cqw/1 var(--font-display); color: #fff; text-shadow: 0 .6cqw 2cqw rgb(60 0 6 / .8); }
.is-live .wx-sting i { animation: wx-wipe 3s var(--m-ease-io) infinite; }
.is-live .wx-sting i + i { animation-delay: .14s; }
.is-live .wx-sting b { animation: wx-mark 3s var(--m-ease-io) infinite; }
@keyframes wx-wipe { 0% { transform: translateX(-150%) skewX(-18deg); } 40%, 60% { transform: skewX(-18deg); } 100% { transform: translateX(150%) skewX(-18deg); } }
@keyframes wx-mark { 0%, 34% { opacity: 0; transform: scale(.9); } 44%, 58% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; transform: scale(1.06); } }

/* 2 follower goal: the bar fills with an ease-out and holds */
.wx-goal { display: grid; gap: 5cqw; padding: 8cqw 6cqw; }
.wx-goal p { display: flex; justify-content: space-between; gap: 2cqw; margin: 0; font: 500 max(13px, 5.6cqw)/1 var(--font-display); color: #fff; }
.wx-goal p span { font-family: var(--font-mono); color: var(--ov-cyan); }
.wx-goal .bar { height: 5cqw; border-radius: 9cqw; background: #1f2128; overflow: hidden; }
.wx-goal .bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(.72); background: linear-gradient(90deg, #a8121c, #ff2d42 70%, #ffd2d6); }
.wx-goal small { font: 400 max(13px, 4.2cqw)/1 var(--font-mono); color: #a3a3a6; }
.is-live .wx-goal .bar i { animation: wx-fill 3.6s var(--m-ease-enter) infinite; }
@keyframes wx-fill { 0% { transform: scaleX(.06); } 55%, 100% { transform: scaleX(var(--v, .72)); } }

/* 3 top supporters: the list steps up one row at a time */
.wx-board { overflow: hidden; }
.wx-board header { padding: 4.4cqw 5cqw; font: 500 max(13px, 4.2cqw)/1 var(--font-mono); letter-spacing: .12em; color: var(--ov-cyan); border-bottom: 1px solid rgb(255 255 255 / .08); }
.wx-board .win { position: relative; }
.wx-board ol { margin: 0; padding: 0; list-style: none; }
.wx-board li { display: flex; align-items: center; gap: 3cqw; height: 15cqw; padding: 0 5cqw; font: 500 max(13px, 5cqw)/1 var(--font-text); color: #fff; white-space: nowrap; }
.wx-board li em { font-style: normal; font-family: var(--font-mono); color: #ff9aa2; }
.wx-board li span { margin-left: auto; font-family: var(--font-mono); color: #a3a3a6; }
.wx-board .win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15cqw; background: linear-gradient(90deg, rgb(224 36 47 / .3), rgb(224 36 47 / .05)); box-shadow: inset 2px 0 0 #ff2d42; }
.is-live .wx-board .win::before { animation: wx-step 4.8s var(--m-ease-io) infinite; }
@keyframes wx-step { 0%, 26% { transform: none; } 33%, 59% { transform: translateY(100%); } 66%, 92% { transform: translateY(200%); } 100% { transform: none; } }
.wx-board li { position: relative; }

/* 4 now playing: an equaliser of ten bars */
.wx-music { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4cqw; align-items: center; padding: 5.5cqw; }
.wx-music .art { width: 22cqw; aspect-ratio: 1; border-radius: 2cqw; background: conic-gradient(from 200deg, #e0242f, #2a0a0e, #9edcff, #e0242f); }
.wx-music b { display: block; font: 500 max(13px, 5.4cqw)/1.2 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-music small { font: 400 max(13px, 4cqw)/1.3 var(--font-mono); color: var(--ov-cyan); }
.wx-eq { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 1.6cqw; height: 13cqw; }
.wx-eq i { flex: 1; height: 100%; border-radius: 1cqw 1cqw 0 0; background: linear-gradient(0deg, #a8121c, #ff2d42); transform-origin: bottom; transform: scaleY(var(--r, .5)); }
.wx-eq i:nth-child(odd) { background: linear-gradient(0deg, #3d8fbf, #9edcff); }
.is-live .wx-eq i { animation: wx-eq .9s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes wx-eq { from { transform: scaleY(.18); } to { transform: scaleY(1); } }

/* 5 event ticker: last follow and sub, then a marquee of the latest events */
.wx-scene { position: relative; aspect-ratio: 16 / 10; display: grid; align-content: end; gap: 3cqw; padding: 5cqw; border-radius: 3cqw; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 0%, #1e2129, #0a0b0e 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.wx-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.wx-labels span { display: grid; gap: 1.4cqw; font: 500 max(13px, 4.6cqw)/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-labels small { font: 500 max(13px, 3.4cqw)/1 var(--font-mono); letter-spacing: .1em; color: var(--ov-pink); }
.wx-ticker { display: flex; align-items: center; overflow: hidden; border-radius: 2cqw; background: #0d0e12; box-shadow: inset 0 0 0 1px rgb(255 45 66 / .55), 0 0 5cqw rgb(255 45 66 / .25); }
.wx-ticker b { flex: none; position: relative; z-index: 1; padding: 3cqw 3.6cqw; background: #e0242f; color: #fff; font: 600 max(13px, 3.8cqw)/1 var(--font-mono); box-shadow: 3cqw 0 4cqw #0d0e12; }
.wx-ticker .run { position: relative; flex: 1; min-width: 0; align-self: stretch; font: 500 max(13px, 4.2cqw)/1 var(--font-text); color: #fff; }
.wx-ticker .run span { position: absolute; left: 3.6cqw; top: 50%; transform: translateY(-50%); white-space: nowrap; opacity: 0; }
.wx-ticker .run span:first-child { opacity: 1; }
.is-live .wx-ticker .run span { animation: wx-type 6s steps(14, end) infinite both; }
.is-live .wx-ticker .run span:nth-child(2) { animation-delay: 2s; } .is-live .wx-ticker .run span:nth-child(3) { animation-delay: 4s; }
@keyframes wx-type { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 14%, 30% { opacity: 1; clip-path: inset(0 0 0 0); } 33.3%, 100% { opacity: 0; clip-path: inset(0 0 0 0); } }

/* 6 countdown: the seconds roll down one digit at a time */
.wx-count { display: grid; justify-items: center; gap: 3.6cqw; padding: 8cqw 5cqw; border-radius: 3cqw; background: radial-gradient(100% 90% at 50% 0%, #1c1f27, #0a0b0e); box-shadow: inset 0 0 0 1px rgb(158 220 255 / .35), 0 0 6cqw rgb(158 220 255 / .15); }
.wx-count small { font: 500 max(13px, 4cqw)/1 var(--font-mono); letter-spacing: .3em; color: var(--ov-cyan); }
.wx-count .t { display: flex; font: 500 17cqw/1 var(--font-mono); color: #fff; text-shadow: 0 0 3cqw var(--ov-pink); }
@property --wx-s { syntax: "<integer>"; inherits: false; initial-value: 7; }
@property --wx-t { syntax: "<integer>"; inherits: false; initial-value: 5; }
.wx-count .d { counter-reset: wx-t var(--wx-t) wx-s var(--wx-s); }
.wx-count .d::before { content: counter(wx-t) counter(wx-s); }
.is-live .wx-count .d { animation: wx-sec 10s steps(10, end) infinite, wx-ten 60s steps(6, end) infinite; }
@keyframes wx-sec { from { --wx-s: 9; } to { --wx-s: -1; } }
@keyframes wx-ten { from { --wx-t: 5; } to { --wx-t: -1; } }

/* 7 socials rotator: Twitch, YouTube and TikTok handles reveal in turn */
.wx-scene--social { align-content: center; justify-items: center; gap: 5cqw; }
.wx-scene--social .wx-social { width: 100%; }
.wx-k { font: 500 max(13px, 4cqw)/1 var(--font-mono); letter-spacing: .3em; color: var(--ov-cyan); text-shadow: 0 0 2cqw rgb(158 220 255 / .6); }
.wx-social { position: relative; height: 19cqw; border-radius: 9cqw; background: #0d0e12; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .16), 0 0 5cqw rgb(255 45 66 / .3); }
.wx-social span { position: absolute; inset: 0; display: flex; align-items: center; gap: 2.6cqw; padding: 0 5.4cqw; font: 500 max(13px, 6cqw)/1 var(--font-display); color: #fff; white-space: nowrap; opacity: 0; }
.wx-social span:first-child { opacity: 1; }
.wx-social img { width: 9cqw; height: 9cqw; flex: none; }
.is-live .wx-social span { animation: wx-reveal 7.5s var(--m-ease-enter) infinite both; }
.is-live .wx-social span:nth-child(2) { animation-delay: 2.5s; } .is-live .wx-social span:nth-child(3) { animation-delay: 5s; }
@keyframes wx-reveal { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 6%, 30% { opacity: 1; clip-path: inset(0); } 33.3%, 100% { opacity: 0; clip-path: inset(0); } }

/* 8 webcam frame: a light runs round the border, the LIVE dot pulses */
.wx-cam { position: relative; aspect-ratio: 16 / 10; padding: 1.4cqw; border-radius: 4cqw; overflow: hidden; isolation: isolate; }
.wx-cam::before { content: ""; position: absolute; inset: -60%; z-index: -1; background: conic-gradient(from 0deg, #2a2c31 0 50%, #ff2d42 68%, #ffffff 74%, #9edcff 82%, #2a2c31 94%); }
.wx-cam > div { position: relative; height: 100%; border-radius: 3cqw; overflow: hidden; background: radial-gradient(70% 80% at 50% 30%, #2a2d36, #0a0b0e 75%); }
.wx-cam > div::before { content: ""; position: absolute; left: 50%; top: 20%; width: 22%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #3a3e48; }
.wx-cam > div::after { content: ""; position: absolute; left: 50%; bottom: -4%; width: 54%; height: 36%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #3a3e48; }
.wx-cam .live, .wx-vert .live { position: absolute; left: 5cqw; top: 5cqw; z-index: 1; display: flex; align-items: center; gap: 1.6cqw; padding: 0; background: none; color: #ff7781; text-shadow: 0 0 2cqw rgb(255 45 66 / .8), 0 1px 2px #000; font: 600 max(13px, 3.6cqw)/1 var(--font-mono); letter-spacing: .1em; }
.wx-cam .live i, .wx-vert .live i { width: 1.8cqw; min-width: 6px; aspect-ratio: 1; border-radius: 50%; background: #ff2d42; box-shadow: 0 0 6px #ff2d42; }
.wx-cam .tag { position: absolute; right: 5cqw; bottom: 5cqw; z-index: 1; padding: 0; background: none; text-shadow: 0 1px 3px #000, 0 0 8px #000; color: #fff; font: 500 max(13px, 4cqw)/1 var(--font-display); }
.is-live .wx-cam::before { animation: nk-spin 3.2s linear infinite; }
.is-live :is(.wx-cam, .wx-vert) .live i { animation: nk-spark 1.4s ease-in-out infinite; }

/* 9 Stream Deck icons: fifteen keys pressed in turn */
.wx-deck { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4cqw; padding: 4cqw; border-radius: 4cqw; background: linear-gradient(180deg, #1b1c21, #0d0e11); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 14px 30px -14px #000; }
.wx-deck span { position: relative; aspect-ratio: 1; border-radius: 2cqw; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 35%, #1d2230, #0a0b0e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.wx-deck span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ff2d42, 0 0 3.6cqw rgb(255 45 66 / .7); opacity: 0; }
.wx-deck span:nth-child(7)::after { opacity: 1; }
.wx-deck svg { width: 54%; height: 54%; fill: none; stroke: var(--ov-cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wx-deck span:nth-child(3n) svg { stroke: #ff5a68; }
.is-live .wx-deck span { animation: wx-press 3s var(--m-ease-io) infinite; animation-delay: var(--d, 0s); }
.is-live .wx-deck span::after { animation: wx-glow 3s var(--m-ease-io) infinite; animation-delay: var(--d, 0s); }
@keyframes wx-press { 0%, 14%, 100% { transform: none; } 5% { transform: scale(.88); } }
@keyframes wx-glow { 0%, 100% { opacity: 0; } 5% { opacity: 1; } 22% { opacity: 0; } }

/* 10 TikTok vertical overlay: hearts float up beside the follow button */
.wx-grid .ex > .wx-vert { width: 36cqw; }
.wx-vert { position: relative; aspect-ratio: 9 / 16; border-radius: 5cqw; overflow: hidden; background: radial-gradient(70% 40% at 50% 38%, #3a3e48 0 30%, transparent 31%), linear-gradient(180deg, #2a1014, #0a0b0e 55%, #10202c);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .16), 0 0 8cqw rgb(255 45 66 / .35); }
.wx-vert .who { position: absolute; left: 6cqw; right: 6cqw; bottom: 6cqw; display: grid; gap: 3cqw; }
.wx-vert .who b { font: 600 max(13px, 11cqw)/1 var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-vert .who span { justify-self: start; padding: 2.4cqw 6cqw; border-radius: 9cqw; background: #c41623; color: #fff; font: 600 max(13px, 9cqw)/1 var(--font-display); }
.wx-vert .h { position: absolute; right: 8cqw; bottom: 34cqw; width: 18cqw; fill: #ff2d42; filter: drop-shadow(0 0 2cqw rgb(255 45 66 / .7)); transform: translateY(var(--y, 0)); }
.wx-vert .h:nth-of-type(2) { --y: -60%; right: 20cqw; fill: #9edcff; filter: drop-shadow(0 0 2cqw rgb(158 220 255 / .7)); }
.wx-vert .h:nth-of-type(3) { --y: -150%; opacity: .6; }
.is-live .wx-vert .h { animation: wx-float 2.7s var(--m-ease-enter) infinite both; animation-delay: var(--d, 0s); }
@keyframes wx-float { 0% { opacity: 0; transform: translateY(40%) scale(.6); } 18% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translate(-40%, -260%) scale(.9); } }

/* the Discord pack's pieces, in Discord's own greys with the kit's red and ice */
.dx { border-radius: 3cqw; background: #2b2d31; color: #dbdee1; font: 400 max(13px, 4.8cqw)/1.35 var(--font-text); box-shadow: 0 16px 32px -16px #000; }
.dx b { color: #f2f3f5; font-weight: 600; }
.dx small { font: 400 max(13px, 4cqw)/1.3 var(--font-text); color: #b5bac1; }
.dx-embed { position: relative; display: grid; gap: 2.6cqw; padding: 5cqw 5cqw 5cqw 7cqw; }
.dx-embed::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.6cqw; border-radius: 3cqw 0 0 3cqw; background: #e0242f; }
.dx-embed.ice::before { background: var(--ov-cyan); }
.dx-embed ol { margin: 0; padding-left: 1.3em; display: grid; gap: 1cqw; }
.dx-btn { position: relative; justify-self: start; padding: 2.2cqw 4.4cqw; border-radius: 1.6cqw; background: #c41623; color: #fff; font: 600 max(13px, 4.4cqw)/1 var(--font-text); }
.dx-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px #ff2d42; opacity: 0; }
.is-live .dx-btn--pulse::after { animation: dx-ring 2.2s var(--m-ease-enter) infinite; }
@keyframes dx-ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35, 1.6); } }
.dx-av { flex: none; width: 9cqw; height: 9cqw; border-radius: 50%; background: linear-gradient(135deg, var(--ov-pink), var(--ov-cyan)); }
.dx-av--ice { background: linear-gradient(135deg, #9edcff, #3d8fbf); } .dx-av--red { background: linear-gradient(135deg, #ff7781, #a8121c); }
.dx-row { display: flex; align-items: center; gap: 3cqw; min-width: 0; }
.dx-row > :not(.dx-av) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-bar { display: block; height: 2.8cqw; border-radius: 2cqw; background: #1e1f22; overflow: hidden; }
.dx-bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--v, .6)); background: linear-gradient(90deg, #a8121c, #ff2d42); }
.dx-bar--ice i { background: linear-gradient(90deg, #3d8fbf, #9edcff); }
.is-live .dx-bar i { animation: wx-fill 3.6s var(--m-ease-enter) infinite; }
/* server icon */
.dx-server { display: grid; justify-items: center; gap: 3cqw; text-align: center; background: none; box-shadow: none; }
.dx-server .sico { position: relative; width: 38cqw; aspect-ratio: 1; border-radius: 30%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(150deg, #ffffff, #9a9ea6 35%, #2a2c31 55%, #e9ecf0 78%, #6d727c); box-shadow: 0 0 8cqw rgb(224 36 47 / .35), 0 16px 30px -14px #000; }
.dx-server .sico span { font: 700 20cqw/1 var(--font-display); color: #a8121c; }
.dx-server .sico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .85) 50%, transparent 62%); transform: translateX(-120%); }
.is-live .dx-server .sico::after { animation: nk-glint 3.4s var(--m-ease-io) infinite; }
/* role icons: six chrome-rimmed gems with their tags */
.dx-gems { grid-template-columns: repeat(3, 1fr); }
.dx-gems span { font-size: max(13px, 6cqw); }
/* voice channel: one member speaking */
.dx-voice { display: grid; gap: 3cqw; padding: 5cqw; }
.dx-voice header { display: flex; align-items: center; gap: 2cqw; color: #f2f3f5; font-weight: 600; }
.dx-voice header svg { width: 5.4cqw; min-width: 14px; height: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dx-voice .dx-row { padding-left: 3cqw; }
.dx-voice .spk .dx-av { box-shadow: 0 0 0 2px #2b2d31, 0 0 0 3.5px var(--ov-cyan); }
.is-live .dx-voice .spk .dx-av { animation: dx-talk 1.6s ease-in-out infinite; }
@keyframes dx-talk { 0%, 100% { transform: none; } 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
/* looking for group: four slots, the third fills */
.dx-slots { display: flex; gap: 2.4cqw; }
.dx-slots i { width: 9cqw; height: 9cqw; border-radius: 50%; border: 1.5px dashed #6d727c; }
.dx-slots i.on { border: 0; background: linear-gradient(135deg, var(--ov-pink), var(--ov-cyan)); }
.dx-slots i.next { border: 0; background: linear-gradient(135deg, #9edcff, #3d8fbf); }
.is-live .dx-slots i.next { animation: nk-pop 2.8s var(--m-ease-enter) infinite; }
/* invite card */
.dx-invite { display: grid; gap: 3cqw; padding: 5cqw; }
.dx-invite > small { font: 600 max(13px, 3.6cqw)/1 var(--font-mono); letter-spacing: .1em; color: #b5bac1; }
.dx-invite .mini { flex: none; width: 13cqw; height: 13cqw; border-radius: 30%; display: grid; place-items: center; background: linear-gradient(150deg, #ffffff, #dfe2e6 60%, #c3c7cd); color: #a8121c; font: 700 max(13px, 7cqw)/1 var(--font-display); }
.dx-invite .txt { display: grid; gap: 1cqw; min-width: 0; }
.dx-invite .dx-btn { justify-self: stretch; text-align: center; background: #1f8b4c; }
/* schedule */
.dx-sched span { display: flex; justify-content: space-between; padding: 1.2cqw 2.4cqw; margin: 0 -2.4cqw; border-radius: 1.4cqw; }
.dx-sched span.on { background: rgb(224 36 47 / .22); box-shadow: inset 2px 0 0 #e0242f; color: #fff; }
.dx-sched span em { font-style: normal; font-family: var(--font-mono); color: var(--ov-cyan); }
/* boost thank-you: sparkles twinkle */
.dx-boost { overflow: hidden; }
.dx-boost .sp { position: absolute; width: 6cqw; aspect-ratio: 1; background: #ff9aa2; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.dx-boost .sp:nth-of-type(1) { right: 8cqw; top: 6cqw; } .dx-boost .sp:nth-of-type(2) { right: 20cqw; top: 18cqw; width: 4cqw; background: var(--ov-cyan); } .dx-boost .sp:nth-of-type(3) { right: 6cqw; bottom: 8cqw; width: 5cqw; }
.is-live .dx-boost .sp { animation: dx-twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes dx-twinkle { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
/* stickers: three die-cut stickers that wobble */
.dx-stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 3cqw 4cqw; background: none; box-shadow: none; }
.dx-stickers span { color: #ffffff; font: 800 max(15px, 11cqw)/1 var(--font-display); letter-spacing: -0.01em; -webkit-text-stroke: 1.4cqw #3a0a10; paint-order: stroke fill; filter: drop-shadow(0 0 2cqw rgb(255 45 66 / .55)); transform: rotate(var(--t, -6deg)); }
.dx-stickers span:nth-child(2) { --t: 5deg; color: #ffc2c7; } .dx-stickers span:nth-child(3) { --t: -3deg; color: #d6f1ff; -webkit-text-stroke-color: #0b2a3d; filter: drop-shadow(0 0 2cqw rgb(158 220 255 / .5)); }
.is-live .dx-stickers span { animation: dx-wobble 3s var(--m-ease-io) infinite; animation-delay: var(--d, 0s); }
@keyframes dx-wobble { 0%, 60%, 100% { transform: rotate(var(--t, -6deg)); } 70% { transform: rotate(calc(var(--t, -6deg) * -1)) scale(1.06); } 82% { transform: rotate(var(--t, -6deg)) scale(.98); } }
/* event banner */
.dx-event { overflow: hidden; display: grid; }
.dx-event .art { height: 26cqw; background: radial-gradient(60% 120% at 30% 100%, rgb(255 45 66 / .7), transparent 70%), radial-gradient(50% 100% at 85% 0%, rgb(158 220 255 / .5), transparent 70%), #12131a; display: grid; place-items: center; }
.dx-event .art strong { font: 600 max(13px, 8cqw)/1 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.is-live .dx-event .art strong { animation: nk-flicker 4s steps(1, end) infinite; }
.dx-event .txt { display: grid; gap: 1cqw; padding: 4cqw 5cqw; }
/* poll */
.dx-poll p { display: flex; justify-content: space-between; margin: 0 0 1.4cqw; }
.dx-poll p span { font-family: var(--font-mono); color: #b5bac1; }
/* clip of the week: the playhead runs */
.dx-clip { display: grid; gap: 3cqw; padding: 4cqw; }
.dx-clip .vid { position: relative; aspect-ratio: 16 / 8; border-radius: 2cqw; overflow: hidden; background: linear-gradient(160deg, #183a2c, #0d1f2a 60%, #2a1630); display: grid; place-items: center; }
.dx-clip .vid::before { content: ""; width: 11cqw; aspect-ratio: 1; border-radius: 50%; background: rgb(10 11 14 / .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") center / 60% no-repeat; }
.dx-clip .vid i { position: absolute; left: 0; right: 0; bottom: 0; height: 1.6cqw; transform-origin: left; transform: scaleX(.4); background: #ff2d42; }
.is-live .dx-clip .vid i { animation: wx-play 6s linear infinite; }
@keyframes wx-play { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the shop's kit cards take the cable from alternate sides, so no two neighbours are drawn alike */
.card:nth-child(even) > .panel--top > .plug { left: auto; right: -14%; scale: -1 1; }
.card:nth-child(even) > .panel--top > .spark { left: auto; right: 17%; margin: -8px -8px 0 0; }
.card:nth-child(even) > .panel--top > .thumb { padding-left: 4%; padding-right: 24%; }@media (min-width: 1024px) and (max-width: 1279px) { .wx-grid .panel { --p-h: 150px; } .wx-grid { row-gap: 20px; } }
@media (min-width: 640px) and (max-width: 1023px) { :is(#widgets, #discord-server, #discord-art) { --h: 2; } }
.dx-gems svg { width: 44%; height: 44%; fill: none; stroke: #0a0b0e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dx-gems span:nth-child(even) svg { stroke: #ffffff; }
@media (max-width: 639px) { #discord-server .wx-grid .panel { --p-h: 194px; } #discord-art .wx-grid .panel { --p-h: 212px; } }

/* small welcome banners (shop thumbnails and tiles) are lit in CSS; the stream-world photo stays on the homepage's large one */
:is(.wx-grid, .panel--top) .nk-welcome .ban { background: radial-gradient(70% 120% at 20% 100%, rgb(255 45 66 / .55), transparent 70%), radial-gradient(50% 90% at 90% 0%, rgb(158 220 255 / .35), transparent 70%), linear-gradient(180deg, #1a1c24, #0a0b0e); }

/* ================= v4: the reference look =================
   Charcoal panels with a thin red edge and red corner swooshes; heavy white type; a brushed red metal disc,
   a slanted red tab, a dark bar with /// and a red underline. Everything rests on its finished frame. */
:root { --rx: #ff2b3d; --rx-d: #b5141f; --rx-dd: #6e0a12; --cx-1: #17171a; --cx-2: #0c0c0e; }
.disc { border-radius: 50%; background: conic-gradient(from 20deg, #2a0a0e, #ff2b3d 9%, #6e0a12 19%, #1a1a1c 29%, #e0242f 41%, #120405 51%, #ff4a58 61%, #2a0a0e 71%, #1a1a1c 81%, #e0242f 91%, #2a0a0e);
  box-shadow: inset 0 0 0 .9cqw #0d0d0f, inset 0 0 0 1.3cqw var(--rx), 0 0 0 1.4cqw #19191c, 0 0 0 1.7cqw rgb(255 255 255 / .08), 0 10px 24px -6px #000; }
.is-live .disc { animation: nk-spin 8s linear infinite; }
/* the countdown: an integer property counts down (no rolling strip) */
.cd { counter-reset: wx-t var(--wx-t) wx-s var(--wx-s); } .cd::before { content: counter(wx-t) counter(wx-s); }
.is-live .cd { animation: wx-sec 10s steps(10, end) infinite, wx-ten 60s steps(6, end) infinite; }

/* ---- overlays ---- */
.ovr { position: relative; overflow: hidden; container-type: inline-size; border-radius: 12px; border: 1.5px solid #d61f2c; color: #fff; font-family: var(--font-display);
  background: radial-gradient(70% 60% at 50% 45%, #1e1f23, #0f1012 75%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .5); }
.thumb > .ovr, .step-ui > .ovr { aspect-ratio: 16 / 9; }
.ovr::before, .ovr::after { content: ""; position: absolute; z-index: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #ff4654, #d01a27 38%, #7a0d15 72%); box-shadow: 0 0 0 2.2cqw rgb(224 36 47 / .14), 0 0 7cqw rgb(224 36 47 / .45); }
.ovr::before { left: -15%; top: -44%; } .ovr::after { right: -13%; bottom: -42%; }
.ovr--flip::before { left: auto; right: -15%; } .ovr--flip::after { right: auto; left: -13%; }
.ovr--br::before { display: none; } .ovr--br::after { width: 24%; right: -9%; bottom: -30%; }
.is-live .ovr::before { animation: ovr-breathe 6s ease-in-out infinite alternate; } .is-live .ovr::after { animation: ovr-breathe 6s ease-in-out -3s infinite alternate; }
@keyframes ovr-breathe { from { transform: scale(1); } to { transform: scale(1.08); } }
.ovr__c { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 2.6cqw; text-align: center; padding: 0 6%; }
.ovr__t { font: 800 10.5cqw/.98 var(--font-display); font-stretch: 108%; letter-spacing: -0.035em; color: #fff; text-shadow: 0 .6cqw 2.4cqw rgb(0 0 0 / .6); }
.ovr__t--2 { font-size: 9.6cqw; }
.ovr__sub { display: flex; align-items: center; gap: 2.6cqw; font: 600 max(13px, 2.5cqw)/1 var(--font-text); letter-spacing: .32em; color: #e6e6e9; white-space: nowrap; }
.ovr__sub::before, .ovr__sub::after { content: ""; width: 6cqw; height: 2px; background: #e0242f; }
.ovr__pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 2cqw; padding: 1.2cqw 5.4cqw; border-radius: 99px; color: #fff;
  background: linear-gradient(180deg, #f0313f, #b5141f); font: 800 6.4cqw/1 var(--font-display); font-stretch: 106%; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 0 4cqw rgb(224 36 47 / .55); }
.ovr__pill--sm { font-size: max(13px, 3.3cqw); padding: 1.6cqw 4.6cqw; letter-spacing: .06em; }
.ovr__pill--line { background: rgb(10 10 12 / .65); border: 1.5px solid #e0242f; box-shadow: 0 0 3cqw rgb(224 36 47 / .25); font: 700 max(13px, 3cqw)/1 var(--font-display); padding: 1.6cqw 4.4cqw; letter-spacing: .02em; }
.ovr__pill--line svg, .ovr__at svg { width: max(14px, 3.6cqw); height: auto; flex: none; fill: none; stroke: #ff4a58; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ovr__pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%); transform: translateX(-120%); }
.is-live .ovr__pill::after { animation: nk-glint 3.6s var(--m-ease-io) infinite; }
.ovr__name { display: flex; align-items: center; gap: 3cqw; font: 700 max(13px, 3.2cqw)/1 var(--font-display); color: #fff; }
.ovr__name::before, .ovr__name::after { content: ""; width: 7cqw; height: 2px; background: #e0242f; }
.ovr__at { display: flex; align-items: center; gap: 1.6cqw; font: 700 max(13px, 3.2cqw)/1 var(--font-display); }
.ovr__at img { width: max(14px, 3.6cqw); height: auto; }
.is-live .ovr__sub::before, .is-live .ovr__sub::after, .is-live .ovr__name::before, .is-live .ovr__name::after { animation: ovr-line 4s var(--m-ease-io) infinite; }
@keyframes ovr-line { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.4); } }
/* layouts with a game, a webcam and the chat */
.ovr__stage { position: absolute; z-index: 1; inset: 7% 4% 19% 4%; display: grid; grid-template-columns: 1.9fr 1fr; gap: 2cqw; }
.ovr__stage--chat { grid-template-columns: 1.6fr 1fr; inset: 8% 4% 19% 4%; }
.ovr__game, .ovr__cam { border: 1.5px solid #e0242f; border-radius: 1.6cqw; background: linear-gradient(160deg, #26262a, #151517); }
.ovr__side { display: grid; grid-template-rows: auto 1fr; gap: 2cqw; min-height: 0; }
.ovr__side > .ovr__cam { aspect-ratio: 16 / 9; }
.ovr__chat { min-height: 0; overflow: hidden; border-radius: 1.6cqw; background: #18181b; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); padding: 2.4cqw; display: grid; align-content: start; gap: 1.6cqw;
  font: 500 max(13px, 2.6cqw)/1.25 var(--font-text); color: #f2f2f4; }
.ovr__chat > b { display: flex; align-items: center; gap: 2cqw; font: 800 max(13px, 2.8cqw)/1 var(--font-display); letter-spacing: .14em; }
.ovr__chat > b::after { content: ""; flex: 1; height: 2px; background: #e0242f; }
.ovr__chat > span { padding-left: 1.6cqw; border-left: 2px solid #e0242f; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.ovr__chat > span i { font-style: normal; color: #ff5a68; }
.is-live .ovr__chat > span { animation: ovr-msg 4.8s var(--m-ease-enter) infinite both; }
.is-live .ovr__chat > span:nth-of-type(2) { animation-delay: .5s; } .is-live .ovr__chat > span:nth-of-type(3) { animation-delay: 1s; }
@keyframes ovr-msg { 0% { opacity: .25; transform: translateY(40%); } 12%, 100% { opacity: 1; transform: none; } }
.ovr__foot { position: absolute; z-index: 1; left: 5%; right: 24%; bottom: 7%; display: flex; align-items: center; gap: 3cqw; font: 700 max(13px, 3.2cqw)/1 var(--font-display); }
.ovr__foot::after { content: ""; flex: 1; height: 2px; background: #e0242f; transform-origin: left; }
.is-live .ovr__foot::after { animation: ovr-line 4s var(--m-ease-io) infinite; }
/* small copies (shop thumbnails, buying steps) keep only the headline and the pill */
:is(.thumb, .step-ui) .ovr :is(.ovr__sub, .ovr__name) { display: none; }

/* ---- alerts: disc, slanted red tab, dark bar, ///, a red underline that drains as the timer ---- */
.nk-alert, .nk-alert--cyan { display: grid; grid-template-columns: 24% 1fr; grid-template-rows: auto auto; gap: 0; align-items: end; padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; overflow: visible; filter: drop-shadow(0 14px 22px rgb(0 0 0 / .6)); }
.nk-alert::after, .nk-alert--cyan::after { content: none; }
.nk-alert .av { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 24cqw; height: 24cqw; z-index: 3;
  border-radius: 50%; background: conic-gradient(from 20deg, #2a0a0e, #ff2b3d 9%, #6e0a12 19%, #1a1a1c 29%, #e0242f 41%, #120405 51%, #ff4a58 61%, #2a0a0e 71%, #1a1a1c 81%, #e0242f 91%, #2a0a0e);
  box-shadow: inset 0 0 0 .9cqw #0d0d0f, inset 0 0 0 1.3cqw var(--rx), 0 0 0 1.4cqw #19191c, 0 0 0 1.7cqw rgb(255 255 255 / .08); }
.nk-alert small, .nk-alert--cyan small { grid-column: 2; grid-row: 1; justify-self: start; position: relative; z-index: 2; margin: 0 0 -1px -3cqw; padding: 1.8cqw 6cqw 1.5cqw 5cqw;
  background: var(--rx); color: #0a0a0b; font: 800 max(13px, 4.4cqw)/1 var(--font-display); font-stretch: 110%; letter-spacing: .1em; text-shadow: none;
  clip-path: polygon(3.2cqw 0, 100% 0, calc(100% - 3.2cqw) 100%, 0 100%); }
.nk-alert b { grid-column: 2; grid-row: 2; position: relative; margin-left: -12cqw; padding: 2.6cqw 13cqw 4.8cqw 15cqw; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, var(--cx-1), var(--cx-2)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3cqw) 100%, 0 100%); font: 800 max(16px, 10cqw)/1.05 var(--font-display); font-stretch: 106%; letter-spacing: -0.02em; }
.nk-alert b::before { content: "///"; position: absolute; right: 7cqw; bottom: 4cqw; font: italic 600 max(13px, 4cqw)/1 var(--font-display); color: #8e8e93; letter-spacing: -.06em; }
.nk-alert b::after { content: ""; position: absolute; left: 15cqw; bottom: 2.2cqw; width: 16cqw; height: 1.2cqw; background: var(--rx); transform-origin: left; }
.is-live .nk-alert b::after { animation: nk-drain 3.6s linear infinite; }

/* ---- the HUD widgets: disc, tab, dark body ---- */
.hud { position: relative; padding-top: 6.4cqw; font-family: var(--font-display); color: #fff; }
.hud > .disc { position: absolute; left: 0; top: 1.6cqw; z-index: 3; width: 21cqw; aspect-ratio: 1; }
.hud__tab { position: absolute; left: 13cqw; top: 0; z-index: 2; padding: 1.7cqw 7cqw 1.5cqw 7cqw; background: var(--rx); color: #0a0a0b;
  font: 800 max(13px, 4.4cqw)/1 var(--font-display); font-stretch: 110%; letter-spacing: .1em; white-space: nowrap; clip-path: polygon(3cqw 0, 100% 0, calc(100% - 3cqw) 100%, 0 100%); }
.hud__body { position: relative; display: grid; gap: 2.8cqw; margin-left: 6cqw; padding: 6.4cqw 6cqw 5.4cqw 17cqw; border-radius: 2cqw;
  background: linear-gradient(180deg, var(--cx-1), var(--cx-2)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 18px 36px -18px #000; }
.hud__body::after { content: "///"; position: absolute; right: 4.6cqw; top: 2.6cqw; font: italic 600 max(13px, 4cqw)/1 var(--font-display); color: #8e8e93; letter-spacing: -.06em; }
.hud--plain { padding-top: 0; } .hud--plain > .disc { top: calc(50% - 10.5cqw); }
.hud--list .hud__body { padding-top: 7cqw; }
.hud__big { font: 800 max(16px, 10.5cqw)/1 var(--font-display); font-stretch: 106%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hud__small { font: 500 max(13px, 4.6cqw)/1 var(--font-text); color: #a8a8ad; }
.hud__caps { font: 600 max(13px, 3.4cqw)/1 var(--font-text); letter-spacing: .3em; color: #b4b4b9; }
.hud__u { display: block; width: 18cqw; height: 1.4cqw; background: var(--rx); transform-origin: left; }
.is-live .hud__u { animation: ovr-line 4s var(--m-ease-io) infinite; }
.hud__bar { display: block; height: 2.6cqw; border-radius: 9cqw; background: #2a2a2f; overflow: hidden; }
.hud__bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--v, .72)); background: linear-gradient(90deg, #b5141f, var(--rx)); box-shadow: 0 0 2cqw rgb(255 43 61 / .7); }
.is-live .hud__bar i { animation: wx-fill 3.6s var(--m-ease-enter) infinite; }
/* top supporters */
.hud__rank { position: relative; margin: 0; padding: 0; list-style: none; display: grid; }
.hud__rank li { display: grid; grid-template-columns: 8cqw 1fr auto; align-items: center; height: 11cqw; padding: 0 1cqw; border-bottom: 1px solid rgb(255 255 255 / .08); font: 700 max(13px, 5.2cqw)/1 var(--font-display); white-space: nowrap; }
.hud__rank li:last-child { border-bottom: 0; }
.hud__rank em { font-style: normal; font-weight: 800; color: #ff4a58; font-size: max(15px, 6.4cqw); }
.hud__rank span { font-weight: 500; color: #c8c8cc; font-family: var(--font-text); }
.hud__rank::before { content: ""; position: absolute; left: -2cqw; right: -2cqw; top: 0; height: 11cqw; border-radius: 1cqw; background: linear-gradient(90deg, rgb(255 43 61 / .22), rgb(255 43 61 / 0)); }
.is-live .hud__rank::before { animation: wx-step 4.8s var(--m-ease-io) infinite; }
/* now playing: a spectrum and a playhead */
.hud__spec { display: flex; align-items: flex-end; gap: .9cqw; height: 11cqw; }
.hud__spec i { flex: 1; height: 100%; background: linear-gradient(0deg, #b5141f, var(--rx)); transform-origin: bottom; transform: scaleY(var(--r, .5)); }
.is-live .hud__spec i { animation: wx-eq .8s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.hud__prog { position: relative; display: block; height: 1.2cqw; border-radius: 2cqw; background: #2a2a2f; }
.hud__prog i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(.42); background: var(--rx); }
.hud__prog b { position: absolute; inset: 0; transform: translateX(42%); }
.hud__prog b::after { content: ""; position: absolute; left: -1.6cqw; top: 50%; width: 3.2cqw; height: 3.2cqw; margin-top: -1.6cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 2cqw rgb(255 255 255 / .6); }
.is-live .hud__prog i { animation: hud-play 9s linear infinite; } .is-live .hud__prog b { animation: hud-head 9s linear infinite; }
@keyframes hud-play { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hud-head { from { transform: translateX(0); } to { transform: translateX(100%); } }
/* event ticker rows */
.hud__rows { position: relative; display: grid; }
.hud__rows span { display: grid; grid-template-columns: 30cqw 1fr; align-items: center; height: 12cqw; border-bottom: 1px solid rgb(255 255 255 / .1); font: 700 max(13px, 5.2cqw)/1 var(--font-display); white-space: nowrap; }
.hud__rows span:last-child { border-bottom: 0; }
.hud__rows small { height: 6cqw; display: flex; align-items: center; border-right: 2px solid #3a3a40; margin-right: 4cqw; font: 800 max(13px, 4.4cqw)/1 var(--font-display); letter-spacing: .04em; color: #ff4a58; }
.hud__rows::before { content: ""; position: absolute; left: -2cqw; right: -2cqw; top: 0; height: 12cqw; border-radius: 1cqw; background: linear-gradient(90deg, rgb(255 43 61 / .2), rgb(255 43 61 / 0)); }
.is-live .hud__rows::before { animation: hud-two 4s var(--m-ease-io) infinite; }
@keyframes hud-two { 0%, 42% { transform: none; } 50%, 92% { transform: translateY(100%); } 100% { transform: none; } }
/* socials: handles take turns in one slot */
.hud__swap { position: relative; height: 9cqw; }
.hud__swap span { position: absolute; inset: 0; display: flex; align-items: center; gap: 3cqw; font: 700 max(13px, 6cqw)/1 var(--font-display); white-space: nowrap; opacity: 0; }
.hud__swap span:first-child { opacity: 1; }
.hud__swap img { width: max(16px, 7.4cqw); height: auto; }
.is-live .hud__swap span { animation: wx-reveal 7.5s var(--m-ease-enter) infinite both; }
.is-live .hud__swap span:nth-child(2) { animation-delay: 2.5s; } .is-live .hud__swap span:nth-child(3) { animation-delay: 5s; }

/* stinger: a red slab and a white blade cut across the dark, the disc holds in the middle */
.st2 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.6cqw; background: linear-gradient(115deg, #141416, #0a0a0b); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.st2 i { position: absolute; top: -30%; bottom: -30%; transform: skewX(-28deg); }
.st2 .a { left: 52%; right: -40%; background: linear-gradient(120deg, #ff2b3d, #b5141f 55%, #5a0a10); }
.st2 .b { left: 46%; width: 2.2%; background: #fff; box-shadow: 0 0 3cqw rgb(255 255 255 / .7); }
.st2 .c { left: -40%; right: 82%; background: linear-gradient(120deg, #7a0d15, #ff2b3d); }
.st2 .k { left: 22%; width: 1.4%; background: rgb(255 255 255 / .5); }
.st2 > .disc { position: absolute; left: 50%; top: 50%; z-index: 2; width: 24%; aspect-ratio: 1; margin: -12% 0 0 -12%; }
.is-live .st2 i { animation: st2-cut 3.2s var(--m-ease-io) infinite; }
.is-live .st2 .b { animation-delay: .08s; } .is-live .st2 .c { animation-delay: .14s; } .is-live .st2 .k { animation-delay: .2s; }
.is-live .st2 > .disc { animation: st2-disc 3.2s var(--m-ease-io) infinite, nk-spin 8s linear infinite; }
@keyframes st2-cut { 0% { transform: translateX(-170%) skewX(-28deg); } 30%, 70% { transform: skewX(-28deg); } 100% { transform: translateX(170%) skewX(-28deg); } }
@keyframes st2-disc { 0%, 22% { opacity: 0; scale: .6; } 34%, 68% { opacity: 1; scale: 1; } 80%, 100% { opacity: 0; scale: 1.2; } }

/* webcam frame and vertical overlay: a slanted LIVE tag, a name tag with ///, the red edge */
.cam2 { position: relative; aspect-ratio: 16 / 10; border-radius: 2cqw; overflow: hidden; border: 1.5px solid #e0242f; background: radial-gradient(70% 80% at 50% 30%, #2a2b31, #0c0c0e 75%);
  box-shadow: 0 0 5cqw rgb(224 36 47 / .3); }
.cam2 > .who, .vt2 > .who { position: absolute; inset: 0; }
.who::before { content: ""; position: absolute; left: 50%; top: 20%; width: 20%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #3a3b42; }
.who::after { content: ""; position: absolute; left: 50%; bottom: -4%; width: 50%; height: 36%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #3a3b42; }
.tag-live { position: absolute; left: -1px; top: -1px; z-index: 2; display: flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw 6cqw 1.6cqw 3.6cqw; background: var(--rx); color: #fff;
  font: 800 max(13px, 4cqw)/1 var(--font-display); letter-spacing: .06em; clip-path: polygon(0 0, 100% 0, calc(100% - 3cqw) 100%, 0 100%); }
.tag-live i { width: max(6px, 1.6cqw); aspect-ratio: 1; border-radius: 50%; background: #fff; }
.is-live .tag-live i { animation: nk-spark 1.4s ease-in-out infinite; }
.tag-name { position: absolute; right: -1px; bottom: -1px; z-index: 2; display: flex; align-items: center; gap: 3cqw; padding: 2cqw 4cqw 2.4cqw 7cqw; background: linear-gradient(180deg, var(--cx-1), var(--cx-2));
  font: 700 max(13px, 4.4cqw)/1 var(--font-display); clip-path: polygon(3cqw 0, 100% 0, 100% 100%, 0 100%); }
.tag-name::after { content: "///"; font-style: italic; font-weight: 600; color: #8e8e93; letter-spacing: -.06em; }
.tag-name::before { content: ""; position: absolute; left: 7cqw; bottom: 1cqw; width: 10cqw; height: .9cqw; background: var(--rx); }
.cam2::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px #ff4a58; opacity: .2; }
.is-live .cam2::after { animation: cam2-glow 2.4s ease-in-out infinite alternate; }
@keyframes cam2-glow { to { opacity: 1; } }
.wx-grid .ex > .nk.vt2 { width: 40cqw; }
.vt2 { position: relative; aspect-ratio: 9 / 16; border-radius: 5cqw; overflow: hidden; border: 1.5px solid #e0242f; background: radial-gradient(70% 50% at 50% 30%, #2a2b31, #0c0c0e 75%); box-shadow: 0 0 6cqw rgb(224 36 47 / .35); }
.vt2 .tag-live { font-size: max(13px, 9cqw); padding: 3cqw 10cqw 3cqw 6cqw; gap: 2.4cqw; }
.vt2 .tag-live i { width: max(6px, 3.4cqw); }
.vt2 .foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 3cqw; padding: 6cqw; background: linear-gradient(transparent, rgb(10 10 11 / .95) 35%); }
.vt2 .foot b { font: 700 max(13px, 11cqw)/1 var(--font-display); white-space: nowrap; overflow: hidden; }
.vt2 .foot span { display: flex; align-items: center; gap: 4cqw; }
.vt2 .foot em { font-style: normal; padding: 2.6cqw 7cqw; border-radius: 99px; background: var(--rx-d); color: #fff; font: 700 max(13px, 10cqw)/1 var(--font-display); }
.vt2 .foot svg { width: max(14px, 13cqw); height: auto; fill: none; stroke: #fff; stroke-width: 2; }
.vt2 .h { position: absolute; right: 8cqw; bottom: 42cqw; z-index: 1; width: 16cqw; fill: var(--rx); filter: drop-shadow(0 0 2cqw rgb(255 43 61 / .7)); transform: translateY(var(--y, 0)); }
.vt2 .h:nth-of-type(2) { --y: -70%; right: 22cqw; } .vt2 .h:nth-of-type(3) { --y: -160%; opacity: .6; }
.is-live .vt2 .h { animation: wx-float 2.7s var(--m-ease-enter) infinite both; animation-delay: var(--d, 0s); }

/* Stream Deck keys: dark keys, a few lit in red */
.wx-deck { background: linear-gradient(180deg, #19191c, #0c0c0e); }
.wx-deck span { border-radius: 2.4cqw; background: linear-gradient(180deg, #17171a, #0d0d0f); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.wx-deck svg, .wx-deck span:nth-child(3n) svg { stroke: #ececef; }
.wx-deck span:is(:nth-child(1), :nth-child(7), :nth-child(12)) { box-shadow: inset 0 0 0 1.5px var(--rx), 0 0 3cqw rgb(255 43 61 / .35); }
.wx-deck span:is(:nth-child(1), :nth-child(3), :nth-child(6), :nth-child(9), :nth-child(12), :nth-child(15)) svg { stroke: #ff4a58; }

/* ---- Twitch panels: a red icon block beside the title ---- */
.nk-panels { gap: 2.6cqw; }
.nk-panels span, .nk-panels span:nth-child(4n+2), .nk-panels span:nth-child(4n+3) { display: grid; grid-template-columns: 15cqw 1fr; align-items: center; justify-content: stretch; gap: 3cqw;
  height: 15cqw; padding: 0 3cqw 0 0; border: 0; border-radius: .8cqw; overflow: hidden; text-align: left; text-shadow: none; color: #fff;
  background: linear-gradient(180deg, #17171a, #0c0c0e); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 14px 26px -14px #000; font: 800 max(13px, 5cqw)/1 var(--font-display); }
.nk-panels span svg { width: 15cqw; height: 15cqw; padding: 3.8cqw; box-sizing: border-box; background: linear-gradient(160deg, #ff2b3d, #c41623); stroke: #fff; filter: none; }

/* ---- sub badges: red hex shields; the 12-month one filled, in a white rim ---- */
.nk-badges span, .nk-badges span:nth-child(even) { color: #fff; text-shadow: none; font: 800 max(14px, 8cqw)/1 var(--font-display); background: linear-gradient(160deg, #ff3b4a, #a8121c); }
.nk-badges span::before, .nk-badges span:nth-child(even)::before { inset: 10%; background: linear-gradient(180deg, #1d1d21, #0b0b0d); }
.nk-badges span:last-child { background: linear-gradient(160deg, #ffffff, #c9ccd2); }
.nk-badges span:last-child::before { background: linear-gradient(160deg, #e0242f, #7a0d15); }
.dx-gems svg, .dx-gems span:nth-child(even) svg { stroke: #fff; }
/* the kit's widgets: four across on the 12 columns, the stinger and the webcam frame wide in the last row */
.wx-grid.wx-grid--four > * { grid-column: auto / span 4; }
.wx-grid.wx-grid--four > :nth-child(n+7) { grid-column: auto / span 6; }
.wx-grid.wx-grid--four .panel { --p-h: 270px; }
.wx-grid.wx-grid--four .ex { padding: 7%; }
.wx-grid .ex > .nk:is(.st2, .cam2) { width: auto; height: 100%; max-width: 100%; }
.hud__big--xl { font-size: max(22px, 15cqw); }
@media (max-width: 1023px) { .wx-grid.wx-grid--four > *, .wx-grid.wx-grid--four > :nth-child(n+7) { grid-column: auto / span 6; } .wx-grid.wx-grid--four .panel { --p-h: 240px; } }
@media (max-width: 639px) { .wx-grid.wx-grid--four > :nth-child(n+9) { grid-column: 1 / -1; } .wx-grid.wx-grid--four .panel { --p-h: 186px; } .wx-grid.wx-grid--four .ex { padding: 5%; } }
.ovr__pill:not(.ovr__pill--line) { gap: 0; }
.wx-grid .ex > .nk.wx-deck { width: auto; height: 100%; max-width: 100%; aspect-ratio: 5 / 3.15; align-content: center; }
.wx-grid .ex > .nk.vt2 { width: auto; height: 100%; }
.nk-panels span:nth-child(n) svg { stroke: #fff; filter: none; }
.nk-panels span:nth-child(n) { justify-items: start; }
.nk-emotes span, .nk-emotes span:nth-child(odd) { border: 1.5px solid #e0242f; background: linear-gradient(180deg, #19191c, #0c0c0e); text-shadow: none; font-weight: 800; color: #fff; box-shadow: 0 0 3cqw rgb(224 36 47 / .25), 0 14px 26px -14px #000; }
.nk-emotes span:nth-child(odd) { border-color: rgb(255 255 255 / .28); box-shadow: 0 14px 26px -14px #000; }
.nk-welcome .msg b { color: #ff5a68; }@media (min-width: 1024px) and (max-width: 1279px) { .wx-grid.wx-grid--four .panel { --p-h: 206px; } }
@media (max-width: 639px) { .wx-grid.wx-grid--four .panel { --p-h: 148px; } .wx-grid.wx-grid--four { row-gap: 20px; } }
/* v5 fixes: nothing in a tile runs over its neighbour */
.nk-alert small, .nk-alert--cyan small { white-space: nowrap; }
.ovr__pill { background: linear-gradient(180deg, #d81f2d, #9c0f19); }
.ovr__pill::after { background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .16) 50%, transparent 62%); }
.ovr__side { grid-template-rows: auto minmax(0, 1fr); }
.ovr__side > .ovr__cam { aspect-ratio: 16 / 8; }
@media (max-width: 639px) {
  .hud__tab { left: 11cqw; padding: 1.4cqw 4cqw 1.2cqw 12cqw; letter-spacing: .03em; } /* the label starts after the disc */
  /* the kit page's small tiles: the text can't shrink below 13px, so the disc and the gaps do */
  .wx-grid .hud > .disc { width: 15cqw; }
  .wx-grid .hud--plain > .disc { top: calc(50% - 7.5cqw); }
  .wx-grid .hud__tab { left: 8cqw; padding: 1.4cqw 3cqw 1.2cqw 8cqw; letter-spacing: 0; }
  .wx-grid .hud__body::after { content: none; }
  .wx-grid .hud__rows span { grid-template-columns: 48px minmax(0, 1fr); }
  .wx-grid .hud__rows small { margin-right: 6px; }
}
.wx-grid .ex:has(> .wx-deck) { grid-template-columns: minmax(0, 1fr); } /* the Stream Deck stays inside its tile */
@media (max-width: 369px) { .wx-grid.wx-grid--four > *, .wx-grid.wx-grid--four > :nth-child(n+7) { grid-column: 1 / -1; } }
/* loops kept inside 2.5 to 4 s */
.is-live .disc { animation-duration: 4s; }
.nk-alert .av { animation-duration: 4s; }
.is-live .ovr::before, .is-live .ovr::after { animation-duration: 3.6s; }
.is-live .hud__prog i, .is-live .hud__prog b { animation-duration: 4s; }
/* pack cards: a picture of the pack on top, graphite cards with a polished metal edge (shared by the home and kit pages) */
.pk { display: block; margin: 0 0 var(--s-2); }
.pk > .ovr { aspect-ratio: 16 / 8.4; }
.plans .price { flex-wrap: wrap; } .plans .price > .t-small, .badge { white-space: nowrap; }
.plans .card--plan { border: 1px solid transparent; color: var(--ink);
  background: linear-gradient(180deg, #1c1d21, #0f1012) padding-box, linear-gradient(140deg, #f6f7f9 0%, #70747d 16%, #1b1c20 38%, #d4d7dc 54%, #3b3d44 74%, #eceef1 100%) border-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 30px 60px -30px rgb(0 0 0 / .85); }
.plans .card--plan.is-featured { border-width: 1.5px;
  background: radial-gradient(90% 55% at 50% 112%, rgb(224 36 47 / .42), transparent 72%) padding-box, linear-gradient(180deg, #1f2024, #101113) padding-box,
    linear-gradient(140deg, #ffffff 0%, #ff8a93 22%, #7a0d15 42%, #ffd2d6 58%, #8a8e96 78%, #ffffff 100%) border-box;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(224 36 47 / .18), 0 40px 90px -30px rgb(224 36 47 / .5); }@media (max-width: 1023px) {
  .plans .card--plan { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); column-gap: 16px; row-gap: var(--s-3); align-content: start; }
  .plans .card--plan > * { grid-column: 1 / -1; min-width: 0; }
  .plans .card--plan > .pk { grid-column: 1; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .plans .card--plan > :is(h3, .plan__for, .price) { grid-column: 2; }
}
@media (max-width: 639px) {
  .pk .ovr :is(.ovr__pill, .ovr__sub, .ovr__name, .ovr__foot, .ovr__chat) { display: none; }
  .pk .ovr__t { font-size: 13cqw; }
}
.ovr__pill.ovr__pill--line { background: rgb(10 10 12 / .65); }
.ovr__pill.ovr__pill--line::after { content: none; }

/* the legal links in every footer's bottom row */
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; font-size: var(--t-small); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .4); }
.legal-links a:hover { text-decoration-color: currentColor; }

/* every page: a plain section is as tall as its content, so no screen-height filler sits under it.
   The hero and the sections that animate with the scroll (scenes, moments) keep their screens. */
main > :is(section, .section):not(.hero, .section--hero, [data-moment]:not([data-moment="iris-opens"]), [data-scene], .sc) {
  height: auto !important; min-height: 0 !important;
  padding-top: clamp(40px, 4.5vw, 64px); padding-bottom: clamp(40px, 4.5vw, 64px);
}main > :is(section, .section):not(.hero, .section--hero, [data-moment]:not([data-moment="iris-opens"]), [data-scene], .sc) :is(.wrap > .fill, .group > .fill) { flex: 0 0 auto; min-height: auto; }
/* the red closing footer: as tall as its call and its links, not a whole screen of red */
footer.closing { height: auto !important; min-height: 0 !important; padding-top: clamp(64px, 6.5vw, 96px); padding-bottom: 32px; }
footer.closing > .wrap { height: auto; grid-template-rows: auto auto; row-gap: clamp(44px, 4.5vw, 64px); }/* a two-part section (.g2) stacks its two groups at their own heights with a normal gap, not two equal halves */
main > :is(section, .section).g2:not([data-moment]) > :is(.wrap, .container) { grid-template-rows: auto auto !important; row-gap: clamp(32px, 3.4vw, 48px) !important; height: auto; }
/* soft edges: every section's own ground (the grey bands, the red glows, the red footer) fades into the page black
   at its top and bottom, so no two sections ever meet on a hard line. Inset shadows paint over the section's ground
   and under everything inside it, so no text, picture or button is covered. */
:root { --edge: clamp(72px, 9vw, 180px); --edge-c: #0a0a0b; }
main > :is(section, .section) {
  box-shadow: inset 0 calc(400px + var(--edge) * 1.3) var(--edge) -400px var(--edge-c),
              inset 0 calc(-400px - var(--edge) * 1.3) var(--edge) -400px var(--edge-c);
}
footer.closing { box-shadow: inset 0 calc(400px + var(--edge) * 1.3) var(--edge) -400px var(--edge-c); }

/* short windows (small laptops, a phone on its side): a section is never shorter than what's in it, so nothing
   lies over the next section. Taller windows keep one section per screen. */
@media (min-width: 640px) {
  main > .hero.hero--product { height: max(100svh, 720px); }
  main > .hero.hero--split { height: max(100svh, 620px); }
  main > .hero.hero--centred { height: max(100svh, 760px); }
}
@media (min-width: 640px) and (max-width: 1023px) { main > .hero.hero--split { height: max(100svh, 720px); } }
/* tall monitors: the top section stops growing, so there's no empty space under its words */
@media (min-width: 1024px) {
  main > .hero.hero--product { height: clamp(720px, 100svh, 960px); }
  main > .hero.hero--split { height: clamp(620px, 100svh, 820px); }
  main > .hero.hero--centred { height: clamp(760px, 100svh, 960px); }
}
/* the big words with the cable: as tall as they are, not a whole screen */
main > section#statement { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: clip; padding-top: clamp(40px, 4.5vw, 64px); padding-bottom: clamp(32px, 3.4vw, 48px); }
main > section#statement > .wrap { flex: 0 0 auto; height: auto; }
main > section#statement .cable-run { flex: none; height: clamp(200px, 24vw, 340px); min-height: 0; margin-top: var(--s-5); }
/* a link to a section stops with its heading 32px below the fixed menu (less the section's own padding) */
main > section[id]:not(.hero) { scroll-margin-top: calc(var(--nav) + 32px - clamp(40px, 4.5vw, 64px)); }
/* a picture beside a short list or a few lines is no taller than it needs to be */
@media (min-width: 1024px) {
  #alerts .frame--split.fill-h { height: 460px; }
}
