@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Press+Start+2P&family=UnifrakturMaguntia&family=IM+Fell+English:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&display=swap");

:root {
  --brand: #ffe24a;
  --brand-dark: #f3c000;
  --accent: #0ed1b2;
  --accent-dark: #0f9c82;
  --coral: #ff4f6f;
  --text-base: #0e0e14;
  --muted-text-base: #2f3038;
  --text: var(--text-base);
  --muted-text: var(--muted-text-base);
  --border: #0e0e14;
  --background: #f8f4e8;
  --background-alt: #fff9d6;
  --card-bg: #fffdf6;
  --surface: #fff3be;
  --surface-alt: #ffe0ef;
  --input-bg: #ffffff;
  --metallic-light: #0e0e14;
  --metallic-dark: #0e0e14;
  --shadow: rgba(12, 12, 20, 0.35);
  --danger: #ff4f6f;
  --plant-leaf: #6bf0b3;
  --plant-leaf-bright: #9cf8d3;
  --plant-leaf-deep: #1e715d;
  --plant-pot-rgb: 79, 52, 40;
  --plant-pot: rgb(var(--plant-pot-rgb));
  --plant-sand-rgb: 194, 122, 70;
  --plant-sand: rgb(var(--plant-sand-rgb));
  --lava-char: #1a0503;
  --lava-core: #3b0d08;
  --lava-ember: #ff7a1f;
  --lava-glow: #ffb347;
  --lava-flare: #ff3f3c;
  --lava-shadow: rgba(0, 0, 0, 0.45);
  --depth-perspective: 1400px;
  --depth-shadow-strong: rgba(5, 11, 18, 0.65);
  --depth-glow: rgba(255, 226, 74, 0.35);
  --depth-glare: rgba(14, 209, 178, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Josefin Sans", "Gill Sans", "Avenir Next", sans-serif;
  color: var(--text);
  background-color: var(--background);
  background-image:
    radial-gradient(circle at top center, rgba(75, 183, 170, 0.18), rgba(10, 19, 24, 0) 55%),
    linear-gradient(180deg, rgba(7, 25, 33, 0.85), rgba(7, 22, 30, 0.95) 20%, rgba(11, 28, 39, 0.95) 80%, rgba(8, 20, 26, 0.98));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  letter-spacing: 0.01em;
  z-index: 0;
  perspective: var(--depth-perspective);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 9%, rgba(243, 201, 105, 0.18) 9% 9.6%, transparent 9.6% 50%, rgba(43, 179, 175, 0.12) 50% 50.6%, transparent 50.6% 100%),
    repeating-linear-gradient(90deg, rgba(243, 201, 105, 0.12), rgba(243, 201, 105, 0.12) 2px, transparent 2px, transparent 140px),
    repeating-linear-gradient(180deg, rgba(43, 179, 175, 0.08), rgba(43, 179, 175, 0.08) 2px, transparent 2px, transparent 110px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

body.theme-lava {
  --background: #fff5e6;
  --background-alt: #ffe6bf;
  --surface: #fff0d1;
  --surface-alt: #ffd99f;
  --card-bg: #fffaf0;
  --input-bg: #fff7e6;
  --muted-text-base: #3a2f1a;
  --accent: #ff9a3c;
  --accent-dark: #d36a0a;
  --brand: #ffd24a;
  --brand-dark: #e0b000;
  background-color: var(--background);
  color: var(--text);
}

body.theme-lava::before {
  background-image:
    radial-gradient(circle at 30% 28%, rgba(255, 179, 71, 0.14), transparent 45%),
    radial-gradient(circle at 74% 42%, rgba(255, 63, 60, 0.12), transparent 38%),
    radial-gradient(circle at 12% 72%, rgba(255, 122, 31, 0.18), transparent 52%),
    repeating-conic-gradient(
      from 12deg,
      rgba(255, 122, 31, 0.32) 0deg 9deg,
      rgba(59, 13, 8, 0.24) 9deg 14deg,
      rgba(10, 4, 1, 0.12) 14deg 18deg
    );
  opacity: 0.75;
  filter: saturate(1.08);
  mix-blend-mode: screen;
}

body.theme-lava::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 12%, rgba(255, 122, 31, 0.7), rgba(255, 122, 31, 0) 40%),
    radial-gradient(circle at 70% 30%, rgba(255, 63, 60, 0.6), rgba(255, 63, 60, 0) 45%),
    radial-gradient(circle at 22% 82%, rgba(255, 179, 71, 0.65), rgba(255, 179, 71, 0) 50%),
    radial-gradient(circle at 80% 74%, rgba(255, 122, 31, 0.6), rgba(255, 122, 31, 0) 40%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 122, 31, 0.2),
      rgba(255, 122, 31, 0.08) 18px,
      rgba(26, 5, 3, 0) 38px,
      rgba(26, 5, 3, 0) 64px
    );
  background-size: 160% 140%, 180% 200%, 200% 180%, 140% 200%, 320% 100%;
  opacity: 0.65;
  mix-blend-mode: screen;
  animation: lavaFlow 26s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -2;
}

body.theme-lava .is-melting {
  position: relative;
  animation: meltDrip var(--melt-duration, 18s) ease-in-out infinite alternate;
  animation-delay: var(--melt-delay, 0s);
  transform-origin: top center;
  box-shadow: 0 12px 18px var(--lava-shadow);
  will-change: transform;
}

body.theme-lava .is-melting {
  --melt-distance: 7px;
}

body.theme-lava {
  overflow-x: hidden;
}

body.theme-spring {
  --background: #e6f5ed;
  --background-alt: #d7ebdf;
  --surface: #f4fbf7;
  --surface-alt: #e5f4ec;
  --card-bg: #fbfefb;
  --input-bg: #ffffff;
  --muted-text-base: #243f32;
  --accent: #58caa2;
  --brand: #d6f0e5;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 20% 18%, rgba(125, 227, 177, 0.18), rgba(10, 31, 27, 0) 32%),
    radial-gradient(circle at 78% 22%, rgba(246, 210, 255, 0.14), rgba(15, 31, 29, 0) 36%),
    radial-gradient(circle at 44% 74%, rgba(125, 227, 177, 0.18), rgba(14, 38, 30, 0) 40%),
    linear-gradient(180deg, rgba(10, 31, 27, 0.92), rgba(14, 40, 30, 0.96));
}

body.theme-spring::before {
  background-image:
    radial-gradient(circle at 18% 26%, rgba(246, 210, 255, 0.28), transparent 46%),
    radial-gradient(circle at 84% 46%, rgba(125, 227, 177, 0.18), transparent 42%),
    repeating-conic-gradient(
      from 4deg,
      rgba(246, 210, 255, 0.08) 0deg 14deg,
      rgba(125, 227, 177, 0.08) 14deg 22deg,
      rgba(12, 46, 32, 0.22) 22deg 26deg
    );
  opacity: 0.85;
  mix-blend-mode: screen;
}

body.theme-spring::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 24% 18%, rgba(246, 210, 255, 0.24), rgba(246, 210, 255, 0) 40%),
    radial-gradient(circle at 72% 62%, rgba(125, 227, 177, 0.24), rgba(125, 227, 177, 0) 38%),
    repeating-linear-gradient(
      120deg,
      rgba(125, 227, 177, 0.12),
      rgba(246, 210, 255, 0.12) 16px,
      rgba(14, 40, 30, 0) 44px
    );
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

body.theme-fall {
  --background: #f6eee2;
  --background-alt: #eedfc9;
  --surface: #fdf5ea;
  --surface-alt: #f3e0cd;
  --card-bg: #fffaf3;
  --input-bg: #fff6e8;
  --muted-text-base: #3e2a16;
  --accent: #f7a259;
  --brand: #ffd79a;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 16% 18%, rgba(247, 162, 89, 0.22), rgba(28, 18, 10, 0) 36%),
    radial-gradient(circle at 82% 28%, rgba(255, 207, 154, 0.2), rgba(26, 14, 8, 0) 44%),
    radial-gradient(circle at 44% 70%, rgba(224, 122, 64, 0.16), rgba(34, 18, 9, 0) 40%),
    linear-gradient(180deg, rgba(22, 12, 6, 0.94), rgba(32, 17, 7, 0.94));
}

body.theme-fall::before {
  background-image:
    radial-gradient(circle at 22% 32%, rgba(255, 207, 154, 0.24), transparent 48%),
    radial-gradient(circle at 70% 54%, rgba(247, 162, 89, 0.2), transparent 44%),
    repeating-conic-gradient(
      from 6deg,
      rgba(255, 207, 154, 0.14) 0deg 10deg,
      rgba(247, 162, 89, 0.12) 10deg 18deg,
      rgba(21, 12, 6, 0.18) 18deg 22deg
    );
  opacity: 0.82;
  mix-blend-mode: screen;
}

body.theme-fall::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(247, 162, 89, 0.22), rgba(247, 162, 89, 0) 42%),
    radial-gradient(circle at 78% 12%, rgba(255, 207, 154, 0.2), rgba(255, 207, 154, 0) 38%),
    radial-gradient(circle at 62% 84%, rgba(224, 122, 64, 0.18), rgba(224, 122, 64, 0) 40%),
    repeating-linear-gradient(
      95deg,
      rgba(247, 162, 89, 0.12),
      rgba(114, 57, 18, 0) 24px,
      rgba(255, 207, 154, 0.14) 24px,
      rgba(25, 12, 6, 0.12) 52px
    );
  opacity: 0.55;
  pointer-events: none;
  z-index: -2;
}

body.theme-winter {
  --background: #e8f1fb;
  --background-alt: #dbe7f6;
  --surface: #f5f8ff;
  --surface-alt: #e4edfb;
  --card-bg: #fbfdff;
  --input-bg: #f4f7fd;
  --muted-text-base: #243652;
  --accent: #8bd3ff;
  --brand: #dce7ff;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(139, 211, 255, 0.2), rgba(13, 20, 32, 0) 40%),
    radial-gradient(circle at 82% 28%, rgba(220, 231, 255, 0.2), rgba(12, 22, 34, 0) 44%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.94), rgba(16, 30, 46, 0.96));
}

body.theme-winter::before {
  background-image:
    radial-gradient(circle at 28% 16%, rgba(220, 231, 255, 0.24), transparent 46%),
    radial-gradient(circle at 70% 62%, rgba(139, 211, 255, 0.24), transparent 44%),
    repeating-conic-gradient(
      from 2deg,
      rgba(220, 231, 255, 0.12) 0deg 12deg,
      rgba(139, 211, 255, 0.12) 12deg 20deg,
      rgba(12, 24, 36, 0.22) 20deg 24deg
    );
  opacity: 0.85;
  mix-blend-mode: screen;
}

body.theme-winter::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(139, 211, 255, 0.26), rgba(139, 211, 255, 0) 42%),
    radial-gradient(circle at 84% 18%, rgba(220, 231, 255, 0.24), rgba(220, 231, 255, 0) 46%),
    repeating-linear-gradient(
      100deg,
      rgba(139, 211, 255, 0.14),
      rgba(220, 231, 255, 0.12) 16px,
      rgba(10, 18, 28, 0) 44px
    );
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

body.theme-winter-red {
  --background: #f7e8ed;
  --background-alt: #edd7df;
  --surface: #fff5f8;
  --surface-alt: #f3e0e6;
  --card-bg: #fff8fa;
  --input-bg: #f9edf2;
  --muted-text-base: #3c1d28;
  --accent: #ff9ab6;
  --brand: #ffd6e1;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 154, 182, 0.2), rgba(46, 12, 22, 0) 40%),
    radial-gradient(circle at 82% 28%, rgba(255, 214, 225, 0.22), rgba(46, 16, 24, 0) 44%),
    linear-gradient(180deg, rgba(46, 12, 22, 0.94), rgba(60, 16, 26, 0.96));
}

body.theme-winter-red::before {
  background-image:
    radial-gradient(circle at 28% 16%, rgba(255, 214, 225, 0.24), transparent 46%),
    radial-gradient(circle at 70% 62%, rgba(255, 154, 182, 0.24), transparent 44%),
    repeating-conic-gradient(
      from 2deg,
      rgba(255, 214, 225, 0.12) 0deg 12deg,
      rgba(255, 154, 182, 0.12) 12deg 20deg,
      rgba(46, 12, 22, 0.22) 20deg 24deg
    );
  opacity: 0.85;
  mix-blend-mode: screen;
}

body.theme-winter-red::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(255, 154, 182, 0.26), rgba(255, 154, 182, 0) 42%),
    radial-gradient(circle at 84% 18%, rgba(255, 214, 225, 0.24), rgba(255, 214, 225, 0) 46%),
    repeating-linear-gradient(
      100deg,
      rgba(255, 154, 182, 0.14),
      rgba(255, 214, 225, 0.12) 16px,
      rgba(46, 12, 22, 0) 44px
    );
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}

body.theme-summer {
  --background: #fff3da;
  --background-alt: #ffe7ba;
  --surface: #fff9f0;
  --surface-alt: #ffe4b5;
  --card-bg: #fff7e3;
  --input-bg: #fff1d4;
  --muted-text-base: #2c2a1c;
  --accent: #21c8e6;
  --accent-dark: #0fa3b9;
  --brand: #ffc659;
  --brand-dark: #e0aa3f;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 22% 20%, rgba(255, 198, 89, 0.22), rgba(38, 28, 16, 0) 32%),
    radial-gradient(circle at 74% 18%, rgba(33, 200, 230, 0.22), rgba(14, 26, 27, 0) 44%),
    radial-gradient(circle at 40% 78%, rgba(255, 160, 122, 0.2), rgba(28, 24, 20, 0) 46%),
    linear-gradient(180deg, rgba(18, 26, 22, 0.9), rgba(24, 36, 30, 0.95));
}

body.theme-summer::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 32%, rgba(255, 198, 89, 0.28), transparent 48%),
    radial-gradient(circle at 82% 46%, rgba(33, 200, 230, 0.24), transparent 42%),
    repeating-conic-gradient(
      from 6deg,
      rgba(255, 198, 89, 0.12) 0deg 12deg,
      rgba(33, 200, 230, 0.12) 12deg 22deg,
      rgba(14, 26, 27, 0.18) 22deg 28deg
    );
  opacity: 0.72;
  mix-blend-mode: screen;
  pointer-events: none;
}

body.theme-summer::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 24% 22%, rgba(255, 160, 122, 0.22), rgba(255, 160, 122, 0) 44%),
    radial-gradient(circle at 78% 62%, rgba(33, 200, 230, 0.22), rgba(33, 200, 230, 0) 48%),
    repeating-linear-gradient(
      105deg,
      rgba(255, 198, 89, 0.16),
      rgba(14, 26, 27, 0) 32px,
      rgba(33, 200, 230, 0.14) 32px,
      rgba(28, 24, 20, 0) 64px
    );
  opacity: 0.48;
  pointer-events: none;
  z-index: -2;
}

@keyframes lavaFlow {
  0% {
    background-position: 0 0, 0 32%, 16% 48%, 0 72%, 0 0;
  }
  50% {
    background-position: 14% 10%, 22% 42%, -8% 62%, 18% 80%, 12% 10%;
  }
  100% {
    background-position: -18% 20%, -12% 52%, 28% 76%, -14% 94%, -12% 20%;
  }
}

@keyframes meltDrip {
  0% {
    transform: translateY(0) skewX(0deg) scaleY(1);
  }
  28% {
    transform: translateY(calc(var(--melt-distance, 11px) * 0.35)) skewX(-0.45deg) scaleY(1.01);
  }
  62% {
    transform: translateY(calc(var(--melt-distance, 11px) * 0.7)) skewX(0.75deg) scaleY(1.03);
  }
  100% {
    transform: translateY(var(--melt-distance, 11px)) skewX(-1.1deg) scaleY(1.05);
  }
}

.snowfall-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  mix-blend-mode: screen;
}

.snowflake {
  position: absolute;
  top: -12%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  opacity: var(--snow-opacity, 0.85);
  filter: blur(var(--snow-blur, 0));
  transform-origin: center;
  animation: snowFall var(--snow-duration, 18s) linear infinite;
  animation-delay: var(--snow-delay, 0s);
}

.snowflake::before,
.snowflake::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0.7;
}

body.theme-winter .snowfall-layer,
body.theme-winter-red .snowfall-layer {
  opacity: 0.9;
}

body.theme-winter .snowflake {
  filter: drop-shadow(0 4px 10px rgba(139, 211, 255, 0.35));
}

body.theme-winter-red .snowflake {
  filter: drop-shadow(0 4px 10px rgba(255, 154, 182, 0.35));
}

.snowflake::after {
  transform: rotate(45deg);
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -2%, 0) scale(var(--snow-scale, 1)) rotate(var(--snow-rotation-start, 0deg));
  }
  70% {
    transform: translate3d(calc(var(--snow-drift, 0px) * 0.7), 70vh, 0)
      scale(var(--snow-scale, 1))
      rotate(calc((var(--snow-rotation-start, 0deg) + var(--snow-rotation-end, 360deg)) / 2));
  }
  100% {
    transform: translate3d(var(--snow-drift, 0px), 120vh, 0) scale(var(--snow-scale, 1)) rotate(var(--snow-rotation-end, 360deg));
  }
}

.seasonal-vfx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  mix-blend-mode: screen;
}

.seasonal-vfx__sprite {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--sprite-size, 42px);
  height: var(--sprite-size, 42px);
  opacity: var(--sprite-opacity, 0.82);
  filter: drop-shadow(0 8px 20px rgba(10, 16, 24, 0.25));
  transform: translate(-50%, -50%) translate(var(--drift-x, 0px), var(--drift-y-start, 0px))
    scale(var(--sprite-scale, 1))
    rotate(var(--rotation-start, 0deg));
  animation: vfxFloat var(--float-duration, 18s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: transform, opacity;
}

@keyframes vfxFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--drift-x, 0px), calc(var(--drift-y-start, 0px) + 12px))
      scale(var(--sprite-scale, 1))
      rotate(var(--rotation-start, 0deg));
  }
  12% {
    opacity: var(--sprite-opacity, 0.82);
  }
  48% {
    transform: translate(-50%, -50%) translate(calc(var(--drift-x, 0px) * 0.6), calc(var(--drift-y-start, 0px) - var(--lift, 36px)))
      scale(calc(var(--sprite-scale, 1) * 1.04))
      rotate(calc(var(--rotation-start, 0deg) + var(--rotation-span, 60deg)));
  }
  88% {
    opacity: var(--sprite-opacity, 0.82);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(calc(var(--drift-x, 0px) * -0.35), calc(var(--drift-y-start, 0px) - var(--lift, 64px)))
      scale(calc(var(--sprite-scale, 1) * 1.02))
      rotate(calc(var(--rotation-start, 0deg) + var(--rotation-span, 120deg)));
  }
}

@keyframes vfxGlow {
  0% {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 10px 24px rgba(255, 122, 31, 0.4)) brightness(1.15) saturate(1.08);
  }
  100% {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24)) brightness(1);
  }
}

@keyframes vfxPulse {
  0% {
    box-shadow: 0 0 16px rgba(255, 226, 74, 0.3), 0 0 32px rgba(14, 209, 178, 0.2);
    opacity: var(--sprite-opacity, 0.82);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 226, 74, 0.45), 0 0 42px rgba(14, 209, 178, 0.35);
    opacity: calc(var(--sprite-opacity, 0.82) + 0.08);
  }
  100% {
    box-shadow: 0 0 16px rgba(255, 226, 74, 0.3), 0 0 32px rgba(14, 209, 178, 0.2);
    opacity: var(--sprite-opacity, 0.82);
  }
}

@keyframes vfxNeonPulse {
  0% {
    box-shadow: 0 0 18px rgba(255, 107, 214, 0.42), 0 0 28px rgba(104, 245, 255, 0.35);
    opacity: var(--sprite-opacity, 0.9);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 107, 214, 0.65), 0 0 46px rgba(104, 245, 255, 0.5);
    opacity: calc(var(--sprite-opacity, 0.9) + 0.08);
  }
  100% {
    box-shadow: 0 0 18px rgba(255, 107, 214, 0.42), 0 0 28px rgba(104, 245, 255, 0.35);
    opacity: var(--sprite-opacity, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seasonal-vfx {
    display: none;
  }

  .seasonal-vfx__sprite {
    animation: none;
  }
}

.seasonal-vfx__sprite--frost-shard {
  --sprite-size: 46px;
  --lift: 56px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 55%),
    conic-gradient(from 12deg, rgba(139, 211, 255, 0.92), rgba(108, 191, 255, 0.85), rgba(255, 255, 255, 0.94), rgba(139, 211, 255, 0.9));
  clip-path: polygon(50% 0%, 68% 30%, 100% 35%, 74% 56%, 82% 90%, 50% 74%, 18% 90%, 26% 56%, 0 35%, 32% 30%);
  box-shadow: 0 12px 28px rgba(20, 32, 54, 0.35), 0 0 32px rgba(139, 211, 255, 0.32);
}

.seasonal-vfx__sprite--winter-ember {
  --sprite-size: 28px;
  --sprite-opacity: 0.72;
  --lift: 44px;
  background:
    radial-gradient(circle at 48% 30%, rgba(255, 122, 31, 0.95), rgba(255, 63, 60, 0.9) 62%, rgba(59, 13, 8, 0.65));
  border-radius: 40% 60% 45% 55%;
  box-shadow: 0 0 22px rgba(255, 122, 31, 0.4), 0 10px 18px rgba(0, 0, 0, 0.18);
  animation:
    vfxFloat var(--float-duration, 18s) ease-in-out infinite,
    vfxGlow 3.6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) * 0.4);
}

