:root {
  color-scheme: dark;
  --ink: #f4ffd9;
  --muted: #a9b694;
  --black: #010201;
  --tar: #050805;
  --bog: #071109;
  --gooze: #b8ff4f;
  --gooze-dark: #244b18;
  --gooze-deep: #0a2c10;
  --swamp-fog: rgba(118, 190, 85, 0.18);
  --coin: #ffd84d;
  --river: #67d8ff;
  --ember: #ff7b35;
  --violet: #bd72ff;
  --surface: rgba(5, 14, 8, 0.78);
  --surface-strong: rgba(8, 20, 12, 0.92);
  --panel-border: rgba(184, 255, 79, 0.24);
  --line: rgba(184, 255, 79, 0.26);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--black);
  overscroll-behavior: none;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}

body {
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 16% 6%, rgba(103, 216, 255, 0.16), transparent 30%),
    radial-gradient(ellipse at 78% 9%, rgba(255, 216, 77, 0.11), transparent 27%),
    radial-gradient(ellipse at 52% 103%, rgba(184, 255, 79, 0.24), transparent 42%),
    linear-gradient(180deg, #020403 0%, #07130b 48%, #010201 100%);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 255, 79, 0.16), transparent 40%),
    radial-gradient(ellipse at 10% 100%, rgba(43, 132, 31, 0.32), transparent 42%),
    radial-gradient(ellipse at 88% 96%, rgba(94, 181, 66, 0.24), transparent 38%),
    linear-gradient(115deg, transparent 0 24%, rgba(95, 162, 63, 0.06) 32% 39%, transparent 48% 100%);
  opacity: 0.48;
  mix-blend-mode: screen;
}

body::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0 3%, transparent 11% 89%, rgba(0, 0, 0, 0.7) 97% 100%),
    linear-gradient(180deg, transparent 0 62%, rgba(8, 34, 10, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(184, 255, 79, 0.035) 0 1px, transparent 1px 68px);
  opacity: 0.86;
}

a {
  color: inherit;
}

.swamp-hub {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  min-height: 100svh;
  padding: clamp(10px, 1.3vw, 22px);
  overflow: visible;
  touch-action: pan-y;
  isolation: isolate;
}

.swamp-hub::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(1, 2, 1, 0.9) 0 12%, rgba(5, 18, 7, 0.34) 48%, rgba(1, 2, 1, 0.84) 100%),
    radial-gradient(circle at 20% 20%, rgba(184, 255, 79, 0.18), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(255, 216, 77, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(1, 2, 1, 0.08), rgba(1, 2, 1, 0.88));
  opacity: 0.76;
  filter: saturate(1.12) contrast(1.08);
}

.swamp-hub::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 18% 99%, rgba(184, 255, 79, 0.28), transparent 23%),
    radial-gradient(ellipse at 42% 102%, rgba(59, 142, 33, 0.42), transparent 26%),
    radial-gradient(ellipse at 76% 98%, rgba(184, 255, 79, 0.22), transparent 24%),
    linear-gradient(180deg, transparent 0 72%, rgba(7, 40, 9, 0.44) 100%);
  opacity: 0.82;
  filter: blur(0.2px);
}

.frontpage-raid-feature {
  position: relative;
  z-index: 2;
  width: min(100%, 1620px);
  min-height: clamp(150px, 18vw, 260px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 77, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(1, 4, 2, 0.92), rgba(3, 12, 5, 0.58) 52%, rgba(1, 4, 2, 0.86)),
    linear-gradient(180deg, rgba(6, 24, 8, 0.92), rgba(2, 9, 3, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(184, 255, 79, 0.14),
    0 18px 56px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(103, 216, 255, 0.1);
  touch-action: pan-y;
}

.frontpage-raid-feature .raid-bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.68;
  filter: saturate(1.18) contrast(1.08) brightness(0.74);
}

.frontpage-raid-feature::before,
.frontpage-raid-feature::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.frontpage-raid-feature::before {
  background:
    radial-gradient(ellipse at 18% 92%, rgba(184, 255, 79, 0.28), transparent 26%),
    radial-gradient(ellipse at 72% 12%, rgba(103, 216, 255, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(3, 24, 8, 0.12), rgba(0, 0, 0, 0.5));
}

.frontpage-raid-feature::after {
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(184, 255, 79, 0.18) 8.2% 8.45%, transparent 8.7% 18%, rgba(184, 255, 79, 0.13) 18.2% 18.45%, transparent 18.7% 82%, rgba(184, 255, 79, 0.13) 82.2% 82.45%, transparent 82.7% 92%, rgba(184, 255, 79, 0.18) 92.2% 92.45%, transparent 92.7% 100%),
    radial-gradient(circle at 9% 50%, rgba(255, 216, 77, 0.12) 0 1.8%, transparent 2%),
    radial-gradient(circle at 91% 46%, rgba(184, 255, 79, 0.13) 0 1.7%, transparent 1.9%),
    linear-gradient(rgba(184, 255, 79, 0.06) 50%, rgba(0, 0, 0, 0.06) 50%),
    radial-gradient(circle at 50% 0%, rgba(184, 255, 79, 0.18), transparent 42%);
  background-size: auto, auto, auto, 100% 4px, auto;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.frontpage-raid-feature figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-items: stretch;
  margin: 0;
  padding: clamp(10px, 1.4vw, 22px);
}

.raid-banner-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(12px, 2.2vw, 34px);
  align-items: end;
  min-height: 100%;
}

.raid-title-stack {
  align-self: end;
  display: grid;
  gap: 0.2rem;
  max-width: 880px;
  padding: clamp(8px, 1vw, 12px);
  border-left: 3px solid rgba(184, 255, 79, 0.62);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent);
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.74),
    0 0 26px rgba(184, 255, 79, 0.32);
}

.banner-eyebrow,
.banner-subtitle {
  color: var(--river);
  font-family: "Courier New", monospace;
  font-size: clamp(0.68rem, 0.85vw, 0.9rem);
  font-weight: 900;
  text-transform: uppercase;
}

.banner-subtitle {
  color: var(--coin);
}

.banner-title {
  color: var(--gooze);
  font-family: "Courier New", monospace;
  font-size: clamp(2.2rem, 5vw, 6rem);
  line-height: 0.9;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.88),
    0 0 18px rgba(184, 255, 79, 0.42),
    0 0 42px rgba(184, 255, 79, 0.22);
  text-transform: uppercase;
}

