:root {
  --bg-deep: #05060f;
  --bg-navy: #0a1024;
  --bg-burgundy: #1a0610;
  --ink: #e8eef8;
  --muted: rgba(232, 238, 248, 0.72);
  --neon-red: #ff1e4d;
  --neon-pink: #ff2d6a;
  --neon-magenta: #e0145a;
  --neon-cyan: #2ecbff;
  --neon-blue: #1a6dff;
  --chrome: #d7e2f0;
  --chrome-bright: #f4f7fc;
  --panel: rgba(8, 10, 22, 0.78);
  --panel-border: rgba(255, 255, 255, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Orbitron", "Oxanium", system-ui, sans-serif;
  --font-body: "Rajdhani", "Oxanium", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Synthwave city night —— */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 50% 18%, rgba(255, 80, 120, 0.45) 0%, transparent 55%),
    radial-gradient(40% 35% at 18% 40%, rgba(255, 30, 77, 0.28), transparent 70%),
    radial-gradient(42% 38% at 84% 42%, rgba(46, 203, 255, 0.28), transparent 70%),
    linear-gradient(
      105deg,
      #2a0612 0%,
      #12081c 38%,
      #070b1c 62%,
      #04101f 100%
    );
  animation: sky-pulse 14s ease-in-out infinite alternate;
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 58%,
      rgba(255, 30, 77, 0.08) 72%,
      rgba(46, 203, 255, 0.1) 100%
    );
  mix-blend-mode: screen;
}

.grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -8%;
  height: 58%;
  background-image:
    linear-gradient(rgba(46, 203, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 30, 77, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(620px) rotateX(68deg);
  transform-origin: center top;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 78%, transparent);
  animation: grid-drift 18s linear infinite;
}

.voxels {
  position: absolute;
  inset: 0;
}

.voxel {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--s);
  height: var(--s);
  background: var(--c);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--c) 70%, transparent),
    inset -2px -2px 0 rgba(0, 0, 0, 0.35);
  opacity: var(--o, 0.75);
  animation: voxel-float var(--dur) var(--ease) infinite alternate;
  animation-delay: var(--delay);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.voxel.is-stripe {
  background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan));
  clip-path: none;
  border-radius: 1px;
}

.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(26vh, 240px);
  background:
    linear-gradient(180deg, transparent, rgba(5, 6, 15, 0.85)),
    linear-gradient(
      90deg,
      #3a0714 0%,
      #1a0a18 35%,
      #0a1228 65%,
      #061530 100%
    );
  clip-path: polygon(
    0 68%, 4% 60%, 8% 72%, 12% 48%, 16% 62%, 20% 40%, 24% 58%,
    28% 34%, 32% 55%, 36% 30%, 40% 52%, 44% 28%, 48% 50%, 52% 26%,
    56% 48%, 60% 32%, 64% 54%, 68% 36%, 72% 58%, 76% 42%, 80% 62%,
    84% 46%, 88% 66%, 92% 50%, 96% 64%, 100% 56%,
    100% 100%, 0 100%
  );
  box-shadow: 0 -20px 60px rgba(255, 30, 77, 0.12);
  animation: hills-breathe 12s ease-in-out infinite alternate;
}

.stripe-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.55rem;
  background: linear-gradient(
    90deg,
    var(--neon-red) 0%,
    var(--neon-magenta) 35%,
    #8a1a6a 50%,
    var(--neon-blue) 65%,
    var(--neon-cyan) 100%
  );
  box-shadow: 0 0 18px rgba(255, 30, 77, 0.45), 0 0 18px rgba(46, 203, 255, 0.35);
}

.page {
  position: relative;
  z-index: 1;
}

/* —— Hero —— */
.shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(0.85rem, 2.5vh, 1.5rem) clamp(1rem, 3vw, 2rem) clamp(1.4rem, 3.5vh, 2rem);
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.35rem, 1vh, 0.75rem);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-bright);
  background: linear-gradient(180deg, #ffffff 0%, #d7e2f0 42%, #9ec8ff 78%, #2ecbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.25);
  filter:
    drop-shadow(0 2px 0 rgba(120, 10, 40, 0.85))
    drop-shadow(0 0 18px rgba(255, 30, 77, 0.35));
  animation: rise-in 0.8s var(--ease) both;
}