.seasonal-vfx__sprite--reindeer-charm {
  --sprite-size: 54px;
  --sprite-opacity: 0.86;
  --lift: 46px;
  background: radial-gradient(circle at 50% 24%, #ffe4ed 0 20%, #c67b4d 20% 48%, #8b4b2b 48% 74%, #5c2e1d 74%);
  border-radius: 52% 48% 50% 52%;
  box-shadow: 0 8px 18px rgba(40, 16, 8, 0.25), 0 0 24px rgba(255, 154, 182, 0.22);
}

.seasonal-vfx__sprite--reindeer-charm::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 16px;
  background: linear-gradient(180deg, rgba(255, 214, 225, 0.85), rgba(146, 72, 36, 0.85));
  border-radius: 40% 40% 0 0;
  top: -8px;
  left: 10px;
  transform: rotate(-16deg);
  box-shadow:
    24px -2px 0 rgba(255, 214, 225, 0.9),
    24px -2px 0 6px rgba(146, 72, 36, 0.45);
}

.seasonal-vfx__sprite--reindeer-charm::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 50% 50%, #ff4f6f, #b31f37 80%);
  border-radius: 999px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(255, 79, 111, 0.45);
}

.seasonal-vfx__sprite--snow-buddy {
  --sprite-size: 50px;
  --sprite-opacity: 0.76;
  --lift: 38px;
  background: radial-gradient(circle at 50% 65%, #fefefe 0 36%, #dfe7ff 36% 70%, #bfcde9 70%);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(36, 48, 70, 0.28), 0 0 18px rgba(255, 214, 225, 0.28);
}

.seasonal-vfx__sprite--snow-buddy::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  background: radial-gradient(circle at 50% 60%, #ffffff 0 60%, #e6eeff 60%);
  border-radius: 50%;
  top: -12px;
  left: 21%;
  box-shadow: 0 0 0 2px rgba(255, 214, 225, 0.45), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.seasonal-vfx__sprite--snow-buddy::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 40% 40%, #ff9ab6, #ff4f6f 70%);
  border-radius: 50%;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 -14px 0 -2px #1e293b,
    6px -12px 0 -3px #1e293b,
    -6px -12px 0 -3px #1e293b;
}

.seasonal-vfx__sprite--spring-leaf {
  --sprite-size: 44px;
  --sprite-opacity: 0.8;
  --lift: 52px;
  background: radial-gradient(circle at 24% 24%, rgba(104, 237, 174, 0.9), rgba(88, 202, 162, 0.75) 52%, rgba(36, 104, 76, 0.3));
  clip-path: ellipse(45% 60% at 50% 50%);
  box-shadow: 0 10px 20px rgba(20, 72, 52, 0.25), 0 0 20px rgba(104, 237, 174, 0.24);
}

.seasonal-vfx__sprite--spring-leaf::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, rgba(36, 104, 76, 0.7), rgba(104, 237, 174, 0.9));
  top: 50%;
  left: 20%;
  transform: translateY(-50%) rotate(-18deg);
  border-radius: 999px;
  opacity: 0.8;
}

.seasonal-vfx__sprite--spring-helix {
  --sprite-size: 24px;
  --sprite-opacity: 0.78;
  --lift: 64px;
  background: repeating-linear-gradient(
    140deg,
    rgba(104, 237, 174, 0.9) 0 6px,
    rgba(36, 104, 76, 0.6) 6px 12px
  );
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(104, 237, 174, 0.35);
  animation:
    vfxFloat var(--float-duration, 18s) ease-in-out infinite,
    vfxPulse 4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) * 0.25);
}

.seasonal-vfx__sprite--summer-sun {
  --sprite-size: 56px;
  --sprite-opacity: 0.88;
  --lift: 52px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 214, 105, 0.98), rgba(255, 146, 66, 0.95) 55%, rgba(255, 79, 111, 0.65));
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 198, 89, 0.6), 0 0 36px rgba(255, 79, 111, 0.4);
  animation:
    vfxFloat var(--float-duration, 18s) ease-in-out infinite,
    vfxGlow 3.2s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) * 0.3);
}

.seasonal-vfx__sprite--summer-floaty {
  --sprite-size: 48px;
  --sprite-opacity: 0.78;
  --lift: 44px;
  background: conic-gradient(
    from 30deg,
    #ffce73 0 25%,
    #21c8e6 25% 48%,
    #ff4f6f 48% 72%,
    #ffe8b5 72% 100%
  );
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(14, 26, 27, 0.18), 0 0 18px rgba(33, 200, 230, 0.32);
}

.seasonal-vfx__sprite--fall-leaf {
  --sprite-size: 48px;
  --sprite-opacity: 0.82;
  --lift: 58px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 207, 154, 0.9), rgba(224, 122, 64, 0.85) 55%, rgba(59, 24, 8, 0.35));
  clip-path: polygon(50% 0%, 68% 20%, 90% 38%, 74% 64%, 86% 100%, 50% 82%, 14% 100%, 26% 64%, 10% 38%, 32% 20%);
  box-shadow: 0 10px 22px rgba(36, 18, 8, 0.25), 0 0 22px rgba(247, 162, 89, 0.24);
}

.seasonal-vfx__sprite--fall-mote {
  --sprite-size: 26px;
  --sprite-opacity: 0.7;
  --lift: 36px;
  background: radial-gradient(circle at 50% 50%, rgba(114, 57, 18, 0.7), rgba(247, 162, 89, 0.6) 60%, rgba(255, 207, 154, 0.42));
  border-radius: 50%;
  filter: blur(0.3px) drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

.seasonal-vfx__sprite--neon-pulse {
  --sprite-size: 48px;
  --sprite-opacity: 0.9;
  --lift: 52px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 107, 214, 0.9), rgba(255, 107, 214, 0) 55%),
    radial-gradient(circle at 70% 70%, rgba(104, 245, 255, 0.88), rgba(104, 245, 255, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(251, 226, 109, 0.8), rgba(251, 226, 109, 0) 48%);
  border-radius: 50%;
  animation:
    vfxFloat var(--float-duration, 18s) ease-in-out infinite,
    vfxNeonPulse 3s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) * 0.35);
}

.seasonal-vfx__sprite--neon-beam {
  --sprite-size: 18px;
  --sprite-opacity: 0.76;
  --lift: 60px;
  width: var(--beam-length, 200px);
  height: 12px;
  background: linear-gradient(90deg, rgba(104, 245, 255, 0), rgba(104, 245, 255, 0.8), rgba(255, 107, 214, 0));
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(104, 245, 255, 0.35);
  transform: translate(-50%, -50%) rotate(var(--rotation-start, 0deg));
  animation:
    vfxFloat var(--float-duration, 18s) ease-in-out infinite,
    vfxNeonPulse 3.6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s), calc(var(--float-delay, 0s) * 0.2);
}

h1,
h2,
h3,
h4 {
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

p {
  line-height: 1.75;
  color: rgba(253, 247, 227, 0.82);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coral);
}

.container {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 15%, rgba(126, 214, 255, 0.08), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(243, 201, 105, 0.08), transparent 30%),
    var(--background);
}

.site-shell[data-menu-side="right"] {
  flex-direction: row-reverse;
}

.site-body {
  flex: 1 1 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: linear-gradient(180deg, rgba(11, 40, 51, 0.9), rgba(8, 27, 35, 0.9));
  border-bottom: 2px solid rgba(243, 201, 105, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 20px 32px -24px var(--shadow);
  overflow: hidden;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

.site-header::before {
  background-image:
    linear-gradient(180deg, rgba(243, 201, 105, 0.35), rgba(243, 201, 105, 0) 65%);
  background-size: 4px 100%;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.8;
}

.site-header::after {
  background-image:
    radial-gradient(circle at top center, rgba(43, 179, 175, 0.32), transparent 55%),
    linear-gradient(120deg, rgba(243, 201, 105, 0.08), transparent 55%),
    linear-gradient(-120deg, rgba(243, 201, 105, 0.08), transparent 55%);
  opacity: 0.75;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 82px;
  position: relative;
  justify-content: space-between;
}

.header-inner::before,
.header-inner::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(243, 201, 105, 0.6), transparent);
  top: calc(100% - 6px);
}

.header-inner::before {
  left: 1.5rem;
}

.header-inner::after {
  right: 1.5rem;
}

.header-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand--ghost {
  font-size: 1.25rem;
  opacity: 0.82;
}

.site-sidebar {
  width: min(320px, 30vw);
  min-width: 280px;
  background: linear-gradient(180deg, rgba(11, 40, 51, 0.95), rgba(8, 27, 35, 0.96));
  border-right: 1px solid rgba(243, 201, 105, 0.35);
  box-shadow: 0 14px 32px -18px var(--shadow);
  padding: 1.25rem 1.15rem 1.5rem;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(2px);
}

.sidebar__form {
  margin: 0;
}

.site-shell[data-menu-side="right"] .site-sidebar {
  border-right: none;
  border-left: 1px solid rgba(243, 201, 105, 0.35);
  box-shadow: 0 14px 32px -18px var(--shadow), inset 8px 0 24px -20px rgba(0, 0, 0, 0.45);
}

.site-sidebar[data-menu-collapsed="true"] {
  width: 96px;
  min-width: 88px;
  padding-inline: 0.75rem;
  overflow: visible;
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sidebar__collapse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.sidebar__collapse-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  background: rgba(243, 201, 105, 0.16);
  border-radius: 50%;
  color: rgba(243, 201, 105, 0.82);
}

.sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.sidebar__preferences {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(126, 214, 255, 0.06));
  border: 1px solid rgba(126, 214, 255, 0.3);
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
}

.sidebar__preferences-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 243, 255, 0.82);
}

.sidebar__preference-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.sidebar__preference-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 201, 105, 0.35);
  background: rgba(6, 22, 33, 0.6);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.sidebar__preference-button:hover,
.sidebar__preference-button:focus {
  border-color: rgba(243, 201, 105, 0.8);
  background: linear-gradient(140deg, rgba(243, 201, 105, 0.18), rgba(126, 214, 255, 0.12));
}

.sidebar__preference-button--active {
  border-color: rgba(243, 201, 105, 0.9);
  background: linear-gradient(150deg, rgba(243, 201, 105, 0.24), rgba(126, 214, 255, 0.15));
  box-shadow: 0 8px 24px -18px rgba(243, 201, 105, 0.6);
}

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.header-nav__group {
  position: relative;
  border: 1px solid rgba(243, 201, 105, 0.22);
  border-radius: 14px;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(126, 214, 255, 0.06));
}

.header-nav__summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  color: var(--muted-text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  align-items: center;
  position: relative;
}

.header-nav__summary::-webkit-details-marker,
.header-nav__summary::marker {
  display: none;
}

.header-nav__glyph {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, rgba(243, 201, 105, 0.25), rgba(126, 214, 255, 0.18));
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav__summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.header-nav__group:hover .header-nav__summary,
.header-nav__group:focus-within .header-nav__summary,
.header-nav__group[open] .header-nav__summary {
  color: var(--text);
  background: linear-gradient(150deg, rgba(126, 214, 255, 0.14), rgba(243, 201, 105, 0.12));
}

.header-nav__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.header-nav__description {
  font-size: 0.76rem;
  color: rgba(235, 243, 255, 0.8);
}

.header-nav__panel {
  margin-top: 0.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(139, 211, 255, 0.25);
  border-radius: 12px;
  background: rgba(10, 21, 32, 0.9);
  box-shadow: inset 0 1px 0 rgba(243, 201, 105, 0.15), 0 12px 32px -24px rgba(0, 0, 0, 0.6);
  display: none;
}

.header-nav__group[open] .header-nav__panel {
  display: block;
}

.header-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.header-nav__link {
  display: block;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 11px;
  border: 1px solid rgba(139, 211, 255, 0.22);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.02), rgba(139, 211, 255, 0.08));
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.header-nav__link:hover,
.header-nav__link:focus {
  border-color: rgba(243, 201, 105, 0.65);
  transform: translateY(-2px);
  background: linear-gradient(140deg, rgba(243, 201, 105, 0.12), rgba(126, 214, 255, 0.08));
}

.header-nav__link--active {
  border-color: rgba(243, 201, 105, 0.8);
  background: linear-gradient(150deg, rgba(243, 201, 105, 0.2), rgba(126, 214, 255, 0.14));
  box-shadow: 0 10px 30px -20px rgba(243, 201, 105, 0.6);
}

