/* ===========================================================================
   "Chrome" - black, brushed-metal lettering and her mint channel colour.
   Taken from her own Twitch banner (black, chrome NINA) and chat colour
   (#B0FFDE). Dark only, on purpose: the chrome needs the black.
   =========================================================================== */

:root {
  --bg: #0a0b0c;
  --bg-alt: #101213;
  --panel: #15181a;
  --panel-2: #1b1f21;
  --line: #262b2e;
  --line-strong: #3a4145;
  --text: #f1f4f3;
  --text-muted: #a9b2af;
  --text-dim: #7f8986;
  --mint: #b0ffde;
  --mint-deep: #5fe0b0;
  --on-mint: #06251a;
  --live: #ff4d5e;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e3e9e7 26%, #8a9491 49%, #f6f9f8 53%, #b3bcb9 76%, #5c6562 100%);
  --display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--on-mint); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Chrome lettering: gradient clipped to the glyphs. */
.chrome, .brand-chrome {
  font-family: var(--display);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: var(--on-mint); }
.btn-primary:hover { background: #d2ffec; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 12, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-chrome { font-size: 30px; line-height: 1; }
.brand-handle { font-family: var(--mono); font-size: 12px; color: var(--text-dim); letter-spacing: .04em; }
.nav-right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.nav-menu { display: flex; gap: 22px; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-menu a:hover { color: var(--mint); }
.nav-status { display: inline-block; margin-left: 6px; padding: 1px 5px; border: 1px solid var(--line-strong); border-radius: 4px; font-family: var(--mono); font-size: 9px; line-height: 1.5; color: var(--mint); vertical-align: middle; }
.nav-cta { padding: 9px 16px; font-size: 13.5px; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; padding-top: 56px; overflow-x: clip;
  /* Halftone dots, like the lettering on her banner. */
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(176, 255, 222, .13), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.6px) 0 0 / 18px 18px,
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.eyebrow.is-live { color: var(--text); border-color: var(--live); }
.is-live .live-dot, [data-state="live"] .live-dot { background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 77, 94, 0); } 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); } }

.hero-name { line-height: .86; margin: 18px 0 14px; }
.hero-name .chrome {
  display: inline-block; position: relative;
  font-size: clamp(120px, 21vw, 270px); font-weight: 400; letter-spacing: .01em;
  filter: drop-shadow(0 6px 30px rgba(176, 255, 222, .16));
}
/* A glint passing over the metal once, on load. */
.hero-name .chrome::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 200% 0 / 250% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glint 1.5s .5s ease-out forwards;
}
@keyframes glint { to { background-position: -100% 0; } }

.hero-tagline { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.creator-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; min-height: 42px; }
.code-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px dashed var(--line-strong); border-radius: 10px;
  padding: 9px 14px; font-size: 14px; color: var(--text-muted);
}
.code-chip:hover { border-color: var(--mint); color: var(--text); }
.code-chip-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.code-chip strong { font-family: var(--mono); color: var(--mint); font-size: 15px; }
.code-status { font-size: 13.5px; color: var(--mint); }

/* Portrait as a metal nameplate. */
.hero-card { position: relative; justify-self: center; width: min(380px, 100%); }
.plate {
  padding: 3px; border-radius: 22px; background: var(--chrome);
  transform: rotate(2.5deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05);
}
.plate-photo { border-radius: 19px 19px 0 0; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--panel); }
.plate-strip {
  display: flex; justify-content: space-between; align-items: center;
  background: #0d0f10; border-radius: 0 0 19px 19px; padding: 12px 18px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--text-muted);
}
.plate-team { color: var(--on-mint); background: var(--mint); border-radius: 5px; padding: 2px 9px; font-weight: 700; }
.sticker { position: absolute; width: 27%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); animation: bob 5s ease-in-out infinite; }
.sticker-a { left: -15%; top: 6%; --r: -12deg; }
.sticker-b { right: -13%; top: 30%; --r: 10deg; animation-delay: 1.3s; }
.sticker-c { left: -9%; bottom: 10%; width: 22%; --r: 8deg; animation-delay: 2.4s; }
@keyframes bob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-9px); } }