.hero-player {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  animation: rise-in 0.9s var(--ease) both;
}

.livestream-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.livestream-text {
  flex: 1 1 14rem;
  min-width: 0;
}

.btn-open-twitch {
  flex-shrink: 0;
  min-width: 0;
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--neon-red), #c01040);
  color: var(--chrome-bright);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 30, 77, 0.55),
    0 0 22px rgba(255, 30, 77, 0.35);
}

.btn-open-twitch:hover,
.btn-open-twitch:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 30, 77, 0.8),
    0 0 28px rgba(255, 30, 77, 0.55);
}

.btn-open-twitch:active {
  transform: translateY(1px);
}

.livestream-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(46, 203, 255, 0.55);
}

.livestream-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--chrome-bright);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.livestream-title em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 0%, #ff8fb0 55%, var(--neon-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mascot {
  width: min(52vmin, 340px);
  max-height: 48svh;
  aspect-ratio: 1;
  flex-shrink: 0;
  animation: logo-glow 4.5s ease-in-out infinite;
}

.mascot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 30, 77, 0.35))
    drop-shadow(0 0 22px rgba(46, 203, 255, 0.28));
}

.lede {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--muted);
  animation: rise-in 0.85s var(--ease) 0.14s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
  animation: rise-in 0.85s var(--ease) 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 9.75rem;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--panel-border);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-twitch {
  background: linear-gradient(180deg, #1a1228 0%, #0d0a18 100%);
  color: var(--chrome-bright);
  border-color: rgba(255, 30, 77, 0.65);
  box-shadow: 0 0 18px rgba(255, 30, 77, 0.25);
}

.btn-discord {
  background: linear-gradient(180deg, #10182c 0%, #0a1020 100%);
  color: var(--chrome-bright);
  border-color: rgba(46, 203, 255, 0.55);
  box-shadow: 0 0 18px rgba(46, 203, 255, 0.2);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-twitch:hover,
.btn-twitch:focus-visible {
  border-color: var(--neon-red);
  box-shadow: 0 0 26px rgba(255, 30, 77, 0.45);
}

.btn-discord:hover,
.btn-discord:focus-visible {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 26px rgba(46, 203, 255, 0.4);
}

.btn:active {
  transform: translateY(1px);
}

.btn.is-pending {
  opacity: 0.7;
}

.btn-twitch.is-live {
  background: linear-gradient(135deg, var(--neon-red), #a00e36);
  border-color: #ff7a9a;
  animation: live-pulse 1.8s ease-in-out infinite;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise-in 0.85s var(--ease) 0.3s both;
}

.scroll-cue::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
  transform: rotate(45deg);
  animation: cue-bob 1.4s ease-in-out infinite;
}

/* —— Story —— */
.story {
  position: relative;
  padding: clamp(3.5rem, 9vh, 6rem) 1.25rem;
  background:
    linear-gradient(180deg, rgba(5, 6, 15, 0.2), rgba(5, 6, 15, 0.65)),
    linear-gradient(105deg, #220812 0%, #0c1024 55%, #071528 100%);
}

.story::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--neon-red), transparent 45%, transparent 55%, var(--neon-cyan));
}

.story-layout {
  width: min(68rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.story-portrait {
  margin: 0;
  justify-self: center;
  width: min(22rem, 78vw);
  animation: rise-in 0.9s var(--ease) both;
}

.story-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(255, 30, 77, 0.28))
    drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.story-inner {
  width: min(42rem, 100%);
  margin: 0;
  justify-self: center;
}

@media (min-width: 900px) {
  .story-layout {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    align-items: end;
  }

  .story-portrait {
    justify-self: end;
    width: 100%;
    max-width: 22rem;
  }

  .story-inner {
    justify-self: start;
    padding-bottom: 1.25rem;
  }
}

.story-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.story-title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--chrome-bright);
  text-shadow:
    0 0 18px rgba(46, 203, 255, 0.25),
    0 2px 0 rgba(0, 0, 0, 0.4);
}