.header-nav__link-title {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-nav__link-summary {
  display: block;
  font-size: 0.82rem;
  color: rgba(225, 237, 255, 0.82);
}

.header-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(126, 214, 255, 0.55);
  border-radius: 999px;
  color: #e0f2fe;
  background: radial-gradient(circle at top, rgba(126, 214, 255, 0.12), rgba(6, 22, 36, 0.8));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.site-sidebar[data-menu-collapsed="true"] .sidebar__collapse-label {
  display: none;
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__summary {
  grid-template-columns: 1fr;
  justify-items: center;
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__summary-text {
  display: none;
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__glyph {
  width: 2.25rem;
  height: 2.25rem;
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__group {
  padding: 0.35rem;
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__panel {
  position: absolute;
  top: 0.35rem;
  left: calc(100% + 12px);
  width: min(19rem, 70vw);
  z-index: 20;
}

.site-shell[data-menu-side="right"] .site-sidebar[data-menu-collapsed="true"] .header-nav__panel {
  left: auto;
  right: calc(100% + 12px);
}

.site-sidebar[data-menu-collapsed="true"] .header-nav__group[open] .header-nav__panel {
  display: block;
}

.site-sidebar[data-menu-collapsed="true"] .sidebar__preferences-label {
  text-align: center;
}

.site-sidebar[data-menu-collapsed="true"] .sidebar__preference-buttons {
  grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
  .site-shell {
    flex-direction: column;
  }

  .site-sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    position: relative;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid rgba(243, 201, 105, 0.35);
    box-shadow: none;
  }

  .site-sidebar[data-menu-collapsed="true"] {
    width: 100%;
    min-width: 0;
  }

  .site-sidebar[data-menu-collapsed="true"] .header-nav__summary {
    grid-template-columns: auto 1fr;
    justify-items: start;
  }

  .site-sidebar[data-menu-collapsed="true"] .header-nav__summary-text,
  .site-sidebar[data-menu-collapsed="true"] .sidebar__collapse-label {
    display: flex;
  }

  .site-sidebar[data-menu-collapsed="true"] .header-nav__panel {
    position: static;
    width: 100%;
  }
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.45);
  background: linear-gradient(135deg, rgba(17, 36, 47, 0.9), rgba(12, 26, 34, 0.95));
  box-shadow: 0 8px 20px -12px var(--shadow);
}

.theme-switcher__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.theme-switcher__select {
  appearance: none;
  background: rgba(10, 25, 32, 0.6);
  color: var(--text);
  border: 1px solid rgba(243, 201, 105, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
}

.theme-switcher__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(43, 179, 175, 0.35);
}

.audio-toggle {
  appearance: none;
  border: 1px solid rgba(243, 201, 105, 0.65);
  background: linear-gradient(180deg, rgba(14, 39, 49, 0.9), rgba(9, 24, 31, 0.95));
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.audio-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px var(--shadow);
}

.audio-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.audio-toggle--muted {
  border-color: rgba(244, 91, 105, 0.6);
  color: var(--muted-text);
  opacity: 0.9;
}

.audio-toggle__icon {
  font-size: 1rem;
}

.audio-toggle__label {
  font-weight: 600;
}

.audio-toggle__track {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding-left: 0.65rem;
  margin-left: 0.2rem;
  color: var(--muted-text);
  border-left: 1px solid rgba(243, 201, 105, 0.35);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .audio-toggle {
    justify-content: center;
  }

  .audio-toggle__track {
    flex-basis: 100%;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    text-align: center;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breaker-section {
  margin: 5rem 0;
  padding: 3rem;
  border: 2px solid rgba(243, 201, 105, 0.35);
  border-radius: 32px;
  background: radial-gradient(circle at top, rgba(43, 179, 175, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(9, 27, 35, 0.95), rgba(7, 20, 26, 0.92));
  box-shadow: 0 35px 80px -50px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.breaker-section::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 26px;
  pointer-events: none;
  opacity: 0.6;
}

.breaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem 3rem;
  position: relative;
  z-index: 1;
}

.breaker-grid > * {
  min-width: 0;
}

.breaker-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.breaker-pretitle {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: var(--text);
  margin: 0;
}

.breaker-instructions {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.breaker-instructions li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(243, 201, 105, 0.25);
  border-radius: 999px;
  background: rgba(9, 25, 33, 0.55);
  font-size: 0.95rem;
}

.breaker-instructions span {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(243, 201, 105, 0.08);
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(243, 201, 105, 0.25);
}

.breaker-note {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.breaker-game {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.breaker-stage {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(243, 201, 105, 0.25);
  background: radial-gradient(circle at top, rgba(243, 201, 105, 0.06), transparent 65%),
    linear-gradient(180deg, rgba(5, 11, 16, 0.95), rgba(9, 21, 28, 0.95));
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.breaker-stage canvas {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  transition: opacity 0.3s ease;
}

.breaker-stage--disabled canvas {
  opacity: 0.35;
  filter: grayscale(40%) saturate(60%);
}

.breaker-stage__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(7, 18, 25, 0.75), rgba(7, 18, 25, 0.95));
  color: var(--brand);
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.breaker-stage__overlay[hidden] {
  opacity: 0;
  visibility: hidden;
}

.breaker-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.breaker-hud p {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(243, 201, 105, 0.25);
  border-radius: 14px;
  background: rgba(10, 27, 34, 0.75);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.breaker-hud span {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: rgba(253, 247, 227, 0.65);
}

.breaker-hud strong {
  font-size: 1.6rem;
  color: var(--brand);
  font-family: "Cinzel", serif;
}

.breaker-feed-wrapper {
  border: 1px solid rgba(243, 201, 105, 0.25);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  background: rgba(9, 24, 31, 0.85);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.breaker-feed-wrapper h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
}

.breaker-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
}

.breaker-feed li {
  font-size: 0.9rem;
  color: rgba(253, 247, 227, 0.85);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

.breaker-empty {
  text-align: center;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(243, 201, 105, 0.35);
  border-radius: 0.5rem;
  display: inline-block;
  margin: 2rem auto 0;
}

@media (max-width: 640px) {
  .breaker-section {
    padding: 2rem 1.25rem;
  }

  .breaker-instructions li {
    flex-direction: column;
    align-items: flex-start;
  }

  .breaker-stage__overlay {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

.brand {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--metallic-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.nav-links a {
  color: rgba(253, 247, 227, 0.7);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.nav-links a:hover {
  color: var(--brand);
}

.account-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.greeting {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--metallic-light) 35%, var(--brand-dark) 100%);
  color: #0c1f27;
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--brand-dark);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 24px -16px rgba(243, 201, 105, 0.65);
}

.button:hover {
  filter: brightness(1.1);
  text-decoration: none;
  box-shadow: 0 18px 36px -14px rgba(243, 201, 105, 0.75);
}

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

.button-outline {
  background: rgba(8, 25, 33, 0.32);
  color: var(--brand);
  border: 1px solid rgba(243, 201, 105, 0.4);
}

.button-outline:hover {
  background: rgba(243, 201, 105, 0.12);
}

.button-muted {
  background: transparent;
  border-color: rgba(216, 203, 179, 0.35);
  color: rgba(253, 247, 227, 0.7);
}

.button-muted:hover {
  background: rgba(43, 179, 175, 0.16);
}

.button-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.site-main {
  padding-top: 3rem;
  padding-bottom: 5rem;
  position: relative;
  flex: 1 0 auto;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(243, 201, 105, 0.35);
  background: linear-gradient(135deg, rgba(16, 49, 63, 0.85), rgba(9, 26, 34, 0.85));
  box-shadow: 0 18px 38px -24px var(--shadow);
}

.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-header::before {
  border: 1px solid rgba(43, 179, 175, 0.25);
  margin: 12px;
}

.page-header::after {
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 18px,
    rgba(243, 201, 105, 0.2) 18px,
    rgba(243, 201, 105, 0.2) 20px
  );
  opacity: 0.1;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  background: rgba(43, 179, 175, 0.16);
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 999px;
  color: var(--metallic-light);
  box-shadow: 0 0 0 1px rgba(5, 18, 27, 0.7);
}

.page-lead {
  margin: 0;
  color: rgba(253, 247, 227, 0.78);
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.daily-fortune {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.35);
  background: rgba(10, 31, 38, 0.75);
  box-shadow: inset 0 0 18px rgba(43, 179, 175, 0.1);
}

.daily-fortune__label {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.daily-fortune__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.daily-fortune__attribution {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: rgba(253, 247, 227, 0.7);
  font-style: italic;
  letter-spacing: 0.08em;
}

.daily-fortune__submitted {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: rgba(253, 247, 227, 0.7);
  letter-spacing: 0.04em;
}

.daily-fortune__suggestion {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(43, 179, 175, 0.35);
  background: linear-gradient(135deg, rgba(6, 26, 34, 0.92), rgba(10, 34, 44, 0.88));
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .daily-fortune__suggestion {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.daily-fortune__suggestion-eyebrow {
  margin: 0;
  color: rgba(243, 201, 105, 0.8);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.daily-fortune__suggestion-copy {
  color: var(--muted-text);
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

.daily-fortune__suggestion-form form {
  margin: 0;
}

.daily-fortune__suggestion-form .form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: rgba(253, 247, 227, 0.9);
}

.daily-fortune__suggestion-signin {
  margin: 0;
  color: rgba(253, 247, 227, 0.75);
  font-style: italic;
}

.fortune-form__submit {
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.4);
  background: rgba(243, 201, 105, 0.9);
  color: #0b161b;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fortune-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(243, 201, 105, 0.35);
}

.page-countdown {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.plant-terrarium {
  --plant-leaf: #6bf0b3;
  --plant-leaf-bright: #9cf8d3;
  --plant-leaf-deep: #1e715d;
  --plant-pot-rgb: 79, 52, 40;
  --plant-sand-rgb: 194, 122, 70;
  --plant-halo-rgb: 107, 240, 179;
  --plant-glow-alpha: 0.55;
  --plant-sparkles: 0.75;
  --plant-sparkle-speed: 12s;
  --plant-height-scale: 1;
  --plant-sway-speed: 9s;
  --plant-stem-opacity: 1;
  --plant-label-accent: var(--brand);
  margin: 2rem 0 2.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: linear-gradient(125deg, rgba(10, 32, 38, 0.95), rgba(14, 48, 57, 0.9));
  box-shadow: 0 22px 46px -26px var(--shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  position: relative;
  overflow: hidden;
}

.plant-terrarium[data-plant-state="thriving"] {
  --plant-leaf: #8bf7c9;
  --plant-leaf-bright: #d8ffe9;
  --plant-leaf-deep: #0f8f62;
  --plant-pot-rgb: 52, 86, 64;
  --plant-sand-rgb: 206, 186, 128;
  --plant-halo-rgb: 118, 255, 196;
  --plant-glow-alpha: 0.9;
  --plant-sparkles: 1;
  --plant-sparkle-speed: 10s;
  --plant-height-scale: 1.12;
  --plant-sway-speed: 8s;
  --plant-label-accent: #8bf7c9;
}

.plant-terrarium[data-plant-state="growing"] {
  --plant-leaf: #7ce8c0;
  --plant-leaf-bright: #c7fbe3;
  --plant-leaf-deep: #196f5d;
  --plant-pot-rgb: 68, 76, 63;
  --plant-sand-rgb: 199, 170, 112;
  --plant-halo-rgb: 107, 240, 179;
  --plant-glow-alpha: 0.7;
  --plant-sparkles: 0.9;
  --plant-sparkle-speed: 11s;
  --plant-height-scale: 1.05;
  --plant-sway-speed: 9s;
}

.plant-terrarium[data-plant-state="parched"] {
  --plant-leaf: #d0bf74;
  --plant-leaf-bright: #f6e6ab;
  --plant-leaf-deep: #8a6b2a;
  --plant-pot-rgb: 88, 60, 43;
  --plant-sand-rgb: 186, 140, 92;
  --plant-halo-rgb: 243, 201, 105;
  --plant-glow-alpha: 0.35;
  --plant-sparkles: 0.45;
  --plant-sparkle-speed: 13s;
  --plant-height-scale: 0.92;
  --plant-sway-speed: 12s;
  --plant-stem-opacity: 0.88;
  --plant-label-accent: #f45b69;
}

.plant-terrarium[data-plant-state="dormant"] {
  --plant-leaf: #9fb8c0;
  --plant-leaf-bright: #d6e5ea;
  --plant-leaf-deep: #4d6370;
  --plant-pot-rgb: 68, 68, 68;
  --plant-sand-rgb: 140, 140, 140;
  --plant-halo-rgb: 146, 165, 174;
  --plant-glow-alpha: 0.25;
  --plant-sparkles: 0.28;
  --plant-sparkle-speed: 14s;
  --plant-height-scale: 0.82;
  --plant-sway-speed: 14s;
  --plant-stem-opacity: 0.7;
  --plant-label-accent: #cbd5e1;
}

.plant-terrarium::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(43, 179, 175, 0.26);
  pointer-events: none;
  opacity: 0.75;
}

.plant-terrarium::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 240, 179, 0.16), transparent 35%),
    radial-gradient(circle at 86% 8%, rgba(243, 201, 105, 0.14), transparent 38%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.8;
}

.plant-terrarium__copy {
  position: relative;
  z-index: 1;
}

.plant-terrarium__eyebrow {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(243, 201, 105, 0.82);
}

.plant-terrarium h2 {
  margin: 0.35rem 0 0.5rem;
  color: var(--metallic-light);
}

.plant-terrarium__lead {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.plant-terrarium__note {
  margin: 0.6rem 0 0;
  color: var(--muted-text);
  line-height: 1.6;
}

.plant-terrarium__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.plant-chip {
  flex: 1 1 160px;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.18);
  background: linear-gradient(135deg, rgba(9, 28, 36, 0.9), rgba(13, 43, 52, 0.85));
  box-shadow: 0 16px 34px -24px var(--shadow);
  backdrop-filter: blur(2px);
}

.plant-chip__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: rgba(107, 240, 179, 0.95);
}

.plant-chip__value {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  color: rgba(253, 247, 227, 0.95);
}

.plant-chip--label {
  border-color: rgba(107, 240, 179, 0.35);
  background: linear-gradient(135deg, rgba(12, 38, 46, 0.95), rgba(17, 52, 63, 0.92));
  box-shadow: 0 14px 28px -22px var(--shadow), inset 0 0 0 1px rgba(243, 201, 105, 0.12);
}

.plant-terrarium__art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sand-terrarium {
  --glass-edge: rgba(243, 201, 105, 0.22);
  --glass-fill: rgba(9, 26, 34, 0.9);
  --glass-glow: rgba(107, 240, 179, 0.12);
  position: relative;
  width: min(520px, 100%);
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 240, 179, 0.16), transparent 40%),
    radial-gradient(circle at 82% 12%, rgba(243, 201, 105, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(8, 22, 30, 0.95), rgba(9, 28, 36, 0.98));
  border: 1px solid rgba(243, 201, 105, 0.24);
  box-shadow:
    0 16px 42px -24px var(--shadow),
    inset 0 0 0 1px rgba(43, 179, 175, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.sand-terrarium::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.18);
  pointer-events: none;
  opacity: 0.6;
}

.sand-terrarium__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0.35rem 0.35rem;
}

.sand-terrarium__meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.sand-terrarium__eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(107, 240, 179, 0.85);
}

.sand-terrarium__title {
  font-weight: 700;
  color: var(--metallic-light);
}

.sand-terrarium__toggles {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 0.18rem;
  border: 1px solid rgba(243, 201, 105, 0.18);
}

.sand-toggle {
  border: none;
  background: transparent;
  color: var(--muted-text);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.sand-toggle[aria-pressed="true"] {
  background: rgba(107, 240, 179, 0.12);
  color: var(--text);
  box-shadow: 0 10px 18px -14px var(--shadow);
  transform: translateY(-1px);
}

.sand-terrarium__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 12%, var(--glass-glow), transparent 42%), var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 10px 26px rgba(0, 0, 0, 0.35);
}

.sand-terrarium__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 0.5rem;
}

.sand-terrarium__status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: var(--metallic-light);
  letter-spacing: 0.02em;
}

.sand-invaders {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  margin: 0.15rem 0 0.25rem;
  border-radius: 12px;
  border: 1px dashed rgba(107, 240, 179, 0.28);
  background:
    radial-gradient(circle at 16% 36%, rgba(107, 240, 179, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sand-invaders__copy {
  display: grid;
  gap: 0.15rem;
}

.sand-invaders__eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(243, 201, 105, 0.85);
}

.sand-invaders__title {
  font-weight: 800;
  color: var(--text);
}

.sand-invaders__hint {
  color: var(--muted-text);
  font-size: 0.92rem;
}

.sand-invaders__controls {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.sand-breaker {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  margin: 0.15rem 0 0.25rem;
  border-radius: 12px;
  border: 1px dashed rgba(95, 184, 255, 0.3);
  background:
    radial-gradient(circle at 12% 22%, rgba(95, 184, 255, 0.12), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sand-breaker__copy {
  display: grid;
  gap: 0.15rem;
}

.sand-breaker__eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(95, 184, 255, 0.85);
}

.sand-breaker__title {
  font-weight: 800;
  color: var(--text);
}

.sand-breaker__hint {
  color: var(--muted-text);
  font-size: 0.92rem;
}

.sand-breaker__controls {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.sand-chip {
  --chip-color: #cfd9df;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.12)),
    rgba(12, 38, 46, 0.35);
  color: var(--text);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  box-shadow: 0 12px 26px -22px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.sand-chip::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.65;
  pointer-events: none;
}

.sand-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -22px var(--shadow), 0 0 0 1px rgba(243, 201, 105, 0.18);
}

.sand-chip[aria-pressed="true"] {
  color: #0b161b;
  border-color: var(--chip-color);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18)),
    var(--chip-color);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--chip-color);
}

.sand-chip--mini {
  padding: 0.45rem 0.55rem;
  font-size: 0.92rem;
  justify-self: end;
}

.sand-toggle--ghost {
  border: 1px solid rgba(243, 201, 105, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sand-toggle--ghost[aria-pressed="true"] {
  background: rgba(107, 240, 179, 0.14);
  color: #0b161b;
}

.sand-terrarium__canvas-wrap {
  position: relative;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 21, 29, 0.94), rgba(9, 30, 40, 0.96)),
    radial-gradient(circle at 50% 15%, rgba(107, 240, 179, 0.08), transparent 38%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 -16px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 0.6rem;
}

[data-sand-canvas] {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5 / 6;
  border-radius: 12px;
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.05), transparent 42%), #0a1318;
  box-shadow: inset 0 0 0 1px rgba(243, 201, 105, 0.18), 0 12px 26px -18px rgba(0, 0, 0, 0.65);
  image-rendering: pixelated;
}

.sand-terrarium__hint {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted-text);
}

.sand-terrarium__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.sand-action {
  border: 1px solid rgba(243, 201, 105, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  color: var(--text);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px -22px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sand-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -22px var(--shadow);
}

.sand-action--clear {
  border-color: rgba(244, 91, 105, 0.35);
  color: #f45b69;
}

.plant-terrarium[data-plant-state="thriving"] .sand-terrarium {
  --glass-edge: rgba(107, 240, 179, 0.32);
  --glass-fill: linear-gradient(180deg, rgba(6, 30, 24, 0.98), rgba(9, 32, 32, 0.96));
  --glass-glow: rgba(107, 240, 179, 0.2);
}

.plant-terrarium[data-plant-state="parched"] .sand-terrarium {
  --glass-edge: rgba(243, 201, 105, 0.3);
  --glass-fill: linear-gradient(180deg, rgba(17, 24, 28, 0.96), rgba(22, 26, 28, 0.98));
  --glass-glow: rgba(244, 91, 105, 0.08);
}

.plant-terrarium[data-plant-state="dormant"] .sand-terrarium {
  --glass-edge: rgba(146, 165, 174, 0.24);
  --glass-fill: linear-gradient(180deg, rgba(9, 16, 21, 0.96), rgba(12, 18, 22, 0.98));
  --glass-glow: rgba(146, 165, 174, 0.12);
}

.terrarium {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 18%, rgba(107, 240, 179, 0.14), rgba(10, 32, 38, 0) 38%),
    linear-gradient(180deg, rgba(8, 23, 31, 0.92), rgba(8, 25, 35, 0.98));
  border: 1px solid rgba(243, 201, 105, 0.25);
  box-shadow: 0 26px 48px -26px var(--shadow), inset 0 0 0 1px rgba(43, 179, 175, 0.18);
  overflow: hidden;
}

.terrarium::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  border: 1px solid rgba(243, 201, 105, 0.18);
  pointer-events: none;
  opacity: 0.6;
}

.terrarium__halo {
  position: absolute;
  inset: 10% 12% 22% 12%;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(var(--plant-halo-rgb, 107, 240, 179), var(--plant-glow-alpha, 0.55)),
    rgba(var(--plant-halo-rgb, 107, 240, 179), 0) 60%
  );
  filter: blur(4px);
  opacity: 0.9;
}

.terrarium__glass {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 40%),
    linear-gradient(-40deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 36%);
  mix-blend-mode: screen;
  opacity: 0.65;
  pointer-events: none;
  z-index: 4;
}

.terrarium__soil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background:
    linear-gradient(180deg, rgba(var(--plant-pot-rgb), 0.95), rgba(59, 39, 29, 0.98)),
    radial-gradient(circle at 20% 45%, rgba(var(--plant-sand-rgb), 0.45), transparent 48%),
    radial-gradient(circle at 80% 40%, rgba(241, 195, 138, 0.3), transparent 45%);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow:
    inset 0 6px 16px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(243, 201, 105, 0.12),
    0 -10px 60px rgba(107, 240, 179, 0.08);
  overflow: hidden;
  z-index: 2;
}

.terrarium__soil::after {
  content: "";
  position: absolute;
  inset: 0 10px 8px;
  background-image:
    radial-gradient(circle at 18% 40%, rgba(243, 201, 105, 0.35), transparent 35%),
    radial-gradient(circle at 58% 45%, rgba(107, 240, 179, 0.25), transparent 36%),
    radial-gradient(circle at 88% 55%, rgba(255, 255, 255, 0.14), transparent 32%);
  opacity: 0.35;
}

.terrarium__sparkles span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%);
  opacity: calc(0.25 + (var(--plant-sparkles, 0.75) * 0.55));
  filter: drop-shadow(0 0 10px rgba(var(--plant-halo-rgb, 107, 240, 179), 0.45));
  animation: sparkleDrift var(--plant-sparkle-speed, 12s) ease-in-out infinite;
  z-index: 3;
}

.terrarium__sparkles span:nth-child(1) {
  top: 18%;
  left: 20%;
  animation-delay: -1s;
}

.terrarium__sparkles span:nth-child(2) {
  top: 26%;
  right: 18%;
  animation-delay: -4s;
}

.terrarium__sparkles span:nth-child(3) {
  top: 8%;
  left: 58%;
  animation-delay: -2.5s;
}

.terrarium__plant {
  position: absolute;
  inset: 12% 14% 30% 14%;
  z-index: 3;
  filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.65));
}

.plant-stem {
  --stem-shift: 0px;
  --stem-rotation: 0deg;
  --stem-height: 150px;
  --leaf-one-tilt: -18deg;
  --leaf-two-tilt: 18deg;
  --leaf-one-pos: 32%;
  --leaf-two-pos: 66%;
  position: absolute;
  bottom: -8%;
  left: 50%;
  width: 8px;
  height: calc(var(--stem-height) * var(--plant-height-scale, 1));
  background: linear-gradient(180deg, var(--plant-leaf-bright), var(--plant-leaf), var(--plant-leaf-deep));
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(var(--plant-halo-rgb, 107, 240, 179), 0.18);
  transform-origin: bottom center;
  transform: translateX(var(--stem-shift)) rotate(var(--stem-rotation));
  animation: plantSway var(--plant-sway-speed, 9s) ease-in-out infinite;
  opacity: var(--plant-stem-opacity, 1);
}

.plant-stem::before,
.plant-stem::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 44px;
  background:
    radial-gradient(circle at 22% 50%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(120deg, rgba(107, 240, 179, 0.85), rgba(30, 113, 93, 0.9));
  border-radius: 80% 90% 70% 90%;
  transform-origin: left center;
  opacity: 0.98;
  filter: drop-shadow(0 10px 24px rgba(var(--plant-halo-rgb, 107, 240, 179), 0.3));
}

.plant-stem::before {
  top: var(--leaf-one-pos);
  left: 6px;
  transform: rotate(var(--leaf-one-tilt));
}

.plant-stem::after {
  top: var(--leaf-two-pos);
  left: 5px;
  transform: rotate(var(--leaf-two-tilt));
}

.plant-stem--one {
  --stem-shift: -52px;
  --stem-rotation: -9deg;
  --stem-height: 150px;
  --leaf-one-tilt: -24deg;
  --leaf-two-tilt: 12deg;
  animation-delay: 0.25s;
}

.plant-stem--two {
  --stem-shift: -12px;
  --stem-rotation: 4deg;
  --stem-height: 168px;
  --leaf-one-pos: 26%;
  --leaf-two-pos: 58%;
  animation-delay: 0.5s;
}

.plant-stem--three {
  --stem-shift: 36px;
  --stem-rotation: -6deg;
  --stem-height: 142px;
  --leaf-one-tilt: -14deg;
  --leaf-two-tilt: 22deg;
  animation-delay: 0.1s;
}

.plant-stem--four {
  --stem-shift: 10px;
  --stem-rotation: 11deg;
  --stem-height: 126px;
  --leaf-one-pos: 28%;
  --leaf-two-pos: 62%;
  --leaf-two-tilt: 30deg;
  animation-delay: 0.85s;
}

.terrarium__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--plant-halo-rgb, 243, 201, 105), 0.28);
  background: rgba(5, 16, 22, 0.78);
  color: var(--plant-label-accent, var(--brand));
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px -20px var(--shadow);
  z-index: 4;
}

@keyframes plantSway {
  0%,
  100% {
    transform: translateX(var(--stem-shift)) rotate(calc(var(--stem-rotation) - 2deg));
  }
  50% {
    transform: translateX(var(--stem-shift)) rotate(calc(var(--stem-rotation) + 3deg));
  }
}

@keyframes sparkleDrift {
  0%,
  100% {
    transform: translateY(-2px) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translateY(8px) scale(1.1);
    opacity: 0.95;
  }
}

.glorp-cat {
  --glorp-emerald: #7cf2d6;
  --glorp-lumen: #d7ffe7;
  --glorp-core: #0f3c35;
  --glorp-amber: #f3c969;
  --glorp-shadow: rgba(0, 0, 0, 0.55);
  margin: 1.75rem 0 2rem;
  padding: 1.6rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: linear-gradient(135deg, rgba(7, 24, 32, 0.95), rgba(11, 30, 38, 0.9));
  box-shadow: 0 22px 46px -26px var(--shadow);
  position: relative;
  overflow: hidden;
}

.glorp-cat::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(43, 179, 175, 0.22);
  pointer-events: none;
  opacity: 0.85;
}

.glorp-cat::after {
  content: "";
  position: absolute;
  inset: -30% 60% 18% -10%;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.15), transparent 62%);
  filter: blur(32px);
  opacity: 0.6;
  pointer-events: none;
}

.glorp-cat__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  align-items: center;
}

.glorp-cat__copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.glorp-cat__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: rgba(243, 201, 105, 0.82);
}

.glorp-cat__lead {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

.glorp-cat__list {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
  color: rgba(253, 247, 227, 0.78);
  line-height: 1.7;
}

.glorp-cat__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.glorp-cat__stat {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.22);
  background: linear-gradient(135deg, rgba(10, 30, 38, 0.9), rgba(8, 22, 29, 0.9));
  box-shadow: 0 16px 32px -24px var(--shadow), inset 0 0 0 1px rgba(43, 179, 175, 0.12);
}

.glorp-cat__stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: rgba(243, 201, 105, 0.82);
}

.glorp-cat__stat-value {
  display: block;
  margin-top: 0.25rem;
  font-weight: 700;
  color: rgba(253, 247, 227, 0.95);
}

.glorp-cat__diagram {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(124, 242, 214, 0.26);
  background: linear-gradient(140deg, rgba(12, 36, 46, 0.78), rgba(6, 18, 26, 0.9));
  box-shadow: inset 0 0 0 1px rgba(243, 201, 105, 0.1), 0 14px 26px -20px var(--shadow);
}

.glorp-cat__diagram-title {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(243, 201, 105, 0.82);
}

.glorp-cat__diagram-art {
  margin: 0.35rem 0 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(124, 242, 214, 0.08), rgba(243, 201, 105, 0.06));
  border: 1px solid rgba(124, 242, 214, 0.24);
  box-shadow: inset 0 -6px 18px rgba(15, 60, 53, 0.6);
  color: var(--glorp-lumen);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: pre;
  overflow: auto;
}

.glorp-cat__diagram-note {
  margin: 0;
  color: rgba(253, 247, 227, 0.76);
  font-size: 0.95rem;
}

.glorp-cat__scene {
  position: relative;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.24);
  background: radial-gradient(circle at 28% 24%, rgba(124, 242, 214, 0.1), transparent 36%),
    radial-gradient(circle at 78% 76%, rgba(243, 201, 105, 0.08), transparent 42%),
    rgba(6, 18, 26, 0.85);
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.14), 0 18px 36px -26px var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.glorp-cat__halo {
  position: absolute;
  inset: 4% 10%;
  background: radial-gradient(circle at 50% 40%, rgba(124, 242, 214, 0.12), rgba(124, 242, 214, 0) 60%);
  filter: blur(6px);
  opacity: 0.85;
  z-index: 0;
}

.glorp-cat__bubble {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 16%, rgba(215, 255, 231, 0.12), transparent 45%),
    linear-gradient(145deg, rgba(12, 36, 46, 0.92), rgba(6, 18, 26, 0.98));
  border: 1px solid rgba(124, 242, 214, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(243, 201, 105, 0.16),
    inset 0 0 0 1px rgba(243, 201, 105, 0.08),
    0 18px 32px -22px var(--glorp-shadow);
  overflow: hidden;
}

.glorp-cat__bubble::after {
  content: "";
  position: absolute;
  inset: 6% 8% auto 12%;
  height: 22%;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(215, 255, 231, 0.4), rgba(124, 242, 214, 0));
  filter: blur(8px);
  opacity: 0.7;
  transform: rotate(-8deg);
}

