/* ═══════════ LIORS LIFE ═══════════ */
@font-face { font-family: Rubik; src: url(fonts/rubik-hebrew.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Rubik; src: url(fonts/rubik-latin.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-style: italic; src: url(fonts/rubik-italic-hebrew.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Rubik; font-style: italic; src: url(fonts/rubik-italic-latin.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #07060d;
  --bg-2: #0e0b1a;
  --panel: rgba(24, 19, 44, .55);
  --panel-solid: #120e22;
  --line: rgba(190, 170, 255, .13);
  --line-2: rgba(190, 170, 255, .28);
  --ink: #f4f1ff;
  --ink-2: #bdb5da;
  --ink-3: #8f87ae;
  --pink: #ff4fd8;
  --violet: #8b5cff;
  --cyan: #4de1ff;
  --kick: #53fc18;
  --red: #ff3b5c;
  --hot: var(--violet);
  --grad: linear-gradient(100deg, var(--pink), var(--violet) 50%, var(--cyan));
  --radius: 22px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --fs: 1;
  color-scheme: dark;
}
body[data-live="true"] { --hot: var(--kick); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: calc(100% * var(--fs)); overflow-x: clip; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 Rubik, system-ui, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(70vw 60vh at 90% 0%, rgba(139, 92, 255, .16), transparent 70%), radial-gradient(50vw 50vh at 0% 45%, rgba(255, 79, 216, .07), transparent 70%), radial-gradient(60vw 50vh at 50% 110%, rgba(77, 225, 255, .07), transparent 70%), var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
/* ═══════════ top bar: floating capsule ═══════════ */
.bar {
  position: fixed; z-index: 50; top: 14px; inset-inline: 0; margin: 0 auto; width: min(var(--max), calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; padding-inline-start: 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bar-bg);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background .35s, border-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.bar.is-scrolled { background: var(--bar-bg-2); border-color: var(--line-2); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); direction: ltr; flex: none; }
.logo__word { font: italic 900 1.25rem/1 Rubik; letter-spacing: -.01em; }
.logo__word b { font-weight: 900; }
.logo__word i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .08em; }
.bar__nav { display: flex; gap: 2px; margin-inline-start: auto; }
.bar__nav button { background: none; border: 0; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.bar__nav button:hover, .bar__nav button.is-on { color: var(--ink); background: var(--hover); }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; color: var(--ink-2); background: var(--hover); transition: .3s; }
.status__dot, .chip__dot, .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; display: inline-block; }
body[data-live="true"] .status { background: var(--kick); color: #051300; }
body[data-live="true"] .status__dot { background: #051300; animation: pulseDark 1.4s infinite; }
@keyframes pulseDark { 50% { opacity: .25; } }
.bar__menu { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--hover); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.bar__menu span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s; }
.bar__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.bar__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* ═══════════ hero ═══════════ */
.hero {
  position: relative; isolation: isolate; min-height: min(100svh, 980px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "copy cam" "stats stats";
  align-items: center; gap: 24px clamp(24px, 4vw, 64px);
  max-width: var(--max); margin: 0 auto; padding: 130px var(--pad) 40px;
}
.hero__bg { position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); overflow: hidden; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(38px) saturate(1.4) brightness(.55); transform: scale(1.2); opacity: .75; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, transparent, var(--bg) 95%), linear-gradient(transparent 55%, var(--bg)); }
.hero__copy { grid-area: copy; }
.chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--hover); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .95rem; }
body[data-live="true"] .chip { border-color: rgba(83, 252, 24, .5); color: #eaffdf; background: rgba(83, 252, 24, .1); }
body[data-live="true"] .chip__dot { background: var(--kick); box-shadow: 0 0 0 0 rgba(83, 252, 24, .7); animation: ping 1.5s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(83, 252, 24, 0); } 100% { box-shadow: 0 0 0 0 rgba(83, 252, 24, 0); } }
.title { margin: 0; direction: ltr; text-align: right; font: italic 900 clamp(4.4rem, 10.5vw, 11.5rem)/.82 Rubik; letter-spacing: -.035em; }
/* hero title — see the intro block at the end of the file */
.hero__motto { margin: 18px 0 0; text-align: right; font: italic 600 clamp(1.05rem, 1.7vw, 1.3rem)/1.3 Rubik; color: var(--ink-2); letter-spacing: .01em; }
.hero__lead { max-width: 33em; margin: 16px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 16px; border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--kick { background: var(--kick); color: #051300; box-shadow: 0 10px 34px -10px rgba(83, 252, 24, .75); }
.btn--kick:hover { box-shadow: 0 14px 44px -8px rgba(83, 252, 24, .95); }
.btn--glass { color: var(--ink); border-color: var(--line-2); background: var(--hover); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(139, 92, 255, .22); border-color: rgba(139, 92, 255, .6); }
/* facecam */
.cam { grid-area: cam; position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1; display: grid; place-items: center; }
.cam__ring { position: absolute; inset: -6%; width: 112%; height: 112%; direction: ltr; overflow: visible; animation: spin 50s linear infinite; pointer-events: none; }
.cam__ring text { font: 700 15px Rubik; letter-spacing: .28em; fill: rgba(220, 210, 255, .38); }
body[data-live="true"] .cam__ring { animation-duration: 18s; }
body[data-live="true"] .cam__ring text { fill: rgba(83, 252, 24, .75); }
@keyframes spin { to { transform: rotate(360deg); } }
.cam__frame {
  position: relative; width: 78%; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -20px var(--hot);
  animation: camIn 1.1s .2s var(--spring) both; transition: box-shadow .6s;
}
@keyframes camIn { from { opacity: 0; transform: rotate(-12deg) scale(.85) translateY(30px); } }
.cam__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 3px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
body[data-live="true"] .cam__frame::before { background: linear-gradient(140deg, var(--kick), #b6ff8f 50%, var(--kick)); }
.cam__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(7, 6, 13, .85)), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.cam__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; transform: scale(1.12); }
.cam__corner { position: absolute; z-index: 2; width: 26px; height: 26px; border: 3px solid rgba(255, 255, 255, .85); }
.cam__corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cam__corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cam__tag { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 6px 12px; border-radius: 8px; font: italic 900 .8rem/1 Rubik; letter-spacing: .14em; background: rgba(0, 0, 0, .55); color: var(--ink-2); backdrop-filter: blur(6px); }
body[data-live="true"] .cam__tag { background: var(--red); color: #fff; box-shadow: 0 0 24px rgba(255, 59, 92, .6); }
.cam__plate { color: #fff; position: absolute; z-index: 2; bottom: 18px; left: 18px; display: grid; direction: ltr; text-align: left; line-height: 1.15; }
.cam__plate b { font: italic 900 1.5rem/1 Rubik; }
.cam__plate small { color: rgba(255, 255, 255, .7); font-size: .8rem; margin-top: 4px; }
.cam__emotes { position: absolute; inset: 0; pointer-events: none; }
.cam__emotes img { position: absolute; bottom: 12%; width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .6)); animation: float 4.6s var(--ease) forwards; }
@keyframes float { 0% { opacity: 0; transform: translateY(0) scale(.5) rotate(0); } 12% { opacity: 1; transform: translateY(-30px) scale(1) rotate(var(--r)); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-320px) translateX(var(--x)) scale(.9) rotate(calc(var(--r) * -1)); } }
.stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 6px 0; display: flex; flex-direction: column-reverse; }
.stats > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2.5vw, 30px); }
.stats dt { color: var(--ink-3); font-size: .9rem; }
.stats dd { margin: 0; font: italic 900 clamp(1.9rem, 3.6vw, 3rem)/1.05 Rubik; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
/* ═══════════ sections ═══════════ */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 130px) var(--pad) 0; }
.sec__head { margin-bottom: 40px; }
.sec__head h2, .sec__sub { max-width: 46rem; }
.sec__num { margin: 0; direction: ltr; text-align: right; font: italic 800 .8rem/1 Rubik; letter-spacing: .22em; color: var(--hot); transition: color .6s; }
.sec h2 { margin: 10px 0 0; font: 900 clamp(2.3rem, 5.4vw, 3.8rem)/1.02 Rubik; letter-spacing: -.02em; }
.sec__sub { margin: 14px 0 0; color: var(--ink-2); font-size: 1.08rem; }
/* scroll reveal — see the "scroll motion" block at the end */
/* ═══════════ live ═══════════ */
.screen { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
body[data-live="true"] .screen { border-color: rgba(83, 252, 24, .45); box-shadow: 0 0 90px -35px rgba(83, 252, 24, .7); }
.screen__media { position: relative; aspect-ratio: 16/9; background: #0b0914; overflow: hidden; }
.screen__media img { width: 100%; height: 100%; object-fit: cover; }
body[data-live="false"] .screen__media img { filter: grayscale(.5) brightness(.5); }
.screen__tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 11px; border-radius: 8px; background: rgba(0, 0, 0, .6); font: italic 900 .8rem/1 Rubik; letter-spacing: .12em; color: var(--ink-2); }
body[data-live="true"] .screen__tag { background: var(--red); color: #fff; }
.screen__play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; border: 0; background: var(--kick); color: #051300; font-weight: 800; box-shadow: 0 10px 40px -6px rgba(83, 252, 24, .85); transition: transform .3s var(--spring); }
.screen__play:hover { transform: scale(1.06); }
.screen__play svg { width: 22px; height: 22px; fill: currentColor; }
.screen__info { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.screen__kicker { margin: 0; color: var(--hot); font-weight: 700; }
.screen__title { margin: 0; font: 800 clamp(1.35rem, 2.3vw, 1.8rem)/1.3 Rubik; }
.screen__meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.screen__meta li { padding: 6px 12px; border-radius: 999px; background: var(--hover); color: var(--ink-2); font-size: .9rem; font-variant-numeric: tabular-nums; }
.screen__meta b { color: var(--ink); }
.screen__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.screen__actions .btn { padding: 12px 18px; font-size: .95rem; }
.embed { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 12px; margin-top: 12px; }
.embed iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; background: #000; }
.embed__player { aspect-ratio: 16/9; }
.embed__chat { min-height: 420px; }
/* ═══════════ log ═══════════ */
.vod { flex: 0 0 clamp(250px, 28vw, 310px); scroll-snap-align: start; text-decoration: none; color: inherit; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s; }
.vod:hover { transform: translateY(-5px); border-color: var(--line-2); }
.vod__img { position: relative; aspect-ratio: 16/9; background: #110d1f; overflow: hidden; }
.vod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vod:hover .vod__img img { transform: scale(1.06); }
.vod__len { position: absolute; bottom: 8px; inset-inline-end: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .75); font-size: .8rem; font-variant-numeric: tabular-nums; direction: ltr; }
.vod__live { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 8px; border-radius: 6px; background: var(--red); font: italic 800 .75rem Rubik; letter-spacing: .08em; }
.vod__body { padding: 12px 14px 16px; }
.vod__body h3 { margin: 0; font-size: 1rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vod__body p { margin: 6px 0 0; color: var(--ink-3); font-size: .85rem; }
/* ═══════════ clip game ═══════════ */
.game { position: relative; padding: clamp(18px, 3vw, 30px); border-radius: 28px; background: linear-gradient(160deg, rgba(139, 92, 255, .12), rgba(255, 79, 216, .05) 50%, rgba(77, 225, 255, .08)); border: 1px solid var(--line); overflow: hidden; }
.game__hud { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.game__hud p { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--hover); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.game__hud b { color: var(--ink); font: italic 900 1.2rem Rubik; margin-inline-start: 6px; font-variant-numeric: tabular-nums; display: inline-block; }
.game__hud b.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); color: var(--kick); } }
.game__arena { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: clamp(10px, 2vw, 22px); }
.game__vs { align-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-solid); border: 2px solid var(--line-2); font: italic 900 1.1rem Rubik; position: relative; z-index: 2; }
.game__vs::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(139, 92, 255, .5); animation: spin 12s linear infinite; }
.game.is-right .game__vs { border-color: var(--kick); color: var(--kick); }
.game.is-wrong .game__vs { border-color: var(--red); color: var(--red); }
.gcard { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.gcard.enter { animation: cardIn .6s var(--spring) both; }
@keyframes cardIn { from { opacity: 0; transform: translateX(-60px) rotate(-3deg) scale(.95); } }
.gcard.ok { border-color: var(--kick); box-shadow: 0 0 50px -12px rgba(83, 252, 24, .8); }
.gcard.bad { border-color: var(--red); box-shadow: 0 0 50px -12px rgba(255, 59, 92, .8); animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.gcard__img { position: relative; aspect-ratio: 16/9; background: #000; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.gcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(18, 14, 34, .95)); pointer-events: none; }
.gcard__watch { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; transition: background .2s; }
.gcard__watch:hover { background: rgba(0, 0, 0, .8); }
.gcard__watch svg { width: 14px; height: 14px; fill: currentColor; }
.gcard__body { padding: 0 clamp(16px, 2vw, 24px) clamp(18px, 2vw, 24px); margin-top: -36px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gcard__title { margin: 0; font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.25 Rubik; }
.gcard__meta { margin: 0; color: var(--ink-3); font-size: .85rem; }
.gcard__views { margin: auto 0 0; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.gcard__views b { font: italic 900 clamp(2.2rem, 4.6vw, 3.4rem)/1 Rubik; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.gcard__views span { color: var(--ink-2); }
.gcard--q .gcard__views b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gcard__q { font: 800 1rem Rubik; color: var(--ink-2); margin: auto 0 0; padding-top: 6px; }
.gcard__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--hover); font-weight: 800; font-size: 1.05rem; transition: transform .2s var(--spring), background .2s, border-color .2s; }
.gbtn:hover { transform: translateY(-2px); }
.gbtn--up:hover { background: rgba(83, 252, 24, .15); border-color: var(--kick); }
.gbtn--down:hover { background: rgba(255, 59, 92, .15); border-color: var(--red); }
.gbtn:disabled { opacity: .5; pointer-events: none; }
.game__over { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; background: rgba(7, 6, 13, .82); backdrop-filter: blur(10px); animation: fade .4s both; }
@keyframes fade { from { opacity: 0; } }
.game__overK { margin: 0; color: var(--ink-2); font-weight: 600; }
.game__overN { margin: 0; font: italic 900 clamp(4rem, 12vw, 7rem)/1 Rubik; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.game__overT { margin: 0 0 14px; font-size: 1.2rem; font-weight: 700; max-width: 22em; }
.game__overA { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* ═══════════ youtube ═══════════ */
/* ═══════════ setup: tidy spec rows ═══════════ */
.rig { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.rig__col { display: flex; flex-direction: column; padding: clamp(10px, 1.4vw, 16px); border-radius: 26px; background: var(--panel); border: 1px solid var(--line); }
.rig__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px 16px; font: 900 1.4rem Rubik; border-bottom: 1px solid var(--line); }
.rig__h small { font: 600 .85rem Rubik; color: var(--ink-3); }
.parts { list-style: none; margin: 0; padding: 6px 0 0; }
.part { position: relative; display: grid; grid-template-columns: clamp(92px, 9vw, 128px) minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 1.6vw, 22px); padding: 12px; border-radius: 18px; transition: background .3s, transform .4s var(--ease); }
.part + .part::before { content: ""; position: absolute; top: 0; inset-inline: 12px; height: 1px; background: var(--line); transition: opacity .3s; }
.part:hover { background: var(--hover); transform: translateX(-6px); }
.part:hover::before, .part:hover + .part::before { opacity: 0; }
.part__img { aspect-ratio: 4/3; border-radius: 14px; display: grid; place-items: center; padding: 8px; background: radial-gradient(75% 75% at 50% 55%, color-mix(in srgb, var(--c) 32%, transparent), var(--hover) 75%); border: 1px solid var(--line); overflow: hidden; }
.part__img { position: relative; }
.part__img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); transition: transform .5s var(--spring); }
.part:hover .part__img img { transform: scale(1.12) rotate(-2deg); }
.part__kind { margin: 0; font-size: .82rem; font-weight: 700; color: var(--c); filter: brightness(1.15); }
.part__name { margin: 2px 0 0; font-weight: 800; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.3; direction: ltr; text-align: right; }
.part__note { margin: 3px 0 0; color: var(--ink-3); font-size: .9rem; }
.part__n { font: italic 900 1.5rem/1 Rubik; color: transparent; -webkit-text-stroke: 1px var(--line-2); direction: ltr; padding-inline-end: 6px; transition: -webkit-text-stroke-color .3s; }
.part:hover .part__n { -webkit-text-stroke-color: var(--c); }
/* ═══════════ motion: spotlight, ghost numbers, parallax ═══════════ */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(190, 160, 255, .13), transparent 60%); }
.spot:hover::after { opacity: 1; }
.discord.spot::after { z-index: -1; opacity: 1; width: 320px; height: 320px; inset: auto; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .25), transparent 70%); top: var(--my, -100px); left: var(--mx, -100px); transform: translate(-50%, -50%); }
.sec__head { position: relative; }
.sec__head::before { content: attr(data-n); position: absolute; z-index: -1; inset-inline-end: 0; top: 50%; translate: 0 -50%; pointer-events: none; direction: ltr;
  font: italic 900 clamp(8rem, 17vw, 15rem)/1 Rubik; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(190, 170, 255, .1); }