.story-body {
  display: grid;
  gap: 1.05rem;
}

.story-body p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 500;
}

.story-motto {
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(105deg, var(--neon-red), var(--neon-cyan)) border-box;
  box-shadow: 0 0 24px rgba(255, 30, 77, 0.18);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chrome-bright);
}

.story-motto::before {
  content: "Motto";
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon-pink);
}

/* —— Twitch player —— */
.player-shell {
  border: 2px solid transparent;
  background:
    linear-gradient(#070912, #070912) padding-box,
    linear-gradient(135deg, var(--neon-red), #4a1648, var(--neon-cyan)) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(46, 203, 255, 0.12);
  overflow: hidden;
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(90deg, rgba(255, 30, 77, 0.18), rgba(46, 203, 255, 0.12));
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-channel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.player-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #5a6478;
}

.hero-player.is-live .player-dot {
  background: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
  animation: blink 1s steps(2, end) infinite;
}

.hero-player.is-live .player-tag {
  color: var(--neon-red);
  text-shadow: 0 0 10px rgba(255, 30, 77, 0.55);
}

.player-tag {
  flex-shrink: 0;
  color: rgba(232, 238, 248, 0.45);
}

.player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-player-caption {
  margin: 0;
  max-width: none;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--chrome-bright);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

@media (min-width: 980px) {
  .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1rem, 2.5vw, 2rem);
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
  }

  .hero-player {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-main {
    grid-column: 2;
    justify-self: center;
    width: min(420px, 100%);
  }

  .status-stage {
    grid-column: 3;
    justify-self: center;
    align-self: center;
  }
}

/* —— Clips —— */
.clips {
  padding: clamp(3rem, 8vh, 5rem) 1.25rem;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(255, 30, 77, 0.18), transparent 70%),
    radial-gradient(55% 45% at 85% 10%, rgba(46, 203, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0c1020 0%, #060812 100%);
}

.clips-inner {
  width: min(40rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.clips-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chrome-bright);
}

.clips-intro {
  margin: 0 auto 1.4rem;
  max-width: 36ch;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--muted);
}

.clips-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-foot {
  padding: 1.25rem 1.25rem 2rem;
  text-align: center;
  background: #04050c;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(46, 203, 255, 0.2);
  box-shadow: inset 0 12px 30px rgba(255, 30, 77, 0.06);
}

.site-foot p {
  margin: 0;
}

/* —— Live status —— */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--chrome-bright);
  background: linear-gradient(135deg, var(--neon-red), #a00e36);
  border: 2px solid #ff7a9a;
  box-shadow: 0 0 18px rgba(255, 30, 77, 0.45);
  animation: rise-in 0.7s var(--ease) both;
}

.live-badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--chrome-bright);
  animation: blink 1s steps(2, end) infinite;
}

.live-badge[hidden] {
  display: none !important;
}

.status-stage {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  min-width: 0;
  max-width: min(38rem, 100%);
  animation: rise-in 0.9s var(--ease) 0.1s both;
}

.status-stage--no-skin {
  justify-content: center;
}

.status-stage--no-skin .status-spotlight {
  margin-inline: auto;
}

.mc-skin {
  width: auto;
  height: clamp(18rem, 42vh, 28rem);
  flex-shrink: 0;
  margin-right: 0.35rem;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 18px rgba(46, 203, 255, 0.4));
  animation: skin-bob 2.8s ease-in-out infinite;
}

.status-spotlight {
  min-width: min(15rem, 58vw);
  max-width: 22rem;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--chrome-bright);
}

.status-lead {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--chrome-bright);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 0 16px rgba(46, 203, 255, 0.25);
}

.status-spotlight.is-sleeping .status-lead {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -0.01em;
}

.live-meta {
  margin: 0 0 0.95rem;
}

.borrel-logo-link {
  display: inline-block;
  margin: 0 auto;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 16px rgba(255, 30, 77, 0.22))
    drop-shadow(0 0 18px rgba(46, 203, 255, 0.2));
}