.raid-link-panel {
  display: grid;
  gap: 8px;
  align-self: end;
  min-width: 0;
  padding: clamp(9px, 1vw, 14px);
  border: 2px solid rgba(184, 255, 79, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(184, 255, 79, 0.2), transparent 34%),
    radial-gradient(ellipse at 20% 100%, rgba(56, 149, 35, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(2, 11, 3, 0.82), rgba(0, 0, 0, 0.8));
  box-shadow:
    inset 0 0 0 1px rgba(255, 216, 77, 0.18),
    0 0 28px rgba(184, 255, 79, 0.2);
}

.ca-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
  padding: clamp(11px, 1.35vw, 18px);
  border: 2px solid rgba(255, 216, 77, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 216, 77, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(8, 20, 8, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(184, 255, 79, 0.16),
    0 0 22px rgba(255, 216, 77, 0.16);
}

.ca-chip span,
.ca-chip button,
.copy-status,
.raid-social-link span {
  font: 1000 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.ca-chip span {
  align-self: start;
  color: var(--coin);
  font-size: clamp(0.86rem, 1.4vw, 1.15rem);
  letter-spacing: 0.08em;
}

.ca-chip code {
  display: block;
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  font: 1000 clamp(0.92rem, 1.55vw, 1.42rem) "Courier New", monospace;
  line-height: 1.16;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.7),
    0 0 14px rgba(184, 255, 79, 0.34);
  white-space: normal;
}

.ca-chip button {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(184, 255, 79, 0.48);
  border-radius: 6px;
  color: #071109;
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  cursor: pointer;
}

@media (max-width: 760px) {
  .ca-chip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ca-chip span {
    grid-column: 1;
  }

  .ca-chip code {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ca-chip button {
    grid-column: 2;
    grid-row: 1;
  }
}

.raid-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.raid-social-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(184, 255, 79, 0.38);
  border-radius: 10px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 216, 77, 0.16), transparent 38%),
    rgba(0, 0, 0, 0.42);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.raid-social-link:hover,
.raid-social-link:focus-visible,
.ca-chip button:hover,
.ca-chip button:focus-visible {
  border-color: rgba(255, 216, 77, 0.72);
  box-shadow:
    0 0 18px rgba(184, 255, 79, 0.22),
    inset 0 0 0 1px rgba(255, 216, 77, 0.2);
  outline: none;
}

.raid-social-link svg,
.social-letter {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 216, 77, 0.32);
  border-radius: 8px;
  color: #071109;
  background: linear-gradient(180deg, var(--gooze), var(--coin));
  box-shadow: 0 0 14px rgba(184, 255, 79, 0.22);
}

.raid-social-link svg {
  fill: #071109;
  padding: 4px;
}

.social-letter {
  font: 1000 0.88rem Inter, sans-serif;
}

.dex-link svg {
  background: linear-gradient(180deg, #67d8ff, var(--gooze));
}

.copy-status {
  min-height: 1rem;
  color: var(--coin);
}

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

.gooze-layer::before,
.gooze-layer::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.gooze-layer::before {
  left: 5vw;
  right: 5vw;
  top: clamp(122px, 17vw, 250px);
  height: clamp(22px, 3.4vw, 46px);
  border: 1px solid rgba(184, 255, 79, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(220, 255, 124, 0.22), transparent 18%),
    radial-gradient(ellipse at 45% 45%, rgba(184, 255, 79, 0.16), transparent 16%),
    radial-gradient(ellipse at 78% 52%, rgba(220, 255, 124, 0.2), transparent 18%),
    linear-gradient(90deg, rgba(27, 92, 19, 0.08), rgba(184, 255, 79, 0.18), rgba(27, 92, 19, 0.08));
  opacity: 0.74;
}

.gooze-layer::after {
  left: 50%;
  bottom: clamp(18px, 4vw, 54px);
  width: min(72vw, 940px);
  height: clamp(34px, 7vw, 86px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 46%, rgba(210, 255, 112, 0.18), transparent 24%),
    radial-gradient(ellipse at 68% 56%, rgba(81, 177, 48, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(25, 72, 18, 0.18), rgba(0, 0, 0, 0.14));
  opacity: 0.8;
  transform: translateX(-50%);
}

.gooze-strip,
.gooze-drip,
.gooze-puddle {
  position: absolute;
  display: block;
  background:
    radial-gradient(ellipse at 34% 24%, rgba(239, 255, 174, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(184, 255, 79, 0.95), rgba(45, 104, 28, 0.72));
  box-shadow:
    0 0 22px rgba(184, 255, 79, 0.28),
    inset 0 0 18px rgba(255, 255, 210, 0.2);
}

.gooze-strip {
  height: clamp(18px, 3.2vw, 52px);
  border: 2px solid rgba(184, 255, 79, 0.34);
  border-radius: 0 0 22px 22px;
}

.strip-one {
  top: -8px;
  left: 2vw;
  width: 34vw;
}

.strip-two {
  top: -12px;
  right: 6vw;
  width: 26vw;
  opacity: 0.78;
}

.strip-three {
  right: -4vw;
  bottom: -9px;
  width: 42vw;
  height: clamp(16px, 2.5vw, 38px);
  border-radius: 22px 22px 0 0;
  opacity: 0.62;
}

.strip-one::before,
.strip-two::before,
.strip-three::before {
  position: absolute;
  inset: auto 10% -8px 8%;
  height: 12px;
  border-radius: 999px;
  background: rgba(216, 255, 138, 0.28);
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.26);
  content: "";
}

.gooze-drip {
  top: 0;
  width: clamp(18px, 2.5vw, 34px);
  border: 2px solid rgba(184, 255, 79, 0.34);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.drip-one {
  left: 11vw;
  height: 18vh;
}

.drip-two {
  right: 19vw;
  height: 12vh;
  opacity: 0.76;
}

.drip-three {
  right: 8vw;
  height: 24vh;
  opacity: 0.48;
}

.gooze-puddle {
  bottom: -34px;
  height: clamp(66px, 10vw, 130px);
  border: 2px solid rgba(184, 255, 79, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 42% 36%, rgba(216, 255, 138, 0.24), transparent 22%),
    radial-gradient(ellipse at 70% 54%, rgba(184, 255, 79, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(43, 98, 25, 0.74), rgba(3, 10, 4, 0.84));
}

.puddle-one {
  left: -10vw;
  width: 46vw;
}

.puddle-two {
  right: -16vw;
  width: 58vw;
  opacity: 0.72;
}

.home-console {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(214px, 260px);
  gap: clamp(8px, 1.1vw, 16px);
  align-items: stretch;
  width: min(100%, 1920px);
  margin: 0 auto;
}

.entrance-console {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1620px);
  min-height: min(100svh - clamp(150px, 18vw, 288px), 800px);
}

.landing-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(390px, 1fr) minmax(360px, 0.72fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: stretch;
  width: min(100%, 1620px);
  margin: 0 auto;
  touch-action: pan-y;
}

.landing-shell::before,
.landing-shell::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.landing-shell::before {
  inset: -20px -28px;
  z-index: 0;
  background:
    radial-gradient(ellipse at 18% 88%, rgba(184, 255, 79, 0.17), transparent 26%),
    radial-gradient(ellipse at 82% 86%, rgba(53, 136, 33, 0.2), transparent 30%),
    linear-gradient(90deg, transparent 0 42%, rgba(184, 255, 79, 0.06) 49% 51%, transparent 58% 100%);
  opacity: 0.9;
}

.landing-shell::after {
  left: 4%;
  right: 4%;
  bottom: -24px;
  z-index: 0;
  height: 82px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 44%, rgba(216, 255, 138, 0.22), transparent 18%),
    radial-gradient(ellipse at 64% 46%, rgba(184, 255, 79, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(38, 98, 24, 0.6), rgba(2, 8, 3, 0.8));
  filter: blur(0.4px);
}

.landing-copy,
.landing-preview {
  position: relative;
  z-index: 1;
  min-height: clamp(430px, 58vh, 720px);
  touch-action: pan-y;
}

.landing-copy {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: clamp(18px, 2.1vw, 28px);
}

.home-title-row {
  display: grid;
  grid-template-columns: clamp(46px, 5.5vw, 70px) minmax(0, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
  align-items: center;
}

.home-title-row img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 216, 77, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 58%, rgba(184, 255, 79, 0.24), transparent 42%),
    rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(184, 255, 79, 0.18),
    0 0 18px rgba(184, 255, 79, 0.18);
}

.landing-copy h1 {
  margin: 0;
  color: var(--gooze);
  font: 1000 clamp(2.5rem, 5.4vw, 5.9rem) "Courier New", monospace;
  line-height: 0.92;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.74),
    0 0 28px rgba(184, 255, 79, 0.28);
}

.landing-copy p {
  max-width: 48rem;
  margin: 0;
  color: #dcebc7;
  font: 800 clamp(0.9rem, 1.12vw, 1.08rem)/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

.landing-copy p strong {
  color: var(--coin);
}

.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-hero-badges span {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(103, 216, 255, 0.28);
  border-radius: 999px;
  color: #dff9ff;
  background:
    radial-gradient(circle at 0% 0%, rgba(103, 216, 255, 0.16), transparent 42%),
    rgba(0, 0, 0, 0.24);
  font: 900 0.72rem Inter, ui-sans-serif, system-ui, sans-serif;
}

.landing-actions,
.landing-mini-actions {
  display: grid;
  gap: 10px;
}

.landing-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
}

.landing-button,
.landing-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(184, 255, 79, 0.3);
  border-radius: 8px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 216, 255, 0.1), transparent 38%),
    rgba(0, 0, 0, 0.28);
  font: 950 clamp(0.82rem, 1vw, 0.95rem) Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.landing-button.primary {
  color: #071109;
  background: linear-gradient(135deg, var(--coin), var(--gooze) 64%, var(--river));
  border-color: rgba(255, 216, 77, 0.42);
  box-shadow: 0 10px 24px rgba(184, 255, 79, 0.12);
}

