:root {
  --bg: linear-gradient(180deg, #031a27 0%, #0b2f3f 28%, #0f4e58 52%, #fdf1d2 100%);
  --card: rgba(255, 255, 255, 0.94);
  --border: #bcd7e3;
  --text: #0a2330;
  --muted: #3c5f71;
  --accent: #ff8c5c;
  --accent-strong: #108b97;
  --danger: #c1392b;
  --surf-foam: #b6f7e3;
  --surf-shadow: rgba(9, 44, 58, 0.18);
  --grave-ink: #05070a;
  --grave-smoke: #0f1721;
  --grave-foam: #9bf2df;
  --grave-bone: #f5f3eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 16% 14%, rgba(255, 140, 92, 0.16), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(16, 139, 151, 0.16), transparent 34%),
    radial-gradient(circle at 24% 62%, rgba(182, 247, 227, 0.12), transparent 30%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 12%, rgba(255, 140, 92, 0.22), transparent 40%),
    radial-gradient(ellipse at 74% 10%, rgba(16, 139, 151, 0.2), transparent 42%),
    radial-gradient(ellipse at 45% 86%, rgba(255, 199, 128, 0.12), transparent 36%);
  pointer-events: none;
  z-index: -1;
  filter: blur(6px);
}

body.zero-decibel-mode {
  --bg: linear-gradient(180deg, #02070b 0%, #081522 36%, #0b1f2b 100%);
  --card: rgba(6, 15, 22, 0.96);
  --border: #143245;
  --text: #e3edf4;
  --muted: #a1b7c7;
  --accent: #5ce6c2;
  --accent-strong: #7cf3d7;
  --danger: #f27c64;
  --surf-foam: #6ce6c9;
  --surf-shadow: rgba(2, 8, 14, 0.52);
  background: radial-gradient(circle at 26% 10%, rgba(92, 230, 194, 0.12), transparent 32%),
    radial-gradient(circle at 76% 18%, rgba(124, 243, 215, 0.1), transparent 36%),
    linear-gradient(180deg, #040b12 0%, #0c1a25 24%, #071019 100%);
  color: var(--text);
}

body.zero-decibel-mode::before {
  opacity: 0.16;
  filter: grayscale(1) blur(7px);
}

body.jumpscare-active {
  overflow: hidden;
}

.jumpscare {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.6), rgba(5, 7, 10, 0.94)),
    linear-gradient(160deg, rgba(255, 140, 92, 0.16), rgba(16, 139, 151, 0.12));
  color: #f5f8ff;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 140ms ease, transform 220ms cubic-bezier(0.21, 0.62, 0.35, 1);
  pointer-events: none;
}

.jumpscare.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.jumpscare.is-dismissed {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 180ms;
}

.jumpscare__static {
  position: absolute;
  inset: -6%;
  background: repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 8px
    ),
    radial-gradient(circle at 18% 14%, rgba(255, 140, 92, 0.28), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(16, 139, 151, 0.24), transparent 28%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 2px,
      rgba(9, 10, 16, 0.85) 3px,
      rgba(9, 10, 16, 0.85) 6px
    );
  mix-blend-mode: screen;
  opacity: 0.48;
  animation: jumpscare-static 88ms steps(6) infinite;
  filter: contrast(1.4) saturate(1.4);
}

.jumpscare__inner {
  position: relative;
  z-index: 1;
  padding: 2.6rem 2.2rem;
  border-radius: 28px;
  border: 2px solid rgba(255, 140, 92, 0.35);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(120deg, rgba(255, 140, 92, 0.12), rgba(16, 139, 151, 0.12)),
    rgba(8, 10, 16, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(3, 5, 12, 0.56);
  text-align: center;
  max-width: 560px;
  width: min(92vw, 640px);
}

.jumpscare__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: rgba(245, 248, 255, 0.7);
}

.jumpscare__headline {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.48);
}

.jumpscare__message {
  margin: 0 auto 1.2rem;
  max-width: 520px;
  color: rgba(245, 248, 255, 0.88);
}

.jumpscare__actions {
  display: flex;
  justify-content: center;
}

.jumpscare__dismiss {
  background: #f5f8ff;
  color: #0a0c14;
  border-color: rgba(245, 248, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.jumpscare.is-rattling .jumpscare__inner {
  animation: jumpscare-rattle 520ms cubic-bezier(0.22, 0.63, 0.3, 1) infinite;
}

.jumpscare::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid rgba(255, 140, 92, 0.3);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 140ms ease, transform 220ms cubic-bezier(0.22, 0.63, 0.3, 1);
  pointer-events: none;
}

.jumpscare.is-visible::after {
  opacity: 1;
  transform: scale(1);
}

@keyframes jumpscare-static {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-6px, 2px, 0);
  }
  50% {
    transform: translate3d(4px, -4px, 0);
  }
  75% {
    transform: translate3d(-2px, 6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes jumpscare-rattle {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(12px, -12px, 0) rotate(1deg);
  }
  40% {
    transform: translate3d(-10px, 10px, 0) rotate(-1deg);
  }
  60% {
    transform: translate3d(8px, -6px, 0) rotate(0.5deg);
  }
  80% {
    transform: translate3d(-6px, 6px, 0) rotate(-0.5deg);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jumpscare,
  .jumpscare.is-visible,
  .jumpscare::after {
    transition-duration: 0.001ms;
    animation: none;
  }

  .jumpscare__static,
  .jumpscare.is-rattling .jumpscare__inner {
    animation: none;
  }
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(255, 140, 92, 0.6);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

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

img {
  max-width: 100%;
  height: auto;
}

.ishmael-hero {
  position: relative;
  padding: 3.5rem 2.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(16, 139, 151, 0.16);
  border-radius: 28px;
  background: radial-gradient(circle at 20% 20%, rgba(16, 139, 151, 0.14), transparent 55%),
    radial-gradient(circle at 82% 0%, rgba(255, 140, 92, 0.15), transparent 50%),
    linear-gradient(120deg, #fdf7ec 0%, #ebf8ff 45%, #dff7f1 100%);
  overflow: hidden;
  box-shadow: 0 26px 70px var(--surf-shadow);
}

.ishmael-hero__header {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

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

.ishmael-meta__item {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.ishmael-meta__label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.ishmael-hero__orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 78, 63, 0.16), transparent 70%);
  top: -60px;
  right: -40px;
  filter: blur(2px);
}

.ishmael-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ishmael-card {
  background: linear-gradient(135deg, rgba(16, 139, 151, 0.08), rgba(255, 140, 92, 0.08)), var(--card);
  border: 1px solid rgba(9, 68, 79, 0.16);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 18px 48px var(--surf-shadow);
}

.ishmael-card--wide {
  grid-column: 1 / -1;
}

.ishmael-card__header {
  margin-bottom: 0.75rem;
}

.ishmael-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.ishmael-card__title {
  margin: 0;
}

.ishmael-card__note {
  color: var(--muted);
}

.ishmael-log {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ishmael-log li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.ishmael-log li:last-child {
  border-bottom: none;
}

.ishmael-manifest {
  display: grid;
  gap: 1rem;
}

.ishmael-feature {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(31, 122, 101, 0.08), rgba(17, 46, 37, 0.02));
}

.ishmael-feature__title {
  margin: 0 0 0.25rem;
}

.ishmael-feature__meta {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ishmael-feature__desc {
  margin: 0 0 0.75rem;
}

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

.ishmael-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  font-weight: 600;
}

.ishmael-logbook {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

.ishmael-quote {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: rgba(31, 122, 101, 0.06);
}

.ishmael-quote__aside {
  display: grid;
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .ishmael-hero {
    padding: 2.25rem 1.25rem;
  }

  .ishmael-logbook {
    grid-template-columns: 1fr;
  }
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.profile-avatar {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, var(--avatar-gradient-start, #3fd3ff), var(--avatar-gradient-stop, #f473b9));
  transform: rotate(calc(var(--avatar-rotation, 0deg) * 1deg));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.profile-avatar__ring {
  position: absolute;
  inset: 8px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  mix-blend-mode: soft-light;
}

.profile-avatar__spark {
  position: absolute;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, var(--avatar-spark, #ffb347), transparent 60%);
  top: 12px;
  right: 12px;
  opacity: 0.8;
}

.profile-avatar__initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.profile-avatar--image {
  background: linear-gradient(135deg, #0f1c24, #142c35);
  transform: none;
}

.profile-avatar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-header {
  background: linear-gradient(115deg, rgba(16, 139, 151, 0.12), rgba(255, 140, 92, 0.12));
  border-bottom: 1px solid rgba(9, 68, 79, 0.22);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 16px 48px rgba(3, 22, 32, 0.35);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.brand {
  font-family: "Pacifico", "Space Grotesk", "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-shadow: 0 10px 32px rgba(255, 140, 92, 0.4);
}

.site-nav {
  flex: 1;
  position: relative;
  overflow: visible;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(9, 68, 79, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-strong);
  cursor: pointer;
  box-shadow: 0 10px 24px var(--surf-shadow);
}

.site-nav__burger,
.site-nav__burger::before,
.site-nav__burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.site-nav__burger::before,
.site-nav__burger::after {
  content: "";
  position: absolute;
  inset: 0;
}

.site-nav__burger::before {
  transform: translateY(-6px);
}

.site-nav__burger::after {
  transform: translateY(6px);
}

.site-nav__sections {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: visible;
}

.site-nav__section {
  position: relative;
}

.records-metronome {
  position: absolute;
  top: -0.15rem;
  right: -0.35rem;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 92, 0.4);
  background: radial-gradient(circle at 40% 40%, rgba(255, 243, 230, 0.92), rgba(255, 199, 152, 0.9) 55%, rgba(255, 140, 92, 0.86));
  color: #6d3100;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(3, 22, 32, 0.2);
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.records-metronome:hover,
.records-metronome:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(3, 22, 32, 0.35);
  outline: none;
}

.records-metronome--on {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(255, 140, 92, 0.18), 0 14px 32px rgba(3, 22, 32, 0.35);
  animation: metronome-pulse 1.25s ease-in-out infinite;
}

.records-metronome--on::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 215, 182, 0.35), transparent 60%);
  z-index: -1;
}

.records-metronome-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: -0.2rem;
  width: min(520px, calc(100vw - 2.5rem));
  max-height: min(78vh, 760px);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(9, 68, 79, 0.16);
  background: linear-gradient(135deg, rgba(255, 243, 230, 0.98), rgba(255, 210, 175, 0.96), rgba(14, 139, 151, 0.08));
  box-shadow: 0 18px 44px rgba(3, 22, 32, 0.38);
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  z-index: 20;
}

.records-metronome-menu--open {
  display: flex;
}

.records-metronome__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.records-metronome__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #6d3100;
}

.records-metronome__title {
  margin: 0.05rem 0;
  font-size: 1.3rem;
  color: var(--accent-strong);
}

.records-metronome__status {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.records-metronome__close {
  border: 1px solid rgba(9, 68, 79, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-strong);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(3, 22, 32, 0.18);
}

.records-metronome__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.metronome-tempo {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.metronome-tempo input[type="range"] {
  width: 100%;
  accent-color: #ff8c5c;
}

.metronome-tempo__value {
  font-size: 0.95rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 140, 92, 0.12);
  border: 1px solid rgba(255, 140, 92, 0.35);
  color: #6d3100;
}

.metronome-stop {
  border: 1px solid rgba(9, 68, 79, 0.12);
  background: linear-gradient(135deg, #0e8b97, #0db0c0);
  color: white;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(3, 22, 32, 0.3);
}

.metronome-stop:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.metronome-group {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(9, 68, 79, 0.08);
  box-shadow: 0 10px 28px rgba(3, 22, 32, 0.14);
  margin-bottom: 0.6rem;
}

.metronome-group__heading {
  margin-bottom: 0.35rem;
}

.metronome-group__heading h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--accent-strong);
}

.metronome-group__heading p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

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

.metronome-pattern {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 92, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 210, 175, 0.4));
  color: var(--accent-strong);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(3, 22, 32, 0.15);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.metronome-pattern:hover,
.metronome-pattern:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(14, 139, 151, 0.4);
  box-shadow: 0 14px 32px rgba(3, 22, 32, 0.22);
  outline: none;
}

.metronome-pattern--active {
  border-color: rgba(14, 139, 151, 0.8);
  box-shadow: 0 0 0 2px rgba(14, 139, 151, 0.35), 0 14px 30px rgba(3, 22, 32, 0.26);
  background: linear-gradient(140deg, rgba(14, 139, 151, 0.08), rgba(255, 210, 175, 0.72));
}

.metronome-pattern__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d3100;
  font-weight: 800;
}

.metronome-pattern__title {
  font-weight: 800;
  font-size: 1rem;
}

.metronome-pattern__note {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.metronome-board {
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px dashed rgba(14, 139, 151, 0.5);
  background: linear-gradient(135deg, rgba(14, 139, 151, 0.08), rgba(255, 140, 92, 0.12));
  box-shadow: 0 12px 26px rgba(3, 22, 32, 0.18);
}

.metronome-board__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.metronome-board__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  background: rgba(255, 140, 92, 0.18);
  color: #6d3100;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 92, 0.4);
  font-size: 0.85rem;
}

.metronome-board__inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  align-items: end;
}

