:root {
  --bg: #020403;
  --panel: rgba(8, 15, 12, 0.78);
  --panel-strong: rgba(11, 22, 17, 0.92);
  --line: rgba(142, 255, 166, 0.18);
  --line-strong: rgba(142, 255, 166, 0.34);
  --text: #eef8ef;
  --muted: rgba(238, 248, 239, 0.62);
  --quiet: rgba(238, 248, 239, 0.42);
  --green: #65ff7a;
  --green-deep: #1f8f45;
  --cyan: #64d7ff;
  --red: #ff375f;
  --amber: #ffc857;
  --yellow: #f7ff5a;
  --violet: #a78bfa;
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  background: var(--bg);
  scrollbar-color: rgba(101, 255, 122, 0.62) rgba(4, 9, 7, 0.9);
  scrollbar-width: thin;
}

* {
  scrollbar-color: rgba(101, 255, 122, 0.62) rgba(4, 9, 7, 0.9);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.05), rgba(255, 55, 95, 0.025)),
    rgba(4, 9, 7, 0.92);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid rgba(4, 9, 7, 0.92);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(101, 255, 122, 0.78), rgba(31, 143, 69, 0.82));
  box-shadow: 0 0 12px rgba(101, 255, 122, 0.18);
}

*::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(142, 255, 166, 0.9), rgba(100, 215, 255, 0.72));
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(10, 20, 13, 0.96), rgba(0, 0, 0, 0.92) 42%, #020403),
    var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

body::before {
  z-index: 0;
  opacity: 0.52;
  background:
    radial-gradient(ellipse at 22% 14%, rgba(101, 255, 122, 0.085), transparent 28%),
    radial-gradient(ellipse at 82% 18%, rgba(255, 55, 95, 0.045), transparent 30%),
    linear-gradient(rgba(101, 255, 122, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 255, 122, 0.02) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-size: 100% 100%, 100% 100%, 96px 96px, 96px 96px;
}

body::after {
  z-index: 1;
  opacity: 0.54;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(101, 255, 122, 0.11), transparent 52%),
    radial-gradient(ellipse at 18% 62%, rgba(255, 55, 95, 0.04), transparent 38%),
    radial-gradient(ellipse at 82% 70%, rgba(100, 215, 255, 0.036), transparent 36%),
    linear-gradient(112deg, transparent 0 36%, rgba(101, 255, 122, 0.04) 50%, transparent 66% 100%);
  animation: omenWash 22s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

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

.static-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.024;
  background-image:
    linear-gradient(transparent 50%, rgba(255, 255, 255, 0.05) 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px);
  background-size: 100% 4px, 100% 100%;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(101, 255, 122, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.9);
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: min(380px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(5, 12, 7, 0.84);
  box-shadow: 0 18px 60px var(--shadow), 0 0 28px rgba(101, 255, 122, 0.14);
  backdrop-filter: blur(12px);
}

.loading-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(101, 255, 122, 0.25);
  display: grid;
  place-items: center;
}

.loading-mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green);
  animation: loadingSpin 0.9s linear infinite;
}

.loading-mark span {
  width: 16px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  box-shadow: 0 0 18px rgba(101, 255, 122, 0.35);
  transform: rotate(18deg);
}

.loading-title {
  margin: 0 0 2px;
  font-weight: 800;
}

.loading-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes loadingSpin {
  to { transform: rotate(360deg); }
}

.ambient-field,
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-field {
  z-index: 1;
  overflow: hidden;
  contain: strict;
}

.ambient-field::before,
.ambient-field::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  will-change: transform, opacity;
}

.ambient-field::before {
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 18% 24%, rgba(101, 255, 122, 0.12), transparent 30%),
    radial-gradient(ellipse at 76% 34%, rgba(100, 215, 255, 0.06), transparent 28%),
    radial-gradient(ellipse at 54% 78%, rgba(255, 55, 95, 0.055), transparent 34%);
  animation: ambientGlowWander 84s linear infinite;
}

.ambient-field::after {
  opacity: 0.18;
  background:
    linear-gradient(68deg, transparent 0 38%, rgba(101, 255, 122, 0.08) 48%, transparent 58% 100%),
    radial-gradient(ellipse at 64% 42%, rgba(101, 255, 122, 0.08), transparent 32%);
  animation: ambientSignalWander 108s linear infinite;
}

.ambient-layer {
  inset: -520px;
  background-repeat: repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  animation-play-state: running;
}

.ambient-veins {
  background-image: url("/assets/ambient/vein-field.svg");
  background-size: 1800px 1280px;
  opacity: 0.48;
  animation: ambientVeinDrift 92s linear infinite alternate;
}

.ambient-sparks {
  background-image: url("/assets/ambient/sparks-field.svg");
  background-size: 1040px 1040px;
  opacity: 0.6;
  animation: ambientSparkDrift 68s linear infinite alternate;
}

.ambient-scan {
  opacity: 0.22;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(101, 255, 122, 0.16), transparent 30%),
    radial-gradient(ellipse at 82% 68%, rgba(255, 55, 95, 0.08), transparent 34%),
    linear-gradient(112deg, transparent 0 42%, rgba(101, 255, 122, 0.11) 48%, transparent 55% 100%);
  animation: ambientScan 46s ease-in-out infinite alternate;
}

@keyframes ambientVeinDrift {
  0% { transform: translate3d(-4%, -2%, 0) rotate(0.001deg) scale(1.01); }
  34% { transform: translate3d(-13%, 6%, 0) rotate(-0.42deg) scale(1.025); }
  67% { transform: translate3d(6%, 12%, 0) rotate(0.32deg) scale(1.018); }
  100% { transform: translate3d(15%, -4%, 0) rotate(-0.22deg) scale(1.03); }
}

@keyframes ambientSparkDrift {
  0% { transform: translate3d(3%, -5%, 0) rotate(0.001deg) scale(1.02); }
  38% { transform: translate3d(15%, 7%, 0) rotate(0.45deg) scale(1.035); }
  70% { transform: translate3d(-7%, 14%, 0) rotate(-0.28deg) scale(1.018); }
  100% { transform: translate3d(-17%, -3%, 0) rotate(0.22deg) scale(1.028); }
}

@keyframes ambientScan {
  from { opacity: 0.1; transform: translate3d(-4%, 2%, 0) scale(1); }
  to { opacity: 0.28; transform: translate3d(5%, -3%, 0) scale(1.04); }
}

@keyframes ambientGlowWander {
  0%, 100% { opacity: 0.22; transform: translate3d(-2%, 1%, 0) scale(1); }
  21% { opacity: 0.32; transform: translate3d(4%, -3%, 0) scale(1.06); }
  47% { opacity: 0.2; transform: translate3d(8%, 3%, 0) scale(1.02); }
  73% { opacity: 0.36; transform: translate3d(-5%, -4%, 0) scale(1.08); }
}

@keyframes ambientSignalWander {
  0%, 100% { opacity: 0.12; transform: translate3d(2%, -2%, 0) rotate(0deg) scale(1); }
  28% { opacity: 0.24; transform: translate3d(-6%, 4%, 0) rotate(3deg) scale(1.04); }
  58% { opacity: 0.16; transform: translate3d(5%, 7%, 0) rotate(-2deg) scale(1.02); }
  84% { opacity: 0.28; transform: translate3d(8%, -5%, 0) rotate(2deg) scale(1.06); }
}

@keyframes omenWash {
  0% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0.68;
    transform: translate3d(-6px, 5px, 0) scale(1.012);
  }
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid rgba(101, 255, 122, 0.16);
  background: rgba(2, 4, 3, 0.76);
  backdrop-filter: blur(16px);
}

.app-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.6), rgba(100, 215, 255, 0.35), transparent);
}

.brand-lockup,
.site-nav {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font-family: "Cinzel Decorative", serif;
  font-size: 1.45rem;
  background:
    linear-gradient(145deg, rgba(101, 255, 122, 0.13), rgba(255, 55, 95, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 22px rgba(101, 255, 122, 0.08), 0 0 22px rgba(101, 255, 122, 0.08);
}

.brand-glyph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 800;
  text-transform: uppercase;
}

.brand-subtitle,
.eyebrow,
.metric-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  border-radius: 999px;
  background: transparent;
  isolation: isolate;
}

.site-nav::before,
.site-nav::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 50%;
  z-index: -1;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
}

.site-nav::before {
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.12), rgba(100, 215, 255, 0.06), transparent);
  opacity: 0.7;
}

.site-nav::after {
  height: 12px;
  top: calc(50% + 8px);
  background: radial-gradient(ellipse at 50% 50%, rgba(101, 255, 122, 0.09), transparent 68%);
  filter: blur(5px);
  opacity: 0.5;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 7px 3px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease, opacity 0.2s ease;
}

.nav-link::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scale(0.45);
  box-shadow: 0 0 0 rgba(101, 255, 122, 0);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.52), rgba(100, 215, 255, 0.14), transparent);
  box-shadow: 0 0 8px rgba(101, 255, 122, 0.12);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, height 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.nav-link.active {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 125%, rgba(101, 255, 122, 0.07), transparent 64%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025));
  box-shadow: none;
}

.nav-link.active {
  color: var(--green);
  text-shadow: 0 0 10px rgba(101, 255, 122, 0.18);
}

.nav-link:hover {
  color: var(--text);
  background:
    radial-gradient(circle at 50% 122%, rgba(101, 255, 122, 0.17), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.045));
  box-shadow: none;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 10px rgba(101, 255, 122, 0.42);
}

.nav-link.active::before {
  animation: navPulse 2.6s ease-in-out infinite;
}

.nav-link:hover::before {
  animation: none;
  box-shadow: 0 0 14px rgba(101, 255, 122, 0.72), 0 0 0 3px rgba(101, 255, 122, 0.08);
}

.nav-link.active:not(:hover)::after {
  opacity: 0.58;
  transform: scaleX(0.72);
}

.nav-link:hover::after {
  height: 2px;
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent, rgba(100, 215, 255, 0.42), rgba(101, 255, 122, 0.98), rgba(101, 255, 122, 0.5), transparent);
  box-shadow: 0 0 14px rgba(101, 255, 122, 0.32), 0 0 26px rgba(100, 215, 255, 0.12);
}

.nav-link:hover {
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(101, 255, 122, 0.24);
}

@keyframes navPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(101, 255, 122, 0.45), 0 0 0 0 rgba(101, 255, 122, 0.24);
  }
  50% {
    box-shadow: 0 0 16px rgba(101, 255, 122, 0.72), 0 0 0 5px rgba(101, 255, 122, 0);
  }
}