.landing-button:hover,
.landing-button:focus-visible,
.landing-mini-link:hover,
.landing-mini-link:focus-visible {
  border-color: rgba(255, 216, 77, 0.65);
  box-shadow:
    0 0 18px rgba(184, 255, 79, 0.16),
    inset 0 0 0 1px rgba(255, 216, 77, 0.14);
  outline: none;
}

.home-mixer {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 13px;
  border: 1px solid rgba(103, 216, 255, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(103, 216, 255, 0.16), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(189, 114, 255, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 18px rgba(103, 216, 255, 0.08);
}

.home-mixer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-mixer-head div {
  display: grid;
  gap: 2px;
}

.home-mixer-head small {
  color: #b6c7b4;
  font: 800 0.68rem Inter, ui-sans-serif, system-ui, sans-serif;
}

.home-mixer-head span {
  color: var(--river);
  font: 1000 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.home-mixer-head strong {
  color: var(--coin);
  font: 1000 0.98rem "Courier New", monospace;
}

.home-mixer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: 8px;
}

.home-mixer-head button,
.home-mixer-reset {
  min-height: 34px;
  border: 1px solid rgba(184, 255, 79, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(7, 17, 9, 0.84);
  font: 1000 0.68rem "Courier New", monospace;
  cursor: pointer;
}

.home-mixer-head button[aria-pressed="true"] {
  color: #071109;
  background: linear-gradient(180deg, var(--river), var(--gooze));
}

.home-volume-meter {
  position: relative;
  overflow: hidden;
  height: 16px;
  border: 1px solid rgba(184, 255, 79, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(184, 255, 79, 0.05), rgba(255, 216, 77, 0.09)),
    rgba(0, 0, 0, 0.38);
}

.home-volume-meter span {
  display: block;
  width: var(--meter, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67d8ff, var(--gooze) 62%, var(--coin));
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.34);
  transition: width 80ms linear;
}

.home-mixer-row,
.home-eq-grid label {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 1000 0.72rem "Courier New", monospace;
}

.home-playlist-row {
  grid-template-columns: 68px minmax(0, 1fr) 76px;
}

.home-mixer select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(184, 255, 79, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(7, 17, 9, 0.98), rgba(0, 0, 0, 0.86));
  font: 1000 0.72rem "Courier New", monospace;
  cursor: pointer;
}

.home-mixer select:focus-visible {
  border-color: rgba(255, 216, 77, 0.72);
  outline: none;
  box-shadow: 0 0 16px rgba(184, 255, 79, 0.16);
}

.home-eq-grid {
  display: grid;
  gap: 8px;
}

.home-mixer output,
.home-eq-grid output {
  color: var(--coin);
  text-align: right;
  font-size: 0.68rem;
}

.home-mixer input[type="range"] {
  width: 100%;
  accent-color: var(--gooze);
}

.home-mixer-reset {
  justify-self: end;
  min-width: 112px;
}

.home-mixer-head button:hover,
.home-mixer-head button:focus-visible,
.home-mixer-reset:hover,
.home-mixer-reset:focus-visible {
  border-color: rgba(255, 216, 77, 0.68);
  outline: none;
  box-shadow: 0 0 16px rgba(184, 255, 79, 0.16);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.landing-feature-card,
.landing-profile-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(184, 255, 79, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 255, 79, 0.12), transparent 30%),
    radial-gradient(ellipse at 0% 100%, rgba(39, 118, 25, 0.14), transparent 44%),
    rgba(0, 0, 0, 0.26);
}

.landing-feature-card {
  min-height: 74px;
}

.landing-feature-card::after {
  justify-self: start;
  width: min(100%, 120px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gooze), rgba(255, 216, 77, 0.68), transparent);
  content: "";
  opacity: 0.7;
}

.landing-feature-card strong {
  color: var(--coin);
  font: 950 0.82rem Inter, ui-sans-serif, system-ui, sans-serif;
}

.landing-feature-card span {
  color: #bcc9ad;
  font: 800 0.72rem/1.42 Inter, ui-sans-serif, system-ui, sans-serif;
}