.glorp-cat__cat {
  position: absolute;
  inset: auto 16% 12% 16%;
  background: radial-gradient(circle at 40% 40%, rgba(215, 255, 231, 0.52), rgba(124, 242, 214, 0.32) 50%, rgba(10, 31, 38, 0.9));
  border-radius: 46% 46% 42% 42%;
  border: 1px solid rgba(124, 242, 214, 0.35);
  box-shadow:
    inset 0 -10px 24px rgba(15, 60, 53, 0.85),
    inset 0 12px 20px rgba(215, 255, 231, 0.18),
    0 10px 22px -16px var(--glorp-shadow);
  animation: glorpFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.glorp-cat__tail {
  position: absolute;
  width: 36%;
  height: 18%;
  right: -8%;
  bottom: 10%;
  background: linear-gradient(145deg, rgba(124, 242, 214, 0.7), rgba(15, 60, 53, 0.6));
  border: 1px solid rgba(124, 242, 214, 0.35);
  border-radius: 62% 88% 72% 32%;
  box-shadow: inset 0 -8px 12px rgba(15, 60, 53, 0.8);
  transform: rotate(18deg);
  animation: glorpWag 4.5s ease-in-out infinite;
}

.glorp-cat__ear {
  position: absolute;
  top: -16%;
  width: 24%;
  height: 26%;
  background: linear-gradient(160deg, rgba(215, 255, 231, 0.75), rgba(124, 242, 214, 0.28));
  border: 1px solid rgba(124, 242, 214, 0.4);
  border-radius: 16px 16px 6px 6px;
  box-shadow: inset 0 -6px 12px rgba(15, 60, 53, 0.65);
}

.glorp-cat__ear--left {
  left: 12%;
  transform: rotate(-6deg);
}

.glorp-cat__ear--right {
  right: 12%;
  transform: rotate(6deg);
}

.glorp-cat__face {
  position: absolute;
  inset: 30% 18% 18%;
}

.glorp-cat__eye {
  position: absolute;
  width: 18px;
  height: 24px;
  background: radial-gradient(circle at 50% 40%, #d7ffe7, rgba(12, 36, 46, 0.85));
  border-radius: 14px 14px 12px 12px;
  box-shadow: inset 0 -6px 8px rgba(12, 36, 46, 0.65);
  animation: glorpBlink 7s ease-in-out infinite;
}

.glorp-cat__eye--left {
  left: 24%;
}

.glorp-cat__eye--right {
  right: 24%;
  animation-delay: 0.6s;
}

.glorp-cat__nose {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 16px;
  height: 12px;
  background: linear-gradient(180deg, rgba(243, 201, 105, 0.9), rgba(124, 242, 214, 0.6));
  border-radius: 50% 50% 60% 60%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px -6px var(--glorp-shadow);
}

.glorp-cat__whisker {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(215, 255, 231, 0.8), rgba(124, 242, 214, 0.45));
  opacity: 0.85;
  box-shadow: 0 0 6px rgba(124, 242, 214, 0.35);
}

.glorp-cat__whisker--one {
  width: 44px;
  left: 12%;
  top: 60%;
}

.glorp-cat__whisker--two {
  width: 46px;
  left: 10%;
  top: 68%;
  transform: rotate(-6deg);
}

.glorp-cat__whisker--three {
  width: 44px;
  right: 12%;
  top: 60%;
  transform: scaleX(-1);
}

.glorp-cat__whisker--four {
  width: 46px;
  right: 10%;
  top: 68%;
  transform: scaleX(-1) rotate(-6deg);
}

.glorp-cat__chest {
  position: absolute;
  width: 48%;
  height: 32%;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(215, 255, 231, 0.65), rgba(12, 36, 46, 0.75));
  border-radius: 50%;
  opacity: 0.85;
  filter: blur(0.5px);
}

.glorp-cat__drip {
  position: absolute;
  bottom: 10%;
  width: 18%;
  height: 14%;
  background: radial-gradient(circle at 50% 30%, rgba(124, 242, 214, 0.4), rgba(12, 36, 46, 0.92));
  border-radius: 16px;
  filter: blur(1px);
  animation: glorpDrip 6.5s ease-in-out infinite;
}

.glorp-cat__drip--left {
  left: 12%;
  animation-delay: 0.35s;
}

.glorp-cat__drip--right {
  right: 14%;
  animation-delay: 1.2s;
}

.glorp-cat__pool {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2%;
  height: 18%;
  background: radial-gradient(circle at 50% 40%, rgba(124, 242, 214, 0.28), rgba(12, 36, 46, 0.95));
  border-radius: 50%;
  border: 1px solid rgba(124, 242, 214, 0.24);
  box-shadow:
    inset 0 6px 16px rgba(15, 60, 53, 0.75),
    inset 0 0 0 1px rgba(243, 201, 105, 0.08);
  transform: translateY(8%);
}

.glorp-cat__sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 231, 0.9), rgba(215, 255, 231, 0));
  opacity: 0.7;
  filter: blur(0.5px);
  animation: glorpSparkle 8s ease-in-out infinite;
}

.glorp-cat__sparkle--one {
  top: 16%;
  left: 22%;
  animation-delay: 0.5s;
}

.glorp-cat__sparkle--two {
  top: 38%;
  right: 18%;
  width: 16px;
  height: 16px;
}

.glorp-cat__sparkle--three {
  bottom: 22%;
  left: 32%;
  width: 10px;
  height: 10px;
  animation-delay: 1.2s;
}

.glorp-cat__sparkle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(215, 255, 231, 0.2);
  border-radius: 50%;
  opacity: 0.5;
}

.glorp-cat__bubble .glorp-cat__sparkle {
  z-index: 2;
}

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

@keyframes glorpWag {
  0%,
  100% {
    transform: rotate(18deg);
  }
  50% {
    transform: rotate(28deg);
  }
}

@keyframes glorpBlink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  94% {
    transform: scaleY(0.1);
  }
  96% {
    transform: scaleY(1);
  }
}

@keyframes glorpSparkle {
  0%,
  100% {
    transform: translateY(-4px) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translateY(6px) scale(1.12);
    opacity: 0.95;
  }
}

@keyframes glorpDrip {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(6px) scale(1.05);
    opacity: 0.9;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.limit-notice {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted-text);
  max-width: 220px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(243, 201, 105, 0.18);
  color: var(--metallic-light);
}

.badge-muted {
  background: rgba(43, 179, 175, 0.22);
  color: rgba(253, 247, 227, 0.76);
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(18, 57, 70, 0.94), rgba(9, 27, 35, 0.94));
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 24px 46px -28px var(--shadow);
  border: 1px solid rgba(243, 201, 105, 0.32);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(43, 179, 175, 0.28);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 201, 105, 0.08), transparent),
    linear-gradient(90deg, rgba(36, 122, 128, 0.12), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.45;
  pointer-events: none;
}

.feature-card__body {
  flex: 1;
}

.feature-card__aside {
  width: 240px;
}

.feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--metallic-light);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.feature-description {
  margin: 0 0 0.75rem;
  color: rgba(253, 247, 227, 0.88);
  line-height: 1.7;
}

.feature-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.feature-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(243, 201, 105, 0.8);
  letter-spacing: 0.2em;
  margin-bottom: 0.1rem;
}

.feature-meta dd {
  margin: 0;
  color: rgba(253, 247, 227, 0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.vote-controls {
  border: 1px solid rgba(243, 201, 105, 0.45);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(243, 201, 105, 0.24), rgba(27, 90, 101, 0.24));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 18px 36px -26px var(--shadow);
}

.vote-count {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--metallic-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.turnstile-container {
  display: flex;
  justify-content: center;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(243, 201, 105, 0.24);
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-text);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(243, 201, 105, 0.55);
  box-shadow: 0 0 0 3px rgba(243, 201, 105, 0.2);
}

.form-help {
  font-size: 0.85rem;
  color: var(--muted-text);
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-context {
  margin: 0 0 1rem;
  color: var(--muted-text);
}

.flash-messages {
  margin-bottom: 1rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(243, 201, 105, 0.15);
  border: 1px solid rgba(243, 201, 105, 0.35);
  color: var(--metallic-light);
}

.feature-detail {
  background: linear-gradient(140deg, rgba(15, 49, 62, 0.94), rgba(8, 23, 32, 0.94));
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid rgba(243, 201, 105, 0.32);
  box-shadow: 0 28px 52px -28px var(--shadow);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.feature-detail::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(43, 179, 175, 0.28);
  pointer-events: none;
}

.feature-detail__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.feature-detail__body {
  margin-top: 1.5rem;
  line-height: 1.8;
  color: rgba(253, 247, 227, 0.85);
}

.feature-detail__vote {
  width: min(260px, 100%);
}

.submitted-meta,
.parent-link {
  color: var(--muted-text);
  margin: 0.25rem 0 0;
}

.variation-section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.variations-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.empty-state {
  color: var(--muted-text);
}

.variation-form,
.limit-reached {
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px -16px rgba(2, 10, 28, 0.5);
}

.loading {
  color: var(--muted-text);
}

.delete-form {
  margin-top: 1.5rem;
}

.auth-card {
  background: linear-gradient(140deg, rgba(14, 49, 63, 0.95), rgba(8, 23, 31, 0.95));
  border-radius: 20px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  box-shadow: 0 28px 48px -30px var(--shadow);
  padding: 2.75rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(43, 179, 175, 0.24);
  pointer-events: none;
}

.auth-switch {
  margin-top: 1.5rem;
  color: var(--muted-text);
}

.about-hero {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(10, 38, 49, 0.95), rgba(6, 18, 26, 0.92));
}

.about-hero__stats {
  display: grid;
  gap: 1rem;
  min-width: 320px;
  max-width: 420px;
}

.about-stat-card {
  background: linear-gradient(140deg, rgba(5, 18, 27, 0.95), rgba(12, 40, 53, 0.92));
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.55);
}

.about-stat-card--grid {
  padding-bottom: 1.15rem;
}

.about-stat-card__label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: rgba(253, 247, 227, 0.82);
}

.about-stat-card__value {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.2rem;
  color: #fffbef;
  font-weight: 700;
}

.about-stat-card__note {
  margin: 0.35rem 0 0;
  color: rgba(253, 247, 227, 0.7);
  font-size: 0.9rem;
}

.about-stat-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0.35rem 0 0.2rem;
}

.about-stat-card__metric {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--metallic-light);
}

.about-stat-card__metric-label {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.about-section {
  background: linear-gradient(135deg, rgba(13, 44, 57, 0.9), rgba(10, 30, 38, 0.92));
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 22px 44px -26px var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(43, 179, 175, 0.26);
  pointer-events: none;
}

.about-section h2 {
  font-family: "Cinzel", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--metallic-light);
  margin-top: 0;
  margin-bottom: 1rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.about-section ul {
  padding-left: 1.2rem;
  margin: 0;
  color: rgba(253, 247, 227, 0.82);
  line-height: 1.8;
}

.about-section ol {
  padding-left: 1.2rem;
  margin: 0;
  color: rgba(253, 247, 227, 0.82);
  line-height: 1.8;
}

.about-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: about-step;
}

.about-steps li {
  counter-increment: about-step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.about-steps li::before {
  content: counter(about-step);
  position: absolute;
  left: 0.35rem;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(243, 201, 105, 0.16);
  border: 1px solid rgba(243, 201, 105, 0.45);
  color: var(--metallic-light);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.about-actions {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
}

.about-actions li {
  padding-left: 0.35rem;
}

.about-preview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(8, 32, 43, 0.95), rgba(5, 18, 27, 0.94));
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.about-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(43, 179, 175, 0.2);
  pointer-events: none;
}

.about-preview__copy h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-preview__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted-text);
  margin: 0 0 0.35rem;
}

.about-preview__list {
  padding-left: 1.1rem;
  color: var(--muted-text);
}

.about-preview__actions {
  margin-top: 1rem;
}

.about-preview__badge {
  align-self: center;
  justify-self: end;
  max-width: 280px;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.22), transparent 65%),
    rgba(7, 22, 30, 0.92);
  border: 1px dashed rgba(243, 201, 105, 0.45);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  text-align: left;
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.6);
}

.about-preview__badge-title {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.65);
  color: var(--metallic-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.about-preview__badge p {
  margin: 0.45rem 0 0;
  color: var(--text);
}

.logo-lab {
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background:
    radial-gradient(circle at 12% 10%, rgba(43, 179, 175, 0.16), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(243, 201, 105, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(8, 28, 37, 0.95), rgba(5, 18, 25, 0.94));
  box-shadow: 0 24px 52px -30px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
}

.logo-lab::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(43, 179, 175, 0.22);
  pointer-events: none;
}

.logo-lab::after {
  content: "";
  position: absolute;
  inset: -60% 60% 30% -20%;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.12), transparent 65%);
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
}

.logo-lab__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem 2rem;
  align-items: stretch;
}

.logo-lab__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo-lab__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--muted-text);
}

.logo-lab__copy h2 {
  margin: 0.2rem 0 0.4rem;
}

.logo-lab__copy p {
  margin: 0;
}

.logo-lab__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo-chip {
  flex: 1 1 180px;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.24);
  background: linear-gradient(135deg, rgba(12, 36, 46, 0.9), rgba(7, 22, 30, 0.9));
  box-shadow: 0 16px 28px -22px rgba(0, 0, 0, 0.65);
}

.logo-chip__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(243, 201, 105, 0.78);
}

.logo-chip__value {
  display: block;
  font-weight: 700;
  color: rgba(253, 247, 227, 0.95);
  margin-top: 0.25rem;
}

.logo-cheatsheet {
  border: 1px solid rgba(43, 179, 175, 0.26);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(7, 22, 30, 0.7);
  box-shadow: inset 0 1px 0 rgba(243, 201, 105, 0.08);
  backdrop-filter: blur(4px);
}

.logo-cheatsheet__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid rgba(243, 201, 105, 0.12);
}

.logo-cheatsheet__row:last-child {
  border-bottom: none;
}

.logo-cheatsheet__row span:first-child {
  font-family: "Press Start 2P", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--brand);
  white-space: nowrap;
}

.logo-cheatsheet__row span:last-child {
  color: rgba(253, 247, 227, 0.78);
  font-size: 0.95rem;
}

.logo-presets {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.logo-presets__button {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-lab__console {
  background: linear-gradient(135deg, rgba(9, 30, 40, 0.92), rgba(5, 16, 24, 0.94));
  border: 1px solid rgba(243, 201, 105, 0.28);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.16), 0 20px 36px -28px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.logo-stage {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.25);
  background:
    radial-gradient(circle at 50% 12%, rgba(243, 201, 105, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(5, 12, 18, 0.96), rgba(9, 23, 32, 0.95));
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8);
}

.logo-stage canvas {
  display: block;
  width: 100%;
  height: auto;
}

.logo-stage__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: radial-gradient(circle, rgba(10, 26, 35, 0.78), rgba(10, 26, 35, 0.92));
  color: #fffbef;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.logo-stage__overlay[hidden] {
  opacity: 0;
  visibility: hidden;
}

.logo-stage__turtle {
  position: absolute;
  width: 38px;
  height: 38px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.logo-stage__turtle-shell {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.9), rgba(43, 179, 175, 0.75));
  border: 2px solid rgba(243, 201, 105, 0.65);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(243, 201, 105, 0.35);
}

.logo-stage__turtle-head {
  position: absolute;
  width: 10px;
  height: 12px;
  border-radius: 8px 8px 8px 8px;
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.8), rgba(43, 179, 175, 0.9));
  border: 1px solid rgba(43, 179, 175, 0.8);
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.logo-console__label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--muted-text);
}

.logo-lab textarea {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: rgba(9, 27, 34, 0.9);
  color: var(--text);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 0.9rem;
  resize: vertical;
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.12);
}

.logo-lab textarea::placeholder {
  color: rgba(253, 247, 227, 0.55);
}

.logo-lab textarea:focus {
  outline: none;
  border-color: rgba(243, 201, 105, 0.55);
  box-shadow:
    0 0 0 3px rgba(243, 201, 105, 0.18),
    inset 0 0 0 1px rgba(43, 179, 175, 0.2);
}

.logo-console__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo-console__status {
  margin: 0.35rem 0 0;
  color: rgba(253, 247, 227, 0.8);
  font-size: 0.95rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(243, 201, 105, 0.4);
}

.logo-console__status--error {
  color: var(--danger);
  border-left-color: rgba(244, 91, 105, 0.8);
}

.graveyard-callout {
  background: linear-gradient(135deg, rgba(44, 20, 58, 0.92), rgba(16, 18, 36, 0.95));
  border-color: rgba(147, 112, 219, 0.45);
  box-shadow: 0 28px 52px -30px rgba(76, 29, 149, 0.6);
}

.graveyard-callout::before {
  border-color: rgba(147, 112, 219, 0.35);
  box-shadow: 0 0 24px rgba(147, 112, 219, 0.18);
}

.graveyard-callout h2 {
  color: #d6bbff;
}

.graveyard-callout p {
  color: rgba(234, 223, 255, 0.9);
}

.graveyard-reminder {
  font-style: italic;
  color: rgba(248, 113, 113, 0.85);
}

.feature-button-wall {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: radial-gradient(circle at top, rgba(43, 179, 175, 0.15), transparent 60%), rgba(5, 18, 27, 0.9);
  box-shadow: 0 28px 52px -32px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.feature-button-wall::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(243, 201, 105, 0.18);
  pointer-events: none;
  z-index: 0;
}

.feature-button-wall__heading {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.feature-button-wall__heading h2 {
  margin-bottom: 0.75rem;
}

.feature-button-wall__heading p {
  margin: 0;
  color: rgba(253, 247, 227, 0.78);
  font-size: 0.95rem;
}

.feature-button-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.85rem 1rem;
  justify-items: center;
  align-items: center;
  padding: 0.5rem 0 0.25rem;
}

.feature-button {
  --button-color: #fdf7e3;
  width: 88px;
  height: 31px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 4px;
  background-color: rgba(5, 10, 18, 0.95);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 55%);
  background-size: 4px 4px, 4px 4px, 100% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(2, 6, 10, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
  padding: 2px 4px;
  text-transform: uppercase;
  font-family: "Press Start 2P", "Josefin Sans", monospace;
  font-size: 0.48rem;
  line-height: 1.1;
  color: #fdf7e3;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  justify-self: center;
}

.feature-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.15;
  animation: featureButtonGlimmer 4.5s ease-in-out infinite;
}

.feature-button__title,
.feature-button__desc {
  width: 100%;
  display: block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.feature-button__title {
  color: var(--button-color);
}

.feature-button__desc {
  font-size: 0.42rem;
  opacity: 0.85;
  color: #d2f7ff;
}

.feature-button__scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    rgba(255, 255, 255, 0.05) 1px,
    rgba(255, 255, 255, 0.05) 2px
  );
  animation: featureButtonScanlines 8s linear infinite;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.feature-button:nth-child(5n + 1) {
  --button-color: #f3c969;
  border-color: rgba(243, 201, 105, 0.9);
  background-color: rgba(26, 22, 10, 0.9);
}

.feature-button:nth-child(5n + 2) {
  --button-color: #2bb3af;
  border-color: rgba(43, 179, 175, 0.85);
  background-color: rgba(6, 27, 31, 0.95);
}

.feature-button:nth-child(5n + 3) {
  --button-color: #f45b69;
  border-color: rgba(244, 91, 105, 0.8);
  background-color: rgba(34, 10, 16, 0.92);
}

.feature-button:nth-child(5n + 4) {
  --button-color: #d6bbff;
  border-color: rgba(214, 187, 255, 0.9);
  background-color: rgba(27, 14, 35, 0.92);
}

.feature-button:nth-child(5n) {
  --button-color: #9ae6b4;
  border-color: rgba(154, 230, 180, 0.9);
  background-color: rgba(6, 28, 13, 0.95);
}

.feature-button:nth-child(odd) {
  animation: featureButtonPulse 7s ease-in-out infinite;
}

.board-health {
  margin: 4rem 0 2rem;
  position: relative;
}

.board-health::before {
  content: "";
  position: absolute;
  inset: 0 4%;
  height: 100%;
  background: radial-gradient(circle at top, rgba(244, 91, 105, 0.15), transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.board-health__panel {
  background: linear-gradient(180deg, rgba(25, 12, 6, 0.95), rgba(12, 5, 3, 0.98));
  border: 3px solid rgba(180, 92, 34, 0.9);
  border-radius: 12px;
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.7),
    0 30px 60px rgba(0, 0, 0, 0.55);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.board-health__panel::before,
.board-health__panel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  pointer-events: none;
}

.board-health__panel::before {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-health__panel::after {
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 12px
  );
  mix-blend-mode: soft-light;
  opacity: 0.2;
}

.board-health__panel[data-health-state="dead"] {
  border-color: rgba(244, 91, 105, 0.8);
}

.board-health__header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.board-health__eyebrow {
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: rgba(243, 201, 105, 0.85);
  margin-bottom: 0.8rem;
}

.board-health__header h2 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: 0.3em;
}

.board-health__intro {
  max-width: 620px;
  color: rgba(253, 247, 227, 0.75);
  margin: 0.75rem 0 0;
}