.app-main {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.app-main.route-exiting {
  animation: routeExit 0.18s ease both;
}

.app-main.route-entering {
  animation: routeEnter 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page {
  display: none;
  animation: pageIn 0.42s ease both;
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.season-archive-controls {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.season-switcher,
.board-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board-switcher {
  position: relative;
  align-items: center;
  margin-left: 10px;
  padding-left: 18px;
}

.board-switcher::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(101, 255, 122, 0.38), rgba(100, 215, 255, 0.16));
  box-shadow: 0 0 14px rgba(101, 255, 122, 0.12);
}

.board-switcher::after {
  content: attr(data-season-label) " boards";
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  order: -1;
  color: rgba(226, 255, 230, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 -1px 0 rgba(0, 0, 0, 0.88),
    0 1px 0 rgba(255, 255, 255, 0.055),
    0 0 12px rgba(101, 255, 122, 0.07);
  text-transform: uppercase;
  white-space: nowrap;
}

.season-switcher:empty,
.board-switcher:empty,
.board-switcher[hidden] {
  display: none;
}

.season-button,
.board-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(101, 255, 122, 0.16);
  border-radius: 8px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.055), transparent 62%),
    rgba(255, 255, 255, 0.028);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.board-button {
  min-height: 30px;
  padding: 0 11px;
  border-color: rgba(100, 215, 255, 0.14);
  color: var(--quiet);
  background:
    linear-gradient(135deg, rgba(100, 215, 255, 0.055), transparent 62%),
    rgba(255, 255, 255, 0.022);
  font-size: 0.76rem;
}

.season-button:hover,
.board-button:hover {
  transform: translateY(-1px);
  border-color: rgba(101, 255, 122, 0.32);
  color: var(--text);
}

.season-button.active,
.board-button.active {
  border-color: rgba(101, 255, 122, 0.44);
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.14), transparent 62%),
    rgba(101, 255, 122, 0.06);
  box-shadow: inset 0 0 16px rgba(101, 255, 122, 0.045), 0 0 18px rgba(101, 255, 122, 0.08);
}

.board-button.active {
  border-color: rgba(100, 215, 255, 0.4);
  color: var(--cyan);
  background:
    linear-gradient(135deg, rgba(100, 215, 255, 0.13), transparent 62%),
    rgba(100, 215, 255, 0.055);
  box-shadow: inset 0 0 14px rgba(100, 215, 255, 0.045), 0 0 16px rgba(100, 215, 255, 0.07);
}

.season-button.current::after,
.season-button.upcoming::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 1px 6px 0;
  border: 1px solid rgba(255, 55, 95, 0.28);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 55, 95, 0.075);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.season-button.current::after {
  content: "Live";
}

.season-button.upcoming::after {
  content: "Soon";
  border-color: rgba(178, 255, 207, 0.46);
  color: #eaffcf;
  background:
    linear-gradient(120deg, rgba(101, 255, 122, 0.22), rgba(255, 200, 87, 0.16) 42%, rgba(100, 215, 255, 0.16)),
    rgba(5, 18, 9, 0.88);
  box-shadow:
    inset 0 0 10px rgba(255, 200, 87, 0.12),
    0 0 14px rgba(101, 255, 122, 0.13);
  text-shadow: 0 0 9px rgba(178, 255, 207, 0.48);
}

@keyframes routeExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.992);
    filter: blur(8px);
  }
}

@keyframes routeEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(1.006);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

::view-transition-old(root) {
  animation: routeViewOut 0.22s ease both;
}

::view-transition-new(root) {
  animation: routeViewIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes routeViewOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.992);
    filter: blur(8px);
  }
}

@keyframes routeViewIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(1.008);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.home-page {
  width: 100vw;
  margin-top: -32px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

body[data-route="home"] .app-main {
  width: 100%;
  padding: 0;
}

body[data-route="home"] .home-page {
  width: 100%;
  margin: 0;
}

.panic-landing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(440px, calc(100svh - 166px), 780px);
  padding: 56px clamp(18px, 7vw, 96px) 68px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(101, 255, 122, 0.16);
  background:
    radial-gradient(ellipse at 50% 38%, rgba(101, 255, 122, 0.16), transparent 32%),
    radial-gradient(ellipse at 50% 92%, rgba(255, 55, 95, 0.075), transparent 36%),
    linear-gradient(180deg, rgba(5, 12, 8, 0.38), rgba(0, 0, 0, 0.54) 48%, rgba(2, 4, 3, 0.95)),
    #020403;
}

.panic-landing::before,
.panic-landing::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.panic-landing::before {
  z-index: -2;
  opacity: 0.72;
  background:
    radial-gradient(circle at 18% 28%, rgba(101, 255, 122, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 38%, rgba(100, 215, 255, 0.12) 0 1px, transparent 3px),
    radial-gradient(circle at 68% 76%, rgba(255, 55, 95, 0.1) 0 1px, transparent 3px),
    linear-gradient(112deg, transparent 0 39%, rgba(101, 255, 122, 0.075) 40%, transparent 42% 100%),
    linear-gradient(71deg, transparent 0 60%, rgba(100, 215, 255, 0.04) 61%, transparent 63% 100%);
  background-size: 260px 260px, 340px 340px, 300px 300px, 100% 100%, 100% 100%;
  animation: panicFieldDrift 18s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.panic-landing::after {
  z-index: -1;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 28%, rgba(101, 255, 122, 0.08) 29%, transparent 31%),
    radial-gradient(ellipse at 50% 48%, transparent 0 43%, rgba(100, 215, 255, 0.045) 44%, transparent 46%),
    linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.075), transparent);
  filter: blur(0.2px);
  transform: scale(1);
  animation: panicAura 9s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.panic-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.panic-sentinel {
  position: absolute;
  left: 50%;
  top: 43%;
  width: min(460px, 42vw);
  height: auto;
  opacity: 0.84;
  transform: translate3d(-50%, -50%, 0);
  filter:
    drop-shadow(0 0 20px rgba(101, 255, 122, 0.42))
    drop-shadow(0 28px 60px rgba(0, 0, 0, 0.72));
  animation: panicSentinelBreathe 7.5s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
}

.panic-orbit {
  position: absolute;
  left: 50%;
  top: 44%;
  border: 1px solid rgba(101, 255, 122, 0.2);
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0) rotate(0deg);
  box-shadow: inset 0 0 32px rgba(101, 255, 122, 0.035), 0 0 36px rgba(101, 255, 122, 0.06);
}

.panic-orbit::before,
.panic-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(101, 255, 122, 0.7);
}

.panic-orbit::before {
  left: 12%;
  top: 20%;
}

.panic-orbit::after {
  right: 18%;
  bottom: 17%;
  opacity: 0.54;
}

.orbit-one {
  width: min(720px, 74vw);
  aspect-ratio: 1.25;
  animation: panicOrbit 52s linear infinite;
}

.orbit-two {
  width: min(590px, 62vw);
  aspect-ratio: 1.58;
  border-color: rgba(100, 215, 255, 0.13);
  transform: translate3d(-50%, -50%, 0) rotate(17deg);
  animation: panicOrbitReverse 68s linear infinite;
}

.orbit-three {
  width: min(850px, 88vw);
  aspect-ratio: 2.3;
  border-color: rgba(255, 55, 95, 0.1);
  transform: translate3d(-50%, -50%, 0) rotate(-12deg);
  animation: panicOrbitThree 96s linear infinite;
}

.panic-rift {
  position: absolute;
  width: 1px;
  height: 34vh;
  min-height: 220px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(101, 255, 122, 0.42), transparent);
  box-shadow: 0 0 24px rgba(101, 255, 122, 0.18);
  opacity: 0.5;
  transform-origin: center;
  animation: panicRift 8s ease-in-out infinite alternate;
}

.rift-one {
  left: 18%;
  top: 12%;
  transform: rotate(31deg);
}

.rift-two {
  right: 17%;
  top: 22%;
  height: 42vh;
  transform: rotate(-21deg);
  animation-delay: -2s;
}

.rift-three {
  left: 62%;
  bottom: -5%;
  height: 28vh;
  transform: rotate(12deg);
  animation-delay: -4s;
}

.panic-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(1050px, 100%);
  margin-top: 150px;
  text-align: center;
}

.panic-kicker,
.panic-line,
.panic-action,
.home-echo-words {
  font-family: "JetBrains Mono", monospace;
}

.panic-kicker {
  color: rgba(226, 255, 230, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(101, 255, 122, 0.16);
}

.panic-copy h1 {
  margin-top: 6px;
  color: var(--text);
  font-family: "Cinzel Decorative", serif;
  font-size: 8.4rem;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.9),
    0 0 28px rgba(101, 255, 122, 0.24),
    0 0 90px rgba(101, 255, 122, 0.18);
}

.panic-line {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(238, 248, 239, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panic-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.panic-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(101, 255, 122, 0.22);
  border-radius: 7px;
  color: rgba(238, 248, 239, 0.82);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.085), transparent 62%),
    rgba(255, 255, 255, 0.028);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.panic-action::after {
  content: "";
  position: absolute;
  inset: auto 10px 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.72), transparent);
  opacity: 0;
  transform: scaleX(0.62);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.panic-action.primary {
  border-color: rgba(101, 255, 122, 0.36);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.16), rgba(255, 55, 95, 0.055) 62%, transparent),
    rgba(101, 255, 122, 0.04);
  box-shadow: inset 0 0 18px rgba(101, 255, 122, 0.04), 0 0 24px rgba(101, 255, 122, 0.08);
}

.panic-action:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 255, 122, 0.46);
  color: var(--green);
  box-shadow: 0 0 24px rgba(101, 255, 122, 0.12);
}

.panic-action:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-page.live-signal .panic-sentinel {
  animation: panicSentinelBreathe 7.5s ease-in-out infinite alternate, homeSignalSentinel 3.6s ease both;
}

.home-page.live-signal .panic-action.primary {
  animation: homeSignalAction 3.6s ease both;
}

.home-page.live-signal .orbit-one {
  animation: panicOrbit 52s linear infinite, homeSignalOrbit 3.6s ease both;
}

.panic-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  width: 1px;
  height: 42px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(101, 255, 122, 0.45), transparent);
  opacity: 0.64;
}

.panic-scroll-cue span {
  display: block;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(101, 255, 122, 0.7);
  animation: panicCue 2.4s ease-in-out infinite;
}

.home-echo {
  position: relative;
  display: grid;
  gap: 20px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 52px;
  padding: 34px 0 18px;
  text-align: center;
}

.home-echo::before {
  content: "";
  width: min(560px, 82%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.28), rgba(255, 55, 95, 0.12), transparent);
}

.home-echo p {
  max-width: 850px;
  margin: 0 auto;
  color: rgba(238, 248, 239, 0.78);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.65;
}