/* Loose emotes follow the other sites: margins on desktop, labels on mobile. */
[data-emote-sprinkles] { position: relative; isolation: isolate; }
[data-emote-sprinkles] > .wrap { position: relative; z-index: 1; }
.emote-sprinkles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section-emote {
  position: absolute; left: calc(50% + var(--x)); top: var(--y); width: var(--s);
  transform: translate(-50%, -50%) rotate(var(--r));
}
.section-emote:nth-child(1) { --x: -618px; --y: 24%; --s: 74px; --r: -10deg; --delay: 0s; }
.section-emote:nth-child(2) { --x: 618px; --y: 62%; --s: 68px; --r: 9deg; --delay: -2s; }
.section-emote:nth-child(3) { --x: -618px; --y: 82%; --s: 58px; --r: 6deg; --delay: -4s; }
[data-emote-sprinkles]:nth-of-type(even) .section-emote:nth-child(1) { --x: 618px; --r: 8deg; }
[data-emote-sprinkles]:nth-of-type(even) .section-emote:nth-child(2) { --x: -618px; --r: -8deg; }
[data-emote-sprinkles]:nth-of-type(even) .section-emote:nth-child(3) { --x: 618px; --r: -5deg; }
.section-emote img {
  width: 100%; filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .5));
  animation: emote-drift 7s ease-in-out infinite; animation-delay: var(--delay);
}
@keyframes emote-drift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(4deg); } }
.kicker[data-kicker-emote] { display: inline-flex; align-items: center; gap: 9px; }
.kicker-emote { flex: none; width: 32px; height: 32px; object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
@media (max-width: 1359px) { .emote-sprinkles { display: none; } }

/* Follower goal */
.goal { margin-top: 52px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.goal-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.goal-label { color: var(--text-muted); }
.goal-count { color: var(--mint); }
.goal-track { height: 10px; background: #0b0d0e; border-radius: 999px; margin-top: 12px; overflow: hidden; }
.goal-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }

/* Ticker */
.ticker { margin-top: 44px; border-block: 1px solid var(--line); background: var(--mint); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-mint); padding: 9px 0; white-space: nowrap; }
.ticker-track i { width: 7px; height: 7px; background: var(--on-mint); transform: rotate(45deg); margin: auto 26px; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 30px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; margin-top: 6px; }
.section-head p { color: var(--text-muted); margin-top: 8px; }

/* Live card */
#live { padding-bottom: 30px; }
.live-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.live-card[data-state="live"] { border-color: var(--live); }
.live-screen { aspect-ratio: 16 / 9; max-height: 560px; width: 100%; display: grid; place-items: center; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 1.6px) 0 0 / 14px 14px, #0c0e0f; }
.live-card:not([data-state="live"]) .live-screen { aspect-ratio: auto; padding: 44px 20px; }
.live-screen iframe { width: 100%; height: 100%; border: 0; }
.live-state { text-align: center; max-width: 520px; }
.live-emote { width: 84px; margin: 0 auto 14px; }
.live-msg { font-family: var(--display); font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.live-sub { color: var(--text-muted); margin-top: 6px; }
.live-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); }
.live-bar-main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; }
.live-channel { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.live-meta { font-size: 14px; color: var(--text-muted); }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hl { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow: hidden; }
.hl::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--chrome); }
.hl:first-child::before { background: var(--mint); }
.hl img { width: 56px; margin-bottom: 14px; }
.hl-value { display: block; font-size: clamp(40px, 4.4vw, 52px); line-height: 1; text-transform: uppercase; }
.hl-label { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin: 10px 0 8px; }
.hl p { color: var(--text-muted); font-size: 15px; }