.cam { perspective: 1100px; }
.cam__tilt { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -9deg)) translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0); }
.cam__ring { translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 16px); }
.hero__bg img { translate: calc(var(--px, 0) * -26px) calc(var(--py, 0) * -18px); }
.title { translate: calc(var(--px, 0) * -8px) calc(var(--py, 0) * -6px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__copy, .cam { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 10% exit 90%; }
    @keyframes heroOut { to { opacity: 0; translate: 0 -90px; scale: .96; } }
    .sec__head::before { animation: ghost linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes ghost { from { translate: -14% -30%; } to { translate: 10% -70%; } }
    .screen__media img { animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { scale: 1.12; translate: 0 -3%; } to { scale: 1.02; translate: 0 3%; } }
  }
}
html.a11y-motion .cam__tilt, html.a11y-motion .cam__ring, html.a11y-motion .hero__bg img, html.a11y-motion .title { transform: none; translate: none; }
/* ═══════════ emotes ═══════════ */
.emotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px; }
.emote button { width: 100%; padding: 18px 8px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); display: grid; justify-items: center; gap: 8px; transition: transform .3s var(--spring), border-color .3s, background .3s; }
.emote img { width: 60px; height: 60px; object-fit: contain; animation: bob 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.emote span { font-size: .75rem; color: var(--ink-3); direction: ltr; word-break: break-all; }
.emote button:hover { transform: translateY(-4px) scale(1.05); border-color: var(--hot); background: rgba(139, 92, 255, .14); }
.emote button:active { transform: scale(.95); }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
/* ═══════════ community ═══════════ */
.comm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.discord { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-content: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(140deg, #5865f2, #3b2a9c 60%, #261b5c); transition: transform .4s var(--ease), box-shadow .4s; }
.discord::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .25), transparent 70%); top: var(--my, -100px); left: var(--mx, -100px); transform: translate(-50%, -50%); }
.discord:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(88, 101, 242, .9); }
.discord__icon { width: 80px; height: 80px; border-radius: 24px; background: rgba(255, 255, 255, .15); }
.discord__label { margin: 0; opacity: .8; font-size: .9rem; }
.discord__name { margin: 2px 0 8px; font: 900 1.9rem/1.1 Rubik; }
.discord__counts { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.discord__counts span { display: inline-flex; align-items: center; gap: 7px; }
.dot { background: rgba(255, 255, 255, .5); }
.dot--on { background: #3ba55d; box-shadow: 0 0 8px #3ba55d; }
.discord__go { grid-column: 1 / -1; justify-self: start; margin-top: 12px; padding: 12px 20px; border-radius: 14px; background: #fff; color: #3b2a9c; font-weight: 800; }
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.links a { display: grid; gap: 2px; height: 100%; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.links a::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.links a:hover { transform: translateY(-3px); border-color: var(--c); }
.links b { font-size: 1.05rem; }
.links span { color: var(--ink-3); font-size: .85rem; overflow-wrap: anywhere; }
/* ═══════════ footer ═══════════ */
/* ═══════════ modal ═══════════ */
.modal { padding: 0; border: 0; background: transparent; max-width: min(960px, 94vw); width: 100%; color: inherit; }
.modal::backdrop { background: rgba(4, 3, 9, .85); backdrop-filter: blur(8px); }
.modal__box { position: relative; border-radius: 20px; overflow: hidden; background: #0f0b1c; border: 1px solid var(--line-2); }
.modal video { width: 100%; max-height: 72vh; background: #000; display: block; }
.modal__info { padding: 14px 18px 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.modal__info h3 { margin: 0; font-size: 1.2rem; }
.modal__info p { margin: 0; color: var(--ink-3); flex: 1; }
.modal__x { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); font-size: 1.1rem; }
/* ═══════════ a11y ═══════════ */
.a11y-fab { position: fixed; z-index: 60; bottom: 18px; left: 18px; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; background: #1f5eff; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.a11y-fab svg { width: 28px; height: 28px; fill: currentColor; }
.a11y { position: fixed; z-index: 60; bottom: 84px; left: 18px; width: 220px; padding: 14px; border-radius: 16px; background: #15112a; border: 1px solid var(--line-2); display: grid; gap: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.a11y__h { margin: 0 0 4px; font-weight: 800; }
.a11y button { text-align: start; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--hover); }
.a11y button[aria-pressed="true"] { background: #1f5eff; border-color: #1f5eff; }
.a11y__reset { color: var(--ink-3); }
.a11y a { font-size: .85rem; padding: 4px 2px; }
html.a11y-contrast { --ink-2: #fff; --ink-3: #e6e6e6; --panel: #000; --panel-solid: #000; --line: #fff; --line-2: #fff; }
html.a11y-contrast body::before, html.a11y-contrast body::after, html.a11y-contrast .hero__bg { display: none; }
html.a11y-contrast body { background: #000; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 1px dashed #ffd84d; }
html.a11y-font body, html.a11y-font .title, html.a11y-font h2, html.a11y-font h3, html.a11y-font b { font-family: Arial, sans-serif !important; font-style: normal !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .rv { opacity: 1; transform: none; }
html.a11y-motion .cam__emotes { display: none; }
.toast { position: fixed; z-index: 70; bottom: 24px; left: 50%; transform: translate(-50%, 140%); padding: 12px 20px; border-radius: 12px; background: #fff; color: #120d22; font-weight: 700; transition: transform .4s var(--ease), visibility .4s; pointer-events: none; visibility: hidden; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
/* static pages */
.page { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 120px; }
.page h1 { font: 900 clamp(2rem, 5vw, 3rem)/1.1 Rubik; }
.page h2 { margin-top: 2em; font-size: 1.3rem; }
.page p, .page li { color: var(--ink-2); }
/* ═══════════ responsive ═══════════ */
@media (max-width: 900px) {
  .bar { padding-inline-start: 14px; }
  .bar__menu { display: flex; }
  .bar__nav { display: none; position: absolute; top: calc(100% + 8px); inset-inline: 0; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
  .bar__nav.is-open { display: flex; }
  .bar__nav button { text-align: start; padding: 14px 16px; font-size: 1.05rem; }
  .status { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "cam" "copy" "stats"; padding-top: 100px; text-align: center; min-height: 0; }
  .cam { width: min(82vw, 380px); }
  .title, .hero__motto { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .chip { justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 6px; }
  .stats > div { padding-bottom: 18px; }
  .screen, .comm, .rig { grid-template-columns: 1fr; }
  .embed { grid-template-columns: 1fr; }
  .embed__chat { height: 460px; }
  .game__arena { grid-template-columns: 1fr; }
  .game__vs { justify-self: center; margin: -32px 0; }
}
@media (max-width: 560px) {
  .logo__word { font-size: 1.05rem; }
  .status { padding: 8px 12px; font-size: .82rem; }
  .links { grid-template-columns: 1fr; }
  .part { grid-template-columns: 88px minmax(0, 1fr); }
  .part__n { display: none; }
  .rig__col { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .cam__emotes { display: none; }
}
/* ═══════════ round 4: themes, identity, story, log ═══════════ */
:root { --hover: rgba(255, 255, 255, .06); --bar-bg: rgba(14, 11, 26, .45); --bar-bg-2: rgba(14, 11, 26, .84); --glow: rgba(190, 160, 255, .13); --ghost: rgba(190, 170, 255, .1); }
html[data-theme="light"] {
  --bg: #f6f4fc; --bg-2: #ece8f8; --panel: rgba(255, 255, 255, .8); --panel-solid: #fff; --line: rgba(60, 30, 140, .12); --line-2: rgba(60, 30, 140, .24);
  --ink: #15102a; --ink-2: #463f63; --ink-3: #635c80; --violet: #6b3cf0; --pink: #cc189f; --cyan: #0a87ab; --red: #e0173f;
  --hover: rgba(60, 30, 140, .06); --bar-bg: rgba(255, 255, 255, .55); --bar-bg-2: rgba(255, 255, 255, .92); --glow: rgba(107, 60, 240, .08); --ghost: rgba(60, 30, 140, .08);
  color-scheme: light;
}
html[data-theme="light"] body[data-live="true"] { --hot: #1d8a00; }
html[data-theme="light"] body::after { opacity: .025; }
html[data-theme="light"] body::before { background: radial-gradient(70vw 60vh at 90% 0%, rgba(107, 60, 240, .12), transparent 70%), radial-gradient(50vw 50vh at 0% 45%, rgba(204, 24, 159, .06), transparent 70%), radial-gradient(60vw 50vh at 50% 110%, rgba(10, 135, 171, .07), transparent 70%), var(--bg); }
html[data-theme="light"] .hero__bg img { filter: blur(40px) saturate(1.3) brightness(1.15); opacity: .4; }

html[data-theme="light"] .cam__ring text { fill: rgba(60, 30, 140, .4); }
html[data-theme="light"] body[data-live="true"] .cam__ring text { fill: #1d8a00; }
html[data-theme="light"] .bar.is-scrolled { box-shadow: 0 18px 40px -24px rgba(40, 20, 90, .35); }
html[data-theme="light"] .chip { background: var(--panel); }
html[data-theme="light"] body[data-live="true"] .chip { color: #0f4a00; background: rgba(83, 252, 24, .18); border-color: rgba(29, 138, 0, .45); }
html[data-theme="light"] .screen, html[data-theme="light"] .rig__col, html[data-theme="light"] .card, html[data-theme="light"] .vod, html[data-theme="light"] .links a, html[data-theme="light"] .emote button, html[data-theme="light"] .kpi { box-shadow: 0 10px 30px -22px rgba(40, 20, 90, .45); }
html[data-theme="light"] .game { background: linear-gradient(160deg, rgba(107, 60, 240, .1), rgba(204, 24, 159, .04) 50%, rgba(10, 135, 171, .07)); }
html[data-theme="light"] .gcard__img::after { background: linear-gradient(transparent 40%, rgba(255, 255, 255, .97)); }
html[data-theme="light"] body[data-live="false"] .screen__media img { filter: grayscale(.4) brightness(.8); }
.spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%); }
.sec__head::before { -webkit-text-stroke-color: var(--ghost); }
body { transition: background-color .4s, color .4s; }
/* theme toggle */
.theme-btn { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--hover); color: var(--ink); transition: transform .5s var(--spring), background .3s; }
.theme-btn:hover { transform: rotate(25deg) scale(1.06); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
html[data-theme="light"] .theme-btn .i-sun { display: block; }
html[data-theme="light"] .theme-btn .i-moon { display: none; }
/* identity: avatar ring + wordmark */
.logo { gap: 12px; }
.logo__ava { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; padding: 3px; isolation: isolate; }
.logo__ava::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 50%; background: conic-gradient(var(--pink), var(--violet), var(--cyan), var(--pink)); animation: spin 5s linear infinite; }
.logo__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 40% 35%; border: 2px solid var(--panel-solid); background: var(--panel-solid); transition: transform .5s var(--spring); }
.logo:hover .logo__ava img { transform: scale(1.08); }
.logo:hover .logo__ava::before { animation-duration: 1.4s; }
.logo__live { position: absolute; bottom: -5px; left: 50%; translate: -50% 0; padding: 2px 5px; border-radius: 4px; background: var(--red); color: #fff; font: italic 900 .55rem/1 Rubik; letter-spacing: .1em; border: 2px solid var(--panel-solid); display: none; }
body[data-live="true"] .logo__ava::before { background: conic-gradient(var(--kick), #c8ff9e, var(--kick), #1d8a00, var(--kick)); animation-duration: 1.6s; }
body[data-live="true"] .logo__live { display: block; }
.logo__txt { display: grid; gap: 5px; }
.logo__word { font: italic 900 1.32rem/1 Rubik; letter-spacing: -.015em; }
.logo__sub { font: 600 .72rem/1 Rubik; color: var(--ink-3); letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.logo__sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
body[data-live="true"] .logo__sub { color: var(--hot); }
body[data-live="true"] .logo__sub::before { background: var(--kick); box-shadow: 0 0 8px var(--kick); animation: pulseDark 1.2s infinite; }
/* story */
/* stream log v2 */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.kpi { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.kpi dt { color: var(--ink-3); font-size: .85rem; }
.kpi dd { margin: 6px 0 0; font: italic 900 clamp(1.6rem, 2.6vw, 2.3rem)/1 Rubik; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi small { display: block; margin-top: 6px; color: var(--ink-3); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, 1fr); gap: 16px; }
.card { padding: clamp(18px, 2vw, 26px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.card__h { margin: 0; font: 800 1.12rem Rubik; }
.card__sub { margin: 4px 0 18px; color: var(--ink-3); font-size: .88rem; }
.catbar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--hover); gap: 2px; }
.catbar i { height: 100%; flex: 0 0 auto; width: 0; transition: width 1.2s var(--ease); }
.cats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.cats li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; font-size: .95rem; }
.cats li i { width: 12px; height: 12px; border-radius: 4px; }
.cats li b { font-weight: 600; }
.cats li span { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
/* gear: original photos on white tiles */
.part__img { background: #fff; padding: 0; border: 1px solid var(--line); }
.part__img img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); filter: none; }
.part:hover .part__img img { transform: scale(1.06); }
@media (max-width: 1180px) {
  .board { grid-template-columns: 1fr 1fr; }
  .board .card:first-child { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .logo__sub { display: none; }
  .logo__ava { width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .board { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .theme-btn { width: 38px; height: 38px; }
  .logo__word { font-size: 1.05rem; }
}
html[data-theme="light"] .part__kind { color: color-mix(in srgb, var(--c) 45%, var(--ink)); filter: none; }
html[data-theme="light"] .part__n { -webkit-text-stroke-color: rgba(60, 30, 140, .25); }
/* ═══════════ round 5: realtime viewers, gear stage ═══════════ */
.meta-v { position: relative; }
@keyframes pop { 0% { opacity: 0; translate: 0 6px; scale: .7; } 12% { opacity: 1; translate: 0 0; scale: 1; } 75% { opacity: 1; } 100% { opacity: 0; translate: 0 -8px; } }
/* gear: official product photos on a neutral studio tile (same in both themes).
   White-background photos use multiply so their white disappears into the tile — no cutting. */
.part__img { background: radial-gradient(90% 90% at 50% 40%, #ffffff, #e9ebf2); border: 1px solid var(--line); box-shadow: inset 0 -10px 20px -14px rgba(20, 10, 60, .25); }
.part__img img { mix-blend-mode: multiply; filter: none; }
.status__txt { direction: ltr; unicode-bidi: isolate; }
/* ═══════════ round 6 ═══════════ */
/* fluid scale: the whole site grows on big monitors instead of floating in a narrow column.
   16px at 1440w → 18px at 1920w → ~21px at 2560w; content width follows in rem. */
html { font-size: calc(clamp(15px, 0.42vw + 10px, 22px) * var(--fs)); }
:root { --max: min(94vw, 96rem); --pad: clamp(16px, 3.2vw, 4rem); }
.bar { width: min(var(--max), calc(100% - 24px)); }
.cam { width: min(100%, 36rem); }
.embed { grid-template-columns: minmax(0, 1fr) 22rem; }
.logo__ava { width: 2.9rem; height: 2.9rem; }
/* image loading: soft fade-in over a shimmer, no hard pop-in */
img.fade { opacity: 0; transition: opacity .7s var(--ease); }
img.fade.ok { opacity: 1; }
.vod__img, .gcard__img, .screen__media { background: linear-gradient(100deg, var(--hover) 20%, rgba(190, 170, 255, .1) 40%, var(--hover) 60%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.vod__img:has(img.ok), .gcard__img:has(img.ok), .screen__media:has(img[src]) { animation: none; background: #0b0914; }
@keyframes shimmer { to { background-position: -300% 0; } }
/* viewer number: swap in place */
.num { display: inline-grid; direction: ltr; unicode-bidi: isolate; vertical-align: baseline; overflow: hidden; font-variant-numeric: tabular-nums; }
.num__v { grid-area: 1 / 1; }
.num__v.in.up { animation: numInUp .55s var(--ease) both; }
.num__v.in.down { animation: numInDown .55s var(--ease) both; }
.num__v.out.up { animation: numOutUp .55s var(--ease) both; }
.num__v.out.down { animation: numOutDown .55s var(--ease) both; }
@keyframes numInUp { from { transform: translateY(70%); opacity: 0; } }
@keyframes numInDown { from { transform: translateY(-70%); opacity: 0; } }
@keyframes numOutUp { to { transform: translateY(-70%); opacity: 0; } }
@keyframes numOutDown { to { transform: translateY(70%); opacity: 0; } }
.status .num { color: inherit; }
/* calendar */
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card__range { color: var(--ink-3); font-size: .88rem; font-weight: 600; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__wd { text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink-3); padding-bottom: 4px; }
.cal__d { position: relative; aspect-ratio: 1 / .82; border-radius: 10px; padding: 6px 7px; display: flex; flex-direction: column; justify-content: space-between; background: var(--hover); border: 1px solid transparent; color: var(--ink-2); text-decoration: none; transform: scale(.85); opacity: 0; transition: transform .5s var(--spring), opacity .4s, border-color .2s, box-shadow .2s; transition-delay: var(--d, 0s); }
.cal.in .cal__d { transform: none; opacity: 1; }
.cal__n { font-size: .78rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.cal__h { align-self: flex-end; font: 800 .74rem/1 Rubik; direction: rtl; }
.cal__d[data-l="1"] { background: rgba(139, 92, 255, .22); color: var(--ink); }
.cal__d[data-l="2"] { background: rgba(139, 92, 255, .45); color: #fff; }
.cal__d[data-l="3"] { background: var(--violet); color: #fff; box-shadow: 0 6px 18px -8px var(--violet); }
.cal__d[data-l="4"] { background: linear-gradient(140deg, var(--violet), var(--pink)); color: #fff; box-shadow: 0 6px 20px -6px var(--pink); }
.cal__d.is-today { border-color: var(--cyan); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 30%, transparent); }
.cal__d.is-live { background: var(--kick); color: #051300; box-shadow: 0 0 22px -4px var(--kick); }
.cal__d.is-future { opacity: .25 !important; background: transparent; border: 1px dashed var(--line); }
a.cal__d:hover { transform: translateY(-2px) scale(1.04); border-color: var(--line-2); z-index: 1; }
.cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 16px; color: var(--ink-3); font-size: .78rem; }
.cal__legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--hover); }
.cal__legend i:nth-of-type(2) { background: rgba(139, 92, 255, .45); }
.cal__legend i:nth-of-type(3) { background: var(--violet); }
.cal__legend i:nth-of-type(4) { background: linear-gradient(140deg, var(--violet), var(--pink)); }
.cal__legend i.is-today { background: transparent; border: 2px solid var(--cyan); margin-inline-start: 10px; }
/* weekday chart */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; flex: 1; min-height: 200px; }
.week__col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; height: 100%; }
.week__val { font: 800 .82rem Rubik; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.week__bar { position: relative; width: 100%; max-width: 44px; height: 100%; border-radius: 10px; background: var(--hover); overflow: hidden; display: flex; align-items: flex-end; }
.week__bar i { width: 100%; height: 0; border-radius: 10px; background: linear-gradient(to top, var(--violet), color-mix(in srgb, var(--violet) 60%, var(--cyan))); transition: height 1.1s var(--ease); }
.card.in .week__bar i, html.a11y-motion .week__bar i { height: var(--h); }
.week__col.is-best .week__bar i { background: linear-gradient(to top, var(--violet), var(--pink)); box-shadow: 0 0 20px -4px var(--pink); }
.week__col.is-best .week__val { color: var(--pink); }
.week__day { font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.week__col.is-today .week__day { color: var(--cyan); }
.week__tip { margin: 14px 0 0; color: var(--ink-2); font-size: .9rem; }
.week__tip b { color: var(--ink); }
/* recent streams carousel */
.vods { margin-top: clamp(28px, 4vw, 48px); }
.vods__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vods__head h3 { margin: 0; font: 900 1.4rem Rubik; }
.vods__nav { display: flex; gap: 8px; }
.arrow { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); display: grid; place-items: center; transition: background .25s, transform .25s var(--spring), opacity .25s; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--violet); transform: scale(1.08); }
.arrow:hover:not(:disabled) svg { stroke: #fff; }
.arrow:disabled { opacity: .3; cursor: default; }
.vods__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: -12px 0; padding: 12px 0; }
.vods__viewport::-webkit-scrollbar { display: none; }
.vods__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
.vods__track .vod { scroll-snap-align: start; flex: none; }
.vod__date { position: absolute; top: 10px; inset-inline-end: 10px; display: grid; justify-items: center; min-width: 44px; padding: 5px 8px 6px; border-radius: 10px; background: rgba(8, 6, 16, .72); backdrop-filter: blur(6px); color: #fff; font-size: .7rem; line-height: 1.1; }
.vod__date b { font: 900 1.15rem/1 Rubik; }
.vod__live { inset-inline-start: 10px; top: 10px; }
.vods__bar { position: relative; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--hover); overflow: hidden; }
.vods__bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--grad); transition: inset-inline-start .3s var(--ease), width .3s; }
/* youtube: player + up next */
/* setup: room art fills the desk column */
/* platform logos */
.links a { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.links__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .35s var(--spring), background .3s; }
.links__ico svg { width: 24px; height: 24px; fill: var(--c); }
.links a:hover .links__ico { transform: rotate(-8deg) scale(1.08); background: var(--c); }
.links a:hover .links__ico svg { fill: #fff; }
.links__txt { display: grid; min-width: 0; }
.links__txt b { font-size: 1.05rem; }
.links__txt small { color: var(--ink-3); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links__go { color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.links a:hover .links__go { color: var(--c); transform: translate(-3px, -3px); }
.links a::before { display: none; }
.discord__label svg { width: 16px; height: 16px; fill: #fff; vertical-align: -3px; }
/* footer outro */
.outro { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(100px, 16vh, 180px); padding: clamp(60px, 10vh, 120px) var(--pad) 110px; text-align: center; }
.outro::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 70% at 50% 100%, color-mix(in srgb, var(--violet) 35%, transparent), transparent 70%), radial-gradient(40% 50% at 15% 100%, color-mix(in srgb, var(--pink) 20%, transparent), transparent 70%), radial-gradient(40% 50% at 85% 100%, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 70%); }
.outro::after { content: ""; position: absolute; z-index: -1; top: 0; inset-inline: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.outro__kicker { margin: 0; color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }
.outro__word { display: block; margin: 10px auto 0; direction: ltr; font: italic 900 clamp(4rem, 17vw, 19rem)/.85 Rubik; letter-spacing: -.045em; text-decoration: none; color: var(--ink); transition: letter-spacing .8s var(--ease); }
.outro__word i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .05em; }
.outro__word:hover { letter-spacing: -.02em; }
.outro__motto { margin: 16px 0 0; font: italic 700 clamp(1rem, 1.6vw, 1.4rem) Rubik; color: var(--ink-2); }
.outro__social { list-style: none; margin: 34px 0 0; padding: 0; display: flex; justify-content: center; gap: 12px; }
.outro__social a { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); transition: transform .35s var(--spring), background .3s, border-color .3s; }
.outro__social svg { width: 22px; height: 22px; fill: var(--ink); transition: fill .3s; }
.outro__social a:hover { transform: translateY(-4px) scale(1.06); background: var(--c); border-color: var(--c); }
.outro__social a:hover svg { fill: #fff; }
.outro__nav { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.outro__nav button { background: none; border: 0; padding: 8px 14px; border-radius: 999px; color: var(--ink-3); font-weight: 600; transition: color .2s, background .2s; }
.outro__nav button:hover { color: var(--ink); background: var(--hover); }
.outro__fine { margin: 26px 0 0; color: var(--ink-3); font-size: .82rem; }
.outro__fine a { color: var(--ink-3); }
@media (min-width: 1800px) {
  .vods__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}
@media (max-width: 1180px) {
  .vods__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 760px) {
  .vods__track { grid-auto-columns: 78%; }
  .cal__h { font-size: .62rem; }
  .cal__n { font-size: .68rem; }
  .cal { gap: 4px; }
  .cal__d { padding: 4px 5px; border-radius: 8px; }
  .vods__nav { display: none; }
}
html.a11y-motion .cal__d { opacity: 1; transform: none; }
html[data-theme="light"] .cal__d[data-l="1"] { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .cal__d { opacity: 1; transform: none; }
  img.fade { opacity: 1; }
}
/* ═══════════ round 7 ═══════════ */
/* calendar: every cell carries its month */
.cal__d { aspect-ratio: 1 / .9; }
.cal__n { display: flex; align-items: baseline; gap: 4px; font-size: inherit; }
.cal__n b { font: 800 .95rem/1 Rubik; }
.cal__n small { font-size: .68rem; font-weight: 600; opacity: .72; }
/* live preview inside the card */
.screen__preview { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
.screen__media.is-previewing .screen__preview { opacity: 1; }
.screen__media.is-previewing #screenImg { opacity: 0; transition: opacity .8s; }
.screen__media .screen__tag, .screen__play { z-index: 2; }
.screen__play { inset: auto 0 18px 0; margin: 0 auto; }
.screen__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent 60%, rgba(5, 4, 10, .55)); }
/* YouTube: a shelf per channel */
.modal__yt { position: relative; aspect-ratio: 16/9; background: #000; }
.modal__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#ytModal { max-width: min(1100px, 94vw); }
/* setup: columns keep their own height now */
.rig { align-items: start; }
/* footer wordmark: room for the italic overhang of the last letter */
.outro__word { font-size: clamp(3.6rem, 15vw, 17rem); padding: 0 .12em; overflow: visible; }
.outro__word i { padding-inline-end: .14em; margin-inline-end: -.08em; }
/* top-bar avatar: face first, small LIVE tag tucked under the ring */
.logo__ava img { object-position: 50% 40%; }
.logo__live { bottom: -7px; padding: 1px 4px; font-size: .5rem; letter-spacing: .06em; border-width: 1.5px; border-radius: 3px; }
@media (max-width: 1180px) {
}
@media (max-width: 640px) {
  .cal__n { flex-direction: column; gap: 1px; }
  .cal__n b { font-size: .8rem; }
  .cal__n small { font-size: .56rem; }
  .cal__d { aspect-ratio: 1 / 1.15; }
}

/* hero tilt: JS sets the target, CSS eases. Fast while the mouse moves, slow glide back to 0 on leave. */
.cam__tilt { transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.cam__ring, .hero__bg img, .title { transition: translate 1.1s cubic-bezier(.22, 1, .36, 1); }
.hero.is-tracking .cam__tilt, .hero.is-tracking .cam__ring, .hero.is-tracking .hero__bg img, .hero.is-tracking .title { transition-duration: .45s; }

/* ═══════════ hero intro ═══════════
   1. fonts are ready → the title splits into letters
   2. letters rise out of a soft blur, one after another (no clip-path, so nothing gets cut)
   3. the glow is its own layer *behind* the word: it blooms in after the letters land, then breathes slowly
   4. chip → motto → lead → buttons → stats follow in a short cascade; the facecam swings in alongside
   Without JS, or with reduced motion, everything is simply shown. */
.title { position: relative; isolation: isolate; }
.title > span { display: block; position: relative; }
.title__a { color: var(--ink); }
.title__b { color: var(--violet); padding-inline-end: .08em; }
.title .ch { display: inline-block; white-space: pre; }
/* LIFE keeps one continuous gradient across its letters: every letter paints the word-wide gradient, offset to its own position */
.title__b .ch { color: transparent; background: var(--grad) no-repeat; background-size: var(--w, 4em) 100%; background-position: calc(var(--off, 0px) * -1) 0; -webkit-background-clip: text; background-clip: text; padding-inline-end: .1em; margin-inline-end: -.1em; }

.title::before { content: ""; position: absolute; z-index: -1; inset: 8% -6% -4% 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(45% 55% at 62% 72%, color-mix(in srgb, var(--pink) 70%, transparent), transparent 70%), radial-gradient(40% 50% at 82% 70%, color-mix(in srgb, var(--cyan) 55%, transparent), transparent 70%), radial-gradient(55% 60% at 45% 25%, color-mix(in srgb, var(--violet) 55%, transparent), transparent 72%);
  filter: blur(42px); opacity: 0; transform: scale(.8); }
html[data-theme="light"] .title::before { mix-blend-mode: multiply; }

/* before the intro starts (JS present): keep the hero copy hidden so nothing flashes unsplit */
.js:not(.intro):not(.intro-done) .hero__copy > *, .js:not(.intro):not(.intro-done) .stats { opacity: 0; }

.intro .title .ch { opacity: 0; transform: translateY(.42em) rotate(5deg) scale(.96); filter: blur(16px); animation: chIn 1s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(140ms + var(--i) * 55ms); }
@keyframes chIn { 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
.intro .title::before { animation: glowIn 1.6s cubic-bezier(.22, 1, .36, 1) .75s forwards, breathe 7s ease-in-out 2.4s infinite; }
@keyframes glowIn { to { opacity: .8; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .8; transform: none; } 50% { opacity: .58; transform: scale(1.06) translateX(-2%); } }
.intro-done .title::before { opacity: .8; transform: none; animation: breathe 7s ease-in-out infinite; }

.intro .hero__copy > .chip { animation: up .8s cubic-bezier(.16, 1, .3, 1) .05s both; }
.intro .hero__motto { animation: up .9s cubic-bezier(.16, 1, .3, 1) .7s both; }
.intro .hero__lead { animation: up .9s cubic-bezier(.16, 1, .3, 1) .8s both; }
.intro .hero__cta { animation: up .9s cubic-bezier(.16, 1, .3, 1) .9s both; }
.intro .stats { animation: up 1s cubic-bezier(.16, 1, .3, 1) 1.05s both; }
@keyframes up { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.cam__frame { animation-delay: .35s; }

html.a11y-motion .title .ch, html.a11y-motion .title::before { animation: none !important; opacity: 1; transform: none; filter: none; }
html.a11y-motion .title::before { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .title .ch { opacity: 1 !important; transform: none !important; filter: none !important; } .title::before { opacity: .5 !important; transform: none !important; } }
.title__b:not(:has(.ch)) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═══════════ top bar intro ═══════════
   0.00s capsule drops in on a spring · 0.20s avatar ring spins open · 0.30s wordmark slides in
   0.35s nav items cascade · 0.45s a light sweeps once around the capsule's edge · 0.70s live pill pops
   All entrance animations fill "backwards" only, so they never lock the bar's later states. */
.js:not(.intro):not(.intro-done) .bar { opacity: 0; }
.bar::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, var(--cyan) 46%, #fff 50%, var(--pink) 54%, transparent 65%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.intro .bar { animation: barIn .95s cubic-bezier(.16, 1, .3, 1) backwards; }
.intro .bar::after { animation: sweep 1.5s cubic-bezier(.65, 0, .35, 1) .45s; }
.intro .logo__ava { animation: avaIn .9s cubic-bezier(.34, 1.56, .64, 1) .2s backwards; }
.intro .logo__word { animation: wordIn .8s cubic-bezier(.16, 1, .3, 1) .3s backwards; }
.intro .logo__sub { animation: fadeIn .6s ease .5s backwards; }
.intro .bar__nav button { animation: navIn .7s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(.35s + var(--n, 0) * 55ms); }
.bar__nav button:nth-child(2) { --n: 1; } .bar__nav button:nth-child(3) { --n: 2; } .bar__nav button:nth-child(4) { --n: 3; } .bar__nav button:nth-child(5) { --n: 4; } .bar__nav button:nth-child(6) { --n: 5; }
.intro .status { animation: pillIn .75s cubic-bezier(.34, 1.56, .64, 1) .7s backwards; }
.intro .theme-btn, .intro .bar__menu { animation: pillIn .7s cubic-bezier(.34, 1.56, .64, 1) .8s backwards; }
@keyframes barIn { from { opacity: 0; transform: translateY(-130%) scale(.94); } 60% { opacity: 1; } }
@keyframes sweep { 0% { opacity: 0; background-position: 130% 0; } 12%, 80% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
@keyframes avaIn { from { opacity: 0; transform: scale(.3) rotate(-120deg); } }
@keyframes wordIn { from { opacity: 0; transform: translateX(-16px); filter: blur(6px); clip-path: inset(0 100% 0 0); } to { clip-path: inset(-20% -10% -20% -10%); } }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes pillIn { from { opacity: 0; transform: scale(.55); } }
@keyframes fadeIn { from { opacity: 0; } }
html.a11y-motion .bar, html.a11y-motion .bar *, html.a11y-motion .bar::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .bar, .bar *, .bar::after { animation: none !important; } }

/* ═══════════ scroll motion ═══════════
   • blocks rise + settle (opacity, translate, a hair of scale); siblings cascade automatically
   • section headings arrive in three beats — label slides in, title rises, subtitle follows
   • the ghost number fades in with its heading; bars grow and numbers count up only once they're seen
*/
.rv { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.sec__head.rv { opacity: 1; transform: none; }
.sec__head.rv > * { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.sec__head.rv > .sec__num { transform: translateX(-28px); }
.sec__head.rv > :nth-child(2) { transition-delay: .08s; }
.sec__head.rv > :nth-child(3) { transition-delay: .18s; }
.sec__head.rv.in > * { opacity: 1; transform: none; }
.sec__head::before { opacity: 0; transition: opacity 1.4s ease .25s; }
.sec__head.in::before { opacity: 1; }
.catbar i { width: 0; transition: width 1.3s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.card.in .catbar i { width: var(--w); }

html.a11y-motion .rv, html.a11y-motion .sec__head.rv > *, html.a11y-motion .sec__head::before { opacity: 1 !important; transform: none !important; filter: none !important; }
html.a11y-motion .catbar i { width: var(--w); }
@media (prefers-reduced-motion: reduce) { .rv, .sec__head.rv > *, .sec__head::before { opacity: 1 !important; transform: none !important; filter: none !important; } .catbar i { width: var(--w); } }

/* sub-pages (accessibility, about, 404) */
.subpage .bar { justify-content: space-between; }
.back-link { margin-inline-start: auto; padding: 9px 16px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; background: var(--hover); transition: color .2s, background .2s; }
.back-link:hover { color: var(--ink); background: color-mix(in srgb, var(--violet) 18%, transparent); }
.page { min-height: 70vh; padding-top: clamp(120px, 16vh, 170px); }
.page h1 { margin: 0 0 18px; }
.page ul { padding-inline-start: 1.2em; display: grid; gap: 6px; }
.page a { color: var(--cyan); }
.page--404 { text-align: center; display: grid; justify-items: center; align-content: center; }
.e404 { margin: 0; font: italic 900 clamp(6rem, 22vw, 14rem)/.9 Rubik; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .08em; }
.subfoot { padding: 40px var(--pad) 110px; text-align: center; color: var(--ink-3); font-size: .85rem; border-top: 1px solid var(--line); }
.subfoot a { color: var(--ink-3); }

/* facecam overlay: the frame swings in first; only after it lands do the overlay pieces arrive on their own —
   corners trace in, the name plate slides up, and the LIVE tag drops in last with a small bounce. */
.intro .cam__corner { animation: fadeIn .5s ease 1.15s backwards; }
.intro .cam__plate { animation: plateIn .8s cubic-bezier(.16, 1, .3, 1) 1.2s backwards; }
.intro .cam__tag { animation: tagIn .75s cubic-bezier(.34, 1.56, .64, 1) 1.45s backwards; }
@keyframes plateIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes tagIn { from { opacity: 0; transform: translateY(-16px) scale(.4); } 55% { opacity: 1; } }
body[data-live="true"] .intro .cam__tag { animation: tagIn .75s cubic-bezier(.34, 1.56, .64, 1) 1.45s backwards, tagFlash 1.2s ease-out 2.1s; }
@keyframes tagFlash { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); } 100% { box-shadow: 0 0 0 16px rgba(255, 59, 92, 0); } }
html.a11y-motion .cam__tag, html.a11y-motion .cam__plate, html.a11y-motion .cam__corner { animation: none !important; }

/* game: sound toggle */
.game__hud { align-items: center; }
.game__sfx { width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 1px solid var(--line); background: var(--hover); display: grid; place-items: center; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s; }
.game__sfx:hover { transform: scale(1.08); }
.game__sfx svg { width: 20px; height: 20px; fill: var(--ink); stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.game__sfx .i-off, .game__sfx.is-off .i-on { display: none; }
.game__sfx.is-off .i-off { display: block; }
.game__sfx.is-off { opacity: .6; }

/* ═══════════ YouTube: two channels side by side — featured video + a short list ═══════════ */
.ytch-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.ytch { display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 1.6vw, 20px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.ytch__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ytch__ava { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--panel-solid), 0 0 0 4px #ff0033; }
.ytch__id { min-width: 0; }
.ytch__id h3 { margin: 0; display: flex; align-items: center; gap: 7px; font: 900 1.12rem/1.2 Rubik; direction: ltr; justify-content: flex-end; }
.ytch__yt { width: 1.15rem; height: 1.15rem; flex: none; fill: #ff0033; }
.ytch__id p { margin: 2px 0 0; color: var(--ink-3); font-size: .82rem; }
.ytch__sub { padding: 8px 16px; border-radius: 999px; background: #ff0033; color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s; }
.ytch__sub:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px #ff0033; }

.ytf { all: unset; cursor: pointer; display: grid; gap: 8px; border-radius: 16px; }
.ytf:focus-visible, .ytl__item:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ytf__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b0914; }
.ytf__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.ytf:hover .ytf__thumb img { transform: scale(1.04); }
.ytf__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(5, 4, 10, .55)); pointer-events: none; }
.ytf__play { position: absolute; z-index: 1; inset: 0; margin: auto; width: 58px; height: 41px; border-radius: 12px; background: #ff0033; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.ytf__play svg { width: 22px; height: 22px; fill: #fff; }
.ytf:hover .ytf__play { transform: scale(1.1); }
.ytf__new { position: absolute; z-index: 1; top: 10px; inset-inline-start: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(8, 6, 16, .7); color: #fff; font-size: .72rem; font-weight: 700; backdrop-filter: blur(6px); }
.ytf__title { font-weight: 800; font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ytf__meta { margin-top: -4px; color: var(--ink-3); font-size: .82rem; }

.ytl { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.ytl__item { width: 100%; display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px; border: 0; border-radius: 12px; background: none; text-align: start; transition: background .2s; }
.ytl__item:hover { background: var(--hover); }
.ytl__thumb { aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #0b0914; }
.ytl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ytl__txt { display: grid; gap: 3px; min-width: 0; }
.ytl__txt b { font-size: .9rem; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ytl__txt small { color: var(--ink-3); font-size: .76rem; }
.ytch__more { align-self: flex-start; color: var(--ink-2); font-size: .85rem; font-weight: 600; text-decoration: none; padding: 4px 6px; border-radius: 8px; }
.ytch__more:hover { color: var(--ink); background: var(--hover); }
@media (max-width: 900px) { .ytch-wrap { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ytl__item { grid-template-columns: 6rem minmax(0, 1fr); } }

/* logo → back to top: a quick press + the avatar ring spins once while the page glides up */
.logo.is-pressed .logo__ava { animation: logoPress .7s cubic-bezier(.34, 1.56, .64, 1); }
.logo.is-pressed .logo__ava img { animation: logoSpin .9s cubic-bezier(.22, 1, .36, 1); }
@keyframes logoPress { 30% { transform: scale(.86); } }
@keyframes logoSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
#heroTitle:focus { outline: none; }
html.a11y-motion .logo.is-pressed .logo__ava, html.a11y-motion .logo.is-pressed .logo__ava img { animation: none; }