.home-echo-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: rgba(101, 255, 122, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-echo-words span {
  position: relative;
}

.home-echo-words span + span::before {
  content: "/";
  position: absolute;
  left: -12px;
  color: rgba(238, 248, 239, 0.26);
}

@keyframes panicFieldDrift {
  from {
    opacity: 0.58;
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    opacity: 0.8;
    transform: translate3d(1.5%, 1%, 0) scale(1.025);
  }
}

@keyframes panicAura {
  from {
    opacity: 0.3;
    transform: scale(0.985);
  }
  to {
    opacity: 0.54;
    transform: scale(1.02);
  }
}

@keyframes panicSentinelBreathe {
  from {
    opacity: 0.76;
    transform: translate3d(-50%, -50%, 0) scale(0.985);
    filter:
      drop-shadow(0 0 18px rgba(101, 255, 122, 0.34))
      drop-shadow(0 26px 58px rgba(0, 0, 0, 0.72));
  }
  to {
    opacity: 0.9;
    transform: translate3d(-50%, -51.5%, 0) scale(1.018);
    filter:
      drop-shadow(0 0 28px rgba(101, 255, 122, 0.52))
      drop-shadow(0 30px 68px rgba(0, 0, 0, 0.78));
  }
}

@keyframes panicOrbit {
  to { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}

@keyframes panicOrbitReverse {
  to { transform: translate3d(-50%, -50%, 0) rotate(-343deg); }
}

@keyframes panicOrbitThree {
  to { transform: translate3d(-50%, -50%, 0) rotate(348deg); }
}

@keyframes panicRift {
  from {
    opacity: 0.24;
    filter: blur(0);
  }
  to {
    opacity: 0.58;
    filter: blur(0.4px);
  }
}

@keyframes panicCue {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(25px);
    opacity: 0.9;
  }
}

@keyframes homeSignalSentinel {
  0%, 100% {
    opacity: 0.84;
  }
  22% {
    opacity: 1;
    filter:
      drop-shadow(0 0 36px rgba(101, 255, 122, 0.68))
      drop-shadow(0 34px 72px rgba(0, 0, 0, 0.82));
  }
}

@keyframes homeSignalAction {
  0%, 100% {
    border-color: rgba(101, 255, 122, 0.36);
    box-shadow: inset 0 0 18px rgba(101, 255, 122, 0.04), 0 0 24px rgba(101, 255, 122, 0.08);
  }
  24% {
    border-color: rgba(101, 255, 122, 0.64);
    color: var(--green);
    box-shadow: inset 0 0 24px rgba(101, 255, 122, 0.08), 0 0 34px rgba(101, 255, 122, 0.22);
  }
}

@keyframes homeSignalOrbit {
  0%, 100% {
    box-shadow: inset 0 0 32px rgba(101, 255, 122, 0.035), 0 0 36px rgba(101, 255, 122, 0.06);
  }
  24% {
    border-color: rgba(101, 255, 122, 0.38);
    box-shadow: inset 0 0 42px rgba(101, 255, 122, 0.08), 0 0 54px rgba(101, 255, 122, 0.15);
  }
}

.panic-collage {
  position: relative;
  --cursor-x: 50%;
  --cursor-y: 50%;
  --parallax-art-x: 0px;
  --parallax-art-y: 0px;
  --parallax-veil-x: 0px;
  --parallax-veil-y: 0px;
  --parallax-mid-x: 0px;
  --parallax-mid-y: 0px;
  --parallax-front-x: 0px;
  --parallax-front-y: 0px;
  --parallax-glint-x: 0px;
  --parallax-glint-y: 0px;
  --parallax-crest-x: 0px;
  --parallax-crest-y: 0px;
  --parallax-crest-tilt-x: 0deg;
  --parallax-crest-tilt-y: 0deg;
  min-height: calc(100svh - 68px);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(101, 255, 122, 0.14);
  background: #020403;
}

.panic-collage::before,
.panic-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.panic-collage::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(101, 255, 122, 0.1), transparent 20%),
    radial-gradient(ellipse at 50% 45%, transparent 0 32%, rgba(2, 4, 3, 0.4) 76%, rgba(0, 0, 0, 0.84)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 22%, rgba(0, 0, 0, 0.46) 100%);
}

.panic-collage::after {
  opacity: 0.16;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(101, 255, 122, 0.08) 6px, transparent 7px 14px),
    radial-gradient(circle at 50% 46%, rgba(101, 255, 122, 0.22), transparent 32%);
  mix-blend-mode: screen;
}

.collage-art {
  position: absolute;
  inset: -4% -3%;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)),
    url("/assets/home/panic-collage.jpg") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.08) brightness(0.8);
  transform: translate3d(var(--parallax-art-x), var(--parallax-art-y), 0) scale(1.1);
  animation: collageBreathe 18s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.collage-veil {
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.68;
  background:
    radial-gradient(circle at 18% 82%, rgba(101, 255, 122, 0.12), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(255, 55, 95, 0.11), transparent 22%),
    radial-gradient(circle at 51% 52%, rgba(101, 255, 122, 0.13), transparent 30%),
    linear-gradient(112deg, transparent 0 42%, rgba(101, 255, 122, 0.06) 48%, transparent 56% 100%);
  mix-blend-mode: screen;
  transform: translate3d(var(--parallax-veil-x), var(--parallax-veil-y), 0) scale(1.05);
  animation: collageVeilDrift 16s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.collage-sigil {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(101, 255, 122, 0.32);
  opacity: 0.34;
  box-shadow:
    inset 0 0 28px rgba(101, 255, 122, 0.035),
    0 0 30px rgba(101, 255, 122, 0.08);
  mix-blend-mode: screen;
}

.collage-sigil::before,
.collage-sigil::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: inherit;
  opacity: 0.5;
}

.collage-sigil::after {
  inset: 30%;
}

.sigil-one {
  left: 50%;
  top: 52%;
  width: min(290px, 32vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: collageSigilOne 36s linear infinite;
}

.sigil-two {
  right: min(8vw, 130px);
  top: 22%;
  width: min(210px, 24vw);
  aspect-ratio: 1.45;
  border-color: rgba(255, 55, 95, 0.26);
  transform: rotate(-13deg);
  animation: collageSigilTwo 48s linear infinite;
}

.collage-rift {
  position: absolute;
  z-index: 3;
  width: 1px;
  height: 48vh;
  min-height: 250px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(180deg, transparent, rgba(101, 255, 122, 0.55), transparent);
  box-shadow: 0 0 28px rgba(101, 255, 122, 0.2);
  animation: collageRiftPulse 7.8s ease-in-out infinite alternate;
}

.collage-rift.rift-one {
  left: 12%;
  top: 10%;
  transform: translate3d(var(--parallax-mid-x), var(--parallax-mid-y), 0) rotate(28deg);
}

.collage-rift.rift-two {
  right: 14%;
  bottom: -6%;
  height: 38vh;
  transform: translate3d(var(--parallax-front-x), var(--parallax-front-y), 0) rotate(-24deg);
  animation-delay: -3.2s;
}

.collage-shard {
  position: absolute;
  z-index: 4;
  --shard-start-rotate: -8deg;
  --shard-end-rotate: 16deg;
  --shard-float-x: 10px;
  --shard-float-y: -16px;
  display: block;
  width: 38px;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.48;
  clip-path: polygon(50% 0, 100% 38%, 76% 100%, 18% 84%, 0 24%);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.6), rgba(100, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 22px rgba(101, 255, 122, 0.18);
  mix-blend-mode: screen;
  animation: collageShardFloat 10s ease-in-out infinite alternate;
}

.shard-one {
  left: 16%;
  top: 31%;
  width: 32px;
  --shard-start-rotate: 18deg;
  --shard-end-rotate: 34deg;
}

.shard-two {
  left: 71%;
  top: 62%;
  width: 44px;
  --shard-start-rotate: -14deg;
  --shard-end-rotate: 8deg;
  --shard-float-x: -12px;
  --shard-float-y: -18px;
  animation-delay: -2s;
}

.shard-three {
  left: 38%;
  bottom: 16%;
  width: 24px;
  background:
    linear-gradient(135deg, rgba(255, 55, 95, 0.56), rgba(101, 255, 122, 0.12)),
    rgba(255, 255, 255, 0.08);
  --shard-start-rotate: 22deg;
  --shard-end-rotate: 2deg;
  --shard-float-x: 16px;
  --shard-float-y: -9px;
  animation-delay: -4s;
}

.shard-four {
  right: 22%;
  top: 18%;
  width: 28px;
  --shard-start-rotate: 6deg;
  --shard-end-rotate: 28deg;
  --shard-float-x: -9px;
  --shard-float-y: -14px;
  animation-delay: -6s;
}

.collage-scan {
  position: absolute;
  inset: -30% auto -30% -20%;
  z-index: 7;
  width: 22%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(238, 248, 239, 0.12), transparent);
  filter: blur(1px);
  transform: skewX(-14deg);
  animation: collageScan 18s ease-in-out infinite;
}

.collage-depth,
.collage-glint {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.depth-haze {
  inset: -12%;
  z-index: 3;
  opacity: 0.5;
  background:
    radial-gradient(circle at 52% 48%, rgba(101, 255, 122, 0.12), transparent 18%),
    radial-gradient(circle at 66% 42%, rgba(255, 55, 95, 0.09), transparent 16%),
    radial-gradient(circle at 38% 58%, rgba(100, 215, 255, 0.06), transparent 20%);
  mix-blend-mode: screen;
  transform: translate3d(var(--parallax-mid-x), var(--parallax-mid-y), 0) scale(1.04);
  animation: depthHaze 14s ease-in-out infinite alternate;
}

.depth-grid {
  left: 50%;
  top: 53%;
  z-index: 5;
  width: min(720px, 80vw);
  aspect-ratio: 1.65;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0 49.6%, rgba(101, 255, 122, 0.4) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(0deg, transparent 0 49.6%, rgba(101, 255, 122, 0.28) 49.8% 50.2%, transparent 50.4%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(101, 255, 122, 0.07) 29px, transparent 30px 56px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(100, 215, 255, 0.045) 23px, transparent 24px 44px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 0 42%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 50%, black 0 42%, transparent 72%);
  transform:
    translate3d(calc(-50% + var(--parallax-front-x)), calc(-50% + var(--parallax-front-y)), 0)
    rotate(-7deg);
}

.collage-glint {
  z-index: 8;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(238, 248, 239, 0.86);
  box-shadow:
    0 0 12px rgba(101, 255, 122, 0.8),
    0 0 36px rgba(101, 255, 122, 0.3);
  opacity: 0.64;
  transform: translate3d(var(--parallax-glint-x), var(--parallax-glint-y), 0);
  animation: collageGlint 5.8s ease-in-out infinite alternate;
}

.collage-glint::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.72), transparent);
  transform: translate(-50%, -50%) rotate(-24deg);
}

.glint-one {
  left: 36%;
  top: 36%;
}

.glint-two {
  left: 62%;
  top: 34%;
  width: 6px;
  height: 6px;
  animation-delay: -2s;
}

.glint-three {
  left: 55%;
  top: 69%;
  width: 5px;
  height: 5px;
  opacity: 0.44;
  animation-delay: -4s;
}

.panic-crest {
  position: absolute;
  left: 50%;
  top: 53%;
  z-index: 9;
  display: grid;
  place-items: center;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  pointer-events: none;
  perspective: 1100px;
  text-align: center;
  transform:
    translate3d(calc(-50% + var(--parallax-crest-x)), calc(-50% + var(--parallax-crest-y)), 0)
    rotateX(var(--parallax-crest-tilt-y))
    rotateY(var(--parallax-crest-tilt-x));
  transform-style: preserve-3d;
  will-change: transform;
}

.panic-crest::before,
.panic-crest::after {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(-24px);
}

.panic-crest::before {
  background:
    radial-gradient(circle, rgba(101, 255, 122, 0.2), transparent 54%),
    conic-gradient(from 40deg, transparent, rgba(101, 255, 122, 0.34), transparent, rgba(255, 55, 95, 0.22), transparent);
  filter: blur(16px);
  opacity: 0.68;
}

.panic-crest::after {
  inset: 28%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 64%);
  filter: blur(12px);
  opacity: 0.58;
}

.crest-aura,
.crest-ring,
.crest-crosshair,
.crest-notch,
.crest-word-orbit,
.crest-core,
.crest-signal {
  position: absolute;
  pointer-events: none;
}