/* Clips */
.clips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clip-facade, .clip-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); }
.clip-frame { background: #000; }
.clip-facade {
  position: relative; text-align: left; padding: 16px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(176, 255, 222, .12), transparent 55%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.6px) 0 0 / 12px 12px,
    var(--panel-2);
  transition: border-color .15s ease, transform .15s ease;
}
.clip-facade:hover { border-color: var(--mint); transform: translateY(-3px); }
.clip-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--mint); }
.clip-title { display: block; font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; text-transform: uppercase; margin-top: 6px; max-width: 78%; }
.clip-play { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--on-mint); display: grid; place-items: center; }
.clip-play svg { width: 22px; height: 22px; margin-left: 2px; }
.clip-meta { font-family: var(--mono); font-size: 12px; color: var(--text-dim); margin-top: 9px; letter-spacing: .04em; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about-copy p { font-size: 18px; color: var(--text-muted); }
.about-copy p + p { margin-top: 14px; }
.about-profile { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
.about-portrait-wrap { position: relative; min-width: 0; width: 100%; max-width: 410px; }
.portrait-sticker { z-index: 2; width: clamp(58px, 7vw, 82px); pointer-events: none; }
.portrait-sticker-wave { top: -20px; right: -22px; --r: 12deg; animation-delay: -1.2s; }
.portrait-sticker-love { bottom: 12%; left: -24px; --r: -10deg; animation-delay: -3s; }
.about-portrait {
  display: block; overflow: hidden; min-width: 0; max-width: 410px; width: 100%;
  border: 1px solid var(--line-strong); border-radius: 20px; background: var(--panel);
  color: var(--text); text-decoration: none;
}
.about-portrait > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait-caption {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 14px 18px;
  font-family: var(--mono); font-size: 11px; color: var(--text-muted);
}
.portrait-caption > span:last-child { color: var(--mint); }
.about-portrait:hover { border-color: var(--mint); }
.about-facts { margin-top: 28px; }

/* Off-stream camera roll */
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.photo-grid > li { min-width: 0; }
.photo-card { display: block; color: var(--text); text-decoration: none; }
.photo-frame {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--panel); aspect-ratio: 3 / 4;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.photo-open {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(10, 11, 12, .7); color: var(--text);
}
.photo-caption { display: block; font-size: 16px; font-weight: 800; margin-top: 14px; line-height: 1.4; }
.photo-date { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-top: 5px; }
.photo-card:hover .photo-frame { border-color: var(--mint); }
.photo-card:hover img { transform: scale(1.035); }
.photo-card:hover .photo-caption { color: var(--mint); }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.facts dd { font-weight: 700; text-align: right; }

/* Setup: spec sheets */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.spec { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec header { display: flex; align-items: baseline; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.spec-no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--on-mint); background: var(--mint); border-radius: 5px; padding: 2px 8px; }
.spec h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.spec dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 20px; font-size: 14.5px; }
.spec dl div:nth-child(odd) { background: rgba(255, 255, 255, .022); }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding-top: 2px; }

/* Emote rail */
.emote-section { padding-bottom: 84px; }
.emote-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.emote-track { display: flex; gap: 14px; width: max-content; animation: slide 70s linear infinite; padding: 6px 0; }
.emote-rail:hover .emote-track, .emote-rail:focus-within .emote-track { animation-play-state: paused; }
.emote-track button { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 12px; transition: transform .15s ease, border-color .15s ease; }
.emote-track button:hover { transform: translateY(-4px) rotate(-4deg); border-color: var(--mint); }
.emote-track img { width: 64px; height: 64px; }
.emote-pop { position: fixed; width: 44px; pointer-events: none; z-index: 90; animation: pop 1.1s ease-out forwards; }
@keyframes pop { from { opacity: 1; transform: translateY(0) rotate(0) scale(.6); } to { opacity: 0; transform: translateY(-190px) rotate(var(--r)) scale(1.25); } }

/* Socials + contact */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.socials a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.socials a:hover { border-color: var(--mint); transform: translateY(-2px); }
.socials .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--mint); }
.social-label { font-weight: 800; }
.social-handle { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(120deg, rgba(176, 255, 222, .1), transparent 60%), var(--panel); }
.contact-card h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.contact-card p { color: var(--text-muted); }

/* Footer */
.site-footer { padding: 34px 0 44px; }
.footer-inner { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; color: var(--text-dim); font-size: 14px; }
.footer-credit { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }

/* Link-in-bio page. Partner titles and destinations match her Linktree. */
.links-hub { background: radial-gradient(60% 24% at 50% 0, rgba(176, 255, 222, .1), transparent 85%), var(--bg); }
.links-wrap { max-width: 680px; }
.links-profile { text-align: center; margin-bottom: 42px; }
.links-avatar-wrap { position: relative; width: 104px; margin: 0 auto 22px; }
.links-avatar { width: 104px; height: 104px; border-radius: 26px; border: 2px solid var(--mint); object-fit: cover; }
.links-wave { position: absolute; width: 46px; right: -26px; bottom: -8px; transform: rotate(12deg); }
.links-profile h1 { font-size: clamp(52px, 9vw, 86px); font-weight: 400; line-height: 1.1; text-transform: uppercase; margin: 10px 0; }
.links-profile p { color: var(--text-muted); }
.links-group { margin-top: 30px; }
.links-disclosure { color: var(--text-dim); font-size: 12px; margin: 8px 0 16px; }
.partner-links { display: grid; gap: 12px; }
.partner-link {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(176, 255, 222, .07), transparent 75%), var(--panel);
  color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.partner-link:hover { border-color: var(--mint); transform: translateY(-2px); }
