/* The Late Build: late-night creator hub. Light + dark via tokens. Animations are progressive enhancement. */
:root {
  --bg: #f7f2ff; --bg2: #ece3ff; --surface: #ffffff; --surface2: #f3ecff;
  --ink: #1a1030; --muted: #54476f; --line: #d9cdf5;
  --pink: #d4006f; --pink-soft: #ff2d95; --violet: #5a1fe0; --violet-soft: #8a5cff; --gold: #ffb800; --cyan: #0097b8;
  --link: #5a1fe0; --link-h: #d4006f;
  --on-accent: #ffffff;
  --shadow: 0 10px 30px rgba(60, 20, 120, .14);
  --glow: 0 0 0 1px rgba(90, 31, 224, .25), 0 12px 40px rgba(212, 0, 111, .22);
  --sun1: #ffb800; --sun2: #ff2d95; --grid: rgba(90, 31, 224, .45); --sky1: #efe4ff; --sky2: #ffd8ec;
  --hero-ink: #1a1030;
  --scan: rgba(26, 16, 48, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0716; --bg2: #130b28; --surface: #160e2d; --surface2: #1d1240; --ink: #f4efff; --muted: #b9acdc; --line: #33245e;
    --pink: #ff4fa8; --pink-soft: #ff4fa8; --violet: #a47bff; --violet-soft: #a47bff; --gold: #ffc933; --cyan: #3be8ff;
    --link: #8fe9ff; --link-h: #ffc933; --on-accent: #1a0930;
    --shadow: 0 10px 30px rgba(0, 0, 0, .5); --glow: 0 0 0 1px rgba(255, 79, 168, .5), 0 12px 44px rgba(255, 79, 168, .28);
    --sun1: #ffc933; --sun2: #ff3d9a; --grid: rgba(164, 123, 255, .75); --sky1: #1a0b3d; --sky2: #3b0b52; --hero-ink: #f4efff; --scan: rgba(255, 255, 255, .05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0716; --bg2: #130b28; --surface: #160e2d; --surface2: #1d1240; --ink: #f4efff; --muted: #b9acdc; --line: #33245e;
  --pink: #ff4fa8; --pink-soft: #ff4fa8; --violet: #a47bff; --violet-soft: #a47bff; --gold: #ffc933; --cyan: #3be8ff;
  --link: #8fe9ff; --link-h: #ffc933; --on-accent: #1a0930;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5); --glow: 0 0 0 1px rgba(255, 79, 168, .5), 0 12px 44px rgba(255, 79, 168, .28);
  --sun1: #ffc933; --sun2: #ff3d9a; --grid: rgba(164, 123, 255, .75); --sky1: #1a0b3d; --sky2: #3b0b52; --hero-ink: #f4efff; --scan: rgba(255, 255, 255, .05);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--link-h); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1030; padding: 8px 14px; z-index: 100; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.small { font-size: .875rem; color: var(--muted); }
h1, h2, h3 { font-family: Anton, Impact, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .01em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-transform: uppercase; margin-top: 2.2em; }
h3 { font-size: 1.35rem; margin-top: 1.6em; letter-spacing: .02em; }
h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: .35em; background: linear-gradient(90deg, var(--pink-soft), var(--gold)); border-radius: 3px; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
code, kbd { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface2); padding: .1em .35em; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .97rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "JetBrains Mono", monospace; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 50%; }
.brand-t { font-family: Anton, Impact, sans-serif; font-size: 1.35rem; letter-spacing: .04em; }
.brand-t b { color: var(--gold); font-weight: 400; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface2); color: var(--pink); }
.theme-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { border-color: var(--pink-soft); color: var(--pink); }
.ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: none; } :root[data-theme="dark"] .ico-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico-sun { display: none; } :root:not([data-theme="light"]) .ico-moon { display: block; } }
@media (max-width: 820px) { .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .theme-toggle { margin-left: auto; } .nav a { white-space: nowrap; } }