.crest-aura {
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(101, 255, 122, 0.16), transparent 52%),
    conic-gradient(from 90deg, transparent 0 16%, rgba(101, 255, 122, 0.22) 18% 22%, transparent 24% 44%, rgba(255, 55, 95, 0.18) 46% 51%, transparent 54% 100%);
  filter: blur(0.2px);
  opacity: 0.82;
  animation: crestAuraPulse 5.8s ease-in-out infinite alternate;
}

.crest-ring {
  inset: 0;
  border: 1px solid rgba(101, 255, 122, 0.36);
  border-radius: 50%;
  box-shadow:
    inset 0 0 30px rgba(101, 255, 122, 0.045),
    0 0 26px rgba(101, 255, 122, 0.12);
}

.crest-ring::before,
.crest-ring::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit;
  opacity: 0.42;
}

.crest-ring::before {
  inset: 8%;
}

.crest-ring::after {
  inset: 18%;
}

.crest-ring-outer {
  border-style: solid;
  animation: crestSpin 58s linear infinite;
}

.crest-ring-middle {
  inset: 12%;
  border-radius: 8px;
  border-color: rgba(100, 215, 255, 0.18);
  transform: rotate(45deg);
  animation: crestDiamondSpin 74s linear infinite;
}

.crest-ring-inner {
  inset: 28%;
  border-color: rgba(255, 55, 95, 0.18);
  background:
    conic-gradient(from 0deg, transparent 0 12%, rgba(101, 255, 122, 0.2) 13% 15%, transparent 16% 36%, rgba(100, 215, 255, 0.16) 37% 39%, transparent 40% 100%);
  animation: crestSpinReverse 42s linear infinite;
}

.crest-crosshair {
  inset: 9%;
  opacity: 0.4;
  background:
    linear-gradient(90deg, transparent 0 49.5%, rgba(101, 255, 122, 0.48) 49.7% 50.3%, transparent 50.5%),
    linear-gradient(0deg, transparent 0 49.5%, rgba(101, 255, 122, 0.34) 49.7% 50.3%, transparent 50.5%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 26%, black 27% 54%, transparent 67%);
  mask-image: radial-gradient(circle, transparent 0 26%, black 27% 54%, transparent 67%);
}

.crest-notch {
  left: 50%;
  top: 50%;
  width: 78px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.82), transparent);
  box-shadow: 0 0 16px rgba(101, 255, 122, 0.2);
}

.notch-top {
  transform: translate(-50%, -150px);
}

.notch-right {
  transform: translate(112px, -50%) rotate(90deg);
}

.notch-bottom {
  transform: translate(-50%, 148px);
}

.notch-left {
  transform: translate(-190px, -50%) rotate(90deg);
}

.crest-word-orbit {
  inset: 4%;
  z-index: 2;
  overflow: visible;
  transform: translateZ(30px);
  filter:
    drop-shadow(0 0 8px rgba(101, 255, 122, 0.22))
    drop-shadow(0 0 20px rgba(0, 0, 0, 0.72));
}

.crest-word-orbit path {
  fill: none;
}

.crest-word {
  dominant-baseline: middle;
  fill: rgba(226, 255, 230, 0.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  text-anchor: middle;
}

.crest-word-main {
  fill: rgba(226, 255, 230, 0.82);
  stroke: rgba(0, 0, 0, 0.82);
  stroke-width: 2px;
  paint-order: stroke fill;
}

.crest-word-ghost {
  fill: rgba(255, 55, 95, 0.42);
  transform: translate(1.4px, -0.8px);
  mix-blend-mode: screen;
}

.crest-word-sub {
  fill: rgba(101, 255, 122, 0.52);
  font-size: 8px;
  letter-spacing: 5px;
}

.crest-core {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid rgba(101, 255, 122, 0.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(101, 255, 122, 0.16), transparent 62%),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    inset 0 0 22px rgba(101, 255, 122, 0.08),
    0 0 28px rgba(101, 255, 122, 0.18),
    0 18px 48px rgba(0, 0, 0, 0.45);
  transform: translateZ(44px);
  animation: crestCoreFloat 5.6s ease-in-out infinite alternate;
}

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

.crest-core::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%, rgba(255, 55, 95, 0.08));
  opacity: 0.7;
}

.crest-core::after {
  inset: 8px;
  border: 1px solid rgba(101, 255, 122, 0.28);
  border-radius: 12px;
}

.crest-core img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    saturate(1.12)
    drop-shadow(0 0 18px rgba(101, 255, 122, 0.32));
}

.crest-signal {
  left: 50%;
  width: min(250px, 66%);
  height: 26px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.34), rgba(100, 215, 255, 0.16), transparent),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(101, 255, 122, 0.22) 25px, transparent 26px 42px);
  opacity: 0.62;
  box-shadow:
    0 0 18px rgba(101, 255, 122, 0.12),
    inset 0 0 16px rgba(101, 255, 122, 0.045);
  transform: translate3d(-50%, 0, 38px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 18% 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 18% 82%, transparent);
}

.crest-signal::before,
.crest-signal::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
  background: rgba(238, 248, 239, 0.66);
  box-shadow: 0 0 12px rgba(101, 255, 122, 0.34);
  pointer-events: none;
  transform: translateY(-50%);
}

.crest-signal::before {
  left: 18%;
}

.crest-signal::after {
  right: 18%;
}

.signal-top {
  top: 22%;
}

.signal-bottom {
  bottom: 17%;
  opacity: 0.42;
  transform: translate3d(-50%, 0, 38px) scaleX(0.76);
}

.home-page.live-signal .panic-crest {
  animation: crestSignal 3.6s ease both;
}

.home-page.live-signal .collage-art {
  animation: collageBreathe 18s ease-in-out infinite alternate, collageLiveSignal 3.6s ease both;
}

.home-page.live-signal .sigil-one {
  animation: collageSigilOne 36s linear infinite, collageLiveSigil 3.6s ease both;
}

@keyframes collageBreathe {
  from {
    filter: saturate(1.02) contrast(1.04) brightness(0.76);
  }
  to {
    filter: saturate(1.14) contrast(1.1) brightness(0.84);
  }
}

@keyframes collageVeilDrift {
  from {
    opacity: 0.46;
  }
  to {
    opacity: 0.76;
  }
}

@keyframes collageSigilOne {
  from {
    transform: translate3d(calc(-50% + var(--parallax-mid-x)), calc(-50% + var(--parallax-mid-y)), 0) rotate(45deg);
  }
  to {
    transform: translate3d(calc(-50% + var(--parallax-mid-x)), calc(-50% + var(--parallax-mid-y)), 0) rotate(405deg);
  }
}

@keyframes collageSigilTwo {
  from {
    transform: translate3d(var(--parallax-front-x), var(--parallax-front-y), 0) rotate(-13deg);
  }
  to {
    transform: translate3d(var(--parallax-front-x), var(--parallax-front-y), 0) rotate(347deg);
  }
}

@keyframes collageRiftPulse {
  from { opacity: 0.22; filter: blur(0); }
  to { opacity: 0.62; filter: blur(0.5px); }
}

@keyframes collageShardFloat {
  from {
    opacity: 0.28;
    transform:
      translate3d(var(--parallax-front-x), var(--parallax-front-y), 0)
      rotate(var(--shard-start-rotate));
  }
  to {
    opacity: 0.62;
    transform:
      translate3d(calc(var(--parallax-front-x) + var(--shard-float-x)), calc(var(--parallax-front-y) + var(--shard-float-y)), 0)
      rotate(var(--shard-end-rotate));
  }
}

@keyframes collageScan {
  0%, 60%, 100% {
    opacity: 0;
    transform: translateX(0) skewX(-14deg);
  }
  70% {
    opacity: 0.34;
  }
  86% {
    opacity: 0;
    transform: translateX(650%) skewX(-14deg);
  }
}

@keyframes collageLiveSignal {
  0%, 100% {
    filter: saturate(1.08) contrast(1.08) brightness(0.8);
  }
  26% {
    filter: saturate(1.24) contrast(1.14) brightness(0.94);
  }
}

@keyframes collageLiveSigil {
  0%, 100% {
    opacity: 0.34;
    box-shadow:
      inset 0 0 28px rgba(101, 255, 122, 0.035),
      0 0 30px rgba(101, 255, 122, 0.08);
  }
  24% {
    opacity: 0.68;
    box-shadow:
      inset 0 0 36px rgba(101, 255, 122, 0.09),
      0 0 54px rgba(101, 255, 122, 0.22);
  }
}

@keyframes depthHaze {
  from {
    opacity: 0.36;
    filter: blur(0);
  }
  to {
    opacity: 0.64;
    filter: blur(0.4px);
  }
}

@keyframes collageGlint {
  from {
    opacity: 0.24;
    filter: blur(0);
  }
  to {
    opacity: 0.72;
    filter: blur(0.2px);
  }
}

@keyframes crestAuraPulse {
  from {
    opacity: 0.5;
    transform: scale(0.96);
  }
  to {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes crestSpin {
  to { transform: rotate(360deg); }
}

@keyframes crestSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes crestDiamondSpin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes crestCoreFloat {
  from {
    transform: translate3d(0, -3px, 44px) scale(0.99);
  }
  to {
    transform: translate3d(0, 4px, 44px) scale(1.025);
  }
}

@keyframes crestSignal {
  0%, 100% {
    filter: none;
  }
  24% {
    filter: drop-shadow(0 0 28px rgba(101, 255, 122, 0.26));
  }
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 178px;
  padding: 28px clamp(18px, 4vw, 34px);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  --hero-wash: linear-gradient(135deg, rgba(101, 255, 122, 0.11), rgba(100, 215, 255, 0.05) 45%, rgba(255, 55, 95, 0.07));
  --hero-pattern: none;
  --hero-pattern-size: 560px 220px;
  --hero-pattern-scroll: 560px;
  --hero-pattern-scroll-negative: -560px;
  --hero-pattern-speed: 58s;
  background:
    var(--hero-wash),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 64%),
    rgba(5, 12, 8, 0.72);
  box-shadow: 0 22px 70px var(--shadow), inset 0 0 60px rgba(101, 255, 122, 0.05);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.065) 36%, transparent 40% 100%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(101, 255, 122, 0.05) 25px, transparent 26px 44px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(101, 255, 122, 0.028) 11px, transparent 12px 22px);
  transform: translateX(-20%);
  animation: scanSweep 26s linear infinite;
  will-change: transform;
}

.page-hero > .hero-pattern-layer {
  position: absolute;
  inset: -12%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 58%, rgba(0, 0, 0, 0.55) 72%, transparent 92%);
  mask-image: linear-gradient(90deg, black 0%, black 58%, rgba(0, 0, 0, 0.55) 72%, transparent 92%);
  contain: paint;
}

.page-hero > .hero-pattern-layer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + var(--hero-pattern-scroll));
  background-image: var(--hero-pattern);
  background-repeat: repeat;
  background-size: var(--hero-pattern-size);
  background-position: 0 50%;
  transform: translate3d(0, 0, 0);
  animation: heroSceneScroll var(--hero-pattern-speed) linear infinite;
  will-change: transform;
}