.home-ogre-showcase {
  display: grid;
  gap: 12px;
  min-height: 0;
  margin-top: 2px;
  padding: 13px;
  border: 1px solid rgba(184, 255, 79, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(184, 255, 79, 0.16), transparent 48%),
    radial-gradient(circle at 8% 4%, rgba(103, 216, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(1, 8, 2, 0.42), rgba(0, 0, 0, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 -18px 34px rgba(62, 137, 36, 0.08);
}

.home-ogre-showcase::after {
  display: block;
  height: 12px;
  border: 1px solid rgba(184, 255, 79, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(232, 255, 155, 0.18), transparent 18%),
    radial-gradient(ellipse at 62% 50%, rgba(184, 255, 79, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(93, 182, 53, 0.32), rgba(0, 0, 0, 0.04));
  content: "";
}

.home-ogre-showcase-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.home-ogre-showcase-head span {
  color: #67d8ff;
  font: 1000 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.home-ogre-showcase-head strong {
  color: var(--coin);
  font: 1000 clamp(0.82rem, 1.2vw, 1rem) "Courier New", monospace;
  text-align: right;
}

.home-ogre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.home-ogre-card {
  --ogre-skin: #72df4e;
  --ogre-dark: #2d8f28;
  --ogre-armor: #6b3d22;
  --ogre-eye: #ffd84d;
  --ogre-glow: rgba(184, 255, 79, 0.28);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 146px;
  padding: 8px 7px 9px;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 79, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 82%, var(--ogre-glow), transparent 40%),
    linear-gradient(180deg, rgba(9, 23, 9, 0.78), rgba(0, 0, 0, 0.3));
}

.home-ogre-card:hover,
.home-ogre-card:focus-within {
  border-color: rgba(255, 240, 115, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 20px rgba(184, 255, 79, 0.12);
}

.home-ogre-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.28;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 79, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 92%, rgba(184, 255, 79, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(2, 12, 5, 0.96), rgba(0, 0, 0, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -16px 22px rgba(0, 0, 0, 0.38),
    0 8px 16px rgba(0, 0, 0, 0.22);
}

.home-ogre-video-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.home-ogre-video,
.home-ogre-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--clip-x, 50%) var(--clip-y, 50%);
  transform: scale(1.03);
  filter: saturate(1.2) contrast(1.08) brightness(0.95);
}

.home-ogre-card strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font: 1000 0.69rem "Courier New", monospace;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-ogre-card small {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font: 800 0.58rem/1.15 "Courier New", monospace;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-ogre-sprite {
  position: relative;
  display: block;
  width: 58px;
  height: 70px;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.38)) drop-shadow(0 0 9px var(--ogre-glow));
}

.home-ogre-sprite::before,
.home-ogre-sprite::after,
.home-ogre-sprite i,
.home-ogre-sprite i::before,
.home-ogre-sprite i::after {
  position: absolute;
  content: "";
}

.home-ogre-sprite::before {
  left: 11px;
  top: 5px;
  width: 36px;
  height: 30px;
  border: 3px solid #071109;
  border-radius: 14px 14px 10px 10px;
  background:
    radial-gradient(circle at 34% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    radial-gradient(circle at 66% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 74%, #2c0505 0 15%, transparent 16%),
    linear-gradient(180deg, var(--ogre-skin), var(--ogre-dark));
  box-shadow:
    -10px 9px 0 -5px var(--ogre-skin),
    10px 9px 0 -5px var(--ogre-skin);
}

.home-ogre-sprite::after {
  left: 8px;
  bottom: 6px;
  width: 42px;
  height: 36px;
  border: 3px solid #071109;
  border-radius: 15px 15px 8px 8px;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(255, 249, 216, 0.22) 0 18%, transparent 19%),
    linear-gradient(180deg, var(--ogre-skin) 0 58%, var(--ogre-armor) 59% 100%);
  box-shadow:
    -9px 27px 0 -6px var(--ogre-skin),
    9px 27px 0 -6px var(--ogre-skin);
}

.home-ogre-sprite i {
  z-index: 2;
  right: -2px;
  top: 19px;
  width: 8px;
  height: 46px;
  border-radius: 999px;
  background: #6b3d22;
  transform: rotate(34deg);
  box-shadow: 0 0 0 2px #071109;
}

.home-ogre-sprite i::before {
  left: -7px;
  top: -12px;
  width: 22px;
  height: 20px;
  border: 2px solid #071109;
  border-radius: 8px;
  background: #8b4bb3;
}

.home-ogre-card[data-ogre-card="runner"] {
  --ogre-skin: #74df4e;
  --ogre-dark: #286c35;
  --ogre-armor: #284a25;
  --ogre-eye: #67d8ff;
  --ogre-glow: rgba(103, 216, 255, 0.26);
}

.home-ogre-card[data-ogre-card="runner"] .home-ogre-sprite::before {
  background:
    linear-gradient(180deg, #ffb344 0 24%, transparent 25%),
    radial-gradient(circle at 34% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    radial-gradient(circle at 66% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    linear-gradient(180deg, var(--ogre-skin), var(--ogre-dark));
}

.home-ogre-card[data-ogre-card="runner"] .home-ogre-sprite i::before {
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: #d7fff0;
}

.home-ogre-card[data-ogre-card="fat"] {
  --ogre-skin: #8adf3c;
  --ogre-dark: #44751f;
  --ogre-armor: #755024;
  --ogre-glow: rgba(255, 216, 77, 0.24);
}

.home-ogre-card[data-ogre-card="fat"] .home-ogre-sprite {
  width: 68px;
}

.home-ogre-card[data-ogre-card="fat"] .home-ogre-sprite::before {
  left: 15px;
  width: 38px;
}

.home-ogre-card[data-ogre-card="fat"] .home-ogre-sprite::after {
  left: 7px;
  width: 54px;
  border-radius: 24px 24px 10px 10px;
}

.home-ogre-card[data-ogre-card="baby"] {
  --ogre-skin: #9cff4a;
  --ogre-dark: #4f9828;
  --ogre-armor: #1f5e8f;
  --ogre-eye: #67d8ff;
  --ogre-glow: rgba(103, 216, 255, 0.22);
}

.home-ogre-card[data-ogre-card="baby"] .home-ogre-sprite {
  width: 46px;
  transform: translateY(8px) scale(0.84);
}

.home-ogre-card[data-ogre-card="baby"] .home-ogre-sprite::before {
  left: 8px;
  top: 7px;
  width: 30px;
}

.home-ogre-card[data-ogre-card="baby"] .home-ogre-sprite::after {
  left: 10px;
  width: 28px;
}

.home-ogre-card[data-ogre-card="baby"] .home-ogre-sprite i::before {
  left: -9px;
  top: -8px;
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: #67d8ff;
}

.home-ogre-card[data-ogre-card="royal"] {
  --ogre-skin: #81dc3e;
  --ogre-dark: #3f7c29;
  --ogre-armor: #4b267f;
  --ogre-eye: #bd72ff;
  --ogre-glow: rgba(189, 114, 255, 0.3);
}

.home-ogre-card[data-ogre-card="royal"] .home-ogre-sprite::before {
  box-shadow:
    -10px 9px 0 -5px var(--ogre-skin),
    10px 9px 0 -5px var(--ogre-skin),
    0 -9px 0 -5px #ffd84d;
}

.home-ogre-card[data-ogre-card="regular"] {
  --ogre-skin: #65d63e;
  --ogre-dark: #2d8f28;
  --ogre-armor: #7b4a2b;
  --ogre-eye: #ffd84d;
}

.home-ogre-card[data-ogre-card="regular"] .home-ogre-sprite i::before {
  width: 24px;
  height: 14px;
  border-radius: 4px 12px 12px 4px;
  background: #d7fff0;
}

.home-ogre-card[data-ogre-card="cave"] {
  --ogre-skin: #67b5db;
  --ogre-dark: #375c73;
  --ogre-armor: #3a4255;
  --ogre-eye: #67d8ff;
  --ogre-glow: rgba(103, 216, 255, 0.3);
}

.home-ogre-card[data-ogre-card="cave"] .home-ogre-sprite::before {
  background:
    linear-gradient(180deg, #56615b 0 22%, transparent 23%),
    radial-gradient(circle at 69% 18%, #ffd84d 0 8%, transparent 9%),
    radial-gradient(circle at 34% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    radial-gradient(circle at 66% 47%, var(--ogre-eye) 0 7%, transparent 8%),
    linear-gradient(180deg, var(--ogre-skin), var(--ogre-dark));
}

.home-ogre-card[data-ogre-card="cave"] .home-ogre-sprite i::before {
  width: 25px;
  height: 22px;
  background: #56615b;
}

.home-ogre-card[data-ogre-card="titan"] {
  --ogre-skin: #b8ff4f;
  --ogre-dark: #477e31;
  --ogre-armor: #3d372c;
  --ogre-eye: #fff073;
  --ogre-glow: rgba(184, 255, 79, 0.34);
}

.home-ogre-card[data-ogre-card="titan"] .home-ogre-sprite {
  width: 70px;
}

.home-ogre-card[data-ogre-card="titan"] .home-ogre-sprite::before {
  left: 16px;
  width: 38px;
}

.home-ogre-card[data-ogre-card="titan"] .home-ogre-sprite::after {
  left: 9px;
  width: 52px;
}

.home-ogre-card[data-ogre-card="titan"] .home-ogre-sprite i {
  width: 10px;
  height: 32px;
  background: #3a4255;
}

.home-ogre-card[data-ogre-card="titan"] .home-ogre-sprite i::before {
  width: 27px;
  height: 16px;
  background: #67d8ff;
}

.landing-preview {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: clamp(14px, 1.6vw, 20px);
}

.landing-preview-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 2px solid rgba(255, 216, 77, 0.34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 79, 0.08);
  touch-action: pan-y;
}

.landing-preview-media::before,
.landing-preview-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.landing-preview-media::before {
  background:
    radial-gradient(ellipse at 50% 108%, rgba(184, 255, 79, 0.26), transparent 42%),
    linear-gradient(180deg, transparent 0 62%, rgba(8, 38, 10, 0.28) 100%);
  mix-blend-mode: screen;
}

.landing-preview-media::after {
  inset: auto 0 0;
  height: 58px;
  background:
    radial-gradient(ellipse at 20% 90%, rgba(184, 255, 79, 0.38), transparent 28%),
    radial-gradient(ellipse at 70% 88%, rgba(255, 216, 77, 0.12), transparent 24%),
    linear-gradient(180deg, transparent, rgba(4, 26, 7, 0.72));
}

.landing-preview-media video,
.landing-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.landing-preview-media video {
  aspect-ratio: 16 / 9;
  min-height: clamp(220px, 25vw, 400px);
  background: #020503;
}

.preview-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(184, 255, 79, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(10px);
}

.preview-caption span {
  color: var(--river);
  font: 1000 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.preview-caption strong {
  color: var(--coin);
  font: 1000 0.82rem "Courier New", monospace;
  text-align: right;
}

.landing-profile-card {
  gap: 10px;
}

.landing-mini-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-mini-link {
  min-height: 40px;
  font-size: 0.7rem;
}

.entrance-game-shell {
  min-height: inherit;
}

.entrance-console .game-frame {
  height: clamp(620px, calc(100svh - clamp(154px, 18vw, 290px)), 800px);
  min-height: 620px;
  aspect-ratio: auto;
}

.site-panel {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
  padding: clamp(10px, 1.1vw, 16px);
  border: 2px solid rgba(184, 255, 79, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 255, 79, 0.14), transparent 34%),
    radial-gradient(ellipse at 100% 0%, rgba(103, 216, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(6, 18, 9, 0.92), rgba(1, 7, 2, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 216, 77, 0.09),
    inset 0 -28px 48px rgba(70, 165, 44, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(184, 255, 79, 0.14);
}

.site-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(ellipse at 50% 108%, rgba(184, 255, 79, 0.08), transparent 40%),
    linear-gradient(90deg, rgba(184, 255, 79, 0.05), transparent 20% 80%, rgba(184, 255, 79, 0.04));
  opacity: 0.44;
  mix-blend-mode: screen;
}

.site-panel > * {
  position: relative;
  z-index: 1;
}

.panel-kicker {
  color: var(--gooze);
  font: 1000 0.68rem "Courier New", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-chip {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(184, 255, 79, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.profile-pfp {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 216, 77, 0.58);
  border-radius: 10px;
  color: #071109;
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  box-shadow: 0 0 22px rgba(184, 255, 79, 0.24);
  font: 1000 1rem "Courier New", monospace;
}

.profile-chip strong,
.route-console h1 {
  display: block;
  color: var(--ink);
  font: 1000 clamp(1rem, 1.8vw, 1.32rem) "Courier New", monospace;
}

.profile-chip span:last-child,
.mini-status,
.route-console p {
  color: var(--muted);
  font: 800 0.72rem/1.35 "Courier New", monospace;
}

.mini-status[data-tone="ok"] {
  color: var(--gooze);
}

.mini-status[data-tone="warn"] {
  color: var(--coin);
}

.mini-status[data-tone="bad"] {
  color: #ff5d4d;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.profile-stats span {
  min-width: 0;
  padding: 8px 4px;
  border: 1px solid rgba(255, 216, 77, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 216, 77, 0.06);
  font: 900 0.58rem "Courier New", monospace;
  text-align: center;
  text-transform: uppercase;
}

.profile-stats b {
  display: block;
  color: var(--coin);
  font-size: 0.9rem;
}

.customize-profile-button {
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  border: 1px solid rgba(255, 216, 77, 0.42);
  border-radius: 8px;
  color: #071109;
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  font: 1000 0.68rem "Courier New", monospace;
  cursor: pointer;
}

.profile-customizer {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(184, 255, 79, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 255, 79, 0.12), transparent 42%),
    rgba(0, 0, 0, 0.26);
}

.profile-customizer.hidden {
  display: none;
}

.customizer-head,
.dlc-preview-head {
  display: grid;
  gap: 3px;
}

.customizer-head strong,
.dlc-preview-head strong {
  color: var(--coin);
  font: 1000 0.78rem "Courier New", monospace;
}

.customizer-head span,
.dlc-preview-head span {
  color: var(--muted);
  font: 800 0.62rem/1.25 "Courier New", monospace;
}

.pfp-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pfp-choice {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(184, 255, 79, 0.3);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(15, 38, 18, 0.92), rgba(2, 8, 3, 0.95));
  font: 1000 0.72rem "Courier New", monospace;
  cursor: pointer;
}

.pfp-choice.active {
  color: #071109;
  border-color: rgba(255, 216, 77, 0.78);
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.22);
}

.dlc-preview-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-top: 2px;
}

.dlc-preview-head button {
  min-height: 30px;
  border: 1px solid rgba(184, 255, 79, 0.4);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.36);
  font: 1000 0.58rem "Courier New", monospace;
  cursor: pointer;
}

.dlc-preview-grid {
  display: grid;
  gap: 6px;
  max-height: min(34vh, 330px);
  overflow-y: auto;
  padding-right: 2px;
}

.dlc-card {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) minmax(62px, 92px);
  gap: 7px;
  align-items: center;
  min-height: 46px;
  padding: 7px;
  border: 1px solid rgba(184, 255, 79, 0.22);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.24);
}

.dlc-swatch {
  width: 8px;
  height: 30px;
  border-radius: 999px;
  background: var(--gooze);
  box-shadow: 0 0 12px currentColor;
}

.dlc-card strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font: 1000 0.66rem "Courier New", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlc-card span {
  display: block;
  min-width: 0;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font: 800 0.55rem/1.2 "Courier New", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlc-card b {
  max-width: 92px;
  overflow: hidden;
  color: var(--coin);
  font: 1000 0.58rem "Courier New", monospace;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dlc-card.owned b,
.dlc-card.ready b {
  color: var(--gooze);
}

.home-account-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 9px;
  margin-top: 12px;
}

.home-account-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-account-form .wide,
.home-account-actions {
  grid-column: 1 / -1;
}

.home-account-form label span {
  color: var(--muted);
  font: 1000 0.72rem "Courier New", monospace;
  text-transform: uppercase;
}

.home-account-form input {
  width: 100%;
  min-height: 39px;
  border: 1px solid rgba(184, 255, 79, 0.35);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, #102313, #071109);
  box-shadow: inset 0 0 12px rgba(184, 255, 79, 0.07);
  font: 900 0.88rem "Courier New", monospace;
}

.home-account-actions,
.route-grid {
  display: grid;
  gap: 7px;
}

.home-account-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-account-actions button,
.copy-ca {
  min-height: 40px;
  border: 1px solid rgba(184, 255, 79, 0.36);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  font: 1000 0.82rem "Courier New", monospace;
  cursor: pointer;
}

.home-account-actions button.primary,
.copy-ca {
  color: #071109;
  background: linear-gradient(180deg, var(--coin), var(--gooze));
}

.home-account-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.route-console h1 {
  margin: 9px 0 6px;
  color: var(--gooze);
}

.route-grid {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.route-grid a {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(184, 255, 79, 0.26);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  font: 900 0.72rem "Courier New", monospace;
  text-decoration: none;
}

.route-grid a:hover,
.route-grid a:focus-visible,
.home-account-actions button:hover,
.home-account-actions button:focus-visible,
.customize-profile-button:hover,
.customize-profile-button:focus-visible,
.pfp-choice:hover,
.pfp-choice:focus-visible,
.dlc-preview-head button:hover,
.dlc-preview-head button:focus-visible,
.copy-ca:hover,
.copy-ca:focus-visible {
  border-color: rgba(255, 216, 77, 0.65);
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.18);
  outline: none;
}

.api-status-list {
  display: grid;
  gap: 8px;
  margin: 13px 0;
}

.api-status-list span {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font: 900 0.67rem "Courier New", monospace;
}

.api-status-list i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffb344;
  box-shadow: 0 0 12px rgba(255, 179, 68, 0.5);
}

.api-status-list i.ok {
  background: var(--gooze);
  box-shadow: 0 0 14px rgba(184, 255, 79, 0.7);
}

.api-status-list i.bad {
  background: #ff5d4d;
  box-shadow: 0 0 14px rgba(255, 93, 77, 0.65);
}

.api-status-list b {
  color: var(--ink);
}

.copy-ca {
  width: 100%;
  margin-top: 2px;
}

.game-shell {
  position: relative;
  z-index: 1;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  overflow: hidden;
  border: clamp(3px, 0.5vw, 8px) solid rgba(184, 255, 79, 0.46);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(184, 255, 79, 0.12), transparent 8%),
    #020402;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.84),
    inset 0 0 0 4px rgba(0, 0, 0, 0.82),
    0 34px 110px rgba(0, 0, 0, 0.82),
    0 0 76px rgba(184, 255, 79, 0.22);
}

.game-shell::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(90deg, rgba(184, 255, 79, 0.08), transparent 10% 90%, rgba(184, 255, 79, 0.08));
  mix-blend-mode: screen;
  opacity: 0.28;
}

.game-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-height: clamp(32px, 4vw, 44px);
  padding: 0 clamp(8px, 1.2vw, 16px);
  border-bottom: 1px solid rgba(184, 255, 79, 0.22);
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(3, 8, 3, 0.96), rgba(8, 19, 8, 0.9), rgba(3, 8, 3, 0.96));
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 900;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  margin-right: auto;
  color: var(--ink);
}

.brand-chip img {
  width: clamp(20px, 2.4vw, 30px);
  height: clamp(20px, 2.4vw, 30px);
  filter: drop-shadow(0 0 12px rgba(184, 255, 79, 0.42));
}

.brand-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--gooze);
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.74);
}