.board-health__status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 2rem;
  background: linear-gradient(180deg, rgba(64, 34, 23, 0.95), rgba(39, 18, 12, 0.95));
  border: 2px solid rgba(181, 104, 41, 0.7);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.board-health__reading {
  font-family: "Press Start 2P", monospace;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.board-health__value {
  font-size: 2.5rem;
  color: #f3c969;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.board-health__state {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.board-health__range {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.board-health__face {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(20, 8, 3, 0.9), rgba(5, 2, 1, 0.9));
  border: 2px solid rgba(244, 91, 105, 0.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-health__face-icon {
  width: 100%;
  height: 100%;
}

.board-health__failures {
  font-family: "Press Start 2P", monospace;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.board-health__failures-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(250, 194, 123, 0.75);
}

.board-health__failures-count {
  font-size: 2rem;
  color: #f95c63;
}

.board-health__failures-note {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.board-health__meter {
  margin-top: 2rem;
  position: relative;
  padding: 1rem 0 0;
}

.board-health__meter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.25;
  pointer-events: none;
}

.board-health__meter-track {
  height: 48px;
  background: repeating-linear-gradient(
      90deg,
      rgba(14, 7, 2, 0.95),
      rgba(14, 7, 2, 0.95) 16px,
      rgba(50, 20, 10, 0.95) 16px,
      rgba(50, 20, 10, 0.95) 32px
    ),
    #130803;
  border: 2px solid rgba(237, 145, 62, 0.8);
  border-radius: 8px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.board-health__meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff993b, #ff5b36, #c0101d);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(255, 91, 54, 0.45);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-health__meter-scale {
  display: flex;
  justify-content: space-between;
  font-family: "Press Start 2P", monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.6rem;
  text-transform: uppercase;
}

.board-health__meter-stop {
  position: relative;
  padding-top: 0.35rem;
}

.board-health__meter-stop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%);
}

.board-health__scale {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.board-health__scale-item {
  border: 1px solid rgba(243, 201, 105, 0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: rgba(12, 6, 3, 0.65);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.board-health__scale-range {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(243, 201, 105, 0.7);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.board-health__scale-label {
  color: rgba(255, 255, 255, 0.8);
}

.board-health__scale-item--active {
  border-color: rgba(244, 91, 105, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.board-health__scale-item--active .board-health__scale-range {
  color: #f45b69;
}

.tb-profile-link {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(125, 211, 252, 0.4);
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.tb-profile-link:hover {
  color: #a5f3fc;
  border-bottom-color: rgba(165, 243, 252, 0.85);
}

.profile-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.profile-card {
  background: rgba(4, 12, 18, 0.9);
  border: 1px solid rgba(243, 201, 105, 0.2);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.profile-card--identity {
  border-color: rgba(173, 209, 255, 0.3);
  background: radial-gradient(circle at 20% 20%, rgba(126, 214, 255, 0.08), transparent 45%),
    radial-gradient(circle at 60% 0%, rgba(244, 91, 105, 0.12), transparent 42%),
    rgba(4, 12, 18, 0.9);
}

.profile-identity {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-avatar {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background-image: linear-gradient(
    var(--avatar-rotation, 135deg),
    var(--avatar-gradient-start, #48c6ef),
    var(--avatar-gradient-stop, #6f86d6)
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.profile-avatar__ring,
.profile-avatar__spark {
  position: absolute;
  border-radius: inherit;
  inset: 6px;
  background: radial-gradient(circle at 60% 25%, rgba(255, 255, 255, var(--avatar-noise, 0.18)), transparent 65%);
  filter: blur(2px);
}

.profile-avatar__spark {
  inset: 2px;
  background: radial-gradient(circle at 20% 70%, var(--avatar-spark, #c4ffdd), transparent 50%);
  opacity: 0.8;
  mix-blend-mode: screen;
}

.profile-avatar__initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fefcf5;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.profile-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(244, 91, 105, 0.15);
  color: #fecdd3;
  border: 1px solid rgba(244, 91, 105, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.profile-eyebrow--row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.profile-meta__item {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(173, 209, 255, 0.25);
  border-radius: 12px;
  background: rgba(11, 27, 40, 0.6);
}

.profile-meta__item dt {
  margin: 0;
  color: rgba(173, 209, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.profile-meta__item dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.profile-card--form {
  border-color: rgba(244, 91, 105, 0.4);
}

.profile-card--economy {
  border-color: rgba(126, 214, 255, 0.35);
  background: radial-gradient(circle at top right, rgba(126, 214, 255, 0.08), transparent 45%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%),
    rgba(4, 12, 18, 0.9);
}

.profile-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: rgba(243, 201, 105, 0.7);
  margin-bottom: 0.75rem;
}

.profile-name {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
}

.profile-handle {
  margin: 0.25rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Space Mono", monospace;
}

.profile-status {
  border-top: 1px solid rgba(243, 201, 105, 0.25);
  padding-top: 1.25rem;
}

.profile-status__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}

.profile-status__label {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(243, 201, 105, 0.85);
}

.profile-status__hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.profile-status__message {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.profile-status__empty {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.profile-balance__title {
  margin: 0 0 0.75rem;
}

.profile-balance__amount {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: #e0f2fe;
}

.profile-balance__value {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.profile-balance__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
}

.profile-balance__meta {
  margin: 0;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(126, 214, 255, 0.25);
  border-bottom: 1px solid rgba(126, 214, 255, 0.25);
  display: grid;
  gap: 0.75rem;
}

.profile-balance__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.profile-balance__row dt {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(126, 214, 255, 0.9);
}

.profile-balance__row dd {
  margin: 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
}

.profile-balance__note {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.profile-form__title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.profile-form__helper {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.profile-form textarea {
  width: 100%;
  font-size: 1rem;
}

.profile-form__submit {
  background: linear-gradient(90deg, #48c6ef, #6f86d6);
  color: #010a14;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(73, 198, 239, 0.35);
}

.profile-card--features {
  border-color: rgba(110, 231, 183, 0.4);
  background: radial-gradient(circle at 80% 10%, rgba(110, 231, 183, 0.1), transparent 45%),
    radial-gradient(circle at 10% 10%, rgba(125, 211, 252, 0.14), transparent 40%),
    rgba(4, 12, 18, 0.9);
}

.feature-overview__header {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-overview__title {
  margin: 0;
  font-size: 1.35rem;
}

.feature-overview__helper {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.feature-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.feature-pill {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e5f4ef;
}

.feature-pill--implemented {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.feature-pill--rejected {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

.feature-pill__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.feature-pill__value {
  font-weight: 800;
  font-size: 1.25rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.feature-column__title {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.feature-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-chip {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(243, 201, 105, 0.2);
  background: rgba(4, 12, 18, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.feature-chip__header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.feature-chip__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.feature-chip__votes {
  background: rgba(243, 201, 105, 0.15);
  color: rgba(243, 201, 105, 0.95);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.35);
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-chip__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.feature-chip__description {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.feature-chip__empty {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.profile-card--quotes {
  border-color: rgba(110, 231, 183, 0.4);
  background: radial-gradient(circle at 20% 20%, rgba(52, 211, 153, 0.1), rgba(3, 7, 18, 0.9));
}

.quote-overview__header {
  margin-bottom: 1.25rem;
}

.quote-overview__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.quote-overview__helper {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.quote-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.quote-total {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(110, 231, 183, 0.35);
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
}

.quote-total dt {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(110, 231, 183, 0.85);
  margin-bottom: 0.25rem;
}

.quote-total dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e5f4ef;
}

.quote-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-list__item {
  padding: 1rem 1rem 0.75rem;
  border: 1px solid rgba(243, 201, 105, 0.2);
  border-radius: 12px;
  background: rgba(4, 12, 18, 0.6);
}

.quote-list__text {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.quote-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.quote-list__attribution {
  font-weight: 600;
  color: rgba(243, 201, 105, 0.9);
}

.quote-status {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.quote-status--approved {
  background: rgba(110, 231, 183, 0.2);
  color: #bbf7d0;
  border: 1px solid rgba(110, 231, 183, 0.5);
}

.quote-status--pending {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.quote-list__timestamp {
  color: rgba(255, 255, 255, 0.55);
}

.quote-list__empty {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

@keyframes featureButtonPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 6px 14px rgba(2, 6, 10, 0.85);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.12),
      0 10px 24px rgba(0, 0, 0, 0.75);
  }
}

@keyframes featureButtonGlimmer {
  0%,
  80% {
    opacity: 0.05;
  }
  90% {
    opacity: 0.35;
  }
  100% {
    opacity: 0.05;
  }
}

@keyframes featureButtonScanlines {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(2px);
  }
}

.site-footer {
  border-top: 2px solid rgba(243, 201, 105, 0.45);
  background: linear-gradient(180deg, rgba(8, 25, 32, 0.95), rgba(7, 18, 24, 0.98));
  padding: 2rem 0;
  color: rgba(253, 247, 227, 0.72);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(243, 201, 105, 0.2),
    rgba(243, 201, 105, 0.2) 6px,
    transparent 6px,
    transparent 38px
  );
  opacity: 0.1;
  pointer-events: none;
}

@media (max-width: 720px) {
  .plant-terrarium {
    padding: 1.5rem 1.25rem;
  }

  .plant-terrarium__chips {
    gap: 0.5rem;
  }

  .terrarium {
    width: min(360px, 100%);
  }
}

@media (max-width: 900px) {
  .feature-card {
    flex-direction: column;
  }

  .feature-card__aside {
    width: 100%;
  }

  .vote-controls {
    flex-direction: column;
  }

  .turnstile-container {
    justify-content: flex-start;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-inner::before,
  .header-inner::after {
    display: none;
  }

  .page-header {
    padding: 1.25rem 1.35rem;
  }

  .page-header::before,
  .page-header::after {
    display: none;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
  }

  .account-links {
    margin-left: auto;
  }

  .feature-detail__header {
    flex-direction: column;
  }

  .feature-detail__vote {
    width: 100%;
  }

  .board-health__panel {
    padding: 1.75rem;
  }

  .board-health__status {
    grid-template-columns: 1fr;
  }

  .board-health__reading,
  .board-health__failures {
    align-items: center;
    text-align: center;
  }

  .board-health__meter-stop::before {
    display: none;
  }

  .board-health__meter-scale {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .glorp-cat {
    padding: 1.35rem 1.1rem;
  }

  .glorp-cat__bubble {
    width: 100%;
  }

  .about-hero__stats {
    width: 100%;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-preview__badge {
    justify-self: stretch;
  }

  .logo-lab {
    padding: 1.35rem 1.15rem;
  }

.logo-cheatsheet__row {
  align-items: flex-start;
  flex-direction: column;
}
}

/* Scoreboard */
.scoreboard-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: linear-gradient(135deg, rgba(15, 36, 45, 0.92), rgba(10, 27, 35, 0.9));
  position: relative;
  overflow: hidden;
}

.scoreboard-hero::before,
.scoreboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scoreboard-hero::before {
  border: 1px solid rgba(43, 179, 175, 0.25);
  margin: 12px;
  opacity: 0.7;
}

.scoreboard-hero::after {
  background: radial-gradient(circle at 20% 20%, rgba(243, 201, 105, 0.12), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(43, 179, 175, 0.14), transparent 34%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

.scoreboard-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.scoreboard-hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: rgba(243, 201, 105, 0.82);
}

.scoreboard-hero__title {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.24em;
}

.scoreboard-hero__lead {
  margin: 0;
  color: rgba(253, 247, 227, 0.8);
  line-height: 1.7;
  max-width: 640px;
}

.scoreboard-hero__viz {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.scoreboard-orb {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.18), rgba(43, 179, 175, 0.08)),
    linear-gradient(145deg, rgba(14, 40, 50, 0.9), rgba(9, 24, 31, 0.95));
  border: 1px solid rgba(243, 201, 105, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(43, 179, 175, 0.35),
    0 18px 32px -22px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.scoreboard-orb__halo,
.scoreboard-orb__pulse {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(243, 201, 105, 0.32);
  filter: blur(2px);
  animation: scoreboardPulse 11s ease-in-out infinite;
}

.scoreboard-orb__pulse {
  inset: 18%;
  border-color: rgba(43, 179, 175, 0.32);
  animation-delay: 1.2s;
}

.scoreboard-orb__core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(243, 201, 105, 0.35), rgba(14, 40, 50, 0.9));
  border: 1px solid rgba(243, 201, 105, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 18px rgba(243, 201, 105, 0.2);
}

.scoreboard-orb__glyph {
  font-family: "Cinzel", serif;
  letter-spacing: 0.28em;
  font-size: 1.4rem;
  color: var(--metallic-light);
}

.scoreboard-orb__spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand), rgba(243, 201, 105, 0));
  opacity: 0.8;
  filter: blur(0.6px);
  animation: sparkleDrift 12s ease-in-out infinite;
}

.scorecard-spark--one {
  top: 10%;
  left: 18%;
  animation-delay: 0.4s;
}

.scorecard-spark--two {
  right: 22%;
  top: 34%;
  animation-delay: 1.1s;
}

.scorecard-spark--three {
  bottom: 16%;
  left: 30%;
  animation-delay: 2s;
}

.scoreboard-legend {
  position: relative;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.25);
  background: rgba(10, 29, 39, 0.78);
  overflow: hidden;
}

.scoreboard-legend__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(243, 201, 105, 0.16), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(43, 179, 175, 0.12), transparent 38%);
  opacity: 0.8;
  filter: blur(6px);
}

.scoreboard-legend__titles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  z-index: 1;
}

.legend-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: rgba(9, 25, 33, 0.8);
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.14);
}

.legend-pill__rank {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.legend-pill__title {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}

.scoreboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: 1.5rem;
}

.scoreboard-grid__list {
  display: grid;
  gap: 0.75rem;
}

.scorecard {
  position: relative;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(243, 201, 105, 0.26);
  background: linear-gradient(125deg, rgba(6, 22, 29, 0.92), rgba(8, 24, 32, 0.9));
  box-shadow: 0 16px 36px -28px var(--shadow), inset 0 0 0 1px rgba(43, 179, 175, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "rank identity title"
    "rank scores scores";
  gap: 0.4rem 1rem;
}

.scorecard__chrome {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 201, 105, 0.2);
  opacity: 0.7;
  pointer-events: none;
}

.scorecard__rank {
  grid-area: rank;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--brand);
  align-self: start;
}

.scorecard__identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scorecard__name {
  font-size: 1.1rem;
  font-weight: 700;
}

.scorecard__username {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.scorecard__title {
  grid-area: title;
  justify-self: end;
  align-self: start;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.35);
  background: rgba(243, 201, 105, 0.1);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.scorecard__scores {
  grid-area: scores;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  align-items: center;
}

.scorecard__score,
.scorecard__total {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(7, 20, 27, 0.75);
  border: 1px solid rgba(243, 201, 105, 0.2);
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.12);
}

.scorecard__total {
  background: linear-gradient(120deg, rgba(243, 201, 105, 0.15), rgba(6, 20, 27, 0.85));
  border-color: rgba(243, 201, 105, 0.32);
}

.scorecard__score small,
.scorecard__total small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: rgba(253, 247, 227, 0.72);
}

.scorecard__score strong,
.scorecard__total strong {
  font-size: 1.35rem;
  color: var(--text);
}

.scorecard--elite {
  border-color: rgba(243, 201, 105, 0.55);
  box-shadow:
    0 18px 42px -26px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(243, 201, 105, 0.14),
    inset 0 0 22px rgba(243, 201, 105, 0.16);
}

.scorecard--elite::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(243, 201, 105, 0.12), transparent 48%);
  filter: blur(32px);
  z-index: 0;
}

.scoreboard-panel {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.scoreboard-panel__glass {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 201, 105, 0.3);
  background: linear-gradient(140deg, rgba(5, 18, 27, 0.92), rgba(12, 34, 44, 0.9));
  box-shadow: 0 18px 36px -28px var(--shadow), inset 0 0 0 1px rgba(43, 179, 175, 0.16);
}

.scoreboard-panel__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: rgba(243, 201, 105, 0.8);
}

.scoreboard-panel h2 {
  margin: 0.35rem 0;
}

.scoreboard-panel__copy {
  margin: 0 0 1rem;
  color: rgba(253, 247, 227, 0.8);
}

.scoreboard-panel__current {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: rgba(10, 29, 39, 0.82);
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.12);
}

.scoreboard-panel__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scoreboard-panel__total {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.scoreboard-panel__breakdown {
  display: flex;
  flex-direction: column;
  color: rgba(253, 247, 227, 0.8);
}

.scoreboard-form .form-field label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(253, 247, 227, 0.9);
}

.scoreboard-form .input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 201, 105, 0.28);
  background: rgba(9, 24, 31, 0.85);
  color: var(--text);
}

.scoreboard-empty {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px dashed rgba(243, 201, 105, 0.35);
  background: rgba(9, 24, 31, 0.72);
  color: rgba(253, 247, 227, 0.78);
}

@keyframes scoreboardPulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .scoreboard-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 720px) {
  .scorecard {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rank"
      "identity"
      "title"
      "scores";
  }

  .scorecard__title {
    justify-self: start;
  }

  .scorecard__scores {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.companion-lab {
  margin: 72px 0;
  padding: 40px 36px;
  background: linear-gradient(145deg, rgba(22, 46, 59, 0.9), rgba(16, 33, 42, 0.96));
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.companion-lab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(43, 179, 175, 0.12), transparent 32%),
    radial-gradient(circle at 82% 30%, rgba(243, 201, 105, 0.14), transparent 36%);
  opacity: 0.75;
  pointer-events: none;
}

.companion-lab__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  z-index: 1;
  align-items: center;
}

.companion-lab__copy h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.companion-lab__lead {
  color: var(--muted-text);
  max-width: 52ch;
}

.companion-lab__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 0.4rem;
}

.companion-lab__list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.companion-lab__list li {
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 201, 105, 0.2);
  border-radius: 10px;
  line-height: 1.4;
  position: relative;
}

.companion-lab__list li::before {
  content: "*";
  color: var(--brand);
  margin-right: 0.4rem;
}

.companion-lab__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.companion-lab__stage {
  background: linear-gradient(160deg, rgba(15, 29, 38, 0.92), rgba(17, 44, 52, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.25rem;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.08), inset 0 0 0 2px rgba(10, 19, 24, 0.6);
}

.companion-lab__sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 20%, rgba(99, 210, 195, 0.16), transparent 40%),
    radial-gradient(circle at 70% 36%, rgba(243, 201, 105, 0.18), transparent 42%),
    radial-gradient(circle at 46% 74%, rgba(43, 179, 175, 0.12), transparent 44%);
  pointer-events: none;
}

.companion-lab__radar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.65;
}

.companion-lab__ring {
  position: absolute;
  width: 60%;
  height: 60%;
  border: 1px dashed rgba(243, 201, 105, 0.35);
  border-radius: 50%;
  animation: radarPulse 12s linear infinite;
}

.companion-lab__ring--two {
  width: 76%;
  height: 76%;
  animation-delay: 2s;
}

.companion-lab__ring--three {
  width: 92%;
  height: 92%;
  animation-delay: 4s;
}

.companion-lab__radar-label {
  padding: 0.5rem 0.75rem;
  background: rgba(10, 19, 24, 0.7);
  border: 1px solid rgba(243, 201, 105, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.companion-lab__status {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  z-index: 1;
}

.companion-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.companion-card--alt {
  border-color: rgba(43, 179, 175, 0.4);
}

.companion-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.companion-card__stat {
  margin: 0.3rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.companion-card__hint {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.companion-lab__shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  z-index: 1;
}

.companion-gift {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 201, 105, 0.22);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.08);
}

.companion-gift__title {
  margin: 0;
  font-weight: 700;
}

.companion-gift__desc {
  margin: 0.2rem 0 0.5rem;
  color: var(--muted-text);
}

.companion-gift__cost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--brand);
}

.desktop-buddy {
  position: fixed;
  width: 140px;
  height: 160px;
  pointer-events: none;
  inset: auto auto 140px 32px;
  transform: translate3d(64px, 70vh, 0);
  transition: transform var(--buddy-speed, 5s) ease-in-out;
  z-index: 40;
}

.desktop-buddy.is-hidden {
  display: none;
}

.desktop-buddy__shadow {
  position: absolute;
  bottom: 12px;
  left: 18px;
  width: 88px;
  height: 20px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  filter: blur(6px);
  transform: scale(0.9);
  opacity: 0.85;
}

.desktop-buddy__sprite {
  position: absolute;
  bottom: 28px;
  left: 10px;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffe6b3, #2bb3af);
  border: 2px solid rgba(0, 0, 0, 0.32);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35), 0 0 18px rgba(243, 201, 105, 0.35);
  position: relative;
  overflow: hidden;
  animation: buddyBounce 2.6s ease-in-out infinite alternate;
  pointer-events: auto;
}

.desktop-buddy.is-walking .desktop-buddy__sprite {
  animation: buddyWalk 0.7s steps(2) infinite;
}

.desktop-buddy.is-facing-left .desktop-buddy__sprite {
  transform: scaleX(-1);
}

.desktop-buddy__face {
  position: absolute;
  inset: 16% 20% auto;
  height: 40%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 40%;
  display: grid;
  place-items: center;
}

.desktop-buddy__eye {
  width: 18px;
  height: 18px;
  background: #0a1318;
  border-radius: 50%;
  position: absolute;
  top: 36%;
}

.desktop-buddy__eye--left {
  left: 26%;
}

.desktop-buddy__eye--right {
  right: 26%;
}

.desktop-buddy__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(243, 201, 105, 0.45);
  opacity: 0.6;
}

.desktop-buddy__ear {
  position: absolute;
  width: 30px;
  height: 34px;
  background: linear-gradient(120deg, rgba(243, 201, 105, 0.9), rgba(43, 179, 175, 0.8));
  border-radius: 12px;
  top: -10px;
  transform: rotate(12deg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.desktop-buddy__ear--left {
  left: 22px;
}

.desktop-buddy__ear--right {
  right: 22px;
  transform: rotate(-12deg);
}

.desktop-buddy__tail {
  position: absolute;
  width: 54px;
  height: 18px;
  background: linear-gradient(90deg, rgba(43, 179, 175, 0.9), rgba(10, 19, 24, 0));
  border-radius: 18px;
  bottom: 16px;
  right: -12px;
  box-shadow: 0 0 12px rgba(43, 179, 175, 0.35);
  transform-origin: left center;
  animation: buddyTail 2.6s ease-in-out infinite;
}

.desktop-buddy__crest {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 22px;
  height: 28px;
  margin-left: -11px;
  background: linear-gradient(180deg, #f3c969, #1c7a78);
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.desktop-buddy__bubble {
  position: absolute;
  left: 120px;
  bottom: 70px;
  min-width: 180px;
  max-width: 240px;
  padding: 0.7rem 0.8rem;
  background: rgba(10, 19, 24, 0.9);
  border: 1px solid rgba(243, 201, 105, 0.45);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
}

.desktop-buddy__bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-left: inherit;
  border-bottom: inherit;
  transform: rotate(45deg);
}

.desktop-buddy__bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.desktop-buddy__bubble--status {
  border-color: rgba(43, 179, 175, 0.6);
  color: var(--brand);
}

.desktop-buddy__bubble--loud {
  border-color: rgba(244, 91, 105, 0.7);
  box-shadow: 0 12px 20px rgba(244, 91, 105, 0.24);
}

.desktop-buddy__badge {
  position: absolute;
  top: -14px;
  right: -12px;
  background: linear-gradient(140deg, rgba(243, 201, 105, 0.9), rgba(43, 179, 175, 0.85));
  color: #0a1318;
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.desktop-buddy__badge-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.desktop-buddy__badge-value {
  font-size: 1rem;
}

.desktop-buddy__button {
  position: absolute;
  bottom: -12px;
  right: 8px;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(243, 201, 105, 0.45);
  background: rgba(10, 19, 24, 0.9);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  pointer-events: auto;
}

.desktop-buddy__button--muted {
  right: 96px;
  background: rgba(255, 255, 255, 0.05);
}

.desktop-buddy.is-sparking .desktop-buddy__sprite {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35), 0 0 28px rgba(43, 179, 175, 0.65);
}

.desktop-buddy.has-ribbon .desktop-buddy__crest {
  background: linear-gradient(160deg, #f45b69, #f3c969);
  box-shadow: 0 12px 18px rgba(244, 91, 105, 0.3);
}

.desktop-buddy.has-snack .desktop-buddy__tail {
  animation-duration: 1.3s;
  box-shadow: 0 0 14px rgba(244, 91, 105, 0.35);
}

.desktop-buddy.has-lantern .desktop-buddy__badge {
  background: linear-gradient(160deg, #2bb3af, #7de3b1);
}

.desktop-buddy.has-confetti .desktop-buddy__bubble.is-visible {
  box-shadow: 0 12px 20px rgba(243, 201, 105, 0.28), 0 0 0 1px rgba(243, 201, 105, 0.4);
}

.shimeji-shop {
  position: fixed;
  right: 18px;
  bottom: 140px;
  width: min(360px, 92vw);
  background: rgba(10, 19, 24, 0.98);
  border: 1px solid rgba(243, 201, 105, 0.4);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  padding: 1rem;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.shimeji-shop.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shimeji-shop__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.shimeji-shop__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-size: 0.8rem;
}

.shimeji-shop__balance {
  margin: 0.1rem 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.shimeji-shop__note {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.shimeji-shop__close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  cursor: pointer;
}

.shimeji-shop__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.shimeji-item {
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(243, 201, 105, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.shimeji-item.is-owned {
  border-color: rgba(43, 179, 175, 0.4);
  box-shadow: inset 0 0 0 1px rgba(43, 179, 175, 0.25);
}

.shimeji-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.shimeji-item__title {
  margin: 0;
  font-size: 1.05rem;
}

.shimeji-item__cost {
  font-weight: 700;
  color: var(--brand);
}

.shimeji-item__desc {
  margin: 0.4rem 0 0.6rem;
  color: var(--muted-text);
}

.shimeji-item__action {
  width: 100%;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(243, 201, 105, 0.35);
  background: rgba(10, 19, 24, 0.9);
  color: var(--text);
  cursor: pointer;
}

.shimeji-item__action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shimeji-pulse {
  box-shadow: 0 0 0 2px rgba(243, 201, 105, 0.45), 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease;
}

@keyframes buddyBounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes buddyWalk {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes buddyTail {
  0% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-8deg);
  }
  100% {
    transform: rotate(6deg);
  }
}

@keyframes radarPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

@media (max-width: 1080px) {
  .companion-lab__grid {
    grid-template-columns: 1fr;
  }

  .companion-lab__stage {
    min-height: 300px;
  }

  .desktop-buddy {
    inset: auto 16px 140px auto;
  }
}

@media (max-width: 720px) {
  .companion-lab {
    padding: 28px 22px;
  }

  .companion-lab__actions {
    gap: 0.5rem;
  }

  .companion-lab__shelf {
    grid-template-columns: 1fr;
  }

  .desktop-buddy__bubble {
    left: 20px;
    right: auto;
  }
}

/* === Neobrutalist overhaul === */
:root {
  --neo-shadow-offset: 10px;
  --neo-shadow-color: #0c0c12;
  --neo-radius: 12px;
}

body,
body.theme-winter-red,
body.theme-spring,
body.theme-summer,
body.theme-fall,
body.theme-winter,
body.theme-lava,
body.theme-neon {
  background-color: var(--background);
  background-image:
    linear-gradient(90deg, rgba(12, 12, 20, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(12, 12, 20, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 78, 111, 0.05), transparent 38%),
    linear-gradient(-135deg, rgba(14, 209, 178, 0.08), transparent 32%);
  background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
  color: var(--text);
  font-family: "Space Grotesk", "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

body::before,
body::after,
body.theme-winter-red::before,
body.theme-winter-red::after,
body.theme-spring::before,
body.theme-spring::after,
body.theme-summer::before,
body.theme-summer::after,
body.theme-fall::before,
body.theme-fall::after,
body.theme-winter::before,
body.theme-winter::after,
body.theme-lava::before,
body.theme-lava::after,
body.theme-neon::before,
body.theme-neon::after {
  display: none !important;
}

body.theme-neon {
  --background: #0a071c;
  --background-alt: #0f0c2a;
  --surface: #15123a;
  --surface-alt: #1f1650;
  --card-bg: #161033;
  --input-bg: #0d0a25;
  --text-base: #fef8ff;
  --muted-text-base: #d4caf8;
  --accent: #68f5ff;
  --accent-dark: #39d7de;
  --brand: #ff6bd6;
  --brand-dark: #ff37a5;
  --border: #fbe26d;
  --shadow: rgba(0, 0, 0, 0.65);
  color: var(--text);
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 107, 214, 0.2), transparent 32%),
    radial-gradient(circle at 82% 28%, rgba(104, 245, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(251, 226, 109, 0.18), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 107, 214, 0.14) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(0deg, rgba(104, 245, 255, 0.14) 0 2px, transparent 2px 80px),
    linear-gradient(180deg, #0a071c, #0c0a24 48%, #141138);
}

body.theme-neon .site-header {
  background: linear-gradient(135deg, rgba(255, 107, 214, 0.18), rgba(104, 245, 255, 0.12), rgba(21, 18, 58, 0.95));
  border-color: rgba(251, 226, 109, 0.7);
  box-shadow: 0 12px 0 var(--neo-shadow-color), 0 0 48px rgba(255, 107, 214, 0.35);
}

body.theme-neon .brand {
  background: linear-gradient(120deg, #ff6bd6, #68f5ff 62%, #fbe26d);
  color: #0a0a14;
  text-shadow: 0 0 14px rgba(255, 107, 214, 0.75);
  border-color: rgba(251, 226, 109, 0.9);
  box-shadow: 6px 6px 0 var(--neo-shadow-color), 0 0 18px rgba(104, 245, 255, 0.35);
}

body.theme-neon .header-nav__summary {
  background: rgba(22, 16, 51, 0.92);
  color: #fef8ff;
  border-color: rgba(251, 226, 109, 0.6);
  box-shadow: 6px 6px 0 var(--neo-shadow-color), 0 0 18px rgba(255, 107, 214, 0.25);
}

body.theme-neon .header-nav__group:hover .header-nav__summary,
body.theme-neon .header-nav__group:focus-within .header-nav__summary,
body.theme-neon .header-nav__group[open] .header-nav__summary {
  background: linear-gradient(90deg, rgba(255, 107, 214, 0.9), rgba(104, 245, 255, 0.8));
  color: #0a0a14;
}

body.theme-neon .header-nav__panel {
  background: rgba(21, 18, 58, 0.94);
  border-color: rgba(251, 226, 109, 0.65);
  box-shadow: 8px 10px 0 var(--neo-shadow-color), 0 0 18px rgba(104, 245, 255, 0.2);
}

body.theme-neon .header-nav__link {
  background: rgba(22, 16, 51, 0.92);
  color: #fef8ff;
  border-color: rgba(251, 226, 109, 0.6);
  box-shadow: 5px 5px 0 var(--neo-shadow-color), 0 0 18px rgba(255, 107, 214, 0.25);
}

body.theme-neon .header-nav__link:hover,
body.theme-neon .header-nav__link--active {
  background: linear-gradient(90deg, rgba(255, 107, 214, 0.9), rgba(104, 245, 255, 0.8));
  color: #0a0a14;
}

body.theme-neon .header-balance,
body.theme-neon .theme-switcher,
body.theme-neon .audio-toggle {
  background: rgba(21, 18, 58, 0.9);
  border-color: rgba(251, 226, 109, 0.65);
  box-shadow: 6px 6px 0 var(--neo-shadow-color), 0 0 18px rgba(104, 245, 255, 0.2);
}

body.theme-neon .theme-switcher__select {
  background: rgba(12, 9, 40, 0.92);
  color: #fef8ff;
}

body.theme-neon .audio-toggle__track {
  color: #fef8ff;
  border-color: rgba(251, 226, 109, 0.4);
}

body.theme-neon .site-main {
  position: relative;
  isolation: isolate;
}

body.theme-neon .site-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 107, 214, 0.14), transparent 38%),
    radial-gradient(circle at 78% 68%, rgba(104, 245, 255, 0.14), transparent 42%),
    repeating-linear-gradient(90deg, rgba(251, 226, 109, 0.12) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255, 107, 214, 0.08) 0 1px, transparent 1px 80px);
  opacity: 0.75;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

/* Contrast-aware text tokens with graceful fallbacks */
body {
  --text-readable: var(--text-base);
  --muted-text-readable: var(--muted-text-base);
}

@supports not (color: color-contrast(white vs black)) {
  body {
    --text-readable: color-mix(in srgb, var(--text-base) 85%, var(--background) 15%);
    --muted-text-readable: color-mix(in srgb, var(--muted-text-base) 80%, var(--background-alt, var(--background)) 20%);
  }

  body.theme-neon {
    --text-readable: color-mix(in srgb, var(--text-base) 90%, #ffffff 10%);
    --muted-text-readable: color-mix(in srgb, var(--muted-text-base) 85%, #ffffff 15%);
  }
}

@supports (color: color-contrast(white vs black)) {
  body {
    --text-readable: color-contrast(var(--background) vs var(--text-base), #fef8ff, #0b0b0f);
    --muted-text-readable: color-contrast(var(--card-bg, var(--background)) vs var(--muted-text-base), #e6e7f2, #111217);
  }

  body.theme-neon {
    --text-readable: color-contrast(var(--background) vs var(--text-base), #0b0b0f, #fef8ff);
    --muted-text-readable: color-contrast(var(--card-bg, var(--background)) vs var(--muted-text-base), #0b0b0f, #e8defa);
  }
}

body {
  --text: var(--text-readable);
  --muted-text: var(--muted-text-readable);
}

.container {
  width: min(1100px, 100%);
  padding: 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  color: var(--muted-text);
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding: 0.05em 0.1em;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

a:hover {
  background: var(--accent);
  color: #0b0b0f;
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
}

.site-header {
  background: linear-gradient(135deg, var(--card-bg), var(--surface));
  border: 3px solid var(--border);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color);
  border-radius: var(--neo-radius);
  padding: 0.4rem 0;
  overflow: visible;
}

.header-inner {
  min-height: 92px;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 0.75rem;
}

.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.1em;
  color: var(--text);
  background: var(--brand);
  padding: 0.5rem 0.85rem;
  border: 3px solid var(--border);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  text-shadow: none;
}

.header-nav {
  gap: 0.75rem;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  order: 0;
  align-items: stretch;
}

.header-nav__group {
  min-width: 0;
  height: auto;
}

.header-nav__summary {
  border: 3px solid var(--border);
  background: linear-gradient(135deg, var(--card-bg), var(--surface));
  color: var(--text);
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  padding: 0.6rem 0.75rem;
  gap: 0.15rem;
}

.header-nav__summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.header-nav__group:hover .header-nav__summary,
.header-nav__group:focus-within .header-nav__summary,
.header-nav__group[open] .header-nav__summary {
  background: var(--brand);
  color: #0b0b0f;
}

.header-nav__label {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.header-nav__description {
  color: var(--muted-text);
  line-height: 1.3;
}

.header-nav__panel {
  position: static;
  min-width: 0;
  width: 100%;
  max-height: none;
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: 8px 10px 0 var(--neo-shadow-color);
  overflow: visible;
  z-index: 4;
}

.header-nav__link {
  color: var(--text);
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--neo-shadow-color);
}

.header-nav__link:hover {
  color: #0b0b0f;
  background: var(--accent);
  transform: translateY(-2px);
}

.header-nav__link--active {
  background: var(--brand);
}

.header-controls {
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
  flex-shrink: 0;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .header-nav__description {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-nav__panel {
    box-shadow: 6px 6px 0 var(--neo-shadow-color);
  }
}

@media (min-width: 1100px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: 0;
  }

  .header-controls {
    order: 3;
  }
}

.header-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 3px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 5px 5px 0 var(--neo-shadow-color);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.theme-switcher,
.audio-toggle {
  border-radius: 8px;
  border: 3px solid var(--border);
  background: var(--card-bg);
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  padding: 0.5rem 0.75rem;
}

.theme-switcher__select {
  appearance: none;
  border: 3px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.audio-toggle {
  text-transform: uppercase;
  gap: 0.6rem;
}

.audio-toggle__track {
  border-left: 3px solid var(--border);
  color: var(--muted-text);
}

.neon-marquee {
  position: relative;
  overflow: hidden;
  margin: 1.1rem auto 2rem;
  width: min(1200px, calc(100% - 1.5rem));
  border: 3px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 107, 214, 0.35), rgba(104, 245, 255, 0.28), rgba(251, 226, 109, 0.25));
  box-shadow: 8px 8px 0 var(--neo-shadow-color), 0 0 26px rgba(255, 107, 214, 0.25);
}

.neon-marquee::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(2px 2px at 12% 32%, rgba(255, 107, 214, 0.9), transparent 60%),
    radial-gradient(2px 2px at 44% 18%, rgba(104, 245, 255, 0.8), transparent 60%),
    radial-gradient(3px 3px at 74% 44%, rgba(251, 226, 109, 0.9), transparent 60%),
    radial-gradient(2px 2px at 26% 72%, rgba(255, 107, 214, 0.7), transparent 60%),
    radial-gradient(1.8px 1.8px at 86% 76%, rgba(104, 245, 255, 0.75), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: sparkleDrift 22s linear infinite;
}

.neon-marquee__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 214, 0.28), transparent 42%),
    radial-gradient(circle at 80% 50%, rgba(104, 245, 255, 0.26), transparent 42%);
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
  animation: neonGlow 16s ease-in-out infinite;
}

.neon-marquee__track {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  white-space: nowrap;
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 0.7rem;
  padding: 0.55rem 1rem;
  color: #0b0b0f;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 239, 98, 0.8));
  animation: neonMarquee 18s linear infinite;
}

.neon-marquee__track span {
  flex-shrink: 0;
  letter-spacing: 0.08em;
}

.neon-marquee__track--reverse {
  background: linear-gradient(180deg, rgba(12, 9, 40, 0.9), rgba(255, 107, 214, 0.5));
  color: #fef8ff;
  animation-direction: reverse;
  animation-duration: 22s;
  border-top: 3px solid rgba(0, 0, 0, 0.08);
}

.neon-marquee__track:not(:first-of-type) {
  border-top: 3px solid rgba(0, 0, 0, 0.08);
}

@keyframes neonMarquee {
  to {
    transform: translateX(-33.33%);
  }
}

@keyframes neonGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes sparkleDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 8px, 0);
  }
  100% {
    transform: translate3d(-24px, 16px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon-marquee__track,
  .neon-marquee__glow {
    animation: none;
  }

  .neon-marquee::after {
    animation: none;
  }

  body[data-theme="neon"][data-theme-source="manual"] .neon-marquee__track {
    animation: neonMarquee 18s linear infinite;
  }

  body[data-theme="neon"][data-theme-source="manual"] .neon-marquee__track--reverse {
    animation: neonMarquee 22s linear infinite reverse;
  }

  body[data-theme="neon"][data-theme-source="manual"] .neon-marquee__glow {
    animation: neonGlow 16s ease-in-out infinite;
  }

  body[data-theme="neon"][data-theme-source="manual"] .neon-marquee::after {
    animation: sparkleDrift 22s linear infinite;
  }
}

@media (max-width: 720px) {
  .neon-marquee {
    width: calc(100% - 1rem);
  }

  .neon-marquee__track {
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
  }
}

body.theme-neon .neon-marquee {
  background: linear-gradient(90deg, rgba(255, 107, 214, 0.55), rgba(104, 245, 255, 0.38), rgba(251, 226, 109, 0.35));
  box-shadow: 10px 10px 0 var(--neo-shadow-color), 0 0 30px rgba(255, 107, 214, 0.35);
}

body.theme-neon .neon-marquee__track {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(251, 226, 109, 0.9));
  color: #0a0a14;
}

body.theme-neon .neon-marquee__track--reverse {
  background: linear-gradient(90deg, rgba(21, 18, 58, 0.95), rgba(104, 245, 255, 0.6));
}

.button,
.button-outline,
.button-muted,
.fortune-form__submit,
.sand-toggle,
.sand-chip,
.sand-action,
.audio-toggle,
.theme-switcher,
.vote-controls button,
.scoreboard-panel__badge,
.scoreboard-legend__titles .legend-pill {
  border-radius: 8px;
  border: 3px solid var(--border);
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.button,
.fortune-form__submit,
.sand-action {
  background: var(--brand);
  color: var(--text);
}

.button-outline,
.sand-toggle,
.sand-chip {
  background: var(--surface);
  color: var(--text);
}

.button-muted {
  background: var(--card-bg);
  color: var(--muted-text);
  border-style: dashed;
}

.button:hover,
.button-outline:hover,
.button-muted:hover,
.fortune-form__submit:hover,
.sand-toggle:hover,
.sand-chip:hover,
.sand-action:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--neo-shadow-color);
}

.sand-chip[aria-pressed="true"],
.sand-toggle--ghost[aria-pressed="true"] {
  color: var(--text);
}

.site-main {
  padding-top: 3rem;
}

.page-header,
.daily-fortune,
.daily-fortune__suggestion,
.companion-lab,
.plant-terrarium,
.glorp-cat,
.feature-card,
.scoreboard-hero,
.scoreboard-panel__glass,
.scorecard,
.board-health__panel {
  background: var(--card-bg);
  border: 3px solid var(--border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color);
}

.page-header {
  overflow: hidden;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 226, 74, 0.35), transparent 55%), linear-gradient(-120deg, rgba(14, 209, 178, 0.2), transparent 45%);
  pointer-events: none;
}

.page-title {
  font-size: 2.6rem;
  letter-spacing: 0.16em;
}

.page-lead {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 620px;
}

.daily-fortune__label {
  color: var(--text);
}

.daily-fortune__text {
  color: var(--text);
}

.daily-fortune__suggestion-form .form-field label {
  color: var(--text);
}

.daily-fortune__suggestion-signin {
  color: var(--muted-text);
}

.daily-fortune__suggestion {
  border: 3px solid var(--border);
  background: linear-gradient(145deg, var(--surface), var(--card-bg));
}

.form-field label {
  color: var(--text);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--input-bg, #ffffff);
  border: 3px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
}

.form-help {
  color: var(--muted-text);
}

.form-error {
  background: var(--coral);
  color: #0b0b0f;
  border: 3px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
}

.feature-card {
  border-radius: 16px;
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--card-bg) 0 72%, var(--surface-alt) 72% 100%);
  border: 3px solid var(--border);
}

.feature-card::before,
.feature-card::after {
  display: none;
}

.feature-title {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--text);
  letter-spacing: 0.08em;
}

.feature-description {
  color: var(--muted-text);
}

.feature-meta dt {
  color: var(--text);
}

.feature-meta dd {
  color: var(--text);
}

.vote-controls {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: 10px;
  box-shadow: 8px 8px 0 var(--neo-shadow-color);
}

.vote-count {
  color: var(--text);
}

.scoreboard-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: linear-gradient(120deg, var(--surface-alt), var(--card-bg));
  border: 3px solid var(--border);
}

.scoreboard-hero__eyebrow,
.scoreboard-hero__lead {
  color: var(--text);
}

.scoreboard-orb__core {
  background: var(--brand);
  border: 3px solid var(--border);
  box-shadow: 8px 8px 0 var(--neo-shadow-color);
}

.scoreboard-grid__list {
  gap: 1.25rem;
}

.scorecard {
  background: var(--card-bg);
  border: 3px solid var(--border);
}

.scorecard--elite {
  background: linear-gradient(135deg, var(--brand), var(--card-bg));
}

.scorecard__rank,
.scorecard__name,
.scorecard__title,
.scorecard__total strong {
  color: var(--text);
}

.scoreboard-panel__glass {
  background: var(--surface);
}

.board-health__panel {
  border: 3px solid var(--border);
  background: linear-gradient(145deg, var(--card-bg), var(--surface));
}

.board-health__value,
.board-health__state,
.board-health__range,
.board-health__failures-count {
  color: var(--text);
}

.board-health__meter-track {
  background: #ffffff;
  border: 3px solid var(--border);
  border-radius: 8px;
  box-shadow: inset 6px 6px 0 rgba(0, 0, 0, 0.06);
}

.board-health__meter-fill {
  background: var(--accent);
}

.about-preview,
.logo-lab,
.feature-button-wall,
.breaker-section {
  background: var(--card-bg);
  border: 3px solid var(--border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-offset) var(--neo-shadow-offset) 0 var(--neo-shadow-color);
}

.about-preview__badge {
  background: var(--surface);
  border: 3px solid var(--border);
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  color: var(--text);
}

.logo-stage,
.logo-console textarea {
  border: 3px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 8px 8px 0 var(--neo-shadow-color);
}

textarea,
input,
select {
  font-family: "Space Grotesk", "Bricolage Grotesque", system-ui, sans-serif;
}

.feature-button-wall::before {
  display: none;
}

.feature-button {
  background: var(--surface);
  border: 3px solid var(--border);
  box-shadow: 6px 6px 0 var(--neo-shadow-color);
  color: var(--text);
  text-shadow: none;
}

.feature-button__desc {
  color: var(--muted-text);
}

.feature-button:nth-child(5n + 1),
.feature-button:nth-child(5n + 2),
.feature-button:nth-child(5n + 3),
.feature-button:nth-child(5n + 4),
.feature-button:nth-child(5n) {
  --button-color: var(--text);
  border-color: var(--border);
  background-color: var(--surface-alt);
}

.site-footer {
  border-top: 3px solid var(--border);
  padding: 1.5rem 0;
  font-weight: 700;
  color: var(--text);
}

/* Reset board layout */
.reset-hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 3px solid var(--border);
  box-shadow: 10px 10px 0 var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 16px;
}

.reset-hero__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0 0 0.25rem 0;
}

.reset-hero__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.5rem 0;
}

.reset-hero__tagline {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.reset-hero__archive {
  margin: 0;
  color: var(--muted-text);
}

.penguin-cam {
  position: relative;
  border: 3px solid var(--border);
  border-radius: 18px;
  background: radial-gradient(circle at 16% 20%, rgba(112, 203, 255, 0.24) 0, transparent 36%), radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18) 0, transparent 30%), linear-gradient(135deg, #f3fbff 0%, #e2f3ff 35%, #fefefe 100%);
  box-shadow: 12px 12px 0 var(--border);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
  isolation: isolate;
}

.penguin-cam::after {
  content: "";
  position: absolute;
  inset: -25% 10% auto 12%;
  height: 55%;
  background: radial-gradient(circle at 20% 20%, rgba(14, 65, 94, 0.18), transparent 45%), radial-gradient(circle at 80% 24%, rgba(13, 209, 178, 0.22), transparent 36%), linear-gradient(90deg, rgba(14, 65, 94, 0.14), rgba(13, 209, 178, 0.16));
  filter: blur(22px);
  opacity: 0.8;
  z-index: 0;
}

.penguin-cam__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.penguin-cam__copy {
  display: grid;
  gap: 0.65rem;
}

.penguin-cam__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #0a3c57;
}

.penguin-cam__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--text);
}

.penguin-cam__lede {
  margin: 0;
  color: #0f2430;
  font-size: 1.02rem;
}

.penguin-cam__highlights {
  margin: 0;
  padding: 0.75rem 1.2rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.8);
  border: 2px dashed var(--border);
  border-radius: 14px;
  display: grid;
  gap: 0.35rem;
}

.penguin-cam__highlights strong {
  color: #0a3c57;
}

.penguin-cam__cta {
  margin: 0;
  font-weight: 700;
  color: #0a3c57;
}

.penguin-cam__cta a {
  color: inherit;
  border-bottom: 2px solid #0a3c57;
  padding-bottom: 2px;
}

.penguin-cam__media {
  display: grid;
  gap: 0.5rem;
}

.penguin-cam__frame {
  position: relative;
  border: 3px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)), linear-gradient(140deg, rgba(10, 60, 87, 0.25), rgba(13, 209, 178, 0.18));
  aspect-ratio: 16 / 9;
  box-shadow: 10px 10px 0 var(--border);
}