.borrel-logo-link:hover,
.borrel-logo-link:focus-visible {
  transform: translateY(-4px) scale(1.03);
  filter:
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 24px rgba(255, 30, 77, 0.35))
    drop-shadow(0 0 26px rgba(46, 203, 255, 0.35));
}

.borrel-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin-inline: auto;
}

.borrel-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  color: var(--chrome-bright);
  transform: rotate(-6deg);
  animation: hint-wiggle 2.8s ease-in-out infinite;
}

.borrel-hint-arrow {
  width: 2.6rem;
  height: 2rem;
  flex-shrink: 0;
  transform: translateY(0.15rem);
}

.borrel-hint-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.live-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-red);
  text-shadow: 0 0 10px rgba(255, 30, 77, 0.45);
}

.live-title {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-game {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
}

.live-viewers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.live-viewers svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--neon-pink);
}

body.is-live .mascot {
  max-height: 44svh;
  width: min(48vmin, 320px);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 14px rgba(255, 30, 77, 0.3)) drop-shadow(0 0 18px rgba(46, 203, 255, 0.22));
  }
  50% {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 0 22px rgba(255, 30, 77, 0.5)) drop-shadow(0 0 26px rgba(46, 203, 255, 0.4));
  }
}

@keyframes voxel-float {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-14px) rotate(8deg); }
}

@keyframes sky-pulse {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.15) brightness(1.06); }
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes hills-breathe {
  from { transform: translateY(0); }
  to { transform: translateY(5px); }
}

@keyframes blink {
  50% { opacity: 0.25; }
}

@keyframes live-pulse {
  0%, 100% {
    box-shadow: 0 0 18px rgba(255, 30, 77, 0.35);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 30, 77, 0.65);
  }
}

@keyframes skin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes cue-bob {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(3px); }
}

@keyframes hint-wiggle {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(3px); }
}

@media (max-height: 720px) {
  .mascot {
    width: min(40vmin, 260px);
    max-height: 36svh;
  }

  .brand {
    font-size: clamp(2.1rem, 7vw, 3.4rem);
  }
}

@media (max-width: 420px) {
  .cta {
    width: 100%;
  }

  .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }
}

@media (max-width: 979px) {
  .shell {
    flex-direction: column;
    align-items: center;
  }

  .hero-main {
    order: 1;
  }

  .status-stage {
    order: 2;
    width: 100%;
    max-width: 26rem;
    justify-content: center;
    margin: 0.35rem 0 0.5rem;
  }

  .hero-player {
    order: 3;
    max-width: 720px;
    margin-top: 0.35rem;
  }
}

@media (max-width: 979px) {
  .mc-skin {
    height: clamp(12rem, 32vh, 18rem);
  }
}

@media (max-width: 520px) {
  .status-stage {
    flex-direction: column;
    gap: 1rem;
  }

  .mc-skin {
    height: clamp(11rem, 36vh, 16rem);
  }

  .status-spotlight {
    text-align: center;
    width: 100%;
  }
}

.debug-live {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: min(220px, calc(100vw - 24px));
  padding: 0.7rem;
  background: rgba(8, 10, 22, 0.94);
  border: 2px solid var(--neon-cyan);
  color: var(--chrome-bright);
  box-shadow: 0 0 20px rgba(46, 203, 255, 0.25);
  font-family: var(--font-body);
}

.debug-live-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.debug-live-toggle,
.debug-live-reset {
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--chrome-bright);
  background: #12182a;
}

.debug-live-toggle.is-on {
  background: var(--neon-red);
  border-color: #ff7a9a;
}

.debug-live-reset {
  background: #0d1424;
  border-color: rgba(46, 203, 255, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .mascot,
  .lede,
  .cta,
  .status-stage,
  .voxel,
  .sky,
  .grid,
  .hills,
  .live-badge,
  .btn-twitch.is-live,
  .mc-skin,
  .live-badge::before,
  .scroll-cue,
  .scroll-cue::after,
  .borrel-hint {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .lede,
  .cta,
  .status-stage {
    opacity: 1;
    transform: none;
  }
}