.metronome-board__field {
  display: grid;
  gap: 0.2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.metronome-board__field input {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(9, 68, 79, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  color: var(--accent-strong);
}

.metronome-board__launch {
  border: 1px solid rgba(14, 139, 151, 0.3);
  background: linear-gradient(120deg, #0db0c0, #ff8c5c);
  color: #082431;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(3, 22, 32, 0.25);
  justify-self: stretch;
}

.metronome-board__launch:hover,
.metronome-board__launch:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.metronome-drone {
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid rgba(9, 68, 79, 0.12);
  background: linear-gradient(145deg, rgba(255, 243, 230, 0.94), rgba(14, 139, 151, 0.08));
  box-shadow: 0 12px 28px rgba(3, 22, 32, 0.18);
}

.metronome-drone__heading {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.35rem;
}

.metronome-drone__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #6d3100;
}

.metronome-drone__title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-strong);
}

.metronome-drone__status {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.metronome-drone__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  align-items: end;
  margin-bottom: 0.45rem;
}

.metronome-drone__field {
  display: grid;
  gap: 0.2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.metronome-drone__select {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(9, 68, 79, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  color: var(--accent-strong);
}

.metronome-drone__stop {
  border: 1px solid rgba(9, 68, 79, 0.14);
  background: linear-gradient(135deg, #0e8b97, #0db0c0);
  color: white;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(3, 22, 32, 0.22);
}

.metronome-drone__stop:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

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

.drone-button {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(14, 139, 151, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(14, 139, 151, 0.12));
  color: var(--accent-strong);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(3, 22, 32, 0.15);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
}

.drone-button:hover,
.drone-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 92, 0.5);
  box-shadow: 0 14px 32px rgba(3, 22, 32, 0.22);
  outline: none;
}

.drone-button--active {
  border-color: rgba(255, 140, 92, 0.9);
  background: linear-gradient(140deg, rgba(255, 210, 175, 0.55), rgba(14, 139, 151, 0.14));
  box-shadow: 0 0 0 2px rgba(255, 140, 92, 0.35), 0 14px 30px rgba(3, 22, 32, 0.26);
}

.drone-button__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0e8b97;
  font-weight: 800;
}

.drone-button__title {
  font-weight: 800;
  font-size: 1rem;
}

.drone-button__note {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-nav__section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(9, 68, 79, 0.08);
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 20px var(--surf-shadow);
}

.site-nav__section-toggle:hover,
.site-nav__section-toggle:focus-visible,
.site-nav__section--active .site-nav__section-toggle {
  color: var(--accent);
  border-color: rgba(255, 140, 92, 0.4);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.site-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border: 1px solid rgba(9, 68, 79, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(3, 22, 32, 0.28);
  display: none;
  z-index: 5;
}

.site-nav__section:hover .site-nav__submenu,
.site-nav__section:focus-within .site-nav__submenu,
.site-nav__section--open .site-nav__submenu {
  display: block;
}

.site-nav__link {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
}

.site-nav__link--active,
.site-nav__link:hover {
  background: linear-gradient(120deg, rgba(255, 140, 92, 0.16), rgba(16, 139, 151, 0.18));
  color: var(--accent);
  text-decoration: none;
}

.site-header__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .site-header__inner {
    align-items: flex-start;
  }

  .site-nav {
    display: flex;
    justify-content: flex-end;
  }

  .site-nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav__sections {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(9, 68, 79, 0.18);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 18px 38px rgba(3, 22, 32, 0.25);
    display: none;
  }

  .site-nav--open .site-nav__sections {
    display: flex;
  }

  .site-nav__section {
    width: 100%;
  }

  .site-nav__section-toggle {
    width: 100%;
    justify-content: space-between;
    border-color: rgba(9, 68, 79, 0.18);
    background: rgba(255, 255, 255, 0.75);
  }

  .site-nav__submenu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    padding: 0.35rem 0 0.35rem 0.35rem;
  }

  .site-nav__section--open .site-nav__submenu {
    display: block;
  }

  .records-metronome {
    right: 0.35rem;
    top: 0.2rem;
  }

  .records-metronome-menu {
    position: fixed;
    top: 4.4rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: 520px;
    max-height: calc(100vh - 5.5rem);
    margin: 0 auto;
  }
}

@media (min-width: 821px) {
  .site-nav__section:last-child .site-nav__submenu,
  .site-nav__section:nth-last-child(2) .site-nav__submenu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 600px) {
  .records-metronome__header {
    flex-direction: column;
    align-items: stretch;
  }

  .records-metronome__close {
    align-self: flex-end;
  }

  .records-metronome__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .metronome-tempo {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .metronome-tempo__value {
    justify-self: flex-start;
  }

  .metronome-stop {
    width: 100%;
  }
}

.site-main {
  padding: 2.5rem 0;
  min-height: 70vh;
  position: relative;
  isolation: isolate;
}

section {
  margin-bottom: 2rem;
}

.page-header {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 140, 92, 0.14), rgba(16, 139, 151, 0.12), rgba(255, 199, 128, 0.12)),
    var(--card);
  border: 1px solid rgba(9, 68, 79, 0.16);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px var(--surf-shadow);
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 12% 16%, rgba(182, 247, 227, 0.18), transparent 36%),
    radial-gradient(ellipse at 84% 8%, rgba(255, 140, 92, 0.18), transparent 38%);
  pointer-events: none;
  z-index: 0;
}

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

.page-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.page-title {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.page-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 72ch;
  position: relative;
  z-index: 1;
}

.about-reset__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button,
.button-outline,
.button-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.button {
  background: linear-gradient(120deg, #ffb17a 0%, #ff7a6a 36%, #17b3b5 100%);
  color: #082431;
  box-shadow: 0 14px 28px var(--surf-shadow), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.button:hover {
  background: linear-gradient(120deg, #ffd39a 0%, #ff8c7c 32%, #12a1a4 100%);
  transform: translateY(-2px);
}

.button-outline {
  background: rgba(255, 255, 255, 0.65);
  color: var(--accent-strong);
  border: 1px solid rgba(9, 68, 79, 0.2);
  box-shadow: 0 10px 24px var(--surf-shadow);
}

.button-outline:hover {
  border-color: rgba(255, 140, 92, 0.5);
  color: var(--accent);
  transform: translateY(-2px);
}

.button-muted {
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  border: 1px solid rgba(9, 68, 79, 0.16);
}

.button-sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
}

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

.flash {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #eef6f1;
  color: var(--accent-strong);
  margin-bottom: 0.5rem;
}

.flash-error {
  background: #fdf1f0;
  color: var(--danger);
}

.milestone-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #f8fbf7, #eef6f1);
  margin-bottom: 1rem;
}

.milestone-banner__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #0a7a5c;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

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

.milestone-banner__headline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.milestone-banner__title {
  margin: 0;
  font-size: 1.35rem;
}

.milestone-banner__count {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #0a7a5c;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.milestone-banner__copy {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

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

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

.form-field input,
.form-field textarea,
select,
input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.emoji-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.emoji-menu__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.emoji-menu__label {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.emoji-menu__helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.emoji-menu__toggle {
  margin-left: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(255, 140, 92, 0.14), rgba(16, 139, 151, 0.14));
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.emoji-menu__toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.emoji-menu__panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.emoji-menu__panel[hidden] {
  display: none;
}

.emoji-menu__emoji {
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 35, 48, 0.12);
  background: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.emoji-menu__emoji:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 139, 151, 0.4);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.feature-lab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.feature-lab__panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
}

.feature-lab__header {
  margin-bottom: 0.5rem;
}

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

.feature-lab__hint,
.feature-lab__note {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.feature-lab__countdown {
  margin: 1rem 0 0;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(120deg, #0f4e3f 0%, #12b07f 50%, #0e7490 100%);
  color: #e8fff7;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(15, 78, 63, 0.32), 0 0 0 1px rgba(18, 176, 127, 0.35);
}

.feature-lab__countdown::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b6ffda;
  box-shadow: 0 0 12px #7dfbd0, 0 0 22px rgba(125, 251, 208, 0.6);
}

.feature-lab__note a {
  color: var(--accent-strong);
  text-decoration: underline;
  font-weight: 600;
}

.feature-lab__note--variation {
  border: 1px dashed var(--border);
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f5f7f4;
}

.feature-lab__empty {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.feature-form__actions {
  margin-top: 0.5rem;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-card {
  border: 1px solid rgba(16, 139, 151, 0.22);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: linear-gradient(140deg, rgba(16, 139, 151, 0.08), rgba(255, 140, 92, 0.08)), #ffffff;
  box-shadow: 0 20px 45px var(--surf-shadow);
}

.feature-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.feature-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.feature-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-card__description {
  margin: 0.35rem 0 0.65rem;
}

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

.feature-card__signals {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-card__votes {
  font-weight: 800;
  color: var(--accent);
}

.feature-card__expiry {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-card__vote-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card__neon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(125, 251, 208, 0.7), rgba(255, 107, 214, 0.4));
  color: #0f4e3f;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(125, 251, 208, 0.3), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.feature-card--neon {
  border-color: rgba(125, 251, 208, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 26px rgba(125, 251, 208, 0.45);
  position: relative;
  overflow: hidden;
}

.feature-card--neon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(109, 250, 227, 0.14), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 107, 214, 0.12), transparent 45%);
  pointer-events: none;
}

.feature-card--flash {
  animation: neon-card-flash 1.1s ease;
}

@keyframes neon-card-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 251, 208, 0.55);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(125, 251, 208, 0);
  }
}