.status-text {
  flex: 0 0 auto;
}

.toolbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 0.34rem 0.58rem;
  border: 1px solid rgba(184, 255, 79, 0.28);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.34);
  font: inherit;
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.toolbar-button:hover,
.toolbar-button:focus-visible {
  color: #071109;
  background: var(--gooze);
  outline: none;
}

.game-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: min(760px, calc(100svh - 84px));
  border: 0;
  background: #020402;
}

.swamp-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 10px 12px 18px;
  color: rgba(240, 255, 240, 0.84);
  font: 900 0.75rem "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.swamp-footer::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -10px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 24% 40%, rgba(216, 255, 138, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(184, 255, 79, 0.18), rgba(20, 74, 19, 0.1));
  box-shadow: 0 0 24px rgba(184, 255, 79, 0.1);
  content: "";
  pointer-events: none;
}

.swamp-footer a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 255, 79, 0.28);
  background: rgba(0, 0, 0, 0.22);
  text-decoration: none;
}

.swamp-footer a:hover {
  border-color: rgba(184, 255, 79, 0.52);
  background: rgba(0, 0, 0, 0.32);
}

html.tek-root,
html.tek-root body {
  min-height: 100%;
}

body.tek-body {
  background:
    radial-gradient(ellipse at 14% 8%, rgba(103, 216, 255, 0.18), transparent 30%),
    radial-gradient(ellipse at 82% 14%, rgba(189, 114, 255, 0.16), transparent 30%),
    radial-gradient(ellipse at 48% 100%, rgba(184, 255, 79, 0.22), transparent 42%),
    linear-gradient(180deg, #020403 0%, #07120c 52%, #010201 100%);
}

.tek-page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: clamp(12px, 2.2vw, 34px);
  overflow: hidden;
}