.penguin-cam__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(10, 60, 87, 0.9);
  color: #f8fbff;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 10px 18px rgba(10, 60, 87, 0.18);
}

.penguin-cam__embed {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.penguin-cam__embed iframe,
.penguin-cam__embed video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.penguin-cam__fallback {
  margin: 0;
  font-size: 0.9rem;
  color: #0f2430;
}

.web5-section {
  border: 3px solid var(--border);
  border-radius: 18px;
  background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08) 0, transparent 25%), radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.06) 0, transparent 22%), linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  box-shadow: 12px 12px 0 var(--border);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.web5-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 226, 133, 0.12), transparent 36%);
  pointer-events: none;
}

.web5-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  position: relative;
  z-index: 1;
}

.web5-copy {
  display: grid;
  gap: 0.75rem;
}

.web5-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin: 0;
}

.web5-title {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  line-height: 1.05;
}

.web5-intro {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.web5-promises {
  margin: 0;
  padding: 0.5rem 1.25rem;
  display: grid;
  gap: 0.5rem;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 12px;
}

.web5-promises li {
  line-height: 1.5;
}

.web5-promises strong {
  color: var(--text);
}

.web5-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.web5-stat {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 6px 6px 0 var(--border);
}

.web5-stat__label {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.web5-stat__value {
  margin: 0.2rem 0 0 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.web5-action {
  background: var(--card-bg);
  border: 3px solid var(--border);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--border);
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.web5-action__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-text);
  margin: 0;
}

.web5-action__lede {
  margin: 0;
  font-size: 1.05rem;
}

.web5-action__note {
  margin: 0;
  color: var(--muted-text);
}

.web5-action__locked {
  margin: 0;
  font-weight: 700;
}

.web5-form {
  display: grid;
  gap: 0.5rem;
}

.web5-form__label {
  font-weight: 700;
}

.web5-form__help {
  margin: 0;
  color: var(--muted-text);
}

.web5-form__submit {
  width: 100%;
  justify-content: center;
}

.hl3-announcement {
  border: 3px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 209, 178, 0.15), rgba(255, 226, 74, 0.16)), var(--card-bg);
  box-shadow: 12px 12px 0 var(--border);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.hl3-announcement::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 72%;
  background: radial-gradient(circle at 18% 50%, rgba(255, 226, 74, 0.2), transparent 38%), radial-gradient(circle at 78% 36%, rgba(14, 209, 178, 0.22), transparent 40%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

.hl3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hl3-copy {
  display: grid;
  gap: 0.8rem;
}

.hl3-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-text);
  font-size: 0.85rem;
}