.neon-eggs-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.neon-egg {
  pointer-events: auto;
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), transparent 54%),
    radial-gradient(circle at 50% 50%, var(--egg-accent, #7dfbd0), transparent 65%);
  box-shadow: 0 0 20px rgba(125, 251, 208, 0.4), 0 0 34px rgba(255, 107, 214, 0.22);
  opacity: 0.2;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.35s ease;
  mix-blend-mode: screen;
}

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

.neon-egg:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.neon-egg:hover,
.neon-egg:focus-visible {
  opacity: 0.95;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 26px rgba(125, 251, 208, 0.65), 0 0 44px rgba(255, 107, 214, 0.36);
}

.neon-egg--claimed {
  opacity: 0.7;
  box-shadow: 0 0 24px rgba(125, 251, 208, 0.7), 0 0 44px rgba(255, 107, 214, 0.34);
}

.neon-egg--signal-glyph {
  top: 80px;
  right: 7vw;
}

.neon-egg--midnight-spray {
  bottom: 8vh;
  left: 9vw;
}

.neon-egg--glass-echo {
  top: 46%;
  left: 3vw;
}

.neon-egg-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.neon-egg-modal.is-visible {
  display: flex;
}

.neon-egg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, 0.72);
  backdrop-filter: blur(6px);
}

.neon-egg-modal__panel {
  position: relative;
  width: min(92vw, 520px);
  background: radial-gradient(circle at 12% 10%, rgba(125, 251, 208, 0.15), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 107, 214, 0.15), transparent 45%),
    #0b1420;
  color: #e9fff8;
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(125, 251, 208, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3), 0 0 32px rgba(125, 251, 208, 0.4);
  z-index: 1;
  overflow: hidden;
}

.neon-egg-modal__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 55%);
  pointer-events: none;
}

.neon-egg-modal__header {
  margin-bottom: 0.6rem;
}

.neon-egg-modal__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(233, 255, 248, 0.7);
  font-size: 0.85rem;
}

.neon-egg-modal__title {
  margin: 0.1rem 0;
  color: var(--neon-accent, #7dfbd0);
}

.neon-egg-modal__hint {
  margin: 0;
  color: #a9bec1;
}

.neon-egg-modal__label {
  display: block;
  margin: 0.75rem 0 0.3rem;
  color: #d7f4ed;
  font-weight: 700;
}

.neon-egg-modal__select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #e9fff8;
}

.neon-egg-modal__select:focus-visible {
  outline: 2px solid var(--neon-accent, #7dfbd0);
  outline-offset: 2px;
}

.neon-egg-modal__help {
  margin: 0.35rem 0 0.4rem;
  color: #a4b9b3;
}

.neon-egg-status {
  min-height: 1.4em;
  color: #b7c8c4;
}

.neon-egg-status[data-variant="error"] {
  color: #ff9ab6;
}

.neon-egg-status[data-variant="success"] {
  color: #9cf2d7;
}

.neon-egg-status[data-variant="muted"] {
  color: #9fb8b0;
}

.neon-egg-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

body.neon-egg-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .neon-egg--signal-glyph {
    top: 70px;
    right: 5vw;
  }
  .neon-egg--midnight-spray {
    bottom: 12vh;
    left: 6vw;
  }
  .neon-egg--glass-echo {
    top: 52%;
    left: 4vw;
  }
}

.board-health {
  background: linear-gradient(180deg, rgba(16, 139, 151, 0.08), rgba(255, 199, 128, 0.12));
  border-top: 1px solid rgba(9, 68, 79, 0.16);
  border-bottom: 1px solid rgba(9, 68, 79, 0.16);
  padding: 1.5rem 0;
}

.board-health__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 1rem;
}

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

.board-health__intro {
  margin: 0;
  color: var(--muted);
}

.board-health__status {
  background: linear-gradient(135deg, rgba(182, 247, 227, 0.4), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(9, 68, 79, 0.16);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 18px 38px var(--surf-shadow);
}

.board-health__value {
  font-size: 1.6rem;
  font-weight: 800;
}

.board-health__state,
.board-health__range {
  color: var(--muted);
  margin: 0;
}

.board-health__meter-track {
  width: 100%;
  height: 10px;
  border-radius: 8px;
  background: #eef2ef;
  overflow: hidden;
}

.board-health__meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.board-health__failures {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.board-health__note {
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(9, 68, 79, 0.2);
  background: linear-gradient(180deg, rgba(16, 139, 151, 0.12), rgba(3, 26, 39, 0.72));
  color: #e8f5f8;
}

.scoreboard-hero,
.scoreboard-grid__list,
.scoreboard-panel__glass,
.scoreboard-panel__current,
.plant-terrarium,
.plaintext-submission,
.graveyard,
.page-header,
.feature-lab__panel {
  box-shadow: none;
}

.scoreboard-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.scoreboard-hero__title {
  margin: 0 0 0.4rem;
}

.scoreboard-hero__lead {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.scoreboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

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

.scoreboard-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.scorecard {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

.scorecard__rank {
  font-weight: 800;
}

.scorecard__name {
  font-weight: 700;
}

.scorecard__username {
  color: var(--muted);
}

.scoreboard-panel {
  display: grid;
  gap: 0.85rem;
}

.scoreboard-panel__glass,
.scoreboard-panel__current {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
}

.scoreboard-panel__copy {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.scoreboard-empty,
.personalized-lane__note,
.plant-terrarium__note,
.reset-board__note {
  color: var(--muted);
}

.plant-terrarium,
.arcade-grid,
.personalized-lane,
.reset-board {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.terrarium-lab {
  display: grid;
  grid-template-columns: minmax(380px, 1.4fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .terrarium-lab {
    grid-template-columns: 1fr;
  }
}

.terrarium-lab__glass {
  position: relative;
}

.sand-terrarium {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: radial-gradient(circle at 15% 10%, rgba(90, 164, 115, 0.12), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(96, 162, 206, 0.2), transparent 30%),
    linear-gradient(180deg, #f9fbf8 0%, #f2f6f4 40%, #e8f2fb 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 42px rgba(8, 38, 32, 0.08);
}

.sand-terrarium::before {
  content: "";
  position: absolute;
  inset: 0.2rem 0.35rem auto 0.35rem;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(208, 234, 222, 0.75));
  box-shadow: 0 6px 18px rgba(64, 99, 92, 0.18);
  pointer-events: none;
}

.sand-terrarium__layout {
  position: relative;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(380px, 1.15fr) minmax(280px, 1fr);
  align-items: start;
}

@media (max-width: 1100px) {
  .sand-terrarium__layout {
    grid-template-columns: 1fr;
  }
}

.sand-terrarium__stage {
  background: linear-gradient(180deg, rgba(9, 22, 24, 0.06), rgba(17, 39, 33, 0.04)) #f6fbf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 26px rgba(13, 49, 41, 0.08);
}

.sand-terrarium__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.sand-terrarium__meta {
  display: grid;
  gap: 0.2rem;
}

.sand-terrarium__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
}

.sand-terrarium__title {
  font-weight: 800;
}

.sand-terrarium__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.95rem;
  background: #eef7f2;
  color: var(--accent-strong);
  border-radius: 999px;
  border: 1px solid rgba(37, 118, 95, 0.2);
  box-shadow: 0 6px 16px rgba(35, 96, 77, 0.12);
}

.sand-terrarium__glass {
  background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, 0.65), transparent 38%),
    linear-gradient(180deg, rgba(196, 226, 210, 0.4), rgba(176, 214, 228, 0.5));
  border: 1px solid rgba(65, 113, 101, 0.25);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(26, 78, 59, 0.18);
}

.sand-terrarium__glass-inner {
  background: linear-gradient(180deg, rgba(7, 14, 18, 0.18), rgba(9, 24, 28, 0.08)) #0f191f;
  border-radius: 10px;
  padding: 0.65rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 18px 36px rgba(65, 122, 109, 0.35);
}

.sand-terrarium__controls,
.sand-terrarium__actions,
.sand-terrarium__toggles,
.sand-terrarium__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

.sand-terrarium__status {
  font-weight: 600;
  color: var(--muted);
}

.sand-terrarium__panel {
  background: linear-gradient(180deg, #ffffff, #f6faf7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  box-shadow: 0 12px 30px rgba(17, 45, 37, 0.1);
  position: relative;
  overflow: hidden;
}

.sand-terrarium__panel::before {
  content: "";
  position: absolute;
  inset: 0.4rem 0.75rem auto 0.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(64, 119, 101, 0.35), rgba(204, 226, 217, 0.6), rgba(64, 119, 101, 0.35));
}

.sand-chip,
.sand-toggle,
.sand-action {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.sand-chip[aria-pressed="true"],
.sand-toggle[aria-pressed="true"] {
  background: #e7f1ec;
  color: var(--accent-strong);
}

.sand-chip:focus-visible,
.sand-toggle:focus-visible,
.sand-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sand-chip:hover,
.sand-toggle:hover,
.sand-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(25, 53, 44, 0.08);
}

.sand-action--clear,
.button-outline,
.button-muted,
.button {
  text-decoration: none;
}

.sand-terrarium__sizes {
  display: grid;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(90deg, rgba(210, 232, 226, 0.35), rgba(255, 255, 255, 0.7));
  border-radius: 10px;
  border: 1px dashed rgba(64, 119, 101, 0.25);
}

.sand-terrarium__sizes-label {
  font-weight: 700;
}

.sand-terrarium__size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sand-terrarium__size-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sand-terrarium__canvas-wrap {
  background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(15, 25, 31, 0.35), rgba(12, 21, 26, 0.15));
  border: 1px solid rgba(199, 218, 213, 0.35);
  padding: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 20px rgba(8, 23, 18, 0.2);
}

[data-sand-canvas] {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #0c151a;
}

.sand-terrarium__hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.45rem 0 0;
}

.sand-terrarium__ledge {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dce9df, #cadfd0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 20px rgba(40, 76, 64, 0.18);
}

.sand-invaders,
.sand-breaker {
  border: 1px dashed rgba(64, 119, 101, 0.25);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(246, 250, 247, 0.8);
}

.sand-invaders__eyebrow,
.sand-breaker__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.sand-invaders__title,
.sand-breaker__title {
  margin: 0.1rem 0;
  font-weight: 800;
}

.sand-invaders__hint,
.sand-breaker__hint {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.sand-invaders__controls,
.sand-breaker__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.feature-lab__panel a,
.site-nav__link,
.about-reset__actions .button-outline {
  text-decoration: none;
}

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

.implemented-header {
  position: relative;
  overflow: hidden;
}

.implemented-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(31, 122, 101, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(15, 78, 63, 0.07), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.implemented-header > * {
  position: relative;
  z-index: 1;
}

.implemented-search {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
}

.implemented-search__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.implemented-search input[type="search"] {
  flex: 1;
  min-width: 240px;
  max-width: 520px;
}

.implemented-search__clear {
  background: #f3f5f2;
}

.implemented-search__hint {
  margin: 0;
  color: var(--muted);
}

.implemented-grid {
  margin-top: 1.25rem;
}

.implemented-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}

.implemented-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  position: relative;
}

.implemented-card--failed {
  background: #fff5f5;
  border-color: #f7c4c4;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08);
}

.implemented-card--failed .implemented-card__date {
  color: #b91c1c;
  font-weight: 700;
}

.implemented-card--failed .implemented-card__commit {
  color: #b91c1c;
}

.implemented-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.implemented-card__votes {
  font-weight: 700;
  color: var(--accent-strong);
}

.implemented-card__commit {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.implemented-card__commit:hover,
.implemented-card__commit:focus-visible {
  text-decoration: underline;
}

.implemented-card__title {
  margin: 0;
  font-size: 1.1rem;
}

.implemented-card__author {
  margin: 0;
  color: var(--muted);
}

.implemented-card__author-name {
  color: var(--text);
  font-weight: 700;
}

.implemented-card__username {
  margin-left: 0.35rem;
}

.implemented-card__description {
  margin: 0;
}

.implemented-empty {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 1.25rem;
  color: var(--muted);
}

.implemented-empty__title {
  margin: 0 0 0.35rem;
  color: var(--text);
}

.implemented-empty__copy {
  margin: 0 0 0.75rem;
}

.feature-chip--failed {
  border: 1px solid #f7c4c4;
  background: #fff7f7;
}

.feature-chip--failed .feature-chip__meta,
.feature-chip--failed .feature-chip__votes {
  color: #b91c1c;
  font-weight: 700;
}

/* Web 5.0 x Half-Life 3 promo */
.hero-web5 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f4e3f, #1f7a65, #0f4e3f);
  color: #e8fbf5;
  border: none;
  padding: 2rem;
  transform: perspective(1200px) rotateX(var(--web5-tilt, 0deg));
  transition: transform 160ms ease;
}

.hero-web5::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.12), transparent 28%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-web5 .page-title {
  color: #fff;
  font-size: 2.4rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-web5 .page-lead {
  color: #d9f5ec;
  max-width: 760px;
}

.web5-ticker {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0e2420;
  color: #c7f7e5;
  margin: 1.5rem 0;
}

.ticker-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  animation: ticker-scroll 22s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ticker-item {
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.web5-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.web5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.web5-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.web5-title {
  margin: 0 0 0.5rem;
}

.web5-promises {
  padding: 0 0 0 1.1rem;
  margin: 0 0 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

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

.web5-stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  background: #f7faf8;
}

.web5-stat__label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.web5-stat__value {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.web5-action {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(180deg, #0f4e3f 0%, #0c2c25 100%);
  color: #def8ec;
  position: relative;
  overflow: hidden;
}

.web5-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.15), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.09), transparent 25%);
  pointer-events: none;
}