.season-hero {
  --hero-wash: linear-gradient(135deg, rgba(101, 255, 122, 0.13), rgba(255, 200, 87, 0.08) 38%, rgba(255, 55, 95, 0.08));
  --hero-pattern: url("/assets/heroes/season-pattern.svg");
  --hero-pattern-size: 620px 220px;
  --hero-pattern-scroll: 620px;
  --hero-pattern-scroll-negative: -620px;
  --hero-pattern-speed: 82s;
}

.status-hero {
  --hero-wash: linear-gradient(135deg, rgba(100, 215, 255, 0.11), rgba(101, 255, 122, 0.08) 45%, rgba(255, 55, 95, 0.09));
  --hero-pattern: url("/assets/heroes/status-pattern.svg");
  --hero-pattern-speed: 84s;
}

.links-hero {
  --hero-wash: linear-gradient(135deg, rgba(255, 200, 87, 0.08), rgba(101, 255, 122, 0.09) 44%, rgba(100, 215, 255, 0.09));
  --hero-pattern: url("/assets/heroes/links-pattern.svg");
  --hero-pattern-speed: 78s;
}

.page-hero .hero-glyph-mask {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(44%, 520px);
  pointer-events: none;
  opacity: 1;
  overflow: hidden;
  border-left: 1px solid rgba(238, 248, 239, 0.12);
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 28%, rgba(255, 255, 255, 0.14) 38%, rgba(255, 255, 255, 0.035) 50%, transparent 66%),
    linear-gradient(270deg, rgba(238, 248, 239, 0.13), rgba(101, 255, 122, 0.06) 38%, rgba(2, 4, 3, 0.06) 70%, transparent 100%);
  box-shadow:
    inset 22px 0 42px rgba(255, 255, 255, 0.04),
    inset -28px 0 60px rgba(101, 255, 122, 0.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
  backdrop-filter: blur(8px) saturate(1.25);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
}

.page-hero .hero-glyph-mask::before,
.page-hero .hero-glyph-mask::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
}

.page-hero .hero-glyph-mask::before {
  background:
    linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.16) 25%, transparent 38%),
    linear-gradient(72deg, transparent 48%, rgba(101, 255, 122, 0.1) 52%, transparent 58%);
  transform: translateX(-18%) skewX(-10deg);
  animation: mirrorSweep 16s ease-in-out infinite;
  will-change: transform, opacity;
}

.page-hero .hero-glyph-mask::after {
  top: -18%;
  bottom: -18%;
  left: auto;
  right: -18%;
  width: calc(136% + var(--hero-pattern-scroll));
  background-image: var(--hero-pattern);
  background-repeat: repeat;
  background-size: var(--hero-pattern-size);
  background-position: 0 50%;
  opacity: 0.12;
  mix-blend-mode: screen;
  transform: translate3d(var(--hero-pattern-scroll-negative), 0, 0) scaleX(-1);
  transform-origin: center;
  animation: heroSceneMirror var(--hero-pattern-speed) linear infinite;
  will-change: transform;
}

@keyframes scanSweep {
  0% { transform: translateX(-55%); }
  100% { transform: translateX(55%); }
}

@keyframes heroSceneScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--hero-pattern-scroll-negative), 0, 0); }
}

@keyframes heroSceneMirror {
  from { transform: translate3d(var(--hero-pattern-scroll-negative), 0, 0) scaleX(-1); }
  to { transform: translate3d(0, 0, 0) scaleX(-1); }
}

@keyframes mirrorSweep {
  0%, 62%, 100% { transform: translateX(-26%) skewX(-10deg); opacity: 0.35; }
  78% { transform: translateX(22%) skewX(-10deg); opacity: 0.9; }
}

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

.page-hero h1 {
  margin-top: 6px;
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(101, 255, 122, 0.16);
}

.hero-glyph {
  position: relative;
  z-index: 2;
  width: min(250px, 34vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.hero-glyph::before {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: 0;
  border: 1px solid rgba(101, 255, 122, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(101, 255, 122, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(101, 255, 122, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  animation: glyphFrame 18s linear infinite;
  box-shadow: inset 0 0 38px rgba(101, 255, 122, 0.055), 0 0 34px rgba(101, 255, 122, 0.1);
  will-change: transform;
}

.hero-glyph::after {
  content: "";
  position: absolute;
  inset: 24%;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
  animation: glyphPulse 4.8s ease-in-out infinite;
}

.season-glyph {
  grid-template-columns: repeat(3, 28px);
  grid-template-rows: 44px 34px 30px;
  align-items: flex-end;
  justify-content: center;
  justify-items: center;
  place-content: center;
  column-gap: 8px;
}

.podium-bar {
  position: relative;
  z-index: 1;
  display: block;
  width: 28px;
  border: 1px solid rgba(101, 255, 122, 0.36);
  border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(180deg, rgba(255, 200, 87, 0.14), transparent 54%),
    rgba(101, 255, 122, 0.1);
  box-shadow: inset 0 0 18px rgba(101, 255, 122, 0.08), 0 0 18px rgba(101, 255, 122, 0.12);
  animation: podiumLift 4.6s ease-in-out infinite;
}

.podium-left {
  grid-column: 1;
  grid-row: 2 / 4;
  height: 54px;
  animation-delay: 0.5s;
}

.podium-center {
  grid-column: 2;
  grid-row: 1 / 4;
  height: 86px;
}

.podium-right {
  grid-column: 3;
  grid-row: 3 / 4;
  height: 36px;
  animation-delay: 0.9s;
}

.podium-crown {
  position: relative;
  z-index: 5;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: 34px;
  height: 22px;
  clip-path: polygon(0 100%, 12% 34%, 34% 74%, 50% 12%, 66% 74%, 88% 34%, 100% 100%);
  background:
    linear-gradient(180deg, rgba(255, 238, 158, 0.72), rgba(255, 200, 87, 0.5) 48%, rgba(255, 200, 87, 0.26)),
    rgba(255, 200, 87, 0.32);
  box-shadow:
    inset 0 -2px 0 rgba(255, 200, 87, 0.64),
    0 0 12px rgba(255, 200, 87, 0.22);
  animation: crownHover 4.6s ease-in-out infinite;
}

.podium-crown::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 238, 158, 0.62);
}

.links-glyph {
  overflow: visible;
}

.chain-link {
  position: absolute;
  z-index: 2;
  width: 82px;
  height: 40px;
  border: 2px solid rgba(101, 255, 122, 0.42);
  border-radius: 999px;
  box-shadow: inset 0 0 18px rgba(101, 255, 122, 0.08), 0 0 22px rgba(101, 255, 122, 0.12);
}

.chain-left {
  transform: translateX(-26px) rotate(-26deg);
  animation: chainTensionLeft 5.2s ease-in-out infinite;
}

.chain-right {
  transform: translateX(26px) rotate(-26deg);
  border-color: rgba(100, 215, 255, 0.36);
  animation: chainTensionRight 5.2s ease-in-out infinite;
}

.signal-node {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.node-top {
  top: 29%;
  right: 31%;
  animation: rackBlink 3.2s ease-in-out infinite;
}

.node-bottom {
  bottom: 30%;
  left: 31%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: rackBlink 3.2s ease-in-out 1.1s infinite;
}

.status-glyph {
  overflow: visible;
}

.server-rack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: 92px;
}

.server-rack i {
  position: relative;
  display: block;
  height: 25px;
  border: 1px solid rgba(100, 215, 255, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(100, 215, 255, 0.14), rgba(101, 255, 122, 0.05)),
    rgba(0, 0, 0, 0.26);
  box-shadow: inset 0 0 18px rgba(100, 215, 255, 0.06), 0 0 20px rgba(100, 215, 255, 0.1);
}

.server-rack i::before,
.server-rack i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.server-rack i::before {
  left: 10px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: rackBlink 3.2s ease-in-out infinite;
}

.server-rack i::after {
  right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.server-rack i:nth-child(2)::before {
  animation-delay: 0.8s;
}

.server-rack i:nth-child(3)::before {
  animation-delay: 1.4s;
}

.status-ring {
  position: absolute;
  inset: 21%;
  border: 1px solid rgba(100, 215, 255, 0.24);
  border-radius: 50%;
  animation: statusSweep 8s linear infinite;
}

.status-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.status-beat {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 20%;
  height: 24px;
  background: linear-gradient(90deg, rgba(101, 255, 122, 0.2), rgba(101, 255, 122, 0.72), rgba(100, 215, 255, 0.38));
  clip-path: polygon(0 62%, 18% 62%, 25% 8%, 34% 100%, 43% 48%, 58% 48%, 65% 18%, 74% 62%, 100% 62%, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 8px rgba(101, 255, 122, 0.4));
  animation: beatTrace 3.6s ease-in-out infinite;
}

@keyframes glyphFrame {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes glyphPulse {
  0%, 100% { opacity: 0.18; transform: scale(0.92); }
  50% { opacity: 0.54; transform: scale(1.06); }
}

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

@keyframes crownHover {
  0%, 100% { transform: translateY(-8px); opacity: 0.82; }
  45% { transform: translateY(-16px); opacity: 1; }
}

@keyframes chainTensionLeft {
  0%, 100% { transform: translateX(-28px) rotate(-26deg); }
  48% { transform: translateX(-20px) rotate(-18deg); }
}

@keyframes chainTensionRight {
  0%, 100% { transform: translateX(28px) rotate(-26deg); }
  48% { transform: translateX(20px) rotate(-34deg); }
}

@keyframes rackBlink {
  0%, 72%, 100% { opacity: 0.45; }
  10%, 38% { opacity: 1; }
}

@keyframes statusSweep {
  to { transform: rotate(360deg); }
}

@keyframes beatTrace {
  0%, 100% { opacity: 0.38; transform: translateX(-4px); }
  46% { opacity: 1; transform: translateX(4px); }
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.metric-panel,
.panel,
.server-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.metric-panel {
  position: relative;
  overflow: hidden;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.metric-panel::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--red));
  opacity: 0.5;
}

.metric-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.reachable-metric .metric-label {
  display: block;
  padding-right: 64px;
}

.metric-substatus {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 6px;
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-radius: 3px;
  color: color-mix(in srgb, var(--amber) 82%, white);
  background:
    linear-gradient(90deg, rgba(255, 200, 87, 0.12), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.22);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.metric-substatus[hidden] {
  display: none;
}

.metric-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 255, 166, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), transparent),
    rgba(10, 22, 16, 0.82);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 24px rgba(101, 255, 122, 0.07);
}

.content-grid {
  display: grid;
  gap: 18px;
}

.season-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-heading h2 {
  margin-top: 4px;
  font-size: 1.25rem;
}

.detail-panel .panel-heading {
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(101, 255, 122, 0.08);
}

.detail-panel .panel-heading > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.detail-panel .panel-heading .eyebrow {
  margin: 0;
}

.detail-panel h2[data-detail-title] {
  margin-top: 0;
  align-items: center;
  column-gap: 10px;
  font-size: 1.18rem;
  line-height: 1.05;
}

.detail-panel h2[data-detail-title] .detail-rank-chip {
  min-width: 38px;
  height: 26px;
  transform: translateY(-1px);
}

.detail-panel h2[data-detail-title] > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(101, 255, 122, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(101, 255, 122, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-chip.fallback {
  border-color: rgba(255, 200, 87, 0.3);
  color: var(--amber);
  background: rgba(255, 200, 87, 0.08);
}

.status-chip.upcoming {
  border-color: rgba(255, 200, 87, 0.3);
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.12), transparent 62%),
    rgba(255, 200, 87, 0.07);
}

.live-update-notice {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(420px, calc(100vw - 28px));
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(101, 255, 122, 0.22);
  border-radius: 8px;
  color: rgba(238, 248, 239, 0.84);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.1), rgba(100, 215, 255, 0.035) 48%, rgba(255, 55, 95, 0.045)),
    rgba(3, 9, 6, 0.9);
  box-shadow:
    inset 0 0 24px rgba(101, 255, 122, 0.035),
    0 18px 44px rgba(0, 0, 0, 0.44),
    0 0 30px rgba(101, 255, 122, 0.09);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.live-update-notice.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.live-update-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(101, 255, 122, 0.7);
  animation: liveSignalDot 1.8s ease-in-out infinite;
}