.hl3-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  line-height: 1.1;
}

.hl3-lede {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

.hl3-promises {
  margin: 0;
  padding: 0.5rem 1rem 0.5rem 1.25rem;
  display: grid;
  gap: 0.35rem;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.hl3-promises strong {
  color: var(--text);
}

.hl3-progress {
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: 8px 8px 0 var(--border);
  display: grid;
  gap: 0.5rem;
}

.hl3-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.hl3-progress__label {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hl3-progress__value {
  font-size: 1.2rem;
  font-weight: 800;
}

.hl3-meter {
  --hl3-progress: 0%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  height: 16px;
  position: relative;
  overflow: hidden;
}

.hl3-meter__fill {
  position: absolute;
  inset: 0;
  width: var(--hl3-progress);
  background: linear-gradient(90deg, var(--accent), var(--brand));
  box-shadow: inset 0 0 0 2px var(--border);
  transition: width 0.4s ease;
}

.hl3-meter__marker {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-text);
}

.hl3-progress__note {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.95rem;
}

.hl3-video {
  background: var(--card-bg);
  border: 3px solid var(--border);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--border);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.hl3-video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.hl3-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}
.hl3-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}

.hl3-video__caption {
  margin: 0;
  color: var(--muted-text);
}

.reset-board {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.reset-board__panel {
  background: var(--card-bg);
  border: 3px solid var(--border);
  box-shadow: 8px 8px 0 var(--border);
  padding: 1.5rem;
  border-radius: 16px;
}

.reset-board__panel-header {
  margin-bottom: 1rem;
}

.reset-board__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0 0 0.35rem 0;
}

.reset-board__hint {
  margin: 0;
  color: var(--muted-text);
}

.reset-board__note {
  background: var(--surface);
  border: 2px dashed var(--border);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: var(--text);
}

.reset-form {
  display: grid;
  gap: 0.75rem;
}

.reset-form__actions {
  display: flex;
  justify-content: flex-end;
}

.reset-board__panel--list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: var(--input-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 6px 6px 0 var(--border);
  overflow: hidden;
}

.feature-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.feature-card__title {
  margin: 0;
}

.feature-card__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-text);
}

.feature-card__description {
  margin: 0.75rem 0;
}

.feature-card__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .feature-card__footer {
    grid-template-columns: auto 1fr;
  }
}

.feature-card__votes {
  font-weight: 700;
}

.feature-card__vote-form {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.feature-card__vote-form .cf-turnstile {
  max-width: 100%;
  width: 100%;
}

.feature-card__vote-form .button-outline {
  display: flex;
  width: 100%;
  justify-content: center;
}

.reset-board .cf-turnstile {
  max-width: 100%;
  width: 100%;
}

.reset-board__empty {
  margin: 0;
  font-weight: 700;
}

.personalized-lane {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 1rem;
}

.personalized-lane__panel {
  background: var(--card-bg);
  border: 3px solid var(--border);
  box-shadow: 8px 8px 0 var(--border);
  padding: 1.25rem;
  border-radius: 16px;
  display: grid;
  gap: 0.75rem;
}

.personalized-lane__panel-header {
  display: grid;
  gap: 0.25rem;
}

.personalized-lane__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0;
}

.personalized-lane__hint {
  margin: 0;
  color: var(--muted-text);
}

.personalized-lane__note {
  margin: 0.25rem 0 0 0;
  padding: 0.75rem 1rem;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.personalized-lane__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.personalized-lane__stats div {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: var(--input-bg);
}

.personalized-lane__stats dt {
  margin: 0 0 0.35rem 0;
  font-size: 0.9rem;
  color: var(--muted-text);
}

.personalized-lane__stats dd {
  margin: 0;
  font-weight: 700;
}

.personalized-lane__authored {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.personalized-lane__authored ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.feature-stack--compact {
  gap: 0.75rem;
}

.feature-card--inline {
  border-width: 2px;
  box-shadow: 4px 4px 0 var(--border);
}
/* Archive styles */
.archive-banner {
  background: var(--surface);
  border: 3px solid var(--border);
  box-shadow: 10px 10px 0 var(--border);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.archive-banner__eyebrow {
  margin: 0 0 0.35rem 0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.archive-banner__title {
  margin: 0 0 0.35rem 0;
  font-size: 1.5rem;
}

.archive-banner__copy {
  margin: 0 0 0.75rem 0;
  color: var(--muted-text);
}

.archive-banner__actions {
  display: flex;
  gap: 0.75rem;
}

.archive-form-veil {
  border: 2px dashed var(--border);
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--card-bg);
}

.archive-form-veil__note {
  margin: 0 0 0.5rem 0;
  color: var(--muted-text);
}

.about-reset {
  background: var(--surface);
  border: 3px solid var(--border);
  box-shadow: 10px 10px 0 var(--border);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.about-reset__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-reset-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 2rem;
}

.about-reset__card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 6px 6px 0 var(--border);
}

.about-reset__card--wide {
  grid-column: 1 / -1;
}

.about-reset__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.about-reset__stats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-reset__stats strong {
  font-size: 1.4rem;
}

.about-reset__note {
  margin-top: 1rem;
  color: var(--muted-text);
}

.board-self__hero {
  background: linear-gradient(135deg, rgba(255, 163, 102, 0.1), rgba(255, 255, 255, 0));
  border: 2px solid var(--border);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.08);
}

.board-self {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 2rem;
}

.board-self__card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 6px 8px 0 var(--border);
}

.board-self__card--signal {
  background: linear-gradient(145deg, rgba(255, 225, 195, 0.35), rgba(255, 255, 255, 0.08));
  border-color: var(--accent);
}

.board-self__card--wide {
  grid-column: 1 / -1;
}

.board-self__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted-text);
  margin: 0 0 0.4rem 0;
}

.board-self__title {
  margin: 0 0 0.6rem 0;
}

.board-self__copy {
  margin: 0 0 0.6rem 0;
  color: var(--muted-text);
}

.board-self__copy--sm {
  font-size: 0.95rem;
}

.board-self__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.board-self__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.board-self__stat {
  font-size: 1.25rem;
  margin: 0 0 0.8rem 0;
}

.board-self__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.board-self__stats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.board-self__label {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.board-self__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.board-self__list--split {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.graveyard-page {
  position: relative;
  margin: 2rem auto 4rem;
  padding: 2.5rem 2rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 34%),
    radial-gradient(circle at 80% 8%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 30%),
    #0b0b10;
  color: #f7f7f2;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 32px 80px rgba(0, 0, 0, 0.65);
  font-family: "IM Fell English", "Times New Roman", serif;
}

.graveyard-page::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 3px, transparent 3px 8px);
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

.graveyard-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 6px 6px, 10px 10px;
  opacity: 0.38;
  mix-blend-mode: screen;
  pointer-events: none;
}

.graveyard-hero {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.graveyard-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.graveyard-hero__title {
  margin: 0.2rem 0 0.6rem;
  font-size: 3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "UnifrakturMaguntia", "IM Fell English", serif;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.7),
    0 18px 40px rgba(0, 0, 0, 0.7);
}

.graveyard-hero__lede {
  max-width: 860px;
  margin: 0 0 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.graveyard-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.graveyard-hero__stat {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.4));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.graveyard-hero__stat-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
}

.graveyard-hero__stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f7f7f2;
}

.graveyard-zombies {
  position: absolute;
  inset: auto 0 -1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
  pointer-events: none;
  padding: 0 1rem;
}

.graveyard-zombie {
  position: relative;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 46% 54% 44% 56% / 72% 72% 28% 28%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 6px, rgba(0, 0, 0, 0.8) 6px 12px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 24, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: graveyard-zombie-shamble 12s ease-in-out infinite alternate;
}

.graveyard-zombie[data-zombie="two"] {
  animation-delay: 2s;
}

.graveyard-zombie[data-zombie="three"] {
  animation-delay: 4s;
}

.graveyard-zombie__face {
  position: absolute;
  inset: 24% 0 auto 0;
  text-align: center;
  font-size: 2.4rem;
  filter: grayscale(1);
}

.graveyard-zombie__quip {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.graveyard-field {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding: 2rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.6)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9));
  overflow: hidden;
}

.graveyard-dither,
.graveyard-fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.graveyard-dither {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 12px 12px, 18px 18px;
  opacity: 0.25;
}

.graveyard-fog {
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 36%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.06), transparent 35%);
  filter: blur(18px);
  opacity: 0.35;
  animation: graveyard-fog-drift 30s ease-in-out infinite alternate;
}

.graveyard-field__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.graveyard-field__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.35rem;
}

.graveyard-field__title {
  margin: 0 0 0.6rem;
  font-family: "UnifrakturMaguntia", "IM Fell English", serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.graveyard-field__blurb {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.graveyard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-items: center;
  padding: 0.5rem 0.5rem 1.5rem;
}

.graveyard-tombstone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.75rem;
}

.graveyard-tombstone__stone {
  position: relative;
  width: calc(220px * var(--tombstone-scale, 1));
  height: calc(260px * var(--tombstone-scale, 1));
  max-width: 90vw;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 8px, rgba(0, 0, 0, 0.85) 8px 16px),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.9) 60%);
  border-radius: 48% 52% 18% 18% / 62% 62% 22% 22%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.graveyard-tombstone:hover .graveyard-tombstone__stone {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 48px rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.55);
}

.graveyard-tombstone__arch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.graveyard-tombstone__crest {
  font-size: 1.25rem;
  line-height: 1;
}

.graveyard-tombstone__votes {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.graveyard-tombstone__inscription {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
}

.graveyard-tombstone__title {
  margin: 0.6rem 0 0.35rem;
  font-family: "UnifrakturMaguntia", "IM Fell English", serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
}

.graveyard-tombstone__epitaph {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.graveyard-tombstone__meta {
  margin: 0;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.graveyard-tombstone__dot {
  opacity: 0.4;
}

.graveyard-tombstone__shadow {
  position: absolute;
  inset: auto 14% -10% 14%;
  height: 18%;
  background: radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0.9), transparent 65%);
  filter: blur(6px);
  opacity: 0.8;
}

.graveyard-empty {
  position: relative;
  z-index: 1;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.graveyard-empty__title {
  margin: 0 0 0.4rem;
  font-family: "UnifrakturMaguntia", "IM Fell English", serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.graveyard-empty__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* Tridimensional interactive experience */

.interact-3d {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glint-x: 0px;
  --glint-y: 0px;
  --depth-strut: 10px;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.24s ease,
    background-position 0.24s ease;
  will-change: transform, box-shadow, filter;
  isolation: isolate;
}

.interact-3d::before,
.interact-3d::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.interact-3d::before {
  background: radial-gradient(circle at calc(50% + var(--glint-x)) calc(50% + var(--glint-y)),
      var(--depth-glare),
      transparent 48%);
  filter: blur(10px) saturate(1.2);
  transform: translateZ(-6px);
}

.interact-3d::after {
  inset: 6px;
  background: linear-gradient(135deg, rgba(255, 226, 74, 0.12), rgba(14, 209, 178, 0.18));
  transform: translateZ(-12px);
  box-shadow: inset 0 0 0 1px rgba(243, 201, 105, 0.15);
}

.interact-3d.is-tilting,
.interact-3d:focus-visible {
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(var(--depth-strut));
  box-shadow: 0 18px 34px -20px var(--depth-shadow-strong), 0 10px 26px -18px rgba(243, 201, 105, 0.55);
}

.interact-3d:hover {
  filter: saturate(1.1);
}

.interact-3d:hover::before,
.interact-3d:hover::after {
  opacity: 1;
}

.interact-3d:active {
  transform: rotateX(calc(var(--tilt-x) * 0.5)) rotateY(calc(var(--tilt-y) * 0.5))
    translateZ(calc(var(--depth-strut) * 0.35)) translateY(1px);
  box-shadow: 0 10px 18px -12px var(--depth-shadow-strong),
    0 0 0 1px rgba(255, 226, 74, 0.4);
}

button.interact-3d,
.button.interact-3d,
.button-outline.interact-3d,
input.interact-3d,
select.interact-3d,
textarea.interact-3d {
  box-shadow: 0 12px 22px -18px var(--shadow), 0 0 0 1px rgba(243, 201, 105, 0.35);
  background-image:
    linear-gradient(135deg, rgba(255, 226, 74, 0.14), rgba(14, 209, 178, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  background-size: 180% 180%, auto;
  background-position: 60% 40%;
}

form.interact-3d {
  --depth-strut: 8px;
}

input.interact-3d:focus,
select.interact-3d:focus,
textarea.interact-3d:focus {
  box-shadow: 0 16px 30px -16px var(--shadow), 0 0 0 3px rgba(14, 209, 178, 0.45),
    0 0 0 1px rgba(255, 226, 74, 0.5);
  background-position: 40% 60%;
}

a.interact-3d {
  text-decoration-color: rgba(255, 226, 74, 0.55);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.2em;
  color: inherit;
  box-shadow: 0 6px 18px -18px var(--depth-shadow-strong);
}

summary.interact-3d {
  list-style: none;
}

summary.interact-3d::-webkit-details-marker {
  display: none;
}

.is-shaking {
  animation: screenShake 0.4s ease;
}

.vfx-burst {
  position: fixed;
  width: 16vmin;
  height: 16vmin;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  background:
    radial-gradient(circle at 30% 30%, hsla(var(--burst-hue, 42), 90%, 70%, 0.85), transparent 50%),
    radial-gradient(circle at 70% 70%, hsla(calc(var(--burst-hue, 42) + 60), 90%, 75%, 0.85), transparent 56%),
    radial-gradient(circle at 50% 50%, hsla(calc(var(--burst-hue, 42) + 180), 82%, 70%, 0.8), transparent 42%);
  filter: blur(1px) saturate(1.4) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
  mix-blend-mode: screen;
  z-index: 20;
  border-radius: 50%;
}

.vfx-burst.is-active {
  animation: burstPop 0.7s ease-out forwards, emberFloat 0.85s ease-out;
  transform: translate(-50%, -50%) scale(var(--burst-scale, 1));
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 226, 74, 0.7) rgba(12, 20, 27, 0.65);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(12, 20, 27, 0.95), rgba(18, 38, 48, 0.85));
  border: 1px solid rgba(243, 201, 105, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -4px 10px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(14, 209, 178, 0.9), rgba(255, 226, 74, 0.95));
  border: 2px solid rgba(12, 20, 27, 0.75);
  border-radius: 10px;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(255, 226, 74, 1), rgba(14, 209, 178, 1));
}

*::-webkit-scrollbar-corner {
  background: rgba(8, 15, 20, 0.65);
}

@keyframes burstPop {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.35);
  }
  60% {
    opacity: 0.95;
    transform: translate(calc(-50% - 6px), calc(-50% + 8px)) scale(1.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}

@keyframes emberFloat {
  0% {
    filter: blur(1px) saturate(1.4);
  }
  100% {
    filter: blur(2px) saturate(1.6);
  }
}

@keyframes screenShake {
  0% {
    transform: translate3d(2px, -2px, 0) rotateZ(-0.4deg);
  }
  25% {
    transform: translate3d(-4px, 3px, 0) rotateZ(0.6deg);
  }
  50% {
    transform: translate3d(3px, 2px, 0) rotateZ(-0.5deg);
  }
  75% {
    transform: translate3d(-2px, -3px, 0) rotateZ(0.4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
}

.not-found {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.not-found__message,
.not-found__panel {
  position: relative;
  border: 3px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  box-shadow: 12px 12px 0 var(--border);
  overflow: hidden;
}

.not-found__message {
  padding: 2rem;
  isolation: isolate;
}

.not-found__message::after {
  content: "";
  position: absolute;
  inset: -35% auto auto -8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14, 209, 178, 0.22) 0%, rgba(14, 209, 178, 0) 70%);
  filter: blur(12px);
  opacity: 0.9;
  z-index: -1;
  transform: rotate(-6deg);
}

.not-found__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin: 0 0 0.35rem 0;
}

.not-found__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.35rem 0;
}

.not-found__title-small {
  margin: 0;
  font-size: 1.6rem;
}

.not-found__lede {
  font-size: 1.05rem;
  margin: 0 0 0.75rem 0;
  max-width: 36ch;
}

.not-found__lede-small {
  margin: 0.35rem 0 0;
  color: var(--muted-text);
}

.not-found__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.not-found__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--card-bg);
  box-shadow: 4px 4px 0 var(--border);
  font-weight: 700;
}