.partner-monogram { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--mint); background: var(--panel-2); font-family: var(--display); font-size: 26px; }
.partner-brand { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 18px; font-weight: 800; }
.partner-tag { color: var(--text-dim); font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.partner-title { display: block; margin-top: 6px; color: var(--text-muted); font-size: 14px; overflow-wrap: anywhere; }
.partner-arrow { color: var(--mint); font-size: 22px; }
.links-twitch { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--mint); color: var(--on-mint); text-decoration: none; }
.links-twitch > img { width: 48px; height: 48px; object-fit: contain; }
.links-twitch > span:nth-child(2) { flex: 1; min-width: 0; }
.links-twitch strong { display: block; font-size: 18px; }
.links-twitch > span > span { display: block; font-size: 13px; margin-top: 2px; }
.links-twitch:hover { background: #d2ffec; }
.links-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.links-socials a { min-width: 0; }
.links-socials .social-handle { overflow-wrap: anywhere; }
.links-snapchat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 18px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 800; }
.links-snapchat > span:first-child { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-dim); }
.links-snapchat:hover { border-color: var(--mint); }
.links-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 36px; font-size: 13px; }
.links-bottom a { color: var(--text-muted); text-underline-offset: 4px; }

/* Reserved for a future game. */
.play-placeholder {
  max-width: 760px; margin-inline: auto; padding: clamp(28px, 6vw, 60px); text-align: center;
  border: 1px solid var(--line-strong); border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0, rgba(176, 255, 222, .09), transparent 70%), var(--panel);
}
.play-emotes { display: flex; justify-content: center; align-items: center; gap: 18px; min-height: 132px; margin-bottom: 24px; }
.play-emotes img { width: 112px; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.play-emotes img:first-child { width: 64px; transform: rotate(-12deg); }
.play-emotes img:last-child { width: 64px; transform: rotate(12deg); }
.play-placeholder h2 { font-family: var(--display); font-size: clamp(38px, 6vw, 60px); font-weight: 400; line-height: 1.1; text-transform: uppercase; margin: 10px 0 16px; }
.play-placeholder p { max-width: 30em; margin-inline: auto; color: var(--text-muted); }
.play-placeholder .hero-actions { justify-content: center; }

/* --- Small screens --------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hero-inner, .about { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 440px; }
  .about-portrait-wrap { max-width: 440px; }
  .portrait-sticker-wave { right: -6px; }
  .portrait-sticker-love { left: -6px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .hero-card { width: min(300px, 78%); }
  .highlights, .clips-grid, .spec-grid { grid-template-columns: 1fr; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .brand-handle { display: none; }
  .socials { grid-template-columns: 1fr; }
  .contact-card .btn { width: 100%; white-space: normal; word-break: break-all; }
  .footer-credit { margin-left: 0; }
  .partner-link { padding: 18px 16px; gap: 12px; grid-template-columns: 36px minmax(0, 1fr) auto; }
  .partner-monogram { width: 36px; height: 36px; }
  .links-twitch { padding: 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===========================================================================
   Inner pages + shared bits added with them
   =========================================================================== */

/* Header nav: pages. On phones it drops to its own scrolling row. */
.nav-menu { margin-left: auto; }
.nav-menu a[aria-current="page"] { color: var(--text); box-shadow: 0 2px 0 var(--mint); }

/* Page head */
.page-head {
  padding: 64px 0 46px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(50% 90% at 85% 0%, rgba(176, 255, 222, .12), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.6px) 0 0 / 18px 18px,
    var(--bg);
}
.page-head h1 { font-weight: 400; line-height: .95; margin: 8px 0 12px; }
.page-head h1 .chrome { font-size: clamp(64px, 11vw, 132px); text-transform: uppercase; }
.page-head p { color: var(--text-muted); font-size: 18px; max-width: 36em; }
.about-more { margin-top: 20px; }

/* Streams */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
.vod-facade { padding: 0; }
.vod-facade img { width: 100%; height: 100%; object-fit: cover; }
.vod-length { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; background: rgba(0, 0, 0, .78); border-radius: 6px; padding: 3px 8px; }
.vod-title { font-size: 16px; font-weight: 800; margin-top: 11px; line-height: 1.35; }
.vod-title + .clip-meta { margin-top: 3px; }

/* Chat commands */
.commands { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cmd {
  display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 13px;
  font-family: var(--mono); font-size: 13px; color: var(--text-muted);
}
.cmd strong { color: var(--mint); font-size: 14px; }
a.cmd:hover, button.cmd:hover { border-color: var(--mint); color: var(--text); }
.cmd.is-static { border-style: dashed; }

/* Chat lore: quote cards, dealt slightly crooked */
.lore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lore-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.lore-card:nth-child(3n+2) { transform: rotate(-.6deg); }
.lore-card:nth-child(3n) { transform: rotate(.5deg); }
.lore-card blockquote {
  margin: 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1;
  color: var(--text); overflow-wrap: anywhere;
}
.lore-card blockquote::before { content: '\201C'; color: var(--mint); margin-right: 2px; }
.lore-card blockquote::after { content: '\201D'; color: var(--mint); margin-left: 2px; }
.lore-source { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin: 12px 0 8px; }
.lore-card p { color: var(--text-muted); font-size: 15px; margin-top: auto; }

/* Career timeline */
.timeline { list-style: none; padding: 0; margin: 0 0 0 6px; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 0 0 30px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--text-dim); box-sizing: border-box; }
.timeline li.is-big::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 6px rgba(176, 255, 222, .16); }
.tl-date { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding-top: 4px; }
.timeline h3 { font-size: 18px; font-weight: 800; }
.timeline li.is-big h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1.1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline p { color: var(--text-muted); font-size: 15px; margin-top: 3px; }