.live-update-copy {
  min-width: 0;
  color: rgba(238, 248, 239, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-update-action,
.live-test-button {
  border: 1px solid rgba(101, 255, 122, 0.24);
  border-radius: 7px;
  color: var(--green);
  background: rgba(101, 255, 122, 0.075);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.live-update-action {
  min-height: 28px;
  padding: 0 10px;
}

.live-update-action:hover,
.live-test-button:hover {
  transform: translateY(-1px);
  border-color: rgba(101, 255, 122, 0.42);
  color: var(--text);
  background: rgba(101, 255, 122, 0.12);
}

.live-test-button {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 31;
  min-height: 36px;
  padding: 0 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 24px rgba(101, 255, 122, 0.08);
}

@keyframes liveSignalDot {
  0%, 100% { opacity: 0.45; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes comingSoonPulse {
  0%, 100% { opacity: 0.24; transform: scale(0.78); }
  50% { opacity: 0.9; transform: scale(1); }
}

.leaderboard-list {
  display: grid;
  gap: 8px;
}

.leaderboard-coming-soon,
.leaderboard-empty-state {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 276px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(101, 255, 122, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 200, 87, 0.12), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(101, 255, 122, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(101, 255, 122, 0.055), rgba(100, 215, 255, 0.025) 54%, rgba(255, 55, 95, 0.055)),
    rgba(0, 0, 0, 0.2);
  align-content: center;
  text-align: center;
}

.leaderboard-coming-soon::before,
.leaderboard-coming-soon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.leaderboard-coming-soon::before {
  inset: 18px;
  border: 1px solid rgba(255, 200, 87, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 200, 87, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(101, 255, 122, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.34;
}

.leaderboard-coming-soon::after {
  inset: auto 20% 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 200, 87, 0.56), rgba(101, 255, 122, 0.4), transparent);
  opacity: 0.62;
}

.coming-soon-kicker {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.leaderboard-coming-soon h3,
.leaderboard-empty-state h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.leaderboard-coming-soon p,
.leaderboard-empty-state p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.coming-soon-pulse {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.coming-soon-pulse span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0.32;
  animation: comingSoonPulse 1.8s ease-in-out infinite;
}

.coming-soon-pulse span:nth-child(2) {
  background: var(--gold);
  animation-delay: 0.2s;
}

.coming-soon-pulse span:nth-child(3) {
  background: var(--cyan);
  animation-delay: 0.4s;
}

.leaderboard-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 34px;
  margin-top: 12px;
}

.leaderboard-pagination[hidden] {
  display: none;
}

.pagination-button {
  min-width: 82px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(101, 255, 122, 0.18);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pagination-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(101, 255, 122, 0.34);
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.14), transparent 58%),
    rgba(255, 255, 255, 0.05);
}

.pagination-button:disabled {
  color: var(--quiet);
  cursor: default;
  opacity: 0.48;
}

.pagination-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.leaderboard-entry {
  position: relative;
  --medal-rgb: 101, 255, 122;
  --rank-color: var(--green);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.leaderboard-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(101, 255, 122, 0.12), transparent 40%);
  transition: opacity 0.2s ease;
}

.leaderboard-entry.first::after,
.leaderboard-entry.second::after,
.leaderboard-entry.third::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -85%;
  bottom: -85%;
  left: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(var(--medal-rgb), 0.24), transparent);
  transform: translate3d(-160%, 0, 0) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  animation: medalSheen 7.4s ease-in-out infinite;
  will-change: transform, opacity;
}

.leaderboard-entry:hover,
.leaderboard-entry.active {
  border-color: var(--line-strong);
  background: rgba(101, 255, 122, 0.055);
  box-shadow: 0 0 26px rgba(101, 255, 122, 0.08);
}

.leaderboard-entry:hover {
  transform: translateX(4px) scale(1.01);
}

.leaderboard-entry:hover::before,
.leaderboard-entry.active::before {
  opacity: 1;
}

.leaderboard-entry.team-entry {
  --team-rgb: 101, 255, 122;
  border-color: rgba(var(--team-rgb), 0.28);
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--team-rgb), 0.105), transparent 34%),
    rgba(255, 255, 255, 0.032);
}

.leaderboard-entry.team-entry::before {
  background: linear-gradient(90deg, rgba(var(--team-rgb), 0.16), transparent 42%);
}

.leaderboard-entry.team-entry:hover,
.leaderboard-entry.team-entry.active {
  border-color: rgba(var(--team-rgb), 0.5);
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--team-rgb), 0.16), transparent 36%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 28px rgba(var(--team-rgb), 0.12);
}

.leaderboard-panel.live-refresh {
  animation: leaderboardPanelRefresh 1.1s ease both;
}

.leaderboard-entry.live-change {
  --live-change-color: 101, 255, 122;
  border-color: rgba(var(--live-change-color), 0.54);
  animation: leaderboardLiveChange 3.8s ease both;
}

.leaderboard-entry.live-change::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(var(--live-change-color), 0.2), transparent 48%),
    radial-gradient(circle at 92% 50%, rgba(var(--live-change-color), 0.16), transparent 32%);
}

.leaderboard-entry.live-up,
.leaderboard-entry.live-points-up,
.leaderboard-entry.live-new {
  --live-change-color: 101, 255, 122;
}

.leaderboard-entry.live-down,
.leaderboard-entry.live-points-down {
  --live-change-color: 255, 55, 95;
}

.leaderboard-entry.live-trace {
  --live-change-color: 100, 215, 255;
}

.live-change-badge {
  position: absolute;
  top: 7px;
  right: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(var(--live-change-color), 0.36);
  border-radius: 999px;
  color: rgb(var(--live-change-color));
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 16px rgba(var(--live-change-color), 0.16);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  animation: liveBadgeIn 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.leaderboard-entry.first {
  --medal-rgb: 255, 200, 87;
  --rank-color: var(--amber);
  border-color: rgba(255, 200, 87, 0.48);
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 200, 87, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(255, 200, 87, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 32px rgba(255, 200, 87, 0.12), inset 0 0 24px rgba(255, 200, 87, 0.035);
}

.leaderboard-entry.second {
  --medal-rgb: 100, 215, 255;
  --rank-color: var(--cyan);
  border-color: rgba(100, 215, 255, 0.42);
  background:
    radial-gradient(circle at 8% 50%, rgba(100, 215, 255, 0.15), transparent 32%),
    linear-gradient(90deg, rgba(100, 215, 255, 0.095), rgba(255, 255, 255, 0.028));
  box-shadow: 0 0 26px rgba(100, 215, 255, 0.09), inset 0 0 20px rgba(100, 215, 255, 0.028);
}

.leaderboard-entry.third {
  --medal-rgb: 255, 116, 72;
  --rank-color: #ff7448;
  border-color: rgba(255, 116, 72, 0.38);
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 116, 72, 0.13), transparent 32%),
    linear-gradient(90deg, rgba(255, 116, 72, 0.085), rgba(255, 255, 255, 0.026));
  box-shadow: 0 0 22px rgba(255, 116, 72, 0.08), inset 0 0 18px rgba(255, 116, 72, 0.025);
}

.leaderboard-entry.first .rank-badge,
.leaderboard-entry.second .rank-badge,
.leaderboard-entry.third .rank-badge {
  border-color: rgba(var(--medal-rgb), 0.45);
  color: var(--rank-color);
  background:
    linear-gradient(145deg, rgba(var(--medal-rgb), 0.16), transparent 70%),
    rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 16px rgba(var(--medal-rgb), 0.08), 0 0 16px rgba(var(--medal-rgb), 0.12);
}

.leaderboard-entry.first .leaderboard-name {
  color: #fff8d6;
  text-shadow: 0 0 16px rgba(255, 200, 87, 0.28);
}

.leaderboard-entry.team-entry.first,
.leaderboard-entry.team-entry.second,
.leaderboard-entry.team-entry.third {
  border-color: rgba(var(--team-rgb), 0.44);
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--team-rgb), 0.18), transparent 35%),
    linear-gradient(90deg, rgba(var(--team-rgb), 0.1), rgba(255, 255, 255, 0.032));
  box-shadow: 0 0 28px rgba(var(--team-rgb), 0.12), inset 0 0 22px rgba(var(--team-rgb), 0.028);
}

.leaderboard-entry.team-entry.first:hover,
.leaderboard-entry.team-entry.first.active,
.leaderboard-entry.team-entry.second:hover,
.leaderboard-entry.team-entry.second.active,
.leaderboard-entry.team-entry.third:hover,
.leaderboard-entry.team-entry.third.active {
  border-color: rgba(var(--team-rgb), 0.58);
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--team-rgb), 0.23), transparent 37%),
    linear-gradient(90deg, rgba(var(--team-rgb), 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 0 32px rgba(var(--team-rgb), 0.16), inset 0 0 24px rgba(var(--team-rgb), 0.035);
}

.leaderboard-entry.first .leaderboard-name.team-name {
  color: rgb(var(--team-rgb));
  text-shadow: 0 0 14px rgba(var(--team-rgb), 0.38);
}

.detail-panel.live-detail,
.leaderboard-inline-detail.live-detail {
  animation: detailLiveRefresh 3.2s ease both;
}

@keyframes leaderboardPanelRefresh {
  0% { box-shadow: 0 0 0 rgba(101, 255, 122, 0), inset 0 0 0 rgba(101, 255, 122, 0); }
  28% { box-shadow: 0 0 36px rgba(101, 255, 122, 0.13), inset 0 0 28px rgba(101, 255, 122, 0.035); }
  100% { box-shadow: 0 22px 70px var(--shadow), inset 0 0 60px rgba(101, 255, 122, 0.05); }
}

@keyframes leaderboardLiveChange {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 0 rgba(var(--live-change-color), 0);
  }
  20% {
    transform: translate3d(5px, 0, 0) scale(1.01);
    box-shadow: 0 0 28px rgba(var(--live-change-color), 0.18);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 0 8px rgba(var(--live-change-color), 0.04);
  }
}