.web5-action > * {
  position: relative;
  z-index: 1;
}

.web5-action__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c7f7e5;
  margin: 0 0 0.35rem;
}

.web5-action__lede {
  margin: 0 0 0.75rem;
  color: #e8fbf5;
}

.web5-form {
  display: grid;
  gap: 0.5rem;
}

.web5-form input {
  width: 100%;
}

.web5-form__help,
.web5-action__note,
.web5-action__locked {
  color: #c8e5d9;
  margin: 0.25rem 0;
}

.web5-form__submit {
  width: fit-content;
}

.web5-ornaments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.ornament {
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: #f2f7f4;
  padding: 0.85rem;
}

.ornament__label {
  margin: 0;
  font-weight: 700;
}

.ornament__detail {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.web5-carousel {
  background: #0c1211;
  color: #dff7ee;
  border-radius: 14px;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid #18332b;
}

.carousel-viewport {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  animation: pulse 7s ease-in-out infinite alternate;
}

.carousel-card {
  border: 1px solid #1f3c34;
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.carousel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ed6c4;
  margin: 0 0 0.25rem;
}

.carousel-title {
  margin: 0 0 0.35rem;
}

.carousel-copy {
  margin: 0;
  color: #c8e5d9;
}

.carousel-card.is-active {
  transform: translateY(-4px);
  border-color: #2b5f50;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.carousel-meter {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(31, 122, 101, 0.08), transparent);
  pointer-events: none;
  animation: slide-glow 4s linear infinite;
}

@keyframes slide-glow {
  0% {
    transform: translateX(-40%);
  }
  50% {
    transform: translateX(40%);
  }
  100% {
    transform: translateX(-40%);
  }
}

.hl3-announcement {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.hl3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.hl3-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.hl3-title {
  margin: 0 0 0.5rem;
}

.hl3-promises {
  padding: 0 0 0 1.1rem;
  margin: 0 0 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.hl3-progress {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  background: #f7faf8;
}

.hl3-progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.hl3-meter {
  background: #e2ede8;
  border-radius: 999px;
  height: 12px;
  position: relative;
  overflow: hidden;
}

.hl3-meter__fill {
  width: var(--hl3-progress, 0%);
  background: linear-gradient(90deg, #1f7a65, #0f4e3f);
  height: 100%;
}

.hl3-meter__marker {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--muted);
}

.hl3-video__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.hl3-video video {
  width: 100%;
  display: block;
}

.hl3-video__caption {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.hl3-interviews {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: #0c1211;
  color: #dff7ee;
  border: 1px solid #18332b;
}

.interview-header {
  margin-bottom: 1rem;
}

.interview-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ed6c4;
  margin: 0 0 0.35rem;
}

.interview-title {
  margin: 0 0 0.35rem;
}

.interview-lede {
  margin: 0;
  color: #c8e5d9;
}

.interview-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.interview-card {
  border: 1px solid #1f3c34;
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease;
}

.interview-name {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.interview-quote {
  margin: 0;
  color: #c8e5d9;
  font-style: italic;
}

.interview-card.is-active {
  transform: translateY(-3px);
  border-color: #2b5f50;
}

.temporal-breadcrumbs {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid #174137;
  background: radial-gradient(circle at 18% 24%, rgba(182, 247, 227, 0.08), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(16, 139, 151, 0.18), transparent 30%),
    linear-gradient(125deg, #0d1c1a, #0f2e2a 40%, #0c1624);
  color: #eaf6f1;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
}

.temporal-breadcrumbs__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.temporal-breadcrumbs__lede {
  margin: 0.35rem 0 0;
  max-width: 720px;
  color: #cbe6da;
}

.temporal-breadcrumbs__rewind {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #eaf6f1;
  border-color: #2b5f50;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.temporal-breadcrumbs__rewind:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.temporal-breadcrumbs__rewind:not(:disabled):hover {
  background: rgba(182, 247, 227, 0.16);
  color: #0d1c1a;
}

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

.temporal-breadcrumbs__panel {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
}

.temporal-breadcrumbs__panel--futures {
  background: linear-gradient(140deg, rgba(16, 139, 151, 0.06), rgba(255, 140, 92, 0.06));
}

.temporal-breadcrumbs__label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: #8be0c0;
}

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

.temporal-breadcrumbs__trail-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.temporal-breadcrumbs__trail-item.is-current {
  border-color: #2b5f50;
  box-shadow: 0 0 0 1px rgba(16, 139, 151, 0.45);
  background: rgba(16, 139, 151, 0.08);
}

.temporal-breadcrumbs__trail-link {
  color: #eaf6f1;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.temporal-breadcrumbs__trail-link:hover {
  color: var(--surf-foam);
  text-decoration: underline;
}

.temporal-breadcrumbs__trail-meta {
  margin-left: auto;
  color: #9db7b0;
  font-size: 0.9rem;
}

.temporal-breadcrumbs__now {
  margin: 0.65rem 0 0;
  color: #c8e5d9;
}

.temporal-breadcrumbs__futures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.temporal-breadcrumbs__future-item {
  margin: 0;
}

.temporal-breadcrumbs__future-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  color: #eaf6f1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.temporal-breadcrumbs__future-link strong {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.temporal-breadcrumbs__future-link span {
  color: #c4ded5;
  font-size: 0.95rem;
}

.temporal-breadcrumbs__future-link:hover {
  background: rgba(182, 247, 227, 0.1);
  color: #0f1e2e;
}

.temporal-breadcrumbs__empty {
  margin: 0.35rem 0 0;
  color: #9db7b0;
}

.sitemap-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.retrospective {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

.retro-hero {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid #19342d;
  background: radial-gradient(circle at 12% 20%, rgba(98, 243, 192, 0.14), transparent 35%),
    radial-gradient(circle at 88% 10%, rgba(51, 137, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #0d1c1a, #0f2624 40%, #0f1e2e);
  color: #eaf6f1;
}

.retro-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #8be0c0;
  margin: 0 0 0.25rem;
}

.retro-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.015em;
}

.retro-lede {
  margin: 0.25rem 0 0.5rem;
  max-width: 720px;
  color: #cbe6da;
}

.retro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #9db7b0;
  font-size: 0.95rem;
}

.retro-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  align-self: stretch;
}

.retro-highlight {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem;
}

.retro-highlight__label {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #cde9df;
}

.retro-highlight__value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.retro-highlight__change {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #8fb9ac;
}

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

.retro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.retro-card--accent {
  background: linear-gradient(145deg, #0f2a24, #11312c);
  border-color: #174137;
  color: #e0f5ec;
}

.retro-card--accent .retro-list li {
  color: #c5e6d8;
}

.retro-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.retro-list li {
  margin-bottom: 0.35rem;
}

.retro-charts {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

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

.retro-tag {
  background: #e4f4ec;
  color: #135440;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.retro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.retro-table th,
.retro-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.retro-table th {
  font-weight: 700;
  color: var(--text);
}

.retro-table--dense th,
.retro-table--dense td {
  padding: 0.5rem;
}

.retro-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.retro-bar__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
}

.retro-bar__count {
  color: var(--muted);
  font-size: 0.95rem;
}

.retro-bar__track {
  background: #e8eeec;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.retro-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #1f7a65, #2b5f50, #76ffd3);
}

.retro-bar__note {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.retro-donut {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.retro-donut__slice {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.retro-donut__fill {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: #eef5f1;
  border: 1px solid var(--border);
  overflow: hidden;
}

.retro-donut__fill::after {
  content: "";
  position: absolute;
  inset: 1px;
  width: var(--slice-size, 50%);
  max-width: calc(100% - 2px);
  background: linear-gradient(90deg, #3ee7be, #25795f);
  border-radius: 999px;
}

.retro-donut__label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.retro-donut__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.retro-outro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: linear-gradient(120deg, #f6f7f3, #eef7f4 45%, #f9fbff);
}

.retro-logo {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}

.retro-logo__label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.retro-logo img {
  max-width: 220px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

.performance-hero {
  background: linear-gradient(120deg, #0f4e3f 0%, #184d65 100%);
  color: #ecf4f1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.performance-hero .page-title,
.performance-hero .page-lead,
.performance-hero .page-eyebrow {
  color: #ecf4f1;
}

.performance-hero .button-outline {
  color: #ecf4f1;
  border-color: rgba(255, 255, 255, 0.32);
}

.performance-hero .button-outline:hover {
  color: #f6d365;
  border-color: #f6d365;
}

.performance-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.performance-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.performance-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.performance-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
  color: #e6f0ed;
}

.performance-pill--accent {
  background: #d7f5ec;
  color: #0f4e3f;
  border-color: rgba(255, 255, 255, 0.32);
}

.performance-meter {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.performance-meter__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  color: #cde6de;
}

.performance-meter__bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.performance-meter__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f6d365, #fda085);
  border-radius: inherit;
  transition: width 180ms ease, transform 180ms ease;
}

.performance-meter__note {
  margin: 0;
  font-size: 0.95rem;
  color: #e6f0ed;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.performance-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.performance-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
}

.performance-card__note {
  margin: 0;
  color: var(--muted);
}

.performance-chip {
  background: #0f4e3f;
  color: #e6f0ed;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.performance-claims {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.performance-claim {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(120deg, #f9fbf8, #f0f7f3);
}

.performance-claim__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.performance-claim__stats {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.performance-claim__note {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.performance-card--log {
  background: linear-gradient(180deg, #ffffff, #f3f7f5);
}

.performance-log {
  min-height: 2.2rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.performance-log__list {
  list-style: decimal;
  padding-left: 1.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.performance-log__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.performance-log__title {
  font-weight: 700;
}

.performance-log__note {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.performance-bragboard {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.performance-bragboard__headline {
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.performance-bragboard__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.performance-bragboard__item {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #f5f9f7;
  border: 1px solid var(--border);
}

.performance-bragboard__title {
  margin: 0;
  font-weight: 700;
  color: var(--accent-strong);
}

.performance-bragboard__note {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.performance-bragboard__placeholder {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.performance-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.performance-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fbfa;
}

.performance-feature__title {
  margin: 0;
  font-weight: 700;
}

.performance-feature__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.performance-feature__stat {
  min-width: 3rem;
  text-align: center;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(130deg, var(--accent-strong), #0b5f6b);
  color: #f6fbff;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 10px 22px var(--surf-shadow);
}

.performance-feature--empty {
  justify-content: center;
  text-align: center;
  background: #fffaf0;
  border-style: dashed;
}

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

.performance-stat {
  background: #f9fbf8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
}

.performance-stat dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.performance-stat dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.performance-rituals {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.performance-rituals__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

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

.performance-ritual {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: #f6f9f8;
}

.performance-ritual__stage {
  margin: 0;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.04em;
}

.performance-ritual h3 {
  margin: 0.2rem 0 0.35rem;
}

.performance-ritual p {
  margin: 0;
  color: var(--muted);
}

.performance-telemetry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.performance-telemetry__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.performance-telemetry__item {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(140deg, #f9fbf8, #eef6f2);
}

.performance-telemetry__title {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.performance-telemetry__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.performance-telemetry__metric {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.performance-telemetry__metric--claimed {
  background: #0f4e3f;
  color: #e6f0ed;
  border-color: rgba(255, 255, 255, 0.24);
}

.performance-telemetry__note {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

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

.performance-pulse__stat {
  background: #f6f9f8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.performance-pulse__stat dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.performance-pulse__stat dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.button-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button-small {
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
}

@media (min-width: 960px) {
  .sitemap-layout {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  }
}

@media (max-width: 720px) {
  .ticker-track {
    animation-duration: 16s;
  }
  .hero-web5 {
    padding: 1.25rem;
  }
  .web5-carousel,
  .hl3-interviews {
    padding: 1rem;
  }
  .retro-hero {
    padding: 1.1rem;
  }
  .retro-meta {
    flex-direction: column;
  }
  .retro-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .retro-donut__slice {
    grid-template-columns: 1fr;
  }
  .retro-outro {
    flex-direction: column;
    align-items: flex-start;
  }
  .performance-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .performance-hero__actions {
    flex-direction: column;
  }
  .performance-hero__meta {
    flex-direction: column;
  }
  .performance-grid {
    grid-template-columns: 1fr;
  }
}

/* Shimeji assistant */
.site-header__assistant-toggle {
  margin-left: 0.75rem;
}

[data-shimeji-root].is-hidden {
  opacity: 0;
  pointer-events: none;
}

[data-shimeji-root] {
  position: fixed;
  left: 0;
  top: 0;
  width: 120px;
  height: 160px;
  transform-origin: center;
  transition: transform 0.4s ease, opacity 0.25s ease;
  z-index: 30;
  pointer-events: none;
}

.desktop-buddy {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: #0d1611;
}

.desktop-buddy.is-disabled {
  filter: grayscale(0.7);
  opacity: 0.6;
}

.desktop-buddy__shadow {
  position: absolute;
  width: 70px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), transparent 70%);
  left: 12px;
  bottom: 18px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.desktop-buddy.is-walking .desktop-buddy__shadow {
  transform: scale(1.1);
}

.desktop-buddy__sprite {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fdf6ff, #e2f5ff 55%, #d1e3ff 70%);
  border: 2px solid #0d1611;
  left: 8px;
  bottom: 28px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: transform var(--buddy-speed, 2s) ease-in-out;
}

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

.desktop-buddy__ear {
  position: absolute;
  width: 18px;
  height: 22px;
  background: #0d1611;
  border-radius: 14px 14px 6px 6px;
  top: 8px;
}

.desktop-buddy__ear::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px 12px 4px 4px;
  background: #fdf6ff;
}

.desktop-buddy__ear--left {
  left: 18px;
  transform: rotate(-10deg);
}

.desktop-buddy__ear--right {
  right: 18px;
  transform: rotate(10deg);
}

.desktop-buddy__tail {
  position: absolute;
  width: 24px;
  height: 18px;
  background: #0d1611;
  border-radius: 60% 40% 60% 20%;
  right: 8px;
  bottom: 24px;
  transform: rotate(-8deg);
}

.desktop-buddy__crest {
  position: absolute;
  width: 32px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, #a8ffda, #7fd4ff);
  top: 18px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.desktop-buddy__face {
  position: absolute;
  inset: 26px 18px auto 18px;
  height: 28px;
  border-radius: 16px;
  background: #0d1611;
  display: grid;
  place-items: center;
  gap: 10px;
  grid-auto-flow: column;
}

.desktop-buddy__eye {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f5fbff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.desktop-buddy__glow {
  position: absolute;
  width: 22px;
  height: 10px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9), transparent 70%);
  bottom: -12px;
}

.desktop-buddy__bubble {
  position: absolute;
  left: 64px;
  bottom: 110px;
  min-width: 160px;
  max-width: 280px;
  background: #0d1611;
  color: #f7fafb;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.desktop-buddy__bubble::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 10px;
  border: 8px solid transparent;
  border-right-color: #0d1611;
}

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

.desktop-buddy__bubble--status {
  background: #215d3c;
}

.desktop-buddy__bubble--status::after {
  border-right-color: #215d3c;
}

.desktop-buddy__bubble--loud {
  background: #9f1b1b;
}

.desktop-buddy__bubble--loud::after {
  border-right-color: #9f1b1b;
}

.desktop-buddy__badge,
.desktop-buddy__button {
  position: absolute;
  right: -8px;
  background: #0d1611;
  color: #f7fafb;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.desktop-buddy__badge {
  top: 18px;
  display: grid;
  gap: 2px;
}

.desktop-buddy__badge-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  opacity: 0.8;
}

.desktop-buddy__button {
  bottom: 48px;
}

.desktop-buddy__button--muted {
  bottom: 16px;
  background: #f7fafb;
  color: #0d1611;
  border: 1px solid rgba(13, 22, 17, 0.18);
}

.desktop-buddy__button:hover,
.desktop-buddy__badge:hover {
  background: #1a8f6a;
}

.desktop-buddy__button--muted:hover {
  background: #e0f3ec;
  color: #0b1610;
  border-color: rgba(13, 22, 17, 0.18);
}

.desktop-buddy__crest,
.desktop-buddy__tail,
.desktop-buddy__ear,
.desktop-buddy__shadow {
  pointer-events: none;
}

.desktop-buddy.has-ribbon .desktop-buddy__sprite::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px dashed #d169ff;
  animation: shimejiRibbon 2.2s ease-in-out infinite;
}

.desktop-buddy.has-snack .desktop-buddy__sprite {
  box-shadow: 0 14px 24px rgba(41, 201, 130, 0.35);
}

.desktop-buddy.has-snack .desktop-buddy__glow {
  animation: shimejiPulse 1.2s ease-in-out infinite;
}

.desktop-buddy.has-lantern .desktop-buddy__bubble {
  box-shadow: 0 0 0 2px rgba(79, 188, 255, 0.3), 0 10px 28px rgba(0, 0, 0, 0.24);
}

.desktop-buddy.has-confetti .desktop-buddy__sprite {
  background: radial-gradient(circle at 40% 30%, #fff5d7, #ffdede 60%, #d7e8ff 80%);
}

.shimeji-shop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 320px;
  background: #ffffff;
  border: 1px solid #d5d9d7;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.35s ease, opacity 0.25s ease;
  opacity: 0;
  z-index: 25;
}

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

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

.shimeji-shop__meta {
  display: grid;
  gap: 2px;
}

.shimeji-shop__eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #3e4c57;
}

.shimeji-shop__balance {
  font-weight: 700;
  font-size: 18px;
}

.shimeji-shop__note {
  color: #4c5a63;
  font-size: 12px;
}

.shimeji-shop__close {
  border: none;
  background: #0d1611;
  color: #f5f7f6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.shimeji-shop__items {
  display: grid;
  gap: 0.75rem;
}

.shimeji-item {
  border: 1px solid #d5d9d7;
  border-radius: 12px;
  padding: 0.75rem;
  background: linear-gradient(180deg, #f7faf8, #ffffff);
}

.shimeji-item.is-owned {
  border-color: #1a8f6a;
  background: linear-gradient(180deg, #e6fff5, #ffffff);
}

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

.shimeji-item__title {
  margin: 0;
  font-size: 16px;
}

.shimeji-item__cost {
  font-weight: 700;
  color: #0d1611;
  background: #d7f3e8;
  padding: 2px 8px;
  border-radius: 999px;
}

.shimeji-item__desc {
  margin: 0 0 0.5rem 0;
  color: #3e4c57;
  font-size: 14px;
  line-height: 1.4;
}

.shimeji-item__action {
  border: 1px solid #0d1611;
  background: #0d1611;
  color: #f5f7f6;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.shimeji-item__action[disabled] {
  background: #e3e6e5;
  border-color: #ccd3d1;
  color: #5c6564;
  cursor: not-allowed;
}

body.has-shimeji-lantern [data-shimeji-anchor] {
  position: relative;
}

body.has-shimeji-lantern [data-shimeji-anchor]::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 12px;
  border: 2px dashed rgba(79, 188, 255, 0.6);
  opacity: 0.6;
  animation: shimejiPulse 2s ease-in-out infinite;
  pointer-events: none;
}

body.has-shimeji-confetti .site-main {
  scroll-margin-top: 120px;
}

.shimeji-confetti-burst {
  position: fixed;
  width: 10px;
  height: 10px;
  background: linear-gradient(180deg, #ff9f6b, #ffd86b);
  border-radius: 2px;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  animation: shimejiConfetti 900ms ease-out forwards;
  z-index: 40;
  pointer-events: none;
}

.shimeji-confetti-burst::after,
.shimeji-confetti-burst::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #8ec5ff, #d6fff0);
  opacity: 0.8;
}

.shimeji-confetti-burst::after {
  left: -10px;
  top: 6px;
}

.shimeji-confetti-burst::before {
  right: -10px;
  top: -6px;
}

@keyframes shimejiRadar {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes shimejiRibbon {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: rotate(4deg) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: rotate(-4deg) scale(0.98);
    opacity: 0.85;
  }
}

@keyframes shimejiPulse {
  0% {
    transform: scale(0.94);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.6;
  }
}

@keyframes shimejiConfetti {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -120%) scale(0.4);
    opacity: 0;
  }
}

.glitch-hero {
  position: relative;
  margin: 2rem 0;
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(16, 139, 151, 0.16);
  background: radial-gradient(circle at 12% 12%, rgba(16, 139, 151, 0.16), transparent 38%),
    radial-gradient(circle at 82% 0%, rgba(255, 140, 92, 0.18), transparent 50%),
    linear-gradient(135deg, #0b1924, #0d2a32 46%, #0f3c40);
  color: #e6f4ef;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.glitch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06), transparent 32%),
    radial-gradient(circle at 88% 60%, rgba(182, 247, 227, 0.14), transparent 40%);
  opacity: 0.9;
  pointer-events: none;
}

.glitch-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.glitch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.glitch-hero__status {
  margin: 0.35rem 0 0;
  color: #c3dde4;
}

.glitch-hero__meta {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.glitch-hero__stat {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4f1f0;
}

.glitch-hero__stat--accent {
  background: rgba(255, 140, 92, 0.08);
  border-color: rgba(255, 140, 92, 0.24);
}

.glitch-hero__label {
  display: block;
  font-size: 0.9rem;
  color: #9dcad3;
}

.glitch-hero__value {
  display: block;
  margin-top: 0.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.glitch-stage {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(280px, 1fr) 1.15fr;
  align-items: start;
  margin: 2rem 0;
}

.glitch-panel {
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(16, 139, 151, 0.12);
  box-shadow: 0 18px 50px rgba(9, 44, 58, 0.15);
}

.glitch-panel__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
}

.glitch-panel__lead {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
}

.glitch-filter-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.glitch-filter {
  display: block;
  width: 100%;
  padding: 0.85rem;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: 14px;
  border: 1px solid rgba(16, 139, 151, 0.16);
  background: linear-gradient(120deg, rgba(182, 247, 227, 0.16), rgba(255, 140, 92, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.glitch-filter.is-active {
  border-color: var(--accent-strong);
  box-shadow: 0 10px 26px rgba(16, 139, 151, 0.18);
  background: linear-gradient(120deg, rgba(16, 139, 151, 0.16), rgba(255, 140, 92, 0.16));
}

.glitch-filter:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(16, 139, 151, 0.14);
}

.glitch-filter__name {
  margin: 0 0 0.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.glitch-filter__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.glitch-stage__viewport {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.glitch-viewport {
  position: relative;
  padding: 1.25rem;
  min-height: 360px;
  border-radius: 22px;
  border: 1px solid rgba(16, 139, 151, 0.2);
  background: radial-gradient(circle at 18% 18%, rgba(182, 247, 227, 0.18), transparent 42%),
    radial-gradient(circle at 78% 16%, rgba(255, 140, 92, 0.18), transparent 48%),
    linear-gradient(135deg, #06202c, #0b2c36 50%, #0b3740);
  overflow: hidden;
  filter: var(--glitch-filter, none);
  transition: filter 0.24s ease, transform 0.24s ease;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.glitch-viewport.is-glitching {
  transform: translate3d(3px, -3px, 0);
}

.glitch-viewport__scanlines,
.glitch-viewport__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

.glitch-viewport__scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 4px
  );
}

.glitch-viewport__grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 4px 4px;
}

.glitch-viewport__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
}

.glitch-viewport__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dff6ef;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

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

.glitch-echo {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(16, 139, 151, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.glitch-echo--empty {
  background: rgba(255, 255, 255, 0.7);
  border-style: dashed;
  color: var(--muted);
}

.glitch-echo__votes {
  margin: 0 0 0.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.glitch-echo__title {
  margin: 0 0 0.25rem;
}

.glitch-echo__desc {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.glitch-echo__meta {
  margin: 0;
  font-size: 0.95rem;
  color: #0a4c5a;
}

.glitch-viewport__label {
  margin: 0;
  color: var(--muted);
}

.glitch-gallery {
  margin: 2.5rem 0;
  display: grid;
  gap: 1.25rem;
}

.glitch-gallery__frames {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.glitch-frame {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 139, 151, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow: 0 14px 36px rgba(9, 44, 58, 0.16);
}

.glitch-frame__preview {
  height: 160px;
  border-radius: 12px;
  border: 1px solid rgba(16, 139, 151, 0.12);
  background: radial-gradient(circle at 18% 18%, rgba(182, 247, 227, 0.32), transparent 46%),
    radial-gradient(circle at 78% 12%, rgba(255, 140, 92, 0.22), transparent 50%),
    linear-gradient(135deg, #0e2c34, #153e44 55%, #0f535a);
  margin-bottom: 0.5rem;
  overflow: hidden;
  position: relative;
  filter: var(--glitch-frame-filter, none);
}

.glitch-frame__canvas {
  position: absolute;
  inset: -8px -12px -10px -8px;
  transform: scale(0.82);
  transform-origin: top left;
  width: 134%;
  pointer-events: none;
  opacity: 0.96;
}

.glitch-frame__canvas .glitch-viewport__content {
  gap: 0.5rem;
}

.glitch-frame__canvas .glitch-echo {
  padding: 0.7rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.glitch-frame__canvas .glitch-echo__title {
  font-size: 1rem;
}

.glitch-frame__canvas .glitch-echo__desc,
.glitch-frame__canvas .glitch-echo__meta,
.glitch-frame__canvas .glitch-echo__votes {
  font-size: 0.9rem;
}

.glitch-frame__title {
  margin: 0 0 0.2rem;
}

.glitch-frame__note {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.glitch-frame__meta {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.glitch-frame__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.glitch-frame__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 139, 151, 0.08);
  color: #0f4e58;
  font-weight: 700;
}

.glitch-frame__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 139, 151, 0.08);
  color: #0f4e58;
}

.glitch-frame--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

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

.glitch-ritual {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 139, 151, 0.14);
  background: linear-gradient(145deg, rgba(16, 139, 151, 0.06), rgba(255, 140, 92, 0.08));
}

.glitch-ritual__step {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
}

.glitch-ritual__title {
  margin: 0.2rem 0 0.25rem;
}

.glitch-ritual__detail {
  margin: 0;
  color: var(--muted);
}

.gremlin-hero {
  position: relative;
  margin: 2rem 0;
  padding: 2.25rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 140, 92, 0.2);
  background: radial-gradient(circle at 16% 18%, rgba(255, 140, 92, 0.16), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(17, 123, 126, 0.22), transparent 46%),
    linear-gradient(135deg, #0c1626, #13263c 48%, #0a2f33);
  color: #e9f5f0;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.gremlin-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 24% 86%, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 92% 60%, rgba(182, 247, 227, 0.14), transparent 42%);
  pointer-events: none;
}

.gremlin-hero__copy {
  position: relative;
  z-index: 1;
}

.gremlin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.35rem;
}

.gremlin-hero__status {
  margin: 0.3rem 0 0;
  color: #b6d5d6;
}

.gremlin-hero__panel {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0.75rem;
}

.gremlin-dice {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  gap: 0.75rem;
}

.gremlin-die {
  height: 86px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(182, 247, 227, 0.12));
  color: #0e2f3a;
  font-size: 2.4rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gremlin-die.is-rolling {
  transform: translate3d(2px, -2px, 0) rotate(-2deg);
  box-shadow: 0 16px 36px rgba(255, 140, 92, 0.3);
  background: linear-gradient(150deg, rgba(255, 140, 92, 0.28), rgba(182, 247, 227, 0.2));
}

.gremlin-headline {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #f7fdf9;
}

.gremlin-meter {
  display: grid;
  gap: 0.35rem;
}

.gremlin-meter__bar {
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gremlin-meter__fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9f6b, #8bf7e3);
  box-shadow: 0 0 12px rgba(255, 159, 107, 0.6);
  transition: width 0.22s ease, opacity 0.22s ease;
}

.gremlin-meter__note {
  margin: 0;
  color: #c7e6e3;
  font-size: 0.95rem;
}

.gremlin-omen {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(139, 247, 227, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 26px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 0.35rem;
}

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

.gremlin-omen__label {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: rgba(214, 239, 234, 0.92);
}

.gremlin-omen__text {
  margin: 0;
  color: #f7fdf9;
  font-weight: 700;
  line-height: 1.35;
}

.gremlin-omen__note {
  margin: 0;
  color: #c7e6e3;
  font-size: 0.95rem;
}

.gremlin-hero.gremlin--double {
  border-color: rgba(255, 140, 92, 0.36);
  box-shadow: 0 32px 90px rgba(255, 140, 92, 0.25);
}

.gremlin-hero.gremlin--double::after {
  background: radial-gradient(circle at 40% 78%, rgba(255, 140, 92, 0.18), transparent 46%),
    radial-gradient(circle at 78% 18%, rgba(139, 247, 227, 0.2), transparent 46%);
  animation: gremlinSpark 4s ease-in-out infinite;
}

.gremlin-hero__countdown {
  margin: 0;
  color: #dff6ef;
  font-size: 0.95rem;
}

.gremlin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.gremlin-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 139, 151, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  box-shadow: 0 12px 28px rgba(9, 44, 58, 0.16);
  display: grid;
  gap: 0.5rem;
}

.gremlin-card--log {
  grid-column: span 2;
}

.gremlin-card--rituals {
  grid-column: span 2;
}

.gremlin-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--muted);
}

.gremlin-card__note {
  margin: 0;
  color: var(--muted);
}

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

.gremlin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 139, 151, 0.1);
  color: #0b525b;
  font-weight: 700;
  font-size: 0.95rem;
}

.gremlin-chip--accent {
  background: rgba(255, 140, 92, 0.14);
  color: #c24300;
}

.gremlin-dice-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gremlin-dice-map__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.gremlin-dice-map__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.gremlin-dice-map__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 139, 151, 0.12);
  background: linear-gradient(120deg, rgba(182, 247, 227, 0.18), rgba(255, 140, 92, 0.1));
}

.gremlin-log {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.gremlin-log__entry {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 139, 151, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(9, 44, 58, 0.14);
  display: grid;
  gap: 0.3rem;
}

.gremlin-log__entry time {
  color: var(--muted);
  font-size: 0.95rem;
}

.gremlin-log__detail {
  margin: 0;
  color: var(--muted);
}

.gremlin-targets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.gremlin-target {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 139, 151, 0.12);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(182, 247, 227, 0.2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gremlin-target--empty {
  border-style: dashed;
  color: var(--muted);
}

.gremlin-target__title {
  margin: 0 0 0.15rem;
  font-weight: 700;
}

.gremlin-target__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.gremlin-ritual {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 140, 92, 0.2);
  background: linear-gradient(150deg, rgba(255, 140, 92, 0.08), rgba(16, 139, 151, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gremlin-ritual__step {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--muted);
}

.gremlin-ritual__title {
  margin: 0.2rem 0 0.25rem;
}

.gremlin-ritual__detail {
  margin: 0;
  color: var(--muted);
}

.graveyard-page {
  position: relative;
  margin: 2.5rem 0 3rem;
  padding: 2.5rem 2rem 2.25rem;
  background: radial-gradient(circle at 14% 18%, rgba(155, 242, 223, 0.06), transparent 36%),
    radial-gradient(circle at 86% 10%, rgba(255, 140, 92, 0.09), transparent 32%),
    linear-gradient(180deg, #0b0f14 0%, #0b161f 44%, #05070a 100%);
  color: var(--grave-bone);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(155, 242, 223, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.graveyard-page::before {
  content: "";
  position: absolute;
  inset: -25% 40% auto -30%;
  height: 70%;
  background: radial-gradient(circle, rgba(155, 242, 223, 0.24), rgba(5, 7, 10, 0));
  opacity: 0.3;
  transform: rotate(-8deg);
  pointer-events: none;
  filter: blur(18px);
}

.graveyard-page::after {
  content: "";
  position: absolute;
  inset: 18% -28% auto 42%;
  height: 62%;
  background: radial-gradient(circle, rgba(255, 140, 92, 0.16), rgba(5, 7, 10, 0));
  opacity: 0.35;
  filter: blur(16px);
  pointer-events: none;
}

.graveyard-hero {
  position: relative;
  padding: 1rem 1rem 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.graveyard-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grave-foam);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}

.graveyard-hero__title {
  margin: 0;
  font-family: "UnifrakturCook", "EB Garamond", "Space Grotesk", serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(155, 242, 223, 0.24);
}

.graveyard-hero__lede {
  max-width: 820px;
  margin: 0.25rem 0 0.5rem;
  color: rgba(245, 243, 235, 0.82);
}

.graveyard-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  padding: 0.75rem 0.25rem 0.25rem;
}

.graveyard-hero__stat {
  position: relative;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(5, 7, 10, 0.45));
  box-shadow: inset 0 0 0 1px rgba(155, 242, 223, 0.08);
}

.graveyard-hero__stat::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(155, 242, 223, 0.08), transparent 40%, rgba(255, 140, 92, 0.08));
  opacity: 0.6;
  pointer-events: none;
}

.graveyard-hero__stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: rgba(245, 243, 235, 0.65);
}

.graveyard-hero__stat-value {
  display: block;
  font-family: "EB Garamond", "Space Grotesk", serif;
  font-weight: 700;
  font-size: 1.45rem;
}

.graveyard-zombies {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  color: rgba(245, 243, 235, 0.72);
}

.graveyard-zombie {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(155, 242, 223, 0.08);
  font-size: 0.9rem;
}

.graveyard-zombie__face {
  filter: grayscale(1);
}

.graveyard-zombie__quip {
  letter-spacing: 0.05em;
}

.graveyard-field {
  position: relative;
  margin-top: 1.5rem;
  padding: 2.25rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 7, 10, 0.72)),
    radial-gradient(circle at 14% 16%, rgba(155, 242, 223, 0.08), transparent 40%),
    #070a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.graveyard-dither,
.graveyard-fog {
  position: absolute;
  inset: -10% -14%;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(5, 7, 10, 0));
  filter: blur(14px);
}

.graveyard-fog {
  inset: -18% -24% auto -12%;
  opacity: 0.12;
  background: radial-gradient(circle, rgba(155, 242, 223, 0.2), rgba(5, 7, 10, 0));
}

.graveyard-field__header {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 0 1.5rem;
}

.graveyard-field__eyebrow {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grave-foam);
  font-weight: 700;
}

.graveyard-field__title {
  margin: 0 0 0.4rem;
  font-family: "UnifrakturCook", "EB Garamond", "Space Grotesk", serif;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  letter-spacing: 0.02em;
}

.graveyard-field__blurb {
  margin: 0;
  color: rgba(245, 243, 235, 0.8);
}

.graveyard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.35rem;
  align-items: start;
}

.graveyard-tombstone {
  --tombstone-size: clamp(0.9, var(--tombstone-scale, 1), 1.35);
  position: relative;
  transform: translateZ(0) scale(var(--tombstone-size));
  transform-origin: center top;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.4));
  margin-bottom: calc((var(--tombstone-size) - 1) * 120px);
}

.graveyard-tombstone:hover {
  transform: translateZ(0) scale(calc(var(--tombstone-size) + 0.03));
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

.graveyard-tombstone__stone {
  position: relative;
  padding: 1.2rem 1rem 1.6rem;
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 7, 10, 0.9)),
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.06), transparent 36%),
    #0c1017;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.graveyard-tombstone__stone::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border-radius: 14px;
  background: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 5px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(5, 7, 10, 0.7));
  opacity: 0.45;
  mix-blend-mode: screen;
}

.graveyard-tombstone__arch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.3rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "EB Garamond", "Space Grotesk", serif;
}

.graveyard-tombstone__crest {
  font-size: 1.35rem;
  color: var(--grave-foam);
  text-shadow: 0 0 12px rgba(155, 242, 223, 0.3);
}

.graveyard-tombstone__votes {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 235, 0.7);
}

.graveyard-tombstone__inscription {
  position: relative;
  padding: 0.8rem 0.2rem 0.1rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(245, 243, 235, 0.85);
}

.graveyard-tombstone__title {
  margin: 0;
  font-family: "UnifrakturCook", "EB Garamond", "Space Grotesk", serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.graveyard-tombstone__epitaph {
  margin: 0;
  color: rgba(245, 243, 235, 0.7);
}

.graveyard-tombstone__meta {
  margin: 0;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: rgba(155, 242, 223, 0.8);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.graveyard-tombstone__dot {
  color: rgba(245, 243, 235, 0.5);
}

.graveyard-tombstone__shadow {
  position: absolute;
  inset: auto 10% -10% 10%;
  height: 18px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.65), transparent 60%);
  filter: blur(10px);
  opacity: 0.8;
}

.graveyard-empty {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 243, 235, 0.8);
}

.graveyard-empty__title {
  margin: 0 0 0.35rem;
  font-family: "UnifrakturCook", "EB Garamond", "Space Grotesk", serif;
  font-size: 1.4rem;
}

.graveyard-empty__body {
  margin: 0;
}

.graveyard .board-status,
.graveyard .board-status__value {
  color: var(--grave-bone);
}

.graveyard-grid::-webkit-scrollbar {
  height: 8px;
}

.graveyard-grid::-webkit-scrollbar-thumb {
  background: rgba(155, 242, 223, 0.45);
  border-radius: 999px;
}

@keyframes gremlinSpark {
  0% {
    opacity: 0.6;
    transform: translateY(4px);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
  100% {
    opacity: 0.8;
    transform: translateY(0);
  }
}

.bayhem-active {
  overflow-x: hidden;
}

.bayhem-active::after {
  content: "";
  position: fixed;
  inset: -6%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 236, 207, 0.65), rgba(255, 170, 106, 0.4) 38%, rgba(255, 94, 94, 0.32) 60%, rgba(0, 0, 0, 0) 75%),
    radial-gradient(circle at 65% 45%, rgba(255, 255, 255, 0.4), rgba(255, 210, 164, 0.3) 45%, rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: screen;
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  animation: bayhem-flash 0.82s ease-out forwards;
  z-index: 5;
}

.bayhem-active .site-main,
.bayhem-active .site-header,
.bayhem-active .site-footer {
  animation: bayhem-rumble 0.72s cubic-bezier(0.3, 0.82, 0.24, 1);
}

@keyframes bayhem-rumble {
  0% {
    transform: translate3d(0, 0, 0);
  }
  12% {
    transform: translate3d(-2px, 3px, 0) rotate(-0.3deg);
  }
  25% {
    transform: translate3d(2px, -3px, 0) rotate(0.35deg);
  }
  38% {
    transform: translate3d(-3px, 2px, 0) rotate(-0.25deg);
  }
  52% {
    transform: translate3d(2px, 1px, 0) rotate(0.2deg);
  }
  68% {
    transform: translate3d(-1px, -2px, 0) rotate(-0.1deg);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bayhem-flash {
  0% {
    opacity: 0.92;
    transform: scale(0.94) rotate(-0.8deg);
  }
  40% {
    opacity: 0.6;
    transform: scale(1.02) rotate(0.4deg);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes metronome-pulse {
  0% {
    transform: translateY(0) rotate(-6deg) scale(1);
    box-shadow: 0 10px 28px rgba(3, 22, 32, 0.2);
  }
  50% {
    transform: translateY(-1px) rotate(6deg) scale(1.04);
    box-shadow: 0 16px 32px rgba(3, 22, 32, 0.28);
  }
  100% {
    transform: translateY(0) rotate(-6deg) scale(1);
    box-shadow: 0 10px 28px rgba(3, 22, 32, 0.2);
  }
}

@media (max-width: 1080px) {
  .graveyard-page {
    padding: 2rem 1.25rem 2rem;
  }

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

@media (max-width: 720px) {
  .graveyard-page {
    padding: 1.5rem 1rem;
  }

  .graveyard-hero__title {
    font-size: clamp(2.2rem, 6vw, 2.8rem);
  }

  .graveyard-hero__meta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .graveyard-tombstone {
    --tombstone-size: 1;
    transform: none;
    margin-bottom: 0;
  }
}

@media (max-width: 960px) {
  .glitch-stage {
    grid-template-columns: 1fr;
  }

  .glitch-hero {
    padding: 2rem;
  }

  .gremlin-hero {
    grid-template-columns: 1fr;
  }

.gremlin-card--log,
  .gremlin-card--rituals {
    grid-column: span 1;
  }
}

.lore-drop {
  margin-top: 1.5rem;
}

.lore-drop__hero {
  background: linear-gradient(135deg, rgba(16, 139, 151, 0.16), rgba(255, 140, 92, 0.18)), var(--card);
  border-color: rgba(9, 68, 79, 0.2);
}

.lore-drop__hero.is-lit {
  box-shadow: 0 28px 70px rgba(255, 140, 92, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  background: linear-gradient(135deg, rgba(255, 181, 122, 0.26), rgba(16, 139, 151, 0.22)), var(--card);
}

.lore-drop__status {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.lore-drop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lore-drop__card {
  background: var(--card);
  border: 1px solid rgba(9, 68, 79, 0.16);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 18px 44px var(--surf-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lore-drop__card--primary {
  background: linear-gradient(135deg, rgba(255, 140, 92, 0.14), rgba(16, 139, 151, 0.08)), var(--card);
}

.lore-drop__card--accent {
  background: linear-gradient(135deg, rgba(182, 247, 227, 0.24), rgba(255, 199, 128, 0.18));
  border-color: rgba(16, 139, 151, 0.32);
}

.lore-drop__card--wide {
  grid-column: 1 / -1;
}

.lore-drop__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.lore-drop__title {
  margin: 0;
}

.lore-drop__copy {
  margin: 0;
  color: var(--muted);
}

.lore-drop__ritual {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.lore-drop__list,
.lore-drop__signals,
.lore-drop__myth-log {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.lore-drop__summary {
  margin: 0.1rem 0 0;
  color: var(--muted);
}

.lore-drop__detail {
  margin: 0.25rem 0 0;
}

.lore-drop__signal {
  border: 1px dashed rgba(9, 68, 79, 0.22);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.82);
}

.lore-drop__signal-name {
  margin: 0 0 0.15rem;
  font-weight: 700;
}

.lore-drop__signal-status {
  margin: 0 0 0.1rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.lore-drop__signal-hint {
  margin: 0;
  color: var(--muted);
}

.lore-drop__form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.lore-drop__label {
  font-weight: 700;
}

.lore-drop__input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(9, 68, 79, 0.22);
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.94);
  resize: vertical;
  min-height: 120px;
}

.lore-drop__input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lore-drop__form-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.lore-drop__myth-log li {
  border: 1px solid rgba(9, 68, 79, 0.14);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px var(--surf-shadow);
}

.lore-drop__torch-button[aria-pressed="true"] {
  background: linear-gradient(120deg, #ffd39a 0%, #ff8c7c 32%, #12a1a4 100%);
  border-color: rgba(255, 140, 92, 0.5);
  color: #082431;
}

.lore-drop__status--lit {
  color: var(--accent-strong);
}

.lore-drop__signals[data-torch-active="false"] {
  filter: grayscale(0.9);
  opacity: 0.7;
}

.lore-drop__signals[data-torch-active="true"] {
  filter: none;
  opacity: 1;
  transition: filter 160ms ease, opacity 160ms ease;
}

.zero-decibel__hero {
  position: relative;
  padding: 3rem 2.25rem;
  margin: 2rem 0;
  background: linear-gradient(140deg, rgba(92, 230, 194, 0.12), rgba(16, 139, 151, 0.08)),
    radial-gradient(circle at 88% 10%, rgba(124, 243, 215, 0.18), transparent 42%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 22px 60px var(--surf-shadow);
}

.zero-decibel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.zero-decibel__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  margin-left: 0.35rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px dashed var(--border);
  background: rgba(124, 243, 215, 0.16);
  color: var(--text);
}

.zero-decibel__ritual {
  max-width: 760px;
  color: var(--muted);
}

.zero-decibel__next {
  margin: 0.6rem 0 0;
  padding: 0.65rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: rgba(6, 26, 37, 0.3);
}

.zero-decibel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 3rem;
}

.quiet-card {
  background: linear-gradient(120deg, rgba(16, 139, 151, 0.08), rgba(92, 230, 194, 0.06)),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.2rem;
  box-shadow: 0 16px 40px var(--surf-shadow);
  position: relative;
}

.quiet-card--status {
  border: 1px solid rgba(124, 243, 215, 0.4);
  background: linear-gradient(120deg, rgba(92, 230, 194, 0.14), rgba(16, 139, 151, 0.08));
}

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

.quiet-card__title {
  margin: 0 0 0.4rem;
}

.quiet-card__meta {
  color: var(--muted);
  margin: 0.1rem 0 0.6rem;
}

.quiet-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.zero-decibel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(92, 230, 194, 0.14);
}

.quiet-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

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

.pulse-chip {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 140ms ease, transform 120ms ease, box-shadow 140ms ease;
}

.pulse-chip:hover,
.pulse-chip:focus-visible {
  border-color: rgba(124, 243, 215, 0.55);
  box-shadow: 0 12px 26px var(--surf-shadow);
  outline: none;
}

.pulse-chip:active {
  transform: translateY(1px);
}

.pulse-chip__label {
  font-weight: 700;
  display: block;
}

.pulse-chip__pattern {
  color: var(--accent);
  font-size: 0.95rem;
}

.pulse-chip__note {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.zero-decibel__features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  display: grid;
  gap: 0.85rem;
}

.zero-decibel__feature-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: space-between;
}

.zero-decibel__live {
  min-height: 1px;
}

.quiet-card--queue {
  background: linear-gradient(140deg, rgba(6, 26, 37, 0.24), rgba(92, 230, 194, 0.08));
  border: 1px solid rgba(16, 139, 151, 0.4);
}

.infinite-decibel__hero {
  position: relative;
  padding: 3rem 2.25rem;
  margin: 2rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 16% 18%, rgba(255, 81, 47, 0.28), transparent 42%),
    radial-gradient(circle at 86% 12%, rgba(255, 236, 179, 0.32), transparent 40%),
    linear-gradient(140deg, rgba(255, 99, 141, 0.42), rgba(46, 20, 5, 0.9)),
    var(--card);
  border: 1px solid rgba(255, 99, 141, 0.55);
  border-radius: 28px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.infinite-decibel__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.infinite-decibel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.infinite-decibel__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  margin-left: 0.35rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 99, 141, 0.6);
  background: rgba(255, 99, 141, 0.16);
  color: var(--text);
}

.infinite-decibel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.infinite-decibel__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 99, 141, 0.55);
  background: rgba(255, 236, 179, 0.18);
}

.infinite-decibel__warning {
  max-width: 820px;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.infinite-decibel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 3rem;
}

.chaos-card {
  background: linear-gradient(140deg, rgba(255, 99, 141, 0.12), rgba(255, 207, 64, 0.08)),
    var(--card);
  border: 1px solid rgba(255, 99, 141, 0.45);
  border-radius: 18px;
  padding: 1.35rem 1.2rem;
  box-shadow: 0 18px 42px var(--surf-shadow);
  position: relative;
  overflow: hidden;
}

.chaos-card::before {
  content: "";
  position: absolute;
  inset: 12% 22%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 60%);
  filter: blur(12px);
  z-index: 0;
}

.chaos-card > * {
  position: relative;
  z-index: 1;
}

.chaos-card--status {
  border-color: rgba(255, 236, 179, 0.75);
  background: linear-gradient(140deg, rgba(255, 236, 179, 0.24), rgba(255, 99, 141, 0.16));
}

.chaos-card--alarms {
  background: linear-gradient(150deg, rgba(255, 81, 47, 0.16), rgba(46, 20, 5, 0.7));
  border-color: rgba(255, 81, 47, 0.7);
}

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

.chaos-card__title {
  margin: 0 0 0.4rem;
}

.chaos-card__meta {
  color: var(--muted);
  margin: 0.1rem 0 0.6rem;
}

.chaos-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

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

.alarm-chip {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 99, 141, 0.5);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(120deg, rgba(255, 236, 179, 0.08), rgba(255, 99, 141, 0.12));
  color: var(--text);
  cursor: pointer;
  transition: border-color 140ms ease, transform 120ms ease, box-shadow 140ms ease;
}

.alarm-chip:hover,
.alarm-chip:focus-visible {
  border-color: rgba(255, 236, 179, 0.85);
  box-shadow: 0 12px 26px var(--surf-shadow);
  outline: none;
}

.alarm-chip:active {
  transform: translateY(1px);
}

.alarm-chip__label {
  font-weight: 700;
  display: block;
}

.alarm-chip__pattern {
  color: var(--accent);
  font-size: 0.95rem;
}

.alarm-chip__note {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.infinite-decibel__features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
  display: grid;
  gap: 0.85rem;
}

.infinite-decibel__feature-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: space-between;
}

body.infinite-decibel-mode {
  background-image: linear-gradient(120deg, rgba(255, 99, 141, 0.08), rgba(255, 236, 179, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 99, 141, 0.2);
  animation: infinite-decibel-glow 12s ease-in-out infinite alternate;
}

body.infinite-decibel-mode .site-header {
  box-shadow: 0 18px 48px rgba(255, 99, 141, 0.3);
}

body.infinite-decibel-mode .site-header .button-muted {
  border-color: rgba(255, 99, 141, 0.6);
}

body.infinite-decibel-mode .neon-eggs-layer {
  mix-blend-mode: screen;
}

@keyframes infinite-decibel-glow {
  from {
    filter: hue-rotate(0deg);
    transform: translateZ(0);
  }
  to {
    filter: hue-rotate(16deg);
    transform: translateZ(0);
  }
}

.board-self {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 0 0 3rem;
}

.board-self__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(234, 245, 241, 0.96));
  border: 1px solid rgba(16, 139, 151, 0.18);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 18px 42px rgba(6, 26, 37, 0.18);
  position: relative;
  overflow: hidden;
}

.board-self__card::before {
  content: "";
  position: absolute;
  inset: 0.6rem 0.9rem auto 0.9rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 140, 92, 0.45), rgba(16, 139, 151, 0.35), rgba(255, 140, 92, 0.45));
}

.board-self__card--signal {
  border-color: rgba(255, 140, 92, 0.35);
  box-shadow: 0 20px 48px rgba(255, 140, 92, 0.08), 0 14px 32px rgba(6, 26, 37, 0.16);
}

.board-self__card--blackout {
  background: linear-gradient(135deg, #0b1e27, #132d35);
  color: #e5f3f9;
  border-color: rgba(124, 243, 215, 0.28);
  box-shadow: 0 26px 52px rgba(4, 16, 21, 0.35);
}

.board-self__card--blackout .board-self__copy {
  color: rgba(229, 243, 249, 0.82);
}

.board-self__card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem 1.4rem;
}

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

.board-self__title {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.board-self__copy {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.board-self__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.board-self__pill {
  background: rgba(16, 139, 151, 0.1);
  border: 1px solid rgba(16, 139, 151, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}

.board-self__stat {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.board-self__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.board-self__stats strong {
  display: block;
  font-size: 1.4rem;
}

.board-self__label {
  display: inline-block;
  color: var(--muted);
  margin-left: 0.2rem;
  font-size: 0.95rem;
}

.board-self__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.board-self__list--split {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blackout-playbook {
  background: linear-gradient(135deg, rgba(7, 18, 26, 0.9), rgba(14, 38, 49, 0.95));
  border: 1px solid rgba(124, 243, 215, 0.3);
  border-radius: 14px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(3, 14, 20, 0.35);
}

.blackout-playbook::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 30%, rgba(124, 243, 215, 0.08), transparent 34%),
    radial-gradient(circle at 72% 64%, rgba(255, 140, 92, 0.12), transparent 38%);
  pointer-events: none;
}

.blackout-playbook__seed {
  margin: 0 0 0.5rem;
  font-family: "EB Garamond", "Space Grotesk", serif;
  font-size: 1.08rem;
  line-height: 1.5;
}

.blackout-playbook__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
  color: rgba(229, 243, 249, 0.86);
  font-size: 0.95rem;
}

.blackout-playbook__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blackout-playbook__chip {
  border-radius: 999px;
  border: 1px solid rgba(124, 243, 215, 0.4);
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: #e5f3f9;
}

.blackout-playbook__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.blackout-playbook__whisper {
  margin: 0;
  color: rgba(229, 243, 249, 0.84);
  font-size: 0.95rem;
  flex: 1;
}

@media (max-width: 720px) {
  .zero-decibel__hero {
    padding: 2.25rem 1.5rem;
  }

  .zero-decibel__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shimeji-shop {
    inset: auto 1rem 1rem 1rem;
    width: auto;
  }

  .site-header__assistant-toggle {
    margin-left: 0.35rem;
  }

  .gremlin-dice {
    grid-template-columns: repeat(2, minmax(60px, 1fr));
  }

  .gremlin-headline {
    font-size: 1.1rem;
  }
}

/* Playbook inversion sprint */
.inversion-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 12%, rgba(16, 139, 151, 0.15), transparent 38%),
    radial-gradient(circle at 82% 8%, rgba(255, 140, 92, 0.18), transparent 40%),
    linear-gradient(135deg, #0c1f2b 0%, #0c2f3e 40%, #0f4c62 100%);
  color: #e6f4ff;
  border-radius: 22px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 66px rgba(0, 0, 0, 0.24);
}

.inversion-hero::after {
  content: "";
  position: absolute;
  inset: -12% 20% auto 28%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(255, 199, 128, 0.36), transparent 50%);
  filter: blur(42px);
  opacity: 0.7;
}

.inversion-hero .page-eyebrow,
.inversion-hero .page-title,
.inversion-hero .page-lead {
  color: #e6f4ff;
}

.inversion-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.75rem;
  position: relative;
  z-index: 1;
}

.inversion-hero__chip {
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: rgba(9, 36, 49, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e6f4ff;
  backdrop-filter: blur(6px);
}

.inversion-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.inversion-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.inversion-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.05);
}

.inversion-column__header h2 {
  margin: 0 0 0.25rem;
}

.inversion-note {
  margin: 0.15rem 0 1rem;
  color: var(--muted);
}

.inversion-pairs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inversion-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 139, 151, 0.08), rgba(255, 140, 92, 0.08));
  border: 1px solid rgba(9, 68, 79, 0.18);
  border-radius: 16px;
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.inversion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px dashed rgba(9, 68, 79, 0.16);
  pointer-events: none;
}