.tek-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(14px, 1.8vw, 26px);
  width: min(100%, 1500px);
  margin: 0 auto;
}

.tek-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(14px, 2vw, 30px);
  align-items: stretch;
}

.tek-hero-copy,
.tek-hero-visual,
.tek-bot-card,
.tek-ops-strip article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 79, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 216, 255, 0.1), transparent 34%),
    radial-gradient(ellipse at 0% 100%, rgba(184, 255, 79, 0.1), transparent 42%),
    rgba(3, 10, 5, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 216, 77, 0.08),
    0 18px 48px rgba(0, 0, 0, 0.42);
}

.tek-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: clamp(300px, 35vw, 460px);
  padding: clamp(20px, 3vw, 46px);
}

.tek-hero-copy h1 {
  margin: 0;
  color: var(--gooze);
  font: 1000 clamp(3.1rem, 7vw, 7.4rem) "Courier New", monospace;
  line-height: 0.88;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.78),
    0 0 34px rgba(184, 255, 79, 0.28);
}

.tek-hero-copy p {
  max-width: 52rem;
  margin: 0;
  color: #e0edcf;
  font: 850 clamp(0.96rem, 1.35vw, 1.2rem)/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

.tek-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.tek-hero-visual {
  min-height: clamp(300px, 35vw, 460px);
  margin: 0;
  border-color: rgba(255, 216, 77, 0.34);
}

.tek-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: saturate(1.18) contrast(1.1) brightness(0.82);
}

.tek-hero-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
}

.tek-hero-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(184, 255, 79, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.tek-hero-visual span,
.tek-bot-card > span {
  color: var(--river);
  font: 1000 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.tek-hero-visual strong {
  color: var(--coin);
  font: 1000 0.82rem "Courier New", monospace;
  text-align: right;
}

.tek-bot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 16px);
}

.tek-bot-card {
  display: grid;
  gap: 10px;
  min-height: 360px;
  padding: clamp(14px, 1.5vw, 20px);
}

.tek-bot-card::after {
  position: absolute;
  inset: auto 14px 12px 14px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bot-accent, var(--gooze)), transparent);
  content: "";
  opacity: 0.74;
}

.tek-bot-card.scan {
  --bot-accent: var(--river);
}

.tek-bot-card.trade {
  --bot-accent: var(--gooze);
}

.tek-bot-card.buy {
  --bot-accent: var(--coin);
}

.tek-bot-card.raid {
  --bot-accent: var(--violet);
}

.tek-bot-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid color-mix(in srgb, var(--bot-accent, var(--gooze)) 62%, transparent);
  border-radius: 8px;
  color: #061008;
  background: linear-gradient(135deg, var(--bot-accent, var(--gooze)), var(--coin));
  box-shadow: 0 0 24px color-mix(in srgb, var(--bot-accent, var(--gooze)) 24%, transparent);
  font: 1000 0.78rem "Courier New", monospace;
}

.tek-bot-card h2 {
  margin: 0;
  color: var(--ink);
  font: 1000 clamp(1.35rem, 2.2vw, 2rem) "Courier New", monospace;
}

.tek-bot-card p {
  margin: 0;
  color: #cbd8ba;
  font: 800 0.92rem/1.48 Inter, ui-sans-serif, system-ui, sans-serif;
}

.tek-bot-card ul {
  display: grid;
  gap: 7px;
  margin: 2px 0 12px;
  padding: 0;
  list-style: none;
}

.tek-bot-card li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #edf8dc;
  font: 850 0.8rem Inter, ui-sans-serif, system-ui, sans-serif;
}

.tek-bot-card li::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--bot-accent, var(--gooze));
  box-shadow: 0 0 12px var(--bot-accent, var(--gooze));
  content: "";
}

.tek-ops-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.25vw, 16px);
}

.tek-ops-strip article {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 16px;
}

.tek-ops-strip span {
  color: var(--river);
  font: 1000 0.72rem "Courier New", monospace;
}

.tek-ops-strip strong {
  color: var(--coin);
  font: 1000 1.15rem "Courier New", monospace;
}