@keyframes liveBadgeIn {
  from {
    opacity: 0;
    transform: translate3d(8px, -4px, 0) scale(0.84);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes detailLiveRefresh {
  0% {
    border-color: rgba(100, 215, 255, 0.12);
    box-shadow: inset 0 0 0 rgba(100, 215, 255, 0);
  }
  25% {
    border-color: rgba(100, 215, 255, 0.32);
    box-shadow: inset 0 0 26px rgba(100, 215, 255, 0.045), 0 0 26px rgba(100, 215, 255, 0.08);
  }
  100% {
    border-color: rgba(101, 255, 122, 0.12);
    box-shadow: inset 0 0 0 rgba(100, 215, 255, 0);
  }
}

.detail-panel h2,
.inline-detail-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.detail-rank-chip {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(101, 255, 122, 0.28);
  border-radius: 8px;
  color: var(--green);
  background:
    linear-gradient(145deg, rgba(101, 255, 122, 0.12), transparent 70%),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 14px rgba(101, 255, 122, 0.045);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.leaderboard-inline-detail {
  display: none;
}

.inline-detail-header {
  justify-content: space-between;
  width: 100%;
  padding: 2px 2px 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.inline-detail-header strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-detail-empty,
.inline-event-row,
.event-icon {
  position: relative;
}

.inline-detail-empty {
  overflow: hidden;
  border: 1px solid rgba(101, 255, 122, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.055), transparent 58%),
    rgba(0, 0, 0, 0.18);
}

.inline-detail-empty {
  padding: 12px;
  color: var(--quiet);
  text-align: center;
}

.inline-event-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 5px 10px;
  min-height: 56px;
  padding: 10px 2px;
  align-items: center;
  border-bottom: 1px solid rgba(101, 255, 122, 0.09);
}

.inline-event-row:last-child {
  border-bottom: 0;
}

.event-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 1.08rem;
  line-height: 1;
  opacity: 0.9;
  filter: drop-shadow(0 0 7px rgba(101, 255, 122, 0.12));
}

.inline-event-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.inline-event-date {
  grid-column: 2;
  color: var(--quiet);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.1;
}

.inline-event-points {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.inline-event-points.negative {
  color: var(--red);
}

@keyframes medalSheen {
  0%, 58%, 100% { transform: translate3d(-160%, 0, 0) rotate(18deg); opacity: 0; }
  68% { opacity: 0.8; }
  82% { transform: translate3d(540%, 0, 0) rotate(18deg); opacity: 0; }
}

.rank-badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--rank-color);
  background: rgba(0, 0, 0, 0.24);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.leaderboard-name,
.leaderboard-points {
  position: relative;
  z-index: 1;
}

.leaderboard-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}

.leaderboard-points {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  white-space: nowrap;
}

.detail-panel {
  position: sticky;
  top: 96px;
}

.detail-empty {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--quiet);
  text-align: center;
}

.event-timeline {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.event-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.event-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.event-date {
  margin-top: 4px;
  color: var(--quiet);
  font-size: 0.84rem;
}

.event-points {
  align-self: center;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.event-points.negative {
  color: var(--red);
}

.champions-panel {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
}

.champion-grid {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 0 -6px;
  padding: 2px 6px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(101, 255, 122, 0.36) rgba(255, 255, 255, 0.045);
}

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

.champion-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.champion-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(101, 255, 122, 0.74), rgba(255, 200, 87, 0.55), rgba(100, 215, 255, 0.54));
}

.champion-entry {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px 16px;
  align-items: center;
  flex: 0 0 clamp(320px, 32vw, 430px);
  min-height: 174px;
  padding: 16px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 200, 87, 0.14);
  border-radius: 8px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 200, 87, 0.12), transparent 34%),
    radial-gradient(circle at 86% 100%, rgba(101, 255, 122, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(2, 10, 6, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.24);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.champion-entry.champion-clickable {
  cursor: pointer;
}

.champion-entry:hover {
  border-color: rgba(178, 255, 207, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 200, 87, 0.18), transparent 34%),
    radial-gradient(circle at 86% 100%, rgba(101, 255, 122, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(3, 14, 8, 0.74);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(101, 255, 122, 0.08),
    0 0 20px rgba(255, 200, 87, 0.06);
  transform: translateY(-2px);
}

.champion-img {
  display: block;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  max-width: none;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 200, 87, 0.22);
  box-shadow: 0 0 18px rgba(255, 200, 87, 0.08);
}

.champion-meta {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.champion-season-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
}

.champion-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 800;
  white-space: nowrap;
}

.red-word {
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 55, 95, 0.36);
}

.blue-word {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(100, 215, 255, 0.34);
}

.team-ravens,
.leaderboard-entry.team-ravens {
  --team-rgb: 255, 55, 95;
}

.team-beavers,
.leaderboard-entry.team-beavers {
  --team-rgb: 100, 215, 255;
}

.team-jackets,
.leaderboard-entry.team-jackets {
  --team-rgb: 247, 255, 90;
}

.team-geckos,
.leaderboard-entry.team-geckos {
  --team-rgb: 101, 255, 122;
}

.team-name {
  color: rgb(var(--team-rgb));
  text-shadow: 0 0 14px rgba(var(--team-rgb), 0.34);
}

.metric-name.team-name,
.leaderboard-name.team-name,
.detail-player-name.team-name,
.inline-player-name.team-name,
.inline-detail-header strong.team-name {
  color: rgb(var(--team-rgb));
  text-shadow: 0 0 14px rgba(var(--team-rgb), 0.38);
}

.season {
  display: block;
  min-width: 0;
  color: #ffd970;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  text-shadow: 0 0 12px rgba(255, 200, 87, 0.2);
}

.champion-date-range {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid rgba(255, 200, 87, 0.18);
  border-radius: 999px;
  color: rgba(226, 242, 218, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.1), rgba(101, 255, 122, 0.045)),
    rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 14px rgba(255, 200, 87, 0.04);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: nowrap;
}

.champion-members {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 0.78rem;
}

.member-pill img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.links-directory {
  display: grid;
  gap: 26px;
}

.link-section {
  display: grid;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
}

.section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 1.28rem;
}

.section-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(142, 255, 166, 0.24);
  border-radius: 50%;
  color: var(--text);
  background:
    linear-gradient(145deg, var(--section-glow, rgba(101, 255, 122, 0.15)), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04), 0 0 22px var(--section-glow, rgba(101, 255, 122, 0.14));
}

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

.section-mark::before {
  inset: 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.42;
}

.section-mark::after {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
    radial-gradient(circle at 55% 60%, transparent 42%, rgba(0, 0, 0, 0.36) 100%);
  opacity: 0.72;
}

.section-mark:has(img)::before,
.section-mark:has(img)::after {
  display: none;
}

.section-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.section-mark + span {
  min-width: 0;
}

.mark-network {
  --section-glow: rgba(101, 255, 122, 0.18);
  color: var(--green);
}

.mark-gucci {
  --section-glow: rgba(255, 200, 87, 0.17);
  color: var(--amber);
}

.mark-link {
  --section-glow: rgba(100, 215, 255, 0.16);
  color: var(--cyan);
}

.mark-dete {
  --section-glow: rgba(255, 55, 95, 0.16);
  color: var(--red);
}

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

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

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(142, 255, 166, 0.15);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.042), transparent 58%),
    rgba(4, 9, 7, 0.68);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background:
    linear-gradient(120deg, var(--platform-glow, rgba(101, 255, 122, 0.11)), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(101, 255, 122, 0.028) 27px, transparent 28px 48px);
  pointer-events: none;
}

.link-card::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translate3d(-170%, 0, 0) rotate(18deg);
  transition: transform 0.42s ease;
  will-change: transform;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 255, 166, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
    rgba(7, 15, 11, 0.78);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 28px rgba(101, 255, 122, 0.09);
}

.link-card:hover::after {
  transform: translate3d(660%, 0, 0) rotate(18deg);
}

.link-card:hover .link-mark {
  transform: scale(1.08) rotate(-3deg);
  border-color: color-mix(in srgb, var(--platform-color, var(--green)) 52%, white 10%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.055), 0 0 24px var(--platform-glow, rgba(101, 255, 122, 0.18));
}

.link-card > * {
  position: relative;
  z-index: 1;
}

.link-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--platform-color, var(--green));
  background: rgba(0, 0, 0, 0.2);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.035), 0 0 16px var(--platform-glow, rgba(101, 255, 122, 0.12));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-mark img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--platform-glow, rgba(101, 255, 122, 0.2)));
}

.link-card strong,
.link-card small {
  display: block;
}

.link-card strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.link-card small {
  min-width: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-tiktok {
  --platform-color: #65ff7a;
  --platform-glow: rgba(101, 255, 122, 0.16);
}

.platform-instagram {
  --platform-color: #ffc857;
  --platform-glow: rgba(255, 200, 87, 0.16);
}

.platform-discord {
  --platform-color: #a78bfa;
  --platform-glow: rgba(167, 139, 250, 0.15);
}

.platform-youtube {
  --platform-color: #ff375f;
  --platform-glow: rgba(255, 55, 95, 0.16);
}

.platform-twitch {
  --platform-color: #a78bfa;
  --platform-glow: rgba(167, 139, 250, 0.15);
}

.platform-kick {
  --platform-color: #65ff7a;
  --platform-glow: rgba(101, 255, 122, 0.16);
}

.platform-x {
  --platform-color: #64d7ff;
  --platform-glow: rgba(100, 215, 255, 0.14);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.server-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(101, 255, 122, 0.08), transparent 38%, rgba(100, 215, 255, 0.05));
  opacity: 0.8;
  pointer-events: none;
}

.server-card.offline::before {
  background: linear-gradient(135deg, rgba(255, 55, 95, 0.1), transparent 38%, rgba(255, 200, 87, 0.04));
}

.server-card.maintenance::before {
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.14), transparent 38%, rgba(101, 255, 122, 0.045));
}

.server-card > * {
  position: relative;
  z-index: 1;
}

.server-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.server-title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.server-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 0;
  object-fit: cover;
}

.server-card.offline .server-icon {
  opacity: 0.64;
  filter: grayscale(0.45) saturate(0.8);
}

.server-card h2 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.server-address {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(101, 255, 122, 0.28);
  border-radius: 999px;
  color: var(--green);
  background: rgba(101, 255, 122, 0.08);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.online-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: statusPulse 1.8s ease-in-out infinite;
}

.offline .online-pill {
  border-color: rgba(255, 55, 95, 0.34);
  color: var(--red);
  background: rgba(255, 55, 95, 0.08);
}

.maintenance .online-pill {
  border-color: rgba(255, 200, 87, 0.34);
  color: var(--amber);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.12), rgba(101, 255, 122, 0.045)),
    rgba(255, 200, 87, 0.055);
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.2); }
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.server-stat {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.server-stat > span {
  display: block;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.server-stat > strong {
  display: block;
  margin-top: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.94rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compatibility-stat strong {
  overflow: visible;
}

.compatibility-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.compatibility-badge {
  --compat-color: #b58cff;
  --compat-accent: #ff8bd1;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, var(--compat-color) 34%, transparent);
  border-left-width: 2px;
  border-radius: 3px;
  color: color-mix(in srgb, var(--compat-color) 78%, white);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--compat-color) 15%, transparent), color-mix(in srgb, var(--compat-accent) 8%, transparent)),
    rgba(0, 0, 0, 0.24);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compatibility-badge.java {
  --compat-color: #b58cff;
  --compat-accent: #ff8bd1;
}

.compatibility-badge.bedrock {
  --compat-color: #64d7ff;
  --compat-accent: #65ff7a;
}

.compatibility-badge.unknown {
  --compat-color: var(--amber);
  --compat-accent: #ffffff;
}

.heartbeat {
  --heartbeat-frame: rgba(255, 255, 255, 0.075);
  --heartbeat-y-gap: 54px;
  --heartbeat-y-half-gap: 27px;
  --heartbeat-x-gap: 72px;
  --heartbeat-x-gap-right: 16px;
  position: relative;
  width: 100%;
  height: 112px;
  overflow: visible;
  border-radius: 8px;
  background:
    linear-gradient(rgba(101, 255, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 255, 122, 0.035) 1px, transparent 1px),
    rgba(0, 0, 0, 0.2);
  background-size: 100% 22px, 34px 100%, 100% 100%;
}

.heartbeat::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) top left / 100% 1px no-repeat,
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) top right / 1px 100% no-repeat,
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) bottom right / var(--heartbeat-x-gap-right) 1px no-repeat,
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) bottom left / calc(100% - var(--heartbeat-x-gap) - var(--heartbeat-x-gap-right)) 1px no-repeat,
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) top left / 1px calc(50% - var(--heartbeat-y-half-gap)) no-repeat,
    linear-gradient(var(--heartbeat-frame), var(--heartbeat-frame)) bottom left / 1px calc(50% - var(--heartbeat-y-half-gap)) no-repeat;
  pointer-events: none;
}