/* ---------- breadcrumbs / page head ---------- */
.page-head { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-bottom: 1px solid var(--line); padding: 28px 0 34px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--pink-soft), var(--gold), var(--cyan)); opacity: .9; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .85rem; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.crumbs li { margin: 0; } .crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.lead { font-size: 1.22rem; max-width: 62ch; color: var(--muted); margin: .6em 0 0; }
.content { padding-block: 36px 60px; }
.content > h2:first-child { margin-top: .4em; }
.content p, .content li { max-width: 74ch; }
.content table, .content .fig, .content .grid, .content .cards, .content .stats, .content .callout, .content .post-list { max-width: none; }

/* ---------- figures ---------- */
.fig { margin: 1.6em 0; }
.fig img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.fig figcaption { font-size: .88rem; color: var(--muted); margin-top: .6em; max-width: 74ch; }
.fig-sm { max-width: 460px; } .fig-md { max-width: 700px; }
.fig-right { float: right; margin: .3em 0 1em 1.6em; max-width: 340px; } @media (max-width: 760px) { .fig-right { float: none; max-width: 100%; margin: 1.2em 0; } }
.fig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 1.6em 0; }
.fig-grid .fig { margin: 0; }

/* ---------- callouts, chips ---------- */
.callout { border: 1px solid var(--line); border-left: 6px solid var(--gold); background: var(--surface); padding: 14px 18px; border-radius: 12px; margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--pink-soft); }
.callout-info { border-left-color: var(--cyan); }
.callout strong:first-child { font-family: "JetBrains Mono", monospace; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.chip { display: inline-block; font: 600 .72rem "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--surface2); color: var(--ink); border: 1px solid var(--line); }
.chip-youtube { background: #ff2a3a; color: #fff; border-color: transparent; } .chip-twitch { background: #8f4dff; color: #fff; border-color: transparent; }
.chip-x { background: #111; color: #fff; border-color: #555; } .chip-tiktok { background: #25f4ee; color: #0b0716; border-color: transparent; }
.chip-live { background: #ff2a3a; color: #fff; border-color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--pink); color: var(--on-accent); font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
:root[data-theme="dark"] .btn { background: var(--pink-soft); }
.btn:hover { transform: translateY(-2px); color: var(--on-accent); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { color: var(--pink); border-color: var(--pink-soft); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.4em 0; }

/* ---------- cards / grids ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 1.6em 0; perspective: 1000px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .25s ease, border-color .25s ease; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--glow); border-color: var(--pink-soft); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .card-b { padding: 16px 18px 20px; } .card h3 { margin: 0 0 .3em; font-size: 1.3rem; } .card p { margin: 0; font-size: .95rem; color: var(--muted); }
.card .tag { position: absolute; top: 12px; left: 12px; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s ease-out, box-shadow .25s ease; will-change: transform; }
.tilt .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .2s; }
.tilt:hover .shine { opacity: 1; }
.pulse-join { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 7px; background: #0b0716; color: #fff; border: 1px solid #ff4fa8; font: 700 .75rem "JetBrains Mono", monospace; letter-spacing: .06em; padding: 5px 11px 5px 9px; border-radius: 999px; text-transform: uppercase; }
.pulse-join i { width: 9px; height: 9px; border-radius: 50%; background: #3dff9a; position: relative; display: inline-block; }
.pulse-join i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3dff9a; animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }

.related { margin-top: 3.5em; border-top: 1px solid var(--line); padding-top: 1.5em; }
.related h2 { margin-top: 0; font-size: 1.5rem; }
.related-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.related-grid li { margin: 0; max-width: none; } .related-grid a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--ink); height: 100%; transition: border-color .2s, transform .2s; }
.related-grid a:hover { border-color: var(--pink-soft); transform: translateY(-3px); }
.related-grid b { display: block; color: var(--pink); margin-bottom: 4px; } .related-grid span { font-size: .88rem; color: var(--muted); display: block; line-height: 1.5; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 1.6em 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; border-top: 5px solid var(--pink-soft); }
.stat:nth-child(2n) { border-top-color: var(--gold); } .stat:nth-child(3n) { border-top-color: var(--cyan); }
.stat-n { font-family: Anton, Impact, sans-serif; font-size: 2.7rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-s { font-size: 1.1rem; color: var(--muted); margin-left: 4px; font-family: Inter, sans-serif; }
.stat-l { margin-top: 8px; font-weight: 600; font-size: .95rem; } .stat-note { color: var(--muted); font-size: .8rem; margin-top: 4px; }

/* ---------- post list ---------- */
.post-list { list-style: none; padding: 0; margin: 1em 0 2em; display: grid; gap: 14px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 8px; }
.post h3 { margin: .35em 0 .3em; font-size: 1.15rem; font-family: Inter, sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.35; }
.post p { margin: 0 0 .6em; font-size: .95rem; color: var(--muted); max-width: none; }
.post-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.post time { margin-left: auto; }
.handles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.handles li { margin: 0; max-width: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.handles b { display: block; font-family: "JetBrains Mono", monospace; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- faq ---------- */
details.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 12px 0; max-width: 860px; }
details.qa summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: "+"; display: inline-block; width: 1.3em; color: var(--pink); font-weight: 800; }
details.qa[open] summary::before { content: "\2212"; }

/* ---------- HOME HERO ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 100%); color: var(--hero-ink); border-bottom: 1px solid var(--line); isolation: isolate; }
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: center; padding: 48px 0 150px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-bottom: 130px; } }
.live-badge { display: inline-flex; align-items: center; gap: 9px; background: #ff2a3a; color: #fff; font: 800 .85rem "JetBrains Mono", monospace; letter-spacing: .12em; padding: 7px 14px 7px 12px; border-radius: 999px; text-transform: uppercase; box-shadow: 0 0 0 0 rgba(255, 42, 58, .6); }
.live-badge i { width: 10px; height: 10px; background: #fff; border-radius: 50%; display: inline-block; }
.live-sub { font: 600 .85rem "JetBrains Mono", monospace; margin-left: 10px; color: var(--muted); }
.hero h1 { margin: .5em 0 .3em; font-size: clamp(2.8rem, 8.6vw, 6.2rem); line-height: .98; position: relative; display: block; }
.hero h1 .gold { color: var(--gold); -webkit-text-stroke: 0; } :root:not([data-theme="dark"]) .hero h1 .gold { color: #e08e00; }
.hero .lead { color: var(--hero-ink); opacity: .9; font-size: 1.28rem; max-width: 54ch; }
.hero-art { position: relative; justify-self: center; width: min(340px, 80%); }
.hero-art img { filter: drop-shadow(0 18px 40px rgba(90, 31, 224, .55)); }
.sun { position: absolute; right: max(2%, calc((100% - 1120px) / 2 + 10px)); bottom: 96px; width: 320px; height: 320px; border-radius: 50%; background: linear-gradient(180deg, var(--sun1) 0%, var(--sun2) 100%); z-index: 1; opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 68%, transparent 68% 74%, #000 74% 84%, transparent 84% 92%, #000 92%); mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 68%, transparent 68% 74%, #000 74% 84%, transparent 84% 92%, #000 92%); }
@media (max-width: 900px) { .sun { width: 220px; height: 220px; right: 4%; opacity: .6; } }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 2; overflow: hidden; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 2px solid var(--pink-soft); }
.horizon .grid-plane { position: absolute; left: -50%; right: -50%; top: 0; height: 320px; transform-origin: 50% 0; transform: perspective(240px) rotateX(62deg); background-image: linear-gradient(var(--grid) 2px, transparent 2px), linear-gradient(90deg, var(--grid) 2px, transparent 2px); background-size: 64px 64px; animation: gridmove 1.6s linear infinite; }
@keyframes gridmove { from { background-position: 0 0, 0 0; } to { background-position: 0 64px, 0 0; } }
.scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 4px); mix-blend-mode: multiply; opacity: .55; }
:root[data-theme="dark"] .scan { mix-blend-mode: screen; opacity: .35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scan { mix-blend-mode: screen; opacity: .35; } }
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; pointer-events: none; opacity: .0; }
.glitch::before { color: #00e5ff; clip-path: inset(0 0 60% 0); }
.glitch::after { color: #ff2d95; clip-path: inset(55% 0 0 0); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 1.4em 0 0; padding: 0; list-style: none; font: 600 .85rem "JetBrains Mono", monospace; }
.hero-stats li { margin: 0; max-width: none; }

/* chat ticker (decorative sample chat) */
.chat-ticker { position: relative; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 16px; overflow: hidden; height: 260px; box-shadow: var(--shadow); margin: 1.6em 0; }
.chat-ticker header { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 8px 14px; font: 700 .72rem "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; background: var(--surface2); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.chat-track { position: absolute; left: 0; right: 0; top: 36px; padding: 6px 14px; animation: chatscroll 38s linear infinite; }
.chat-track p { margin: 0 0 9px; font-size: .9rem; line-height: 1.45; max-width: none; }
.chat-track b { font-weight: 700; margin-right: 6px; }
.chat-ticker::after { content: ""; position: absolute; inset: 36px 0 0 0; pointer-events: none; background: linear-gradient(180deg, var(--surface) 0%, transparent 18%, transparent 82%, var(--surface) 100%); }
@keyframes chatscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.u1 { color: #d4006f; } .u2 { color: #5a1fe0; } .u3 { color: #0079b8; } .u4 { color: #b86a00; } .u5 { color: #00875a; }
:root[data-theme="dark"] .u1 { color: #ff7ab8; } :root[data-theme="dark"] .u2 { color: #b79bff; } :root[data-theme="dark"] .u3 { color: #5fd4ff; } :root[data-theme="dark"] .u4 { color: #ffc933; } :root[data-theme="dark"] .u5 { color: #5dffb1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .u1 { color: #ff7ab8; } :root:not([data-theme="light"]) .u2 { color: #b79bff; } :root:not([data-theme="light"]) .u3 { color: #5fd4ff; } :root:not([data-theme="light"]) .u4 { color: #ffc933; } :root:not([data-theme="light"]) .u5 { color: #5dffb1; } }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 32px; align-items: start; } @media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 44px 0 22px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; } @media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { font-family: Anton, Impact, sans-serif; font-size: 1.6rem; letter-spacing: .04em; } .foot-brand b { color: var(--gold); font-weight: 400; }
.foot-h { font: 700 .78rem "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; } .foot-h::after { display: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin: 0 0 6px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; font-size: .85rem; color: var(--muted); }

/* ---------- motion: progressive enhancement only ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease !important; }
.live-badge { animation: livepulse 1.8s ease-in-out infinite; }
.live-badge i { animation: blink 1.2s ease-in-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 42, 58, .65); } 70% { box-shadow: 0 0 0 14px rgba(255, 42, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 42, 58, 0); } }
@keyframes blink { 50% { opacity: .35; } }
.hero h1.glitch::before { animation: glitch1 5.5s steps(1) infinite; } .hero h1.glitch::after { animation: glitch2 5.5s steps(1) infinite; }
@keyframes glitch1 { 0%, 92%, 100% { opacity: 0; transform: none; } 93% { opacity: .9; transform: translate(-4px, 0); } 95% { opacity: .9; transform: translate(3px, -1px); } 97% { opacity: 0; } }
@keyframes glitch2 { 0%, 93%, 100% { opacity: 0; transform: none; } 94% { opacity: .9; transform: translate(4px, 1px); } 96% { opacity: .9; transform: translate(-3px, 0); } 98% { opacity: 0; } }
.hero-art img { animation: floaty 6s ease-in-out infinite; } @keyframes floaty { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.sun { animation: sunbob 8s ease-in-out infinite; } @keyframes sunbob { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
  .chat-track { top: 36px; } .chat-ticker { overflow-y: auto; }
  .glitch::before, .glitch::after { display: none; }
}
@media print { .site-header, .hero-art, .horizon, .sun, .scan, .chat-ticker, .theme-toggle { display: none !important; } .js .reveal { opacity: 1; transform: none; } }