/* Setup: settings tiles, binds, gear */
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tiles li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tile-value { display: block; font-family: var(--display); font-size: 34px; line-height: 1.05; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-top: 8px; }
.binds { display: grid; gap: 26px; }
.bind-group h3 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.bind-group ul { display: flex; flex-wrap: wrap; gap: 14px; }
.bind-group li { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 64px; }
.bind-group kbd {
  display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 12px;
  font-family: var(--mono); font-weight: 700; font-size: 15px; color: #101314;
  background: var(--chrome); border-radius: 11px;
  box-shadow: 0 5px 0 #3b4240, 0 9px 16px rgba(0, 0, 0, .5);
}
.bind-group li span { font-size: 13px; color: var(--text-muted); }
.gear { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gear li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.gear-kind { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.gear strong { font-size: 16px; line-height: 1.3; }
.gear-note { font-size: 13.5px; color: var(--text-dim); }

/* Emotes page */
.emote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.emote-grid button { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform .15s ease, border-color .15s ease; }
.emote-grid button:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--mint); }
.emote-grid img { width: 72px; height: 72px; }
.emote-grid span { font-family: var(--mono); font-size: 11px; color: var(--text-dim); overflow-wrap: anywhere; }
.copy-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--mint); color: var(--on-mint); font-weight: 800; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 80; white-space: nowrap; }
.copy-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Footer "hi" button + the rain it starts */
.hi-btn { background: none; border: 1px dashed var(--line-strong); border-radius: 999px; padding: 4px 12px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.hi-btn:hover { color: var(--mint); border-color: var(--mint); }
.emote-rain { position: fixed; top: -70px; width: 52px; pointer-events: none; z-index: 90; animation: rain 2s ease-in forwards; }
@keyframes rain { to { transform: translateY(calc(100vh + 140px)) rotate(var(--r)); } }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; height: auto; padding: 10px 0 0; row-gap: 4px; }
  .nav-cta { margin-left: auto; }
  .nav-menu { display: flex; order: 3; width: 100%; margin: 0; gap: 22px; overflow-x: auto; padding: 8px 0 12px; scrollbar-width: none; }
  html { scroll-padding-top: 110px; }
  .video-grid, .lore { grid-template-columns: 1fr; }
  .lore-card:nth-child(n) { transform: none; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .gear { grid-template-columns: repeat(2, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .page-head { padding: 44px 0 34px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .gear { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lore-card:nth-child(n) { transform: none; }
}