.heartbeat-axis {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 12px;
  padding: 0;
  border-radius: 0;
  color: rgba(226, 242, 218, 0.52);
  background:
    linear-gradient(180deg, rgba(2, 14, 7, 0.96), rgba(0, 5, 3, 0.98));
  box-shadow:
    0 0 0 1px rgba(1, 8, 4, 0.92),
    0 0 10px rgba(101, 255, 122, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(101, 255, 122, 0.18);
  white-space: nowrap;
}

.heartbeat-axis-y {
  width: var(--heartbeat-y-gap);
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

.heartbeat-axis-x {
  width: var(--heartbeat-x-gap);
  right: var(--heartbeat-x-gap-right);
  bottom: 0;
  transform: translateY(50%);
}

.heartbeat svg {
  width: 100%;
  height: 100%;
  display: block;
}

.heartbeat .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 7px rgba(101, 255, 122, 0.45));
}

.offline .heartbeat .line {
  stroke: var(--red);
  filter: drop-shadow(0 0 7px rgba(255, 55, 95, 0.42));
}

.maintenance .heartbeat .line {
  stroke: var(--amber);
  filter: drop-shadow(0 0 7px rgba(255, 200, 87, 0.4));
}

.heartbeat .area {
  fill: rgba(101, 255, 122, 0.08);
}

.offline .heartbeat .area {
  fill: rgba(255, 55, 95, 0.08);
}

.maintenance .heartbeat .area {
  fill: rgba(255, 200, 87, 0.08);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.16);
  text-align: center;
}

.site-footer {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 0 0 30px;
  border-top: 1px solid rgba(101, 255, 122, 0.16);
  color: var(--muted);
}

body[data-route="home"] .site-footer {
  display: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 255, 122, 0.4), rgba(100, 215, 255, 0.22), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) minmax(120px, 0.62fr) minmax(140px, 0.7fr) minmax(220px, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: 28px 0 22px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-signup {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 330px;
}

.footer-signup label {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid rgba(101, 255, 122, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(101, 255, 122, 0.06), transparent 56%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 22px rgba(101, 255, 122, 0.035);
}

.footer-signup input {
  min-width: 0;
  height: 38px;
  border: 0;
  outline: 0;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
}

.footer-signup input::placeholder {
  color: var(--quiet);
}

.footer-signup button {
  height: 38px;
  min-width: 58px;
  border: 0;
  border-left: 1px solid rgba(101, 255, 122, 0.16);
  color: var(--green);
  background: rgba(101, 255, 122, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-signup button:hover {
  color: var(--text);
  background: rgba(101, 255, 122, 0.14);
  box-shadow: inset 0 0 18px rgba(101, 255, 122, 0.08);
}

.footer-signup button:disabled {
  color: var(--quiet);
  cursor: progress;
  opacity: 0.72;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.footer-column h2 {
  margin-bottom: 4px;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-column a {
  width: fit-content;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-server-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: min(270px, 100%);
  min-height: 28px;
  overflow: hidden;
}

.footer-server-pill {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) minmax(30px, auto);
  align-items: center;
  flex: 1 1 0;
  gap: 6px;
  min-width: 0;
  max-width: 132px;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.footer-server-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.footer-server-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-server-pill strong {
  justify-self: end;
  color: var(--quiet);
  font-size: 0.64rem;
  text-align: right;
}

.footer-server-pill.online {
  border-color: rgba(101, 255, 122, 0.2);
  color: var(--green);
  background: rgba(101, 255, 122, 0.055);
}

.footer-server-pill.offline {
  border-color: rgba(255, 55, 95, 0.24);
  color: var(--red);
  background: rgba(255, 55, 95, 0.052);
}

.footer-server-pill.maintenance {
  border-color: rgba(255, 200, 87, 0.24);
  color: var(--amber);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.08), rgba(101, 255, 122, 0.035)),
    rgba(255, 200, 87, 0.045);
}

.footer-server-pill.unknown {
  border-color: rgba(255, 200, 87, 0.22);
  color: var(--amber);
  background: rgba(255, 200, 87, 0.05);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--quiet);
  font-size: 0.8rem;
}

.footer-bottom span:first-child {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.footer-credit a {
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-credit a:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 55, 95, 0.4);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .panic-collage {
    min-height: calc(100svh - 118px);
  }

  .collage-art {
    inset: -3% -26%;
    background-position: 50% 50%;
  }

  .panic-crest {
    top: 54%;
    width: min(330px, 68vw);
  }

  .crest-core {
    width: 88px;
    height: 88px;
  }

  .crest-signal {
    width: min(220px, 66%);
  }

  .crest-word {
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .depth-grid {
    width: min(620px, 86vw);
  }

  .sigil-two {
    right: 4%;
    opacity: 0.22;
  }

  .panic-sentinel {
    top: 40%;
    width: min(400px, 54vw);
  }

  .panic-copy {
    margin-top: 132px;
  }

  .panic-copy h1 {
    font-size: 6.2rem;
  }

  .home-echo {
    width: min(100% - 28px, 900px);
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    gap: 6px;
  }

  .nav-link {
    flex: 1;
    min-height: 36px;
    padding-inline: 8px;
  }

  .season-grid,
  .server-grid,
  .link-grid,
  .link-grid.compact {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .champion-entry {
    flex-basis: min(82vw, 390px);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .champion-grid {
    margin-inline: -10px;
    padding-inline: 10px;
    scroll-padding-inline: 10px;
  }

  .champion-entry {
    flex-basis: min(86vw, 360px);
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    min-height: 152px;
    padding: 14px;
  }

  .champion-img {
    width: 64px;
    height: 64px;
    grid-column: 1;
    grid-row: 1;
  }

  .app-main {
    width: min(100% - 20px, 1320px);
    padding-top: 16px;
  }

  .home-page {
    margin-top: -16px;
  }

  .panic-collage {
    min-height: calc(100svh - 118px);
  }

  .collage-art {
    inset: -2% -64%;
    background-position: 51% 50%;
  }

  .panic-crest {
    top: 55%;
    width: min(292px, 78vw);
  }

  .crest-core {
    width: 78px;
    height: 78px;
  }

  .crest-signal {
    width: min(190px, 70%);
    height: 22px;
  }

  .crest-word {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .crest-word-sub {
    font-size: 7px;
  }

  .crest-notch {
    width: 56px;
  }

  .notch-top {
    transform: translate(-50%, -120px);
  }

  .notch-right {
    transform: translate(92px, -50%) rotate(90deg);
  }

  .notch-bottom {
    transform: translate(-50%, 118px);
  }

  .notch-left {
    transform: translate(-148px, -50%) rotate(90deg);
  }

  .depth-grid {
    width: 110vw;
    opacity: 0.16;
  }

  .collage-sigil.sigil-one {
    width: min(220px, 58vw);
    opacity: 0.28;
  }

  .collage-sigil.sigil-two {
    display: none;
  }

  .collage-rift {
    opacity: 0.34;
  }

  .collage-shard {
    opacity: 0.36;
  }

  .panic-landing {
    min-height: clamp(430px, calc(100svh - 146px), 620px);
    padding: 44px 18px 58px;
  }

  .panic-sentinel {
    top: 35%;
    width: min(300px, 82vw);
  }

  .panic-orbit {
    opacity: 0.72;
  }

  .panic-rift {
    opacity: 0.34;
  }

  .panic-copy {
    margin-top: 128px;
  }

  .panic-kicker {
    font-size: 0.68rem;
  }

  .panic-copy h1 {
    font-size: 3.35rem;
    line-height: 0.92;
  }

  .panic-line {
    max-width: 330px;
    margin-top: 14px;
    font-size: 0.72rem;
    line-height: 1.65;
  }

  .panic-actions {
    width: min(100%, 340px);
    margin-top: 22px;
  }

  .panic-action {
    flex: 1 1 136px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .home-echo {
    width: min(100% - 24px, 900px);
    margin-bottom: 34px;
    padding-top: 28px;
  }

  .home-echo p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .home-echo-words {
    gap: 8px 12px;
    font-size: 0.68rem;
  }

  .home-echo-words span + span::before {
    display: none;
  }

  .live-update-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }

  .live-update-copy {
    white-space: normal;
  }

  .live-test-button {
    left: 10px;
    bottom: 62px;
  }

  .app-header {
    padding: 10px;
  }

  .site-nav {
    gap: 0;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .site-nav::before,
  .site-nav::after {
    display: none;
  }

  .nav-link {
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.76rem;
    text-transform: none;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(101, 255, 122, 0.07);
    box-shadow: inset 0 0 0 1px rgba(101, 255, 122, 0.1);
  }

  .brand-subtitle,
  .hero-glyph,
  .hero-glyph-mask {
    display: none;
  }

  .page-hero {
    min-height: 132px;
  }

  .leaderboard-entry {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 54px;
  }

  .leaderboard-points {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .leaderboard-entry.has-inline-detail {
    border-bottom-color: rgba(101, 255, 122, 0.28);
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
  }

  .detail-panel {
    display: none;
  }

  .leaderboard-inline-detail {
    display: grid;
    position: relative;
    gap: 0;
    max-height: 430px;
    overflow: auto;
    margin: -8px 8px 2px 18px;
    padding: 12px 12px 10px 16px;
    border: 1px solid rgba(101, 255, 122, 0.12);
    border-top: 0;
    border-left: 2px solid rgba(101, 255, 122, 0.34);
    border-radius: 0 0 8px 8px;
    background:
      linear-gradient(90deg, rgba(101, 255, 122, 0.065), transparent 34%),
      rgba(3, 9, 6, 0.7);
    box-shadow: inset 0 0 22px rgba(101, 255, 122, 0.025);
  }

  .inline-detail-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 0 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(101, 255, 122, 0.12);
  }

  .inline-event-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    padding: 11px 2px;
  }

  .event-icon {
    width: 22px;
    height: 22px;
    font-size: 1.04rem;
  }

  .server-topline,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .server-stats {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 20px, 1320px);
    padding-bottom: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .panic-copy h1 {
    font-size: 3rem;
  }

  .panic-line {
    max-width: 290px;
  }

  .nav-link {
    font-size: 0.72rem;
  }
}