.tek-ops-strip p {
  margin: 0;
  color: #cbd8ba;
  font: 800 0.86rem/1.42 Inter, ui-sans-serif, system-ui, sans-serif;
}

html.safari-runtime body::before,
html.safari-runtime body::after,
html.safari-runtime .swamp-hub::before,
html.safari-runtime .swamp-hub::after,
html.safari-runtime .frontpage-raid-feature::after,
html.safari-runtime .gooze-layer,
html.safari-runtime .landing-preview-media::before,
html.safari-runtime .site-panel::before {
  mix-blend-mode: normal;
  filter: none;
}

html.safari-runtime body::before,
html.safari-runtime body::after {
  position: absolute;
}

html.safari-runtime .gooze-layer {
  opacity: 0.78;
}

html.safari-runtime .frontpage-raid-feature,
html.safari-runtime .site-panel {
  box-shadow:
    inset 0 0 0 1px rgba(184, 255, 79, 0.14),
    0 18px 48px rgba(0, 0, 0, 0.44),
    0 0 20px rgba(184, 255, 79, 0.1);
}

html.safari-runtime .landing-preview-media img,
html.safari-runtime .landing-preview-media video {
  filter: none;
}

html.safari-runtime .landing-shell::after,
html.safari-runtime .swamp-footer::before {
  filter: none;
  opacity: 0.68;
}

html.smooth-runtime {
  scroll-behavior: auto;
}

html.smooth-runtime body::before,
html.smooth-runtime body::after,
html.smooth-runtime .swamp-hub::before,
html.smooth-runtime .swamp-hub::after,
html.smooth-runtime .frontpage-raid-feature::after,
html.smooth-runtime .landing-preview-media::before,
html.smooth-runtime .site-panel::before,
html.smooth-runtime .gooze-layer {
  mix-blend-mode: normal;
  filter: none;
}

html.smooth-runtime body::before,
html.smooth-runtime body::after {
  position: absolute;
}

html.smooth-runtime .gooze-layer {
  opacity: 0.64;
}

html.smooth-runtime .frontpage-raid-feature,
html.smooth-runtime .site-panel,
html.smooth-runtime .leaderboard-arcade {
  box-shadow:
    inset 0 0 0 1px rgba(184, 255, 79, 0.14),
    0 14px 38px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(184, 255, 79, 0.08);
}

html.smooth-runtime .landing-preview-media img,
html.smooth-runtime .landing-preview-media video,
html.smooth-runtime .landing-shell::after,
html.smooth-runtime .swamp-footer::before {
  filter: none;
}

html.smooth-runtime .gooze-strip,
html.smooth-runtime .gooze-drip,
html.smooth-runtime .gooze-puddle {
  animation: none !important;
}

html.smooth-runtime .home-mixer,
html.smooth-runtime .home-ogre-card,
html.smooth-runtime .landing-feature-card,
html.smooth-runtime .leaderboard-list,
html.smooth-runtime .leaderboard-cabinet {
  contain: layout paint style;
}

html.smooth-runtime .home-ogre-showcase,
html.smooth-runtime .swamp-footer,
html.smooth-runtime .leaderboard-cabinet {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

html.smooth-runtime .home-ogre-card,
html.smooth-runtime .landing-button,
html.smooth-runtime .toolbar-button,
html.smooth-runtime .leaderboard-period-button {
  transition: none !important;
}

.leaderboard-page {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 100svh;
  padding: clamp(10px, 2.2vw, 32px);
  overflow: visible;
  touch-action: pan-y;
}

html.leaderboard-root,
html.leaderboard-root body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(184, 255, 79, 0.72) rgba(1, 5, 2, 0.96);
}

html.leaderboard-root {
  scrollbar-gutter: stable;
}

body.leaderboard-body {
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0 8%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(180deg, rgba(1, 6, 3, 0.18), rgba(1, 2, 1, 0.94) 92%),
    url("./assets/leaderboard-ogre-bone-bridge.jpg") center top / cover scroll no-repeat,
    #010201;
}

body.leaderboard-body::-webkit-scrollbar {
  width: 14px;
}

body.leaderboard-body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #010201, #071109);
}

body.leaderboard-body::-webkit-scrollbar-thumb {
  border: 3px solid #010201;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gooze), var(--gooze-dark));
  box-shadow: inset 0 0 8px rgba(255, 255, 210, 0.22);
}

body.leaderboard-body::before {
  opacity: 0.24;
}

body.leaderboard-body::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0 2.5%, transparent 10% 90%, rgba(0, 0, 0, 0.82) 97% 100%),
    radial-gradient(ellipse at 50% 0%, transparent 0 36%, rgba(0, 0, 0, 0.44) 74%, rgba(0, 0, 0, 0.76) 100%),
    repeating-linear-gradient(180deg, rgba(184, 255, 79, 0.025) 0 1px, transparent 1px 5px);
  opacity: 0.92;
}

.leaderboard-arcade {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin: 0 auto;
  overflow: visible;
  border: clamp(3px, 0.6vw, 8px) solid rgba(184, 255, 79, 0.44);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 216, 77, 0.18), transparent 22%),
    radial-gradient(circle at 92% 6%, rgba(189, 114, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(4, 18, 8, 0.9), rgba(1, 4, 2, 0.86));
  backdrop-filter: blur(3px) saturate(1.12);
  box-shadow:
    inset 0 0 0 2px rgba(255, 216, 77, 0.14),
    0 28px 90px rgba(0, 0, 0, 0.74),
    0 0 72px rgba(184, 255, 79, 0.22);
}

.leaderboard-arcade::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.035), transparent 42%),
    linear-gradient(90deg, rgba(184, 255, 79, 0.08), transparent 18% 82%, rgba(255, 216, 77, 0.07));
  mix-blend-mode: screen;
  opacity: 0.32;
}

.leaderboard-arcade > * {
  position: relative;
  z-index: 1;
}

.leaderboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 28px);
  align-items: end;
  padding: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(255, 216, 77, 0.22);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent);
}

.leaderboard-hero h1 {
  max-width: 12ch;
  margin: 6px 0 8px;
  color: var(--gooze);
  text-shadow:
    0 0 18px rgba(184, 255, 79, 0.36),
    4px 4px 0 rgba(0, 0, 0, 0.72);
  font: 1000 clamp(2.7rem, 8vw, 6.6rem) / 0.84 "Courier New", monospace;
  text-transform: uppercase;
}

.leaderboard-hero p:not(.panel-kicker),
.leaderboard-footer {
  color: var(--ink);
  font: 900 clamp(0.82rem, 1.2vw, 1rem) / 1.45 "Courier New", monospace;
}

.leaderboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
  min-width: min(100%, 280px);
}

.leaderboard-actions .toolbar-button {
  min-height: 38px;
}

.leaderboard-actions button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.leaderboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px clamp(14px, 2vw, 28px);
  background: rgba(0, 0, 0, 0.3);
}

.leaderboard-stats article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 216, 77, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 216, 77, 0.1), rgba(184, 255, 79, 0.04)),
    rgba(0, 0, 0, 0.28);
}

.leaderboard-stats span,
.leaderboard-row small,
.leaderboard-footer {
  color: var(--muted);
  font: 900 0.68rem "Courier New", monospace;
  text-transform: uppercase;
}

.leaderboard-stats strong {
  display: block;
  margin-top: 5px;
  color: var(--coin);
  font: 1000 clamp(1.25rem, 3vw, 2.2rem) "Courier New", monospace;
}

.leaderboard-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px clamp(14px, 2vw, 28px) 0;
}