.not-found__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.not-found__panel {
  background: radial-gradient(circle at 20% 20%, rgba(255, 226, 74, 0.22) 0, transparent 46%), radial-gradient(circle at 82% 18%, rgba(14, 209, 178, 0.28) 0, transparent 38%), linear-gradient(150deg, #10131c 0%, #0c1521 40%, #0b111e 100%);
  color: #f1f5ff;
  padding: 1.25rem;
}

.not-found__panel-inner {
  display: grid;
  gap: 1rem;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.not-found__panel-inner > * {
  width: 100%;
}

.not-found__radar {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 226, 74, 0.18), rgba(14, 65, 94, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.55);
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(14, 209, 178, 0.4), 0 12px 24px rgba(0, 0, 0, 0.4);
}

.not-found__ring {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  opacity: 0.6;
}

.not-found__ring--two {
  inset: 28%;
  opacity: 0.5;
}

.not-found__ring--three {
  inset: 40%;
  opacity: 0.35;
}

.not-found__sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 90deg, rgba(14, 209, 178, 0.25), rgba(14, 209, 178, 0) 60deg, rgba(14, 209, 178, 0));
  animation: radarSweep 8s linear infinite;
  mix-blend-mode: screen;
}

.not-found__ping {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 226, 74, 0.08);
  color: #ffe24a;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 226, 74, 0.35);
  animation: pulsePing 3s ease-in-out infinite;
}

.not-found__peugeot {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f1c2c 0%, #1a2d46 40%, #1f3b57 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 1rem;
  color: #dce5f3;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.35rem;
  text-align: center;
  overflow: hidden;
}

.not-found__peugeot::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(14, 209, 178, 0.18) 0%, rgba(14, 209, 178, 0) 70%);
  opacity: 0.9;
  pointer-events: none;
  filter: blur(10px);
}

.not-found__peugeot-label {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe24a;
}

.not-found__peugeot-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
}

.not-found__peugeot-plate {
  margin: -0.25rem auto 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: #f7f9fc;
  color: #0f1c2c;
  font-weight: 800;
  letter-spacing: 0.2em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), inset 0 0 0 2px #0f1c2c;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.not-found__peugeot-copy {
  margin: 0;
  color: #c4d0e4;
  position: relative;
  z-index: 1;
}

.not-found__callouts {
  width: 100%;
  background: rgba(12, 16, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.not-found__callout-title {
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f2;
  font-size: 0.95rem;
}

.not-found__callout-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.not-found__callout-list a {
  color: #f1f5ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.not-found__callout-list a::before {
  content: "↺";
  font-size: 0.9rem;
  opacity: 0.75;
}

.not-found__features {
  border: 3px solid var(--border);
  border-radius: 18px;
  background: var(--card-bg);
  padding: 1.5rem;
  box-shadow: 12px 12px 0 var(--border);
}

.not-found__features-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.not-found__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.not-found__feature-card {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  box-shadow: 6px 6px 0 var(--border);
  display: grid;
  gap: 0.35rem;
}

.not-found__feature-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.not-found__feature-votes {
  margin: 0;
  font-weight: 800;
}

.not-found__feature-meta {
  margin: 0;
  color: var(--muted-text);
}

.not-found__feature-title {
  margin: 0;
  font-size: 1.15rem;
}

.not-found__feature-desc {
  margin: 0;
  color: var(--muted-text);
}

.not-found__feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.not-found__feature-link::after {
  content: "↗";
  font-size: 0.95rem;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulsePing {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 28px rgba(255, 226, 74, 0.35);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 36px rgba(255, 226, 74, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .interact-3d {
    transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.12s ease;
  }

  .interact-3d::before,
  .interact-3d::after,
  .vfx-burst {
    display: none;
  }

  .is-shaking {
    animation: none;
  }

  .not-found__sweep,
  .not-found__ping {
    animation: none;
  }
}

@keyframes graveyard-zombie-shamble {
  from {
    transform: translateY(0) rotate(-2deg);
  }
  to {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes graveyard-fog-drift {
  from {
    transform: translate3d(-8px, 4px, 0);
  }
  to {
    transform: translate3d(10px, -6px, 0);
  }
}

@media (max-width: 900px) {
  .graveyard-page {
    padding: 2rem 1.25rem 2.5rem;
  }

  .graveyard-hero__title {
    font-size: 2.5rem;
  }

.graveyard-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.map-hero {
  margin: 3rem 0 2rem;
  padding: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 22%, rgba(139, 211, 255, 0.12), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(243, 201, 105, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(10, 27, 35, 0.96), rgba(11, 21, 30, 0.92));
  box-shadow: 0 28px 80px -52px rgba(0, 0, 0, 0.78), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.map-hero::before,
.map-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-hero::before {
  background-image:
    linear-gradient(120deg, rgba(243, 201, 105, 0.25), transparent 55%),
    linear-gradient(-120deg, rgba(14, 209, 178, 0.22), transparent 60%);
  opacity: 0.28;
}

.map-hero::after {
  background-image:
    radial-gradient(circle at 12% 88%, rgba(14, 209, 178, 0.2), transparent 32%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04), transparent 26%);
  mix-blend-mode: screen;
}

.map-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.map-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 211, 255, 0.32);
  color: #fdf7e3;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.orbital-sitemap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.sitemap-globe {
  position: relative;
  background:
    radial-gradient(circle at 24% 30%, rgba(139, 211, 255, 0.12), transparent 38%),
    radial-gradient(circle at 76% 18%, rgba(243, 201, 105, 0.14), transparent 40%),
    linear-gradient(145deg, rgba(8, 19, 28, 0.98), rgba(9, 21, 30, 0.94));
  border: 1px solid rgba(139, 211, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 25px 70px -45px rgba(0, 0, 0, 0.82), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  min-height: 540px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sitemap-globe__halo {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  border: 1px solid rgba(139, 211, 255, 0.28);
  filter: blur(22px);
  opacity: 0.65;
  mix-blend-mode: screen;
}

.sitemap-grid {
  position: absolute;
  inset: 10% 6%;
  border-radius: 50%;
  opacity: 0.42;
  pointer-events: none;
}

.sitemap-grid__ring {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  border: 1px dashed rgba(139, 211, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(14, 209, 178, 0.05);
  mix-blend-mode: screen;
}

.sitemap-grid__ring--inner {
  inset: 28% 32%;
  border-style: solid;
  border-color: rgba(243, 201, 105, 0.32);
}

.sitemap-grid__ring--outer {
  inset: 4% 8%;
  border-style: dotted;
  border-color: rgba(255, 255, 255, 0.22);
}

.sitemap-grid__axis {
  position: absolute;
  inset: 50% -12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 211, 255, 0.4),
    rgba(243, 201, 105, 0.35),
    transparent
  );
}

.sitemap-grid__axis--y {
  inset: -12% 50%;
  width: 2px;
  height: 124%;
  margin-left: -1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(139, 211, 255, 0.4),
    rgba(243, 201, 105, 0.35),
    transparent
  );
}

.sitemap-globe__svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.orbit-link {
  stroke: rgba(139, 211, 255, 0.45);
  stroke-width: 1.4px;
  stroke-linecap: round;
}

.orbit-link--faint {
  stroke-opacity: 0.35;
}

.sitemap-node {
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.sitemap-node:focus-visible {
  outline: none;
  filter: drop-shadow(0 8px 12px rgba(139, 211, 255, 0.25));
}

.sitemap-node:hover {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.sitemap-node__halo {
  fill: rgba(139, 211, 255, 0.08);
}

.sitemap-node__ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-dasharray: 6 6;
}

.sitemap-node__core {
  fill: var(--node-color, #8bd3ff);
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.2;
}

.sitemap-node__label {
  fill: #fdf7e3;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.sitemap-node.is-active .sitemap-node__core {
  stroke-width: 2.2;
}

.sitemap-node--capital {
  --node-color: #ff9f43;
}

.sitemap-node--grove {
  --node-color: #3cc58f;
}

.sitemap-node--ruins {
  --node-color: #c2875a;
}

.sitemap-node--outpost {
  --node-color: #4f9ae6;
}

.sitemap-node--fortress {
  --node-color: #c45dff;
}

.sitemap-node--village {
  --node-color: #f5b452;
}

.sitemap-node--library {
  --node-color: #7db0ff;
}

.sitemap-node--tower {
  --node-color: #7e6bff;
}

.sitemap-node--hamlet {
  --node-color: #5ec497;
}

.sitemap-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sitemap-detail {
  background: linear-gradient(180deg, rgba(10, 27, 35, 0.96), rgba(8, 21, 28, 0.93));
  border: 1px solid rgba(139, 211, 255, 0.22);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 18px 50px -32px rgba(0, 0, 0, 0.78);
}

.sitemap-detail__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(184, 228, 255, 0.85);
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.sitemap-detail__title {
  margin: 0 0 0.25rem;
}

.sitemap-detail__summary {
  margin: 0.25rem 0 0.75rem;
  color: rgba(223, 243, 255, 0.85);
  line-height: 1.6;
}

.sitemap-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sitemap-detail__cta {
  margin-top: 0.75rem;
}

.sitemap-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fdf7e3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.sitemap-chip--accent {
  background: rgba(139, 211, 255, 0.12);
  border-color: rgba(139, 211, 255, 0.35);
  color: #b8e4ff;
}

.sitemap-chip--muted {
  color: rgba(223, 243, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.map-ledger {
  background: linear-gradient(180deg, rgba(10, 27, 35, 0.96), rgba(8, 21, 28, 0.94));
  border: 1px solid rgba(139, 211, 255, 0.22);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 20px 60px -40px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
}

.map-ledger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 16%, rgba(243, 201, 105, 0.12), transparent 42%);
  opacity: 0.65;
  pointer-events: none;
}

.map-ledger__title {
  margin: 0 0 0.25rem;
}

.map-ledger__intro {
  margin-top: 0;
  color: rgba(253, 247, 227, 0.82);
}

.map-ledger__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.map-ledger__group {
  border: 1px solid rgba(139, 211, 255, 0.18);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 253, 246, 0.02);
}

.map-ledger__group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0 0.25rem 0.35rem;
  border-bottom: 1px dashed rgba(139, 211, 255, 0.2);
}

.map-ledger__group-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(253, 247, 227, 0.95);
}

.map-ledger__group-note {
  font-size: 0.85rem;
  color: rgba(253, 247, 227, 0.75);
}

.map-ledger__group-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.map-ledger__item {
  position: relative;
}

.map-ledger__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(139, 211, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 253, 246, 0.03);
  color: rgba(253, 247, 227, 0.92);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.map-ledger__link:hover,
.map-ledger__link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(139, 211, 255, 0.45);
  background: rgba(139, 211, 255, 0.08);
  outline: none;
}

.map-ledger__link::before {
  content: "";
  width: 6px;
  border-radius: 6px;
  background: var(--ledger-color, rgba(139, 211, 255, 0.4));
  position: absolute;
  inset: 10px auto 10px 10px;
}

.map-ledger__name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 1rem;
}

.map-ledger__summary {
  color: rgba(253, 247, 227, 0.8);
  line-height: 1.4;
  padding-left: 1rem;
}

.map-ledger__link--capital {
  --ledger-color: rgba(255, 159, 67, 0.7);
}

.map-ledger__link--grove {
  --ledger-color: rgba(60, 197, 143, 0.65);
}

.map-ledger__link--ruins {
  --ledger-color: rgba(194, 135, 90, 0.7);
}

.map-ledger__link--outpost {
  --ledger-color: rgba(79, 154, 230, 0.65);
}

.map-ledger__link--fortress {
  --ledger-color: rgba(196, 93, 255, 0.7);
}

.map-ledger__link--village {
  --ledger-color: rgba(245, 180, 82, 0.65);
}

.map-ledger__link--library {
  --ledger-color: rgba(125, 176, 255, 0.7);
}

.map-ledger__link--tower {
  --ledger-color: rgba(126, 107, 255, 0.65);
}

.map-ledger__link--hamlet {
  --ledger-color: rgba(94, 196, 151, 0.7);
}

@media (max-width: 1040px) {
  .orbital-sitemap {
    grid-template-columns: 1fr;
  }

  .sitemap-globe {
    min-height: 480px;
    order: -1;
  }
}

@media (max-width: 720px) {
  .reset-hero,
  .reset-board__panel,
  .archive-banner,
  .about-reset {
    box-shadow: 6px 6px 0 var(--border);
  }

  .feature-card__footer {
    align-items: flex-start;
  }

  .map-hero {
    padding: 1.75rem;
  }

  .map-hero__pill {
    width: 100%;
    justify-content: center;
  }

  .sitemap-globe {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .sitemap-globe__hud {
    position: static;
    margin: 0.5rem 1rem 1rem;
  }
}

/* -----------------------------------------------------------------------------
   Design refresh: calmer, platform-inspired styling for readability
----------------------------------------------------------------------------- */
body.design-refresh {
  --background: #f5f7fb;
  --background-alt: #eef1f6;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted-text: #475569;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --shadow: rgba(15, 23, 42, 0.12);
  --shadow-strong: rgba(15, 23, 42, 0.2);
  --danger: #ef4444;
  color: var(--text);
  background-color: var(--background);
  background-image: none;
  font-family: "Manrope", "Public Sans", "Segoe UI", -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

body.design-refresh::before,
body.design-refresh::after {
  display: none;
}

body.design-refresh h1,
body.design-refresh h2,
body.design-refresh h3,
body.design-refresh h4 {
  font-family: "Manrope", "Public Sans", "Segoe UI", -apple-system, sans-serif;
  letter-spacing: 0.01em;
  color: var(--text);
}

body.design-refresh p {
  color: var(--muted-text);
  line-height: 1.65;
}

body.design-refresh a {
  color: var(--accent);
}

body.design-refresh a:hover,
body.design-refresh a:focus {
  color: var(--accent-dark);
}

body.design-refresh .container {
  width: min(1120px, 100%);
}

body.design-refresh .site-shell {
  background: var(--background);
}

body.design-refresh .site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 30px -18px var(--shadow);
}

body.design-refresh .header-inner {
  align-items: center;
  min-height: 72px;
}

body.design-refresh .brand,
body.design-refresh .brand--ghost {
  font-weight: 700;
  color: var(--text);
}

body.design-refresh .header-controls {
  gap: 0.5rem;
}

body.design-refresh .theme-switcher__select,
body.design-refresh .audio-toggle {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  box-shadow: 0 10px 24px -18px var(--shadow);
}

body.design-refresh .theme-switcher__select {
  padding: 0.5rem 0.65rem;
}

body.design-refresh .audio-toggle {
  padding: 0.55rem 0.8rem;
}

body.design-refresh .site-shell[data-menu-side="right"] {
  flex-direction: row-reverse;
}

body.design-refresh .site-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px -28px var(--shadow-strong);
  color: var(--text);
  backdrop-filter: none;
}

body.design-refresh .sidebar__collapse {
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

body.design-refresh .sidebar__collapse-icon {
  background: var(--surface);
  color: var(--accent-dark);
}

body.design-refresh .header-nav__group {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 24px -24px var(--shadow);
}

body.design-refresh .header-nav__summary {
  color: var(--muted-text);
  border-radius: 12px;
  padding: 0.75rem;
}

body.design-refresh .header-nav__glyph {
  background: var(--surface-alt);
  color: var(--text);
}

body.design-refresh .header-nav__group:hover .header-nav__summary,
body.design-refresh .header-nav__group:focus-within .header-nav__summary,
body.design-refresh .header-nav__group[open] .header-nav__summary {
  background: var(--surface-alt);
  color: var(--text);
}

body.design-refresh .header-nav__panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.25rem;
}

body.design-refresh .header-nav__link {
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  box-shadow: none;
}

body.design-refresh .header-nav__link:hover,
body.design-refresh .header-nav__link:focus {
  transform: none;
  border-color: var(--accent);
  box-shadow: 0 10px 24px -20px var(--shadow-strong);
}

body.design-refresh .header-nav__link--active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  box-shadow: 0 16px 32px -24px var(--shadow-strong);
}

body.design-refresh .header-balance {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
}

body.design-refresh .site-main {
  padding: 2rem 0 3rem;
}

body.design-refresh .page-header {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px -40px var(--shadow-strong);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

body.design-refresh .page-header::before,
body.design-refresh .page-header::after {
  display: none;
}

body.design-refresh .page-eyebrow {
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  font-weight: 700;
}

body.design-refresh .page-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

body.design-refresh .page-lead {
  max-width: 820px;
  color: var(--muted-text);
}

body.design-refresh .about-reset__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

body.design-refresh .about-reset-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

body.design-refresh .about-reset-grid--refresh {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.design-refresh .about-reset__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 48px -32px var(--shadow-strong);
}

body.design-refresh .about-reset__card--wide {
  grid-column: 1 / -1;
}

body.design-refresh .about-reset__card h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

body.design-refresh .about-reset__card ul {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: var(--muted-text);
  display: grid;
  gap: 0.35rem;
}

body.design-refresh .feature-stack {
  gap: 0.85rem;
}

body.design-refresh .feature-card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 18px 42px -32px var(--shadow-strong);
}

body.design-refresh .feature-card__title {
  letter-spacing: 0.01em;
}

body.design-refresh .feature-card__description {
  color: var(--muted-text);
}

body.design-refresh .feature-card__footer {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

body.design-refresh .feature-card__votes {
  color: var(--accent-dark);
}

body.design-refresh .reset-board {
  background: transparent;
  border: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

body.design-refresh .reset-board__panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 18px 48px -32px var(--shadow-strong);
}

body.design-refresh .reset-board__panel-header h2 {
  margin: 0.15rem 0;
}

body.design-refresh .reset-board__hint,
body.design-refresh .reset-board__note {
  color: var(--muted-text);
}

body.design-refresh .reset-form {
  display: grid;
  gap: 1rem;
}

body.design-refresh .form-field input,
body.design-refresh .form-field textarea,
body.design-refresh select {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.04);
}

body.design-refresh .form-field label {
  color: var(--text);
  font-weight: 600;
}

body.design-refresh .form-error {
  color: var(--danger);
}

body.design-refresh .personalized-lane {
  margin: 1.75rem 0;
  gap: 1rem;
}

body.design-refresh .personalized-lane__panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 18px 48px -32px var(--shadow-strong);
}

body.design-refresh .personalized-lane__panel--list {
  gap: 1rem;
}

body.design-refresh .personalized-lane__hint,
body.design-refresh .personalized-lane__note {
  color: var(--muted-text);
}

body.design-refresh .personalized-lane__authored ul {
  padding-left: 1.1rem;
  color: var(--muted-text);
}

body.design-refresh .button,
body.design-refresh .feature-card__vote-form button {
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  color: #ffffff;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  box-shadow: 0 12px 32px -20px var(--shadow-strong);
}

body.design-refresh .button:hover,
body.design-refresh .feature-card__vote-form button:hover,
body.design-refresh .button:focus,
body.design-refresh .feature-card__vote-form button:focus {
  background: var(--accent-dark);
}

body.design-refresh .button-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  box-shadow: none;
}

body.design-refresh .button-outline:hover,
body.design-refresh .button-outline:focus {
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 12px 32px -24px var(--shadow-strong);
}

body.design-refresh .button-muted {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
}

body.design-refresh .flash {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  box-shadow: none;
}

body.design-refresh .board-health__panel {
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 24px 50px -36px var(--shadow-strong);
}

body.design-refresh .site-footer {
  background: transparent;
  border-top: 1px solid var(--border);
  color: var(--muted-text);
}