.inversion-card__panel {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(9, 68, 79, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.inversion-card__panel--inverse {
  background: linear-gradient(135deg, rgba(255, 140, 92, 0.1), rgba(16, 139, 151, 0.1));
  border-color: rgba(255, 140, 92, 0.26);
}

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

.inversion-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.inversion-card__meta {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.inversion-card__summary {
  margin: 0;
  color: #0f2b33;
}

.rule-flips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.rule-flip {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #f7fbf9, #eef5fa);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

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

.rule-flip__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
  font-size: 0.82rem;
}

.rule-flip__title {
  margin: 0;
  font-size: 1.1rem;
}

.rule-flip__body {
  margin-top: 0.35rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text);
}

.rule-flip__baseline {
  margin: 0;
  color: var(--muted);
}

.rule-flip__inversion {
  margin: 0;
  color: #0f2b33;
  font-weight: 600;
}

.inversion-generator {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 3rem;
}

.inversion-generator__card {
  background: linear-gradient(135deg, rgba(16, 139, 151, 0.12), rgba(255, 140, 92, 0.12)), var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.06);
}

.inversion-generator__title {
  margin: 0 0 0.35rem;
}

.inversion-generator__lead {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.inversion-generator__recap {
  margin: 0.45rem 0 0.75rem;
  color: var(--muted);
}

.inversion-generator__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.inversion-generator__notes {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.04);
}

.inversion-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  counter-reset: inversion-steps;
}

.inversion-list li {
  list-style: none;
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}

.inversion-list li::before {
  counter-increment: inversion-steps;
  content: counter(inversion-steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent-strong);
}

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

  .inversion-generator {
    grid-template-columns: 1fr;
  }
}