.leaderboard-period-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(184, 255, 79, 0.32);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  font: 1000 0.7rem "Courier New", monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.leaderboard-period-button.active,
.leaderboard-period-button:hover,
.leaderboard-period-button:focus-visible {
  color: #071109;
  border-color: rgba(255, 216, 77, 0.72);
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  box-shadow: 0 0 18px rgba(184, 255, 79, 0.16);
  outline: none;
}

.leaderboard-cabinet {
  margin: clamp(10px, 1.8vw, 24px);
  overflow: visible;
  border: 2px solid rgba(184, 255, 79, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 255, 79, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 0 28px rgba(184, 255, 79, 0.08),
    0 0 34px rgba(0, 0, 0, 0.3);
}

.leaderboard-marquee,
.leaderboard-row {
  display: grid;
  grid-template-columns: 70px minmax(220px, 1.55fr) minmax(118px, 0.78fr) minmax(76px, 0.52fr) minmax(92px, 0.58fr) minmax(80px, 0.52fr) minmax(150px, 1fr);
  gap: 10px;
  align-items: center;
}

.leaderboard-marquee {
  padding: 12px 14px;
  color: #071109;
  background: linear-gradient(180deg, var(--coin), var(--gooze));
  font: 1000 0.72rem "Courier New", monospace;
  text-transform: uppercase;
}

.leaderboard-list {
  display: grid;
  max-height: none;
  overflow: visible;
}

.leaderboard-row {
  min-height: 74px;
  padding: 10px 14px;
  border-top: 1px solid rgba(184, 255, 79, 0.16);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(184, 255, 79, 0.055), transparent 44%),
    rgba(0, 0, 0, 0.18);
  font: 900 0.82rem "Courier New", monospace;
}

.leaderboard-row:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(189, 114, 255, 0.055), transparent 42%),
    rgba(255, 216, 77, 0.035);
}

.leaderboard-row.top-rank {
  border-top-color: rgba(255, 216, 77, 0.38);
  box-shadow: inset 0 0 26px rgba(255, 216, 77, 0.08);
}

.rank-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 216, 77, 0.64);
  border-radius: 12px;
  color: #071109;
  background: linear-gradient(180deg, var(--coin), #ff9b4a);
  box-shadow: 0 0 18px rgba(255, 216, 77, 0.24);
  font: 1000 1rem "Courier New", monospace;
}

.crown-row {
  background:
    linear-gradient(90deg, rgba(255, 216, 77, 0.11), rgba(184, 255, 79, 0.06) 42%, transparent 100%),
    rgba(0, 0, 0, 0.2);
}

.crown-badge {
  border-color: rgba(255, 216, 77, 0.86);
  box-shadow:
    0 0 20px rgba(255, 216, 77, 0.32),
    inset 0 0 12px rgba(255, 255, 255, 0.16);
}

.leaderboard-crown {
  position: absolute;
  top: -10px;
  right: -6px;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(255, 216, 77, 0.55));
}

.leaderboard-crown-inline {
  margin-left: 6px;
  color: var(--coin);
  font-size: 0.92em;
}

.player-cell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.leaderboard-row .profile-pfp {
  width: 48px;
  height: 48px;
  border-color: rgba(184, 255, 79, 0.58);
}

.player-cell strong,
.score-cell {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-cell {
  color: var(--coin);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.loadout-cell {
  overflow: hidden;
  color: #d7ffca;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-empty {
  padding: 34px 18px;
  color: var(--coin);
  font: 1000 1rem "Courier New", monospace;
  text-align: center;
}

.leaderboard-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 0 clamp(14px, 2vw, 28px) clamp(18px, 2.4vw, 30px);
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 5vw;
}

.not-found h1 {
  max-width: 10ch;
  margin: 0 0 1rem;
  color: var(--gooze);
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.9;
}

.not-found p {
  max-width: 34rem;
  color: var(--muted);
}

@media (min-width: 761px) {
  html {
    overflow-y: scroll;
    scrollbar-color: rgba(184, 255, 79, 0.72) rgba(1, 5, 2, 0.96);
    scrollbar-gutter: stable;
  }

  body {
    overflow-x: hidden;
    overflow-y: scroll;
  }

  body::-webkit-scrollbar {
    width: 13px;
  }

  body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #010201, #071109);
  }

  body::-webkit-scrollbar-thumb {
    border: 3px solid #010201;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gooze), var(--gooze-dark));
    box-shadow: inset 0 0 8px rgba(255, 255, 210, 0.22);
  }

  .swamp-hub {
    align-items: start;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: clamp(18px, 2vw, 34px);
  }
}

@media (max-width: 1240px) {
  .frontpage-raid-feature {
    min-height: 230px;
  }

  .raid-banner-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .raid-title-stack {
    align-self: start;
  }

  .banner-title {
    font-size: clamp(2.35rem, 8vw, 5rem);
  }

  .raid-link-panel {
    max-width: 100%;
  }

  .home-console {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.8fr);
  }

  .entrance-console {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-shell {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .profile-console,
  .route-console {
    grid-row: 2;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tek-bot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .swamp-hub {
    align-content: start;
    grid-template-rows: 1fr;
    gap: 0;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .swamp-hub::before {
    opacity: 0.26;
  }

  .frontpage-raid-feature {
    display: none;
  }

  .home-console {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .entrance-console {
    min-height: auto;
  }

  .game-shell {
    align-self: start;
    width: 100vw;
    min-height: 100svh;
    margin-top: 0;
    border-width: 0;
    border-radius: 0;
  }

  .game-toolbar {
    gap: 0.36rem;
    min-height: 38px;
    padding: 0 7px;
  }

  .brand-chip span {
    max-width: 8.4rem;
  }

  .status-text {
    display: none;
  }

  .toolbar-button {
    min-height: 28px;
    padding: 0.32rem 0.42rem;
  }

  .game-frame {
    height: calc(100svh - 38px);
    min-height: 0;
    aspect-ratio: auto;
  }

  .entrance-console .game-frame {
    height: 100svh;
    min-height: 100svh;
  }

  .profile-console,
  .route-console {
    display: none;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaderboard-page {
    padding: 7px;
  }

  body.leaderboard-body {
    background-attachment: scroll;
    background-position: 50% 0;
  }

  .leaderboard-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .leaderboard-actions,
  .leaderboard-stats {
    grid-template-columns: 1fr;
  }

  .leaderboard-periods {
    padding-top: 8px;
  }

  .leaderboard-period-button {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .leaderboard-marquee {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .leaderboard-row > span,
  .leaderboard-row .loadout-cell {
    display: none;
  }

  .rank-badge {
    width: 38px;
    height: 38px;
  }

  .player-cell {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .leaderboard-row .profile-pfp {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1040px) {
  .landing-shell {
    grid-template-columns: 1fr;
  }

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

  .landing-copy,
  .landing-preview {
    min-height: auto;
  }

  .landing-preview-media {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .landing-actions,
  .landing-mini-actions,
  .tek-actions,
  .tek-bot-grid,
  .tek-ops-strip {
    grid-template-columns: 1fr;
  }

  .tek-page {
    padding: 8px;
  }

  .tek-hero-copy,
  .tek-hero-visual {
    min-height: auto;
  }

  .tek-hero-copy {
    padding: 18px 14px;
  }

  .tek-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .tek-hero-visual {
    min-height: 260px;
  }

  .tek-bot-card {
    min-height: auto;
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-copy {
    gap: 12px;
  }

  .home-title-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .landing-preview-media {
    min-height: 250px;
  }
}

@media (max-width: 430px) {
  .brand-chip span {
    max-width: 5.7rem;
  }

  .toolbar-button {
    font-size: 0.62rem;
  }

  .home-account-actions,
  .route-grid,
  .profile-stats {
    grid-template-columns: 1fr;
  }
}
