:root {
  --site-bg: radial-gradient(circle at 12% 18%, #0b1b3a, #08142c 45%, #050b1c);
  --site-overlay: radial-gradient(circle at 20% 18%, rgba(60, 120, 200, 0.16), transparent 40%),
    radial-gradient(circle at 78% 38%, rgba(60, 110, 190, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(20, 50, 100, 0.28), rgba(8, 20, 44, 0.4));
  --site-glow: conic-gradient(
    from 120deg,
    rgba(40, 90, 170, 0.18),
    rgba(14, 32, 64, 0.26),
    rgba(60, 120, 210, 0.16),
    rgba(12, 28, 58, 0.3)
  );
  --bg-world: var(--site-bg);
  --hud-bg: rgba(12, 16, 28, 0.82);
  --hud-border: rgba(110, 178, 255, 0.6);
  --glow: #7b9eff;
  --text: #e8f0ff;
  --muted: #b4c8e2;
  --accent: #5bc8ff;
  --accent-blue: #5bc8ff;
  --accent-purple: #a77bff;
  --accent-green: #6af5c4;
  --bar-hp: linear-gradient(90deg, #69ffb7, #0de3a2);
  --bar-mp: linear-gradient(90deg, #6bc4ff, #2a7bff);
  --bar-shield: linear-gradient(90deg, #c7b2ff, #7a5bff);
  --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.35);
  --panel-radius: 14px;
  --hud-radius: 16px;
  --window-radius: 18px;
  --hud-height: 160px;
  --safe-bottom: env(safe-area-inset-bottom);
  --hud-blur: 20px;
  --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --content-max: 1180px;
  --audio-level: 0;
  --audio-bass: 0;
  --audio-treble: 0;
  --audio-scale: 1;
  --audio-aurora: 0.26;
  --audio-grid: 0.08;
  --audio-saturate: 1;
  --audio-hit: 0;
  --audio-energy: 0;
  --audio-lift: 0;
}

@supports (padding-bottom: constant(safe-area-inset-bottom)) {
  :root { --safe-bottom: constant(safe-area-inset-bottom); }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-world);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -12%;
  background:
    var(--site-overlay),
    repeating-linear-gradient(120deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 200px),
    repeating-linear-gradient(-35deg, rgba(106, 245, 196, 0.06) 0 1px, transparent 1px 220px),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.08), transparent 48%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: world-overlay-drift 70s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -40%;
  background: var(--site-glow);
  opacity: 0.28;
  filter: blur(100px);
  transform: translate3d(0, 0, 0);
  animation: world-drift 24s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

body[data-page="admin"] {
  background: var(--bg-world);
}

body[data-page="admin"]::before {
  background:
    var(--site-overlay),
    repeating-linear-gradient(120deg, rgba(91, 200, 255, 0.07) 0 1px, transparent 1px 200px),
    repeating-linear-gradient(-35deg, rgba(106, 245, 196, 0.05) 0 1px, transparent 1px 220px),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.07), transparent 48%);
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: world-overlay-drift 75s linear infinite;
}

body[data-page="admin"]::after {
  background: var(--site-glow);
  opacity: 0.28;
  filter: blur(100px);
}

.hidden {
  display: none !important;
}

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

#particle-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
}

body.page-ready:not([data-page="admin"]) #particle-layer {
  opacity: 0.88;
}

.audio-wave-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.7;
}

.audio-wave {
  position: absolute;
  left: -12%;
  right: -12%;
  height: 220px;
  border-radius: 999px;
  opacity: 0.22;
  filter: blur(60px);
  transform: translateY(calc(var(--audio-bass) * -14px)) scale(calc(1 + var(--audio-energy) * 0.12));
  background: radial-gradient(circle at 30% 35%, rgba(91, 200, 255, 0.2), transparent 60%),
    radial-gradient(circle at 70% 65%, rgba(167, 123, 255, 0.16), transparent 60%);
  animation: audio-wave-drift 22s linear infinite;
}

.audio-wave-one {
  top: 12%;
  animation-duration: 26s;
}

.audio-wave-two {
  top: 38%;
  opacity: 0.18;
  animation-duration: 30s;
  background: radial-gradient(circle at 25% 45%, rgba(106, 245, 196, 0.2), transparent 62%),
    radial-gradient(circle at 75% 55%, rgba(91, 200, 255, 0.16), transparent 62%);
}

.audio-wave-three {
  top: 62%;
  opacity: 0.16;
  animation-duration: 34s;
  background: radial-gradient(circle at 25% 45%, rgba(255, 183, 77, 0.16), transparent 62%),
    radial-gradient(circle at 75% 55%, rgba(91, 200, 255, 0.14), transparent 62%);
}

body.audio-reactive .audio-wave {
  opacity: calc(0.18 + var(--audio-level) * 0.24);
}

@keyframes audio-wave-drift {
  0% {
    transform: translateX(-4%) translateY(calc(var(--audio-bass) * -14px)) scale(calc(1 + var(--audio-energy) * 0.12));
  }
  50% {
    transform: translateX(4%) translateY(calc(var(--audio-bass) * -18px)) scale(calc(1 + var(--audio-energy) * 0.18));
  }
  100% {
    transform: translateX(-4%) translateY(calc(var(--audio-bass) * -14px)) scale(calc(1 + var(--audio-energy) * 0.12));
  }
}

main {
  position: relative;
  z-index: 2;
  padding-bottom: calc(var(--hud-height) + 40px + var(--safe-bottom));
}

body[data-page="admin"] main {
  padding-bottom: calc(var(--hud-height) + 24px + var(--safe-bottom));
  padding-top: 8px;
}

.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 18% 22%, rgba(106, 245, 196, 0.22), transparent 55%),
    radial-gradient(circle at 78% 16%, rgba(91, 200, 255, 0.2), transparent 52%),
    radial-gradient(circle at 45% 70%, rgba(167, 123, 255, 0.18), transparent 58%),
    conic-gradient(from 140deg, rgba(91, 200, 255, 0.18), rgba(12, 18, 30, 0.2), rgba(106, 245, 196, 0.16), rgba(91, 200, 255, 0.18));
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: hero-aurora 48s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 60% 20%, rgba(91, 200, 255, 0.12), transparent 40%),
    radial-gradient(circle at 20% 60%, rgba(167, 123, 255, 0.1), transparent 40%),
    repeating-linear-gradient(120deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(-20deg, rgba(106, 245, 196, 0.06) 0 1px, transparent 1px 200px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: hero-grid-drift 52s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero.hero-hub {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(167, 123, 255, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.55), rgba(4, 6, 12, 0.92));
}

.hero.hero-hub::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 20deg, rgba(91, 200, 255, 0.14), rgba(167, 123, 255, 0.12), rgba(106, 245, 196, 0.1), rgba(91, 200, 255, 0.14));
  filter: blur(70px);
  opacity: 0.35;
  animation: spin 46s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-hub-inner {
  width: min(1180px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 130px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: slide-up 0.6s ease both;
}

.hero-hub-copy h1 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.2px;
  margin-top: 6px;
  color: rgba(245, 249, 255, 0.98);
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

@supports (-webkit-background-clip: text) {
  .hero-hub-copy h1 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(123, 158, 255, 0.95), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-hub-lead {
  color: rgba(232, 240, 255, 0.92);
  font-size: 16px;
  max-width: 680px;
}

.hero-hub-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-hub-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-kpi {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 6px;
}

.hero-kpi strong {
  font-size: 22px;
  letter-spacing: 0.4px;
}

.hero-kpi span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-hub-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-offer {
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.09), rgba(0, 0, 0, 0.45));
  color: var(--text);
  text-decoration: none;
  padding: 14px 14px;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-offer:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.45);
  box-shadow: 0 0 26px rgba(91, 200, 255, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-offer-title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-offer-sub {
  color: var(--muted);
  font-size: 12px;
}

.hero-hub-portal {
  justify-self: center;
  width: 100%;
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: start;
}

.portal-frame {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 40%;
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 25%, rgba(91, 200, 255, 0.12), rgba(8, 12, 20, 0.96)),
    radial-gradient(circle at 70% 70%, rgba(167, 123, 255, 0.12), transparent 55%);
  border: 1px solid rgba(91, 200, 255, 0.28);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.6), 0 0 38px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1100px) rotateX(calc(4deg + var(--tilt-y))) rotateY(var(--tilt-x));
  transition: transform 0.18s ease;
}

.portal-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.05) 0 1px, transparent 1px 18px);
  opacity: 0.16;
  pointer-events: none;
}

.portal-frame::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(91, 200, 255, 0.22), transparent 45%);
  filter: blur(40px);
  opacity: 0.8;
  pointer-events: none;
  mix-blend-mode: screen;
}

.portal-core {
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 50% 60%, rgba(91, 200, 255, 0.55), rgba(0, 0, 0, 0.1) 58%, rgba(167, 123, 255, 0.35));
  filter: saturate(1.1);
  box-shadow: 0 0 50px rgba(91, 200, 255, 0.35);
  animation: pulse 3.2s ease-in-out infinite;
}

.portal-ring {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 26px rgba(91, 200, 255, 0.12);
  animation: portal-spin 16s linear infinite;
}

.portal-ring.ring-b {
  inset: 20%;
  border-color: rgba(167, 123, 255, 0.16);
  animation-duration: 22s;
  animation-direction: reverse;
}

.portal-ring.ring-c {
  inset: 30%;
  border-color: rgba(106, 245, 196, 0.14);
  animation-duration: 28s;
}

.portal-ui {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 18px;
}

.portal-chip {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.portal-meter {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.55));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.portal-meter span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.portal-meter strong {
  letter-spacing: 0.4px;
}

.portal-meter.alt {
  border-color: rgba(106, 245, 196, 0.18);
}

.hero-console {
  width: min(520px, 100%);
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.75), rgba(4, 6, 12, 0.92));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: visible;
}

.hero-console.hero-console-modal {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.05) 0 1px, transparent 1px 22px);
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-console::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 30% 10%, rgba(91, 200, 255, 0.18), transparent 45%);
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

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

.hero-console-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero-console-head strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

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

.hero-console-addons {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-console-grid label,
.hero-console-addons label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.9);
}

.hero-console-grid select,
.hero-console-addons select {
  width: 100%;
  padding: 10px 34px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(232, 240, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(232, 240, 255, 0.7) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

.hero-console-grid select:focus,
.hero-console-addons select:focus {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
}

.hero-console-preview {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero-console-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-console-actions .button-primary,
.hero-console-actions .button-ghost {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
}

.hero-console-hint {
  margin-top: 12px;
  font-size: 12px;
}

.hero-slider {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: none;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-slide {
  display: block;
  padding: clamp(120px, 12vh, 180px) 9vw clamp(130px, 15vh, 200px);
  min-height: 100vh;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.995);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.hero-home .hero-slide {
  position: relative;
  inset: auto;
}

.hero-home .hero-slide:not(.active) {
  display: none;
}

.hero-home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-brand {
  display: grid;
  gap: 14px;
}

.hero-slide-brand .hero-gridline {
  border-color: rgba(106, 245, 196, 0.18);
  box-shadow: 0 0 50px rgba(106, 245, 196, 0.16), inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.hero-brand-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-brand-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.22), rgba(167, 123, 255, 0.18));
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-brand-chip.ghost {
  border-color: rgba(167, 123, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 255, 0.88);
}

.hero-brand-title {
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0.2px;
  margin: 6px 0 0;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

@supports (-webkit-background-clip: text) {
  .hero-brand-title {
    background: linear-gradient(92deg, rgba(255, 255, 255, 0.96), rgba(123, 158, 255, 0.96), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-brand-lead {
  color: rgba(232, 240, 255, 0.9);
  font-size: 17px;
  max-width: 640px;
  margin: 0;
}

.hero-brand-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-brand-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-brand-link {
  color: rgba(159, 179, 209, 0.92);
  text-decoration: none;
}

.hero-brand-link:hover {
  color: rgba(232, 240, 255, 0.95);
}

.hero-brand-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-brand-tags span {
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  font-size: 11px;
  letter-spacing: 0.4px;
}

.hero-brand-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-brand-kpi {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 4px;
}

.hero-brand-kpi span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-brand-kpi strong {
  font-size: 20px;
  letter-spacing: 0.3px;
}

.hero-brand-kpi small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-home .hero-slide-inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.hero-home.hero-future {
  background: transparent;
}

.hero-home.hero-future::after {
  display: none;
}

.hero-home.hero-future .hero-slide {
  background: transparent;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(96px, 10vh, 150px) 8vw clamp(80px, 10vh, 140px);
}

.hero-home.hero-future .hero-slide::after {
  display: none;
}

.hero-home.hero-future .hero-slide-inner {
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero-home.hero-future .hero-future-copy {
  max-width: 740px;
  position: relative;
  z-index: 3;
  padding-right: clamp(4px, 1.2vw, 18px);
}

.hero-home.hero-future .hero-future-copy::before {
  content: "";
  position: absolute;
  inset: -18% -10% -18% -16%;
  background:
    radial-gradient(circle at 12% 20%, rgba(8, 12, 20, 0.85), rgba(8, 12, 20, 0.4) 55%, transparent 75%);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.hero-home.hero-future .hero-future-title {
  max-width: 720px;
}

.hero-home.hero-future .hero-future-summary {
  margin-top: 8px;
}

.hero-home.hero-future .hero-future-summary span {
  padding: 5px 9px;
}

.hero-home.hero-future .hero-future-chip {
  background-size: 180% 180%;
  animation: shimmer 12s linear infinite;
}

.hero-home.hero-future .hero-future-chip.ghost {
  animation: none;
  background-position: center;
}

.hero-home.hero-future .hero-holo-figure.hero-holo-future {
  animation: holo-float 14s ease-in-out infinite;
  will-change: transform;
}

.hero-home.hero-future .hero-holo-orbit {
  animation: spin 22s linear infinite;
}

.hero-home.hero-future .hero-holo-image {
  animation: emblem-float 7s ease-in-out infinite;
}

.hero-home.hero-future .hero-holo-base {
  animation: grid-breathe 10s ease-in-out infinite;
}

.hero-home.hero-future .hero-future-console {
  position: relative;
  overflow: hidden;
}

.hero-home.hero-future .hero-future-console::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(91, 200, 255, 0.22) 50%, transparent 65%);
  background-size: 200% 200%;
  opacity: 0.35;
  animation: shimmer 10s linear infinite;
  pointer-events: none;
}

.hero-home.hero-prime {
  background: transparent;
}

.hero-home.hero-prime::after {
  opacity: 0.22;
}

.hero-home.hero-prime .hero-slide {
  background: transparent;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(108px, 11vh, 160px) 6vw clamp(90px, 11vh, 140px);
}

.hero-home.hero-prime .hero-slide::after {
  display: none;
}

.hero-home.hero-prime .hero-slide::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 200, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(106, 245, 196, 0.18), transparent 60%),
    radial-gradient(circle at 45% 75%, rgba(255, 210, 125, 0.12), transparent 62%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.hero-prime-aurora,
.hero-prime-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-prime-aurora {
  inset: -45%;
  background: conic-gradient(from 30deg, rgba(91, 200, 255, 0.16), rgba(167, 123, 255, 0.14), rgba(106, 245, 196, 0.12), rgba(91, 200, 255, 0.16));
  filter: blur(90px);
  opacity: 0.55;
  animation: spin 32s linear infinite;
}

.hero-prime-gridlines {
  background-image:
    repeating-linear-gradient(120deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 150px),
    repeating-linear-gradient(-35deg, rgba(167, 123, 255, 0.07) 0 1px, transparent 1px 180px),
    repeating-linear-gradient(15deg, rgba(106, 245, 196, 0.05) 0 1px, transparent 1px 220px);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: hud-grid 36s linear infinite;
}

body.audio-reactive #particle-layer {
  filter: saturate(var(--audio-saturate)) brightness(calc(1 + var(--audio-energy) * 0.25));
}

body.audio-reactive::before {
  opacity: calc(0.6 + var(--audio-energy) * 0.25);
}

body.audio-reactive .hero-prime-aurora {
  opacity: calc(var(--audio-aurora) + var(--audio-hit) * 0.12);
  filter: blur(76px) brightness(calc(1 + var(--audio-energy) * 0.4));
}

body.audio-reactive .hero-prime-gridlines {
  opacity: calc(var(--audio-grid) + var(--audio-hit) * 0.18);
}

body.audio-reactive .hero-prime-copy {
  transform: translateY(calc(var(--audio-lift) * -0.6px));
}

body.audio-reactive .hero-prime-visual {
  transform: translateY(calc(var(--audio-lift) * 0.4px));
}

body.audio-reactive .kb-hero-aurora {
  opacity: calc(0.2 + var(--audio-energy) * 0.22);
  filter: blur(70px) brightness(calc(1 + var(--audio-energy) * 0.35));
}

body.audio-reactive .kb-hero-scan {
  opacity: calc(0.12 + var(--audio-energy) * 0.22);
}

body.audio-reactive .mu-hero-portal {
  opacity: calc(0.55 + var(--audio-hit) * 0.2);
}

body.audio-reactive .hero-prime-gridlines {
  transform: translateY(calc(var(--audio-lift) * -0.12px));
}

body.audio-reactive .hero-command-grid::before {
  opacity: calc(0.25 + var(--audio-energy) * 0.35);
}

body.audio-reactive .hero-command-card {
  transform: translateY(calc(var(--audio-lift) * -0.2px));
}

body.audio-reactive .hud-rail {
  transform: translateY(calc(var(--audio-hit) * -1.4px));
}

body.audio-reactive .hud-rail::after {
  opacity: calc(0.22 + var(--audio-hit) * 0.35);
}

.hero-prime-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  width: 100%;
}

.hero-home.hero-prime .hero-slide-inner {
  max-width: none;
  width: 100%;
}

.hero-prime-copy {
  display: grid;
  gap: 18px;
  max-width: 680px;
  position: relative;
  z-index: 2;
  align-content: center;
}

.hero-prime-copy::before {
  content: "";
  position: absolute;
  inset: -16% -14%;
  border-radius: 26px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background:
    radial-gradient(circle at 20% 20%, rgba(10, 16, 28, 0.86), rgba(10, 16, 28, 0.4) 55%, transparent 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 70px rgba(6, 10, 18, 0.35);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

.hero-brand-stack {
  display: grid;
  gap: 10px;
  align-items: start;
}

.hero-brand-mark {
  position: relative;
  isolation: isolate;
  width: clamp(130px, 20vw, 240px);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(8deg) rotateY(-12deg);
  transform-origin: left center;
  filter: drop-shadow(0 24px 44px rgba(6, 16, 32, 0.62));
  animation: hero-logo-float 8s ease-in-out infinite;
}

.hero-brand-depth {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 12, 20, 0.9), rgba(4, 6, 12, 0.96));
  transform: translate(12px, 14px) translateZ(-24px);
  opacity: 0.72;
  filter: blur(8px) saturate(1.2);
  pointer-events: none;
  z-index: -1;
  display: none;
}

.hero-brand-mark img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(30px);
  filter:
    drop-shadow(8px 10px 0 rgba(6, 10, 18, 0.45))
    drop-shadow(0 20px 34px rgba(6, 12, 24, 0.45))
    drop-shadow(-4px -4px 12px rgba(106, 245, 196, 0.18));
}

.hero-brand-mark::before {
  content: "";
  position: absolute;
  inset: -22% -30% -40% -30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.5), transparent 58%),
    radial-gradient(circle at 70% 80%, rgba(106, 245, 196, 0.4), transparent 64%),
    radial-gradient(circle at 55% 50%, rgba(255, 255, 255, 0.18), transparent 62%);
  filter: blur(36px);
  opacity: 0.75;
  z-index: -2;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .hero-brand-depth {
    display: block;
    -webkit-mask-image: var(--hero-logo);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--hero-logo);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  .hero-brand-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(106, 245, 196, 0.3), rgba(91, 200, 255, 0.2));
    opacity: 0.7;
    mix-blend-mode: screen;
    transform: translateZ(18px);
    pointer-events: none;
    -webkit-mask-image: var(--hero-logo);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--hero-logo);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }
}

@keyframes hero-logo-float {
  0% {
    transform: perspective(1200px) rotateX(8deg) rotateY(-12deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateX(10deg) rotateY(-8deg) translateY(-6px);
  }
  100% {
    transform: perspective(1200px) rotateX(8deg) rotateY(-12deg) translateY(0);
  }
}

.hero-prime-kicker {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(106, 245, 196, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.45);
  background: rgba(6, 10, 18, 0.65);
  width: fit-content;
}

.hero-prime-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 10px rgba(106, 245, 196, 0.6);
}

.hero-cta-reward {
  position: relative;
  overflow: hidden;
}

.hero-cta-reward::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: hero-cta-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-cta-shine {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

body.low-power .hero-brand-mark {
  animation: none;
  transform: none;
}

body.low-power .hero-brand-mark img {
  transform: none;
}

body.low-power .hero-brand-mark::after {
  transform: none;
}

body.low-power .hero-brand-depth {
  transform: translate(4px, 4px);
  filter: blur(4px);
}

body.low-power .hero-cta-reward::after {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-mark {
    animation: none;
    transform: none;
  }

  .hero-brand-mark img {
    transform: none;
  }

  .hero-brand-mark::after {
    transform: none;
  }

  .hero-brand-depth {
    transform: translate(4px, 4px);
    filter: blur(4px);
  }

  .hero-cta-reward::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-brand-mark {
    width: clamp(120px, 36vw, 190px);
    transform: none;
  }

  .hero-brand-mark img {
    transform: none;
  }

  .hero-brand-stack {
    justify-items: center;
  }
}

.hero-prime-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.02;
  margin: 4px 0 0;
  text-shadow: none;
}

@supports (-webkit-background-clip: text) {
  .hero-prime-title {
    background: linear-gradient(94deg, rgba(255, 255, 255, 0.98), rgba(123, 158, 255, 0.96), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-prime-lead {
  color: rgba(232, 240, 255, 0.92);
  font-size: 17px;
  max-width: 640px;
  margin: 0;
}

.hero-prime-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-prime-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.hero-prime-metric {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 28px rgba(6, 10, 18, 0.35);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 4px;
}

.hero-prime-metric span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-prime-metric strong {
  font-size: 20px;
  letter-spacing: 0.3px;
}

.hero-prime-metric small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-prime-visual {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  position: relative;
  z-index: 2;
  justify-self: end;
}

.hero-prime-visual::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.2), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(106, 245, 196, 0.16), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.hero-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-auto-rows: minmax(0, auto);
  gap: 18px;
  align-items: stretch;
  position: relative;
  width: min(940px, 66vw);
  max-width: 100%;
}

.hero-command-grid.hero-command-solo {
  grid-template-columns: minmax(0, 1fr);
  width: min(920px, 66vw);
}

.hero-command-grid.hero-command-solo .hero-command-primary {
  grid-row: auto;
}

.hero-command-grid::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(106, 245, 196, 0.25), transparent 45%),
    radial-gradient(circle at 80% 12%, rgba(91, 200, 255, 0.2), transparent 45%),
    linear-gradient(130deg, rgba(91, 200, 255, 0.18), transparent 55%),
    linear-gradient(-25deg, rgba(106, 245, 196, 0.12), transparent 60%),
    repeating-linear-gradient(135deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(18deg, rgba(106, 245, 196, 0.05) 0 1px, transparent 1px 200px);
  opacity: 0.56;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
  animation: command-field-drift 30s linear infinite;
}

.hero-command-card {
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(91, 200, 255, 0.5);
  background:
    radial-gradient(circle at 18% 12%, rgba(91, 200, 255, 0.2), transparent 46%),
    radial-gradient(circle at 82% 18%, rgba(106, 245, 196, 0.18), transparent 52%),
    linear-gradient(160deg, rgba(14, 24, 40, 0.98), rgba(6, 10, 18, 0.98));
  box-shadow: 0 60px 160px rgba(0, 0, 0, 0.8), 0 0 45px rgba(91, 200, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

.hero-command-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 12%, rgba(106, 245, 196, 0.22), transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(91, 200, 255, 0.24), transparent 48%),
    radial-gradient(circle at 20% 90%, rgba(255, 210, 125, 0.18), transparent 55%),
    conic-gradient(from 120deg, rgba(91, 200, 255, 0.12), rgba(106, 245, 196, 0.1), rgba(255, 210, 125, 0.12), rgba(91, 200, 255, 0.12)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px);
  opacity: 0.65;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: command-ambient 22s linear infinite;
  z-index: 1;
}

.hero-command-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(91, 200, 255, 0.18);
  opacity: 0.9;
  z-index: 1;
}

.hero-command-primary {
  grid-row: span 2;
  border-color: rgba(106, 245, 196, 0.55);
  background:
    radial-gradient(circle at 15% 15%, rgba(106, 245, 196, 0.18), transparent 52%),
    radial-gradient(circle at 80% 20%, rgba(91, 200, 255, 0.18), transparent 56%),
    radial-gradient(circle at 75% 85%, rgba(255, 210, 125, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(16, 28, 46, 0.98), rgba(6, 10, 18, 0.98));
  box-shadow: inset 0 2px 0 rgba(106, 245, 196, 0.55), 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-command-auth {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-command-relay {
  border-color: rgba(91, 200, 255, 0.45);
}

.hero-command-signal {
  border-color: rgba(167, 123, 255, 0.4);
}

.hero-command-card > * {
  position: relative;
  z-index: 2;
}

.hero-command-top {
  display: grid;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(91, 200, 255, 0.12);
  position: relative;
}

.hero-command-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 245, 196, 0.6), rgba(91, 200, 255, 0.45), transparent);
  opacity: 0.6;
}

.hero-command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

.hero-command-main,
.hero-command-side {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.08), transparent 55%),
    linear-gradient(170deg, rgba(12, 20, 34, 0.94), rgba(6, 10, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 44px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
}

.hero-command-side {
  border-color: rgba(91, 200, 255, 0.2);
  background:
    radial-gradient(circle at 80% 20%, rgba(91, 200, 255, 0.08), transparent 55%),
    linear-gradient(170deg, rgba(12, 18, 30, 0.92), rgba(6, 10, 18, 0.98));
}

.hero-command-main::before,
.hero-command-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 120px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-command-main::after,
.hero-command-side::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  opacity: 0.7;
}

.hero-command-form {
  gap: 12px;
}

.hero-command-head {
  display: grid;
  gap: 6px;
}

.hero-command-head strong {
  font-size: 26px;
  letter-spacing: 0.4px;
  color: rgba(245, 249, 255, 0.98);
}

@supports (-webkit-background-clip: text) {
  .hero-command-head strong {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(123, 158, 255, 0.95), rgba(106, 245, 196, 0.95));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-command-head .muted {
  font-size: 14px;
  color: rgba(159, 179, 209, 0.82);
}

.hero-command-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(8, 12, 20, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-command-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-command-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-command-offer {
  display: grid;
  gap: 4px;
  padding: 12px 18px 12px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(10, 16, 28, 0.9), rgba(6, 10, 18, 0.94));
  text-decoration: none;
  color: rgba(232, 240, 255, 0.92);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hero-command-offer::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--offer-accent, linear-gradient(180deg, rgba(106, 245, 196, 0.8), rgba(91, 200, 255, 0.5)));
  opacity: 0.85;
}

.hero-command-offer::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(232, 240, 255, 0.5);
  border-bottom: 2px solid rgba(232, 240, 255, 0.5);
  transform: rotate(-45deg);
  opacity: 0.6;
}

.hero-command-offer span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(159, 179, 209, 0.8);
}

.hero-command-offer strong {
  font-size: 18px;
  letter-spacing: 0.3px;
}

.hero-command-offer small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-command-offer:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 200, 255, 0.4);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  background: linear-gradient(160deg, rgba(12, 20, 32, 0.96), rgba(6, 10, 18, 0.96));
}

.hero-command-offer.is-game {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: inset 0 0 0 1px rgba(106, 245, 196, 0.12);
  --offer-accent: linear-gradient(180deg, rgba(106, 245, 196, 0.9), rgba(45, 194, 168, 0.6));
}

.hero-command-offer.is-vps {
  border-color: rgba(91, 200, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(91, 200, 255, 0.12);
  --offer-accent: linear-gradient(180deg, rgba(91, 200, 255, 0.95), rgba(66, 149, 255, 0.65));
}

.hero-command-offer.is-web {
  border-color: rgba(255, 210, 125, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 125, 0.12);
  --offer-accent: linear-gradient(180deg, rgba(255, 210, 125, 0.95), rgba(255, 180, 90, 0.65));
}

.hero-command-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-command-rail {
  display: grid;
  gap: 8px;
}

.hero-command-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, rgba(12, 20, 32, 0.88), rgba(7, 10, 18, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.hero-command-rail-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.7), rgba(91, 200, 255, 0.45));
  opacity: 0.8;
}

.hero-command-rail-item strong {
  font-size: 12px;
  letter-spacing: 0.3px;
}

.hero-command-rail-item span {
  color: rgba(159, 179, 209, 0.75);
  font-size: 11px;
}

.hero-command-grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-command-span {
  grid-column: 1 / -1;
}

.hero-command-check {
  font-size: 11px;
  letter-spacing: 0.3px;
}

.hero-command-check span {
  font-size: 12px;
}

.hero-command-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.hero-command-module {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 200, 255, 0.12), transparent 55%),
    linear-gradient(155deg, rgba(12, 20, 32, 0.92), rgba(7, 10, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 22px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-command-module::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(106, 245, 196, 0.7), rgba(91, 200, 255, 0.5), transparent);
  opacity: 0.6;
}

.hero-command-module span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(159, 179, 209, 0.85);
}

.hero-command-module strong {
  font-size: 17px;
}

.hero-command-module small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-command-relay-list {
  display: grid;
  gap: 8px;
}

.hero-command-relay-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(91, 200, 255, 0.16);
  font-size: 13px;
}

.hero-command-relay-line:last-child {
  border-bottom: none;
}

.hero-command-relay-line span {
  color: rgba(232, 240, 255, 0.9);
}

.hero-command-relay-line small {
  color: rgba(159, 179, 209, 0.75);
  margin-left: auto;
}

.hero-command-relay-line::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 6px;
  background: linear-gradient(90deg, rgba(106, 245, 196, 0.9), rgba(91, 200, 255, 0.6));
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.2);
  transform: rotate(-18deg);
  flex: 0 0 auto;
}

.hero-command-kpis,
.hero-command-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-command-kpis span,
.hero-command-signal-item span {
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.8);
}

.hero-command-kpis strong,
.hero-command-signal-item strong {
  font-size: 18px;
  letter-spacing: 0.2px;
}

.hero-command-signal-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.12);
  overflow: hidden;
}

.hero-command-signal-bar span {
  display: block;
  height: 100%;
  width: 74%;
  background: linear-gradient(90deg, rgba(106, 245, 196, 0.85), rgba(91, 200, 255, 0.6));
  animation: shimmer 6s linear infinite;
}

.hero-home.hero-prime .hero-prime-visual {
  align-content: center;
  justify-items: stretch;
  min-height: 520px;
  padding: 8px 0;
}

.hero-prime-gift {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(106, 245, 196, 0.38);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.16), rgba(91, 200, 255, 0.12));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-prime-gift-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(106, 245, 196, 0.45);
  background: rgba(10, 14, 22, 0.85);
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.22);
}

.hero-prime-gift-icon .tick-coin-icon {
  width: 26px;
  height: 26px;
}

.hero-prime-gift-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-prime-gift-body strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

.hero-prime-gift-body span {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.82);
}

.hero-prime-gift-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.5);
  background: rgba(10, 14, 22, 0.7);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(232, 240, 255, 0.95);
}

.hero-join-card {
  width: min(420px, 100%);
  max-width: 420px;
  position: relative;
  z-index: 2;
  border-color: rgba(106, 245, 196, 0.45);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.9), rgba(6, 8, 14, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-join-card::before {
  content: "";
  position: absolute;
  inset: -28% 25% 45% -35%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.25), transparent 62%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-join-head {
  display: grid;
  gap: 6px;
}

.hero-join-head strong {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.hero-join-head .muted {
  font-size: 13px;
}

.hero-join-reward {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(106, 245, 196, 0.3);
  background: rgba(9, 13, 20, 0.75);
  font-size: 12px;
  color: rgba(232, 240, 255, 0.92);
}

.hero-join-span {
  grid-column: 1 / -1;
}

.hero-join-check {
  font-size: 11px;
  letter-spacing: 0.3px;
}

.hero-join-check span {
  font-size: 12px;
}

.hero-coin-stack-float {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%) perspective(1200px) rotateY(-4deg) rotateX(3deg);
  opacity: 0.58;
  filter: saturate(1.08);
  z-index: 1;
  pointer-events: none;
}

.hero-coin-stack {
  position: relative;
  width: min(520px, 42vw);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.22), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 75%, rgba(106, 245, 196, 0.22), transparent 60%);
  border: 1px solid rgba(91, 200, 255, 0.4);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65), 0 0 42px rgba(91, 200, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: holo-float 12s ease-in-out infinite;
}

.hero-coin-stack::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(91, 200, 255, 0.35), transparent 55%);
  filter: blur(70px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-coin-halo {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 20deg, rgba(91, 200, 255, 0.2), rgba(106, 245, 196, 0.18), rgba(167, 123, 255, 0.16), rgba(91, 200, 255, 0.2));
  filter: blur(60px);
  opacity: 0.55;
  animation: spin 28s linear infinite;
  pointer-events: none;
}

.hero-coin-grid {
  position: absolute;
  inset: 10%;
  border-radius: 22px;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.12) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-coin-ring {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.35);
  box-shadow: 0 0 30px rgba(91, 200, 255, 0.2);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.hero-coin-ring.ring-2 {
  inset: 28%;
  border-color: rgba(106, 245, 196, 0.4);
  animation-duration: 26s;
}

.hero-coin-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px solid rgba(106, 245, 196, 0.5);
  background: radial-gradient(circle at 35% 30%, rgba(106, 245, 196, 0.55), rgba(8, 12, 18, 0.96));
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 26px rgba(106, 245, 196, 0.35);
  transform: translateZ(30px);
}

.hero-coin-icon {
  width: clamp(72px, 12vw, 120px);
  height: clamp(72px, 12vw, 120px);
  box-shadow: 0 0 22px rgba(106, 245, 196, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-prime-orb {
  position: relative;
  width: min(430px, 42vw);
  aspect-ratio: 1 / 1.12;
  border-radius: 26px;
  background:
    radial-gradient(circle at 28% 20%, rgba(91, 200, 255, 0.2), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 75%, rgba(167, 123, 255, 0.22), transparent 60%);
  border: 1px solid rgba(91, 200, 255, 0.36);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65), 0 0 38px rgba(91, 200, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  animation: holo-float 14s ease-in-out infinite;
}

.hero-prime-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 18%, rgba(106, 245, 196, 0.18), transparent 50%),
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.1) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.24;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-prime-orb::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(91, 200, 255, 0.28), transparent 50%);
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-prime-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.3);
  box-shadow: 0 0 30px rgba(91, 200, 255, 0.2);
  animation: spin 18s linear infinite;
  pointer-events: none;
  transform: translateZ(10px);
}

.hero-prime-ring.ring-2 {
  inset: 24%;
  border-color: rgba(167, 123, 255, 0.35);
  animation-duration: 24s;
}

.hero-prime-core {
  position: absolute;
  inset: 34% 32% 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.1));
  filter: blur(8px);
  opacity: 0.78;
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-prime-image {
  position: absolute;
  inset: 8% 12% 34%;
  background-image: var(--hero-prime-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(91, 200, 255, 0.35));
  transform: translateZ(30px);
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero-prime-panel {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(160deg, rgba(10, 14, 24, 0.92), rgba(6, 10, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 8px;
  transform: translateZ(24px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-prime-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.hero-prime-panel-row span {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-prime-panel-row strong {
  font-size: 13px;
  letter-spacing: 0.2px;
}

.hero-prime-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-prime-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(10, 14, 24, 0.7);
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > * {
  animation: hero-rise 0.6s ease both;
}

body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > *:nth-child(1) { animation-delay: 0.05s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > *:nth-child(2) { animation-delay: 0.12s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > *:nth-child(3) { animation-delay: 0.18s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > *:nth-child(4) { animation-delay: 0.24s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-prime .hero-prime-copy > *:nth-child(5) { animation-delay: 0.3s; }

.hero-home-showcase {
  display: grid;
  gap: 20px;
  justify-items: stretch;
  align-content: start;
}

.hero-holo-figure {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.18), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 70%, rgba(167, 123, 255, 0.18), transparent 55%);
  border: 1px solid rgba(91, 200, 255, 0.3);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65), 0 0 38px rgba(91, 200, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  justify-self: end;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-holo-brand {
  border-color: rgba(106, 245, 196, 0.32);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65), 0 0 44px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-holo-orbit {
  position: absolute;
  inset: 14% 18% 32%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.25);
  box-shadow: 0 0 30px rgba(91, 200, 255, 0.18);
  transform: translateZ(10px);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.hero-holo-core {
  position: absolute;
  inset: 28% 30% 44%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.08));
  filter: blur(8px);
  opacity: 0.75;
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-holo-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 18%, rgba(106, 245, 196, 0.18), transparent 50%),
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.26;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-holo-figure::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 40% 20%, rgba(91, 200, 255, 0.25), transparent 45%);
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-holo-beam {
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0 35%, rgba(91, 200, 255, 0.22) 45%, transparent 60% 100%);
  opacity: 0.6;
  animation: holo-scan 8s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-holo-image {
  position: absolute;
  inset: 6% 10% 24%;
  background-image: var(--hero-holo-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(91, 200, 255, 0.35));
  transform: translateZ(30px);
  opacity: 0.95;
  mix-blend-mode: screen;
}

.hero-holo-brand .hero-holo-image {
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 32px rgba(106, 245, 196, 0.3));
  transform: translateZ(36px) scale(1.02);
}

.hero-holo-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-holo-base {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.82), rgba(6, 8, 14, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 10px;
  overflow: hidden;
  transform: translateZ(22px);
}

.hero-holo-base::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-holo-base::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(106, 245, 196, 0.6), rgba(91, 200, 255, 0.25), transparent);
  opacity: 0.65;
  mix-blend-mode: screen;
  animation: holo-scan 8s linear infinite;
  pointer-events: none;
}

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

@media (hover: hover) {
  .hero-holo-figure:hover {
    transform: perspective(1200px) rotateY(-3deg) rotateX(4deg) translateY(-6px);
    border-color: rgba(91, 200, 255, 0.55);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.7), 0 0 60px rgba(91, 200, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .hero-holo-figure:hover .hero-holo-orbit {
    box-shadow: 0 0 44px rgba(91, 200, 255, 0.35);
  }

  .hero-holo-figure:hover .hero-holo-core {
    opacity: 0.9;
  }
}

.hero-holo-base-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hero-holo-base-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hero-holo-base-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-fast-register {
  width: 100%;
  max-width: 520px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.82), rgba(6, 8, 14, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 12px;
}

.hero-fast-register-head strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-fast-register .auth-form {
  gap: 10px;
}

.hero-fast-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-fast-register-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-fast-register-foot {
  margin: 0;
  font-size: 12px;
}

.hero-fast-register-logged {
  text-align: left;
}

.hero-neo {
  background:
    radial-gradient(circle at 18% 18%, rgba(91, 200, 255, 0.18), transparent 45%),
    radial-gradient(circle at 82% 70%, rgba(106, 245, 196, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.96));
}

.hero-neo.hero-vps {
  background:
    radial-gradient(circle at 20% 18%, rgba(167, 123, 255, 0.22), transparent 48%),
    radial-gradient(circle at 78% 72%, rgba(91, 200, 255, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.96));
}

.hero-neo.hero-web {
  background:
    radial-gradient(circle at 22% 18%, rgba(106, 245, 196, 0.24), transparent 50%),
    radial-gradient(circle at 76% 68%, rgba(91, 200, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.96));
}

.hero-slide-neo {
  background:
    radial-gradient(circle at 22% 18%, rgba(91, 200, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(167, 123, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.98));
}

.hero-slide-neo.hero-vps-slide {
  background:
    radial-gradient(circle at 22% 20%, rgba(167, 123, 255, 0.26), transparent 56%),
    radial-gradient(circle at 78% 68%, rgba(91, 200, 255, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.98));
}

.hero-slide-neo.hero-web-slide {
  background:
    radial-gradient(circle at 24% 22%, rgba(106, 245, 196, 0.28), transparent 58%),
    radial-gradient(circle at 78% 60%, rgba(91, 200, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.98));
}

.hero-slide-neo::after {
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.2), rgba(2, 4, 10, 0.7));
}

.hero-neo-sky {
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 30deg, rgba(91, 200, 255, 0.12), rgba(167, 123, 255, 0.12), rgba(106, 245, 196, 0.1), rgba(91, 200, 255, 0.12));
  opacity: 0.35;
  filter: blur(70px);
  animation: spin 52s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-neo.hero-vps .hero-neo-sky {
  background: conic-gradient(from 40deg, rgba(167, 123, 255, 0.14), rgba(91, 200, 255, 0.12), rgba(106, 245, 196, 0.08), rgba(167, 123, 255, 0.14));
}

.hero-neo.hero-web .hero-neo-sky {
  background: conic-gradient(from 20deg, rgba(106, 245, 196, 0.16), rgba(91, 200, 255, 0.12), rgba(167, 123, 255, 0.08), rgba(106, 245, 196, 0.16));
}

.hero-neo-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: start;
  gap: 40px;
}

.hero-neo-copy {
  display: grid;
  gap: 16px;
  max-width: 680px;
}

.hero-neo-kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-neo-badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.24), rgba(167, 123, 255, 0.16));
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-neo-badge.ghost {
  border-color: rgba(167, 123, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 255, 0.88);
}

.hero-neo-title {
  font-size: clamp(50px, 6.2vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.2px;
  margin: 6px 0 0;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

@supports (-webkit-background-clip: text) {
  .hero-neo-title {
    background: linear-gradient(92deg, rgba(255, 255, 255, 0.98), rgba(123, 158, 255, 0.95), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-neo-lead {
  color: rgba(232, 240, 255, 0.9);
  font-size: 17px;
  max-width: 660px;
  margin: 0;
}

.hero-neo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-neo-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-neo-highlights div {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.5));
  display: grid;
  gap: 4px;
}

.hero-neo-highlights span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-neo-highlights strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

.hero-neo-highlights small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.7);
}

.hero-neo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-neo-stat {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 4px;
}

.hero-neo-stat span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-neo-stat strong {
  font-size: 20px;
  letter-spacing: 0.3px;
}

.hero-neo-stat small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-neo-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-neo-link {
  color: rgba(159, 179, 209, 0.92);
  text-decoration: none;
}

.hero-neo-link:hover {
  color: rgba(232, 240, 255, 0.95);
}

.hero-neo-visual {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: center;
}

.hero-neo-holo {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 5 / 6;
  border-radius: 30px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.2), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 75%, rgba(106, 245, 196, 0.18), transparent 55%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(91, 200, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  animation: holo-float 10s ease-in-out infinite;
}

.hero-neo-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-neo-holo::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 40% 20%, rgba(91, 200, 255, 0.25), transparent 45%);
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-neo-orbit {
  position: absolute;
  inset: 12% 18% 34%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.25);
  box-shadow: 0 0 34px rgba(91, 200, 255, 0.22);
  transform: translateZ(12px);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.hero-neo-core {
  position: absolute;
  inset: 28% 30% 44%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.08));
  filter: blur(8px);
  opacity: 0.75;
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-neo-beam {
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0 35%, rgba(91, 200, 255, 0.22) 45%, transparent 60% 100%);
  opacity: 0.6;
  animation: holo-scan 8s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-neo-image {
  position: absolute;
  inset: 6% 10% 22%;
  background-image: var(--hero-neo-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 32px rgba(106, 245, 196, 0.3));
  transform: translateZ(40px) scale(1.04);
  opacity: 0.96;
}

.hero-neo-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-neo-shards {
  position: absolute;
  inset: 10% 12% 26%;
  pointer-events: none;
  transform: translateZ(26px);
}

.hero-neo-shards span {
  position: absolute;
  width: 42px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.45);
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.45), rgba(167, 123, 255, 0));
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.35);
  opacity: 0.75;
  animation: holo-drift 7s ease-in-out infinite;
}

.hero-neo-shards span:nth-child(1) {
  top: 6%;
  left: 14%;
  --rot: -12deg;
  animation-delay: 0s;
}

.hero-neo-shards span:nth-child(2) {
  top: 28%;
  right: 10%;
  --rot: 18deg;
  animation-delay: 1.4s;
}

.hero-neo-shards span:nth-child(3) {
  bottom: 22%;
  left: 6%;
  --rot: -22deg;
  animation-delay: 2.2s;
}

.hero-neo-shards span:nth-child(4) {
  bottom: 8%;
  right: 24%;
  --rot: 12deg;
  animation-delay: 3.4s;
}

.hero-neo-platform {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6%;
  height: 52px;
  border-radius: 28px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.12), rgba(4, 6, 12, 0.85));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(91, 200, 255, 0.2);
  overflow: hidden;
  pointer-events: none;
}

.hero-neo-platform span {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(91, 200, 255, 0.8), transparent);
  opacity: 0.65;
  animation: holo-scan 6s linear infinite;
}

.hero-neo-platform span:nth-child(1) { top: 14px; }
.hero-neo-platform span:nth-child(2) { top: 26px; animation-delay: 1.2s; }
.hero-neo-platform span:nth-child(3) { top: 38px; animation-delay: 2.4s; }

.hero-neo-base {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.82), rgba(6, 8, 14, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 10px;
}

.hero-neo-base-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.hero-neo-base-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hero-neo-console {
  width: 100%;
  max-width: 520px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.85), rgba(6, 8, 14, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 12px;
}

.hero-neo-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-neo-console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-neo-console-grid div {
  display: grid;
  gap: 4px;
}

.hero-neo-console-grid span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
}

.hero-neo-console-grid strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

.hero-neo-console-grid small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.7);
}

.hero-neo-console-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-neo-join {
  width: 100%;
  max-width: 520px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.82), rgba(6, 8, 14, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 12px;
}

.hero-neo-panel-head {
  display: grid;
  gap: 6px;
}

.hero-neo-panel-head p {
  margin: 0;
}

.hero-neo-panel-head strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-neo-form {
  gap: 10px;
}

.hero-neo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-neo-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-neo-panel-foot {
  margin: 0;
  font-size: 12px;
}

.hero-future {
  background:
    radial-gradient(circle at 18% 18%, rgba(91, 200, 255, 0.18), transparent 45%),
    radial-gradient(circle at 82% 70%, rgba(106, 245, 196, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.96));
}

.hero-slide-future {
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(167, 123, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.6), rgba(4, 6, 12, 0.98));
}

.hero-slide-future::after {
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.25), rgba(2, 4, 10, 0.7));
}

.hero-home.hero-future .hero-slide {
  display: grid;
  align-content: center;
  min-height: 100svh;
}

.hero-future-scan {
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0 40%, rgba(91, 200, 255, 0.18) 50%, transparent 60% 100%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: hero-scan 10s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-home.hero-future .hero-slide-inner {
  position: relative;
  z-index: 2;
}

body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > * {
  animation: hero-rise 0.6s ease both;
}

body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(1) { animation-delay: 0.05s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(2) { animation-delay: 0.12s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(3) { animation-delay: 0.18s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(4) { animation-delay: 0.24s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(5) { animation-delay: 0.3s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(6) { animation-delay: 0.36s; }
body[data-page="home"].home-ready:not(.low-power) .hero-home.hero-future .hero-future-copy > *:nth-child(7) { animation-delay: 0.42s; }

.hero-future-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(var(--hud-height) + 18px + var(--safe-bottom));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.4);
  background: rgba(8, 12, 20, 0.75);
  color: rgba(224, 235, 255, 0.92);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 18px rgba(91, 200, 255, 0.2);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 3;
}

.hero-future-scroll::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.7;
  pointer-events: none;
}

.hero-future-scroll-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(106, 245, 196, 0.85);
  border-bottom: 2px solid rgba(106, 245, 196, 0.85);
  transform: rotate(45deg);
  animation: hero-scroll 1.8s ease-in-out infinite;
}

.hero-future-scroll:hover {
  border-color: rgba(91, 200, 255, 0.8);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 26px rgba(91, 200, 255, 0.3);
}

.hero-future-scroll.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

.hero-slide-future .hero-gridline {
  z-index: 2;
}

.hero-future-aurora {
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 40deg, rgba(91, 200, 255, 0.12), rgba(167, 123, 255, 0.12), rgba(106, 245, 196, 0.1), rgba(91, 200, 255, 0.12));
  opacity: 0.35;
  filter: blur(70px);
  animation: spin 52s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-future-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 520px);
  align-items: center;
  gap: 30px;
}

.hero-home.hero-future .hero-slide-inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 520px);
  align-items: center;
}

.hero-future-copy {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.hero-future-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-future-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.24), rgba(167, 123, 255, 0.16));
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-future-chip.ghost {
  border-color: rgba(167, 123, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 255, 0.88);
}

.hero-future-title {
  font-size: clamp(50px, 6.1vw, 98px);
  line-height: 1.02;
  letter-spacing: 0.2px;
  margin: 6px 0 0;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1200px) {
  .hero-home.hero-future .hero-slide-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 440px);
    gap: 24px;
  }
  .hero-holo-figure.hero-holo-future {
    width: min(440px, 100%);
  }
  .hero-future-title {
    font-size: clamp(42px, 5.4vw, 68px);
  }
}

@supports (-webkit-background-clip: text) {
  .hero-future-title {
    background: linear-gradient(92deg, rgba(255, 255, 255, 0.98), rgba(123, 158, 255, 0.95), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-future-lead {
  color: rgba(232, 240, 255, 0.92);
  font-size: 18px;
  max-width: 660px;
  margin: 0;
}

.hero-future-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.9);
}

.hero-future-highlights span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: rgba(8, 12, 20, 0.65);
}

.hero-future-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-future-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-future-link {
  color: rgba(159, 179, 209, 0.92);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(0, 0, 0, 0.3);
}

.hero-future-link:hover {
  color: rgba(232, 240, 255, 0.95);
  border-color: rgba(91, 200, 255, 0.5);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.22);
}

.hero-future-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.9);
}

.hero-future-summary span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(8, 12, 20, 0.7);
}

.hero-future-tags { display: none; }

.hero-future-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hero-future-metric {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 4px;
}

.hero-future-metric span {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-future-metric strong {
  font-size: 20px;
  letter-spacing: 0.3px;
}

.hero-future-metric small {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.hero-future-visual {
  display: grid;
  gap: 12px;
  justify-items: end;
  align-content: center;
  position: relative;
  z-index: 2;
  padding-left: clamp(8px, 2vw, 26px);
  max-width: 520px;
  width: 100%;
  justify-self: end;
  isolation: isolate;
}

.hero-holo-figure.hero-holo-future {
  width: min(520px, 100%);
  aspect-ratio: 5 / 6;
  border-radius: 30px;
  border-color: rgba(91, 200, 255, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.2), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 75%, rgba(106, 245, 196, 0.18), transparent 55%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65), 0 0 50px rgba(91, 200, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

.hero-holo-future .hero-holo-orbit {
  inset: 12% 18% 34%;
  box-shadow: 0 0 34px rgba(91, 200, 255, 0.22);
}

.hero-holo-future .hero-holo-image {
  inset: 6% 10% 22%;
  transform: translateZ(40px) scale(1.04);
  opacity: 0.97;
}

.hero-holo-future .hero-holo-base {
  border-color: rgba(91, 200, 255, 0.4);
}

.hero-future-console {
  width: 100%;
  max-width: 520px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.85), rgba(6, 8, 14, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 12px;
}

.hero-future-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.hero-future-console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-future-console-grid div {
  display: grid;
  gap: 4px;
}

.hero-future-console-grid span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
}

.hero-future-console-grid strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

.hero-future-console-grid small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.7);
}

.hero-future-console-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-future-panel {
  width: 100%;
  max-width: 520px;
}

.hero-future-panel-head {
  display: grid;
  gap: 6px;
}

.hero-future-panel-head p {
  margin: 0;
}

.hero-future-panel-head strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-future-form {
  gap: 10px;
}

.hero-future-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-future-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-future-panel-foot {
  margin: 0;
  font-size: 12px;
}

.hero-home-stats strong {
  font-weight: 800;
}

.hero-home .hero-dots {
  margin-top: 14px;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65));
}

.hero-slide-holo::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image:
    radial-gradient(circle at 35% 20%, rgba(91, 200, 255, 0.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(167, 123, 255, 0.18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
  opacity: 0.18;
  filter: blur(0);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.hero-slide .content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-slide .content h1 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.2px;
  margin-top: 6px;
  color: rgba(245, 249, 255, 0.98);
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

@supports (-webkit-background-clip: text) {
  .hero-slide .content h1 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(123, 158, 255, 0.95), rgba(106, 245, 196, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-gridline {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(91, 200, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 0 40px rgba(91, 200, 255, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  animation: grid-breathe 10s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  pointer-events: none;
  mix-blend-mode: screen;
  justify-self: center;
}

.hero-visual .holo-sphere,
.hero-visual .holo-ring,
.hero-visual .holo-stat {
  mix-blend-mode: screen;
}

.hero-visual .holo-sphere {
  inset: 20% 10%;
}

.hero-visual .holo-stat {
  right: 10px;
}

.hero-visual .holo-chip {
  bottom: 12px;
}

.hero-visual .beam {
  position: absolute;
  width: 120%;
  height: 4px;
  left: -10%;
  top: 40%;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.5), rgba(167, 123, 255, 0));
  filter: drop-shadow(0 0 16px rgba(91, 200, 255, 0.5));
  animation: pulse 4s ease-in-out infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hero-stat-card {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.4));
  font-size: 13px;
  letter-spacing: 0.4px;
}

.hero-copy {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.hero-copy p {
  margin: 0;
}

.hero-copy p:not(.muted) {
  color: rgba(232, 240, 255, 0.92);
  font-size: 16px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.hero-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.hero-card p {
  margin: 0;
}

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

.modal-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.85), rgba(6, 8, 14, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.modal-card:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 26px rgba(91, 200, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-card .icon {
  font-size: 22px;
  margin-bottom: 6px;
}
.modal-card .fa-icon {
  width: 24px;
  height: 24px;
}

.modal-card.vps-choice {
  border-color: color-mix(in srgb, var(--modal-accent, #5bc8ff) 60%, rgba(255, 255, 255, 0.12));
  background: linear-gradient(180deg, rgba(18, 36, 60, 0.88), rgba(12, 24, 44, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 26px rgba(10, 18, 32, 0.3);
}

.modal-card.vps-choice .icon {
  color: var(--modal-accent, #5bc8ff);
}

.modal-card .modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.modal-card .modal-tags .badge {
  font-size: 10px;
  padding: 4px 8px;
  border-color: color-mix(in srgb, var(--modal-accent, #5bc8ff) 55%, rgba(255, 255, 255, 0.18));
  color: var(--modal-accent, #5bc8ff);
  background: rgba(8, 14, 24, 0.45);
}

/* Auth */
.auth-hero {
  min-height: 100vh;
  min-height: 100svh;
}

.auth-shell {
  width: min(1080px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: slide-up 0.5s ease both;
}

.auth-hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  background:
    radial-gradient(circle at 20% 30%, rgba(91, 200, 255, 0.22), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(106, 245, 196, 0.18), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.auth-shell::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 200, 255, 0.25), transparent 65%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.auth-shell > * {
  position: relative;
  z-index: 1;
}

.auth-side {
  padding: 0 6px;
}

.auth-side h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.auth-side-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.auth-side-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.auth-side-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.75);
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-side-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.2), rgba(10, 14, 22, 0.85));
  color: rgba(106, 245, 196, 0.9);
  border: 1px solid rgba(91, 200, 255, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-side-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.08), rgba(8, 12, 20, 0.95));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.05) 0 1px, transparent 1px 18px);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: holo-grid 12s linear infinite;
  pointer-events: none;
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(167, 123, 255, 0.14), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

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

.auth-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.auth-card-head h2 {
  margin: 0;
}

.auth-card-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-switch-link {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(8, 12, 20, 0.6);
  color: rgba(159, 179, 209, 0.9);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-switch-link.active {
  border-color: rgba(106, 245, 196, 0.65);
  color: rgba(232, 240, 255, 0.98);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.2), rgba(91, 200, 255, 0.12));
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.2);
}

.auth-form-panel {
  margin-top: 16px;
}

.auth-card-footer {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.auth-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.auth-checkbox span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.auth-alert {
  margin-top: 12px;
}

.auth-alert.success {
  border-color: rgba(106, 245, 196, 0.35);
}

.auth-alert.danger {
  border-color: rgba(255, 90, 90, 0.35);
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
    padding: 90px 0 80px;
  }
  .auth-side {
    text-align: center;
  }
  .auth-side-badges {
    justify-content: center;
  }
  .auth-card-switch {
    width: 100%;
  }
  .auth-side-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* Admin */
.admin-hero {
  min-height: 100svh;
  padding: clamp(72px, 10vh, 120px) 0 clamp(60px, 8vh, 110px);
  align-items: start;
  overflow: visible;
}

body[data-page="admin"] .admin-hero {
  padding: clamp(64px, 9vh, 110px) 0 clamp(50px, 7vh, 96px);
}

.admin-hero::before,
.client-hero::before {
  content: "";
  position: absolute;
  inset: -140px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(91, 200, 255, 0.06) 0,
      rgba(91, 200, 255, 0.06) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(167, 123, 255, 0.05) 0,
      rgba(167, 123, 255, 0.05) 1px,
      transparent 1px,
      transparent 44px
    );
  opacity: 0.14;
  mix-blend-mode: screen;
  transform: translate3d(-40px, -40px, 0) rotate(-12deg);
  animation: holo-grid-scroll 30s linear infinite;
  pointer-events: none;
  -webkit-mask: radial-gradient(circle at 35% 30%, #000 0 40%, transparent 72%);
  mask: radial-gradient(circle at 35% 30%, #000 0 40%, transparent 72%);
}

.client-hero::before {
  opacity: 0.16;
  -webkit-mask: radial-gradient(circle at 55% 28%, #000 0 42%, transparent 74%);
  mask: radial-gradient(circle at 55% 28%, #000 0 42%, transparent 74%);
}

.admin-hero::after {
  content: "";
  position: absolute;
  inset: -120px;
  background: radial-gradient(circle at 70% 10%, rgba(91, 200, 255, 0.18), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.admin-savebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--hud-height) + 16px + var(--safe-bottom));
  z-index: 55;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.admin-savebar-inner {
  pointer-events: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 206, 91, 0.28);
  background: rgba(12, 16, 28, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-savebar-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-savebar-title strong {
  font-size: 13px;
}

.admin-savebar-title small {
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 961px) {
  body[data-page="admin"] { --hud-height: 148px; }
}

.ptero-vars-grid {
  display: grid;
  gap: 12px;
}

.ptero-var-card {
  border: 1px solid rgba(140, 220, 255, 0.18);
  background: rgba(11, 20, 34, 0.75);
}

.ptero-var-card .admin-actions {
  justify-content: flex-end;
}

.admin-toolbar {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.78), rgba(6, 8, 14, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-toolbar {
  padding: 10px 12px;
  border-radius: 14px;
}

body[data-page="admin"] .admin-card > .admin-toolbar {
  margin-bottom: 14px;
}

.admin-toolbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.admin-search {
  display: grid;
  gap: 6px;
  min-width: 240px;
}

body[data-page="admin"] .admin-search {
  min-width: 200px;
}

.admin-search-input {
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
  color: var(--text);
  outline: none;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body[data-page="admin"] .admin-search-input {
  border-color: rgba(91, 200, 255, 0.35);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
}

.admin-search-input:focus {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="admin"] .admin-search-input:focus {
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.2);
}

.admin-field-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-field-row > input,
.admin-field-row > select,
.admin-field-row > textarea {
  flex: 1 1 auto;
}

.admin-field-row .button-primary,
.admin-field-row .button-ghost {
  padding: 10px 12px;
  border-radius: 12px;
}

.admin-password-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-password-input {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: rgba(6, 10, 18, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-password-input:focus-within {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.16);
}

.admin-password-input input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  color: inherit;
}

.admin-password-input input:focus {
  outline: none;
}

.admin-password-toggle {
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.admin-password-generate {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.admin-grid {
  --admin-col-min: 360px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(var(--admin-col-min), 1fr));
}

.admin-grid.tight { gap: 12px; }
.admin-grid.compact { gap: 12px; }
.admin-grid.mini { gap: 10px; }

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

body[data-page="admin"] .admin-actions {
  gap: 8px;
  row-gap: 8px;
}

.admin-actions.between { justify-content: space-between; }
.admin-actions.end { justify-content: flex-end; }

.admin-caption {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.9);
}

.admin-toolbar-meta {
  font-size: 12px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.admin-page-head .admin-page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-alert {
  --admin-alert-rgb: 91, 200, 255;
  position: relative;
  overflow: hidden;
}

.admin-alert::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--admin-alert-rgb), 0.14), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.admin-alert > * {
  position: relative;
  z-index: 1;
}

.admin-alert.success {
  --admin-alert-rgb: 106, 245, 196;
  border-color: rgba(106, 245, 196, 0.35);
}

.admin-alert.warning {
  --admin-alert-rgb: 255, 210, 125;
  border-color: rgba(255, 210, 125, 0.35);
}

.admin-alert.danger {
  --admin-alert-rgb: 255, 90, 90;
  border-color: rgba(255, 90, 90, 0.35);
}

.admin-shell .panel {
  padding: 16px;
  background: linear-gradient(180deg, rgba(14, 18, 32, 0.92), rgba(8, 10, 18, 0.96));
  border: 1px solid rgba(91, 200, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.admin-shell .panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.4), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

body[data-page="admin"] .admin-shell .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(91, 200, 255, 0.1), transparent 55%);
  opacity: 0.25;
  pointer-events: none;
}

body[data-page="admin"] .admin-shell .panel {
  padding: 14px;
  border-color: rgba(91, 200, 255, 0.18);
}

body[data-page="admin"] .admin-shell .panel > strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.4px;
}

body[data-page="admin"] .admin-shell .panel .panel {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-card {
  position: relative;
  overflow: hidden;
}

.admin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

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

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-section {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(167, 123, 255, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(10, 14, 24, 0.85), rgba(6, 10, 18, 0.9));
  padding: 12px;
  display: grid;
  gap: 10px;
  position: relative;
}

body[data-page="admin"] .admin-section {
  border-color: var(--admin-border);
  background: var(--admin-surface-2);
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-section-title {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.admin-section-note {
  font-size: 12px;
  color: rgba(158, 180, 212, 0.85);
}

body[data-page="admin"] .admin-section-note {
  color: var(--admin-muted);
}

.admin-section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

details.admin-section > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

details.admin-section > summary::-webkit-details-marker {
  display: none;
}

details.admin-section > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(158, 180, 212, 0.85);
  border-bottom: 2px solid rgba(158, 180, 212, 0.85);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details.admin-section[open] > summary::after {
  transform: rotate(-135deg);
}

.admin-form-grid {
  --admin-col-min: 200px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(var(--admin-col-min), 1fr));
}

.admin-form-grid.tight {
  gap: 10px;
}

.admin-form-grid.compact {
  --admin-col-min: 160px;
  gap: 10px;
}

.admin-inline-form {
  display: inline;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.admin-kpi {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.admin-kpi strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.admin-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

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

.admin-stack {
  display: grid;
  gap: 12px;
}

body[data-page="admin"] .settings-hero {
  padding: 18px 20px;
}

body[data-page="admin"] .settings-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body[data-page="admin"] .settings-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.9);
}

body[data-page="admin"] .settings-hero h2 {
  margin: 4px 0 0;
  font-size: 26px;
  line-height: 1.1;
}

body[data-page="admin"] .settings-hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="admin"] .settings-hero-stat {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(6, 10, 18, 0.55));
  min-width: 140px;
}

body[data-page="admin"] .settings-hero-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(159, 179, 209, 0.8);
}

body[data-page="admin"] .settings-hero-stat strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

body[data-page="admin"] .admin-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

body[data-page="admin"] .admin-settings-stack {
  display: grid;
  gap: 14px;
}

body[data-page="admin"] .settings-toggle-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

body[data-page="admin"] .settings-go-live {
  border-color: rgba(255, 122, 122, 0.35);
  background: linear-gradient(160deg, rgba(28, 12, 18, 0.7), rgba(10, 12, 18, 0.9));
}

body[data-page="admin"] .settings-go-live-core {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

body[data-page="admin"] .settings-go-live-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-page="admin"] .settings-go-live-users {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.12);
  background: rgba(6, 9, 14, 0.65);
}

body[data-page="admin"] .settings-go-live-user {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.14);
  background: rgba(10, 14, 22, 0.75);
}

body[data-page="admin"] .settings-go-live-user input {
  accent-color: rgba(106, 245, 196, 0.9);
}

body[data-page="admin"] .settings-go-live-user-meta {
  display: grid;
  gap: 4px;
}

body[data-page="admin"] .settings-go-live-user-badges {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

body[data-page="admin"] .settings-go-live-user.is-protected {
  border-color: rgba(255, 200, 120, 0.35);
  background: linear-gradient(135deg, rgba(24, 16, 10, 0.7), rgba(10, 14, 22, 0.75));
}

body[data-page="admin"] .settings-go-live-user.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

body[data-page="admin"] .settings-go-live-user strong {
  display: block;
  font-size: 13px;
}

body[data-page="admin"] .settings-go-live-extras {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

body[data-page="admin"] .button-danger {
  border-color: rgba(255, 122, 122, 0.5);
  background: linear-gradient(135deg, rgba(255, 122, 122, 0.2), rgba(255, 214, 140, 0.12));
  color: rgba(255, 232, 232, 0.95);
  box-shadow: 0 0 18px rgba(255, 122, 122, 0.2);
}

body[data-page="admin"] .settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(160deg, rgba(12, 16, 26, 0.78), rgba(6, 9, 16, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .settings-toggle-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body[data-page="admin"] .settings-toggle-info strong {
  font-size: 14px;
}

body[data-page="admin"] .settings-toggle-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="admin"] .settings-switch {
  position: relative;
  width: 48px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

body[data-page="admin"] .settings-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

body[data-page="admin"] .settings-switch-track {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(6, 10, 18, 0.85);
  display: block;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .settings-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(123, 158, 255, 0.9), rgba(106, 245, 196, 0.9));
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.35);
  transition: transform 0.2s ease;
}

body[data-page="admin"] .settings-switch input:checked + .settings-switch-track {
  border-color: rgba(106, 245, 196, 0.65);
  background: linear-gradient(135deg, rgba(106, 245, 196, 0.22), rgba(91, 200, 255, 0.18));
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.25);
}

body[data-page="admin"] .settings-switch input:checked + .settings-switch-track::after {
  transform: translateX(22px);
}

body[data-page="admin"] .settings-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body[data-page="admin"] .settings-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

body[data-page="admin"] .hud-audio-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

body[data-page="admin"] .hud-audio-row {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(12, 16, 26, 0.78), rgba(6, 9, 16, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .hud-audio-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
}

body[data-page="admin"] .hud-audio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="admin"] .hud-audio-default {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
}

body[data-page="admin"] .hud-audio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

body[data-page="admin"] .hud-audio-row input[type="radio"] {
  accent-color: #ffd27d;
}

@media (max-width: 1100px) {
  body[data-page="admin"] .admin-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body[data-page="admin"] .settings-hero-stats {
    width: 100%;
  }
  body[data-page="admin"] .settings-hero-stat {
    min-width: 120px;
  }
  body[data-page="admin"] .settings-toggle-row {
    flex-direction: column;
    align-items: flex-start;
  }
  body[data-page="admin"] .settings-toggle-actions {
    width: 100%;
    justify-content: space-between;
  }
  body[data-page="admin"] .hud-audio-fields {
    grid-template-columns: 1fr;
  }
}

.admin-provider-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-provider-card {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.admin-provider-card:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.3);
  box-shadow: 0 0 20px rgba(91, 200, 255, 0.18);
}

.admin-provider-card.active {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 24px rgba(91, 200, 255, 0.22);
}

.admin-provider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.admin-provider-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.admin-provider-meta {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.85);
}

.admin-provider-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(159, 179, 209, 0.9);
}

.admin-provider-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 90, 90, 0.85);
  box-shadow: 0 0 8px rgba(255, 90, 90, 0.35);
}

.admin-provider-status.ok .dot {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 10px rgba(106, 245, 196, 0.4);
}

.admin-provider-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-shell .admin-page-header {
  display: none;
}

html[data-admin-help="1"] .admin-shell .admin-page-header {
  display: block;
}

html[data-admin-help="1"] #admin-help-toggle {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.18);
}

.admin-page-header {
  padding: 14px;
}

.admin-page-header p {
  margin: 0;
}

.admin-page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.9);
}

.admin-page-header h2 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.admin-page-header p.muted {
  margin-top: 8px;
  font-size: 12px;
}

.admin-shell .button-primary,
.admin-shell .button-ghost {
  padding: 10px 14px;
  font-size: 13px;
}

.admin-shell .button-primary:hover,
.admin-shell .button-ghost:hover {
  transform: none;
}

.admin-shell .auth-form {
  gap: 10px;
}

.admin-shell .auth-form label {
  gap: 5px;
  font-size: 12px;
}

.admin-shell .auth-form input,
.admin-shell .auth-form textarea,
.admin-shell .auth-form select {
  padding: 9px 10px;
  font-size: 13px;
}

.admin-shell .package-table th,
.admin-shell .package-table td {
  padding: 10px;
  font-size: 13px;
}

.admin-shell .package-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.75);
}

body[data-page="admin"] .admin-shell .package-table {
  border-radius: 14px;
  border-color: rgba(91, 200, 255, 0.2);
  background: rgba(6, 10, 18, 0.78);
}

.admin-shell .package-table thead th {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.95);
  background: rgba(12, 16, 28, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="admin"] .admin-shell .package-table thead th {
  background: rgba(10, 14, 22, 0.95);
}

.admin-shell .package-table tbody tr {
  transition: background 0.2s ease;
}

.admin-shell .package-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.admin-shell .package-table tbody tr:hover {
  background: rgba(91, 200, 255, 0.08);
}

.admin-shell .package-table tbody td {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-shell details > summary {
  cursor: pointer;
}

.admin-shell .client-grid {
  gap: 14px;
}

.admin-shell .client-split {
  gap: 14px;
}

@media (min-width: 960px) {
  body[data-page="admin"] .client-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  body[data-page="admin"] .client-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }
}

.admin-shell .client-kpi-value {
  font-size: 28px;
  margin: 4px 0;
}

body[data-page="admin"] .admin-shell .client-kpi-value {
  font-size: 24px;
}

body[data-page="admin"] .client-kpi {
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.9), rgba(8, 10, 18, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="admin"] .client-kpi::after {
  opacity: 0.7;
}

.admin-shell .admin-kpis .panel {
  padding: 16px;
  border-color: rgba(91, 200, 255, 0.22);
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.08), rgba(8, 10, 18, 0.96));
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-shell .admin-kpis {
  gap: 10px;
}

body[data-page="admin"] .admin-shell .admin-kpis .panel {
  padding: 12px;
}

.admin-shell .admin-kpis .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.admin-shell .admin-kpis .panel > * {
  position: relative;
  z-index: 1;
}

.admin-shell .admin-kpis .client-kpi-value {
  font-size: 26px;
  font-weight: 800;
}

body[data-page="admin"] .admin-shell .admin-kpis .client-kpi-value {
  font-size: 22px;
}

.admin-shell .client-orders-tools {
  padding: 16px;
  border-radius: 16px;
}

body[data-page="admin"] .client-orders-tools {
  padding: 14px;
  border-color: rgba(91, 200, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.88), rgba(6, 8, 14, 0.95));
}

body[data-page="admin"] .client-orders-tools::after {
  opacity: 0.25;
}

.admin-sticky {
  align-self: start;
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-sticky {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }
  body[data-page="admin"] .admin-sticky::-webkit-scrollbar {
    width: 8px;
  }
  body[data-page="admin"] .admin-sticky::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(93, 225, 255, 0.4), rgba(108, 242, 197, 0.35));
    border-radius: 999px;
    border: 2px solid rgba(8, 10, 18, 0.85);
  }
  body[data-page="admin"] .admin-sticky::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
  }
}

.admin-reorder-list {
  display: grid;
  gap: 10px;
}

.admin-reorder-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: grab;
  user-select: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease;
}

.admin-reorder-item:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.24);
  background: rgba(91, 200, 255, 0.05);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.16);
}

.admin-reorder-item.highlight {
  border-color: rgba(91, 200, 255, 0.55);
  background: rgba(91, 200, 255, 0.07);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-reorder-item.dragging {
  opacity: 0.6;
  transform: scale(0.99);
  cursor: grabbing;
}

.admin-reorder-item.drag-over {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.18);
}

.admin-reorder-handle {
  width: 28px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: rgba(159, 179, 209, 0.85);
}

.admin-reorder-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-reorder-title {
  font-weight: 700;
  color: var(--text);
}

.admin-reorder-meta {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-reorder-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.admin-counter {
  font-size: 12px;
}

.admin-counter.ok { color: rgba(106, 245, 196, 0.95); }
.admin-counter.warn { color: #ffd27d; }
.admin-counter.danger { color: #ff8b8b; }

.admin-color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  display: inline-block;
}

.admin-seo-preview {
  display: grid;
  gap: 12px;
}

.admin-seo-google {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-seo-google-url {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
  word-break: break-word;
}

.admin-seo-google-title {
  margin-top: 8px;
  font-weight: 800;
  color: rgba(91, 200, 255, 0.95);
}

.admin-seo-google-desc {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(159, 179, 209, 0.9);
}

.admin-seo-og {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-seo-og-image {
  min-height: 120px;
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.12), rgba(6, 8, 14, 0.9));
  background-size: cover;
  background-position: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.admin-seo-og-image.empty::after {
  content: "No image";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(159, 179, 209, 0.85);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.18);
}

.admin-seo-og-body {
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-seo-og-site {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.admin-seo-og-title {
  font-weight: 800;
  color: var(--text);
  word-break: break-word;
}

.admin-seo-og-desc {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
  word-break: break-word;
}

@media (max-width: 520px) {
  .admin-seo-og {
    grid-template-columns: 1fr;
  }
  .admin-seo-og-image {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.package-table tbody tr.admin-row-link {
  cursor: pointer;
}

.admin-shell {
  width: min(1360px, calc(100vw - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  animation: slide-up 0.5s ease both;
}

body[data-page="admin"] .admin-shell {
  gap: 14px;
}

.admin-sidenav {
  display: none;
  gap: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding-right: 4px;
}

.admin-sidenav::-webkit-scrollbar {
  width: 6px;
}

.admin-sidenav::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.35), rgba(167, 123, 255, 0.35));
  border-radius: 999px;
}

.admin-sidenav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidenav-top,
.admin-sidenav-group {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.92), rgba(6, 8, 14, 0.96));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-sidenav-top {
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.admin-sidenav-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.08), transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.admin-sidenav-hint {
  font-size: 12px;
}

.admin-sidenav-group {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.86), rgba(6, 8, 14, 0.96));
  position: relative;
  overflow: hidden;
}

.admin-sidenav-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(91, 200, 255, 0.08), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.admin-sidenav-group > * {
  position: relative;
  z-index: 1;
}

.admin-sidenav-heading {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.admin-sidenav-search {
  min-width: 0;
}

.admin-sidenav-search .admin-search-input {
  width: 100%;
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(91, 200, 255, 0.18);
}

.admin-sidenav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
  position: relative;
  overflow: hidden;
}

.admin-sidenav-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.8), rgba(167, 123, 255, 0.6));
  transform: translateY(-50%);
  opacity: 0;
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.45);
}

.admin-sidenav-link:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.24);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.12);
}

.admin-sidenav-link.active {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-sidenav-link.active::before {
  opacity: 1;
}

.admin-sidenav-label {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1100px) {
  .admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
  .admin-shell > .admin-bar,
  .admin-shell > .admin-tabs {
    grid-column: 1 / -1;
  }
  .admin-shell > .admin-sidenav {
    display: grid;
    grid-column: 1;
    align-self: start;
    position: sticky;
    top: 16px;
  }
  .admin-shell > :not(.admin-bar):not(.admin-tabs):not(.admin-sidenav) {
    grid-column: 2;
  }
  .admin-tabs {
    display: none;
  }
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-tabs {
    display: flex;
  }
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.92), rgba(6, 9, 16, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1100px) {
  .admin-bar {
    position: sticky;
    top: 16px;
    z-index: 6;
  }
}

.admin-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.08), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.admin-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.admin-bar > * {
  position: relative;
  z-index: 1;
}

.admin-bar-title h1 {
  margin-bottom: 4px;
}

.admin-bar-title p {
  margin: 0;
}

.admin-bar-title .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.9);
}

.admin-bar-title h1 {
  font-size: 24px;
  line-height: 1.1;
}

@supports (-webkit-background-clip: text) {
  .admin-bar-title h1 {
    background: linear-gradient(96deg, rgba(255, 255, 255, 0.98), rgba(123, 158, 255, 0.92), rgba(106, 245, 196, 0.85));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.admin-breadcrumb {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}

.admin-breadcrumb-sep {
  opacity: 0.75;
}

.admin-breadcrumb-link {
  color: rgba(232, 240, 255, 0.92);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.admin-breadcrumb-link:hover {
  text-decoration: underline;
}

.admin-bar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.9), rgba(6, 8, 14, 0.95));
  backdrop-filter: blur(14px);
  position: sticky;
  top: 16px;
  z-index: 5;
}

.admin-tabs::-webkit-scrollbar { display: none; }

.admin-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  gap: 8px;
}

.admin-tab::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.6), rgba(167, 123, 255, 0.5));
  opacity: 0.55;
  box-shadow: 0 0 8px rgba(91, 200, 255, 0.35);
}

.admin-tab::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.admin-tab:hover {
  transform: none;
  filter: brightness(1.06) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.35);
  background: rgba(91, 200, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-tab:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}

.admin-tab.active {
  border-color: rgba(91, 200, 255, 0.55);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.16), rgba(167, 123, 255, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(91, 200, 255, 0.18);
  font-weight: 700;
}

.admin-palette-open body {
  overflow: hidden;
}

.admin-palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 16px 24px;
}

.admin-palette {
  width: min(760px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(12, 16, 28, 0.78);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 14px;
}

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

.admin-palette-input {
  width: 100%;
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.admin-palette-input:focus {
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.admin-palette-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: min(56vh, 520px);
  overflow: auto;
  padding-right: 2px;
}

.admin-palette-item {
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: box-shadow 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.admin-palette-item small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
}

.admin-palette-item:hover,
.admin-palette-item.active {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.2);
}

.admin-palette-empty {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.admin-palette-hint {
  margin-top: 12px;
  font-size: 12px;
}

.admin-draft {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.admin-draft-restore {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
}

@media (max-width: 960px) {
  .admin-hero {
    padding: 48px 0 44px;
  }
  .admin-bar-title {
    width: 100%;
    text-align: center;
  }
  .admin-bar-title > p.muted {
    display: none;
  }
  .admin-bar-actions {
    width: 100%;
    justify-content: center;
  }
  .admin-tabs {
    justify-content: center;
  }
}

/* Client */
.client-hero {
  min-height: 100svh;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 120px);
  align-items: start;
  overflow: visible;
}

.client-shell {
  width: min(1280px, calc(100vw - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 20px;
  animation: slide-up 0.5s ease both;
}

.client-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
  align-self: start;
}

.client-profile {
  position: relative;
  overflow: hidden;
}

.client-profile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(91, 200, 255, 0.08), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.client-profile > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 961px) {
  .client-sidebar {
    position: sticky;
    top: 16px;
  }
}

.client-profile-name {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.client-profile-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(244, 250, 255, 0.98);
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.22), rgba(8, 12, 20, 0.86));
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.client-profile-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.client-nav {
  padding: 10px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.client-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.06), transparent 60%);
  opacity: 0.25;
  pointer-events: none;
}

.client-nav > * {
  position: relative;
  z-index: 1;
}

.client-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.client-nav-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.8), rgba(167, 123, 255, 0.6));
  transform: translateY(-50%);
  opacity: 0;
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.4);
}

.client-nav-link > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.client-nav-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(159, 179, 209, 0.92);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.client-nav-pill.success {
  color: var(--accent-green);
  border-color: rgba(106, 245, 196, 0.55);
  background: rgba(106, 245, 196, 0.07);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.18);
}

.client-nav-pill.warning {
  color: #ffd27d;
  border-color: rgba(255, 210, 125, 0.55);
  background: rgba(255, 210, 125, 0.06);
  box-shadow: 0 0 12px rgba(255, 210, 125, 0.14);
}

.client-nav-link:hover {
  transform: none;
  filter: brightness(1.06) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.42);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.18);
}

.client-nav-link.active {
  border-color: rgba(91, 200, 255, 0.55);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.18), rgba(167, 123, 255, 0.10));
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.client-nav-link.active::before {
  opacity: 1;
}

.client-side-cta strong {
  display: block;
  letter-spacing: 0.5px;
}

.client-main {
  display: grid;
  gap: 14px;
}

.client-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.client-header h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.1;
}

@supports (-webkit-background-clip: text) {
  .client-header h1 {
    background: linear-gradient(96deg, rgba(255, 255, 255, 0.98), rgba(123, 158, 255, 0.92), rgba(106, 245, 196, 0.85));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.client-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

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

.rewards-column {
  display: grid;
  gap: 12px;
}

.rewards-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rewards-missions {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.mission-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(12, 18, 32, 0.94), rgba(6, 10, 18, 0.98));
  padding: 14px 16px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.mission-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

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

.mission-card.is-locked {
  opacity: 0.78;
}

.mission-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.mission-card-copy strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.mission-card-copy .muted {
  margin-top: 6px;
  font-size: 12px;
}

.mission-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(10, 14, 22, 0.7);
  font-weight: 700;
}

.mission-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
}

.mission-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.referral-card {
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(145deg, rgba(12, 18, 32, 0.95), rgba(8, 12, 20, 0.98));
  padding: 14px 16px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.referral-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

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

.referral-code-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.referral-link-value {
  font-size: 12px;
  word-break: break-all;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.referral-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.referral-hub {
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(135deg, rgba(9, 14, 24, 0.95), rgba(6, 10, 18, 0.98));
  padding: 14px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.referral-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.referral-hub > * {
  position: relative;
  z-index: 1;
}

.referral-hub-core {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.referral-tile {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 6px;
  min-height: 88px;
}

.referral-hub-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.referral-stats {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.referral-stat {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 12px;
}

.referral-empty {
  margin-top: 12px;
}

.referral-command {
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.referral-command::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(106, 245, 196, 0.14), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.referral-command > * {
  position: relative;
  z-index: 1;
}

.referral-command-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.referral-command-body {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.referral-command-stack {
  display: grid;
  gap: 12px;
}

.referral-command-tile {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 6px;
  min-height: 96px;
}

.referral-command-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.referral-command-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.referral-command-tile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.referral-command-link {
  font-size: 12px;
  word-break: break-all;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  letter-spacing: 0;
}

.referral-command-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.referral-command-stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 12px 14px;
}

.referral-command-empty {
  margin-top: 8px;
}

.rewards-shell {
  display: grid;
  gap: 16px;
}

.rewards-hero {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.rewards-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(106, 245, 196, 0.14), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

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

.rewards-hero-main {
  flex: 1 1 320px;
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.rewards-hero-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.rewards-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rewards-hero-metrics {
  flex: 1 1 280px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rewards-hero-stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 6px;
}

.rewards-hero-value {
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rewards-kpis {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.referral-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.wallet-shell {
  display: grid;
  gap: 16px;
}

.wallet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 16px;
  align-items: start;
}

.wallet-lane,
.wallet-stack,
.wallet-rail {
  display: grid;
  gap: 16px;
}

.wallet-history {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.wallet-history-card {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
}

.wallet-hero {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.wallet-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255, 184, 112, 0.14), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(91, 200, 255, 0.16), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

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

.wallet-hero-main {
  flex: 1 1 320px;
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.wallet-hero-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.wallet-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallet-hero-balance {
  min-width: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 6px;
}

.wallet-hero-value {
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.wallet-card {
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.wallet-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.08), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.wallet-card-large {
  border-color: rgba(91, 200, 255, 0.24);
  background: linear-gradient(160deg, rgba(12, 18, 32, 0.96), rgba(6, 10, 18, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.wallet-card-large::after {
  opacity: 0.5;
}

.wallet-rail-card {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
}

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

.wallet-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.wallet-card-meta {
  display: grid;
  gap: 6px;
}

.wallet-table-wrap {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.28);
  padding: 6px;
  overflow: auto;
  margin-top: 4px;
}

.wallet-card-lead {
  margin-top: 4px;
}

.wallet-form {
  gap: 10px;
  margin-top: 10px;
}

.wallet-form-field {
  margin: 0;
}

.wallet-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.wallet-gift .wallet-form {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 12px;
}

.wallet-gift .wallet-form-actions .button-primary {
  min-width: 140px;
}

.wallet-gift .wallet-form-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
}

.wallet-referral-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

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

  .wallet-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rewards-hero,
  .wallet-hero {
    flex-direction: column;
    align-items: stretch;
  }

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

  .referral-meta {
    grid-template-columns: 1fr;
  }

  .referral-hub-core {
    grid-template-columns: 1fr;
  }

  .referral-command-body {
    grid-template-columns: 1fr;
  }

  .referral-command-stack {
    grid-template-columns: 1fr;
  }
}

.client-kpi {
  position: relative;
  overflow: hidden;
}

.client-kpi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.10), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(167, 123, 255, 0.10), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.client-kpi > * {
  position: relative;
  z-index: 1;
}

.client-kpi-value {
  font-size: 30px;
  font-weight: 800;
  margin: 6px 0;
  letter-spacing: 0.5px;
}

.client-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
}

.client-activity {
  display: grid;
  gap: 10px;
}

.client-activity-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease;
}

.client-activity-item small {
  color: rgba(159, 179, 209, 0.9);
  font-size: 12px;
  white-space: nowrap;
}

.client-activity-item:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.24);
  background: rgba(91, 200, 255, 0.05);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.18);
}

.client-cards {
  display: grid;
  gap: 14px;
}

.client-service-card .holo-thumb {
  min-height: 150px;
}

.client-orders-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.08), rgba(8, 12, 20, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.client-orders-tools::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.client-orders-tools > * {
  position: relative;
  z-index: 1;
}

.client-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.client-order-number {
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
}

.client-order-meta {
  margin-top: 6px;
  font-size: 12px;
}

.client-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 14px;
  align-items: start;
  margin: 14px 0;
}

.service-main,
.service-side {
  display: grid;
  gap: 14px;
}

.service-deck {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(150deg, rgba(12, 18, 30, 0.92), rgba(6, 10, 18, 0.95));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-deck::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, rgba(91, 200, 255, 0.2), rgba(167, 123, 255, 0.12), rgba(106, 245, 196, 0.08), rgba(91, 200, 255, 0.2));
  opacity: 0.25;
  filter: blur(80px);
  pointer-events: none;
}

.service-deck > * {
  position: relative;
  z-index: 1;
}

.service-deck-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.service-deck-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.service-tool-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.service-tool-card {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  padding: 12px;
  min-height: 120px;
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(160deg, rgba(8, 12, 20, 0.85), rgba(12, 18, 30, 0.92));
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.service-tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(91, 200, 255, 0.12) 40%, rgba(167, 123, 255, 0.12) 60%, transparent 100%);
  opacity: 0;
  pointer-events: none;
}

.service-tool-card:hover {
  border-color: rgba(91, 200, 255, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(91, 200, 255, 0.2);
  transform: translateY(-2px);
}

.service-tool-card:hover::after {
  opacity: 1;
}

.service-tool-card.primary {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.2);
}

.service-tool-card .service-tool-title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.service-tool-card.disabled {
  opacity: 0.45;
  pointer-events: none;
  background: rgba(8, 12, 20, 0.65);
}

.service-usage {
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(150deg, rgba(10, 14, 22, 0.92), rgba(8, 12, 20, 0.96));
}

.solus-suite {
  display: grid;
  gap: 12px;
}

.solus-suite-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solus-panel {
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 10, 18, 0.96));
}

.solus-panel--summary {
  grid-column: 1 / -1;
}

.solus-connection-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.solus-connection-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(8, 12, 20, 0.6);
  min-width: 0;
}

.solus-connection-item strong {
  font-weight: 600;
  word-break: break-word;
}

.solus-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solus-chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: rgba(9, 13, 20, 0.75);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(210, 224, 246, 0.9);
}

.solus-divider {
  height: 1px;
  background: rgba(91, 200, 255, 0.12);
  margin: 12px 0;
}

.solus-deck {
  display: grid;
  gap: 16px;
}

.solus-hero {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: linear-gradient(135deg, rgba(12, 18, 30, 0.96), rgba(6, 12, 24, 0.92));
  box-shadow: 0 24px 60px rgba(4, 8, 18, 0.45);
}

.solus-hero-left {
  display: grid;
  gap: 10px;
}

.solus-hero-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.solus-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: rgba(12, 24, 40, 0.7);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.35);
}

.solus-status-pill.is-online {
  border-color: rgba(106, 245, 196, 0.7);
  color: rgba(152, 255, 224, 0.95);
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.35);
}

.solus-status-pill.is-offline {
  border-color: rgba(255, 120, 120, 0.6);
  color: rgba(255, 180, 180, 0.95);
  box-shadow: 0 0 18px rgba(255, 120, 120, 0.3);
}

.solus-status-pill.is-pending {
  border-color: rgba(255, 214, 120, 0.7);
  color: rgba(255, 226, 170, 0.95);
  box-shadow: 0 0 18px rgba(255, 214, 120, 0.3);
}

.solus-hero-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.solus-hero-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.55);
}

.solus-hero-item strong {
  font-weight: 600;
}

.solus-hero-specs {
  font-size: 12px;
}

.solus-hero-error {
  font-size: 12px;
  color: rgba(255, 160, 160, 0.95);
}

.solus-hero-right {
  display: grid;
  gap: 12px;
  align-content: start;
}

.solus-hero-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.solus-action {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(10, 16, 26, 0.85);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solus-action small {
  font-size: 12px;
  color: rgba(210, 224, 246, 0.7);
}

.solus-action.primary {
  border-color: rgba(106, 245, 196, 0.6);
  background: linear-gradient(135deg, rgba(25, 40, 32, 0.9), rgba(10, 18, 16, 0.95));
  box-shadow: 0 12px 28px rgba(20, 120, 80, 0.2);
}

.solus-action.link {
  border-style: dashed;
}

.solus-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(91, 200, 255, 0.18);
}

.solus-action.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.solus-action[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.solus-action.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.solus-action-status {
  min-height: 18px;
  font-size: 12px;
}

.solus-hero-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.solus-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solus-card {
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.94), rgba(6, 10, 18, 0.96));
  position: relative;
  overflow: hidden;
}

.solus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

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

.solus-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

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

.solus-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.solus-status-row strong {
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.solus-action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.solus-usage-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.solus-usage-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(8, 12, 20, 0.6);
}

.solus-usage-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.solus-security {
  display: grid;
  gap: 10px;
}

.solus-security-grid {
  display: grid;
  gap: 10px;
}

.solus-security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.solus-security-row label {
  flex: 1;
  min-width: 180px;
}

.service-tool-card.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 900px) {
  .solus-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .solus-hero {
    padding: 14px;
  }

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

.usage-spark {
  width: 100%;
  height: 28px;
  margin-top: 6px;
  opacity: 0.85;
}

.ptero-suite {
  display: grid;
  gap: 12px;
}

.ptero-suite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ptero-suite-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(140deg, rgba(8, 12, 20, 0.9), rgba(6, 10, 18, 0.95));
}

.ptero-nav-item {
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(9, 14, 22, 0.9);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ptero-nav-item.is-active {
  border-color: rgba(106, 245, 196, 0.6);
  background: linear-gradient(140deg, rgba(16, 28, 32, 0.95), rgba(10, 18, 24, 0.95));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(106, 245, 196, 0.2);
  transform: translateY(-1px);
}

.ptero-suite.is-ready .ptero-section {
  display: none;
}

.ptero-suite.is-ready .ptero-section.is-active {
  display: block;
}

.ptero-suite-body {
  display: grid;
  gap: 12px;
}

.ptero-module {
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 10, 18, 0.96));
}

.ptero-module-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ptero-module-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ptero-live {
  border: 1px solid rgba(106, 245, 196, 0.25);
  background: linear-gradient(165deg, rgba(12, 18, 28, 0.95), rgba(6, 10, 18, 0.96));
}

.ptero-live-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.ptero-live-stat {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.6);
}

.ptero-live-sub {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.ptero-live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ptero-live-connect {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ptero-live-connect code {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  color: var(--text);
}

.ptero-live-error {
  margin-top: 8px;
}

.ptero-live-players {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.ptero-live-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.14);
  background: rgba(8, 12, 20, 0.55);
  font-size: 12px;
}

.ptero-live .badge.status-online {
  border-color: rgba(106, 245, 196, 0.6);
  color: rgba(106, 245, 196, 0.95);
  background: rgba(14, 40, 32, 0.6);
}

.ptero-live .badge.status-offline {
  border-color: rgba(255, 120, 120, 0.55);
  color: rgba(255, 150, 150, 0.95);
  background: rgba(40, 16, 16, 0.65);
}

.ptero-path-bar {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ptero-path-bar label {
  flex: 1;
  min-width: 220px;
}

.ptero-file-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.ptero-file-editor {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  display: grid;
  gap: 10px;
}

.ptero-file-textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(6, 10, 18, 0.95);
  color: var(--text);
  resize: vertical;
}

.ptero-module-status {
  margin-top: 8px;
  font-size: 12px;
}

.ptero-table-wrap {
  margin-top: 12px;
  overflow: auto;
}

.ptero-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ptero-file-link {
  background: none;
  border: none;
  color: var(--text);
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(91, 200, 255, 0.45);
  text-underline-offset: 3px;
}

.ptero-task-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.ptero-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(8, 12, 20, 0.6);
  font-size: 12px;
}

@media (max-width: 900px) {
  .ptero-suite-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ptero-nav-item {
    white-space: nowrap;
  }
}

.service-usage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.service-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.service-usage-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(12, 16, 24, 0.6);
}

.service-usage-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.service-usage-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.service-usage-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.9), rgba(106, 245, 196, 0.7));
  box-shadow: 0 0 14px rgba(91, 200, 255, 0.5);
  transition: width 0.4s ease;
}

.web-suite {
  margin-top: 14px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: linear-gradient(150deg, rgba(12, 18, 30, 0.92), rgba(6, 10, 18, 0.96));
}

.web-suite-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.web-suite-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.web-suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.web-suite-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
}

.web-suite-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.web-suite-divider {
  height: 1px;
  background: rgba(91, 200, 255, 0.18);
  margin: 12px 0;
}

.web-email-list {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  border: 1px dashed rgba(91, 200, 255, 0.2);
  background: rgba(10, 14, 22, 0.65);
  max-height: 220px;
  overflow: auto;
}

.web-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(12, 16, 24, 0.6);
}

.web-email-meta {
  display: grid;
  gap: 2px;
}

.web-email-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.web-email-input input {
  flex: 1;
  min-width: 120px;
}

.web-email-domain {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: rgba(12, 18, 30, 0.8);
  font-size: 12px;
}

.web-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.service-policy {
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(10, 14, 22, 0.6);
  margin-top: 12px;
}

.service-policy-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .web-suite-grid {
    grid-template-columns: 1fr;
  }

  .web-email-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.service-access {
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(150deg, rgba(12, 18, 30, 0.92), rgba(6, 10, 18, 0.96));
}

.service-access-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.service-access-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.service-access-row .value {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.service-access-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ptero-credentials {
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 10, 18, 0.96));
  margin-top: 12px;
}

.ptero-cred-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.ptero-cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ptero-cred-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ptero-cred-status {
  font-size: 12px;
}

.tracker-section > * {
  max-width: none;
}

.tracker-section-title {
  text-align: center;
}

.tracker-section {
  padding: 80px 6%;
}

.tracker-command {
  padding-top: 40px;
}

.tracker-filter-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(160deg, rgba(12, 16, 26, 0.92), rgba(7, 10, 18, 0.8));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.tracker-filter-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(92, 255, 214, 0.12), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(91, 200, 255, 0.12), transparent 42%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%, rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  pointer-events: none;
}

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

.tracker-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.tracker-filter-head h2 {
  margin: 6px 0 0;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.tracker-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(170px, 0.9fr) minmax(150px, 0.8fr) auto;
  gap: 16px;
  align-items: end;
}

.tracker-filter-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.tracker-filter-field input,
.tracker-filter-field select {
  width: 100%;
  min-height: 40px;
}

.tracker-filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.tracker-filter-view {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(6, 9, 14, 0.6);
}

.tracker-view-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tracker-view-btn.active {
  color: var(--text);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.2), rgba(167, 123, 255, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 16px rgba(91, 200, 255, 0.18);
}

.tracker-filter-count {
  text-align: right;
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.8);
}

.tracker-filter-footer {
  display: grid;
  gap: 12px;
}

.tracker-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.tracker-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(8, 12, 18, 0.65);
  color: var(--text);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tracker-tag-chip span {
  padding: 2px 5px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.3px;
  background: rgba(91, 200, 255, 0.12);
}

.tracker-tag-chip:hover,
.tracker-tag-chip.active {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.18);
  filter: brightness(1.06) saturate(1.05);
}

.tracker-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.tracker-list-head h2 {
  margin: 6px 0 0;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.tracker-vip-strip {
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid rgba(167, 123, 255, 0.22);
  background: rgba(10, 12, 20, 0.65);
  padding: 10px 12px;
}

.tracker-vip-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: rgba(205, 196, 255, 0.95);
  margin-bottom: 8px;
}

.tracker-vip-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tracker-vip-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(167, 123, 255, 0.25);
  background: rgba(8, 10, 16, 0.7);
  color: rgba(232, 240, 255, 0.95);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-vip-card:hover {
  border-color: rgba(167, 123, 255, 0.6);
  box-shadow: 0 0 16px rgba(167, 123, 255, 0.2);
  transform: translateY(-1px);
}

.tracker-vip-banner {
  width: 64px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(167, 123, 255, 0.25);
  background: rgba(12, 14, 22, 0.6);
  overflow: hidden;
}

.tracker-vip-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-vip-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tracker-vip-body strong {
  font-size: 12px;
  letter-spacing: 0.3px;
}

.tracker-vip-body span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.8);
}

@media (max-width: 720px) {
  .tracker-vip-list {
    grid-template-columns: 1fr;
  }
}

.tracker-game-scroll {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.tracker-game-nav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(8, 12, 18, 0.7);
  color: rgba(232, 240, 255, 0.9);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-game-nav:hover {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.2);
  transform: translateY(-1px);
}

.tracker-game-bar {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(92, 255, 214, 0.18);
  background: rgba(6, 9, 14, 0.62);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  margin-top: 0;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  scrollbar-color: rgba(91, 200, 255, 0.45) transparent;
}

.tracker-game-bar:active {
  cursor: grabbing;
}

.tracker-game-bar::-webkit-scrollbar {
  height: 6px;
}

.tracker-game-bar::-webkit-scrollbar-track {
  background: rgba(6, 10, 18, 0.6);
  border-radius: 999px;
}

.tracker-game-bar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.45), rgba(167, 123, 255, 0.5));
  box-shadow: inset 0 0 8px rgba(10, 16, 24, 0.6);
}

.tracker-game-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid hsla(var(--game-hue, 200), 70%, 55%, 0.25);
  background: linear-gradient(120deg, hsla(var(--game-hue, 200), 60%, 15%, 0.8), rgba(6, 10, 18, 0.7));
  color: rgba(215, 235, 255, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  scroll-snap-align: center;
}

.tracker-game-chip.active,
.tracker-game-chip:hover {
  border-color: hsla(var(--game-hue, 200), 80%, 65%, 0.65);
  box-shadow: 0 0 14px hsla(var(--game-hue, 200), 80%, 60%, 0.25);
  transform: translateY(-1px);
}

.tracker-game-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(8, 12, 18, 0.9);
  background: radial-gradient(circle at 30% 30%, hsla(var(--game-hue, 200), 85%, 70%, 0.95), hsla(var(--game-hue, 200), 70%, 40%, 0.8));
  box-shadow: 0 0 8px hsla(var(--game-hue, 200), 80%, 60%, 0.35);
  text-transform: uppercase;
  overflow: hidden;
}

.tracker-game-icon.has-image {
  background: rgba(10, 14, 22, 0.7);
  box-shadow: 0 0 10px hsla(var(--game-hue, 200), 80%, 60%, 0.25);
}

.tracker-game-label {
  font-size: 9px;
  letter-spacing: 0.3px;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  filter: saturate(1.05);
}

@media (max-width: 720px) {
  .tracker-game-label {
    display: none;
  }
  .tracker-game-chip {
    padding: 4px;
  }
  .tracker-game-scroll {
    grid-template-columns: 1fr;
  }
  .tracker-game-nav {
    display: none;
  }
}

.tracker-table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(92, 255, 214, 0.16);
  background: rgba(6, 9, 14, 0.7);
  padding: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
}

.tracker-table-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(92, 255, 214, 0.08), transparent 45%),
    linear-gradient(320deg, rgba(91, 200, 255, 0.08), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 120px);
  pointer-events: none;
}

.tracker-table-wrap > * {
  position: relative;
  z-index: 1;
}

.tracker-table {
  display: grid;
  gap: 8px;
}

.tracker-table-body {
  display: grid;
  gap: 8px;
}

.tracker-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(320px, 1fr) minmax(260px, 0.65fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(92, 255, 214, 0.14);
  background:
    linear-gradient(120deg, rgba(10, 14, 22, 0.9), rgba(8, 11, 18, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 55%);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.tracker-row::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.35);
  opacity: 0.7;
}

.tracker-row:hover {
  border-color: rgba(106, 245, 196, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 18px rgba(106, 245, 196, 0.18);
  transform: translateY(-1px);
}

.tracker-row::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.tracker-row.is-top {
  border-color: rgba(167, 123, 255, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 18px rgba(167, 123, 255, 0.2);
}

.tracker-row.is-online::before {
  background: rgba(106, 245, 196, 0.9);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.7);
}

.tracker-row.is-offline::before {
  background: rgba(255, 122, 122, 0.85);
  box-shadow: 0 0 12px rgba(255, 122, 122, 0.6);
}

.tracker-row.is-unknown::before {
  background: rgba(91, 200, 255, 0.6);
}

.tracker-row.is-stale::after {
  content: "Cached";
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 9, 14, 0.7);
  color: rgba(226, 232, 255, 0.75);
}

.tracker-row.is-hidden {
  display: none;
}

.tracker-row-rank {
  display: grid;
  gap: 6px;
  justify-items: start;
  grid-area: rank;
}

.tracker-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(7, 12, 20, 0.75);
  color: rgba(232, 240, 255, 0.92);
}

.tracker-row.is-top .tracker-rank-pill {
  border-color: rgba(167, 123, 255, 0.6);
  box-shadow: 0 0 18px rgba(167, 123, 255, 0.25);
}

.tracker-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  border: 1px solid rgba(92, 255, 214, 0.25);
  background: rgba(92, 255, 214, 0.08);
  color: rgba(196, 255, 238, 0.95);
}

.tracker-game-emblem {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(8, 12, 18, 0.9);
  background: radial-gradient(circle at 30% 30%, rgba(92, 255, 214, 0.9), rgba(62, 188, 160, 0.85));
  overflow: hidden;
  box-shadow: 0 0 8px rgba(92, 255, 214, 0.35);
}

.tracker-game-emblem.has-image {
  background: rgba(10, 14, 22, 0.8);
}

.tracker-game-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-game-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracker-row-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(140px, 190px) 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(232, 240, 255, 0.92);
  grid-area: main;
}

.tracker-row-right {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: center;
  grid-area: right;
}

.tracker-row:not(.has-banner) .tracker-row-main {
  grid-template-columns: 1fr;
}

.tracker-row-main .tracker-banner {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.tracker-row-main .tracker-row-head,
.tracker-row-main .tracker-row-tags {
  grid-column: 2;
}

.tracker-row:not(.has-banner) .tracker-row-main .tracker-row-head,
.tracker-row:not(.has-banner) .tracker-row-main .tracker-row-tags {
  grid-column: 1;
}

.tracker-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tracker-title-block {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tracker-title-block strong {
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(232, 240, 255, 0.98);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tracker-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tracker-connect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(6, 10, 18, 0.75);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.tracker-map {
  font-size: 11px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.8);
}

.tracker-map.is-empty {
  display: none;
}

.tracker-banner {
  position: relative;
  display: block;
  width: min(468px, 100%);
  height: 60px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(6, 10, 16, 0.65);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.tracker-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}

.tracker-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(92, 255, 214, 0.25), transparent 45%, rgba(91, 200, 255, 0.2));
  mix-blend-mode: screen;
  opacity: 0.4;
}

.tracker-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.25), transparent 55%);
  opacity: 0.5;
}

.tracker-banner-lg {
  height: 60px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.tracker-server-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tracker-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tracker-row-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  justify-items: end;
}

.tracker-stat {
  display: grid;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.14);
  background: rgba(7, 10, 18, 0.65);
}

.tracker-stat-label {
  font-size: 9px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.75);
}

.tracker-stat-value {
  font-weight: 700;
  font-size: 12px;
}

.tracker-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(6, 10, 18, 0.75);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.tracker-status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 200, 255, 0.7);
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.6);
}

.tracker-row.is-online .tracker-status-pill {
  border-color: rgba(106, 245, 196, 0.55);
  color: rgba(106, 245, 196, 0.95);
}

.tracker-row.is-online .tracker-status-pill::before {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.8);
}

.tracker-row.is-offline .tracker-status-pill {
  border-color: rgba(255, 122, 122, 0.5);
  color: rgba(255, 150, 150, 0.95);
}

.tracker-row.is-offline .tracker-status-pill::before {
  background: rgba(255, 122, 122, 0.9);
  box-shadow: 0 0 12px rgba(255, 122, 122, 0.6);
}

.tracker-votes {
  font-weight: 700;
  font-size: 14px;
  color: rgba(106, 245, 196, 0.95);
}

.tracker-row-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tracker-row-actions .button-compact {
  border-color: rgba(91, 200, 255, 0.3);
  background: rgba(7, 10, 18, 0.7);
}

.tracker-row-actions .button-compact:hover {
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.18);
}

.tracker-row-actions .button-compact[data-gt-copy] {
  border-color: rgba(106, 245, 196, 0.35);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.14), rgba(91, 200, 255, 0.08));
}

.tracker-row-actions .button-compact[data-gt-copy]:hover {
  border-color: rgba(106, 245, 196, 0.75);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.2);
}

.tracker-row-actions .button-compact.is-copied {
  border-color: rgba(91, 200, 255, 0.7);
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.2);
}

.tracker-vote-status {
  font-size: 11px;
  flex-basis: 100%;
  color: rgba(159, 179, 209, 0.85);
}

@media (max-width: 980px) {
  .tracker-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tracker-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .tracker-filter-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .tracker-filter-count {
    text-align: left;
    justify-self: start;
  }
  .tracker-row {
    grid-template-columns: minmax(90px, 110px) minmax(240px, 1fr);
    grid-template-areas:
      "rank main"
      "right right";
  }

  .tracker-row-rank {
    grid-area: rank;
  }

  .tracker-row-main {
    grid-area: main;
  }

  .tracker-row-right {
    grid-area: right;
    justify-items: start;
  }

  .tracker-row-stats {
    justify-content: flex-start;
    justify-items: start;
  }

  .tracker-row-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .tracker-filter-bar {
    grid-template-columns: 1fr;
  }
  .tracker-table-wrap {
    padding: 10px;
    border-radius: 16px;
  }
  .tracker-row-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    justify-items: start;
  }
  .tracker-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rank"
      "main"
      "right";
  }
  .tracker-row-main {
    grid-template-columns: 1fr;
  }
  .tracker-row-main .tracker-banner,
  .tracker-row-main .tracker-row-head,
  .tracker-row-main .tracker-row-tags {
    grid-column: 1;
  }
  .tracker-row-right {
    justify-items: start;
  }
  .tracker-row-actions {
    justify-content: flex-start;
  }
}

.tracker-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.tracker-empty {
  display: none;
  margin-top: 18px;
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(91, 200, 255, 0.2);
  background: rgba(6, 9, 14, 0.55);
}

.tracker-empty.active {
  display: block;
}

/* Tracker overhaul */
.tracker-dashboard {
  padding: 70px 6% 110px;
}

.tracker-dashboard > * {
  max-width: none;
}

.tracker-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.tracker-mobile-actions {
  display: none;
}

.tracker-dock {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(12, 16, 26, 0.95), rgba(7, 10, 18, 0.9));
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
}

.tracker-dock-close {
  display: none;
}

.tracker-dock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.tracker-dock-head h2 {
  margin: 6px 0 0;
  font-size: 20px;
}

.tracker-dock-count {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(92, 255, 214, 0.3);
  background: rgba(9, 13, 22, 0.8);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(196, 255, 238, 0.9);
}

.tracker-dock-form {
  display: grid;
  gap: 12px;
}

.tracker-dock-block {
  display: grid;
  gap: 10px;
}

.tracker-dock-label {
  font-size: 10px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.7);
}

.tracker-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.tracker-dock .tracker-game-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid hsla(var(--game-hue, 200), 70%, 55%, 0.2);
  background: rgba(8, 12, 18, 0.75);
  color: rgba(220, 235, 255, 0.92);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-dock .tracker-game-chip:hover,
.tracker-dock .tracker-game-chip.active {
  border-color: hsla(var(--game-hue, 200), 80%, 65%, 0.6);
  box-shadow: 0 0 14px hsla(var(--game-hue, 200), 80%, 60%, 0.2);
  transform: translateY(-1px);
}

.tracker-dock .tracker-game-icon {
  width: 22px;
  height: 22px;
}

.tracker-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracker-dock .tracker-tag-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 18, 0.75);
  font-size: 10px;
}

.tracker-feed {
  display: grid;
  gap: 18px;
}

.tracker-feed-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tracker-feed-head h2 {
  margin: 6px 0 0;
  font-size: 22px;
}

.tracker-feed-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tracker-meta-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 18, 0.7);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(210, 224, 246, 0.9);
}

.tracker-sort-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.tracker-sort-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 18, 0.7);
  font-size: 10px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: rgba(210, 224, 246, 0.85);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-sort-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 245, 196, 0.4);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.18);
}

.tracker-sort-chip.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.25);
  color: rgba(232, 240, 255, 0.95);
}

.tracker-panel {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 18, 0.75);
}

.tracker-featured {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(106, 245, 196, 0.25);
  background: linear-gradient(140deg, rgba(8, 12, 18, 0.92), rgba(10, 16, 26, 0.82));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.tracker-featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tracker-featured-head strong {
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(196, 255, 238, 0.95);
}

.tracker-featured-head .muted {
  font-size: 12px;
}

.tracker-featured-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tracker-boost-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: linear-gradient(130deg, rgba(8, 16, 26, 0.92), rgba(12, 20, 32, 0.92));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.tracker-boost-banner::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 156, 222, 0.25), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}

.tracker-boost-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -60% -10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.2), transparent 70%);
  opacity: 0.75;
  pointer-events: none;
}

.tracker-boost-banner > * {
  position: relative;
  z-index: 1;
}

.tracker-boost-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.badge-boost {
  background: rgba(91, 200, 255, 0.16);
  border-color: rgba(91, 200, 255, 0.45);
  color: rgba(186, 224, 255, 0.95);
}

.tracker-boost-content strong {
  font-size: 15px;
  color: rgba(232, 240, 255, 0.98);
}

.tracker-boost-content .muted {
  font-size: 12px;
}

.tracker-boost-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.tracker-boost-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(7, 10, 18, 0.7);
  font-size: 11px;
  letter-spacing: 0.25px;
  color: rgba(214, 248, 238, 0.95);
  text-transform: uppercase;
}

.tracker-boost-pill.is-soft {
  border-color: rgba(91, 200, 255, 0.35);
  color: rgba(186, 224, 255, 0.9);
}

.tracker-boost-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tracker-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
}

.tracker-featured-stack {
  display: grid;
  gap: 16px;
}

.tracker-featured-block {
  display: grid;
  gap: 10px;
}

.tracker-featured-list-premium,
.tracker-featured-list-boosted {
  display: grid;
  gap: 10px;
}

.tracker-featured-row {
  display: grid;
  grid-template-columns: minmax(220px, 468px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 10, 18, 0.82);
  color: rgba(232, 240, 255, 0.92);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tracker-featured-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(91, 200, 255, 0.14) 50%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tracker-featured-row:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.tracker-featured-row:hover::after {
  opacity: 1;
}

.tracker-featured-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tracker-featured-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: rgba(7, 10, 18, 0.7);
  font-size: 11px;
  letter-spacing: 0.2px;
  color: rgba(214, 248, 238, 0.95);
  text-transform: uppercase;
}

.tracker-featured-spotlight,
.tracker-featured-side {
  display: grid;
  gap: 10px;
}

.tracker-featured-title {
  font-size: 11px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: rgba(170, 188, 214, 0.85);
}

.tracker-featured-list,
.tracker-featured-mini {
  display: grid;
  gap: 10px;
}

.tracker-featured-card,
.tracker-featured-mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 10, 18, 0.78);
  color: rgba(232, 240, 255, 0.92);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tracker-featured-card:hover,
.tracker-featured-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 245, 196, 0.5);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.32);
}

.tracker-featured-banner {
  width: 468px;
  max-width: 100%;
  height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  overflow: hidden;
  background: rgba(8, 12, 18, 0.6);
}

.tracker-featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-featured-banner span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(232, 240, 255, 0.85);
}

.tracker-featured-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tracker-featured-body strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-featured-body span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(159, 179, 209, 0.8);
}

@media (max-width: 1100px) {
  .tracker-boost-banner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .tracker-boost-action {
    justify-content: flex-start;
  }
  .tracker-featured-grid {
    grid-template-columns: 1fr;
  }
  .tracker-featured-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .tracker-featured-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .tracker-featured-card,
  .tracker-featured-mini-card {
    grid-template-columns: 1fr;
  }
  .tracker-featured-banner {
    width: 100%;
  }
  .tracker-featured-row {
    grid-template-columns: 1fr;
  }
  .tracker-featured-stats {
    justify-content: flex-start;
  }
}

.tracker-spotlight {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(167, 123, 255, 0.3);
  background: rgba(10, 12, 20, 0.7);
}

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

.tracker-spotlight-head strong,
.tracker-vip-head strong {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(205, 196, 255, 0.95);
}

.tracker-spotlight-list {
  display: grid;
  gap: 12px;
}

.tracker-spotlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(167, 123, 255, 0.35);
  background: rgba(8, 10, 18, 0.75);
  color: rgba(232, 240, 255, 0.92);
  text-decoration: none;
}

.tracker-spotlight-banner {
  width: 468px;
  max-width: 100%;
  height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(167, 123, 255, 0.3);
  overflow: hidden;
  background: rgba(8, 12, 18, 0.6);
  flex: 0 0 auto;
}

.tracker-spotlight-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-spotlight-body {
  display: grid;
  gap: 4px;
}

.tracker-spotlight-body strong {
  font-size: 13px;
}

.tracker-spotlight-body span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(159, 179, 209, 0.8);
}

.tracker-feed-list {
  display: grid;
  gap: 12px;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.tracker-vip-grid {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(167, 123, 255, 0.3);
  background: rgba(10, 12, 20, 0.7);
}

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

.tracker-vip-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tracker-vip-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(167, 123, 255, 0.35);
  background: rgba(8, 10, 18, 0.75);
  color: rgba(232, 240, 255, 0.92);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tracker-vip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 123, 255, 0.6);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.tracker-vip-thumb {
  width: 468px;
  max-width: 100%;
  height: 60px;
  border-radius: 10px;
  border: 1px solid rgba(167, 123, 255, 0.3);
  overflow: hidden;
  background: rgba(8, 12, 18, 0.6);
  flex: 0 0 auto;
}

.tracker-vip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-vip-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tracker-vip-body strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-vip-body span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(159, 179, 209, 0.8);
}

@media (max-width: 720px) {
  .tracker-spotlight-card,
  .tracker-vip-card {
    grid-template-columns: 1fr;
  }
  .tracker-spotlight-banner,
  .tracker-vip-thumb {
    width: 100%;
  }
}

.tracker-lines {
  display: grid;
  gap: 0;
}

@media (min-width: 981px) {
.tracker-lines.compact .tracker-line {
  padding: 10px 12px;
  gap: 10px;
}

  .tracker-lines.compact .tracker-line-thumb {
    width: 40px;
    height: 40px;
  }

  .tracker-lines.compact .tracker-line-title strong {
    font-size: 14px;
  }

  .tracker-lines.compact .tracker-line-meta {
    gap: 6px;
  }

  .tracker-lines.compact .tracker-line-info .tracker-line-meta + .tracker-line-meta {
    display: none;
  }

  .tracker-lines.compact .tracker-line-site,
  .tracker-lines.compact .tracker-line-map {
    display: none;
  }

  .tracker-lines.compact .tracker-line-buttons {
    gap: 4px;
  }

  .tracker-lines.compact .tracker-line-btn {
    padding: 5px 10px;
    font-size: 10px;
  }

  .tracker-lines.compact .tracker-line-core {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tracker-lines.compact .tracker-line-status {
    justify-items: start;
  }
}

.tracker-line-header {
  display: none;
}

.tracker-line {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 18, 0.86);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  isolation: isolate;
  min-width: 0;
}

.tracker-line:hover {
  transform: translateY(-1px);
  background: rgba(12, 16, 26, 0.92);
  border-color: rgba(92, 255, 214, 0.4);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.tracker-line:nth-child(odd) {
  background: rgba(8, 12, 18, 0.82);
}

.tracker-line:nth-child(even) {
  background: rgba(8, 12, 18, 0.78);
}

.tracker-line:last-child {
  border-bottom: 1px solid rgba(91, 200, 255, 0.18);
}

.tracker-line > * {
  position: relative;
  z-index: 1;
}

.tracker-line-banner-wrap {
  display: flex;
  justify-content: center;
}

.tracker-line-banner {
  position: relative;
  width: 468px;
  max-width: 100%;
  height: 60px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  overflow: hidden;
  background: rgba(6, 10, 16, 0.7);
  display: grid;
  place-items: center;
  color: rgba(232, 240, 255, 0.85);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  appearance: none;
  font: inherit;
  padding: 0;
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-line-banner.is-link,
.tracker-line-banner.is-action {
  cursor: pointer;
}

.tracker-line-banner.is-link:hover,
.tracker-line-banner.is-action:hover {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 12px 24px rgba(106, 245, 196, 0.18);
  transform: translateY(-1px);
}

.tracker-line-banner.is-link:focus-visible,
.tracker-line-banner.is-action:focus-visible {
  outline: 2px solid rgba(106, 245, 196, 0.8);
  outline-offset: 2px;
}

.tracker-line-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(92, 255, 214, 0.15), transparent 50%, rgba(91, 200, 255, 0.2));
  opacity: 0.7;
  pointer-events: none;
}

.tracker-line-banner.is-copied::before {
  content: "Copied";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 16, 0.85);
  color: rgba(232, 240, 255, 0.95);
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}

.tracker-line-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-line-banner span {
  position: relative;
  z-index: 1;
}

.tracker-line.is-vip:hover,
.tracker-line.is-featured:hover {
  border-bottom-color: rgba(255, 214, 140, 0.7);
  background: linear-gradient(90deg, rgba(255, 214, 140, 0.18), rgba(8, 12, 18, 0) 60%);
}

.tracker-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0;
  background: rgba(91, 200, 255, 0.45);
  opacity: 0.9;
}

.tracker-line.is-online::before {
  background: rgba(106, 245, 196, 0.9);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.6);
}

.tracker-line.is-offline::before {
  background: rgba(255, 122, 122, 0.85);
  box-shadow: 0 0 12px rgba(255, 122, 122, 0.5);
}

.tracker-line.is-top {
  border-bottom-color: rgba(167, 123, 255, 0.25);
  background: linear-gradient(90deg, rgba(167, 123, 255, 0.08), rgba(8, 12, 18, 0) 60%);
}

.tracker-line.is-vip,
.tracker-line.is-featured {
  border-bottom-color: rgba(255, 200, 120, 0.2);
  background: linear-gradient(90deg, rgba(255, 214, 140, 0.12), rgba(8, 12, 18, 0) 60%);
}

.tracker-line.is-vip::before,
.tracker-line.is-featured::before {
  background: rgba(255, 200, 120, 0.95);
  box-shadow: 0 0 14px rgba(255, 200, 120, 0.7);
}

.tracker-line.is-vip::after,
.tracker-line.is-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255, 214, 140, 0.15), transparent 40%, rgba(255, 214, 140, 0.06)),
    repeating-linear-gradient(90deg, rgba(255, 214, 140, 0.06) 0 1px, transparent 1px 140px);
  opacity: 0.45;
  pointer-events: none;
}

.tracker-line.is-hidden {
  display: none;
}

.tracker-line-rank {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-variant-numeric: tabular-nums;
}

.tracker-line-rank .tracker-rank-pill {
  min-width: 40px;
  padding: 3px 8px;
  font-size: 10px;
  background: rgba(7, 10, 18, 0.65);
  text-align: center;
}

.tracker-rank-number {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.tracker-rank-pill.is-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(255, 200, 120, 0.6);
  background: linear-gradient(120deg, rgba(255, 214, 140, 0.2), rgba(91, 200, 255, 0.1));
  box-shadow: 0 0 12px rgba(255, 214, 140, 0.2);
}

.tracker-rank-flag {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 200, 120, 0.5);
  background: rgba(18, 12, 6, 0.7);
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 214, 140, 0.95);
}

.tracker-line.is-top .tracker-line-rank .tracker-rank-pill {
  border-color: rgba(167, 123, 255, 0.6);
  background: linear-gradient(120deg, rgba(167, 123, 255, 0.28), rgba(91, 200, 255, 0.12));
}

.tracker-line-core {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
  border-top: 1px solid rgba(91, 200, 255, 0.12);
}

.tracker-line-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(91, 200, 255, 0.1);
}

.tracker-line-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tracker-line-vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tracker-line-vote .tracker-vote-challenge {
  padding: 4px 8px;
  border-radius: 10px;
}

.tracker-line-vote .tracker-vote-question {
  font-size: 10px;
}

.tracker-line-vote .tracker-vote-question strong {
  font-size: 11px;
}

.tracker-line-vote .tracker-vote-challenge input {
  width: 56px;
  padding: 5px 6px;
  font-size: 11px;
}

.tracker-line-vote .tracker-vote-status {
  margin-left: 0;
  font-size: 11px;
}

.tracker-line-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 18, 0.65);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgba(232, 240, 255, 0.9);
  font-weight: 700;
  font-size: 12px;
}

.tracker-line.is-vip .tracker-line-thumb,
.tracker-line.is-featured .tracker-line-thumb {
  border-color: rgba(255, 200, 120, 0.7);
  box-shadow: 0 0 16px rgba(255, 200, 120, 0.35);
}

.tracker-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tracker-line-info {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}


.tracker-line-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.tracker-line-title strong {
  font-size: 16px;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tracker-line-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tracker-line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.2px;
  color: rgba(159, 179, 209, 0.9);
  max-width: 100%;
}

.tracker-line-game {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(92, 255, 214, 0.2);
  background: rgba(92, 255, 214, 0.08);
  color: rgba(196, 255, 238, 0.92);
}

.tracker-line-connect {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(7, 10, 18, 0.65);
  color: rgba(232, 240, 255, 0.92);
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  cursor: copy;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-line-connect.is-link {
  text-decoration: none;
  cursor: pointer;
  border-color: rgba(106, 245, 196, 0.3);
  background: rgba(6, 11, 16, 0.75);
  color: rgba(196, 255, 238, 0.95);
}

.tracker-line-connect.is-link:hover {
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.25);
}

.tracker-line-site {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(167, 123, 255, 0.25);
  background: rgba(10, 12, 20, 0.7);
  color: rgba(232, 240, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  cursor: copy;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-line-map {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 18, 0.55);
  color: rgba(232, 240, 255, 0.85);
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  cursor: copy;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-line-map:empty {
  display: none;
}

.tracker-line-map.is-hidden {
  display: none;
}

.tracker-line-connect:hover,
.tracker-line-map:hover,
.tracker-line-site:hover {
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.2);
  transform: translateY(-1px);
}

.tracker-meta-item.is-hidden {
  display: none;
}

.tracker-line-status {
  display: grid;
  justify-items: end;
  gap: 6px;
  align-self: center;
}

.tracker-status-pill.tracker-status-ping {
  font-variant-numeric: tabular-nums;
}

.tracker-status-pill.tracker-status-ping::before {
  display: none;
}

.tracker-status-pill.tracker-status-ping.ping-good {
  border-color: rgba(106, 245, 196, 0.45);
  color: rgba(106, 245, 196, 0.95);
}

.tracker-status-pill.tracker-status-ping.ping-mid {
  border-color: rgba(255, 210, 102, 0.5);
  color: rgba(255, 210, 102, 0.95);
}

.tracker-status-pill.tracker-status-ping.ping-bad {
  border-color: rgba(255, 122, 122, 0.5);
  color: rgba(255, 150, 150, 0.95);
}

.tracker-status-pill.tracker-status-ping.ping-unknown {
  color: rgba(210, 220, 255, 0.65);
}

.tracker-line-stat {
  display: grid;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  align-self: center;
  justify-items: start;
}

.tracker-line-stat strong {
  font-size: 13px;
  color: rgba(232, 240, 255, 0.95);
}

.tracker-line-label {
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.7);
}

.tracker-line-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.tracker-line-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.tracker-line-btn {
  position: relative;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.2px;
  text-transform: none;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(7, 10, 18, 0.7);
  color: rgba(232, 240, 255, 0.95);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tracker-line-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: transform 0.4s ease;
}

.tracker-line-btn:hover::after {
  transform: translateX(120%);
}

.tracker-line-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.tracker-line-btn-vote {
  border-color: rgba(106, 245, 196, 0.6);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.22), rgba(91, 200, 255, 0.1));
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.2);
}

.tracker-line-btn-vote:hover {
  border-color: rgba(106, 245, 196, 0.9);
  box-shadow: 0 14px 26px rgba(106, 245, 196, 0.25);
}

.tracker-line-btn-copy {
  border-color: rgba(91, 200, 255, 0.45);
  background: rgba(7, 10, 18, 0.7);
}

.tracker-line-btn-copy:hover {
  border-color: rgba(91, 200, 255, 0.7);
  box-shadow: 0 12px 20px rgba(91, 200, 255, 0.2);
}

.tracker-line-btn-view {
  border-color: rgba(167, 123, 255, 0.45);
  background: linear-gradient(120deg, rgba(167, 123, 255, 0.18), rgba(91, 200, 255, 0.08));
}

.tracker-line-btn-view:hover {
  border-color: rgba(167, 123, 255, 0.75);
  box-shadow: 0 12px 20px rgba(167, 123, 255, 0.2);
}

.tracker-line-actions .tracker-vote-status {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
  text-align: right;
}

.tracker-votes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 140, 0.35);
  background: rgba(18, 14, 8, 0.6);
  color: rgba(255, 214, 140, 0.95);
  font-variant-numeric: tabular-nums;
}

.tracker-line .tracker-status-pill {
  padding: 4px 10px;
  font-size: 11px;
}

.tracker-line.is-online .tracker-status-pill {
  border-color: rgba(106, 245, 196, 0.55);
  color: rgba(106, 245, 196, 0.95);
}

.tracker-line.is-online .tracker-status-pill::before {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.8);
}

.tracker-line.is-offline .tracker-status-pill {
  border-color: rgba(255, 122, 122, 0.5);
  color: rgba(255, 150, 150, 0.95);
}

.tracker-line.is-offline .tracker-status-pill::before {
  background: rgba(255, 122, 122, 0.9);
  box-shadow: 0 0 12px rgba(255, 122, 122, 0.6);
}

@media (max-width: 1200px) {
  .tracker-line-core {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .tracker-line-status {
    justify-items: start;
  }
}

@media (max-width: 860px) {
  .tracker-line-core {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tracker-line-rank {
    justify-items: start;
  }
  .tracker-line-status {
    justify-items: start;
  }
  .tracker-line-actions {
    justify-items: start;
  }
}

@media (max-width: 980px) {
  .tracker-feed {
    gap: 14px;
  }
  .tracker-feed-head {
    align-items: flex-start;
  }
  .tracker-sort-row {
    width: 100%;
  }
  .tracker-lines {
    gap: 10px;
  }
  body.tracker-dock-open {
    overflow: hidden;
  }
  .tracker-layout {
    grid-template-columns: 1fr;
  }
  .tracker-dock {
    position: fixed;
    inset: 0;
    z-index: 60;
    border-radius: 0;
    padding: 20px 18px 28px;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(6, 9, 14, 0.96));
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
  }
  body.tracker-dock-open .tracker-dock {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .tracker-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(91, 200, 255, 0.25);
    background: rgba(8, 12, 18, 0.85);
    position: sticky;
    top: 10px;
    z-index: 20;
  }
  .tracker-mobile-toggle,
  .tracker-mobile-action {
    border-radius: 999px;
    padding: 8px 12px;
    border: 1px solid rgba(91, 200, 255, 0.35);
    background: rgba(7, 10, 18, 0.7);
    color: rgba(232, 240, 255, 0.95);
    font-size: 12px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .tracker-mobile-action {
    border-color: rgba(106, 245, 196, 0.45);
    background: linear-gradient(120deg, rgba(106, 245, 196, 0.22), rgba(91, 200, 255, 0.1));
  }
  .tracker-dock-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(91, 200, 255, 0.35);
    background: rgba(7, 10, 18, 0.7);
    color: rgba(232, 240, 255, 0.95);
    font-size: 18px;
    line-height: 1;
    margin-left: auto;
  }
  .tracker-line {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 12px 12px 14px;
  }
  .tracker-line-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .tracker-line-stats {
    width: 100%;
  }
  .tracker-line-actions {
    justify-items: start;
    width: 100%;
  }
  .tracker-line-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .tracker-line-banner {
    width: 100%;
  }
  .tracker-line-buttons {
    width: 100%;
  }
  .tracker-line-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .tracker-line-vote {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .tracker-line {
    border-radius: 12px;
    padding: 12px 12px 12px 16px;
  }
  .tracker-line-meta {
    gap: 6px;
  }
  .tracker-line-buttons {
    width: 100%;
  }
  .tracker-line-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .tracker-line-actions .tracker-vote-status {
    text-align: left;
  }
  .tracker-line-banner {
    width: 100%;
    opacity: 1;
  }
  .tracker-line-stat {
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(91, 200, 255, 0.18);
    background: rgba(7, 10, 18, 0.65);
  }
}

@media (max-width: 980px) {
  .tracker-line-header {
    display: none;
  }
}

@media (max-width: 720px) {
  .tracker-vip-cards {
    grid-template-columns: 1fr;
  }
}

.tracker-card.is-hidden {
  display: none;
}

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

.tracker-grid.compact .tracker-card {
  padding: 12px;
}

.tracker-grid.compact .tracker-card-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.tracker-grid.compact .tracker-meta-item {
  padding: 6px 8px;
}

.tracker-grid.compact .tracker-card-connect,
.tracker-grid.compact .tracker-card-tags {
  display: none;
}

.tracker-grid.compact .tracker-card-head strong {
  font-size: 14px;
}

.tracker-grid.compact .tracker-card-actions {
  margin-top: 8px;
  gap: 4px;
}

.tracker-card {
  position: relative;
  border-color: rgba(92, 255, 214, 0.22);
  background: radial-gradient(circle at 20% 10%, rgba(92, 255, 214, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(11, 16, 26, 0.92), rgba(6, 9, 14, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  padding: 16px;
}

.tracker-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(92, 255, 214, 0.1);
  opacity: 0.6;
  pointer-events: none;
}

.tracker-card.is-online {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 18px rgba(106, 245, 196, 0.2);
}

.tracker-card.is-offline {
  border-color: rgba(255, 122, 122, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 122, 122, 0.2);
}

.tracker-card.is-unknown {
  border-color: rgba(91, 200, 255, 0.35);
}

.tracker-card.is-stale::after {
  content: "Cached";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 9, 14, 0.7);
  color: rgba(226, 232, 255, 0.75);
}

.tracker-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tracker-card-head strong {
  font-size: 16px;
  letter-spacing: 0.3px;
}

.tracker-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tracker-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: rgba(6, 9, 14, 0.7);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(232, 240, 255, 0.92);
}

.tracker-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tracker-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.tracker-meta-item {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(7, 10, 18, 0.65);
}

.tracker-meta-item.is-hidden {
  display: none;
}

.tracker-meta-item strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.tracker-meta-item strong[data-gt-status],
.tracker-meta-item strong[data-gt-ping] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(6, 10, 18, 0.75);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 6px;
}

.tracker-meta-item strong[data-gt-status]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 200, 255, 0.7);
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.6);
}

.tracker-card.is-online .tracker-meta-item strong[data-gt-status] {
  border-color: rgba(106, 245, 196, 0.5);
  color: rgba(106, 245, 196, 0.95);
}

.tracker-card.is-online .tracker-meta-item strong[data-gt-status]::before {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.8);
}

.tracker-card.is-offline .tracker-meta-item strong[data-gt-status] {
  border-color: rgba(255, 122, 122, 0.5);
  color: rgba(255, 150, 150, 0.95);
}

.tracker-card.is-offline .tracker-meta-item strong[data-gt-status]::before {
  background: rgba(255, 122, 122, 0.9);
  box-shadow: 0 0 12px rgba(255, 122, 122, 0.6);
}

.tracker-meta-item strong[data-gt-ping].ping-good {
  border-color: rgba(106, 245, 196, 0.45);
  color: rgba(106, 245, 196, 0.95);
}

.tracker-meta-item strong[data-gt-ping].ping-mid {
  border-color: rgba(255, 210, 102, 0.5);
  color: rgba(255, 210, 102, 0.95);
}

.tracker-meta-item strong[data-gt-ping].ping-bad {
  border-color: rgba(255, 122, 122, 0.5);
  color: rgba(255, 150, 150, 0.95);
}

.tracker-meta-item strong[data-gt-ping].ping-unknown {
  color: rgba(210, 220, 255, 0.65);
}

.tracker-card-connect {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.tracker-card-connect code {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(6, 9, 14, 0.7);
  font-size: 12px;
}

.tracker-card-connect a {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(6, 11, 16, 0.75);
  font-size: 12px;
  color: rgba(196, 255, 238, 0.95);
  text-decoration: none;
}

.tracker-card-connect a:hover {
  border-color: rgba(106, 245, 196, 0.65);
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.25);
}

.tracker-card-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tracker-vote-challenge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 18, 0.75);
}

.tracker-vote-question {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: rgba(175, 194, 220, 0.85);
}

.tracker-vote-question strong {
  font-size: 12px;
  color: rgba(232, 240, 255, 0.95);
}

.tracker-vote-challenge input {
  width: 70px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(6, 11, 16, 0.85);
  color: rgba(232, 240, 255, 0.95);
  font-size: 12px;
  text-align: center;
}

.tracker-card-actions .button-compact[data-gt-copy] {
  border-color: rgba(106, 245, 196, 0.35);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.14), rgba(91, 200, 255, 0.08));
}

.tracker-card-actions .button-compact[data-gt-copy]:hover {
  border-color: rgba(106, 245, 196, 0.75);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.2);
}

.tracker-card-actions .button-compact.is-copied {
  border-color: rgba(91, 200, 255, 0.7);
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.2);
}

.tracker-vote-status {
  font-size: 12px;
  margin-left: auto;
}

.tracker-client-grid {
  display: grid;
  gap: 14px;
}

.tracker-client-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(120deg, rgba(8, 12, 20, 0.88), rgba(8, 14, 22, 0.7));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.tracker-client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tracker-client-boost {
  --boost-accent: rgba(255, 191, 96, 0.75);
  --boost-accent-strong: rgba(255, 191, 96, 0.95);
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 191, 96, 0.25);
  background: linear-gradient(135deg, rgba(12, 16, 24, 0.92), rgba(6, 10, 18, 0.88));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 191, 96, 0.08);
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: center;
}

.tracker-client-boost-copy {
  display: grid;
  gap: 6px;
}

.tracker-client-boost-copy strong {
  font-size: 16px;
  color: rgba(244, 246, 255, 0.98);
}

.tracker-client-boost-tag {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 214, 143, 0.95);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 191, 96, 0.12);
  border: 1px solid rgba(255, 191, 96, 0.35);
}

.tracker-client-boost-actions {
  display: grid;
  gap: 10px;
  justify-items: flex-end;
}

.tracker-client-boost-form {
  display: grid;
  gap: 10px;
  justify-items: flex-end;
}

.tracker-client-boost-options {
  display: grid;
  gap: 8px;
}

.tracker-client-boost-option {
  position: relative;
  cursor: pointer;
}

.tracker-client-boost-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tracker-client-boost-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 191, 96, 0.2);
  background: rgba(8, 12, 18, 0.8);
  color: rgba(232, 240, 255, 0.9);
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tracker-client-boost-option input:checked + span {
  border-color: var(--boost-accent-strong);
  box-shadow: 0 0 16px rgba(255, 191, 96, 0.25);
  transform: translateY(-1px);
}

.tracker-client-boost-submit {
  min-width: 180px;
  box-shadow: 0 12px 22px rgba(255, 191, 96, 0.2);
}

.tracker-client-boost-balance {
  font-size: 11px;
  justify-self: flex-end;
}

.tracker-client-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.tracker-client-head strong {
  font-size: 16px;
}

.tracker-client-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 10px;
}

.tracker-client-kpi {
  display: grid;
  gap: 4px;
}

.tracker-client-kpi strong {
  font-size: 14px;
  color: rgba(232, 240, 255, 0.95);
}

.tracker-client-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .tracker-client-card {
    padding: 14px;
  }
  .tracker-client-meta {
    grid-template-columns: 1fr;
  }
  .tracker-client-actions {
    justify-content: flex-start;
  }
  .tracker-client-boost {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .tracker-client-boost-actions,
  .tracker-client-boost-form,
  .tracker-client-boost-balance {
    justify-items: flex-start;
  }
  .tracker-client-boost-submit {
    width: 100%;
  }
}

.tracker-line-header {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: linear-gradient(120deg, rgba(10, 16, 26, 0.92), rgba(8, 12, 18, 0.86));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.tracker-line {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  margin-bottom: 12px;
  background: linear-gradient(120deg, rgba(8, 12, 20, 0.88), rgba(8, 14, 22, 0.72));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.tracker-line:nth-child(odd),
.tracker-line:nth-child(even) {
  background: linear-gradient(120deg, rgba(8, 12, 20, 0.86), rgba(8, 14, 22, 0.68));
}

.tracker-line:last-child {
  margin-bottom: 0;
}

.tracker-line::before {
  border-radius: 16px 0 0 16px;
}

.tracker-line-meta .tracker-line-site,
.tracker-line-meta .tracker-line-map {
  opacity: 0.7;
}

.tracker-line:hover .tracker-line-site,
.tracker-line:hover .tracker-line-map {
  opacity: 1;
}

body[data-page="admin"] .admin-tracker-table thead th {
  position: sticky;
  top: 0;
  background: rgba(8, 12, 20, 0.96);
  z-index: 2;
}

body[data-page="admin"] .admin-tracker-table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

body[data-page="admin"] .admin-tracker-table tbody tr {
  transition: background 0.18s ease, border-color 0.18s ease;
}

body[data-page="admin"] .admin-tracker-table tbody tr:hover {
  background: rgba(91, 200, 255, 0.08);
}

body[data-page="admin"] .admin-tracker-table tbody td {
  padding: 12px 10px;
}

body[data-page="admin"] .admin-tracker-table tbody tr {
  background: rgba(10, 14, 22, 0.78);
  border: 1px solid rgba(91, 200, 255, 0.14);
}

body[data-page="admin"] .admin-tracker-table tbody tr td:first-child {
  border-radius: 12px 0 0 12px;
}

body[data-page="admin"] .admin-tracker-table tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
}

@media (max-width: 640px) {
  .tracker-section {
    padding: 64px 6%;
  }

  .tracker-filter-bar {
    grid-template-columns: 1fr;
  }

  .tracker-filter-actions {
    justify-content: flex-start;
  }

  .tracker-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tracker-card-connect {
    flex-direction: column;
    align-items: flex-start;
  }
  .tracker-vote-status {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .tracker-grid.compact .tracker-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .tracker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .tracker-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ptero-cred-status.is-success {
  color: var(--accent-green);
}

.ptero-cred-status.is-error {
  color: #ff9a9a;
}

@media (max-width: 720px) {
  .ptero-cred-row {
    align-items: flex-start;
  }
}

.service-api {
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 10, 18, 0.96));
}

.service-api-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.service-api-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: rgba(12, 16, 24, 0.5);
}

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

/* Support */
.support-thread {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.support-message {
  max-width: min(760px, 92%);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.86), rgba(6, 8, 14, 0.96));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.support-message.user {
  margin-left: auto;
  border-color: rgba(106, 245, 196, 0.4);
  background: linear-gradient(160deg, rgba(10, 18, 24, 0.88), rgba(6, 10, 16, 0.96));
}

.support-message.staff {
  margin-right: auto;
  border-color: rgba(91, 200, 255, 0.32);
}

.support-message.internal {
  border-style: dashed;
  border-color: rgba(255, 197, 82, 0.35);
  background: linear-gradient(160deg, rgba(18, 16, 12, 0.7), rgba(6, 8, 14, 0.92));
}

.support-message::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.2), rgba(167, 123, 255, 0.45), rgba(91, 200, 255, 0.2));
  opacity: 0.6;
}

.support-message.user::before {
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.7), rgba(106, 245, 196, 0.4));
}

.support-message.internal::before {
  background: linear-gradient(180deg, rgba(255, 197, 82, 0.5), rgba(255, 160, 92, 0.4), rgba(255, 197, 82, 0.35));
  opacity: 0.7;
}

.support-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.support-body {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(232, 240, 255, 0.92);
  white-space: pre-wrap;
  word-break: break-word;
}

.support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.support-attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(12, 16, 24, 0.6);
  color: rgba(232, 240, 255, 0.9);
  text-decoration: none;
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-attachment:hover {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.22);
  transform: translateY(-1px);
}

.support-attachment small {
  color: rgba(159, 179, 209, 0.8);
  font-size: 11px;
}

.support-attachment em {
  font-style: normal;
  color: rgba(255, 197, 82, 0.8);
  font-size: 11px;
}

.support-link {
  color: rgba(106, 245, 196, 0.95);
  text-decoration: none;
}

.support-link:hover {
  text-decoration: underline;
}

.support-file-input {
  margin-top: 8px;
}

.support-file-help {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

input[type="file"].support-file-input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(10, 14, 22, 0.7);
  color: rgba(232, 240, 255, 0.9);
}

input[type="file"].support-file-input::file-selector-button {
  margin-right: 10px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(12, 16, 24, 0.8);
  color: rgba(232, 240, 255, 0.92);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

input[type="file"].support-file-input::file-selector-button:hover {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 0 10px rgba(106, 245, 196, 0.2);
}

.support-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(91, 200, 255, 0.22);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.86), rgba(6, 8, 14, 0.96));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.support-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

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

.support-card + .support-card {
  margin-top: 12px;
}

.support-hq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.support-hq-main {
  min-width: 240px;
}

.support-hq-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.support-hq-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.support-hq-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-stat {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.7);
  text-align: right;
}

.support-stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.support-stack {
  display: grid;
  gap: 16px;
}

.support-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.support-form-grid .full {
  grid-column: 1 / -1;
}

.support-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.support-card-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.8);
}

.support-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.support-ticket-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.8);
}

.support-ticket-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.support-toolbar {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.6);
  gap: 12px;
}

.support-table-wrap {
  margin-top: 12px;
  overflow: auto;
}

.support-table {
  min-width: 680px;
}

.support-split {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.support-ticket-list {
  display: grid;
  gap: 10px;
}

.support-ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.9), rgba(6, 8, 14, 0.96));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.support-ticket-row::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.7), rgba(167, 123, 255, 0.3));
  opacity: 0.5;
}

.support-ticket-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 60%, rgba(91, 200, 255, 0.12) 70%, transparent 82%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.support-ticket-row:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 200, 255, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 20px rgba(91, 200, 255, 0.18);
}

.support-ticket-row:hover::after {
  opacity: 1;
}

.support-ticket-row.active {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 0 24px rgba(106, 245, 196, 0.22);
}

.support-ticket-row.is-open {
  box-shadow: 0 0 26px rgba(106, 245, 196, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.support-ticket-row.is-open::after {
  opacity: 0.5;
}

.support-ticket-row.status-open::before {
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.65), rgba(91, 200, 255, 0.4));
  opacity: 0.8;
}

.support-ticket-row.status-pending::before {
  background: linear-gradient(180deg, rgba(255, 197, 82, 0.6), rgba(167, 123, 255, 0.35));
  opacity: 0.7;
}

.support-ticket-row.status-closed::before {
  background: linear-gradient(180deg, rgba(159, 179, 209, 0.45), rgba(91, 200, 255, 0.2));
  opacity: 0.5;
}

.support-ticket-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.support-ticket-code {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.support-ticket-subject {
  font-weight: 700;
  font-size: 14px;
  color: rgba(232, 240, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.support-ticket-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.support-ticket-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.5);
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.3);
}

.support-ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.support-ticket-action .button-ghost {
  border-color: rgba(91, 200, 255, 0.4);
}

.support-ticket-action .button-ghost::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(91, 200, 255, 0.85);
  border-bottom: 2px solid rgba(91, 200, 255, 0.85);
  transform: rotate(-45deg);
  margin-left: 6px;
}

.support-ticket-action .button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .support-ticket-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .support-ticket-tags {
    justify-content: flex-start;
  }

  .support-ticket-action {
    justify-self: flex-start;
  }
}

@media (max-width: 520px) {
  .support-ticket-subject {
    white-space: normal;
  }
}

@media (max-width: 960px) {
  .client-hero {
    padding: 90px 0 80px;
  }
  .client-shell {
    grid-template-columns: 1fr;
  }
  .client-split {
    grid-template-columns: 1fr;
  }
  .support-layout {
    grid-template-columns: 1fr;
  }
  .support-hq-stats {
    justify-content: flex-start;
  }
  .support-message {
    max-width: 100%;
  }
}

.modal-card.holo {
  position: relative;
  overflow: hidden;
  border-color: rgba(167, 123, 255, 0.45);
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.12), rgba(6, 8, 14, 0.9));
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(91, 200, 255, 0.18);
  transform: perspective(900px) rotateX(2deg);
}
.modal-card.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}
.modal-card .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.holo-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.holo-grid {
  background-image: repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.25;
  animation: holo-grid 12s linear infinite;
}

.holo-beam {
  background: radial-gradient(circle at 70% 30%, rgba(91, 200, 255, 0.15), transparent 35%),
    radial-gradient(circle at 30% 60%, rgba(167, 123, 255, 0.12), transparent 40%);
}

.holo-arc {
  background: conic-gradient(from 90deg, rgba(91, 200, 255, 0.12), transparent 30%, rgba(167, 123, 255, 0.12), transparent 60%);
  filter: blur(12px);
  opacity: 0.45;
  animation: spin 24s linear infinite;
}

.holo-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.4), rgba(0, 0, 0, 0.8));
  box-shadow: 0 0 30px rgba(91, 200, 255, 0.4);
  top: 20%;
  right: 12%;
  animation: pulse 8s ease-in-out infinite;
}

.holo-cube {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  border: 1px solid rgba(167, 123, 255, 0.4);
  top: 18%;
  left: 8%;
  box-shadow: 0 0 22px rgba(167, 123, 255, 0.3);
  animation: spin 14s linear infinite;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hero-slide.active .content {
  animation: slide-up 0.7s ease both;
}

.hero-slide.active .hero-visual {
  animation: slide-up 0.9s ease both;
}

.hero-slide.active .hero-future-visual {
  animation: slide-up 0.9s ease both;
}

.hero-slide.active .hero-neo-visual {
  animation: slide-up 0.9s ease both;
}

.hero-slide.active .hero-prime-visual {
  animation: slide-up 0.9s ease both;
}

.hero-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  background: rgba(91, 200, 255, 0.6);
  transform: scale(1.1);
  animation: pulse 2.8s ease-in-out infinite;
}

.holo-sphere {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.4), rgba(8, 10, 16, 0.95));
  box-shadow: 0 0 40px rgba(91, 200, 255, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.5);
  animation: pulse 8s ease-in-out infinite;
}

.holo-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.35);
  animation: spin 12s linear infinite;
}

.holo-ring.ring-2 { inset: 14%; animation-duration: 18s; border-color: rgba(167, 123, 255, 0.35); }
.holo-ring.ring-3 { inset: 20%; animation-duration: 24s; border-style: dashed; }

.holo-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(4, 6, 12, 0.7);
  border: 1px solid rgba(91, 200, 255, 0.5);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(91, 200, 255, 0.35);
}

.holo-stat {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(4, 6, 12, 0.6);
  border: 1px solid rgba(91, 200, 255, 0.5);
  padding: 10px 12px;
  border-radius: 12px;
  text-align: right;
  box-shadow: 0 0 14px rgba(91, 200, 255, 0.35);
}

.holo-stat span {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.holo-stat small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.6px;
}

.holo-stat.alt {
  top: auto;
  bottom: 20px;
  right: 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--accent-blue);
  margin: 0 0 8px;
}

.button-primary, .button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--hud-border);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.35), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-soft);
  transition: box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.button-primary::after, .button-ghost::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.button-primary:hover, .button-ghost:hover {
  transform: none;
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.35), var(--shadow-soft);
}

.button-primary:hover::after, .button-ghost:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.button-primary.button-surge {
  border-color: rgba(106, 245, 196, 0.7);
  background: linear-gradient(130deg, rgba(91, 200, 255, 0.58), rgba(106, 245, 196, 0.25));
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 18px 40px rgba(91, 200, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-primary.button-surge::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0.4;
  pointer-events: none;
}

.button-primary.button-surge:hover {
  box-shadow: 0 20px 50px rgba(91, 200, 255, 0.45), 0 0 30px rgba(106, 245, 196, 0.25);
}

.button-ghost.button-soft {
  border-color: rgba(91, 200, 255, 0.28);
  background: rgba(12, 16, 28, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-ghost.button-soft:hover {
  border-color: rgba(91, 200, 255, 0.5);
}

.button-compact {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.hero-offer,
.modal-card,
.admin-provider-card,
.admin-reorder-item,
.admin-sidenav-link,
.admin-palette-item,
.client-activity-item,
.package-card,
.region-list-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-offer::after,
.modal-card::after,
.admin-provider-card::after,
.admin-reorder-item::after,
.admin-sidenav-link::after,
.admin-palette-item::after,
.client-activity-item::after,
.package-card::after,
.region-list-item::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-offer:hover::after,
.modal-card:hover::after,
.admin-provider-card:hover::after,
.admin-reorder-item:hover::after,
.admin-sidenav-link:hover::after,
.admin-palette-item:hover::after,
.client-activity-item:hover::after,
.package-card:hover::after,
.region-list-item:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}

.section {
  padding: 100px 8%;
  position: relative;
}

.section > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.announcement-bar {
  padding: 16px 8% 0;
  position: relative;
  z-index: 20;
}

.announcement-panel {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.announcement-panel .badge {
  letter-spacing: 1px;
  text-transform: uppercase;
}

.announcement-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.panel {
  background: var(--hud-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--hud-blur));
  padding: 20px;
}

.section-title {
  display: grid;
  gap: 6px;
  align-items: start;
  margin-bottom: 24px;
}

.section-title .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--accent-blue);
  margin: 0;
}

.section-title h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  margin: 0;
  color: rgba(245, 249, 255, 0.98);
}

.bestiary-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bestiary-section::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(circle at 20% 30%, rgba(91, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(106, 245, 196, 0.16), transparent 60%);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.bestiary-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.04) 0 1px, transparent 1px 28px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.bestiary-title {
  gap: 14px;
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}

.bestiary-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.bestiary-lead {
  margin: 8px 0 0;
  font-size: 16px;
  color: rgba(168, 184, 214, 0.9);
  max-width: 560px;
}

.bestiary-title-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bestiary-title-actions .button-ghost {
  padding: 10px 14px;
  border-radius: 999px;
  border-color: rgba(111, 224, 255, 0.35);
  background: rgba(10, 14, 22, 0.55);
}

.bestiary-title-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bestiary-title-meta .badge {
  border-color: rgba(111, 224, 255, 0.35);
  background: rgba(6, 10, 18, 0.6);
}

@media (max-width: 900px) {
  .bestiary-title-row {
    grid-template-columns: 1fr;
  }
  .bestiary-title-actions {
    justify-content: flex-start;
  }
}

.bestiary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  perspective: 1200px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .bestiary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.bestiary-holo {
  --card-accent-rgb: 91, 200, 255;
  border: 1px solid rgba(var(--card-accent-rgb), 0.5);
  border-radius: 20px;
  padding: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.12), transparent 50%),
    linear-gradient(160deg, rgba(12, 18, 30, 0.95), rgba(6, 8, 14, 0.98));
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(var(--card-accent-rgb), 0.18);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.bestiary-holo:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(var(--card-accent-rgb), 0.75);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(var(--card-accent-rgb), 0.3);
}

.bestiary-holo::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 150deg,
    rgba(var(--card-accent-rgb), 0.18),
    rgba(167, 123, 255, 0.12),
    rgba(106, 245, 196, 0.10),
    rgba(var(--card-accent-rgb), 0.18)
  );
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: blur(70px);
  transform: translate3d(0, 0, 0);
  animation: holo-drift 26s ease-in-out infinite;
  pointer-events: none;
}

.bestiary-holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.05) 0 1px, transparent 1px 16px);
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: holo-grid 10s linear infinite;
  pointer-events: none;
}

.bestiary-thumb {
  background-size: cover;
  background-position: center;
  filter: saturate(1.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.bestiary-thumb::before {
  content: "";
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0%, rgba(111, 224, 255, 0.18) 50%, transparent 100%);
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: holo-scan 6s linear infinite;
  pointer-events: none;
}

.bestiary-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.75));
}

.bestiary-overlay {
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1), rgba(8, 12, 20, 0.85));
  backdrop-filter: blur(10px);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--text);
  transition: background 0.3s ease, transform 0.3s ease;
}

.bestiary-overlay .badge {
  width: max-content;
}

.bestiary-overlay strong,
.bestiary-overlay small {
  color: #f8fbff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.bestiary-overlay strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.bestiary-overlay small {
  font-size: 12px;
  color: rgba(210, 226, 255, 0.9);
}

.bestiary-holo:hover .bestiary-thumb {
  transform: scale(1.06);
  filter: saturate(1.3) brightness(1.05);
}

.bestiary-holo:hover .bestiary-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.05), rgba(8, 12, 20, 0.92));
  transform: translateY(-4px);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.legendary { color: #ffd27d; border-color: rgba(255, 210, 125, 0.6); box-shadow: 0 0 12px rgba(255, 210, 125, 0.4);} 
.badge.rare { color: var(--accent-blue); border-color: rgba(91, 200, 255, 0.5);} 
.badge.common { color: var(--muted);} 
.badge.success { color: var(--accent-green); border-color: rgba(106, 245, 196, 0.55); box-shadow: 0 0 12px rgba(106, 245, 196, 0.25);} 
.badge.warning { color: #ffd27d; border-color: rgba(255, 210, 125, 0.55); box-shadow: 0 0 12px rgba(255, 210, 125, 0.2);} 
.badge.danger { color: #ff8b8b; border-color: rgba(255, 90, 90, 0.55); box-shadow: 0 0 12px rgba(255, 90, 90, 0.18);} 

.package-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.package-tags span {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--muted);
}

.bestiary-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

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

.performance-card {
  padding: 18px;
  border-radius: var(--panel-radius);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.9), rgba(10, 14, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 36px rgba(6, 10, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.performance-card .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.performance-card .skills {
  display: grid;
  gap: 6px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-feature-card {
  border-color: rgba(91, 200, 255, 0.28);
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.service-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.service-card-head h3 {
  margin: 6px 0 4px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.service-card-sub {
  color: var(--muted);
  font-size: 13px;
}

.service-feature-card .features {
  display: grid;
  gap: 6px;
}

.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.package-card {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.9), rgba(8, 10, 16, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(
    from 140deg,
    rgba(91, 200, 255, 0.22),
    rgba(167, 123, 255, 0.14),
    rgba(106, 245, 196, 0.10),
    rgba(91, 200, 255, 0.22)
  );
  opacity: 0;
  filter: blur(80px);
  transform: translate3d(0, 0, 0);
  animation: holo-drift 24s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.package-card:hover {
  transform: none;
  border-color: rgba(91, 200, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 26px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.package-card:hover::before {
  opacity: 0.24;
}

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

.package-card .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.package-card .features {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.package-card .tag {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(91, 200, 255, 0.08);
  border: 1px solid rgba(91, 200, 255, 0.2);
  font-size: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.vps-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 90, 170, 0.45), transparent 55%),
    radial-gradient(circle at 82% 20%, rgba(24, 60, 120, 0.4), transparent 50%),
    linear-gradient(160deg, rgba(6, 12, 24, 0.98), rgba(4, 8, 18, 0.98));
  border-bottom: 1px solid rgba(75, 130, 220, 0.2);
}

.vps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.04) 0 1px, transparent 1px 24px);
  opacity: 0.25;
  pointer-events: none;
}

.vps-hero::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(
    from 120deg,
    rgba(60, 140, 240, 0.18),
    rgba(12, 30, 60, 0.28),
    rgba(50, 110, 200, 0.16),
    rgba(12, 30, 60, 0.3)
  );
  opacity: 0.35;
  filter: blur(110px);
  animation: holo-drift 26s ease-in-out infinite;
  pointer-events: none;
}

.vps-hero-shell {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
  padding: clamp(96px, 14vh, 140px) 6% clamp(80px, 12vh, 120px);
  position: relative;
  z-index: 1;
}

.vps-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.vps-hero-visual {
  display: grid;
  justify-items: center;
  align-items: center;
}

.vps-hero-visual .vps-core-shell {
  width: min(360px, 80vw);
}

.vps-hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 60px);
  margin: 8px 0 14px;
  letter-spacing: 0.2px;
}

.vps-hero-lead {
  color: rgba(216, 232, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}

.vps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 14px;
}

.vps-hero-subline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(210, 226, 255, 0.78);
}

.vps-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.vps-hero-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(80, 140, 230, 0.4);
  background: rgba(8, 14, 26, 0.7);
  font-size: 12px;
  color: rgba(214, 232, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vps-hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.vps-hero-kpi {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(70, 130, 220, 0.25);
  background: rgba(8, 14, 24, 0.7);
  display: grid;
  gap: 4px;
}

.vps-hero-kpi span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(200, 220, 250, 0.6);
}

.vps-hero-kpi strong {
  font-size: 16px;
  color: #f6fbff;
}

.vps-hero-kpi small {
  font-size: 12px;
  color: rgba(200, 220, 250, 0.72);
}

.vps-hero-deck {
  display: grid;
  gap: 16px;
  position: relative;
}

.vps-deck-panel {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(90, 150, 240, 0.3);
  background: linear-gradient(160deg, rgba(8, 14, 26, 0.95), rgba(6, 10, 20, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 16px;
}

.vps-deck-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vps-deck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vps-deck-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 150, 240, 0.35);
  background: rgba(12, 20, 36, 0.7);
  font-size: 11px;
  color: rgba(214, 232, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.vps-deck-fields {
  display: grid;
  gap: 12px;
}

.vps-deck-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(210, 226, 255, 0.7);
}

.vps-deck-field span {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
  color: rgba(200, 220, 250, 0.7);
}

.vps-deck-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 150, 240, 0.25);
  background: rgba(6, 12, 22, 0.85);
  color: #eef6ff;
  font-size: 13px;
  outline: none;
}

.vps-deck-input:focus {
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 0 1px rgba(106, 245, 196, 0.25);
}

.vps-deck-os-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vps-deck-os-option {
  border-radius: 12px;
  border-color: rgba(90, 150, 240, 0.2);
  background: rgba(6, 12, 22, 0.8);
}

.vps-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vps-deck-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(210, 226, 255, 0.7);
}

.vps-deck-orbit {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(70, 130, 220, 0.25);
  background: rgba(8, 14, 26, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
  color: rgba(200, 220, 250, 0.7);
}

.vps-config-note {
  margin: 16px 0 24px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(80, 140, 230, 0.2);
  background: rgba(8, 14, 24, 0.65);
  color: rgba(210, 226, 255, 0.75);
  font-size: 12px;
}

.vps-promise {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(106, 245, 196, 0.22);
  background: linear-gradient(140deg, rgba(10, 22, 44, 0.85), rgba(6, 14, 28, 0.92));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vps-promise-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.vps-promise-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.vps-promise-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(18, 36, 62, 0.65);
  color: var(--muted);
  font-size: 13px;
}

.vps-summary {
  display: grid;
  gap: 8px;
}

.vps-summary ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.vps-hero-arc {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(106, 245, 196, 0.2), transparent 60%),
    radial-gradient(circle at 85% 10%, rgba(91, 200, 255, 0.24), transparent 60%),
    linear-gradient(160deg, rgba(20, 38, 64, 0.82), rgba(12, 26, 46, 0.9));
  border-bottom: 1px solid rgba(91, 200, 255, 0.18);
}

.vps-hero-arc::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.05) 0 1px, transparent 1px 26px);
  opacity: 0.3;
  pointer-events: none;
}

.vps-hero-arc::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 140deg,
    rgba(106, 245, 196, 0.14),
    rgba(91, 200, 255, 0.12),
    rgba(167, 123, 255, 0.1),
    rgba(106, 245, 196, 0.14)
  );
  opacity: 0.35;
  filter: blur(90px);
  animation: holo-drift 24s ease-in-out infinite;
  pointer-events: none;
}

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

.vps-hero-content h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  margin: 8px 0 12px;
}

.vps-hero-content .lead {
  color: rgba(210, 226, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.vps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
}

.vps-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.vps-hero-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(18, 38, 66, 0.6);
  font-size: 12px;
  color: rgba(214, 230, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vps-hero-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.vps-hero-stat {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(18, 34, 60, 0.7);
  display: grid;
  gap: 4px;
}

.vps-hero-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(210, 226, 255, 0.6);
}

.vps-hero-stat strong {
  font-size: 15px;
  color: #f2f7ff;
}

.vps-hero-stat small {
  font-size: 12px;
  color: rgba(210, 226, 255, 0.7);
}

.vps-hero-core {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.vps-core-shell {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(106, 245, 196, 0.25);
  background:
    radial-gradient(circle at 50% 50%, rgba(91, 200, 255, 0.24), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(18, 36, 62, 0.9), rgba(12, 24, 44, 0.95));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 30px rgba(91, 200, 255, 0.12);
  overflow: hidden;
}

.vps-core-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(91, 200, 255, 0.35);
  animation: vps-spin 18s linear infinite;
}

.vps-core-ring.ring-2 {
  inset: 18%;
  border-style: solid;
  border-color: rgba(106, 245, 196, 0.35);
  animation-direction: reverse;
  animation-duration: 22s;
}

.vps-core-grid {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, rgba(106, 245, 196, 0.2) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.15) 0 1px, transparent 1px 10px);
  opacity: 0.2;
}

.vps-core-node {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(106, 245, 196, 0.9), rgba(91, 200, 255, 0.35) 60%, transparent 70%);
  box-shadow: 0 0 30px rgba(106, 245, 196, 0.5);
  animation: vps-pulse 4.5s ease-in-out infinite;
}

.vps-core-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
}

.vps-core-orbit span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(18, 38, 66, 0.65);
  color: rgba(210, 226, 255, 0.85);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: normal;
}

.vps-core-cards {
  display: grid;
  gap: 10px;
  width: min(360px, 85vw);
}

.vps-core-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(16, 34, 60, 0.72);
  display: grid;
  gap: 4px;
}

.vps-core-card span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(210, 226, 255, 0.6);
}

.vps-core-card strong {
  color: #f6fbff;
  font-size: 15px;
}

.vps-core-card small {
  color: rgba(210, 226, 255, 0.75);
  font-size: 12px;
}

.vps-grid-section {
  position: relative;
}

.vps-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.vps-overview-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(70, 130, 220, 0.22);
  background: rgba(8, 14, 26, 0.78);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}

.vps-overview-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(200, 220, 250, 0.7);
}

.vps-overview-grid {
  display: grid;
  gap: 12px;
}

.vps-overview-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(80, 140, 230, 0.2);
  background: rgba(8, 14, 26, 0.7);
  color: rgba(210, 226, 255, 0.85);
  font-size: 13px;
}

.vps-config {
  margin-bottom: 26px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.vps-config-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(16, 34, 60, 0.68);
  display: grid;
  gap: 8px;
}

.vps-config-card strong {
  font-size: 13px;
  color: rgba(214, 230, 255, 0.9);
}

.vps-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.vps-platform {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 20%, rgba(50, 110, 200, 0.14), transparent 60%),
    radial-gradient(circle at 85% 18%, rgba(40, 90, 180, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(6, 12, 24, 0.92), rgba(4, 8, 18, 0.98));
  border-top: 1px solid rgba(80, 140, 230, 0.16);
  border-bottom: 1px solid rgba(80, 140, 230, 0.12);
}

.vps-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.04) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.03) 0 1px, transparent 1px 30px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.vps-platform > * {
  position: relative;
  z-index: 1;
}

.vps-platform-copy {
  display: grid;
  gap: 14px;
}

.vps-platform-lead {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(214, 230, 255, 0.9);
  margin: 0;
}

.vps-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vps-platform-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.vps-platform-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.vps-platform-cards {
  width: 100%;
  max-width: 980px;
  margin: 20px auto 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.vps-platform-cards .vps-core-card {
  min-height: 110px;
}

.vps-stack-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.vps-stack {
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.92), rgba(4, 8, 18, 0.98));
}

.vps-stack-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(80, 140, 230, 0.25);
  background: rgba(6, 12, 24, 0.82);
  box-shadow: 0 18px 34px rgba(4, 8, 16, 0.5);
  display: grid;
  gap: 10px;
}

.vps-stack-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(90, 150, 240, 0.35);
  background: rgba(10, 20, 36, 0.85);
  color: var(--stack-accent, #5bc8ff);
}

.vps-stack-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.vps-stack-card h3 {
  font-size: 16px;
  margin: 0;
}

.vps-stack-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.vps-os-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vps-os-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(16, 34, 60, 0.65);
  color: rgba(214, 230, 255, 0.82);
  font-size: 12px;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vps-os-option:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 245, 196, 0.4);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
}

.vps-os-option.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 0 0 1px rgba(106, 245, 196, 0.3), 0 12px 22px rgba(7, 12, 20, 0.45);
}

.vps-os-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), rgba(8, 12, 20, 0.7));
  border: 1px solid rgba(91, 200, 255, 0.2);
  color: var(--os-accent, #7aa8ff);
}

.os-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), rgba(8, 12, 20, 0.8));
  border: 1px solid rgba(91, 200, 255, 0.2);
  color: var(--os-accent, #7aa8ff);
}

.os-icon-svg {
  width: 18px;
  height: 18px;
}

.vps-tier-block {
  margin-top: 32px;
}

.vps-tier-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.vps-tier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vps-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.vps-card {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(90, 150, 240, 0.28);
  background: linear-gradient(165deg, rgba(8, 14, 26, 0.95), rgba(4, 8, 16, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vps-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(
    from 120deg,
    rgba(91, 200, 255, 0.18),
    rgba(106, 245, 196, 0.1),
    rgba(167, 123, 255, 0.12),
    rgba(91, 200, 255, 0.18)
  );
  opacity: 0;
  filter: blur(80px);
  transition: opacity 0.2s ease;
  animation: holo-drift 26s ease-in-out infinite;
  pointer-events: none;
}

.vps-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 180, 255, 0.55);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(106, 245, 196, 0.2);
}

.vps-card:hover::before {
  opacity: 0.25;
}

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

.vps-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.vps-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background:
    radial-gradient(circle at 30% 30%, rgba(106, 245, 196, 0.2), transparent 70%),
    rgba(8, 12, 20, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.vps-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--plan-accent, #5bc8ff);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.vps-card-title {
  flex: 1 1 auto;
}

.vps-card-title h4 {
  margin: 0;
  font-size: 18px;
}

.vps-card-tier {
  display: inline-flex;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(210, 226, 255, 0.7);
}

.vps-card-note {
  margin: 8px 0 10px;
  color: rgba(210, 226, 255, 0.75);
  font-size: 12px;
}

.vps-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.vps-price-main {
  font-weight: 600;
  color: #f2f7ff;
  font-size: 15px;
}

.vps-card-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.vps-card-spec {
  position: relative;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(80, 140, 230, 0.2);
  background: rgba(4, 8, 16, 0.85);
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: rgba(210, 226, 255, 0.85);
  overflow: hidden;
}

.vps-card-spec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.65), rgba(91, 200, 255, 0.35));
  opacity: 0.9;
}

.vps-card-spec strong {
  color: #f6fbff;
  font-weight: 600;
  font-size: 14px;
}

.vps-card-spec span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(210, 226, 255, 0.6);
}

.vps-card-spec[data-spec="cpu"]::before {
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.7), rgba(106, 245, 196, 0.2));
}

.vps-card-spec[data-spec="ram"]::before {
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.75), rgba(91, 200, 255, 0.2));
}

.vps-card-spec[data-spec="storage"]::before {
  background: linear-gradient(180deg, rgba(167, 123, 255, 0.75), rgba(167, 123, 255, 0.2));
}

.vps-card-spec[data-spec="bandwidth"]::before {
  background: linear-gradient(180deg, rgba(245, 209, 106, 0.75), rgba(245, 209, 106, 0.2));
}

.vps-card-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(210, 226, 255, 0.75);
}

.vps-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vps-card-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.95), rgba(91, 200, 255, 0.4));
  margin: 6px 8px 0 0;
  display: inline-block;
  vertical-align: top;
  box-shadow: 0 0 8px rgba(91, 200, 255, 0.5);
}

.vps-card-actions {
  margin-top: 12px;
}

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

@keyframes vps-pulse {
  0% {
    transform: scale(0.98);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.8;
  }
}

@media (max-width: 980px) {
  .vps-hero-shell {
    padding: 88px 6% 80px;
  }
  .vps-hero-grid {
    grid-template-columns: 1fr;
  }
  .vps-overview {
    grid-template-columns: 1fr;
  }
  .vps-core-cards {
    width: min(360px, 90vw);
  }
}

@media (max-width: 720px) {
  .vps-hero-shell {
    padding: 80px 6% 70px;
  }
  .vps-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .vps-card-specs {
    grid-template-columns: 1fr;
  }
  .vps-hero-arc {
    padding: 70px 0 60px;
  }
}

.vps-tier {
  margin-top: 30px;
}

.vps-tier-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.vps-tier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vps-tier-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 150, 240, 0.35);
  background: rgba(6, 12, 22, 0.8);
  font-size: 12px;
  color: rgba(210, 226, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vps-package-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.vps-package-card {
  border-color: color-mix(in srgb, var(--plan-accent) 55%, rgba(91, 200, 255, 0.2));
}

.vps-package-card::before {
  opacity: 0.12;
}

.vps-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vps-plan-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 70%, rgba(255, 255, 255, 0.1));
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--plan-accent) 20%, transparent 80%), transparent 70%),
    rgba(10, 14, 22, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.vps-plan-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--plan-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.vps-plan-title {
  flex: 1 1 auto;
}

.vps-plan-title h4 {
  margin: 0;
  font-size: 18px;
}

.vps-plan-title span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(210, 226, 255, 0.75);
}

.vps-plan-note {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.vps-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.vps-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.6);
  font-size: 12px;
  color: rgba(210, 226, 255, 0.85);
}

.vps-spec strong {
  color: #f6fbff;
  font-weight: 600;
}

.vps-plan-actions {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .vps-tier-head {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .vps-specs {
    grid-template-columns: 1fr;
  }
}

.web-stack-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 20%, rgba(91, 200, 255, 0.16), transparent 60%),
    radial-gradient(circle at 85% 15%, rgba(106, 245, 196, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 22, 0.65), rgba(6, 10, 18, 0.8));
  border-top: 1px solid rgba(91, 200, 255, 0.16);
  border-bottom: 1px solid rgba(91, 200, 255, 0.12);
}

.web-stack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.04) 0 1px, transparent 1px 24px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.web-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.web-stack-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(170deg, rgba(12, 18, 30, 0.92), rgba(8, 10, 16, 0.95));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.web-stack-card::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 120deg, rgba(91, 200, 255, 0.2), rgba(167, 123, 255, 0.15), rgba(106, 245, 196, 0.08), rgba(91, 200, 255, 0.2));
  opacity: 0.25;
  filter: blur(80px);
  pointer-events: none;
}

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

.web-stack-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.web-stack-card p {
  margin: 0;
  color: rgba(210, 226, 255, 0.85);
}

.web-stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: rgba(185, 205, 235, 0.85);
  font-size: 13px;
}

.web-stack-list li {
  position: relative;
  padding-left: 18px;
}

.web-stack-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.95), rgba(91, 200, 255, 0.35));
  position: absolute;
  left: 0;
  top: 6px;
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.45);
}

.web-stack-slab {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(140deg, rgba(12, 16, 28, 0.9), rgba(8, 12, 20, 0.95));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.web-stack-slab strong {
  display: block;
  margin-bottom: 6px;
}

.web-stack-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.web-stack-tags .badge {
  border-color: rgba(110, 178, 255, 0.35);
  background: rgba(6, 10, 18, 0.65);
}

.web-package-grid {
  gap: 18px;
}

.web-package-card {
  border-radius: 20px;
  padding: 20px;
  border-color: rgba(91, 200, 255, 0.5);
  background:
    radial-gradient(circle at 15% 15%, rgba(91, 200, 255, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(14, 20, 32, 0.96), rgba(6, 8, 14, 0.98));
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(91, 200, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.web-package-card::before {
  opacity: 0.35;
}

.web-package-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(91, 200, 255, 0.12) 40%, rgba(167, 123, 255, 0.12) 60%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.web-package-card .title {
  align-items: flex-start;
  gap: 8px;
}

.web-package-card .title h4 {
  font-size: 18px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.web-package-card .badge {
  border-color: rgba(106, 245, 196, 0.5);
  color: rgba(106, 245, 196, 0.95);
  background: rgba(6, 10, 18, 0.7);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.25);
}

.web-package-card .tag {
  border-radius: 999px;
  border-color: rgba(110, 178, 255, 0.35);
  background: rgba(6, 10, 18, 0.7);
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.18);
}

.web-package-card .features {
  font-size: 13px;
}

.web-package-card .features .muted {
  color: rgba(186, 204, 231, 0.85);
}

.web-panel-picker {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.web-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(186, 204, 231, 0.7);
}

.web-panel-options {
  display: grid;
  gap: 8px;
}

.web-panel-option {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(6, 10, 18, 0.72);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.web-panel-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: rgba(91, 200, 255, 0.95);
}

.web-panel-content {
  display: grid;
  gap: 2px;
}

.web-panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.web-panel-meta {
  font-size: 12px;
  color: rgba(186, 204, 231, 0.78);
}

.web-panel-option:hover {
  border-color: rgba(91, 200, 255, 0.5);
  transform: translateY(-1px);
}

.web-panel-option:focus-within {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 0 0 2px rgba(106, 245, 196, 0.2);
}

.web-panel-option:has(input:checked) {
  border-color: rgba(106, 245, 196, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.modal-open {
  overflow: hidden;
}

.web-panel-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(91, 200, 255, 0.22), transparent 55%),
    radial-gradient(circle at 88% 16%, rgba(255, 184, 112, 0.18), transparent 60%),
    rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9500;
}

.web-panel-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.web-panel-modal-scrim {
  position: absolute;
  inset: 0;
}

.web-panel-modal-card {
  position: relative;
  width: min(760px, 92vw);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(120, 200, 255, 0.35);
  background:
    radial-gradient(circle at 12% 8%, rgba(106, 245, 196, 0.22), transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(255, 184, 112, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(12, 20, 36, 0.98), rgba(6, 10, 18, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(91, 200, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 1;
  color: #f4f8ff;
}

.web-panel-modal.active .web-panel-modal-card {
  transform: translateY(0) scale(1);
}

.web-panel-modal-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 40%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.web-panel-modal-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  opacity: 0.35;
  pointer-events: none;
}

.web-panel-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.web-panel-modal .muted {
  color: rgba(206, 222, 245, 0.9);
}

.web-panel-modal-head .eyebrow {
  color: rgba(151, 208, 255, 0.95);
}

.web-panel-modal-plan {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(212, 230, 255, 0.95);
}

.web-panel-modal-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  perspective: 1200px;
}

.web-panel-hero {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.web-panel-hero-card {
  --panel-accent: #6af5c4;
  position: relative;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(145deg, rgba(14, 22, 38, 0.95), rgba(6, 10, 18, 0.98));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transform: rotateX(7deg) rotateY(-6deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.web-panel-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--panel-accent) 35%, transparent), transparent 65%),
    linear-gradient(120deg, transparent 0%, color-mix(in srgb, var(--panel-accent) 25%, transparent) 45%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
}

.web-panel-hero-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--panel-accent) 35%, transparent);
  opacity: 0.25;
  pointer-events: none;
}

.web-panel-hero:hover .web-panel-hero-card {
  transform: translateY(-4px) rotateX(0deg) rotateY(0deg);
  border-color: color-mix(in srgb, var(--panel-accent) 55%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.55),
    0 0 24px color-mix(in srgb, var(--panel-accent) 40%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.web-panel-hero:focus-visible .web-panel-hero-card {
  outline: none;
  border-color: color-mix(in srgb, var(--panel-accent) 70%, rgba(255, 255, 255, 0.25));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--panel-accent) 45%, transparent),
    0 22px 44px rgba(0, 0, 0, 0.6);
}

.web-panel-hero.disabled {
  cursor: not-allowed;
}

.web-panel-hero.disabled .web-panel-hero-card {
  opacity: 0.6;
  filter: grayscale(0.4);
  transform: translateY(0) rotateX(0deg) rotateY(0deg);
}

.web-panel-hero-media {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(16, 24, 38, 0.9), rgba(8, 12, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateZ(28px);
}

.web-panel-hero-media img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.web-panel-logo-fallback {
  font-size: 18px;
  font-weight: 700;
  color: var(--panel-accent);
  letter-spacing: 0.08em;
}

.web-panel-hero-body {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.web-panel-hero-body strong {
  font-size: 15px;
  letter-spacing: 0.2px;
  color: #f7fbff;
}

.web-panel-hero-body span {
  font-size: 12px;
  color: rgba(210, 228, 255, 0.88);
}

.web-panel-hero-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 90, 90, 0.18);
  border: 1px solid rgba(255, 90, 90, 0.45);
  color: rgba(255, 160, 160, 0.9);
  z-index: 2;
}

.web-panel-modal-empty {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .web-stack-slab {
    align-items: flex-start;
  }
  .web-stack-tags {
    justify-content: flex-start;
  }
  .web-panel-modal-card {
    padding: 16px;
  }
  .web-panel-modal-grid {
    grid-template-columns: 1fr;
  }
  .web-panel-hero-card {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
}

.regions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.region-map {
  padding: 0;
  border-radius: var(--panel-radius);
  background: rgba(12, 16, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  min-height: 520px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  touch-action: pan-x pan-y;
}

.region-leaflet {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--panel-radius);
  overflow: hidden;
  background: radial-gradient(circle at 40% 30%, rgba(91, 200, 255, 0.16), rgba(6, 10, 18, 0.92));
  touch-action: pan-x pan-y;
}

.region-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 360;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.region-loading-inner {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.region-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid rgba(91, 200, 255, 0.18);
  border-top-color: rgba(91, 200, 255, 0.8);
  animation: spin 0.9s linear infinite;
}

.region-loading-text {
  font-size: 12px;
}

.region-leaflet:not(.loading) .region-loading {
  opacity: 0;
}

.region-leaflet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 350;
  background:
    radial-gradient(circle at 40% 30%, rgba(91, 200, 255, 0.16), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(167, 123, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.55));
  mix-blend-mode: screen;
  opacity: 0.75;
}

.region-map .leaflet-tile {
  filter: saturate(1.08) contrast(1.05) brightness(0.84);
}

.region-legacy-surface {
  position: absolute;
  inset: 0;
  z-index: 40;
}

.region-legacy-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(91, 200, 255, 0.1), transparent 50%),
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 26px);
}

.region-legacy-legend {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 60;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 4px;
  max-width: 320px;
}

.region-legacy-legend span {
  font-size: 12px;
  color: var(--muted);
}

.region-legacy-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 70;
  cursor: pointer;
}

.region-legacy-node:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.55);
  outline-offset: 4px;
  border-radius: 999px;
}

.region-marker {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: none;
  border: none;
  box-shadow: none;
}

.region-node-dot {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(91, 200, 255, 0.85));
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.region-node-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.22);
  opacity: 0.0;
  animation: node-pulse 2.4s ease-out infinite;
}

.region-marker.active .region-node-dot {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(106, 245, 196, 0.92));
  box-shadow: 0 0 20px rgba(106, 245, 196, 0.65);
  border-color: rgba(106, 245, 196, 0.6);
}
.region-marker.active .region-node-pulse { border-color: rgba(106, 245, 196, 0.45); box-shadow: 0 0 22px rgba(106, 245, 196, 0.25); opacity: 1; }

.region-marker.offline .region-node-dot {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 107, 129, 0.85));
  box-shadow: 0 0 16px rgba(255, 107, 129, 0.6);
  border-color: rgba(255, 180, 190, 0.6);
}

.region-marker.offline .region-node-pulse {
  border-color: rgba(255, 107, 129, 0.45);
  box-shadow: 0 0 18px rgba(255, 107, 129, 0.22);
  opacity: 0.7;
}

.region-marker.offline.active .region-node-dot {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 169, 90, 0.92));
  box-shadow: 0 0 20px rgba(255, 169, 90, 0.6);
  border-color: rgba(255, 210, 165, 0.65);
}

.region-marker.offline.active .region-node-pulse {
  border-color: rgba(255, 169, 90, 0.5);
  box-shadow: 0 0 22px rgba(255, 169, 90, 0.22);
  opacity: 1;
}

.region-map .leaflet-control-zoom a {
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.82);
  color: rgba(232, 240, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.region-map .leaflet-control-zoom a:hover {
  border-color: rgba(91, 200, 255, 0.45);
}

.region-map .leaflet-control-attribution {
  background: rgba(8, 12, 20, 0.72);
  color: rgba(159, 179, 209, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 10px;
  margin: 10px;
  backdrop-filter: blur(10px);
}

.region-map .leaflet-control-attribution a {
  color: rgba(232, 240, 255, 0.92);
}

.region-map::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(91, 200, 255, 0.08), transparent 50%);
  animation: map-glow 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.region-panel {
  padding: 18px;
  border-radius: var(--panel-radius);
  background: rgba(12, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.region-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.region-panel-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--accent-blue);
  margin: 0 0 6px;
}

.region-panel-badge .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.region-panel-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.region-panel-kv .stat {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.35));
  display: grid;
  gap: 6px;
}

.region-panel-kv .stat span {
  font-size: 12px;
  color: var(--muted);
}

.region-panel-kv .stat strong {
  font-size: 16px;
  letter-spacing: 0.3px;
}

.region-panel-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 10px;
}

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

.region-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.region-list-item small {
  color: var(--muted);
  font-size: 12px;
}

.region-list-item:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.28);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.14);
}

.region-list-item.active {
  border-color: rgba(106, 245, 196, 0.35);
  box-shadow: 0 0 22px rgba(106, 245, 196, 0.16);
}

.region-list-item.offline {
  border-color: rgba(255, 107, 129, 0.28);
  background: rgba(255, 107, 129, 0.06);
}

.region-list-item.offline:hover {
  border-color: rgba(255, 107, 129, 0.45);
  box-shadow: 0 0 18px rgba(255, 107, 129, 0.14);
}

.region-list-item.offline small {
  color: rgba(255, 190, 200, 0.88);
}

.section-title .section-lead {
  margin-top: 8px;
  color: var(--muted);
  max-width: 560px;
}

.quest-hub {
  position: relative;
}

.quest-hub::before {
  content: "";
  position: absolute;
  inset: 20px 0 auto 0;
  height: 220px;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.16), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(106, 245, 196, 0.12), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.quest-line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.quest-line-holo::before {
  display: none;
}

.quest-line-holo .quest-step {
  position: relative;
  z-index: 1;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(12, 16, 26, 0.94), rgba(7, 10, 18, 0.96));
  border: 1px solid rgba(92, 255, 214, 0.18);
  box-shadow: 0 18px 36px rgba(4, 8, 16, 0.45);
  overflow: hidden;
  min-height: 168px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quest-line-holo .quest-step:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 255, 214, 0.32);
  box-shadow: 0 24px 48px rgba(4, 8, 16, 0.55);
}

.quest-line-holo .quest-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(92, 255, 214, 0.16), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.quest-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.quest-step-index {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(232, 240, 255, 0.98);
  background: linear-gradient(140deg, rgba(92, 255, 214, 0.35), rgba(91, 200, 255, 0.18));
  box-shadow: inset 0 0 12px rgba(6, 10, 18, 0.6);
}

.quest-step-label {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(92, 255, 214, 0.28);
  background: rgba(92, 255, 214, 0.12);
  color: var(--text);
}

.quest-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.quest-step p {
  margin: 0;
  color: rgba(180, 198, 226, 0.9);
  position: relative;
  z-index: 1;
}

.quest-step-glow {
  position: absolute;
  inset: auto 16px 12px auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(92, 255, 214, 0.3), transparent 70%);
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
}

.guild-hall {
  position: relative;
}

.guild-hall::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: radial-gradient(circle at 10% 40%, rgba(91, 200, 255, 0.16), transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(255, 160, 92, 0.14), transparent 60%);
  pointer-events: none;
  opacity: 0.7;
}

.guild-hall .guild {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.guild-showcase {
  display: grid;
  gap: 14px;
}

.guild-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.testimonial-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.92), rgba(7, 10, 18, 0.9));
  border: 1px solid rgba(91, 200, 255, 0.14);
  box-shadow: 0 16px 32px rgba(4, 8, 16, 0.45);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 200, 255, 0.28);
  box-shadow: 0 22px 42px rgba(4, 8, 16, 0.55);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.testimonial-card:hover::after {
  opacity: 1;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.5), rgba(122, 243, 210, 0.25));
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.4);
}

.testimonial-meta {
  display: grid;
  gap: 2px;
}

.testimonial-meta span {
  font-size: 11px;
  color: rgba(170, 188, 214, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.guild-activity {
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.guild-activity-lead {
  margin: -6px 0 0;
  font-size: 13px;
  color: rgba(170, 188, 214, 0.85);
}

.activity-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.activity-feed li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.activity-feed li:hover {
  border-color: rgba(91, 200, 255, 0.28);
  box-shadow: 0 12px 22px rgba(4, 8, 16, 0.35);
  transform: translateY(-2px);
}

.activity-feed li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.9), rgba(91, 200, 255, 0.2));
  box-shadow: 0 0 10px rgba(106, 245, 196, 0.45);
  flex: 0 0 auto;
}

.activity-feed .activity-text {
  flex: 1;
  color: rgba(180, 198, 226, 0.95);
  display: block;
}

.activity-feed a {
  color: inherit;
  text-decoration: none;
}

.activity-feed a:hover {
  color: var(--text);
  text-decoration: underline;
}

.activity-feed .activity-time {
  color: rgba(159, 179, 209, 0.85);
  font-size: 12px;
  margin-left: auto;
}

#faq-list,
.faq-grid,
#game-faq {
  display: grid;
  gap: 14px;
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

#faq-list::before,
.faq-grid::before,
#game-faq::before {
  display: none;
}

#faq-list,
.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#game-faq {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-item {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(92, 255, 214, 0.18);
  background: linear-gradient(150deg, rgba(12, 16, 26, 0.96), rgba(7, 10, 18, 0.92));
  box-shadow: 0 18px 36px rgba(4, 8, 16, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(92, 255, 214, 0.16), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(91, 200, 255, 0.12), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.faq-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 255, 214, 0.35);
  box-shadow: 0 22px 46px rgba(4, 8, 16, 0.5);
}

.faq-item:hover::after,
.faq-item.active::after {
  opacity: 1;
}

.faq-item.active {
  border-color: rgba(92, 255, 214, 0.4);
  box-shadow: 0 24px 50px rgba(4, 8, 16, 0.55);
  transform: translateY(-4px);
}

.faq-question {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  position: relative;
  z-index: 1;
}

.faq-question::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 35%, rgba(92, 255, 214, 0.75), rgba(91, 200, 255, 0.1) 55%);
  box-shadow: 0 0 12px rgba(92, 255, 214, 0.4);
}

.faq-question::after {
  content: "+";
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid rgba(92, 255, 214, 0.2);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
  color: var(--text);
  background: rgba(92, 255, 214, 0.18);
}

.faq-question:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.55);
  outline-offset: 2px;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease, padding 0.3s ease;
  background: rgba(7, 10, 18, 0.5);
  position: relative;
  z-index: 1;
}

.faq-answer p {
  margin: 0;
  color: rgba(180, 198, 226, 0.9);
}

.faq-item.active .faq-answer {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  padding: 0 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 720px) {
  #faq-list,
  .faq-grid,
  #game-faq {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }
  .guild-testimonials {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* HUD */
#hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 0 calc(12px + var(--safe-bottom));
  background: transparent;
  border-top: 0;
  backdrop-filter: none;
  z-index: 12;
  pointer-events: none;
  overflow: visible;
  display: flex;
  justify-content: center;
}

#hud.hud-minimized {
  padding: 4px 0 calc(8px + var(--safe-bottom));
}

#hud::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: min(860px, 90vw);
  height: 72px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 200, 255, 0.22), transparent 70%);
  filter: blur(26px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

#hud-logout {
  display: none;
}

#hud-admin {
  display: none;
}

.hud-rail.logged-in #hud-lang {
  display: none;
}

.hud-rail.admin #hud-admin {
  display: grid;
  place-items: center;
}

.hud-rail {
  width: min(1020px, 94vw);
  max-width: 1020px;
  margin: 0 auto;
  background: radial-gradient(circle at 20% 40%, rgba(91, 200, 255, 0.14), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(167, 123, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.94), rgba(4, 7, 13, 0.98));
  border: 1px solid rgba(91, 200, 255, 0.32);
  border-radius: 20px;
  padding: 10px 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 32px rgba(91, 200, 255, 0.24);
  pointer-events: auto;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(var(--hud-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--hud-blur)) saturate(140%);
  transform: translateZ(0);
  isolation: isolate;
  transition: padding 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.hud-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.05) 0 1px, transparent 1px 22px);
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: hud-grid 26s linear infinite;
}

.hud-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(90deg, rgba(91, 200, 255, 0.35), transparent 18%, transparent 82%, rgba(106, 245, 196, 0.35)),
    linear-gradient(90deg, transparent, rgba(106, 245, 196, 0.45), transparent);
  background-size: auto, auto, 220% 100%;
  background-position: center, center, 0 0;
  opacity: 0.22;
  pointer-events: none;
  animation: hud-scan 12s linear infinite;
}

.hud-rail > * {
  position: relative;
  z-index: 1;
}

.hud-rail.logged-in {
  border-color: rgba(106, 245, 196, 0.35);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(106, 245, 196, 0.22);
}

.hud-rail.guest {
  border-color: rgba(91, 200, 255, 0.3);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(91, 200, 255, 0.24);
}

.hud-rail.admin {
  border-color: rgba(255, 197, 82, 0.42);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 197, 82, 0.2);
}

.hud-rail.admin {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 197, 82, 0.22), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(91, 200, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.95), rgba(6, 9, 16, 0.98));
}

.hud-rail.admin .hud-compact-actions {
  border-left-color: rgba(255, 197, 82, 0.25);
}

.hud-rail.admin .nav-hex {
  border-color: rgba(255, 197, 82, 0.45);
  background: linear-gradient(180deg, rgba(36, 28, 14, 0.92), rgba(10, 12, 20, 0.92));
}

.hud-rail.admin .nav-hex:hover {
  border-color: rgba(255, 197, 82, 0.9);
  box-shadow: 0 0 22px rgba(255, 197, 82, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-rail.admin .nav-hex.active {
  border-color: rgba(255, 197, 82, 0.85);
  box-shadow: 0 0 18px rgba(255, 197, 82, 0.28);
}

.hud-rail.admin .hud-icon-btn {
  border-color: rgba(255, 197, 82, 0.45);
}

.hud-rail.admin .hud-icon-btn:hover {
  border-color: rgba(255, 197, 82, 0.9);
  box-shadow: 0 0 24px rgba(255, 197, 82, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-rail-controls {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: min(1080px, 94vw);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8px;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}

.hud-rail-controls > * {
  pointer-events: auto;
}

.hud-icon-btn.hud-dock-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.hud-rail-controls .hud-icon-btn,
.hud-rail-controls .hud-admin-sigil {
  flex: 0 0 auto;
}

.hud-admin-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 10px;
  margin-bottom: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 197, 82, 0.5);
  background: linear-gradient(140deg, rgba(255, 197, 82, 0.16), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  max-height: 120px;
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.hud-admin-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 197, 82, 0.12) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 26px);
  opacity: 0.2;
  pointer-events: none;
}

.hud-admin-strip > * {
  position: relative;
  z-index: 1;
}

.hud-admin-badge {
  display: grid;
  gap: 1px;
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 197, 82, 0.55);
  background: rgba(8, 10, 16, 0.7);
}

.hud-admin-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hud-admin-sub {
  font-size: 10px;
  color: rgba(159, 179, 209, 0.9);
}

.hud-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

.hud-admin-actions::-webkit-scrollbar { display: none; }

.hud-admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 197, 82, 0.45);
  background: rgba(255, 197, 82, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-admin-chip:hover {
  border-color: rgba(255, 197, 82, 0.85);
  box-shadow: 0 0 16px rgba(255, 197, 82, 0.22);
}

.hud-admin-sigil {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 197, 82, 0.6);
  background: radial-gradient(circle at 30% 25%, rgba(255, 197, 82, 0.35), rgba(8, 10, 16, 0.95));
  color: var(--text);
  cursor: pointer;
  margin: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hud-admin-sigil::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 197, 82, 0.35);
  opacity: 0.55;
  animation: spin 16s linear infinite;
}

.hud-admin-sigil::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 197, 82, 0.4), transparent 60%);
  opacity: 0.7;
}

.hud-admin-sigil-core {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 197, 82, 0.8);
  transform: rotate(45deg);
  position: relative;
  box-shadow: 0 0 12px rgba(255, 197, 82, 0.45);
  z-index: 1;
}

.hud-admin-sigil-core::before,
.hud-admin-sigil-core::after {
  content: "";
  position: absolute;
  background: rgba(255, 197, 82, 0.85);
}

.hud-admin-sigil-core::before {
  width: 2px;
  height: 10px;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
}

.hud-admin-sigil-core::after {
  height: 2px;
  width: 10px;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
}

.hud-rail.admin.admin-deck-open .hud-admin-sigil {
  border-color: rgba(255, 197, 82, 0.9);
  box-shadow: 0 0 24px rgba(255, 197, 82, 0.25), 0 14px 30px rgba(0, 0, 0, 0.4);
}

.hud-rail.admin:not(.admin-deck-open) .hud-admin-strip {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin-bottom: 0;
  border-width: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  transform: translateY(-8px);
}

.hud-rail.admin.admin-deck-open .hud-admin-strip {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hud-minimize-btn {
  border-color: rgba(91, 200, 255, 0.55);
  background: radial-gradient(circle at 35% 30%, rgba(91, 200, 255, 0.28), rgba(8, 10, 16, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 26px rgba(0, 0, 0, 0.35), 0 0 18px rgba(91, 200, 255, 0.2);
}

.hud-minimize-btn:hover {
  border-color: rgba(91, 200, 255, 0.9);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hud-minimize-icon {
  transition: transform 0.25s ease;
}

.hud-compact-row {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}

#hud.hud-minimized::before {
  opacity: 0.28;
  height: 50px;
}

#hud.hud-minimized .hud-rail {
  padding: 8px 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#hud.hud-minimized .hud-rail-controls {
  justify-content: center;
  margin-bottom: 0;
}

#hud.hud-minimized .hud-minimize-icon {
  transform: rotate(180deg);
}

#hud.hud-minimized .hud-admin-strip {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

#hud.hud-minimized .hud-compact-row {
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hud-compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  overflow: visible;
}

.hud-compact-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  padding-left: 12px;
  margin-left: 2px;
  border-left: 0;
  flex: 0 0 auto;
  justify-self: end;
  position: relative;
}

.hud-compact-actions::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 10px;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.18), rgba(91, 200, 255, 0.06) 60%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}


#hud-menu {
  display: none;
}

.hud-actions-mini {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hud-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.hud-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.hud-main {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 10px;
  align-items: center;
}

.hud-core {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.hud-core .crest {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.55), rgba(8, 10, 16, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.hud-core .crest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent 60%);
}

.hud-core .meta {
  display: grid;
  gap: 6px;
}

.hud-core .meta .label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.6px;
}

.hud-core .meta .value {
  font-size: 15px;
  font-weight: 700;
}

.hud-ticker {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.hud-ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 16s linear infinite;
}

.hud-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 6px 4px 6px;
  scroll-snap-type: x proximity;
  scroll-padding: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  width: 100%;
}

.hud-nav[data-overflow="0"] {
  -webkit-mask-image: none;
  mask-image: none;
}

.hud-nav::-webkit-scrollbar { display: none; }

.hud-nav .nav-hex {
  flex: 0 0 auto;
  min-width: 60px;
  width: auto;
  scroll-snap-align: start;
}

.hud-nav .nav-hex .nav-label {
  display: block;
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  font-size: 10.5px;
  letter-spacing: 0.4px;
}

#hud.hud-nav-tight .hud-nav {
  gap: 5px;
  padding: 5px 4px;
}

#hud.hud-nav-tight .hud-nav .nav-hex {
  min-width: 54px;
  padding: 0 8px;
  height: 40px;
}

#hud.hud-nav-tight .hud-nav .nav-label {
  font-size: 10px;
  letter-spacing: 0.2px;
}

#hud.hud-nav-compact .hud-nav {
  gap: 4px;
  padding: 4px 4px;
}

#hud.hud-nav-compact .hud-nav .nav-hex {
  min-width: 46px;
  padding: 0 6px;
  height: 38px;
  border-radius: 12px;
  gap: 4px;
}

#hud.hud-nav-compact .hud-nav .nav-label,
#hud.hud-nav-short .hud-nav .nav-label {
  font-size: 9px;
  letter-spacing: 0;
}

#hud.hud-nav-short .hud-nav .nav-hex {
  min-width: 44px;
  gap: 4px;
}

#hud.hud-nav-icons .hud-nav {
  gap: 4px;
}

#hud.hud-nav-icons .hud-nav .nav-hex {
  min-width: 38px;
  padding: 0 6px;
  height: 36px;
  border-radius: 12px;
  gap: 0;
}

#hud.hud-nav-icons .hud-nav .nav-label {
  display: none;
}

#hud.hud-nav-icons .hud-nav .nav-icon {
  width: 17px;
  height: 17px;
}

#hud.hud-nav-wrap .hud-compact-row {
  align-items: start;
}

#hud.hud-nav-wrap .hud-compact-actions {
  align-self: start;
  margin-top: 2px;
}

#hud.hud-nav-wrap .hud-nav {
  flex-wrap: wrap;
  overflow-x: visible;
  row-gap: 6px;
  -webkit-mask-image: none;
  mask-image: none;
}

#hud.hud-nav-wrap .hud-nav .nav-hex {
  flex: 1 1 160px;
  max-width: 220px;
}

#hud.hud-nav-wrap .hud-nav .nav-label {
  max-width: none;
  text-overflow: clip;
}

.hud-menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.hud-menu-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease, transform 0.2s ease;
}

.hud-menu-item::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.3), rgba(167, 123, 255, 0.12));
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.2);
}

.hud-menu-item-deploy {
  grid-column: 1 / -1;
  border-color: rgba(106, 245, 196, 0.35);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.12), rgba(91, 200, 255, 0.08));
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.18);
}

.hud-menu-item-deploy::before {
  border-color: rgba(106, 245, 196, 0.5);
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.4), rgba(91, 200, 255, 0.14));
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.25);
}

.hud-menu-item[data-action="games"]::before {
  border-color: rgba(106, 245, 196, 0.55);
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.4), rgba(91, 200, 255, 0.12));
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.22);
}

.hud-menu-item[data-action="marketplace"]::before {
  border-color: rgba(255, 197, 82, 0.6);
  background: linear-gradient(140deg, rgba(255, 197, 82, 0.45), rgba(167, 123, 255, 0.12));
  box-shadow: 0 0 16px rgba(255, 197, 82, 0.24);
}

.hud-menu-item[data-action="status"]::before {
  border-color: rgba(167, 123, 255, 0.6);
  background: linear-gradient(140deg, rgba(167, 123, 255, 0.4), rgba(91, 200, 255, 0.12));
  box-shadow: 0 0 16px rgba(167, 123, 255, 0.24);
}

.hud-menu-item[data-action="vps"]::before {
  border-color: rgba(106, 245, 196, 0.45);
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.35), rgba(91, 200, 255, 0.1));
  box-shadow: 0 0 14px rgba(106, 245, 196, 0.2);
}

.hud-menu-item[data-action="web"]::before {
  border-color: rgba(91, 200, 255, 0.55);
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.35), rgba(167, 123, 255, 0.12));
  box-shadow: 0 0 14px rgba(91, 200, 255, 0.22);
}

.hud-menu-item[data-action="kb"]::before,
.hud-menu-item[data-action="support"]::before {
  border-color: rgba(255, 160, 92, 0.6);
  background: linear-gradient(140deg, rgba(255, 160, 92, 0.4), rgba(91, 200, 255, 0.1));
  box-shadow: 0 0 14px rgba(255, 160, 92, 0.22);
}

.hud-menu-item::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hud-menu-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.24);
  background: rgba(91, 200, 255, 0.05);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.16);
}

.hud-menu-item:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}

.hud-menu-item-title {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hud-menu-item-meta {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46%;
  justify-self: end;
}

@media (max-width: 720px) {
  .hud-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hud-menu-item {
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 8px 10px;
    border-radius: 12px;
  }

  .hud-menu-item::before {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }

  .hud-menu-item-title {
    font-size: 12px;
    letter-spacing: 0.3px;
  }

  .hud-menu-item-meta {
    display: none;
  }

  .window[data-window="menu"] .content {
    display: grid;
    gap: 12px;
  }

  .window[data-window="menu"] .hud-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .window[data-window="menu"] .hud-menu-item {
    grid-template-columns: 1fr;
    min-height: 72px;
    align-content: start;
    justify-items: start;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .window[data-window="menu"] .hud-menu-item::before {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .window[data-window="menu"] .hud-menu-item-title {
    font-size: 13px;
  }

  .window[data-window="menu"] .hud-menu-item-meta {
    display: block;
    font-size: 10px;
    color: rgba(159, 179, 209, 0.8);
    max-width: 100%;
    justify-self: start;
  }

  .window[data-window="menu"] .hud-menu-panel {
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(91, 200, 255, 0.18);
    background: rgba(8, 12, 20, 0.7);
  }

  .window[data-window="menu"] .hud-menu-panel strong {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(159, 179, 209, 0.92);
  }

  .window[data-window="menu"] .hud-menu-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .window[data-window="menu"] .hud-menu-actions .button-primary,
  .window[data-window="menu"] .hud-menu-actions .button-ghost {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
    border-radius: 12px;
  }

  .window[data-window="menu"] .hud-menu-panel-actions .button-ghost {
    background: rgba(14, 20, 30, 0.8);
    border-color: rgba(91, 200, 255, 0.3);
  }

  .window[data-window="menu"] .hud-menu-panel-actions .button-ghost:hover {
    background: rgba(91, 200, 255, 0.12);
    border-color: rgba(91, 200, 255, 0.5);
  }
}

.hud-menu-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.inventory-domain {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.7);
  grid-column: 1 / -1;
}

.inventory-domain-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(159, 179, 209, 0.85);
}

.inventory-domain-input,
.checkout-domain-input,
.client-domain-input,
.checkout-solus-input,
.checkout-solus-select,
.client-solus-input,
.client-solus-select {
  width: min(260px, 100%);
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: rgba(6, 9, 16, 0.6);
  color: var(--text);
  padding: 8px 10px;
  font-size: 12px;
}

.inventory-domain-input:focus,
.checkout-domain-input:focus,
.client-domain-input:focus,
.checkout-solus-input:focus,
.checkout-solus-select:focus,
.client-solus-input:focus,
.client-solus-select:focus {
  outline: none;
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 14px rgba(106, 245, 196, 0.2);
}

.checkout-solus-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.checkout-solus-os {
  grid-column: 1 / -1;
}

.checkout-field-compact {
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.35px;
}

.checkout-field-compact input,
.checkout-field-compact select {
  padding: 6px 8px;
  font-size: 12px;
  height: 32px;
}

.checkout-field-compact .checkout-solus-select,
.checkout-field-compact .checkout-solus-input {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .checkout-solus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .checkout-solus-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-os-picker {
  display: grid;
  gap: 8px;
}

.checkout-os-families {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-os-family {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: rgba(8, 12, 20, 0.72);
  color: rgba(232, 240, 255, 0.95);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 11px;
}

.checkout-os-family.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 10px 18px rgba(7, 12, 20, 0.4);
}

.checkout-os-family .vps-os-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  color: var(--os-accent, currentColor);
}

.checkout-os-family .vps-os-name {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: rgba(232, 240, 255, 0.95);
}

.checkout-os-versions {
  display: grid;
  gap: 6px;
  overflow: hidden;
}

.checkout-os-version-group {
  display: none;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.checkout-os-version-group.active {
  display: flex;
}

.checkout-os-version {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.7);
  font-size: 11px;
  color: rgba(214, 230, 255, 0.85);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.checkout-os-version.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 8px 16px rgba(7, 12, 20, 0.4);
}

.checkout-solus-select.is-hidden {
  display: none;
}

.checkout-hero {
  background: transparent;
}

.checkout-shell {
  width: min(1200px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
}

.checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
}

.checkout-head-copy {
  max-width: 560px;
}

.checkout-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.checkout-progress {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-step {
  position: relative;
  padding: 6px 14px 6px 28px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(10, 14, 22, 0.7);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.88);
}

.checkout-step::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(91, 200, 255, 0.35);
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.3);
}

.checkout-step.active {
  border-color: rgba(106, 245, 196, 0.6);
  color: rgba(232, 240, 255, 0.98);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.16), rgba(91, 200, 255, 0.1));
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.2);
}

.checkout-step.active::before {
  background: rgba(106, 245, 196, 0.85);
  box-shadow: 0 0 14px rgba(106, 245, 196, 0.6);
}

.checkout-flash {
  border-color: rgba(91, 200, 255, 0.35);
}

.checkout-flash.success {
  border-color: rgba(106, 245, 196, 0.45);
}

.checkout-flash.danger {
  border-color: rgba(255, 90, 90, 0.45);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(16px, 2.4vw, 26px);
}

.checkout-panel {
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(150deg, rgba(12, 16, 28, 0.92), rgba(6, 10, 18, 0.96));
  padding: clamp(16px, 2vw, 22px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-panel-primary {
  border-color: rgba(91, 200, 255, 0.35);
}

.checkout-panel-side {
  display: grid;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

@media (min-width: 960px) {
  .checkout-panel-side {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.checkout-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.checkout-items {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checkout-item {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(150deg, rgba(10, 14, 22, 0.92), rgba(6, 10, 18, 0.96));
  padding: 12px;
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.checkout-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(91, 200, 255, 0.08), transparent 40%),
    linear-gradient(120deg, rgba(106, 245, 196, 0.05), transparent 45%);
  opacity: 0.7;
  pointer-events: none;
}

.checkout-item > * {
  position: relative;
  z-index: 1;
}

.checkout-item-vps {
  border-color: rgba(91, 200, 255, 0.35);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.checkout-item-web {
  border-color: rgba(255, 184, 112, 0.35);
  background: linear-gradient(150deg, rgba(12, 18, 30, 0.94), rgba(6, 10, 18, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4), 0 0 26px rgba(255, 184, 112, 0.16);
}

.checkout-item-web::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 184, 112, 0.16), transparent 52%),
    linear-gradient(120deg, rgba(91, 200, 255, 0.08), transparent 55%);
}

.checkout-item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
  gap: 16px;
}

.checkout-item-head-web {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.checkout-web-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 184, 112, 0.32);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 184, 112, 0.16), transparent 55%),
    linear-gradient(140deg, rgba(12, 18, 30, 0.92), rgba(6, 10, 18, 0.96));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 184, 112, 0.15);
}

.checkout-web-hero-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.checkout-web-hero-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(206, 222, 245, 0.8);
}

.checkout-web-hero-pricing {
  display: grid;
  gap: 12px;
  align-content: space-between;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 184, 112, 0.24);
  background: rgba(8, 12, 20, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.checkout-web-hero-pricing .checkout-price-compact {
  grid-template-columns: 1fr;
  min-width: 0;
  width: 100%;
}

.checkout-web-hero-pricing .checkout-price-card {
  text-align: left;
}

.checkout-web-hero-pricing .checkout-price-value {
  justify-items: start;
}

.checkout-item-summary {
  flex: 1 1 320px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.checkout-item-summary-web {
  gap: 8px;
}

.checkout-item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-item-summary strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.checkout-item-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(8, 12, 20, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 245, 196, 0.95);
}

.checkout-item-web .checkout-item-tag {
  border-color: rgba(255, 184, 112, 0.5);
  color: rgba(255, 214, 170, 0.95);
  background: rgba(18, 12, 6, 0.7);
}

.checkout-item-desc {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.88);
  line-height: 1.4;
}

.checkout-item-note {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.8);
}

.checkout-item-meta span + span::before {
  content: "•";
  margin-right: 6px;
  color: rgba(91, 200, 255, 0.5);
}

.checkout-item-specline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-item-specline span {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
}

.checkout-item-web .checkout-item-specline span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 112, 0.32);
  background: rgba(10, 12, 18, 0.7);
  gap: 6px;
}

.checkout-item-specline strong {
  font-size: 12px;
  color: rgba(232, 240, 255, 0.95);
}

.checkout-item-web .checkout-item-specline strong {
  font-size: 12px;
}

.checkout-item-specline em {
  font-style: normal;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.checkout-item-web .checkout-item-specline em {
  font-size: 10px;
  letter-spacing: 0.3px;
}

.checkout-tag {
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(210, 224, 246, 0.9);
  background: rgba(9, 13, 20, 0.7);
}

.checkout-item-qty {
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.5);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(232, 240, 255, 0.95);
  background: rgba(6, 10, 18, 0.8);
  align-self: start;
}

.checkout-item-price-stack {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
  min-width: 120px;
  align-self: start;
}

.checkout-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.checkout-item-controls-web {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.checkout-item-controls-web .checkout-qty-stepper {
  align-self: flex-start;
}

.checkout-item-controls-web .checkout-price-compact {
  grid-template-columns: 1fr;
  min-width: 0;
  width: 100%;
}

.checkout-item-controls-web .checkout-price-card {
  text-align: left;
}

.checkout-item-controls-web .checkout-price-value {
  justify-items: start;
}

.checkout-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(7, 10, 18, 0.65);
  font-size: 12px;
}

.checkout-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(6, 10, 18, 0.85);
  color: rgba(232, 240, 255, 0.95);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-qty-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 8px 16px rgba(7, 12, 20, 0.4);
}

.checkout-qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.checkout-price-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  min-width: 240px;
}

.checkout-price-card {
  display: grid;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
  text-align: right;
}

.checkout-price-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.8);
}

.checkout-price-value {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.checkout-price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.checkout-price-card strong {
  font-size: 14px;
  color: rgba(232, 240, 255, 0.96);
}

.checkout-price-card em {
  font-style: normal;
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-price-card.is-total strong {
  font-size: 15px;
}

.checkout-item-web .checkout-item-summary,
.checkout-item-web .checkout-item-controls {
  border-color: rgba(255, 184, 112, 0.24);
  background: rgba(10, 12, 20, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.checkout-web-panel-alert {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 184, 112, 0.4);
  background: rgba(18, 12, 6, 0.7);
  color: rgba(255, 214, 170, 0.9);
  font-size: 12px;
}

.checkout-term-badge {
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.5);
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: rgba(232, 240, 255, 0.95);
  background: rgba(6, 10, 18, 0.8);
}

.checkout-item-price-stack > div {
  display: grid;
  gap: 3px;
  justify-items: end;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
}

.checkout-item-body {
  display: grid;
  gap: 8px;
}

.checkout-web-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.checkout-web-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--web-accent) 22%, rgba(255, 255, 255, 0.12));
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--web-accent) 18%, transparent), transparent 58%),
    linear-gradient(150deg, rgba(12, 18, 30, 0.95), rgba(7, 10, 18, 0.98));
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.45),
    0 0 20px color-mix(in srgb, var(--web-accent) 18%, transparent);
}

.checkout-web-card-head {
  display: grid;
  gap: 4px;
}

.checkout-web-card-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(186, 204, 231, 0.85);
}

.checkout-web-card-sub {
  font-size: 11px;
  color: rgba(200, 216, 240, 0.85);
}

.checkout-web-panel-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checkout-web-panel-option {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.checkout-web-panel-option.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-web-panel-option:focus-visible .checkout-web-panel-card {
  outline: 2px solid color-mix(in srgb, var(--panel-accent) 55%, rgba(106, 245, 196, 0.25));
  outline-offset: 2px;
}

.checkout-web-panel-option.active .checkout-web-panel-card {
  border-color: color-mix(in srgb, var(--panel-accent) 55%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.45),
    0 0 20px color-mix(in srgb, var(--panel-accent) 25%, transparent);
}

.checkout-web-panel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--panel-accent) 35%, rgba(255, 255, 255, 0.12));
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--panel-accent) 18%, transparent), transparent 60%),
    linear-gradient(140deg, rgba(12, 18, 30, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.45),
    0 0 16px color-mix(in srgb, var(--panel-accent) 18%, transparent);
  transform: none;
}

.checkout-web-panel-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(14, 20, 32, 0.95), rgba(7, 10, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-web-panel-logo img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.checkout-web-panel-info {
  display: grid;
  gap: 4px;
}

.checkout-web-panel-info strong {
  font-size: 14px;
  letter-spacing: 0.2px;
  color: rgba(247, 251, 255, 0.98);
}

.checkout-web-panel-info span {
  font-size: 12px;
  color: rgba(206, 222, 245, 0.85);
}

.checkout-web-panel-status {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 90, 90, 0.15);
  border: 1px solid rgba(255, 90, 90, 0.45);
  color: rgba(255, 180, 180, 0.95);
}

.checkout-web-domain-card {
  align-content: start;
}

.checkout-web-domain-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(186, 204, 231, 0.85);
}

.checkout-web-domain-field .checkout-domain-input {
  width: 100%;
  border-color: color-mix(in srgb, var(--web-accent) 35%, rgba(255, 255, 255, 0.2));
  background: rgba(6, 9, 16, 0.6);
  font-size: 14px;
  padding: 10px 12px;
}

.checkout-web-domain-field .checkout-domain-input:focus {
  border-color: color-mix(in srgb, var(--web-accent) 70%, rgba(255, 255, 255, 0.25));
  box-shadow: 0 0 18px color-mix(in srgb, var(--web-accent) 35%, transparent);
}

.checkout-web-domain-note {
  font-size: 12px;
  color: rgba(206, 222, 245, 0.82);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.65);
}

.checkout-web-domain-note.is-ready {
  color: rgba(159, 245, 196, 0.95);
  border-color: rgba(106, 245, 196, 0.55);
  background: rgba(8, 20, 18, 0.7);
}

.checkout-term-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.6);
}

.checkout-term-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-term-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checkout-term-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  color: rgba(214, 230, 255, 0.85);
  font-size: 11px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-term-option em {
  font-style: normal;
  color: rgba(106, 245, 196, 0.9);
}

.checkout-term-option.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 10px 16px rgba(7, 12, 20, 0.4);
}

.checkout-item-options,
.checkout-item-config {
  display: grid;
  gap: 10px;
}

.checkout-item-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.checkout-spec {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.7);
  display: grid;
  gap: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
}

.checkout-spec strong {
  font-size: 12px;
  text-transform: none;
  color: rgba(232, 240, 255, 0.96);
  letter-spacing: 0.2px;
}

.checkout-perks {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(210, 224, 246, 0.9);
  font-size: 12px;
}

.inventory-domain .inventory-domain-input {
  width: 100%;
}

.checkout-field {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-size: 11px;
}

.checkout-field-web {
  border-color: color-mix(in srgb, var(--web-accent) 35%, rgba(255, 255, 255, 0.12));
  background: linear-gradient(140deg, rgba(12, 18, 30, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.checkout-field-hint {
  font-size: 11px;
  color: rgba(206, 222, 245, 0.8);
  text-transform: none;
  letter-spacing: normal;
}

.checkout-field input,
.checkout-field select {
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px;
}

.checkout-item-pricing {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.checkout-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
}

.checkout-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
}

.checkout-item-details {
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.65);
  padding: 8px 10px;
}

.checkout-item-details summary {
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.85);
  list-style: none;
}

.checkout-item-details summary::-webkit-details-marker {
  display: none;
}

.checkout-item-details[open] summary {
  margin-bottom: 6px;
}

.checkout-item .checkout-domain-input,
.checkout-item .checkout-solus-input,
.checkout-item .checkout-solus-select {
  width: 100%;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-empty {
  border-color: rgba(91, 200, 255, 0.35);
  text-align: left;
}

.checkout-card {
  border-color: rgba(91, 200, 255, 0.5);
  background: radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.14), rgba(6, 10, 18, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(91, 200, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.checkout-card::before {
  opacity: 0.3;
}

.checkout-table,
.cart-table {
  border-collapse: separate;
  border-spacing: 0 10px;
  background: transparent;
  box-shadow: none;
}

.checkout-table thead th,
.cart-table thead th {
  position: static;
  background: rgba(9, 13, 20, 0.85);
  border-bottom: none;
  padding-bottom: 4px;
}

.checkout-table tbody tr td,
.cart-table tbody tr td {
  background: linear-gradient(140deg, rgba(12, 16, 28, 0.92), rgba(6, 10, 18, 0.96));
  border-top: 1px solid rgba(91, 200, 255, 0.18);
  border-bottom: 1px solid rgba(91, 200, 255, 0.18);
}

.checkout-table tbody tr td:first-child,
.cart-table tbody tr td:first-child {
  border-left: 1px solid rgba(91, 200, 255, 0.18);
  border-radius: 14px 0 0 14px;
}

.checkout-table tbody tr td:last-child,
.cart-table tbody tr td:last-child {
  border-right: 1px solid rgba(91, 200, 255, 0.18);
  border-radius: 0 14px 14px 0;
}

.checkout-summary,
.cart-summary {
  border-color: rgba(106, 245, 196, 0.32);
  background: linear-gradient(150deg, rgba(12, 16, 28, 0.92), rgba(6, 10, 18, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-summary {
  display: grid;
  gap: 12px;
  position: relative;
  overflow: visible;
  padding: clamp(18px, 2vw, 24px);
  width: 100%;
  box-sizing: border-box;
}

.checkout-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 20%, rgba(106, 245, 196, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(91, 200, 255, 0.14), transparent 40%);
  opacity: 0.75;
  pointer-events: none;
}

.checkout-summary > * {
  position: relative;
  z-index: 1;
}

.checkout-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.checkout-summary-count {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-summary-count strong {
  font-size: 16px;
  color: rgba(232, 240, 255, 0.95);
}

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

.checkout-summary-tile {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(7, 10, 18, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-summary-tile strong {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.2px;
  color: rgba(232, 240, 255, 0.98);
}

.checkout-summary-tile.is-total {
  border-color: rgba(106, 245, 196, 0.45);
  background: linear-gradient(150deg, rgba(12, 20, 24, 0.85), rgba(7, 10, 18, 0.96));
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.checkout-summary-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(91, 200, 255, 0.3);
  background: rgba(7, 10, 18, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-summary-discount strong {
  font-size: 13px;
  text-transform: none;
  color: rgba(255, 210, 125, 0.95);
}

.checkout-summary-coins {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.5);
  background: linear-gradient(150deg, rgba(106, 245, 196, 0.2), rgba(91, 200, 255, 0.08));
  color: rgba(232, 240, 255, 0.95);
  font-size: 11px;
  letter-spacing: 0.25px;
}

.checkout-coin-pill.is-need {
  border-color: rgba(255, 184, 112, 0.45);
  background: linear-gradient(150deg, rgba(255, 184, 112, 0.2), rgba(91, 200, 255, 0.08));
}

.checkout-coin-pill.is-balance .tick-coin-icon {
  box-shadow: 0 0 14px rgba(106, 245, 196, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.checkout-coin-pill .tick-coin-icon {
  width: 18px;
  height: 18px;
}

.checkout-coin-pill .tick-coin-icon::before {
  width: 2px;
  height: 8px;
}

.checkout-coin-pill .tick-coin-icon::after {
  width: 8px;
  height: 2px;
  top: 5px;
}

.checkout-coin-label {
  text-transform: uppercase;
  letter-spacing: 0.35px;
  font-size: 10px;
  color: rgba(200, 216, 240, 0.85);
}

.checkout-coin-amount {
  font-size: 13px;
  font-weight: 700;
  color: rgba(232, 240, 255, 0.98);
}

.checkout-coin-suffix {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-coin-hint {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.8);
}

.checkout-summary-free {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(7, 16, 18, 0.7);
  color: rgba(159, 245, 196, 0.95);
  font-size: 12px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(91, 200, 255, 0.18);
}

.checkout-coupon,
.cart-coupon {
  border-color: rgba(91, 200, 255, 0.32);
  background: linear-gradient(150deg, rgba(10, 14, 22, 0.88), rgba(6, 10, 18, 0.95));
}

.checkout-actions,
.cart-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cart-overview {
  border-color: rgba(91, 200, 255, 0.45);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.88), rgba(6, 10, 18, 0.96));
}

.checkout-methods {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.checkout-method {
  display: grid;
  grid-template-columns: 18px minmax(40px, 52px) 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(150deg, rgba(9, 13, 20, 0.92), rgba(6, 10, 18, 0.96));
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.checkout-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: rgba(7, 10, 18, 0.75);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: rgba(232, 240, 255, 0.95);
}

.checkout-method-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.checkout-method-icon.is-paypal {
  border-color: rgba(0, 156, 222, 0.55);
  background: linear-gradient(150deg, rgba(0, 48, 135, 0.25), rgba(0, 156, 222, 0.12));
}

.paypal-logo-back {
  fill: #003087;
}

.paypal-logo-front {
  fill: #009cde;
}

.checkout-method-icon.is-tick {
  border-color: rgba(106, 245, 196, 0.55);
  color: rgba(106, 245, 196, 0.95);
}

.checkout-method-icon.is-coinbase {
  border-color: rgba(0, 82, 255, 0.55);
  color: #0052ff;
  background: linear-gradient(150deg, rgba(0, 82, 255, 0.2), rgba(8, 12, 20, 0.92));
}

.coinbase-logo path {
  fill: currentColor;
}

.crypto-mark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.checkout-method-icon .tick-coin-icon {
  width: 18px;
  height: 18px;
}

.checkout-method-icon .tick-coin-icon::before {
  width: 2px;
  height: 8px;
}

.checkout-method-icon .tick-coin-icon::after {
  width: 8px;
  height: 2px;
  top: 4px;
}

.checkout-method-body {
  display: grid;
  gap: 4px;
}

.checkout-method-sub {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.85);
}

.checkout-method-tick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(186, 204, 231, 0.85);
}

.checkout-method-tick-meta strong {
  font-size: 12px;
  color: rgba(232, 240, 255, 0.98);
}

.checkout-method-tick-meta .tick-coin-inline {
  margin-right: 2px;
}

.checkout-method-tick-meta .tick-coin-icon {
  width: 14px;
  height: 14px;
}

.checkout-method-tick-meta .tick-coin-icon::before {
  width: 2px;
  height: 6px;
}

.checkout-method-tick-meta .tick-coin-icon::after {
  width: 6px;
  height: 2px;
  top: 4px;
}

.checkout-method-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-method input {
  margin-top: 3px;
  align-self: center;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: rgba(6, 10, 18, 0.8);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 2px rgba(6, 10, 18, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.checkout-method input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(106, 245, 196, 0.85);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.checkout-method input:checked {
  border-color: rgba(106, 245, 196, 0.8);
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.3);
}

.checkout-method input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.checkout-method:hover {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 0 20px rgba(106, 245, 196, 0.15);
}

.checkout-method:has(input:checked) {
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 22px rgba(106, 245, 196, 0.25);
  background: linear-gradient(150deg, rgba(12, 20, 24, 0.92), rgba(7, 10, 18, 0.96));
}

.checkout-method.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-method.disabled:hover {
  border-color: rgba(91, 200, 255, 0.2);
  box-shadow: none;
}

.checkout-method.disabled .checkout-method-badge {
  opacity: 0.7;
}

.checkout-method-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.checkout-method-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(7, 10, 18, 0.75);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(200, 216, 240, 0.85);
}

.checkout-method-paypal .checkout-method-badge {
  border-color: rgba(0, 156, 222, 0.4);
  color: rgba(0, 156, 222, 0.9);
}

.checkout-method-tick .checkout-method-badge {
  border-color: rgba(106, 245, 196, 0.5);
  color: rgba(159, 245, 196, 0.95);
}

.checkout-method-crypto .checkout-method-badge {
  border-color: rgba(255, 183, 77, 0.6);
  color: rgba(255, 201, 120, 0.95);
}

.paypal-mark {
  position: relative;
  width: 26px;
  height: 26px;
  font-family: "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}

.paypal-p {
  position: absolute;
  left: 0;
  top: 0;
}

.paypal-p-back {
  color: #003087;
  transform: translate(-2px, -1px);
  opacity: 0.95;
}

.paypal-p-front {
  color: #009cde;
  transform: translate(1px, 1px);
}

.paypal-word {
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: baseline;
}

.paypal-word .paypal-pay {
  color: #003087;
}

.paypal-word .paypal-pal {
  color: #009cde;
  margin-left: 1px;
}

.crypto-invoice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.crypto-invoice-card {
  display: grid;
  gap: 10px;
}

.crypto-invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(91, 200, 255, 0.12);
}

.crypto-invoice-row:last-child {
  border-bottom: 0;
}

.crypto-invoice-address {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.crypto-invoice-address-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.crypto-invoice-address-row code {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 10, 18, 0.85);
  word-break: break-all;
}

.crypto-invoice-side {
  display: grid;
  gap: 10px;
}

.crypto-qr-wrap {
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(150deg, rgba(8, 14, 22, 0.92), rgba(6, 10, 18, 0.97));
}

.crypto-qr-wrap img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.crypto-qr-wrap.placeholder {
  color: rgba(159, 179, 209, 0.8);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.crypto-invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 960px) {
  .crypto-invoice-grid {
    grid-template-columns: 1fr;
  }
  .crypto-qr-wrap img {
    width: 160px;
    height: 160px;
  }
}

.checkout-os-family::after,
.checkout-os-version::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.checkout-os-family:hover::after,
.checkout-os-version:hover::after {
  opacity: 1;
}

.checkout-totals {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.inventory-window .content {
  display: grid;
  gap: 12px;
}

.inventory-list {
  display: grid;
  gap: 12px;
}

.inventory-window {
  width: min(980px, 94vw);
  max-height: 84vh;
}

.inventory-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  flex-wrap: wrap;
}

.inventory-head .inventory-progress {
  margin-left: auto;
}

.inventory-progress {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(8, 12, 18, 0.75);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.inventory-progress .checkout-step {
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.4px;
}

.inventory-progress .checkout-step::before {
  display: none;
}

.inventory-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 14px;
  align-items: start;
}

.inventory-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.inventory-coupon-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.inventory-coupon-label input {
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: rgba(6, 9, 16, 0.6);
  color: var(--text);
  padding: 8px 10px;
  font-size: 12px;
}

.inventory-coupon-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.inventory-coupon .muted {
  margin-top: 8px;
  font-size: 12px;
}

.inventory-actions {
  margin-top: 0;
}

.inventory-card {
  display: grid;
  gap: 12px;
}

.inventory-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.inventory-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventory-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 170px);
  gap: 12px;
  margin-top: 10px;
}

.inventory-item-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.inventory-spec {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
  display: grid;
  gap: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
}

.inventory-spec strong {
  font-size: 12px;
  text-transform: none;
  color: rgba(232, 240, 255, 0.96);
  letter-spacing: 0.2px;
}

.inventory-item-pricing {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.inventory-price-block {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 10, 18, 0.7);
  display: grid;
  gap: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
}

.inventory-price-block strong {
  font-size: 12px;
  text-transform: none;
  color: rgba(232, 240, 255, 0.96);
  letter-spacing: 0.2px;
}

.inventory-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.inventory-chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: rgba(9, 13, 20, 0.75);
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: rgba(210, 224, 246, 0.9);
}

.inventory-item-main {
  min-width: 0;
}

.inventory-item-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.inventory-item-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.inventory-item-price {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.92);
}

@media (max-width: 900px) {
  .inventory-shell {
    grid-template-columns: 1fr;
  }
  .inventory-head .inventory-progress {
    margin-left: 0;
  }
  .inventory-item-body {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .inventory-item-pricing {
    justify-items: start;
    text-align: left;
  }
  .inventory-summary-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.inventory-card {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: linear-gradient(150deg, rgba(12, 16, 28, 0.9), rgba(6, 10, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.inventory-empty {
  text-align: center;
}

.inventory-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.inventory-item-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.inventory-item-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.inventory-item-price {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.92);
}

.inventory-summary {
  border-color: rgba(106, 245, 196, 0.35);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.88), rgba(6, 10, 18, 0.95));
}

.inventory-summary-grid {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.inventory-summary-grid strong {
  display: block;
  margin-bottom: 4px;
}

.inventory-summary-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(91, 200, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.75);
}

.inventory-summary-meta strong {
  display: block;
  font-size: 12px;
  color: rgba(232, 240, 255, 0.95);
  text-transform: none;
  letter-spacing: 0.2px;
}

@media (max-width: 960px) {
  .checkout-shell {
    width: min(760px, calc(100vw - 24px));
  }
  .checkout-head {
    align-items: flex-start;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-progress {
    justify-content: center;
  }
  .checkout-step {
    padding: 6px 12px 6px 26px;
  }
  .checkout-item-body {
    grid-template-columns: 1fr;
  }
  .checkout-item-head {
    grid-template-columns: 1fr;
  }
  .checkout-item-controls {
    text-align: left;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .checkout-price-compact {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }
  .checkout-price-card {
    text-align: left;
  }
  .checkout-price-value {
    justify-items: start;
  }
  .checkout-summary-grid {
    grid-template-columns: 1fr;
  }
  .checkout-method {
    grid-template-columns: 18px 42px 1fr;
  }
  .checkout-method-badge {
    display: none;
  }
  .checkout-web-shell {
    grid-template-columns: 1fr;
  }
  .checkout-web-hero {
    grid-template-columns: 1fr;
  }
  .checkout-web-hero-main {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .checkout-os-families {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .checkout-os-family {
    flex: 0 0 auto;
  }
}

.price-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: linear-gradient(150deg, rgba(106, 245, 196, 0.18), rgba(91, 200, 255, 0.08));
  font-size: 11px;
  letter-spacing: 0.2px;
  color: var(--text);
}

.price-coin-badge .tick-coin-icon {
  width: 14px;
  height: 14px;
}

.price-coin-badge .tick-coin-icon::before {
  width: 2px;
  height: 7px;
}

.price-coin-badge .tick-coin-icon::after {
  width: 7px;
  height: 2px;
  top: 4px;
}

.price-stack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inventory-domain-hint {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
}

.inventory-domain-missing {
  border-color: rgba(255, 90, 90, 0.45);
  box-shadow: 0 0 18px rgba(255, 90, 90, 0.16);
}

.inventory-domain-missing .inventory-domain-input {
  border-color: rgba(255, 90, 90, 0.45);
}

.nav-hex {
  position: relative;
  height: 42px;
  padding: 0 10px;
  width: auto;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(91, 200, 255, 0.58);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(34, 44, 64, 0.96), rgba(10, 12, 20, 0.92));
  text-transform: uppercase;
  letter-spacing: 0.45px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
}

.nav-hex .nav-icon {
  width: 18px;
  height: 18px;
}


.hud-quick-btn {
  display: none;
  height: 46px;
  min-width: 70px;
  padding: 0 6px;
  border-radius: 14px;
  font-size: 9.5px;
}

.hud-quick-btn .nav-label {
  font-size: 9.5px;
  max-width: 100px;
}

button:disabled,
.button-primary:disabled,
.button-ghost:disabled,
.hud-pill:disabled,
.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.15);
}

.nav-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.18), rgba(167, 123, 255, 0.16));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-hex::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.nav-hex > * { position: relative; z-index: 1; }
.nav-hex:hover { filter: brightness(1.06) saturate(1.05); border-color: rgba(91, 200, 255, 0.78); box-shadow: 0 0 22px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav-hex:hover::before { opacity: 1; }
.nav-hex:hover::after { opacity: 1; animation: hud-brush 0.75s ease-out both; }
.nav-hex.active { border-color: var(--glow); box-shadow: 0 0 18px rgba(123, 158, 255, 0.35); }
.nav-hex.active::before { opacity: 0.85; }
.hud-rail.guest .nav-hex { border-color: rgba(91, 200, 255, 0.4); }
.hud-rail.logged-in .nav-hex { border-color: rgba(106, 245, 196, 0.45); }
.hud-rail.logged-in .nav-hex.active { border-color: rgba(106, 245, 196, 0.78); box-shadow: 0 0 18px rgba(106, 245, 196, 0.22); }

.nav-hex:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.65);
  outline-offset: 3px;
}

.hud-actions {
  display: flex;
  gap: 8px;
  row-gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  max-width: 100%;
}

.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(26, 33, 48, 0.85), rgba(8, 10, 16, 0.9));
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.35);
  min-width: 164px;
}

.hud-pill-mini {
  min-width: auto;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11.5px;
}

.hud-compact-actions #hud-account {
  max-width: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  justify-content: center;
}

.hud-compact-actions #hud-account .hud-account-label,
.hud-compact-actions #hud-account .hud-account-caret {
  display: none;
}

.hud-compact-actions #hud-lang {
  min-width: 46px;
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.hud-lang-btn {
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  height: 38px;
  border-radius: 12px;
  padding: 0 12px;
}

.hud-lang-btn .fa-icon {
  width: 15px;
  height: 15px;
}

.hud-lang-code {
  font-weight: 700;
  font-size: 10px;
}

.hud-lang-btn:hover {
  border-color: rgba(91, 200, 255, 0.72);
  box-shadow: 0 0 20px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-pill.ghost {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.hud-pill.promo {
  border-color: rgba(106, 245, 196, 0.45);
  background: linear-gradient(120deg, rgba(106, 245, 196, 0.18), rgba(91, 200, 255, 0.12));
}

.fa-icon {
  width: 18px;
  height: 18px;
  stroke: #d9e8ff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon {
  flex: 0 0 auto;
  opacity: 0.92;
}

.hud-tab-label {
  display: none;
  font-size: 10.5px;
  line-height: 1.1;
  color: rgba(232, 240, 255, 0.9);
  letter-spacing: 0.25px;
}

.hud-account-btn { min-width: 0; }
.hud-account-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}
.hud-account-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  perspective: 900px;
}
.hud-account-toggle {
  min-width: 0;
  padding-right: 0;
  position: relative;
  justify-content: center;
}
.hud-account-caret {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(159, 179, 209, 0.9);
  border-bottom: 2px solid rgba(159, 179, 209, 0.9);
  transform: rotate(45deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
  display: none;
}
.hud-account-wrap.open .hud-account-caret {
  transform: rotate(-135deg);
  opacity: 1;
}
.hud-account-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  min-width: 260px;
  max-width: min(340px, calc(100vw - 24px));
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(106, 245, 196, 0.14), transparent 45%),
    linear-gradient(170deg, rgba(12, 16, 28, 0.96), rgba(6, 9, 16, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(91, 200, 255, 0.18);
  backdrop-filter: blur(18px);
  transform-origin: bottom right;
  transform: translateY(12px) rotateX(16deg) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s ease;
  z-index: 30;
  transform-style: preserve-3d;
}

.hud-account-menu::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 22px;
  bottom: -6px;
  border-radius: 4px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(170deg, rgba(12, 16, 28, 0.96), rgba(6, 9, 16, 0.98));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45), 0 0 12px rgba(91, 200, 255, 0.18);
  transform: rotate(45deg);
  pointer-events: none;
}
.hud-account-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(167, 123, 255, 0.06) 0 1px, transparent 1px 20px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hud-account-wrap.open .hud-account-menu,
.hud-account-wrap:focus-within .hud-account-menu {
  transform: translateY(0) rotateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

#hud.hud-account-open .hud-compact-actions {
  overflow: visible;
}

#hud.hud-account-open .hud-compact-row {
  overflow: visible;
}

#hud.hud-account-open .hud-account-wrap {
  z-index: 6;
}
.hud-account-header {
  display: grid;
  gap: 4px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.hud-account-title {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
}
.hud-account-sub {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.85);
}
.hud-account-links,
.hud-account-footer {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.hud-account-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.hud-account-link::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hud-account-link:hover {
  border-color: rgba(91, 200, 255, 0.4);
  background: rgba(91, 200, 255, 0.06);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.16);
  transform: translateY(-1px);
}
.hud-account-link:hover .fa-icon {
  filter: drop-shadow(0 0 10px rgba(91, 200, 255, 0.4));
  stroke: rgba(232, 245, 255, 0.98);
}
.hud-account-link:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}
.hud-account-link:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.7);
  outline-offset: 2px;
}
.hud-account-link .fa-icon {
  width: 16px;
  height: 16px;
  transition: filter 0.2s ease, stroke 0.2s ease;
}
.hud-account-link-text {
  display: grid;
  gap: 2px;
}
.hud-account-link-title {
  font-size: 12px;
  font-weight: 700;
}
.hud-account-link-meta {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
  font-weight: 500;
}
.hud-account-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hud-account-logout {
  border-color: rgba(255, 129, 129, 0.4);
  background: linear-gradient(120deg, rgba(255, 129, 129, 0.18), rgba(91, 200, 255, 0.04));
}
.hud-account-logout:hover {
  border-color: rgba(255, 129, 129, 0.8);
  box-shadow: 0 0 18px rgba(255, 129, 129, 0.2);
}

@media (max-width: 560px) {
  .hud-account-menu {
    right: 50%;
    transform: translateX(50%) translateY(12px) rotateX(16deg) scale(0.98);
    transform-origin: bottom center;
  }

  .hud-account-wrap.open .hud-account-menu {
    transform: translateX(50%) translateY(0) rotateX(0) scale(1);
  }

  .hud-account-menu::before {
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }
}

.party-badge, .inventory-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.9), rgba(6, 8, 14, 0.9));
  color: var(--text);
  cursor: pointer;
  min-width: 180px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.35);
  position: relative;
}

.party-icon, .inventory-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.12), rgba(8, 10, 16, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.hud-cta {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.6);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.2), rgba(167, 123, 255, 0.2));
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.hud-cta:hover { filter: brightness(1.06) saturate(1.05); box-shadow: 0 0 22px rgba(91, 200, 255, 0.22); }
.hud-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.4);
  background: linear-gradient(160deg, rgba(91, 200, 255, 0.12), rgba(255, 255, 255, 0.03));
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.hud-icon-btn .fa-icon {
  width: 18px;
  height: 18px;
}

#hud-cart,
#hud-chat,
#hud-notifications {
  overflow: visible;
}

.hud-icon-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  pointer-events: none;
}

.hud-icon-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    110deg,
    transparent 0 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(91, 200, 255, 0.22) 48%,
    rgba(167, 123, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72% 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hud-icon-btn:hover {
  filter: brightness(1.06) saturate(1.05);
  border-color: rgba(91, 200, 255, 0.72);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-icon-btn:hover::after {
  opacity: 1;
  animation: hud-brush 0.75s ease-out both;
}

.hud-tracker-btn {
  border-color: rgba(106, 245, 196, 0.55);
  background: linear-gradient(160deg, rgba(106, 245, 196, 0.22), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(106, 245, 196, 0.16);
}

.hud-marketplace-btn {
  border-color: rgba(91, 200, 255, 0.55);
  background: linear-gradient(160deg, rgba(91, 200, 255, 0.24), rgba(167, 123, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(91, 200, 255, 0.18);
}

.hud-earn-btn {
  border-color: rgba(106, 245, 196, 0.65);
  background: linear-gradient(160deg, rgba(106, 245, 196, 0.26), rgba(255, 210, 125, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(106, 245, 196, 0.2);
}

.hud-audio-btn {
  border-color: rgba(255, 210, 125, 0.55);
  background: linear-gradient(160deg, rgba(255, 210, 125, 0.22), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 210, 125, 0.18);
}

.hud-audio-btn.is-playing {
  border-color: rgba(255, 210, 125, 0.9);
  box-shadow: 0 0 26px rgba(255, 210, 125, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-audio-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.hud-rail-controls .hud-audio-wrap {
  margin-left: 6px;
}

.hud-audio-wrap.hidden {
  display: none;
}

.hud-audio-mini {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 100%;
  width: min(360px, 86vw);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 125, 0.28);
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.96), rgba(6, 10, 18, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 210, 125, 0.18);
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.2s ease;
  z-index: 40;
}

.hud-rail-controls .hud-audio-mini {
  left: 0;
  transform: translate(0, 8px) scale(0.98);
}

.hud-rail-controls .hud-audio-wrap:hover .hud-audio-mini,
.hud-rail-controls .hud-audio-wrap:focus-within .hud-audio-mini,
.hud-rail-controls .hud-audio-wrap.is-open .hud-audio-mini {
  transform: translate(0, 0) scale(1);
}

html[dir="rtl"] .hud-rail-controls .hud-audio-mini {
  left: auto;
  right: 0;
  transform: translate(0, 8px) scale(0.98);
}

html[dir="rtl"] .hud-rail-controls .hud-audio-wrap:hover .hud-audio-mini,
html[dir="rtl"] .hud-rail-controls .hud-audio-wrap:focus-within .hud-audio-mini,
html[dir="rtl"] .hud-rail-controls .hud-audio-wrap.is-open .hud-audio-mini {
  transform: translate(0, 0) scale(1);
}

.hud-audio-mini::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hud-audio-wrap:hover .hud-audio-mini,
.hud-audio-wrap:focus-within .hud-audio-mini,
.hud-audio-wrap.is-open .hud-audio-mini {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.hud-audio-mini-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.hud-audio-mini-meta {
  display: grid;
  gap: 4px;
}

.hud-audio-mini-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 210, 125, 0.8);
}

.hud-audio-mini-title {
  font-size: 13px;
  font-weight: 700;
}

.hud-audio-mini-provider {
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
  width: fit-content;
}

.hud-audio-mini-time {
  font-size: 11px;
  color: rgba(232, 240, 255, 0.72);
  white-space: nowrap;
  margin-top: 2px;
}

.hud-audio-mini-bar {
  display: grid;
}

.hud-audio-mini input[type="range"] {
  width: 100%;
  accent-color: rgba(255, 210, 125, 0.85);
}

.hud-audio-mini-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hud-audio-mini-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(255, 210, 125, 0.35);
  background: linear-gradient(160deg, rgba(255, 210, 125, 0.18), rgba(10, 12, 20, 0.85));
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: filter 0.2s ease, border-color 0.2s ease;
}

.hud-audio-mini-btn:hover {
  filter: brightness(1.08) saturate(1.1);
  border-color: rgba(255, 210, 125, 0.7);
}

.hud-audio-mini-toggle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.hud-audio-mini-disable {
  border-color: rgba(255, 120, 120, 0.4);
  background: linear-gradient(160deg, rgba(255, 120, 120, 0.15), rgba(10, 12, 20, 0.85));
}

.hud-audio-mini-disable.is-active {
  border-color: rgba(106, 245, 196, 0.6);
  background: linear-gradient(160deg, rgba(106, 245, 196, 0.22), rgba(10, 12, 20, 0.85));
}

.hud-audio-mini-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 160px;
  min-width: 140px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.75);
}

.hud-audio-mini-volume .fa-icon {
  width: 14px;
  height: 14px;
}

.hud-audio-mini-volume input[type="range"] {
  min-width: 110px;
  accent-color: rgba(106, 245, 196, 0.9);
}

.hud-audio-mini-disable {
  margin-left: auto;
}

.hud-audio-mini-note {
  font-size: 10px;
  color: rgba(232, 240, 255, 0.6);
  display: none;
}

.hud-audio-mini.is-external .hud-audio-mini-note {
  display: block;
}

.hud-audio-mini.is-external input[type="range"],
.hud-audio-mini.is-external .hud-audio-mini-bar,
.hud-audio-mini.is-external .hud-audio-mini-volume {
  opacity: 0.45;
  cursor: not-allowed;
}

.hud-audio-wrap.is-disabled .hud-audio-mini {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 255, 255, 0.08);
}

.hud-audio-wrap.is-disabled .hud-audio-mini-controls,
.hud-audio-wrap.is-disabled .hud-audio-mini-bar,
.hud-audio-wrap.is-disabled .hud-audio-mini-volume {
  opacity: 0.6;
}

.sitemap-hero {
  padding-bottom: clamp(40px, 8vw, 80px);
}

.sitemap-shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.sitemap-header {
  text-align: left;
}

.sitemap-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sitemap-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

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

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

.sitemap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 18, 0.6);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sitemap-item:hover {
  border-color: rgba(106, 245, 196, 0.4);
  transform: translateY(-1px);
}

.sitemap-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(12, 18, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sitemap-icon .fa-icon {
  width: 16px;
  height: 16px;
}

.sitemap-item-label {
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 640px) {
  .sitemap-item {
    justify-content: center;
  }
  .sitemap-item-label {
    display: none;
  }
}

.hud-notify-btn {
  border-color: rgba(167, 123, 255, 0.5);
  background: linear-gradient(160deg, rgba(167, 123, 255, 0.22), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(167, 123, 255, 0.18);
}

.hud-icon-btn.hud-coin-pill {
  width: auto;
  min-width: 86px;
  padding: 6px 10px;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(106, 245, 196, 0.55);
  background: linear-gradient(160deg, rgba(106, 245, 196, 0.22), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(106, 245, 196, 0.18);
}

.hud-icon-btn.hud-coin-pill:hover {
  border-color: rgba(106, 245, 196, 0.9);
  box-shadow: 0 0 26px rgba(106, 245, 196, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-audio-deck {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -999px;
  top: -999px;
}

.hud-audio-deck iframe {
  width: 1px;
  height: 1px;
  border: 0;
}

@media (max-width: 960px) {
  .hud-audio-mini {
    left: 50%;
  }
  .hud-audio-wrap:hover .hud-audio-mini,
  .hud-audio-wrap:focus-within .hud-audio-mini,
  .hud-audio-wrap.is-open .hud-audio-mini {
    transform: translate(-50%, 0) scale(1);
  }
  html[dir="rtl"] .hud-audio-mini {
    left: 50%;
    right: auto;
  }
}

html[dir="rtl"] .hud-audio-mini {
  left: 50%;
  right: auto;
}

.tick-coin-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.75);
  background: radial-gradient(circle at 30% 30%, rgba(106, 245, 196, 0.5), rgba(8, 12, 18, 0.95));
  position: relative;
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}

.tick-coin-icon::before,
.tick-coin-icon::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(106, 245, 196, 0.7));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(106, 245, 196, 0.6);
  left: 50%;
}

.tick-coin-icon::before {
  width: 3px;
  height: 12px;
  top: 52%;
  transform: translate(-50%, -50%);
}

.tick-coin-icon::after {
  width: 12px;
  height: 3px;
  top: 7px;
  transform: translateX(-50%);
}

.tick-coin-amount {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.tick-kpi-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tick-kpi-value .tick-coin-icon {
  width: 22px;
  height: 22px;
}

.tick-coin-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.tick-coin-inline .tick-coin-icon {
  width: 16px;
  height: 16px;
}

.tick-coin-inline .tick-coin-icon::before {
  width: 2px;
  height: 8px;
}

.tick-coin-inline .tick-coin-icon::after {
  width: 8px;
  height: 2px;
  top: 5px;
}

.hud-admin-btn {
  border-color: rgba(255, 197, 82, 0.55);
  background: linear-gradient(160deg, rgba(255, 197, 82, 0.22), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 197, 82, 0.2);
}

.hud-admin-btn:hover {
  border-color: rgba(255, 197, 82, 0.9);
  box-shadow: 0 0 28px rgba(255, 197, 82, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-notify-btn:hover {
  border-color: rgba(167, 123, 255, 0.8);
  box-shadow: 0 0 26px rgba(167, 123, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-notify-btn .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(167, 123, 255, 0.22);
  border: 1px solid rgba(167, 123, 255, 0.6);
}

.notifications-list {
  display: grid;
  gap: 12px;
  padding: 4px;
}

.notification-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.85), rgba(8, 12, 20, 0.92));
  padding: 14px 16px 14px 18px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.notification-card::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.15), rgba(167, 123, 255, 0.35), rgba(91, 200, 255, 0.12));
  opacity: 0.45;
}

.notification-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 55%, rgba(91, 200, 255, 0.08) 68%, transparent 80%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.notification-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 200, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 18px rgba(91, 200, 255, 0.16);
}

.notification-card:hover::after {
  opacity: 1;
}

.notification-card.unread {
  border-color: rgba(91, 200, 255, 0.4);
  box-shadow: 0 0 22px rgba(91, 200, 255, 0.18);
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.92), rgba(8, 12, 20, 0.94));
}

.notification-card.unread::before {
  opacity: 0.9;
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.5), rgba(91, 200, 255, 0.85), rgba(167, 123, 255, 0.35));
}

.notification-card .title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.notification-card .body {
  font-size: 12.5px;
  color: rgba(159, 179, 209, 0.9);
}

.notification-card .meta {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.notification-card .cta {
  font-size: 11px;
  color: rgba(91, 200, 255, 0.95);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(8, 12, 20, 0.6);
}

.notification-card .cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(91, 200, 255, 0.85);
  border-bottom: 2px solid rgba(91, 200, 255, 0.85);
  transform: rotate(-45deg);
}

.notifications-list .panel {
  border-radius: 18px;
  border-style: dashed;
  border-color: rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.7);
}

.chat-window {
  width: min(1920px, 96vw);
  height: min(92vh, 980px);
  max-height: min(92vh, 980px);
  overscroll-behavior: contain;
  --chat-sidebar-width: clamp(240px, 22vw, 340px);
  --chat-info-width: clamp(240px, 20vw, 360px);
}

.chat-window .content {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  min-height: 0;
}

.chat-shell {
  display: grid;
  grid-template-columns: var(--chat-sidebar-width) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.98), rgba(10, 12, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  isolation: isolate;
  --chat-text: rgba(232, 240, 255, 0.95);
  --chat-muted: rgba(159, 179, 209, 0.75);
  --chat-border: rgba(255, 255, 255, 0.08);
  --chat-surface: rgba(26, 29, 36, 0.95);
  --chat-surface-alt: rgba(30, 33, 40, 0.95);
  --chat-accent: rgba(91, 200, 255, 0.7);
  --chat-accent-soft: rgba(91, 200, 255, 0.15);
  --chat-control-size: 40px;
  --chat-control-radius: 14px;
  --chat-control-bg: linear-gradient(160deg, rgba(18, 24, 36, 0.95), rgba(8, 12, 20, 0.92));
  --chat-control-border: rgba(91, 200, 255, 0.3);
  font-size: 13px;
}

.chat-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.12), transparent 48%),
    radial-gradient(circle at 80% 15%, rgba(106, 245, 196, 0.1), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(167, 123, 255, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.chat-shell > * {
  position: relative;
  z-index: 1;
}

.chat-mobile-scrim {
  display: none;
}

.chat-window[data-chat-mode="group"] .chat-shell {
  --chat-accent: rgba(106, 245, 196, 0.8);
  --chat-accent-soft: rgba(106, 245, 196, 0.18);
}


.chat-sidebar {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 0;
  background: linear-gradient(180deg, rgba(24, 28, 38, 0.96), rgba(16, 20, 28, 0.96));
  border-right: 1px solid var(--chat-border);
}

.chat-sidebar-top {
  display: grid;
  gap: 10px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--chat-border);
  background: rgba(8, 10, 16, 0.4);
}

.chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91, 200, 255, 0.3), rgba(106, 245, 196, 0.18));
  border: 1px solid rgba(91, 200, 255, 0.4);
  position: relative;
  box-shadow: 0 0 20px rgba(91, 200, 255, 0.15);
}

.chat-brand-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
}

.chat-brand-text {
  display: grid;
  gap: 4px;
}

.chat-brand-text .muted {
  font-size: 10px;
  color: var(--chat-muted);
}

.chat-side-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-side-actions .button-primary,
.chat-side-actions .button-ghost {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 10px;
}

.chat-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-sidebar-title .muted {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: var(--chat-muted);
}

.chat-search input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--chat-border);
  background: rgba(10, 12, 16, 0.75);
  color: var(--chat-text);
  padding: 7px 10px;
  font-size: 11px;
}

.chat-search input::placeholder {
  color: var(--chat-muted);
}

.chat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-filter {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--chat-muted);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.chat-filter:hover {
  color: var(--chat-text);
}

.chat-filter.active {
  border-color: transparent;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.06);
}

.chat-tabs {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border-bottom: 1px solid var(--chat-border);
}

.chat-tab {
  flex: 1 1 0;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--chat-muted);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chat-tab:hover {
  transform: translateY(-1px);
  color: var(--chat-text);
}

.chat-tab.active {
  border-color: transparent;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.08);
}

.chat-pane {
  display: none;
  gap: 14px;
  padding: 10px 12px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  align-content: start;
}

.chat-section {
  display: grid;
  gap: 10px;
}

.chat-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--chat-muted);
}

.chat-section-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--chat-text);
}

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

.chat-pane.active {
  display: grid;
}

.chat-pane::-webkit-scrollbar {
  width: 8px;
}

.chat-pane::-webkit-scrollbar-thumb {
  background: rgba(91, 200, 255, 0.3);
  border-radius: 999px;
}

.chat-pane::-webkit-scrollbar-track {
  background: rgba(6, 9, 16, 0.6);
}

.chat-thread-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 18, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.chat-thread-card.is-group .chat-thread-avatar {
  border-color: rgba(106, 245, 196, 0.5);
  background: rgba(106, 245, 196, 0.15);
}

.chat-thread-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(91, 200, 255, 0.25);
}

.chat-thread-card.active {
  background: rgba(91, 200, 255, 0.12);
  border-color: rgba(91, 200, 255, 0.45);
}

.chat-thread-card.unread::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--chat-accent);
  transform: translateY(-50%);
}

.chat-thread-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  position: relative;
}

.chat-thread-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(16, 19, 26, 0.95);
}

.chat-thread-status.online {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 6px rgba(106, 245, 196, 0.4);
}

.chat-thread-status.away {
  background: rgba(255, 210, 125, 0.95);
  box-shadow: 0 0 6px rgba(255, 210, 125, 0.35);
}

.chat-thread-status.offline {
  background: rgba(120, 132, 158, 0.65);
  box-shadow: none;
}

.chat-thread-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-thread-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}

.chat-thread-snippet {
  font-size: 11px;
  color: var(--chat-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chat-thread-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--chat-muted);
}

.chat-thread-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--chat-border);
  font-size: 9px;
  color: var(--chat-text);
}

.chat-add-friend {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(14, 16, 20, 0.7);
}

.chat-friends-section {
  display: grid;
  gap: 8px;
}

.chat-friends-section strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--chat-muted);
}

.chat-friend-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(14, 16, 20, 0.7);
}

.chat-friends-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-content: start;
}

.chat-group-create {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(8, 12, 20, 0.8);
  grid-column: 1 / -1;
}

.chat-group-create-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.chat-group-members {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(14, 18, 26, 0.7);
}

.chat-group-members-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--chat-muted);
}

.chat-group-member-list {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.chat-group-member-list::-webkit-scrollbar {
  width: 6px;
}

.chat-group-member-list::-webkit-scrollbar-thumb {
  background: rgba(91, 200, 255, 0.3);
  border-radius: 999px;
}

.chat-group-member-list::-webkit-scrollbar-track {
  background: rgba(6, 9, 16, 0.55);
}

.chat-friends-list,
.chat-friends-pending {
  display: grid;
  gap: 10px;
}

.chat-group-member-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.chat-friend-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  position: relative;
}

.chat-friend-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(16, 19, 26, 0.95);
  background: rgba(255, 255, 255, 0.2);
}

.chat-friend-status.online {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 6px rgba(106, 245, 196, 0.35);
}

.chat-friend-status.away {
  background: rgba(255, 210, 125, 0.95);
  box-shadow: 0 0 6px rgba(255, 210, 125, 0.3);
}

.chat-friend-status.offline {
  background: rgba(120, 132, 158, 0.65);
  box-shadow: none;
}

.chat-friend-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-friend-meta {
  font-size: 10px;
  color: var(--chat-muted);
}

.chat-friend-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.chat-friend-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: linear-gradient(160deg, rgba(18, 24, 36, 0.92), rgba(8, 12, 20, 0.92));
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chat-friend-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chat-friend-action-icon {
  width: 14px;
  height: 14px;
  stroke: rgba(232, 240, 255, 0.92);
}

.chat-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  background: linear-gradient(160deg, rgba(20, 24, 34, 0.96), rgba(10, 12, 18, 0.98));
  position: relative;
}

.chat-main-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--chat-border);
  background: rgba(6, 8, 12, 0.55);
  backdrop-filter: blur(10px);
}

.chat-peer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-peer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
}

.chat-peer-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-peer-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-peer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid var(--chat-border);
}

.chat-peer-status-dot.online {
  background: rgba(106, 245, 196, 0.95);
  border-color: rgba(106, 245, 196, 0.6);
  box-shadow: 0 0 6px rgba(106, 245, 196, 0.45);
}

.chat-peer-status-dot.away {
  background: rgba(255, 210, 125, 0.95);
  border-color: rgba(255, 210, 125, 0.6);
  box-shadow: 0 0 6px rgba(255, 210, 125, 0.35);
}

.chat-peer-status-dot.offline {
  background: rgba(120, 132, 158, 0.65);
  border-color: rgba(120, 132, 158, 0.45);
  box-shadow: none;
}

.chat-peer-meta strong {
  font-size: 14px;
}

.chat-peer-meta p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--chat-muted);
  font-size: 11px;
}

.chat-main-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-mobile-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(12, 16, 24, 0.8);
  color: var(--chat-text);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.chat-mobile-toggle .fa-icon {
  width: 14px;
  height: 14px;
}

.chat-call-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-call-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(14, 18, 26, 0.7);
  color: var(--chat-text);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-status-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-main-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, var(--chat-info-width));
  gap: 16px;
  padding: 16px;
  min-height: 0;
  align-items: stretch;
}

.chat-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  border-radius: 14px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.82);
  overflow: hidden;
  position: relative;
}

.chat-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--chat-muted);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(18, 20, 26, 0.7);
}

.chat-live-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chat-accent);
  box-shadow: 0 0 8px rgba(91, 200, 255, 0.45);
  animation: chat-live-pulse 1.6s ease-in-out infinite;
}

.chat-live.is-connecting {
  color: rgba(255, 210, 125, 0.9);
  border-color: rgba(255, 210, 125, 0.45);
}

.chat-live.is-connecting .chat-live-dot {
  background: rgba(255, 210, 125, 0.95);
  box-shadow: 0 0 8px rgba(255, 210, 125, 0.5);
  animation-duration: 1.1s;
}

.chat-live.is-polling {
  color: rgba(255, 184, 112, 0.9);
  border-color: rgba(255, 184, 112, 0.5);
}

.chat-live.is-polling .chat-live-dot {
  background: rgba(255, 184, 112, 0.95);
  box-shadow: 0 0 8px rgba(255, 184, 112, 0.5);
}

.chat-live.is-offline {
  color: rgba(159, 179, 209, 0.6);
  border-color: rgba(159, 179, 209, 0.35);
}

.chat-live.is-offline .chat-live-dot {
  background: rgba(159, 179, 209, 0.6);
  box-shadow: none;
  animation: none;
}

@keyframes chat-live-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.chat-log-wrap {
  position: relative;
  min-height: 0;
  background: rgba(12, 16, 22, 0.6);
}

.chat-log {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  overflow-y: auto;
  height: 100%;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  align-content: start;
  scrollbar-gutter: stable;
}

.chat-log::-webkit-scrollbar {
  width: 8px;
}

.chat-log::-webkit-scrollbar-thumb {
  background: rgba(91, 200, 255, 0.35);
  border-radius: 999px;
}

.chat-log::-webkit-scrollbar-track {
  background: rgba(6, 9, 16, 0.6);
}

.chat-jump {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid var(--chat-border);
  background: rgba(18, 20, 26, 0.9);
  color: var(--chat-text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.chat-jump.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.chat-message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  position: relative;
  padding-right: 76px;
  max-width: 100%;
  color: var(--chat-text);
}

.chat-message.grouped {
  margin-top: -2px;
  padding-top: 0;
}

.chat-message.grouped .chat-message-meta {
  display: none;
}

.chat-message.new {
  animation: chat-pop 0.25s ease-out;
}

.chat-message.pending {
  opacity: 0.7;
}

.chat-message.pending .chat-message-actions {
  display: none;
}

.chat-message.pending .chat-bubble {
  border-style: dashed;
}

.chat-message.failed .chat-bubble {
  border-color: rgba(255, 120, 120, 0.6);
  background: rgba(40, 10, 14, 0.35);
}

.chat-message.failed::after {
  content: "Failed";
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 10px;
  color: rgba(255, 140, 140, 0.85);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.chat-message.deleted {
  opacity: 0.7;
}

.chat-message.deleted .chat-bubble {
  border-style: dashed;
  background: rgba(10, 12, 18, 0.5);
}

.chat-message.deleted .chat-bubble-text {
  font-style: italic;
  color: var(--chat-muted);
}

.chat-message.deleted .chat-message-actions {
  display: none;
}

@keyframes chat-pop {
  from { transform: translateY(6px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.chat-message.me {
  justify-self: stretch;
  text-align: left;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), rgba(14, 18, 26, 0.08));
  border-left: 0;
  border-right: 2px solid rgba(91, 200, 255, 0.3);
}

.chat-message:hover {
  background: rgba(255, 255, 255, 0.06);
}

.chat-message.me:hover {
  background: rgba(91, 200, 255, 0.14);
}

.chat-message-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  color: var(--chat-text);
}

.chat-message-avatar.ghost {
  visibility: hidden;
}

.chat-message-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-message-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
}

.chat-message-name {
  font-weight: 600;
  color: var(--chat-text);
}

.chat-message.me .chat-message-name {
  color: rgba(91, 200, 255, 0.95);
}

.chat-message-time {
  font-size: 10px;
  color: var(--chat-muted);
}

.chat-message.grouped .chat-message-header {
  display: none;
}

.chat-bubble {
  display: grid;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 16, 24, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: min(84ch, 100%);
}

.chat-message.me .chat-bubble {
  background: rgba(91, 200, 255, 0.12);
  border-color: rgba(91, 200, 255, 0.25);
}

.chat-message-meta {
  display: none;
}

.chat-message.me .chat-message-meta {
  text-align: right;
}

.chat-bubble-text {
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.chat-bubble-text.deleted {
  font-style: italic;
  color: var(--chat-muted);
}

.chat-message-edited {
  font-size: 10px;
  color: var(--chat-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  justify-self: end;
}

.chat-reply-preview {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--chat-muted);
}

.chat-reply-preview strong {
  font-size: 11px;
  color: var(--chat-text);
}

.chat-message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.chat-message-attachment {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(14, 18, 26, 0.7);
  font-size: 10px;
  color: var(--chat-text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-message-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.chat-message-reaction {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--chat-text);
}

.chat-message-actions {
  position: absolute;
  top: 6px;
  right: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  z-index: 2;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.chat-message:hover .chat-message-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-message:focus-within .chat-message-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-action-btn {
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(160deg, rgba(16, 20, 30, 0.92), rgba(8, 12, 20, 0.96));
  color: var(--chat-text);
  padding: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chat-action-btn:hover {
  border-color: rgba(91, 200, 255, 0.7);
  background: rgba(14, 18, 28, 0.9);
  transform: translateY(-1px);
}

.chat-action-btn .fa-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.chat-divider {
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--chat-muted);
  margin: 6px 0;
}

.chat-divider span {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(18, 20, 26, 0.7);
}

.chat-emoji-panel {
  position: absolute;
  right: 16px;
  bottom: 74px;
  width: min(300px, 86%);
  border-radius: 14px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 12px;
  z-index: 3;
}

.chat-emoji-panel.hidden {
  display: none;
}

.chat-emoji-head {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.chat-emoji-title {
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--chat-muted);
}

.chat-emoji-head input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(10, 12, 18, 0.8);
  padding: 6px 8px;
  font-size: 11px;
  color: var(--chat-text);
}

.chat-emoji-head input::placeholder {
  color: var(--chat-muted);
}

.chat-emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.chat-emoji-grid button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(18, 20, 26, 0.7);
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.chat-emoji-grid button:hover {
  transform: translateY(-1px) scale(1.05);
  border-color: var(--chat-accent);
}

.chat-emoji-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--chat-muted);
  padding: 12px 8px;
}

.chat-compose {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--chat-border);
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98), rgba(6, 8, 14, 0.98));
  align-items: center;
  position: relative;
}

.chat-compose-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.chat-compose-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.chat-attach-toggle {
  width: var(--chat-control-size);
  height: var(--chat-control-size);
  border-radius: var(--chat-control-radius);
  display: grid;
  place-items: center;
  border: 1px solid var(--chat-control-border);
  background: var(--chat-control-bg);
  color: var(--chat-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chat-emoji-toggle {
  width: var(--chat-control-size);
  height: var(--chat-control-size);
  border-radius: var(--chat-control-radius);
  display: grid;
  place-items: center;
  border: 1px solid var(--chat-control-border);
  background: var(--chat-control-bg);
  color: var(--chat-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chat-action-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.chat-attach-toggle:hover,
.chat-emoji-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 16px rgba(91, 200, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chat-attach-toggle.active,
.chat-emoji-toggle.active {
  border-color: rgba(106, 245, 196, 0.7);
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
  height: calc(var(--chat-control-size) + 2px);
  border-radius: 14px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 104px;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91, 200, 255, 0.95), rgba(106, 245, 196, 0.8));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  color: rgba(8, 12, 20, 0.9);
}

.chat-send-btn:disabled {
  opacity: 0.55;
  filter: grayscale(0.2);
  box-shadow: none;
}

.chat-send-btn:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.chat-send-btn .chat-send-icon {
  width: 15px;
  height: 15px;
  stroke: rgba(8, 12, 20, 0.85);
  stroke-width: 1.8;
}

.chat-compose.ready .chat-send-btn {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(91, 200, 255, 0.3), 0 12px 24px rgba(0, 0, 0, 0.35);
}

.chat-compose .button-primary:hover {
  filter: brightness(1.05);
}

.chat-compose-field {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.95), rgba(6, 9, 16, 0.98));
  border: 1px solid rgba(91, 200, 255, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 22px rgba(0, 0, 0, 0.36);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-compose-field:focus-within {
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(91, 200, 255, 0.16), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.chat-compose.ready .chat-compose-field {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: 0 0 0 2px rgba(106, 245, 196, 0.12), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.chat-compose.editing .chat-compose-field {
  border-color: rgba(255, 210, 125, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 210, 125, 0.12), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.chat-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.chat-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: rgba(14, 20, 30, 0.75);
  font-size: 11px;
}

.chat-reply.hidden {
  display: none;
}

.chat-reply-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chat-reply-label {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--chat-muted);
}

.chat-reply-snippet {
  color: var(--chat-muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-reply-cancel {
  border: 0;
  background: transparent;
  color: var(--chat-text);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
}

.chat-edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(12, 20, 22, 0.75);
  font-size: 11px;
}

.chat-edit.hidden {
  display: none;
}

.chat-edit-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chat-edit-label {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--chat-muted);
}

.chat-edit-snippet {
  color: var(--chat-muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-edit-cancel {
  border: 0;
  background: transparent;
  color: var(--chat-text);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
}

.chat-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-attachments.hidden {
  display: none;
}

.chat-attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.8);
  font-size: 11px;
  color: var(--chat-text);
  max-width: 240px;
  overflow: hidden;
}

.chat-attachment-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-pill button {
  border: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(8, 12, 20, 0.6);
  color: var(--chat-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}

.chat-attachment-pill button:hover {
  color: var(--chat-text);
  background: rgba(8, 12, 20, 0.85);
}

.chat-attachment-thumb {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--chat-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.chat-message-media {
  display: grid;
  gap: 8px;
}

.chat-message-media-link {
  display: grid;
  gap: 6px;
  text-decoration: none;
}

.chat-message-media-img {
  width: min(260px, 70vw);
  max-height: 220px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--chat-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.chat-message-media-caption {
  font-size: 10px;
  color: var(--chat-muted);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-compose-field textarea {
  width: 100%;
  min-height: 44px;
  max-height: 140px;
  resize: none;
  border-radius: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--chat-text);
  font-size: 13px;
  line-height: 1.5;
}

.chat-compose-field textarea::placeholder {
  color: rgba(159, 179, 209, 0.7);
}

.chat-compose-hint {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--chat-muted);
}

.chat-read-status {
  font-size: 10px;
  color: var(--chat-muted);
  min-height: 14px;
}

.chat-read-status strong {
  color: var(--chat-text);
}

.chat-context {
  display: grid;
  gap: 12px;
  align-content: start;
}

.chat-info {
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  width: auto;
  min-width: 220px;
  padding: 12px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  border-radius: 12px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.7);
}

.chat-info::-webkit-scrollbar {
  width: 8px;
}

.chat-info::-webkit-scrollbar-thumb {
  background: rgba(91, 200, 255, 0.3);
  border-radius: 999px;
}

.chat-info::-webkit-scrollbar-track {
  background: rgba(6, 9, 16, 0.55);
}

.chat-info-card {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.75);
  display: grid;
  gap: 10px;
}

.chat-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-info-profile {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-info-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  font-weight: 700;
}

.chat-info-name {
  font-weight: 600;
}

.chat-info-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chat-group-settings {
  display: grid;
  gap: 10px;
}

.chat-group-settings.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.chat-group-hero {
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-group-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--chat-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  position: relative;
  overflow: hidden;
}

.chat-group-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-group-title {
  font-weight: 700;
}

.chat-group-sub {
  font-size: 11px;
  color: var(--chat-muted);
}

.chat-group-avatar-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-group-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-group-actions .button-ghost.danger {
  border-color: rgba(255, 125, 125, 0.5);
  color: rgba(255, 166, 166, 0.95);
}

.chat-group-actions .button-ghost.danger:hover {
  border-color: rgba(255, 125, 125, 0.8);
  color: #ffe0e0;
}

.chat-group-members-panel {
  display: grid;
  gap: 10px;
}

.chat-member-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.8);
}

.chat-member-card[data-role="owner"] {
  border-color: rgba(106, 245, 196, 0.45);
  box-shadow: inset 0 0 0 1px rgba(106, 245, 196, 0.12);
}

.chat-member-card[data-role="admin"] {
  border-color: rgba(91, 200, 255, 0.45);
  box-shadow: inset 0 0 0 1px rgba(91, 200, 255, 0.12);
}

.chat-member-avatar {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--chat-border);
  color: var(--chat-text);
  position: relative;
}

.chat-member-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(16, 19, 26, 0.95);
  background: rgba(255, 255, 255, 0.2);
}

.chat-member-status.online {
  background: rgba(106, 245, 196, 0.95);
  box-shadow: 0 0 6px rgba(106, 245, 196, 0.35);
}

.chat-member-status.away {
  background: rgba(255, 210, 125, 0.95);
  box-shadow: 0 0 6px rgba(255, 210, 125, 0.3);
}

.chat-member-status.offline {
  background: rgba(120, 132, 158, 0.65);
  box-shadow: none;
}

.chat-member-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-member-email {
  font-size: 11px;
  color: var(--chat-muted);
  word-break: break-word;
}

.chat-member-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
  color: var(--chat-muted);
}

.chat-member-card[data-role="owner"] .chat-member-role {
  border-color: rgba(106, 245, 196, 0.55);
  color: rgba(106, 245, 196, 0.95);
}

.chat-member-card[data-role="admin"] .chat-member-role {
  border-color: rgba(91, 200, 255, 0.55);
  color: rgba(91, 200, 255, 0.95);
}

.chat-member-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-member-select {
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  background: rgba(10, 12, 18, 0.8);
  color: var(--chat-text);
  font-size: 10px;
  padding: 3px 6px;
}

.chat-thread-avatar.has-image,
.chat-peer-avatar.has-image,
.chat-group-avatar.has-image,
.chat-info-avatar.has-image {
  background-size: cover;
  background-position: center;
  background-color: transparent;
  color: transparent;
  text-shadow: none;
}

.chat-group-add {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-group-add label {
  flex: 1 1 160px;
}

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

.chat-pin-card {
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid var(--chat-border);
  background: rgba(12, 16, 24, 0.8);
  display: grid;
  gap: 6px;
  font-size: 11px;
}

.chat-pin-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: var(--chat-muted);
  font-size: 10px;
}

.chat-pin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.chat-context-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.75);
  display: grid;
  gap: 10px;
}

.chat-context-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-context-row {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.chat-context-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1150px) {
  .chat-main-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-context {
    display: none;
  }

  .chat-info {
    display: none;
  }
}


.toast-stack {
  position: fixed;
  right: 20px;
  bottom: calc(var(--hud-height) + 18px + var(--safe-bottom));
  display: grid;
  gap: 10px;
  z-index: 45;
  width: min(260px, 90vw);
  pointer-events: none;
}

.toast-card {
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(140deg, rgba(12, 16, 26, 0.95), rgba(6, 8, 14, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 20px rgba(91, 200, 255, 0.18);
  padding: 8px 14px;
  display: grid;
  gap: 4px;
  animation: toast-in 0.35s ease both;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.toast-card::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.85), rgba(167, 123, 255, 0.35));
  opacity: 0.6;
}

.toast-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 60%, rgba(91, 200, 255, 0.12) 70%, transparent 82%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast-card .title {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.toast-card .body {
  display: none;
}

.toast-card .meta {
  font-size: 10px;
  color: rgba(159, 179, 209, 0.75);
}

.toast-card .cta {
  display: none;
}

.toast-card .cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(91, 200, 255, 0.85);
  border-bottom: 2px solid rgba(91, 200, 255, 0.85);
  transform: rotate(-45deg);
}

.toast-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 200, 255, 0.55);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 24px rgba(91, 200, 255, 0.22);
}

.toast-card:hover::after {
  opacity: 1;
}

.toast-card.out {
  animation: toast-out 0.3s ease forwards;
}

.hud-tracker-btn:hover {
  border-color: rgba(106, 245, 196, 0.86);
  box-shadow: 0 0 26px rgba(106, 245, 196, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-marketplace-btn:hover {
  border-color: rgba(91, 200, 255, 0.85);
  box-shadow: 0 0 26px rgba(91, 200, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-icon-btn.active {
  filter: brightness(1.08) saturate(1.06);
  border-color: rgba(91, 200, 255, 0.88);
  box-shadow: 0 0 24px rgba(91, 200, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-icon-btn .fa-icon {
  width: 22px;
  height: 22px;
}

.hud-icon-btn:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.65);
  outline-offset: 3px;
}

.hud-rail.logged-in .hud-icon-btn { border-color: rgba(106, 245, 196, 0.4); }
.hud-rail.logged-in .hud-icon-btn:hover {
  border-color: rgba(106, 245, 196, 0.72);
  box-shadow: 0 0 22px rgba(106, 245, 196, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hud-rail.logged-in .hud-icon-btn.active {
  border-color: rgba(106, 245, 196, 0.86);
  box-shadow: 0 0 24px rgba(106, 245, 196, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hud-actions .badge-count {
  display: inline-block;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.25);
  border: 1px solid rgba(91, 200, 255, 0.6);
}

.hud-compact #hud-cart .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.25);
  border: 1px solid rgba(91, 200, 255, 0.6);
}

.hud-compact #hud-chat .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(91, 200, 255, 0.25);
  border: 1px solid rgba(91, 200, 255, 0.6);
}

/* Windows */
.window-layer {
  position: fixed;
  inset: 0;
  z-index: 13;
  display: none;
  align-items: center;
  justify-content: center;
}

.window-layer.active { display: flex; }

.window {
  --window-base-transform: translateZ(0);
  width: min(780px, 92vw);
  max-height: 80vh;
  overflow: hidden;
  background: rgba(10, 14, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--window-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(var(--hud-blur));
  display: grid;
  grid-template-rows: auto 1fr;
  transform: var(--window-base-transform);
}

.window.chat-window {
  width: min(1800px, 98vw);
  height: min(88vh, 900px);
  max-height: min(88vh, 900px);
}

.window.holo {
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.06), rgba(8, 12, 20, 0.96));
  border: 1px solid rgba(91, 200, 255, 0.35);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(91, 200, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --window-base-transform: perspective(900px) rotateX(3deg) scale(1.01);
  transform: var(--window-base-transform);
  overflow: hidden;
}

.window.auth-window {
  width: min(520px, 92vw);
  max-height: 78vh;
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.6), 0 0 46px rgba(91, 200, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.window.auth-window header {
  padding: 16px 20px;
}

.window.auth-window .content {
  padding: 20px;
}

.window.auth-window .auth-form {
  gap: 14px;
}

.window.auth-window .auth-form label {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.window.auth-window .auth-window-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.window.auth-window .auth-window-head h3 {
  margin: 0;
  font-size: 20px;
}

.window.auth-window .auth-window-badges {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.window.auth-window .auth-window-badge {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-color: rgba(91, 200, 255, 0.35);
  background: rgba(8, 12, 20, 0.6);
}

.window.auth-window .auth-window-links {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.window.auth-window .auth-card-switch {
  margin-left: auto;
}

.window.auth-window .auth-switch-link {
  font-size: 10px;
  padding: 5px 10px;
}

.window-layer.active .overlay-scrim {
  animation: scrim-in 0.25s ease both;
}

.window-layer.active .window:not(.hidden) {
  animation: window-in 0.36s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.window.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0.2;
  pointer-events: none;
}

.window.holo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 20px), repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.06) 0 1px, transparent 1px 20px);
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: holo-grid 12s linear infinite;
}

.window[data-window="lang"] .button-ghost[aria-current="true"] {
  border-color: rgba(106, 245, 196, 0.6);
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.18), rgba(91, 200, 255, 0.12));
  box-shadow: 0 0 18px rgba(106, 245, 196, 0.18);
}

.window.holo .content {
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.03), rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 0 40px rgba(91, 200, 255, 0.06);
}

.window.holo .content::before {
  content: "";
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0 40%, rgba(91, 200, 255, 0.18) 50%, transparent 60% 100%);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: holo-scan 12s linear infinite;
  pointer-events: none;
}

.window.holo header {
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.18), rgba(167, 123, 255, 0.12));
  border-bottom: 1px solid rgba(91, 200, 255, 0.25);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.window.holo header::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 245, 196, 0.65), rgba(91, 200, 255, 0.25), transparent);
  opacity: 0.6;
  pointer-events: none;
}

.window.holo .content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(91, 200, 255, 0.05), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.window header button {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(91, 200, 255, 0.5);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.22), rgba(10, 12, 20, 0.8));
  color: var(--text);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.window.holo header button {
  border-color: rgba(123, 158, 255, 0.6);
}

.window header button:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 200, 255, 0.85);
  filter: brightness(1.07);
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
}

:where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="tel"],
  input[type="datetime-local"],
  textarea,
  select
) {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

:where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="tel"],
  input[type="datetime-local"],
  textarea,
  select
)::placeholder {
  color: rgba(159, 179, 209, 0.75);
}

:where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="tel"],
  input[type="datetime-local"],
  textarea,
  select
):focus {
  border-color: rgba(106, 245, 196, 0.75);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.96), rgba(6, 10, 18, 0.98));
}

:where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="tel"],
  input[type="datetime-local"],
  textarea,
  select
):disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.35);
}

input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: linear-gradient(140deg, rgba(6, 10, 20, 0.9), rgba(16, 22, 34, 0.85));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 12px rgba(91, 200, 255, 0.15);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(106, 245, 196, 0.95), rgba(91, 200, 255, 0.9));
  box-shadow: 0 0 8px rgba(106, 245, 196, 0.35);
  transform: scale(0.2);
  opacity: 0;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

input[type="checkbox"]:checked {
  border-color: rgba(106, 245, 196, 0.85);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

input[type="checkbox"]:checked::after {
  transform: scale(1);
  opacity: 1;
}

input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(91, 200, 255, 0.45);
  outline-offset: 3px;
}

input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  filter: grayscale(0.2);
}

.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.35);
}

select {
  color: var(--text);
  color-scheme: dark;
}

select option {
  color: #e8f0ff;
  background-color: #0b1222;
}

@supports not (color-scheme: dark) {
  select option {
    color: #0b1222;
    background-color: #e8f0ff;
  }
}

.auth-form textarea {
  resize: vertical;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  outline: none;
  border-color: rgba(106, 245, 196, 0.75);
  box-shadow: 0 0 0 3px rgba(91, 200, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.96), rgba(6, 10, 18, 0.98));
}

.window .content::-webkit-scrollbar {
  width: 10px;
}

.window .content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(91, 200, 255, 0.4), rgba(167, 123, 255, 0.35));
  border-radius: 999px;
  border: 2px solid rgba(10, 12, 20, 0.8);
}

.window .content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.holo-card {
  position: relative;
  --card-accent-rgb: 91, 200, 255;
  background: linear-gradient(160deg, rgba(10, 12, 20, 0.9), rgba(6, 8, 14, 0.92));
  border: 1px solid rgba(91, 200, 255, 0.4);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 140px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(91, 200, 255, 0.15);
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.holo-card::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(
    from 140deg,
    rgba(var(--card-accent-rgb), 0.22),
    rgba(167, 123, 255, 0.14),
    rgba(106, 245, 196, 0.10),
    rgba(var(--card-accent-rgb), 0.22)
  );
  opacity: 0.22;
  filter: blur(80px);
  transform: translate3d(0, 0, 0);
  animation: holo-drift 24s ease-in-out infinite;
  pointer-events: none;
}

.holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), rgba(167, 123, 255, 0.05));
  mix-blend-mode: screen;
  pointer-events: none;
}

.holo-card:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.52), 0 0 28px rgba(91, 200, 255, 0.18);
}

.holo-thumb {
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.holo-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.holo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.holo-title {
  font-size: 18px;
  font-weight: 700;
}

.holo-actions {
  display: flex;
  gap: 8px;
}

.window header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.08), rgba(167, 123, 255, 0.08));
  position: relative;
}

.window .content {
  padding: 18px;
  overflow-y: auto;
  position: relative;
  scrollbar-gutter: stable;
}

.overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(3px);
}

.toast {
  position: fixed;
  bottom: calc(var(--hud-height) + 16px + var(--safe-bottom));
  right: 20px;
  background: rgba(9, 15, 24, 0.95);
  border: 1px solid rgba(91, 200, 255, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  z-index: 40;
  animation: slide-up 0.25s ease;
}

.discord-bubble {
  position: fixed;
  right: 18px;
  bottom: calc(var(--hud-height) + 24px + var(--safe-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: radial-gradient(circle at 20% 20%, rgba(106, 245, 196, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(10, 14, 24, 0.92), rgba(6, 9, 16, 0.96));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 22px rgba(91, 200, 255, 0.22);
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.discord-bubble svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.discord-bubble:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 245, 196, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 26px rgba(106, 245, 196, 0.28);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(12px) scale(0.98); }
}

/* Enter overlay */
#enter-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: radial-gradient(circle at 50% 20%, rgba(91, 200, 255, 0.18), rgba(4, 6, 14, 0.96));
  display: grid;
  place-items: center;
  color: var(--text);
  overflow: hidden;
}

.home-load-lock {
  overflow: hidden;
}

.home-load-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.18), rgba(4, 6, 14, 0.96));
  color: var(--text);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.home-load-screen::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 45deg, rgba(91, 200, 255, 0.12), rgba(167, 123, 255, 0.12), rgba(106, 245, 196, 0.1), rgba(91, 200, 255, 0.12));
  animation: spin 26s linear infinite;
  filter: blur(60px);
  opacity: 0.65;
}

.home-load-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 40%),
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 28px);
  opacity: 0.25;
}

.home-load-screen.active {
  opacity: 1;
  pointer-events: auto;
}

.home-load-screen.leaving {
  opacity: 0;
  pointer-events: none;
}

.home-load-screen.hidden {
  display: none;
}

.home-load-shell {
  position: relative;
  z-index: 2;
  width: min(980px, 92vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
}

.home-load-panel {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.9), rgba(6, 8, 14, 0.95));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 16px;
}

.home-load-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-load-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 200, 255, 0.45);
  background: linear-gradient(120deg, rgba(91, 200, 255, 0.24), rgba(167, 123, 255, 0.16));
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.home-load-chip.ghost {
  border-color: rgba(167, 123, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 230, 255, 0.88);
}

.home-load-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.home-load-lead {
  margin: 0;
  color: rgba(232, 240, 255, 0.9);
  font-size: 15px;
}

.home-load-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-load-bar {
  flex: 1 1 auto;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(91, 200, 255, 0.25);
  overflow: hidden;
}

.home-load-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.6), rgba(106, 245, 196, 0.7));
  box-shadow: 0 0 18px rgba(91, 200, 255, 0.35);
  transition: transform 0.2s ease;
}

.home-load-percent {
  min-width: 44px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(159, 179, 209, 0.9);
}

.home-load-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-load-meta div {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(8, 12, 20, 0.7);
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.home-load-meta span {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(159, 179, 209, 0.85);
  font-size: 10px;
}

.home-load-meta strong {
  font-size: 14px;
}

.home-load-meta small {
  color: rgba(159, 179, 209, 0.75);
}

.home-load-enter {
  width: fit-content;
}

.home-load-holo {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 200, 255, 0.2), rgba(6, 10, 18, 0.96)),
    radial-gradient(circle at 70% 75%, rgba(106, 245, 196, 0.18), transparent 55%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(91, 200, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  animation: holo-float 12s ease-in-out infinite;
  overflow: hidden;
}

.home-load-holo-ring {
  position: absolute;
  inset: 12% 16% 34%;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.25);
  box-shadow: 0 0 30px rgba(91, 200, 255, 0.2);
  animation: spin 18s linear infinite;
}

.home-load-holo-ring.ring-2 {
  inset: 6% 12% 28%;
  border-style: dashed;
  border-color: rgba(167, 123, 255, 0.3);
  animation-duration: 26s;
}

.home-load-holo-core {
  position: absolute;
  inset: 32% 34% 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.45), rgba(91, 200, 255, 0.08));
  filter: blur(6px);
  opacity: 0.8;
  animation: pulse 5s ease-in-out infinite;
}

.home-load-holo-scan {
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0 35%, rgba(91, 200, 255, 0.25) 50%, transparent 65% 100%);
  opacity: 0.6;
  animation: holo-scan 7s linear infinite;
  mix-blend-mode: screen;
}

.home-load-holo-image {
  position: absolute;
  inset: 10% 12% 26%;
  background-image: var(--home-load-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(91, 200, 255, 0.35));
  transform: translateZ(34px);
  animation: emblem-float 8s ease-in-out infinite;
}

.home-load-holo-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 900px) {
  .home-load-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-load-panel {
    width: min(520px, 92vw);
  }

  .home-load-chip-row,
  .home-load-progress,
  .home-load-enter {
    justify-content: center;
  }

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

@media (max-width: 600px) {
  .home-load-panel {
    padding: 22px;
    gap: 12px;
  }

  .home-load-meta {
    grid-template-columns: 1fr;
  }

  .home-load-title {
    font-size: 26px;
  }
}

#enter-overlay::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 45deg, rgba(91, 200, 255, 0.08), rgba(167, 123, 255, 0.08), rgba(91, 200, 255, 0.08));
  animation: spin 18s linear infinite;
  filter: blur(40px);
  opacity: 0.7;
}

#enter-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 40%);
}

@media (max-width: 900px) {
  #enter-overlay,
  #home-load-screen {
    display: none !important;
  }
  body.home-load-lock {
    overflow: auto;
  }
}

.enter-card {
  width: min(500px, 90vw);
  padding: 28px;
  border-radius: 16px;
  background: rgba(10, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.loading-bar {
  height: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  margin: 14px 0 18px;
  position: relative;
}

.loading-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, rgba(91, 200, 255, 0.4), rgba(167, 123, 255, 0.6));
  animation: loading 2.8s ease-in-out infinite;
}

/* Tooltips */
.tooltip {
  position: absolute;
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  pointer-events: none;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  z-index: 50;
}

/* Game page */
.game-hero {
  padding: 120px 8% 80px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: center;
}

.game-hero h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  margin: 6px 0;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.game-hero #game-tags {
  margin: 0 0 10px;
  color: rgba(159, 179, 209, 0.88);
}

.game-hero #game-price {
  margin: 0 0 16px;
  color: rgba(232, 240, 255, 0.92);
  font-weight: 600;
}

.game-hero::before {
  content: "";
  position: absolute;
  inset: -140px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(91, 200, 255, 0.06) 0,
      rgba(91, 200, 255, 0.06) 1px,
      transparent 1px,
      transparent 46px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(167, 123, 255, 0.05) 0,
      rgba(167, 123, 255, 0.05) 1px,
      transparent 1px,
      transparent 46px
    );
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  transform: translate3d(-40px, -40px, 0) rotate(-12deg);
  animation: holo-grid-scroll 26s linear infinite;
  pointer-events: none;
  -webkit-mask: radial-gradient(circle at 30% 20%, #000 0 40%, transparent 72%);
  mask: radial-gradient(circle at 30% 20%, #000 0 40%, transparent 72%);
}

.game-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: -220px;
  left: 58%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.18), transparent 62%);
  opacity: 0.7;
  filter: blur(0.2px);
  animation: orb-drift 14s ease-in-out infinite;
  pointer-events: none;
}

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

.game-hero .emblem {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 30%, var(--accent, var(--accent-blue)), rgba(8, 12, 20, 0.9));
  box-shadow: 0 0 24px rgba(91, 200, 255, 0.3);
  position: relative;
  overflow: visible;
  animation: emblem-float 7s ease-in-out infinite;
}

.game-hero .emblem::before,
.game-hero .emblem::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(91, 200, 255, 0.0),
    rgba(91, 200, 255, 0.35),
    rgba(167, 123, 255, 0.0),
    rgba(106, 245, 196, 0.22),
    rgba(91, 200, 255, 0.0)
  );
  opacity: 0.55;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  pointer-events: none;
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  animation: portal-spin 12s linear infinite;
}

.game-hero .emblem::after {
  inset: -34px;
  opacity: 0.35;
  filter: blur(0.8px);
  animation-direction: reverse;
  animation-duration: 18s;
}

.game-hero .emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.95;
}

.game-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.game-tabs button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.game-tabs button.active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.25);
}

@keyframes holo-grid-scroll {
  0% {
    transform: translate3d(-40px, -40px, 0) rotate(-12deg);
  }
  100% {
    transform: translate3d(40px, 40px, 0) rotate(-12deg);
  }
}

@keyframes orb-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-30px, 18px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.package-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(12, 16, 28, 0.7);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.package-table th, .package-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
}

.package-table thead th {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.95), rgba(10, 14, 22, 0.92));
  backdrop-filter: blur(10px);
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(232, 240, 255, 0.92);
}

.package-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.package-table tbody tr:hover {
  background: rgba(91, 200, 255, 0.06);
}

.package-table tr.highlight { background: rgba(91, 200, 255, 0.08); }

body[data-page="admin"] .package-table tr.highlight {
  background: rgba(91, 200, 255, 0.14);
}

.ability-list li { margin: 6px 0; color: var(--muted);} 

.deploy-modal {
  display: grid;
  gap: 10px;
}

.deploy-window {
  max-width: 780px;
  width: min(92vw, 780px);
  border-radius: 24px;
}

.deploy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deploy-header strong {
  font-size: 18px;
  display: block;
}

.deploy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
}

.deploy-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(7, 12, 22, 0.72);
}

.deploy-fields label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.deploy-fields select {
  width: 100%;
}

.deploy-summary {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(106, 245, 196, 0.25);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.88), rgba(6, 10, 16, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.deploy-summary-head {
  display: grid;
  gap: 4px;
}

.deploy-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.deploy-note {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .deploy-grid {
    grid-template-columns: 1fr;
  }
  .deploy-window {
    width: min(96vw, 640px);
  }
}

@media (max-width: 720px) {
  .deploy-footer {
    justify-content: stretch;
  }
  .deploy-footer .button-primary {
    width: 100%;
  }
}

.deploy-vars {
  display: grid;
  gap: 8px;
}

.deploy-var-field {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(7, 12, 22, 0.6);
}

.deploy-var-field small {
  color: var(--muted);
  font-size: 12px;
}

/* Animations */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes holo-grid {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

@keyframes world-drift {
  0% { transform: translate3d(-1%, -1%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(2%, 1%, 0) rotate(22deg) scale(1.02); }
  100% { transform: translate3d(-1%, -1%, 0) rotate(0deg) scale(1); }
}

@keyframes world-overlay-drift {
  0% { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  50% { transform: translate3d(1%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, -1%, 0) scale(1.02); }
}

@keyframes holo-drift {
  0% { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) rotate(180deg) scale(1.05); }
  100% { transform: translate3d(-4%, -3%, 0) rotate(360deg) scale(1); }
}

@keyframes holo-scan {
  from { transform: translateY(-30%); }
  to { transform: translateY(30%); }
}

@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes hero-scan {
  0% { transform: translateY(-35%); opacity: 0; }
  20% { opacity: 0.35; }
  60% { opacity: 0.18; }
  100% { transform: translateY(35%); opacity: 0; }
}

@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes map-glow {
  0% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
  100% { opacity: 0.3; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes hud-brush {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes hud-scan {
  from { background-position: center, center, -120% 0; }
  to { background-position: center, center, 120% 0; }
}

@keyframes hud-grid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 140px 0, 0 140px; }
}

@keyframes grid-breathe {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 40px rgba(91, 200, 255, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 58px rgba(91, 200, 255, 0.22), inset 0 0 26px rgba(0, 0, 0, 0.3);
  }
}

@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: var(--window-base-transform) translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: var(--window-base-transform);
  }
}
@keyframes loading {
  0% { transform: translateX(-20%); width: 20%; }
  50% { transform: translateX(50%); width: 40%; }
  100% { transform: translateX(120%); width: 20%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes admin-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes node-pulse {
  0% { transform: scale(0.6); opacity: 0.0; }
  20% { opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0.0; }
}

@keyframes portal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes holo-float {
  0% { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-8px); }
  100% { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateY(0); }
}

@keyframes holo-drift {
  0% { transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); opacity: 0.5; }
  50% { transform: translateY(-8px) translateX(6px) rotate(var(--rot, 0deg)); opacity: 0.9; }
  100% { transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); opacity: 0.6; }
}

@keyframes hero-aurora {
  0% { transform: translate3d(-2%, 0, 0) rotate(0deg); }
  50% { transform: translate3d(2%, -2%, 0) rotate(180deg); }
  100% { transform: translate3d(-2%, 0, 0) rotate(360deg); }
}

@keyframes hero-grid-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes command-ambient {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.7; }
  50% { transform: translate3d(2%, -1%, 0) rotate(180deg); opacity: 0.85; }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); opacity: 0.75; }
}

@keyframes command-field-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-1.5%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes kb-holo-core-pulse {
  0% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.05); }
  100% { transform: rotate(45deg) scale(1); }
}

@keyframes kb-holo-art-float {
  0% { transform: translateZ(18px) rotate(-6deg) translateY(0); }
  50% { transform: translateZ(18px) rotate(-6deg) translateY(-10px); }
  100% { transform: translateZ(18px) rotate(-6deg) translateY(0); }
}

@media (max-width: 1100px) {
  #hud-menu { display: flex; }
  .hud-compact-actions { gap: 2px; }
}

@media (max-width: 1400px) {
  .hud-nav .nav-hex {
    min-width: 38px;
    padding: 0 6px;
    gap: 0;
  }

  #hud:not(.hud-nav-icons) .hud-nav .nav-hex .nav-label { display: block; }
  #hud.hud-nav-icons .hud-nav .nav-hex .nav-label { display: none; }
}

@media (max-width: 960px) {
  body:not([data-page="admin"]) main {
    padding-bottom: calc(var(--hud-height) + 24px + var(--safe-bottom));
  }
  .hero:not(.admin-hero):not(.client-hero) { padding-top: 80px; }
  .hero:not(.admin-hero):not(.client-hero),
  .hero:not(.admin-hero):not(.client-hero) .hero-slider,
  .hero:not(.admin-hero):not(.client-hero) .hero-slide { min-height: 100svh; }
  .hero.admin-hero,
  .hero.admin-hero .hero-slider,
  .hero.admin-hero .hero-slide,
  .hero.client-hero,
  .hero.client-hero .hero-slider,
  .hero.client-hero .hero-slide { min-height: 100svh; }
  .hero-slide-inner { grid-template-columns: 1fr; gap: 28px; }
  .regions, .guild, .game-hero { grid-template-columns: 1fr; }
  .quest-line-holo::before { display: none; }
  .quest-line-holo .quest-step { min-height: auto; }
  .guild-hall .guild { grid-template-columns: 1fr; }
  .guild-activity { display: none; }
  .region-map { min-height: 320px; height: clamp(300px, 60vw, 420px); aspect-ratio: auto; }
  .toast-stack {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(360px, calc(100vw - 24px));
    bottom: calc(var(--hud-height) + 14px + var(--safe-bottom));
  }
  :root { --hud-height: 128px; }
  #hud { padding: 0 0 calc(8px + var(--safe-bottom)); }
  #hud.hud-minimized { padding: 2px 0 calc(6px + var(--safe-bottom)); }
  .hud-rail { width: min(760px, 94vw); margin: 0 auto; border-radius: 18px; padding: 6px 8px 8px; }
  .hud-compact-row {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-areas:
      "actions"
      "nav";
    gap: 8px;
    align-items: stretch;
  }
  .hud-quick-btn { display: none; }

  .hud-compact-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    padding: 5px;
    margin-left: 0;
    border-left: 0;
    border-radius: 14px;
    border: 1px solid rgba(91, 200, 255, 0.25);
    background: linear-gradient(145deg, rgba(14, 20, 34, 0.94), rgba(6, 10, 18, 0.98));
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  #hud.hud-account-open .hud-compact-actions {
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
  }
  .hud-compact-actions::-webkit-scrollbar { display: none; }
  .hud-compact-actions > * {
    flex: 0 0 auto;
    min-width: 46px;
    scroll-snap-align: center;
    max-width: none;
  }
  .hud-actions-mini { display: contents; }
  .hud-actions-mini.hidden { display: none !important; }
  .hud-compact-actions { grid-area: actions; }

  .hud-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding: 6px;
    scroll-snap-type: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hud-nav { grid-area: nav; }

  .hud-nav .nav-hex {
    display: none;
    width: auto;
    min-width: 0;
    height: 46px;
    padding: 6px 6px;
    flex-direction: column;
    gap: 4px;
    border-radius: 999px;
  }

  .hud-nav .nav-hex[data-mobile-tab="1"] {
    display: flex;
    min-width: 0;
    width: 100%;
  }

  .hud-nav .nav-hex .nav-label {
    display: block;
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  #hud-menu,
  #hud-tracker,
  #hud-marketplace,
  #hud-cart,
  #hud-chat,
  #hud-notifications,
  #hud-account,
  #hud-signin,
  #hud-register { display: grid; width: 100%; min-width: 0; place-items: center; }
  #hud-public,
  #hud-auth { display: contents; }
  #hud-public #hud-register { display: none; }
  #hud-auth #hud-logout { display: none; }

.hud-compact-actions .hud-icon-btn,
.hud-compact-actions #hud-account {
  height: 40px;
  border-radius: 12px;
  padding: 6px;
  gap: 0;
  display: grid;
  place-items: center;
}

.hud-compact-actions #hud-account .hud-account-label,
.hud-compact-actions #hud-account .hud-account-caret {
  display: none;
}

  .hud-compact-actions .hud-icon-btn .fa-icon,
  .hud-compact-actions .nav-icon { width: 16px; height: 16px; }

  .hud-compact-actions .hud-tab-label,
  .hud-compact-actions .hud-account-label,
  .hud-compact-actions .hud-account-caret { display: none; }

  #hud-account {
    border-radius: 14px;
    border: 1px solid rgba(91, 200, 255, 0.45);
    background: linear-gradient(160deg, rgba(91, 200, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  .hud-rail.logged-in #hud-account {
    border-color: rgba(106, 245, 196, 0.55);
    background: linear-gradient(160deg, rgba(106, 245, 196, 0.16), rgba(255, 255, 255, 0.03));
  }
  .hud-account-wrap { width: auto; }
  .hud-account-toggle { width: 100%; justify-content: center; padding: 0; }

  .hud-compact-actions .hud-coin-pill {
    padding: 6px 8px;
    min-width: 0;
    gap: 4px;
  }

  .hud-compact-actions .tick-coin-icon {
    width: 20px;
    height: 20px;
  }

  .hud-compact-actions .tick-coin-amount { font-size: 10px; }
  #hud::before { opacity: 0.35; }
  .hud-rail-controls {
    width: min(720px, 94vw);
    bottom: calc(100% + 6px);
    justify-content: flex-start;
    padding-left: 6px;
  }
  .hud-rail-controls .hud-icon-btn.hud-dock-btn,
  .hud-rail-controls .hud-admin-sigil { width: 34px; height: 34px; }
  .hud-rail {
    width: min(720px, 94vw);
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.95), rgba(6, 10, 18, 0.98));
    border: 1px solid rgba(91, 200, 255, 0.28);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 6px 8px 8px;
  }
  .hud-rail::before,
  .hud-rail::after { display: block; opacity: 0.16; }

  .hud-compact-row { gap: 6px; width: 100%; }
  .hud-compact-actions {
    order: 1;
    width: 100%;
    grid-auto-columns: minmax(56px, 1fr);
    border-color: rgba(91, 200, 255, 0.3);
    background: linear-gradient(150deg, rgba(14, 20, 34, 0.92), rgba(6, 10, 18, 0.96));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .hud-nav {
    order: 2;
    width: 100%;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(91, 200, 255, 0.25);
    background: linear-gradient(160deg, rgba(12, 18, 32, 0.95), rgba(6, 10, 18, 0.97));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
  .hud-nav .nav-hex {
    background: linear-gradient(180deg, rgba(22, 30, 44, 0.92), rgba(8, 10, 18, 0.92));
    border-color: rgba(91, 200, 255, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .hud-nav .nav-hex.active {
    border-color: rgba(106, 245, 196, 0.75);
    box-shadow: 0 0 18px rgba(106, 245, 196, 0.22);
  }
  .hud-rail.admin .hud-admin-strip { display: none; }
  #hud-menu { order: 1; }
  #hud-tracker { order: 2; }
  #hud-marketplace { order: 3; }
  #hud-cart { order: 4; }
  #hud-chat { order: 5; }
  #hud-notifications { order: 6; }
  #hud-tick-coins { order: 7; }
  #hud-account,
  #hud-signin,
  #hud-register { order: 8; }

  .hero-home.hero-future .hero-slide-inner { gap: 16px; }
  .hero-home.hero-future .hero-future-copy {
    order: 1;
    text-align: center;
    align-items: center;
  }
  .hero-home.hero-future .hero-future-copy::before {
    inset: -14% -12% -14%;
    opacity: 0.55;
  }
  .hero-home.hero-future .hero-future-visual {
    order: 2;
  }
  .hero-home.hero-future .hero-future-title {
    font-size: clamp(32px, 9.4vw, 48px);
    line-height: 1.05;
  }
  .hero-home.hero-future .hero-future-lead {
    font-size: 15px;
  }
  .hero-home.hero-future .hero-future-actions {
    width: min(420px, 100%);
    flex-direction: column;
    align-items: stretch;
  }
  .hero-home.hero-future .hero-future-highlights {
    justify-content: center;
    gap: 8px;
  }
  .hero-home.hero-future .hero-future-highlights span {
    font-size: 10px;
    padding: 6px 10px;
  }
  .hero-home.hero-future .hero-holo-figure.hero-holo-future {
    width: min(320px, 86vw);
  }
  .hero-future-aurora { opacity: 0.2; }
  .hero-future-scan { opacity: 0.18; }
  .hero-home.kb-hero .hero-slide-inner {
    grid-template-columns: 1fr;
  }
  .hero-home.kb-hero .kb-hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-home.kb-hero .kb-hero-content::before {
    inset: -12% -12% -12%;
    opacity: 0.55;
  }
  .hero-home.kb-hero .hero-home-holo {
    justify-items: center;
  }
  .hero-home.kb-hero .kb-holo-art {
    width: min(200px, 70vw);
    height: min(200px, 70vw);
  }
  .hero-home.kb-hero .kb-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(420px, 100%);
  }
  .hero-home.kb-hero .kb-holo-stack {
    right: 2%;
    bottom: 4%;
  }
  .hero-home.hero-prime .hero-slide {
    padding: 88px 6% calc(var(--hud-height) + 24px);
    min-height: 100svh;
  }
  .hero-home.hero-prime .hero-slide-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-home.hero-prime .hero-prime-copy {
    align-items: center;
    text-align: center;
  }
  .hero-home.hero-prime .hero-prime-copy::before {
    inset: -14% -12% -16%;
    opacity: 0.6;
  }
  .hero-home.hero-prime .hero-prime-actions {
    width: min(420px, 100%);
    flex-direction: column;
    align-items: stretch;
  }
  .hero-home.hero-prime .hero-prime-lead {
    max-width: 100%;
  }
  .hero-home.hero-prime .hero-prime-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-home.hero-prime .hero-prime-visual {
    order: 2;
    width: 100%;
    min-height: auto;
    justify-items: center;
  }
  .hero-home.hero-prime .hero-command-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }
  .hero-home.hero-prime .hero-command-primary {
    grid-row: auto;
  }
  .hero-home.hero-prime .hero-command-card {
    padding: 18px;
  }
  .hero-home.hero-prime .hero-command-layout {
    grid-template-columns: 1fr;
  }
  .hero-home.hero-prime .hero-command-main,
  .hero-home.hero-prime .hero-command-side {
    padding: 10px;
  }
  .hero-home.hero-prime .hero-command-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-home.hero-prime .hero-command-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-home.hero-prime .hero-command-offers {
    grid-template-columns: 1fr;
  }
  .hero-home.hero-prime .hero-command-grid-form {
    grid-template-columns: 1fr;
  }
  .hero-home.hero-prime .hero-prime-orb {
    width: min(320px, 88vw);
    transform: none;
    animation: emblem-float 12s ease-in-out infinite;
    margin: 0 auto;
  }
  .hero-coin-stack {
    width: min(340px, 86vw);
    transform: none;
  }
  .hero-prime-aurora { opacity: 0.28; }
  .hero-prime-gridlines { opacity: 0.1; }
  .hero-home.hero-prime .hero-prime-chips {
    justify-content: center;
  }
  .chat-shell {
    grid-template-columns: 1fr;
    height: 100%;
    position: relative;
  }
  .chat-window {
    height: calc(100vh - (var(--hud-height) + 34px + var(--safe-bottom)));
    max-height: calc(100vh - (var(--hud-height) + 34px + var(--safe-bottom)));
  }
  .chat-sidebar {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-right: 0;
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }
  .chat-window.chat-mobile-sidebar .chat-sidebar {
    transform: translateX(0);
  }
  .chat-mobile-scrim {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 3;
  }
  .chat-window.chat-mobile-sidebar .chat-mobile-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .chat-window.chat-mobile-sidebar .chat-main {
    filter: blur(2px);
    pointer-events: none;
  }
  .chat-main {
    position: relative;
    z-index: 2;
  }
  .chat-main-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .chat-mobile-toggle {
    display: inline-flex;
  }
  .chat-main-body {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .chat-stage {
    border-radius: 16px;
  }
  .chat-peer { width: 100%; }
  .chat-peer-meta p { white-space: normal; }
  .chat-message {
    max-width: 100%;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }
  .chat-message-avatar {
    width: 30px;
    height: 30px;
  }
  .chat-log {
    padding: 12px;
  }
  .chat-jump {
    right: 12px;
    bottom: 12px;
  }
  .chat-compose {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    align-items: stretch;
  }
  .chat-compose-controls {
    grid-row: 2;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  .chat-compose-field {
    grid-row: 1;
  }
  .chat-compose-actions {
    grid-row: 3;
  }
  .chat-compose-actions .chat-send-btn {
    width: 100%;
    min-width: 0;
  }
  .chat-compose-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .chat-attach-toggle,
  .chat-emoji-toggle {
    width: 34px;
    height: 34px;
  }
  .chat-emoji-panel {
    left: 12px;
    right: 12px;
    width: auto;
  }
  .chat-message {
    padding-right: 70px;
  }
  .chat-message-actions {
    top: 6px;
    right: 8px;
  }
  .chat-compose-hint {
    text-align: left;
  }
  .hud-account-menu {
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    min-width: 0;
    width: 100%;
    transform-origin: bottom center;
  }
  .hud-account-link-meta { display: none; }

  #hud-lang { display: none; }

  .hud-menu-item-meta { display: none; }
  #hud-logout { display: none; }
  .hud-rail.admin #hud-cart { display: none; }
  .hud-rail.admin .hud-rail-controls #hud-admin { display: grid; place-items: center; }
  .hud-rail.admin .hud-admin-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .hud-rail.admin .hud-admin-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .hud-rail.admin .hud-admin-actions::-webkit-scrollbar { display: none; }
  .hud-rail.admin .hud-admin-chip { white-space: nowrap; }
  .hud-rail.admin .hud-admin-strip { padding: 8px 10px; gap: 10px; }
  .hud-rail.admin .hud-admin-badge { text-align: center; }
  .hud-rail.admin .hud-admin-title { font-size: 10px; }
  .hud-rail.admin .hud-admin-sub { font-size: 10px; }
  .hud-rail.admin .hud-admin-actions { justify-content: flex-start; }
  .hud-rail.admin .hud-admin-chip { font-size: 10px; padding: 5px 8px; }
  .discord-bubble {
    right: 12px;
    bottom: calc(var(--hud-height) + 16px + var(--safe-bottom));
    padding: 10px 12px;
  }
  .discord-bubble span { display: none; }

  #hud .hud-compact-actions .hud-icon-btn,
  #hud .hud-compact-actions #hud-account {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 6px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    gap: 0;
    text-transform: none;
    letter-spacing: 0.2px;
  }

  #hud .hud-nav .nav-hex { font-size: 10px; }
  #hud .hud-tab-label { display: none; }
  #hud .hud-icon-btn .fa-icon,
  #hud .nav-icon { width: 18px; height: 18px; }

  #hud .hud-nav .nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }

  #hud .hud-coin-pill {
    flex-direction: column;
    gap: 4px;
    padding: 4px 6px;
    min-width: 0;
  }

  #hud .hud-coin-pill .tick-coin-icon {
    width: 20px;
    height: 20px;
  }

  #hud .hud-coin-pill .tick-coin-amount { font-size: 10px; }

  #hud #hud-account { max-width: none; }
  .hud-compact #hud-cart .badge-count { top: 6px; right: 8px; }
  .hud-main { grid-template-columns: 1fr; }
  .hud-strip { grid-template-columns: 1fr; }
  .window-layer.active { align-items: flex-end; justify-content: center; padding: 10px 10px calc(var(--hud-height) + 18px + var(--safe-bottom)); }
  .window { width: min(760px, calc(100vw - 20px)); max-height: calc(100vh - (var(--hud-height) + 34px + var(--safe-bottom))); border-radius: 20px; }
  .window[data-window="menu"] {
    border-radius: 22px;
  }
  .window[data-window="menu"] header {
    padding: 10px 12px;
  }
  .window[data-window="menu"] .content {
    padding: 10px 12px 14px;
  }
  .window[data-window="menu"] .hud-menu-item {
    padding: 8px 10px;
    border-radius: 14px;
  }
  .window.auth-window {
    align-self: center;
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100vh - (var(--hud-height) + 80px + var(--safe-bottom)));
  }
  .window header { position: sticky; top: 0; z-index: 2; }
  main { padding-bottom: calc(var(--hud-height) + 22px + var(--safe-bottom)); }
  .hero-visual { display: none; }
  .hero-slide { padding: 100px 7% 110px; position: relative; inset: auto; }
  .hero-home.hero-future .hero-slide {
    padding: 84px 6% calc(60px + var(--safe-bottom));
    min-height: 100svh;
  }

  .hero-home-showcase { justify-items: stretch; }
  .hero-holo-figure { width: min(420px, 100%); margin: 0 auto; transform: none; justify-self: center; }
  .hero-holo-orbit,
  .hero-holo-core,
  .hero-gridline { animation: none; }
  .hero-holo-base-row { grid-template-columns: 1fr; text-align: left; }
  .hero-fast-register { width: 100%; }
  .hero-fast-register-grid { grid-template-columns: 1fr; }
  .hero-home .hero-dots { margin-top: 10px; }
  .hero-brand-actions { gap: 10px; }
  .hero-brand-links { gap: 12px; }
  .hero-brand-kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .hero-future-grid { grid-template-columns: 1fr; gap: 20px; align-items: center; }
  .hero-future-visual { justify-items: center; }
  .hero-future-visual { align-content: center; }
  .hero-holo-figure.hero-holo-future {
    width: min(420px, 100%);
    max-width: 88vw;
    transform: none;
  }
  .hero-future-console,
  .hero-future-panel { max-width: 100%; }
  .hero-future-console-grid { grid-template-columns: 1fr; }
  .hero-future-form-grid { grid-template-columns: 1fr; }
  .hero-future-actions { gap: 10px; }
  .hero-future-actions .button-primary,
  .hero-future-actions .button-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-future-links { gap: 12px; }
  .hero-future-metrics { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .hero-future-aurora { opacity: 0.2; animation: none; }

  .hero-home.hero-future .hero-future-copy {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-future-highlights {
    justify-content: center;
  }

  .hero-future-scroll {
    position: static;
    transform: none;
    margin-top: 14px;
    justify-self: center;
    align-self: center;
  }

.hero-home.hero-future .hero-future-chip-row,
.hero-home.hero-future .hero-future-actions,
.hero-home.hero-future .hero-future-links,
.hero-home.hero-future .hero-future-summary,
.hero-home.hero-future .hero-future-highlights {
  justify-content: center;
}

  .hero-home.hero-future .hero-future-metric {
    text-align: center;
    justify-items: center;
  }

  .hero-home.hero-future .hero-future-console {
    justify-self: center;
  }

  .hero-home.hero-future .hero-slide-inner {
    align-items: center;
    gap: 18px;
  }

  .hero-home.hero-future .hero-future-visual {
    order: 0;
    width: 100%;
  }

  .hero-home.hero-future .hero-future-console {
    max-width: 420px;
    width: 100%;
  }

  .hero-home.hero-future .hero-slide {
    min-height: 100svh;
  }

  .hero-home.hero-future .hero-holo-figure.hero-holo-future {
    width: min(340px, 92vw);
    animation: emblem-float 10s ease-in-out infinite;
  }

  .hero-home.hero-future .hero-holo-orbit {
    animation: spin 26s linear infinite;
  }

  .hero-home.hero-future .hero-holo-core {
    animation: pulse 6s ease-in-out infinite;
  }

  .hero-home.hero-future .hero-holo-image {
    animation: emblem-float 8s ease-in-out infinite;
  }

  .hero-home.hero-future .hero-future-summary {
    margin-top: 4px;
  }
  .hero-future-scroll {
    bottom: calc(var(--hud-height) + 8px + var(--safe-bottom));
    padding: 6px 12px;
  }
  .hero-neo-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-neo-visual { justify-items: center; }
  .hero-neo-holo { width: min(420px, 100%); transform: none; animation: none; }
  .hero-neo-shards span { width: 34px; height: 10px; }
  .hero-neo-platform { left: 10%; right: 10%; height: 44px; }
  .hero-neo-base-row { grid-template-columns: 1fr; text-align: left; }
  .hero-neo-console,
  .hero-neo-join { max-width: 100%; }
  .hero-neo-console-grid { grid-template-columns: 1fr; }
  .hero-neo-form-grid { grid-template-columns: 1fr; }
  .hero-neo-actions { gap: 10px; }
  .hero-neo-actions .button-primary,
  .hero-neo-actions .button-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-neo-links { gap: 12px; }
  .hero-neo-highlights,
  .hero-neo-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .hero-neo-sky { opacity: 0.2; animation: none; }
  .hud-rail::before,
  .hud-rail::after { animation: none; }
  #hud::before { opacity: 0.35; }

  .hero-hub-inner { grid-template-columns: 1fr; padding: 100px 0 70px; }
  .hero-hub-portal { display: grid; }
  .hero-hub-portal .portal-frame { display: none; }
  .hero-console-grid,
  .hero-console-addons { grid-template-columns: 1fr; }
  .hero-hub-offers { grid-template-columns: 1fr; }

  .game-hero { padding: 110px 7% 80px; }
  .game-hero .emblem {
    width: 200px;
    height: 200px;
    justify-self: center;
  }

  .admin-shell .admin-kpis {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .admin-shell .admin-kpis::-webkit-scrollbar { display: none; }

  .admin-shell .admin-kpis .panel {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .kb-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kb-hero-aurora { opacity: 0.22; }
  .kb-hero-scan { opacity: 0.18; }

  .hero-home.hero-future .hero-slide {
    align-content: center;
  }

  .hero-hub-copy h1,
  .hero-slide .content h1,
  .hero-brand-title,
  .hero-future-title,
  .hero-neo-title {
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero-home.hero-future .hero-future-title {
    font-size: clamp(30px, 9.5vw, 44px);
  }

  .hero-home.hero-future .hero-slide {
    padding: 62px 6% calc(52px + var(--safe-bottom));
    min-height: 100svh;
  }

  .hero-home.hero-future .hero-future-visual {
    order: 0;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-home.hero-future .hero-future-copy {
    gap: 10px;
  }

  .hero-home.hero-future .hero-future-grid {
    gap: 18px;
  }

  .hero-home.hero-future .hero-holo-figure.hero-holo-future {
    width: min(320px, 86vw);
    aspect-ratio: 1 / 1.1;
  }

  .hero-home.hero-future .hero-holo-orbit,
  .hero-home.hero-future .hero-holo-core {
    animation: none;
  }

  .hero-home.hero-future .hero-future-metrics,
  .hero-home.hero-future .hero-future-links {
    display: none;
  }

  .hero-home.hero-future .hero-future-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-home.hero-future .hero-future-metric:last-child {
    display: none;
  }

  .hero-home.hero-future .hero-future-metric span {
    font-size: 10px;
  }

  .hero-home.hero-future .hero-future-metric strong {
    font-size: 16px;
  }

  .hero-home.hero-future .hero-future-metric small {
    font-size: 11px;
  }

  .hero-home.hero-future .hero-future-console {
    display: none;
  }

  .hero-home.hero-future .hero-future-lead {
    max-width: 100%;
  }

  .hero-home.hero-prime .hero-prime-title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-home.hero-prime .hero-prime-lead {
    font-size: 16px;
  }

  .hero-home.hero-prime .hero-prime-metrics {
    gap: 10px;
  }

  .hero-home.hero-prime .hero-prime-metric span {
    font-size: 10px;
  }

  .hero-home.hero-prime .hero-prime-metric strong {
    font-size: 16px;
  }

  .hero-home.hero-prime .hero-prime-metric small {
    font-size: 11px;
  }

  .hero-home.hero-prime .hero-prime-orb {
    width: min(300px, 88vw);
  }
  .hero-coin-stack {
    width: min(300px, 88vw);
  }

  .hero-home.hero-future .hero-future-chip {
    font-size: 10px;
    padding: 5px 10px;
  }

  .hero-home.hero-future .hero-future-links,
  .hero-home.hero-future .hero-future-link {
    font-size: 10px;
  }

  .hero-home.hero-future .hero-future-summary {
    font-size: 10px;
  }

  .hero-home.hero-future .hero-future-summary span {
    padding: 4px 8px;
  }

  .hero-home.hero-future .hero-future-highlights span {
    font-size: 9px;
    padding: 5px 8px;
  }

  .hero-future-scroll { display: none; }

  #hud .hud-tab-label,
  #hud .hud-account-label,
  #hud .hud-account-caret {
    display: none;
  }
  .hud-quick-btn .nav-label { display: none; }
  .hud-rail.logged-in #hud-account {
    flex-direction: column;
    gap: 0;
    padding: 6px 4px;
  }

  .hero-hub-lead,
  .hero-future-lead,
  .hero-neo-lead,
  .hero-brand-lead,
  .hero-copy p:not(.muted) {
    font-size: 15px;
  }

  .hero-home.hero-future .hero-future-lead {
    font-size: 16px;
  }

  .hero-brand-kpis,
  .hero-future-metrics,
  .hero-neo-highlights,
  .hero-neo-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .hero-console-head,
  .hero-future-console-head,
  .hero-neo-console-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

@media (max-width: 560px) {
  :root { --hud-height: 118px; }
  #hud { padding: 0 0 calc(8px + var(--safe-bottom)); }
  #hud::before {
    width: min(420px, 92vw);
    height: 48px;
    bottom: 4px;
    opacity: 0.24;
  }
  body:not([data-page="admin"]) main {
    padding-bottom: calc(var(--hud-height) + 16px + var(--safe-bottom));
  }
  .hud-rail { width: min(520px, 94vw); margin: 0 auto; padding: 6px 6px 8px; border-radius: 14px; }
  .hud-compact-row { gap: 6px; }
  .hud-compact-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(46px, 1fr);
    gap: 6px;
    padding: 5px;
    margin-left: 0;
    border-left: 0;
    border-radius: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  }
  .hud-compact-actions::-webkit-scrollbar { display: none; }
  .hud-compact-actions > * { min-width: 44px; scroll-snap-align: center; }
  .hud-nav {
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(12, 18, 32, 0.95), rgba(6, 10, 18, 0.98));
  }
  .hud-nav .nav-hex { height: 40px; border-radius: 999px; }
  #hud .hud-compact-actions .hud-icon-btn,
  #hud .hud-compact-actions #hud-account { height: 38px; border-radius: 10px; }
  #hud .hud-icon-btn .fa-icon,
  #hud .nav-icon { width: 15px; height: 15px; }
  #hud .hud-nav .nav-label { display: none; }
  .hud-compact #hud-cart .badge-count { top: 6px; right: 8px; font-size: 10px; }
  .region-map { min-height: 260px; height: clamp(260px, 70vw, 360px); aspect-ratio: auto; }

  .hero-slide { padding: 88px 6% 100px; }
  .hero-holo-figure,
  .hero-holo-figure.hero-holo-future,
  .hero-neo-holo { width: min(360px, 100%); }
  .hero-console,
  .hero-future-console,
  .hero-neo-console { padding: 14px 14px; }
  .hero-home.hero-future .hero-slide { padding: 56px 6% calc(44px + var(--safe-bottom)); min-height: 100svh; }
  .hero-home.hero-future .hero-holo-figure.hero-holo-future {
    width: min(280px, 86vw);
    aspect-ratio: 1 / 1.05;
  }
  .hero-home.hero-future .hero-future-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-home.hero-future .hero-future-links { display: none; }
  .hero-home.hero-future .hero-future-chip-row span:nth-child(3) { display: none; }
  .hero-home.hero-future .hero-future-visual {
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-future-scroll {
    position: static;
    transform: none;
    margin-top: 12px;
    padding: 6px 10px;
  }
  .hero-home.hero-future .hero-holo-base {
    left: 6%;
    right: 6%;
    bottom: 5%;
    padding: 10px 12px;
  }
  .hero-home.hero-future .hero-holo-base-row {
    gap: 6px;
  }
  .hero-home.hero-future .hero-holo-base-row span {
    font-size: 10px;
  }
  .hero-home.hero-future .hero-holo-base-row strong {
    font-size: 12px;
  }
  .hero-home.hero-prime .hero-slide {
    padding: 70px 6% calc(var(--hud-height) + 18px);
    min-height: 100svh;
  }
  .hero-home.hero-prime .hero-slide-inner { gap: 12px; }
  .hero-home.hero-prime .hero-prime-actions { width: min(360px, 100%); }
  .hero-home.hero-prime .hero-prime-orb {
    width: min(280px, 92vw);
  }
  .hero-prime-aurora { opacity: 0.2; }
  .hero-prime-gridlines { opacity: 0.06; }
  .hero-home.hero-prime .hero-prime-panel {
    left: 6%;
    right: 6%;
    bottom: 6%;
    padding: 10px 12px;
  }
  .hero-home.hero-prime .hero-prime-panel-row span {
    font-size: 9px;
  }
  .hero-home.hero-prime .hero-prime-panel-row strong {
    font-size: 12px;
  }
  .hero-home.hero-prime .hero-prime-metrics {
    grid-template-columns: 1fr;
  }
  .hero-home.hero-prime .hero-prime-metric:last-child {
    display: none;
  }
  .hero-home.hero-prime .hero-prime-chips {
    display: none;
  }
  .kb-hero .hero-slide {
    padding: 62px 6% calc(18px + var(--hud-height));
    min-height: 100svh;
  }
  .kb-hero-stats {
    grid-template-columns: 1fr;
  }
  .game-hero { padding: 96px 6% 72px; gap: 24px; }
  .game-hero .emblem { width: 170px; height: 170px; }
}

@media (max-width: 520px) {
  .hud-quick-btn { display: none; }
  .hud-compact-actions { grid-auto-columns: minmax(44px, 1fr); }
  #hud .hud-compact-actions .hud-icon-btn,
  #hud .hud-compact-actions #hud-account { height: 36px; border-radius: 10px; }
  #hud .hud-icon-btn .fa-icon { width: 15px; height: 15px; }
}

@media (max-width: 420px) {
  :root { --hud-height: 108px; }
  #hud { padding: 0 0 calc(8px + var(--safe-bottom)); }
  #hud::before {
    width: min(360px, 92vw);
    height: 42px;
    bottom: 3px;
    opacity: 0.22;
  }
  body:not([data-page="admin"]) main {
    padding-bottom: calc(var(--hud-height) + 14px + var(--safe-bottom));
  }
  .hud-rail { width: min(420px, 94vw); }
  .hud-compact-row { gap: 6px; }
  .hud-nav { gap: 6px; padding: 4px; border-radius: 999px; }
  .hud-nav .nav-hex { height: 36px; border-radius: 999px; }
  #hud .hud-compact-actions .hud-icon-btn,
  #hud .hud-compact-actions #hud-account { height: 34px; border-radius: 9px; }
  #hud .hud-nav .nav-label { display: none; }
  .hero-coin-stack {
    width: min(240px, 84vw);
  }
}

body.low-power .hero-holo-orbit,
body.low-power .hero-holo-core,
body.low-power .hero-holo-beam,
body.low-power .hero-future-scan,
body.low-power .hero-future-aurora,
body.low-power .hero-prime-aurora,
body.low-power .hero-prime-gridlines,
body.low-power .hero-prime-ring,
body.low-power .hero-prime-core,
body.low-power .hero-prime-orb,
body.low-power .kb-hero-aurora,
body.low-power .kb-hero-scan,
body.low-power .kb-hero-clean .hero-slide::before,
body.low-power .hero-home.hero-prime .hero-slide::before,
body.low-power .hero::before,
body.low-power .hero::after,
body.low-power::before,
body.low-power::after {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  #particle-layer { display: none; }
  body::after { animation: none !important; }
  .game-hero .emblem { animation: none !important; }
  .game-hero .emblem::before,
  .game-hero .emblem::after { animation: none !important; }
  .hero-holo-beam { animation: none !important; }
  .home-load-screen::before,
  .home-load-holo,
  .home-load-holo-ring,
  .home-load-holo-core,
  .home-load-holo-scan,
  .home-load-holo-image { animation: none !important; }
}

/* Admin Command Center */
body[data-page="admin"] {
  --admin-surface: rgba(12, 16, 28, 0.9);
  --admin-surface-2: rgba(10, 14, 24, 0.96);
  --admin-surface-3: rgba(7, 10, 18, 0.98);
  --admin-border: rgba(91, 200, 255, 0.2);
  --admin-border-strong: rgba(106, 245, 196, 0.45);
  --admin-accent: #6fe0ff;
  --admin-accent-2: #6af5c4;
  --admin-muted: rgba(158, 180, 212, 0.88);
  --admin-radius: 18px;
  background: var(--bg-world);
}

body[data-page="admin"]::before {
  background: var(--site-overlay);
  opacity: 1;
}

body[data-page="admin"]::after {
  background: var(--site-glow);
  opacity: 0.28;
  filter: blur(100px);
}

body[data-page="admin"] .hero {
  min-height: auto;
  display: block;
  align-items: stretch;
  overflow: visible;
}

body[data-page="admin"] .hero::after {
  opacity: 0.35;
}

body[data-page="admin"] .admin-hero {
  padding: 6px 0 18px;
  overflow: visible;
}

body[data-page="admin"] .admin-shell {
  width: min(1600px, calc(100vw - 32px));
  gap: 12px;
  align-content: start;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "tabs"
    "content";
  padding: 12px;
  border-radius: 26px;
  border: 1px solid rgba(111, 224, 255, 0.16);
  background: rgba(6, 9, 14, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  animation: admin-fade 0.35s ease both;
  transform: none;
}

body[data-page="admin"] .admin-shell > .admin-header,
body[data-page="admin"] .admin-shell > .admin-tabs,
body[data-page="admin"] .admin-shell > .admin-rail,
body[data-page="admin"] .admin-shell > .admin-content {
  grid-column: auto;
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-shell > :not(.admin-header):not(.admin-tabs):not(.admin-rail):not(.admin-content) {
    grid-column: auto;
  }
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas:
      "nav header"
      "nav content";
  }
}

@media (min-width: 1200px) {
  body[data-page="admin"] .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas:
      "nav header"
      "nav content";
  }
}

body[data-page="admin"] .admin-header {
  grid-area: header;
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--admin-border);
  background:
    radial-gradient(circle at 15% 20%, rgba(111, 224, 255, 0.16), transparent 50%),
    linear-gradient(160deg, rgba(14, 20, 34, 0.96), rgba(8, 12, 20, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-header::before {
  opacity: 0.5;
}

body[data-page="admin"] .admin-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(111, 224, 255, 0.6), rgba(106, 245, 196, 0.4), transparent 80%);
  opacity: 0.7;
  pointer-events: none;
}

body[data-page="admin"] .admin-header-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(240px, 1.4fr) minmax(220px, 1fr) auto;
  grid-template-areas: "brand center search actions";
  gap: 14px;
  align-items: center;
}

body[data-page="admin"] .admin-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-area: brand;
}

body[data-page="admin"] .admin-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f3f7ff;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(111, 224, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body[data-page="admin"] .admin-brand-title {
  font-weight: 700;
  font-size: 15px;
}

body[data-page="admin"] .admin-brand-sub {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

body[data-page="admin"] .admin-header-center {
  display: grid;
  gap: 4px;
  grid-area: center;
}

body[data-page="admin"] .admin-header-label {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(158, 180, 212, 0.85);
}

body[data-page="admin"] .admin-header-title {
  font-size: 22px;
  font-weight: 700;
}

body[data-page="admin"] .admin-header-path {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="admin"] .admin-header-user {
  font-size: 12px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-header-search {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: min(100%, 320px);
  justify-self: end;
  grid-area: search;
}

body[data-page="admin"] .admin-header-search-label {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(158, 180, 212, 0.8);
}

body[data-page="admin"] .admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  grid-area: actions;
}

body[data-page="admin"] .admin-header-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(111, 224, 255, 0.14);
}

body[data-page="admin"] .admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(111, 224, 255, 0.22);
  background: rgba(6, 10, 18, 0.7);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(214, 228, 255, 0.92);
}

body[data-page="admin"] .admin-chip strong {
  font-weight: 700;
  color: #f1f6ff;
}

body[data-page="admin"] .admin-chip-live {
  border-color: rgba(106, 245, 196, 0.45);
  background: rgba(106, 245, 196, 0.12);
}

body[data-page="admin"] .admin-chip-warn {
  border-color: rgba(255, 210, 125, 0.45);
  background: rgba(255, 210, 125, 0.12);
}

body[data-page="admin"] .admin-breadcrumb {
  gap: 8px;
}

body[data-page="admin"] .admin-breadcrumb .badge {
  border-radius: 999px;
  background: rgba(111, 224, 255, 0.12);
  border-color: rgba(111, 224, 255, 0.28);
}

body[data-page="admin"] .admin-header-actions .button-ghost,
body[data-page="admin"] .admin-header-actions .button-primary {
  border-radius: 12px;
  border-color: rgba(91, 200, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-header-actions .button-ghost:hover,
body[data-page="admin"] .admin-header-actions .button-primary:hover {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 18px rgba(111, 224, 255, 0.2);
}

body[data-page="admin"] .admin-tabs {
  grid-area: tabs;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px;
  gap: 8px;
  position: relative;
  top: auto;
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  background: rgba(7, 10, 18, 0.7);
}

body[data-page="admin"] .admin-tabs::-webkit-scrollbar {
  display: none;
}

body[data-page="admin"] .admin-tab {
  border-radius: 12px;
  border-color: transparent;
  background: transparent;
  font-size: 11px;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

body[data-page="admin"] .admin-tab.active {
  border-color: var(--admin-border-strong);
  background: linear-gradient(130deg, rgba(106, 245, 196, 0.2), rgba(111, 224, 255, 0.1));
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-tabs {
    display: none;
  }
}

body[data-page="admin"] .admin-rail {
  grid-area: nav;
  gap: 12px;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(111, 224, 255, 0.12);
  background: rgba(6, 9, 16, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1099px) {
  body[data-page="admin"] .admin-rail {
    display: none;
  }
}

body[data-page="admin"] .admin-content {
  grid-area: content;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(111, 224, 255, 0.18);
  background: rgba(7, 10, 18, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-content > * {
  margin-top: 0 !important;
}

body[data-page="admin"] .admin-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(111, 224, 255, 0.08), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 1200px) {
  body[data-page="admin"] .admin-rail {
    position: sticky;
    top: 10px;
    align-self: start;
  }
}

body[data-page="admin"] .admin-sidenav-top,
body[data-page="admin"] .admin-sidenav-group {
  border-radius: 14px;
  border: 1px solid var(--admin-border);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .admin-rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(111, 224, 255, 0.24);
  background: linear-gradient(140deg, rgba(111, 224, 255, 0.12), rgba(106, 245, 196, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body[data-page="admin"] .admin-rail-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f3f7ff;
  background: rgba(8, 12, 20, 0.7);
  border: 1px solid rgba(111, 224, 255, 0.35);
}

body[data-page="admin"] .admin-rail-title {
  font-size: 12px;
  font-weight: 700;
}

body[data-page="admin"] .admin-rail-sub {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

body[data-page="admin"] .admin-sidenav-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(111, 224, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-sidenav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #f1f6ff;
  background: linear-gradient(140deg, rgba(111, 224, 255, 0.3), rgba(106, 245, 196, 0.25));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-page="admin"] .admin-sidenav-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

body[data-page="admin"] .admin-sidenav-email {
  font-size: 11px;
  color: var(--admin-muted);
  word-break: break-word;
}

body[data-page="admin"] .admin-sidenav-search .admin-search-input {
  background: rgba(6, 10, 18, 0.8);
  border-color: rgba(111, 224, 255, 0.25);
}

body[data-page="admin"] .admin-sidenav-heading {
  color: rgba(158, 180, 212, 0.9);
}

body[data-page="admin"] .admin-sidenav-link {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px 8px 14px;
}

body[data-page="admin"] .admin-sidenav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(111, 224, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

body[data-page="admin"] .admin-sidenav-link::before {
  left: 6px;
  height: 14px;
}

body[data-page="admin"] .admin-sidenav-link:hover {
  border-color: rgba(111, 224, 255, 0.3);
  box-shadow: 0 0 20px rgba(111, 224, 255, 0.16);
}

body[data-page="admin"] .admin-sidenav-link.active {
  border-color: var(--admin-border-strong);
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.18), rgba(111, 224, 255, 0.08));
  box-shadow: 0 0 24px rgba(106, 245, 196, 0.18);
}

body[data-page="admin"] .admin-sidenav-link:hover::after,
body[data-page="admin"] .admin-sidenav-link.active::after {
  opacity: 1;
}

body[data-page="admin"] .admin-sidenav-label {
  font-size: 11px;
}

body[data-page="admin"] .admin-search-input {
  background: rgba(8, 12, 20, 0.8);
  border-color: rgba(111, 224, 255, 0.22);
}

body[data-page="admin"] .admin-search-input:focus {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 0 3px rgba(106, 245, 196, 0.18);
  background: rgba(8, 12, 20, 0.9);
}

body[data-page="admin"] .admin-shell .panel {
  border-radius: var(--admin-radius);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-shell .panel::after {
  opacity: 0.45;
}

body[data-page="admin"] .admin-card::after {
  opacity: 0.25;
}

body[data-page="admin"] .admin-shell .admin-page-header {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(111, 224, 255, 0.18);
  background: linear-gradient(120deg, rgba(111, 224, 255, 0.12), rgba(7, 10, 18, 0.6));
}

body[data-page="admin"] .admin-shell .panel .panel {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--admin-surface-2);
}

body[data-page="admin"] .admin-card-head {
  gap: 12px;
}

body[data-page="admin"] .admin-kpi,
body[data-page="admin"] .client-kpi {
  border-radius: 16px;
  border: 1px solid rgba(111, 224, 255, 0.2);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.95), rgba(8, 12, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .admin-kpi strong,
body[data-page="admin"] .client-kpi-value {
  color: #f1f6ff;
}

body[data-page="admin"] .admin-reorder-item {
  border-radius: 16px;
  border-color: rgba(111, 224, 255, 0.18);
  background: rgba(9, 12, 20, 0.78);
}

body[data-page="admin"] .admin-reorder-item:hover {
  border-color: rgba(111, 224, 255, 0.35);
  box-shadow: 0 0 20px rgba(111, 224, 255, 0.18);
}

body[data-page="admin"] .package-table {
  border-radius: 16px;
  border: 1px solid rgba(111, 224, 255, 0.18);
  background: rgba(7, 10, 18, 0.6);
}

body[data-page="admin"] .package-table thead th {
  background: rgba(12, 18, 30, 0.9);
  border-bottom: 1px solid rgba(111, 224, 255, 0.2);
}

body[data-page="admin"] .package-table tbody tr:hover {
  background: rgba(111, 224, 255, 0.06);
}

body[data-page="admin"] .whm-map-select {
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(232, 240, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(232, 240, 255, 0.7) 50%, transparent 50%),
    linear-gradient(160deg, rgba(10, 14, 22, 0.92), rgba(6, 9, 16, 0.96));
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}


body[data-page="admin"] .admin-savebar-inner {
  border-radius: 16px;
  border-color: rgba(106, 245, 196, 0.4);
  background: rgba(10, 14, 24, 0.8);
}

body[data-page="admin"] .admin-create {
  position: relative;
}

body[data-page="admin"] .admin-create summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body[data-page="admin"] .admin-create summary::-webkit-details-marker {
  display: none;
}

body[data-page="admin"] .admin-create-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 6px;
  z-index: 5;
}

body[data-page="admin"] .admin-create-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

body[data-page="admin"] .admin-create-menu a:hover {
  border-color: rgba(111, 224, 255, 0.35);
  background: rgba(111, 224, 255, 0.08);
}

body[data-page="admin"] .admin-footer {
  width: min(1480px, calc(100vw - 32px));
  margin: 18px auto calc(var(--hud-height) + 20px);
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(111, 224, 255, 0.5), rgba(106, 245, 196, 0.4), transparent 80%);
  opacity: 0.8;
  pointer-events: none;
}

body[data-page="admin"] .admin-footer-inner {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(200px, 1fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: start;
}

body[data-page="admin"] .admin-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="admin"] .admin-footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f3f7ff;
  border: 1px solid rgba(111, 224, 255, 0.35);
  background: rgba(8, 12, 20, 0.8);
}

body[data-page="admin"] .admin-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

body[data-page="admin"] .admin-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

body[data-page="admin"] .admin-footer-links a:hover {
  color: var(--admin-accent);
}

body[data-page="admin"] .admin-footer-status {
  font-size: 12px;
  color: var(--admin-muted);
  text-align: right;
}

body[data-page="admin"] .admin-footer-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="admin"] .admin-footer-user {
  margin-top: 8px;
  color: var(--admin-muted);
}

@media (max-width: 1100px) {
  body[data-page="admin"] .admin-header-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "center"
      "search"
      "actions";
  }
  body[data-page="admin"] .admin-header-actions {
    justify-content: flex-start;
  }
  body[data-page="admin"] .admin-footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  body[data-page="admin"] .admin-footer-status {
    text-align: left;
  }
  body[data-page="admin"] .admin-footer-chips {
    justify-content: flex-start;
  }
}

body[data-page="admin"] .modal-card {
  border-radius: 16px;
  border-color: var(--admin-border);
  background: var(--admin-surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .modal-card:hover {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 24px rgba(111, 224, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Admin Panel Rebuild */
body[data-page="admin"] {
  --admin-surface: rgba(11, 16, 26, 0.92);
  --admin-surface-2: rgba(14, 20, 32, 0.96);
  --admin-surface-3: rgba(8, 12, 20, 0.98);
  --admin-border: rgba(90, 190, 255, 0.25);
  --admin-border-strong: rgba(108, 242, 197, 0.45);
  --admin-accent: #5de1ff;
  --admin-accent-2: #6cf2c5;
  --admin-warn: #f5c266;
  --admin-muted: rgba(160, 184, 220, 0.86);
  background:
    radial-gradient(circle at 20% 15%, rgba(93, 225, 255, 0.16), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(108, 242, 197, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.98), rgba(5, 8, 14, 0.98));
}

body[data-page="admin"]::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(93, 225, 255, 0.06) 0,
      rgba(93, 225, 255, 0.06) 1px,
      transparent 1px,
      transparent 48px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(108, 242, 197, 0.05) 0,
      rgba(108, 242, 197, 0.05) 1px,
      transparent 1px,
      transparent 48px
    );
  opacity: 0.35;
}

body[data-page="admin"] .admin-hero {
  padding: 6px 0 18px;
}

body[data-page="admin"] .hero.admin-hero {
  min-height: auto;
  align-items: stretch;
  display: block;
  overflow: visible;
}

body[data-page="admin"] .hero.admin-hero {
  min-height: auto;
  align-items: flex-start;
  padding: 18px 0 32px;
}

body[data-page="admin"] .hero.admin-hero::after {
  display: none;
}

body[data-page="admin"] .admin-shell {
  width: min(1760px, calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  align-content: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "topbar"
    "content";
}

body[data-page="admin"] .admin-shell > .admin-topbar { grid-area: topbar; }
body[data-page="admin"] .admin-shell > .admin-rail { grid-area: nav; }
body[data-page="admin"] .admin-shell > .admin-content { grid-area: content; }

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas:
      "nav topbar"
      "nav content";
  }
}

@media (min-width: 1400px) {
  body[data-page="admin"] .admin-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas:
      "nav topbar"
      "nav content";
  }
}

body[data-page="admin"] .admin-topbar {
  display: grid;
  gap: 10px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: sticky;
  top: 10px;
  z-index: 40;
  overflow: visible;
}

body[data-page="admin"] .admin-topbar::after {
  display: none;
}

body[data-page="admin"] .admin-topbar-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(111, 224, 255, 0.22);
  background:
    radial-gradient(circle at 16% 18%, rgba(111, 224, 255, 0.2), transparent 50%),
    radial-gradient(circle at 86% 20%, rgba(108, 242, 197, 0.16), transparent 46%),
    linear-gradient(160deg, rgba(10, 14, 24, 0.98), rgba(6, 10, 18, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 20px rgba(111, 224, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

body[data-page="admin"] .admin-topbar-main::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(93, 225, 255, 0.1);
  background: linear-gradient(120deg, rgba(93, 225, 255, 0.06), rgba(255, 255, 255, 0));
  z-index: 0;
  pointer-events: none;
}

body[data-page="admin"] .admin-topbar-main::after {
  content: "";
  position: absolute;
  inset: auto 16px 10px 16px;
  height: 2px;
  background: linear-gradient(90deg, rgba(93, 225, 255, 0.6), rgba(108, 242, 197, 0.45), transparent 78%);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

body[data-page="admin"] .admin-topbar-main > * {
  position: relative;
  z-index: 1;
}

body[data-page="admin"] .admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

body[data-page="admin"] .admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="admin"] .admin-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f4f7ff;
  background: linear-gradient(150deg, rgba(93, 225, 255, 0.2), rgba(10, 14, 24, 0.9));
  border: 1px solid rgba(93, 225, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 16px rgba(93, 225, 255, 0.16);
}

body[data-page="admin"] .admin-brand-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
}

body[data-page="admin"] .admin-brand-sub {
  display: none;
}

body[data-page="admin"] .admin-topbar-section {
  display: grid;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(93, 225, 255, 0.22);
  background: rgba(8, 12, 20, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(160, 184, 220, 0.75);
}

body[data-page="admin"] .admin-section-title {
  font-size: 15px;
  font-weight: 700;
}

body[data-page="admin"] .admin-section-path {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

body[data-page="admin"] .admin-topbar-actions .button-ghost,
body[data-page="admin"] .admin-topbar-actions .button-primary {
  border-radius: 999px;
  border-color: rgba(93, 225, 255, 0.28);
  background: rgba(10, 14, 22, 0.6);
  padding: 6px 12px;
  font-size: 11px;
  height: 30px;
  letter-spacing: 0.3px;
}

body[data-page="admin"] .admin-topbar-actions .button-ghost:hover,
body[data-page="admin"] .admin-topbar-actions .button-primary:hover {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 18px rgba(93, 225, 255, 0.22);
}

body[data-page="admin"] .admin-topbar-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(93, 225, 255, 0.2);
  background:
    linear-gradient(165deg, rgba(10, 14, 24, 0.95), rgba(6, 10, 18, 0.95));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.44), 0 0 16px rgba(93, 225, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="admin"] .admin-topbar-search {
  position: relative;
  display: grid;
  gap: 4px;
  flex: 1 1 460px;
}

body[data-page="admin"] .admin-topbar-search-label {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-topbar-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(93, 225, 255, 0.28);
  background: rgba(6, 10, 18, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .admin-topbar-search-field:focus-within {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 0 3px rgba(108, 242, 197, 0.18);
  background: rgba(6, 10, 18, 0.92);
}

body[data-page="admin"] .admin-search-icon {
  width: 18px;
  height: 18px;
  color: rgba(166, 186, 214, 0.9);
  display: grid;
  place-items: center;
}

body[data-page="admin"] .admin-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

body[data-page="admin"] .admin-topbar-search-field .admin-search-input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 22px;
  box-shadow: none;
  font-size: 13px;
  color: rgba(240, 246, 255, 0.95);
}

body[data-page="admin"] .admin-search-input:focus {
  outline: none;
}

body[data-page="admin"] .admin-topbar-search-field .admin-search-input:focus {
  box-shadow: none;
}

body[data-page="admin"] .admin-search-clear {
  border: 0;
  background: rgba(93, 225, 255, 0.16);
  color: rgba(214, 228, 255, 0.9);
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

body[data-page="admin"] .admin-topbar-search.is-dirty .admin-search-clear {
  opacity: 1;
  pointer-events: auto;
}

body[data-page="admin"] .admin-search-clear:hover {
  background: rgba(93, 225, 255, 0.2);
}

body[data-page="admin"] .admin-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(93, 225, 255, 0.2);
  background: rgba(8, 12, 20, 0.97);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.58);
  z-index: 60;
}

body[data-page="admin"] .admin-search-results.open {
  display: block;
}

body[data-page="admin"] .admin-search-results-body {
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow: auto;
}

body[data-page="admin"] .admin-search-results-hint {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.4px;
}

body[data-page="admin"] .admin-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

body[data-page="admin"] .admin-search-item small {
  font-size: 11px;
  color: var(--admin-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

body[data-page="admin"] .admin-search-item:hover,
body[data-page="admin"] .admin-search-item.active {
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 16px rgba(93, 225, 255, 0.18);
}

body[data-page="admin"] .admin-topbar-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex: 0 0 auto;
}

body[data-page="admin"] .admin-status-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="admin"] .admin-status-user {
  font-size: 11px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(93, 225, 255, 0.3);
  background: rgba(6, 10, 18, 0.7);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.9);
}

body[data-page="admin"] .admin-chip strong {
  font-weight: 700;
  color: #f1f6ff;
}

body[data-page="admin"] .admin-chip-live {
  border-color: rgba(108, 242, 197, 0.45);
  background: rgba(108, 242, 197, 0.12);
}

body[data-page="admin"] .admin-chip-warn {
  border-color: rgba(245, 194, 102, 0.45);
  background: rgba(245, 194, 102, 0.12);
}

body[data-page="admin"] .admin-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(93, 225, 255, 0.4);
  background: rgba(8, 12, 20, 0.78);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.4px;
  cursor: pointer;
}

body[data-page="admin"] .admin-nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 10px;
  border-top: 2px solid rgba(93, 225, 255, 0.9);
  border-bottom: 2px solid rgba(93, 225, 255, 0.9);
}

body[data-page="admin"] .admin-nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 2px;
  background: rgba(93, 225, 255, 0.9);
}

body[data-page="admin"] .admin-nav-overlay {
  display: none;
}

body[data-page="admin"][data-admin-nav="open"] {
  overflow: hidden;
}

body[data-page="admin"][data-admin-nav="open"] .admin-nav-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(6px);
  z-index: 20;
}

body[data-page="admin"] .admin-rail {
  display: grid;
  gap: 12px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(93, 225, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(12, 16, 28, 0.95), rgba(7, 10, 18, 0.98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55), 0 0 24px rgba(93, 225, 255, 0.16);
  position: fixed;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: min(300px, 86vw);
  max-height: calc(100vh - 16px);
  overflow: auto;
  transform: translateX(-120%);
  transition: transform 0.2s ease;
  z-index: 30;
}

body[data-page="admin"][data-admin-nav="open"] .admin-rail {
  transform: translateX(0);
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-nav-toggle { display: none; }
  body[data-page="admin"] .admin-rail {
    position: sticky;
    top: 10px;
    transform: none;
    width: auto;
    max-height: calc(100vh - 20px);
  }
  body[data-page="admin"] .admin-nav-overlay { display: none !important; }
}

body[data-page="admin"] .admin-sidenav-top,
body[data-page="admin"] .admin-sidenav-group {
  border-radius: 18px;
  border: 1px solid rgba(93, 225, 255, 0.2);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.92), rgba(8, 12, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .admin-rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(93, 225, 255, 0.28);
  background: linear-gradient(140deg, rgba(93, 225, 255, 0.12), rgba(108, 242, 197, 0.08));
}

body[data-page="admin"] .admin-sidenav-profile {
  border-radius: 14px;
  border: 1px solid rgba(93, 225, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-sidenav-heading {
  color: rgba(160, 184, 220, 0.92);
}

body[data-page="admin"] .admin-sidenav-link {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 12px 9px 16px;
  position: relative;
}

body[data-page="admin"] .admin-sidenav-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(93, 225, 255, 0.8), rgba(108, 242, 197, 0.6));
  transform: translateY(-50%);
  opacity: 0;
}

body[data-page="admin"] .admin-sidenav-link:hover {
  border-color: rgba(93, 225, 255, 0.35);
  box-shadow: 0 0 18px rgba(93, 225, 255, 0.16);
}

body[data-page="admin"] .admin-sidenav-link.active {
  border-color: var(--admin-border-strong);
  background: linear-gradient(140deg, rgba(108, 242, 197, 0.2), rgba(93, 225, 255, 0.12));
  box-shadow: 0 0 20px rgba(108, 242, 197, 0.18);
}

body[data-page="admin"] .admin-sidenav-link.active::before {
  opacity: 1;
}

body[data-page="admin"] .admin-content {
  display: grid;
  padding: 14px 14px 20px;
  border-radius: 20px;
  border: 1px solid rgba(111, 224, 255, 0.2);
  background:
    radial-gradient(circle at 12% 12%, rgba(93, 225, 255, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(10, 14, 24, 0.92), rgba(6, 9, 16, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: visible;
  align-content: start;
  gap: 12px;
}

body[data-page="admin"] .admin-content > * {
  margin-top: 0 !important;
}

body[data-page="admin"] .admin-shell .panel {
  border-radius: 18px;
  border: 1px solid rgba(111, 224, 255, 0.16);
  background: rgba(12, 16, 28, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-page="admin"] .admin-shell .panel:hover {
  border-color: rgba(111, 224, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48), 0 0 14px rgba(111, 224, 255, 0.12);
}

body[data-page="admin"] .admin-shell .panel::after {
  opacity: 0.18;
}

body[data-page="admin"] .admin-page-header {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(111, 224, 255, 0.22);
  background:
    radial-gradient(circle at 20% 0%, rgba(93, 225, 255, 0.16), transparent 55%),
    linear-gradient(130deg, rgba(12, 16, 28, 0.94), rgba(7, 10, 18, 0.86));
}

body[data-page="admin"] .admin-page-header h2,
body[data-page="admin"] .admin-page-header p {
  margin: 0;
}

body[data-page="admin"] .admin-footer {
  width: min(1760px, calc(100vw - 28px));
  margin: 14px auto calc(var(--hud-height) + 18px);
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(93, 225, 255, 0.28);
  background:
    radial-gradient(circle at 15% 15%, rgba(93, 225, 255, 0.14), transparent 55%),
    linear-gradient(150deg, rgba(9, 14, 24, 0.96), rgba(6, 9, 16, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 28px rgba(93, 225, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-footer::before {
  content: "";
  position: absolute;
  inset: auto 18px 12px 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(93, 225, 255, 0.6), rgba(108, 242, 197, 0.5), transparent 80%);
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
}

body[data-page="admin"] .admin-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

body[data-page="admin"] .admin-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="admin"] .admin-footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f3f7ff;
  border: 1px solid rgba(93, 225, 255, 0.35);
  background: rgba(8, 12, 20, 0.82);
}

body[data-page="admin"] .admin-footer-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

body[data-page="admin"] .admin-footer-sub {
  font-size: 12px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

body[data-page="admin"] .admin-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(93, 225, 255, 0.18);
  background: rgba(93, 225, 255, 0.06);
}

body[data-page="admin"] .admin-footer-links a:hover {
  color: var(--admin-accent);
  border-color: var(--admin-border-strong);
  box-shadow: 0 0 16px rgba(93, 225, 255, 0.18);
}

body[data-page="admin"] .admin-footer-status {
  font-size: 12px;
  color: var(--admin-muted);
  justify-self: end;
  text-align: right;
}

body[data-page="admin"] .admin-footer-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="admin"] .admin-footer-user {
  margin-top: 6px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-footer-label {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(160, 184, 220, 0.8);
  margin-bottom: 6px;
}

body[data-page="admin"] .admin-footer-note {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(160, 184, 220, 0.7);
}

body[data-page="admin"] .admin-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(93, 225, 255, 0.18);
  background: rgba(10, 14, 22, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-toolbar::after {
  opacity: 0.2;
}

body[data-page="admin"] .admin-savebar-inner {
  border-color: rgba(108, 242, 197, 0.38);
  background: rgba(10, 14, 24, 0.85);
}

@media (max-width: 1100px) {
  body[data-page="admin"] .admin-topbar-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  body[data-page="admin"] .admin-topbar-left {
    flex-wrap: wrap;
  }
  body[data-page="admin"] .admin-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
  body[data-page="admin"] .admin-section-label,
  body[data-page="admin"] .admin-section-path {
    display: none;
  }
  body[data-page="admin"] .admin-topbar-sub {
    grid-template-columns: 1fr;
  }
  body[data-page="admin"] .admin-topbar-status {
    align-items: flex-start;
  }
  body[data-page="admin"] .admin-status-chips {
    justify-content: flex-start;
  }
  body[data-page="admin"] .admin-footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  body[data-page="admin"] .admin-footer-status {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 1099px) {
  body[data-page="admin"] .admin-rail {
    display: grid;
  }
}

body[data-page="admin"] .admin-page-header {
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-page-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(93, 225, 255, 0.6), rgba(108, 242, 197, 0.35), transparent 80%);
  opacity: 0.7;
  pointer-events: none;
}

body[data-page="admin"] .admin-page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--admin-muted);
  margin-bottom: 4px;
}

body[data-page="admin"] .admin-page-header h2 {
  font-size: 24px;
  letter-spacing: 0.2px;
}

body[data-page="admin"] .admin-page-header p.muted {
  font-size: 12px;
  color: var(--admin-muted);
}

body[data-page="admin"] .admin-actions {
  gap: 10px;
  align-items: center;
}

body[data-page="admin"] .admin-actions.between {
  align-items: center;
}

body[data-page="admin"] .admin-actions .button-ghost,
body[data-page="admin"] .admin-actions .button-primary {
  border-radius: 12px;
}

body[data-page="admin"] .admin-search {
  min-width: 0;
}

body[data-page="admin"] .admin-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

body[data-page="admin"] .admin-kpis .panel {
  position: relative;
  overflow: hidden;
}

body[data-page="admin"] .admin-kpis .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(93, 225, 255, 0.14), transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

body[data-page="admin"] .client-kpi-value {
  font-size: 24px;
  letter-spacing: 0.3px;
}

body[data-page="admin"] .admin-card-head {
  align-items: center;
}

body[data-page="admin"] .admin-card-actions {
  gap: 8px;
}

body[data-page="admin"] .package-table {
  border-radius: 16px;
  border: 1px solid rgba(93, 225, 255, 0.16);
  background: rgba(10, 14, 22, 0.75);
}

body[data-page="admin"] .package-table thead th {
  background: rgba(12, 18, 28, 0.92);
  border-bottom: 1px solid rgba(93, 225, 255, 0.2);
}

body[data-page="admin"] .package-table tbody tr:hover {
  background: rgba(93, 225, 255, 0.08);
}

body[data-page="admin"] .admin-reorder-item {
  border-radius: 16px;
  border-color: rgba(93, 225, 255, 0.2);
  background: rgba(8, 12, 20, 0.75);
}

body[data-page="admin"] .admin-reorder-item:hover {
  border-color: rgba(93, 225, 255, 0.4);
  box-shadow: 0 0 20px rgba(93, 225, 255, 0.2);
}

body[data-page="admin"] .admin-shell .panel .panel {
  border-radius: 14px;
  border: 1px solid rgba(93, 225, 255, 0.14);
  background: rgba(9, 12, 20, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

body[data-page="admin"] .admin-kpi,
body[data-page="admin"] .client-kpi {
  border-radius: 16px;
  border: 1px solid rgba(93, 225, 255, 0.22);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.95), rgba(8, 12, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="admin"] .admin-kpi strong,
body[data-page="admin"] .client-kpi-value {
  color: #f1f6ff;
}

body[data-page="admin"] .admin-actions {
  flex-wrap: wrap;
}

body[data-page="admin"] .admin-search-input {
  border-radius: 12px;
}

body[data-page="admin"] .client-grid {
  gap: 10px;
}

body[data-page="admin"] .client-split {
  gap: 12px;
  align-items: start;
}

body[data-page="admin"] .admin-dashboard-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 1100px) {
  body[data-page="admin"] .admin-dashboard-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

body[data-page="admin"] .admin-dashboard-main,
body[data-page="admin"] .admin-dashboard-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.kb-hero .hero-slide-inner {
  padding: 0;
  align-items: center;
}

.kb-hero {
  --hero-accent: rgba(91, 200, 255, 0.35);
  --hero-accent-strong: rgba(91, 200, 255, 0.6);
  --hero-secondary: rgba(167, 123, 255, 0.3);
  --hero-core-a: rgba(106, 245, 196, 0.8);
  --hero-core-b: rgba(91, 200, 255, 0.2);
  --hero-pill-border: rgba(110, 178, 255, 0.25);
  --hero-pill-bg: rgba(18, 36, 62, 0.55);
  --hero-card-border: rgba(110, 178, 255, 0.32);
}

.hero-game {
  --hero-accent: color-mix(in srgb, var(--accent, #5bc8ff) 60%, transparent);
  --hero-accent-strong: color-mix(in srgb, var(--accent, #5bc8ff) 70%, transparent);
  --hero-secondary: color-mix(in srgb, var(--accent, #5bc8ff) 35%, rgba(167, 123, 255, 0.3));
  --hero-core-a: color-mix(in srgb, var(--accent, #5bc8ff) 75%, rgba(106, 245, 196, 0.25));
  --hero-core-b: color-mix(in srgb, var(--accent, #5bc8ff) 45%, rgba(91, 200, 255, 0.2));
  --hero-pill-border: color-mix(in srgb, var(--accent, #5bc8ff) 45%, transparent);
  --hero-card-border: color-mix(in srgb, var(--accent, #5bc8ff) 45%, transparent);
}

.kb-hero-aurora {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 50deg, var(--hero-accent), var(--hero-secondary), rgba(106, 245, 196, 0.18), var(--hero-accent));
  filter: blur(70px);
  opacity: 0.33;
  mix-blend-mode: screen;
  animation: spin 58s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.kb-hero-scan {
  position: absolute;
  inset: -35% 0;
  background: linear-gradient(180deg, transparent 0 40%, rgba(91, 200, 255, 0.18) 50%, transparent 60% 100%);
  opacity: 0.28;
  mix-blend-mode: screen;
  animation: hero-scan 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.kb-hero,
.kb-hero .hero-slider,
.kb-hero .hero-slide {
  min-height: 100svh;
}

.kb-hero .hero-slide {
  padding: clamp(96px, 10vh, 160px) 7vw clamp(72px, 10vh, 140px);
  display: grid;
  align-content: center;
}

.hero-home.kb-hero,
.hero-home.kb-hero .hero-slider,
.hero-home.kb-hero .hero-slide {
  min-height: 100vh;
}

.hero-home.kb-hero .hero-slide {
  padding: clamp(120px, 12vh, 180px) 7vw clamp(110px, 10vh, 160px);
}

.hero-home.kb-hero .hero-slide-inner {
  padding: 0;
}

.hero-home.kb-hero .kb-hero-holo {
  min-height: 320px;
}

.hero-home.kb-hero .hero-slide-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 520px);
  gap: clamp(26px, 4vw, 48px);
}

.hero-home.kb-hero .kb-hero-content {
  position: relative;
  z-index: 2;
}

.hero-home.kb-hero .kb-hero-content::before {
  content: "";
  position: absolute;
  inset: -18% -12% -18% -16%;
  background: radial-gradient(circle at 15% 20%, rgba(8, 12, 20, 0.88), rgba(8, 12, 20, 0.4) 55%, transparent 75%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero-home.kb-hero .hero-home-holo {
  display: grid;
  justify-items: end;
  align-content: center;
  place-items: center;
}

.hero-home.kb-hero .kb-holo-art {
  width: 220px;
  height: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-home.kb-hero .kb-holo-stack {
  right: 4%;
  bottom: 6%;
}

.hero-home.kb-hero .kb-holo-art {
  width: 200px;
  height: 200px;
}

.hero-home.kb-hero .kb-holo-stack {
  right: 4%;
  bottom: 10%;
}

.hero-home.kb-hero .kb-holo-card {
  max-width: 220px;
}

.hero-home.kb-hero .kb-hero-meta {
  margin-top: 10px;
}

@media (min-width: 1100px) {
  body[data-page="home"] {
    scroll-snap-type: y mandatory;
  }

  body[data-page="home"] main > section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 1099px) {
  body[data-page="home"] {
    scroll-snap-type: none;
  }

  body[data-page="home"] main > section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

.kb-hero-clean .hero-slide {
  background: transparent;
}

.kb-hero-clean .hero-slide::after {
  display: none;
}

.kb-hero-clean .hero-gridline {
  display: none;
}

.kb-hero-clean .hero-slide::before {
  content: "";
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(106, 245, 196, 0.14), transparent 60%),
    repeating-linear-gradient(120deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 190px),
    repeating-linear-gradient(-35deg, rgba(167, 123, 255, 0.06) 0 1px, transparent 1px 220px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: hero-grid-drift 58s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-tracker {
  --hero-accent: rgba(92, 255, 214, 0.35);
  --hero-accent-strong: rgba(92, 255, 214, 0.6);
  --hero-secondary: rgba(91, 200, 255, 0.25);
  --hero-core-a: rgba(92, 255, 214, 0.7);
  --hero-core-b: rgba(91, 200, 255, 0.25);
  --hero-pill-border: rgba(92, 255, 214, 0.32);
  --hero-card-border: rgba(92, 255, 214, 0.28);
}

.hero-tracker .kb-holo-core {
  border-radius: 50%;
  transform: rotate(0deg);
}

.hero-tracker .kb-hero-holo {
  min-height: 320px;
}

.hero-tracker .tracker-radar {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(92, 255, 214, 0.35);
  box-shadow: inset 0 0 24px rgba(92, 255, 214, 0.2);
  overflow: hidden;
}

.hero-tracker .tracker-radar-sweep {
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 90deg, transparent 0 55%, rgba(92, 255, 214, 0.28) 70%, transparent 100%);
  animation: radar-sweep 6s linear infinite;
  opacity: 0.85;
}

.vps-hero-clean {
  --hero-pill-bg: rgba(18, 36, 64, 0.6);
}

.vps-hero-clean .kb-holo-core {
  border-radius: 50%;
  transform: rotate(0deg);
}

.vps-hero-clean .kb-holo-stack {
  right: 4%;
  bottom: 8%;
}

.kb-hero .content h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
}

@supports (-webkit-background-clip: text) {
  .kb-hero .content h1 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), var(--hero-accent-strong), rgba(106, 245, 196, 0.88));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.kb-hero .hero-copy p {
  font-size: 15px;
  color: rgba(232, 240, 255, 0.9);
  max-width: 640px;
}

.kb-hero-content {
  display: grid;
  gap: 14px;
  position: relative;
  padding: 6px 0;
}

.kb-hero-content::after {
  content: "";
  position: absolute;
  inset: -18% -12% -16% -14%;
  border-radius: 26px;
  border: 1px solid rgba(91, 200, 255, 0.16);
  background: radial-gradient(circle at 20% 20%, rgba(10, 16, 28, 0.8), rgba(8, 12, 20, 0.4) 55%, transparent 75%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

body.page-ready:not(.low-power) .kb-hero .kb-hero-content > * {
  animation: hero-rise 0.55s ease both;
}
body.page-ready:not(.low-power) .kb-hero .kb-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
body.page-ready:not(.low-power) .kb-hero .kb-hero-content > *:nth-child(2) { animation-delay: 0.12s; }
body.page-ready:not(.low-power) .kb-hero .kb-hero-content > *:nth-child(3) { animation-delay: 0.18s; }
body.page-ready:not(.low-power) .kb-hero .kb-hero-content > *:nth-child(4) { animation-delay: 0.26s; }
body.page-ready:not(.low-power) .kb-hero .kb-hero-content > *:nth-child(5) { animation-delay: 0.34s; }
body.page-ready:not(.low-power) .kb-hero .kb-hero-holo {
  animation: hero-rise 0.6s ease both;
  animation-delay: 0.22s;
}

.kb-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.kb-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.kb-hero-stat {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--hero-pill-border);
  background: rgba(8, 12, 20, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(6, 10, 18, 0.35);
  display: grid;
  gap: 4px;
}

.kb-hero-stat span {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(159, 179, 209, 0.85);
}

.kb-hero-stat strong {
  font-size: 15px;
  letter-spacing: 0.2px;
  color: rgba(245, 249, 255, 0.98);
}

.kb-hero-stat small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.78);
}

.kb-hero-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--hero-pill-border);
  background: var(--hero-pill-bg);
  font-size: 12px;
  color: rgba(232, 240, 255, 0.9);
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px rgba(6, 10, 18, 0.35);
}

.kb-hero-holo {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  perspective: 900px;
  pointer-events: none;
}

.kb-hero-holo.kb-hero-holo-interactive {
  pointer-events: auto;
}

.kb-hero-holo.kb-hero-holo-interactive .kb-holo-ring,
.kb-hero-holo.kb-hero-holo-interactive .kb-holo-core,
.kb-hero-holo.kb-hero-holo-interactive .kb-holo-art {
  pointer-events: none;
}

.kb-holo-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid var(--hero-accent);
  box-shadow: inset 0 0 18px rgba(91, 200, 255, 0.2), 0 0 30px var(--hero-accent-strong);
  animation: spin 34s linear infinite;
}

.kb-holo-ring.ring-2 {
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: var(--hero-secondary);
  animation-duration: 46s;
}

.kb-holo-core {
  width: 180px;
  height: 180px;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 30%, var(--hero-core-a), var(--hero-core-b) 60%, rgba(6, 10, 18, 0.85) 100%);
  transform: rotate(45deg);
  box-shadow: 0 20px 60px var(--hero-accent-strong), inset 0 0 30px rgba(6, 10, 18, 0.6);
  animation: kb-holo-core-pulse 8s ease-in-out infinite;
}

.kb-holo-art {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--hero-card-border);
  box-shadow: 0 24px 48px rgba(6, 10, 18, 0.5);
  transform: translateZ(18px) rotate(-6deg);
  filter: saturate(1.15) drop-shadow(0 12px 24px rgba(91, 200, 255, 0.35));
  opacity: 0.95;
  animation: kb-holo-art-float 9s ease-in-out infinite;
}

.hero-game .kb-holo-art {
  width: 180px;
  height: 180px;
}

.mu-online-hero {
  --hero-pill-border: color-mix(in srgb, var(--accent, #ffb870) 55%, rgba(91, 200, 255, 0.2));
  --hero-card-border: color-mix(in srgb, var(--accent, #ffb870) 60%, rgba(6, 10, 18, 0.4));
}

.mu-online-hero .mu-hero-lead {
  font-size: 16px;
  color: rgba(226, 236, 255, 0.9);
  max-width: 660px;
}

.mu-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mu-hero-stat {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--hero-pill-border);
  background: rgba(8, 12, 20, 0.68);
  display: grid;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 32px rgba(6, 10, 18, 0.4);
}

.mu-hero-stat span {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: rgba(159, 179, 209, 0.8);
}

.mu-hero-stat strong {
  font-size: 15px;
  color: rgba(245, 249, 255, 0.98);
}

.mu-hero-stat small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
}

.mu-online-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mu-online-brief {
  position: relative;
  overflow: hidden;
}

.mu-online-brief::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 205, 120, 0.16), transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(91, 200, 255, 0.14), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.mu-online-brief .section-title,
.mu-online-brief .mu-online-grid {
  position: relative;
  z-index: 1;
}

.mu-hero-holo {
  min-height: 280px;
  overflow: visible;
}

.mu-hero-visual {
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 205, 120, 0.15), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(91, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 50% 75%, rgba(106, 245, 196, 0.12), transparent 60%),
    var(--mu-render-1),
    var(--mu-render-2),
    var(--mu-render-1),
    var(--mu-render-2);
  background-size: 40%, 45%, 55%, 68%, 52%, 48%, 36%;
  background-repeat: no-repeat;
  background-position: 10% 15%, 80% 20%, 45% 80%, 15% 80%, 85% 75%, 30% 35%, 70% 60%;
  opacity: 0.68;
  filter: saturate(1.3) blur(0.2px);
  mix-blend-mode: screen;
  animation: mu-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.mu-hero-portal {
  display: none;
}

.mu-hero-visual,
.mu-hero-sigil,
.mu-hero-shards {
  display: none;
}

.hero-slide-inner::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  border-radius: 28px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 200, 255, 0.12), transparent 60%),
    radial-gradient(circle at 82% 25%, rgba(106, 245, 196, 0.1), transparent 62%),
    linear-gradient(140deg, rgba(10, 18, 30, 0.72), rgba(6, 10, 18, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 30px 80px rgba(6, 10, 18, 0.4);
  pointer-events: none;
  z-index: 0;
}

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

.mu-hero-portal::before,
.mu-hero-portal::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 205, 120, 0.32);
  box-shadow: 0 0 40px rgba(255, 205, 120, 0.2);
  animation: mu-sigil-spin 24s linear infinite;
}

.mu-hero-portal::after {
  inset: 12%;
  border-style: solid;
  border-color: rgba(91, 200, 255, 0.28);
  animation-direction: reverse;
}

.mu-hero-sigil {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(255, 205, 120, 0.14), transparent 35%, rgba(91, 200, 255, 0.18), transparent 70%, rgba(106, 245, 196, 0.14));
  filter: blur(0.5px);
  opacity: 0.7;
  animation: mu-sigil-spin 32s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.mu-hero-shards {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 205, 120, 0.18), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(91, 200, 255, 0.16), transparent 60%),
    radial-gradient(circle at 55% 45%, rgba(106, 245, 196, 0.1), transparent 58%);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: mu-shard-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes mu-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6px, -8px, 0) scale(1.03); }
}

@keyframes mu-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

@keyframes mu-sigil-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes mu-shard-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-8px, 10px, 0) scale(1.04); }
}

.mu-online-card {
  border-radius: 16px;
  border: 1px solid rgba(110, 178, 255, 0.24);
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.92), rgba(8, 12, 20, 0.96));
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 32px rgba(6, 10, 18, 0.4);
  position: relative;
  overflow: hidden;
}

.mu-online-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 205, 120, 0.1), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.mu-online-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.mu-online-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(225, 235, 255, 0.85);
}

.mu-online-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #5bc8ff);
  box-shadow: 0 0 10px rgba(91, 200, 255, 0.5);
}

.mu-online-timeline {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mu-online-timeline div {
  border-radius: 12px;
  border: 1px solid rgba(110, 178, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.mu-online-timeline span {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: rgba(159, 179, 209, 0.8);
}

.mu-online-timeline strong {
  font-size: 13px;
  color: rgba(244, 248, 255, 0.98);
}

.mu-online-timeline p {
  margin: 0;
  color: rgba(188, 204, 230, 0.85);
  font-size: 13px;
}

.mu-builder-shell {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(110, 178, 255, 0.28);
  background: linear-gradient(160deg, rgba(10, 16, 28, 0.94), rgba(6, 10, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 40px rgba(6, 10, 18, 0.4);
}

.mu-builder {
  position: relative;
  overflow: hidden;
}

.mu-builder::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background:
    radial-gradient(circle at 30% 25%, rgba(106, 245, 196, 0.12), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(91, 200, 255, 0.12), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.mu-builder .section-title,
.mu-builder .mu-builder-shell {
  position: relative;
  z-index: 1;
}

.mu-plan-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.mu-plan-card {
  position: relative;
  display: block;
}

.mu-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mu-plan-body {
  display: grid;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid rgba(110, 178, 255, 0.22);
  background: rgba(8, 12, 20, 0.7);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mu-plan-body:hover {
  border-color: rgba(106, 245, 196, 0.35);
  box-shadow: 0 12px 26px rgba(6, 10, 18, 0.35);
}

.mu-plan-card.is-featured .mu-plan-body {
  border-color: rgba(255, 198, 120, 0.45);
}

.mu-plan-card input:checked + .mu-plan-body {
  border-color: var(--accent, #5bc8ff);
  box-shadow: 0 18px 32px rgba(6, 10, 18, 0.45), 0 0 18px rgba(91, 200, 255, 0.22);
  transform: translateY(-2px);
}

.mu-plan-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mu-plan-price {
  font-weight: 600;
  color: rgba(244, 248, 255, 0.96);
}

.mu-plan-specs {
  font-size: 12px;
  color: rgba(170, 186, 212, 0.85);
}

.mu-builder-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.mu-tier-list {
  display: grid;
  gap: 10px;
}

.mu-tier-card {
  position: relative;
  display: block;
}

.mu-tier-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mu-tier-body {
  display: grid;
  gap: 6px;
  border-radius: 14px;
  border: 1px solid rgba(110, 178, 255, 0.2);
  background: rgba(8, 12, 20, 0.72);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mu-tier-body:hover {
  border-color: rgba(106, 245, 196, 0.35);
}

.mu-tier-card input:checked + .mu-tier-body {
  border-color: var(--accent, #5bc8ff);
  box-shadow: 0 16px 30px rgba(6, 10, 18, 0.4);
}

.mu-tier-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mu-tier-title em {
  font-size: 12px;
  color: rgba(168, 185, 212, 0.85);
}

.mu-tier-desc {
  font-size: 12px;
  color: rgba(184, 199, 226, 0.85);
}

.mu-tier-price {
  font-size: 12px;
  color: rgba(232, 240, 255, 0.9);
}

.mu-addon-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 14px;
}

.mu-addon-card {
  position: relative;
  display: block;
}

.mu-addon-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mu-addon-body {
  display: grid;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid rgba(110, 178, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  padding: 10px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mu-addon-body:hover {
  border-color: rgba(106, 245, 196, 0.35);
}

.mu-addon-card input:checked + .mu-addon-body {
  border-color: var(--accent, #5bc8ff);
  box-shadow: 0 12px 24px rgba(6, 10, 18, 0.4);
}

.mu-addon-body span {
  font-size: 12px;
  color: rgba(176, 194, 222, 0.85);
}

.mu-addon-body em {
  font-size: 12px;
  color: rgba(232, 240, 255, 0.9);
}

.mu-addon-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(170, 188, 214, 0.8);
}

.mu-season-note {
  font-size: 12px;
  color: rgba(168, 185, 212, 0.85);
  margin-top: -4px;
}

.mu-addon-total {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 178, 255, 0.25);
  background: rgba(8, 12, 20, 0.8);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mu-addon-total strong {
  display: block;
  font-size: 14px;
  color: rgba(244, 248, 255, 0.95);
  margin-top: 4px;
}

.mu-builder-cta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .mu-online-grid,
  .mu-builder-grid {
    grid-template-columns: 1fr;
  }
}

.kb-holo-stack {
  position: absolute;
  right: 6%;
  bottom: 8%;
  display: grid;
  gap: 10px;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-10deg);
}

.kb-holo-card {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--hero-card-border);
  background: linear-gradient(150deg, rgba(12, 18, 30, 0.9), rgba(6, 10, 18, 0.85));
  box-shadow: 0 18px 32px rgba(6, 10, 18, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
  font-size: 12px;
  max-width: 240px;
}

.kb-holo-card:nth-child(1) {
  transform: translateZ(22px);
}

.kb-holo-card:nth-child(2) {
  transform: translateZ(12px);
  opacity: 0.95;
}

.kb-holo-card:nth-child(3) {
  transform: translateZ(4px);
  opacity: 0.88;
}

.kb-holo-card span {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(159, 179, 209, 0.9);
  font-size: 10px;
}

.kb-holo-card strong {
  font-size: 13px;
  color: rgba(245, 249, 255, 0.98);
}

.kb-holo-card small {
  color: rgba(159, 179, 209, 0.9);
}

.kb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.kb-search-panel {
  border: 1px solid rgba(110, 178, 255, 0.25);
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.92), rgba(8, 12, 20, 0.92));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kb-search-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.kb-hero .hero-copy {
  gap: 10px;
  margin-top: 8px;
}

.kb-hero .hero-stats {
  margin-top: 6px;
  gap: 6px;
}

.kb-hero .hero-stat-card {
  padding: 6px 10px;
  font-size: 11px;
}

.kb-search-field {
  flex: 1 1 340px;
  display: grid;
  gap: 6px;
}

.kb-search-input {
  background: rgba(6, 10, 18, 0.65);
  border: 1px solid rgba(110, 178, 255, 0.32);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
}

.kb-search-input::placeholder {
  color: rgba(159, 179, 209, 0.65);
}

.kb-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.kb-filter-bar {
  display: flex;
  gap: 10px;
  row-gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(110, 178, 255, 0.18);
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(167, 123, 255, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(10, 14, 24, 0.85), rgba(6, 10, 18, 0.9));
  box-shadow: 0 18px 36px rgba(6, 10, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin: 10px auto 14px;
  max-width: 980px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.kb-filter-bar::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 140deg, transparent, rgba(91, 200, 255, 0.15), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.kb-filter-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(6, 10, 18, 0.6);
  pointer-events: none;
}

.kb-filter-bar > * {
  position: relative;
  z-index: 1;
}

.kb-chip-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 2px;
}

.kb-chip {
  border-radius: 999px;
  padding: 7px 14px;
  border: 1px solid rgba(110, 178, 255, 0.25);
  background: linear-gradient(140deg, rgba(12, 18, 30, 0.85), rgba(6, 10, 18, 0.75));
  color: rgba(232, 240, 255, 0.9);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px rgba(6, 10, 18, 0.45);
  backdrop-filter: blur(6px);
}

.kb-chip.is-active {
  border-color: rgba(91, 200, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(91, 200, 255, 0.25), 0 10px 24px rgba(91, 200, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, rgba(20, 32, 52, 0.9), rgba(10, 18, 30, 0.78));
}

.kb-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 200, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(91, 200, 255, 0.2), 0 0 18px rgba(91, 200, 255, 0.22);
}

.kb-search-result {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(159, 179, 209, 0.9);
}

.kb-visual {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.kb-visual-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.2), transparent 35%),
    repeating-linear-gradient(90deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(91, 200, 255, 0.08) 0 1px, transparent 1px 24px);
  opacity: 0.3;
  pointer-events: none;
}

.kb-visual-core {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(106, 245, 196, 0.8), rgba(91, 200, 255, 0.2) 60%, rgba(6, 10, 18, 0.8) 100%);
  box-shadow: 0 0 45px rgba(91, 200, 255, 0.45), inset 0 0 40px rgba(6, 10, 18, 0.6);
  filter: drop-shadow(0 20px 60px rgba(91, 200, 255, 0.2));
}

.kb-visual-orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(91, 200, 255, 0.35);
  animation: spin 32s linear infinite;
  box-shadow: inset 0 0 18px rgba(91, 200, 255, 0.2);
}

.kb-visual-orbit.orbit-2 {
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: rgba(167, 123, 255, 0.32);
  animation-duration: 46s;
}

.kb-visual-card {
  position: absolute;
  bottom: 18%;
  right: 8%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 16, 28, 0.86);
  border: 1px solid rgba(110, 178, 255, 0.35);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
  font-size: 12px;
  max-width: 240px;
}

.kb-visual-card strong {
  font-size: 13px;
  color: rgba(245, 249, 255, 0.98);
  line-height: 1.2;
}

.kb-visual-card small {
  color: rgba(159, 179, 209, 0.9);
}

.kb-visual-pulse {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(106, 245, 196, 0.4);
  animation: pulse 3.2s ease-in-out infinite;
  opacity: 0.8;
}

.kb-index .section-title p,
.kb-articles .section-title p {
  max-width: 680px;
}

.kb-index.section,
.kb-articles.section,
.kb-article-section.section {
  padding: 48px 8%;
}

.kb-index .section-title,
.kb-articles .section-title {
  margin-bottom: 14px;
}

.kb-index {
  padding-top: 38px;
}

.kb-articles {
  padding-top: 32px;
}

.kb-topic-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.kb-guide-callout {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.kb-guide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kb-topic-card {
  position: relative;
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 150px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  grid-template-rows: auto 1fr auto;
  cursor: pointer;
}

.kb-topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(91, 200, 255, 0.08), rgba(167, 123, 255, 0.04));
  opacity: 0.6;
  pointer-events: none;
}

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

.kb-topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 200, 255, 0.45);
}

.kb-topic-card.is-active {
  border-color: rgba(91, 200, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(91, 200, 255, 0.2), var(--shadow-soft);
}

.kb-topic-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.6), rgba(106, 245, 196, 0.2));
  box-shadow: inset 0 0 12px rgba(6, 10, 18, 0.6);
  display: grid;
  place-items: center;
  color: rgba(235, 245, 255, 0.95);
}

.kb-topic-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kb-topic-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(159, 179, 209, 0.9);
  margin-top: auto;
}

.kb-topic-count {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.85);
}

.kb-tone-blue .kb-topic-icon {
  background: linear-gradient(140deg, rgba(91, 200, 255, 0.7), rgba(91, 200, 255, 0.2));
}

.kb-tone-green .kb-topic-icon {
  background: linear-gradient(140deg, rgba(106, 245, 196, 0.7), rgba(91, 200, 255, 0.2));
}

.kb-tone-purple .kb-topic-icon {
  background: linear-gradient(140deg, rgba(167, 123, 255, 0.7), rgba(91, 200, 255, 0.2));
}

.kb-tone-ice .kb-topic-icon {
  background: linear-gradient(140deg, rgba(123, 158, 255, 0.7), rgba(91, 200, 255, 0.2));
}

.kb-tone-amber .kb-topic-icon {
  background: linear-gradient(140deg, rgba(255, 203, 128, 0.7), rgba(106, 245, 196, 0.2));
}

.kb-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.kb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.kb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(91, 200, 255, 0.08), rgba(167, 123, 255, 0.04));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

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

.kb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 200, 255, 0.5);
}

.kb-card:hover::before {
  opacity: 1;
}

.kb-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.kb-card p {
  margin: 0;
  color: rgba(159, 179, 209, 0.9);
  font-size: 13px;
}

.kb-card-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.85);
  align-items: center;
}

.kb-card-tag {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(110, 178, 255, 0.3);
  background: rgba(8, 12, 20, 0.7);
  color: rgba(232, 240, 255, 0.9);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.kb-card-tag span {
  text-transform: none;
  letter-spacing: 0;
}
.kb-card-tag svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kb-card-tags,
.kb-article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kb-article-tags {
  margin-top: 12px;
}

.kb-card-tags {
  margin-top: 6px;
}

.kb-card-tag-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(110, 178, 255, 0.2);
  background: rgba(8, 12, 20, 0.65);
  color: rgba(159, 179, 209, 0.95);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.kb-card-footer {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent-blue);
  font-size: 13px;
}

.kb-card-arrow {
  opacity: 0.8;
}

.kb-article-section {
  padding-top: 70px;
}

.kb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(159, 179, 209, 0.85);
  margin-bottom: 18px;
}

.kb-breadcrumbs a {
  color: rgba(91, 200, 255, 0.9);
  text-decoration: none;
}

.kb-article-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  align-items: start;
}

.kb-article {
  display: grid;
  gap: 16px;
}

.kb-article-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(159, 179, 209, 0.75);
}

.kb-article-summary {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(10, 14, 24, 0.75);
  display: grid;
  gap: 10px;
}

.kb-article-summary ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.kb-article-content {
  display: grid;
  gap: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 240, 255, 0.92);
}

.kb-article-content p {
  margin: 0;
}

.kb-article-content ul,
.kb-article-content ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.kb-article-content li {
  color: rgba(232, 240, 255, 0.9);
}

.kb-aside {
  display: grid;
  gap: 14px;
}

.kb-related-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.kb-related-link {
  text-decoration: none;
  color: rgba(232, 240, 255, 0.9);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(110, 178, 255, 0.2);
  background: rgba(8, 12, 20, 0.7);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.kb-related-link:hover {
  border-color: rgba(91, 200, 255, 0.5);
  transform: translateX(2px);
}

@media (max-width: 980px) {
  .kb-hero .hero-slide-inner {
    grid-template-columns: 1fr;
  }

  .kb-hero,
  .kb-hero .hero-slider,
  .kb-hero .hero-slide {
    min-height: 100svh;
  }

  .kb-hero .hero-slide {
    padding: clamp(90px, 12vh, 140px) 6vw clamp(60px, 10vh, 120px);
  }

  .hero-home.kb-hero,
  .hero-home.kb-hero .hero-slider,
  .hero-home.kb-hero .hero-slide {
    min-height: 100vh;
  }

  .hero-home.kb-hero .hero-slide {
    padding: clamp(110px, 14vh, 160px) 7vw clamp(90px, 12vh, 140px);
  }

  .kb-hero-holo {
    min-height: 240px;
  }

  .kb-holo-stack {
    position: static;
    transform: none;
    margin-top: 14px;
  }

  .kb-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .kb-hero .hero-slide-inner {
    padding: 0;
  }

  .hero-home.kb-hero .hero-slide-inner {
    padding: 0;
  }

  .hero-home.kb-hero .hero-slide {
    padding: clamp(96px, 14vh, 140px) 6vw clamp(80px, 12vh, 130px);
  }

  .kb-hero .hero-slide {
    padding: 70px 6% calc(24px + var(--hud-height));
    min-height: 100svh;
  }

  .kb-card-grid {
    grid-template-columns: 1fr;
  }

  .kb-topic-grid {
    grid-template-columns: 1fr;
  }

  .kb-visual-card {
    position: static;
    margin-top: 18px;
  }

  .kb-hero-holo {
    min-height: 220px;
  }

  .kb-holo-ring {
    width: 240px;
    height: 240px;
  }

  .kb-holo-ring.ring-2 {
    width: 320px;
    height: 320px;
  }

  .kb-holo-core {
    width: 140px;
    height: 140px;
  }

  .kb-holo-art {
    width: 140px;
    height: 140px;
  }

  .kb-holo-stack {
    max-width: 320px;
    width: 100%;
  }
}

/* Unified hero backdrop */
.hero,
.hero .hero-slide,
.hero.hero-hub,
.hero-home.hero-future,
.hero-home.hero-prime,
.hero-neo,
.hero-neo .hero-slide-neo,
.hero-slide-future,
.hero-home.hero-future .hero-slide,
.hero-home.hero-prime .hero-slide,
.kb-hero .hero-slide,
.vps-hero,
.checkout-hero,
.auth-hero,
.game-hero {
  background: transparent !important;
}

.hero::after {
  opacity: 0.22;
  background:
    radial-gradient(circle at 60% 20%, rgba(91, 200, 255, 0.12), transparent 42%),
    radial-gradient(circle at 20% 60%, rgba(106, 245, 196, 0.1), transparent 45%);
}

.marketplace-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.marketplace-highlight {
  border-radius: 18px;
  border: 1px solid rgba(255, 197, 82, 0.28);
  background: linear-gradient(150deg, rgba(14, 18, 28, 0.95), rgba(6, 10, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.marketplace-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 197, 82, 0.35);
  background: linear-gradient(120deg, rgba(255, 197, 82, 0.12), rgba(91, 200, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.35);
  flex-wrap: wrap;
}

.marketplace-cta-copy {
  max-width: 580px;
  display: grid;
  gap: 8px;
}

.marketplace-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-cta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.creator-card {
  text-decoration: none;
  color: var(--text);
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(170deg, rgba(12, 16, 26, 0.95), rgba(6, 10, 18, 0.95));
  overflow: hidden;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 200, 255, 0.6);
}

.creator-card-banner {
  height: 110px;
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.3), rgba(6, 10, 18, 0.9));
  background-size: cover;
  background-position: center;
}

.creator-card-body {
  padding: 0 16px 16px;
  display: grid;
  gap: 12px;
}

.creator-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.creator-avatar,
.creator-pill-avatar,
.creator-profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 30%, rgba(106, 245, 196, 0.35), rgba(8, 12, 20, 0.9));
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.creator-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.creator-card .button-ghost {
  width: max-content;
}

.creator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(8, 12, 20, 0.7);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.creator-pill-avatar {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

.marketplace-filter-panel {
  padding: 18px;
  border-radius: 18px;
}

.marketplace-filter-form {
  display: grid;
  gap: 12px;
}

.marketplace-filter-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.marketplace-filter-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: rgba(159, 179, 209, 0.9);
}

.marketplace-filter-field input,
.marketplace-filter-field select {
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px;
  background: rgba(7, 10, 18, 0.8);
  border-color: rgba(91, 200, 255, 0.2);
}

.marketplace-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.marketplace-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.marketplace-category-chips .badge {
  border-color: rgba(91, 200, 255, 0.3);
  background: rgba(7, 10, 18, 0.7);
  color: rgba(206, 222, 245, 0.9);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.marketplace-category-chips .badge.active {
  border-color: rgba(106, 245, 196, 0.6);
  background: rgba(11, 20, 22, 0.85);
  color: rgba(226, 250, 241, 0.98);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.25);
}

.marketplace-category-chips .badge:hover {
  border-color: rgba(91, 200, 255, 0.5);
}

.marketplace-pagination {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.marketplace-pagination-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.marketplace-product-shell {
  position: relative;
}

.marketplace-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 20px;
}

@media (max-width: 980px) {
  .marketplace-product-grid {
    grid-template-columns: 1fr;
  }
}

.marketplace-product-main {
  display: grid;
  gap: 16px;
}

.marketplace-product-sidebar {
  display: grid;
  gap: 16px;
  align-self: start;
}

@media (min-width: 980px) {
  .marketplace-product-sidebar {
    position: sticky;
    top: 120px;
  }
}

.marketplace-gallery {
  padding: 14px;
  border-radius: 18px;
}

.marketplace-gallery-main {
  position: relative;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.marketplace-gallery-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.marketplace-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.marketplace-gallery-thumbs::-webkit-scrollbar { display: none; }

.marketplace-gallery-thumb {
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.75);
  border-radius: 12px;
  padding: 4px;
  cursor: pointer;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.marketplace-gallery-thumb span {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.marketplace-gallery-thumb.active {
  border-color: rgba(106, 245, 196, 0.65);
}

.marketplace-product-about {
  padding: 18px;
}

.marketplace-product-about-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.marketplace-product-body {
  margin-top: 12px;
  color: rgba(230, 238, 255, 0.9);
}

.marketplace-highlight-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-highlight-list span {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(91, 200, 255, 0.08);
  border: 1px solid rgba(91, 200, 255, 0.18);
  font-size: 12px;
}

.marketplace-product-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.marketplace-product-links .marketplace-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.marketplace-version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.marketplace-version-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: rgba(8, 12, 20, 0.75);
}

.marketplace-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.marketplace-review-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.75);
}

.marketplace-review-form,
.marketplace-report {
  margin-top: 16px;
}

.marketplace-purchase-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: linear-gradient(150deg, rgba(10, 16, 26, 0.95), rgba(6, 10, 18, 0.92));
}

.marketplace-purchase-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.marketplace-purchase-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.marketplace-purchase-rating {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.marketplace-creator-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 0;
  overflow: hidden;
}

.marketplace-creator-banner {
  height: 90px;
  background: radial-gradient(circle at 30% 30%, rgba(106, 245, 196, 0.35), rgba(8, 12, 20, 0.9));
  background-size: cover;
  background-position: center;
}

.marketplace-creator-body {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

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

.marketplace-console-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.marketplace-console-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.marketplace-stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
}

.marketplace-console-form,
.marketplace-console-payouts {
  display: grid;
  gap: 12px;
}

.marketplace-payout-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 12px;
}

.marketplace-payout-summary strong {
  display: block;
  margin-top: 4px;
}

.marketplace-payout-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
}

.marketplace-payout-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.marketplace-activity-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.marketplace-activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.marketplace-form {
  display: grid;
  gap: 16px;
}

.marketplace-form-panel {
  padding: 16px;
}

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

.marketplace-listing-card {
  display: grid;
  gap: 12px;
}

.marketplace-listing-thumb {
  border-radius: 16px;
  height: 140px;
  background-size: cover;
  background-position: center;
}

.marketplace-listing-body {
  display: grid;
  gap: 10px;
}

.marketplace-listing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.marketplace-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 18px;
  align-items: start;
}

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

.marketplace-cart-items {
  display: grid;
  gap: 14px;
}

.marketplace-cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.marketplace-cart-thumb {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.marketplace-cart-body {
  display: grid;
  gap: 8px;
}

.marketplace-cart-pricing {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.marketplace-cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.marketplace-cart-summary {
  height: fit-content;
  display: grid;
  gap: 12px;
}

.marketplace-summary-lines {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.marketplace-summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.marketplace-summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.market-v2 .checkout-item-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.market-v2 .checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.market-v2 .checkout-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
}

.market-v2 .checkout-item-price {
  text-align: right;
}

.market-v2 .checkout-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.market-v2 .checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.market-v2 .checkout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.marketplace-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.marketplace-library-card {
  display: grid;
  gap: 12px;
}

.marketplace-library-thumb {
  border-radius: 16px;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.marketplace-library-body {
  display: grid;
  gap: 10px;
}

.marketplace-library-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.creator-profile-card {
  width: min(320px, 90vw);
  height: 240px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(91, 200, 255, 0.35), rgba(8, 12, 20, 0.9));
  background-size: cover;
  background-position: center;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: end;
}

.creator-profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.creator-profile-links a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.marketplace-inline-form {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.market-v2 {
  --market-accent: #ffb454;
  --market-accent-2: #6af5c4;
  --market-accent-3: #5bc8ff;
  --market-border: rgba(255, 180, 84, 0.28);
  --market-panel-bg: linear-gradient(165deg, rgba(12, 16, 28, 0.96), rgba(6, 10, 18, 0.98));
  --market-panel-glow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.market-v2 .section-title h2 {
  letter-spacing: 0.4px;
}

.market-v2 .panel {
  border-color: var(--market-border);
  background: var(--market-panel-bg);
  box-shadow: var(--market-panel-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.market-v2 .badge {
  border-color: rgba(255, 180, 84, 0.35);
  background: rgba(8, 12, 20, 0.65);
}

.market-v2 .bestiary {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.market-v2 .bestiary-holo {
  --card-accent-rgb: 255, 180, 84;
  min-height: 280px;
  border-radius: 22px;
}

@media (max-width: 900px) {
  .market-v2 .bestiary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

.market-v2 .marketplace-card .bestiary-overlay {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.05), rgba(8, 12, 20, 0.92));
  padding: 18px 20px;
  gap: 8px;
}

.market-v2 .marketplace-card .bestiary-overlay strong {
  font-size: 18px;
  letter-spacing: 0.3px;
}

.market-v2 .marketplace-card .bestiary-overlay small {
  font-size: 13px;
}

.market-v2 .marketplace-hero-search {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 180, 84, 0.4);
  background: rgba(8, 12, 20, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 36px rgba(0, 0, 0, 0.35);
}

.market-v2 .marketplace-hero-search input {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 12px 14px;
  font-size: 14px;
}

.market-v2 .marketplace-hero-search input:focus {
  box-shadow: none;
}

.market-v2 .marketplace-hero-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.market-v2 .marketplace-highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.market-v2 .marketplace-highlight {
  border-color: rgba(255, 180, 84, 0.32);
  background: linear-gradient(160deg, rgba(15, 20, 32, 0.96), rgba(6, 10, 18, 0.96));
  padding: 24px 26px;
}

.market-v2 .marketplace-cta {
  border-color: rgba(255, 180, 84, 0.45);
  background: linear-gradient(120deg, rgba(255, 180, 84, 0.14), rgba(94, 240, 182, 0.08));
  padding: 26px;
}

.market-v2 .marketplace-filter-panel {
  border-color: rgba(255, 180, 84, 0.32);
  background: linear-gradient(160deg, rgba(10, 16, 26, 0.96), rgba(6, 10, 18, 0.98));
  padding: 26px;
}

.market-v2 .marketplace-category-chips {
  gap: 10px;
}

.market-v2 .marketplace-product-grid {
  gap: 30px;
}

.market-v2 .marketplace-gallery {
  border-color: rgba(91, 200, 255, 0.35);
  background: linear-gradient(160deg, rgba(10, 16, 26, 0.96), rgba(6, 10, 18, 0.98));
}

.market-v2 .marketplace-purchase-card {
  border-color: rgba(94, 240, 182, 0.4);
  background: linear-gradient(160deg, rgba(10, 18, 30, 0.96), rgba(6, 10, 18, 0.98));
}

.market-v2 .marketplace-creator-card {
  border-color: rgba(91, 200, 255, 0.35);
}

.market-v2 .marketplace-studio-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.market-v2 .marketplace-studio-card {
  display: grid;
  gap: 12px;
}

.market-v2 .marketplace-studio-status {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.market-v2 .marketplace-studio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.market-v2 .marketplace-profile-preview {
  min-height: 220px;
  display: grid;
  gap: 12px;
  align-content: end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.market-v2 .marketplace-profile-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.2), rgba(6, 10, 18, 0.85));
  pointer-events: none;
}

.market-v2 .marketplace-profile-preview > * {
  position: relative;
  z-index: 1;
}

.market-v2 .marketplace-profile-preview-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.market-v2 .marketplace-profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 30%, rgba(94, 240, 182, 0.35), rgba(8, 12, 20, 0.9));
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}

.market-v2 .marketplace-profile-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.market-v2 .marketplace-studio-stats {
  margin-top: 10px;
}

.market-v2 .marketplace-form-section {
  display: grid;
  gap: 10px;
}

.market-v2 .marketplace-form-title {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.market-v2 .marketplace-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.market-v2 .marketplace-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
}

.market-v2 .marketplace-form-span {
  grid-column: 1 / -1;
}

.market-v2 .marketplace-disclosure {
  border-radius: 16px;
  border: 1px dashed rgba(255, 180, 84, 0.4);
  padding: 12px 14px;
  background: rgba(8, 12, 20, 0.65);
}

.market-v2 .marketplace-disclosure summary {
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text);
}

.market-v2 .marketplace-disclosure summary::marker {
  color: rgba(255, 180, 84, 0.7);
}

.market-v2 .marketplace-disclosure-body {
  margin-top: 12px;
}

.market-v2 .marketplace-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.market-v2 .marketplace-listing-card {
  border-color: rgba(255, 180, 84, 0.25);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.96), rgba(6, 10, 18, 0.98));
}

.market-v2 .marketplace-listing-thumb {
  border-radius: 18px;
  height: 150px;
}

@media (max-width: 980px) {
  .market-v2 .marketplace-studio-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .market-v2 .marketplace-hero-search {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .marketplace-cart-item {
    grid-template-columns: 1fr;
  }
  .marketplace-cart-thumb {
    width: 100%;
    height: 160px;
  }
  .market-v2 .checkout-item {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .market-v2 .checkout-item-price {
    text-align: left;
  }
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hud-rail,
html[dir="rtl"] .hud-nav,
html[dir="rtl"] .hud-compact-actions {
  direction: rtl;
}

html[dir="rtl"] .hud-account-menu,
html[dir="rtl"] .hud-account-link-text,
html[dir="rtl"] .kb-hero-content,
html[dir="rtl"] .section-title {
  text-align: right;
}

.hero-earn {
  position: relative;
}

.earn-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.earn-hero-copy h1 {
  margin: 10px 0 12px;
}

.earn-hero-lead {
  color: var(--muted);
  max-width: 560px;
}

.earn-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}

.earn-hero-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.earn-hero-card {
  display: grid;
  gap: 14px;
  border-radius: 20px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.92), rgba(8, 10, 16, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 24px rgba(106, 245, 196, 0.16);
}

.earn-hero-card-head strong {
  display: block;
  font-size: 22px;
  margin-top: 8px;
}

.earn-hero-card-body {
  display: grid;
  gap: 12px;
}

.earn-hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.earn-kpi {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(8, 12, 20, 0.55);
  display: grid;
  gap: 4px;
}

.earn-kpi strong {
  font-size: 18px;
}

.earn-kpi span {
  color: var(--muted);
  font-size: 12px;
}

.earn-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(159, 179, 209, 0.9);
}

.earn-hero-strip span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.2);
  background: rgba(8, 12, 20, 0.45);
}

.earn-hero-link {
  display: grid;
  gap: 6px;
}

.earn-hero-link-value {
  font-size: 12px;
  color: rgba(159, 179, 209, 0.92);
  word-break: break-all;
}

.earn-section {
  position: relative;
}

.earn-path-grid .service-feature-card {
  border-color: rgba(106, 245, 196, 0.25);
}

.earn-path-card {
  display: grid;
  gap: 12px;
}

.earn-path-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(91, 200, 255, 0.15);
  border: 1px solid rgba(91, 200, 255, 0.35);
}

.earn-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.earn-step {
  display: grid;
  gap: 8px;
}

.earn-payout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.earn-payout-card,
.earn-trust-card {
  display: grid;
  gap: 12px;
}

.earn-payout-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.earn-trust-stack {
  display: grid;
  gap: 10px;
}

.earn-trust-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: rgba(8, 12, 20, 0.6);
}

.earn-trust-item span {
  color: var(--muted);
  font-size: 12px;
}

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

.earn-cta-band {
  margin-bottom: 40px;
}

.earn-cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: linear-gradient(120deg, rgba(12, 16, 28, 0.92), rgba(6, 10, 16, 0.9));
}

.earn-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.blog-hero .hero-slide {
  min-height: 70vh;
}

.blog-hero-aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 15% 20%, rgba(91, 200, 255, 0.28), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(106, 245, 196, 0.2), transparent 46%),
    radial-gradient(circle at 20% 80%, rgba(255, 210, 125, 0.16), transparent 52%);
  opacity: 0.7;
  pointer-events: none;
}

.blog-hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(91, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(91, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  pointer-events: none;
}

.blog-hero-content {
  display: grid;
  gap: 14px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.blog-hero-lead {
  font-size: 16px;
  color: rgba(220, 232, 255, 0.82);
}

.blog-search-panel {
  padding: 14px;
}

.blog-search-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.blog-search-field {
  display: grid;
  gap: 6px;
}

.blog-search-input {
  width: 100%;
}

.blog-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
  z-index: 2;
}

.blog-hero-featured {
  display: grid;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.3);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.94));
}

.blog-hero-featured-head {
  display: grid;
  gap: 4px;
}

.blog-featured-list {
  display: grid;
  gap: 10px;
}

.blog-featured-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.75);
  text-decoration: none;
  color: inherit;
}

.blog-featured-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.blog-featured-item span {
  font-size: 12px;
  color: var(--muted);
}

.blog-featured-item small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
}

.blog-hero-featured-actions {
  display: flex;
  justify-content: flex-end;
}

.blog-hero-subscribe {
  display: grid;
  gap: 8px;
  border-radius: 20px;
  border: 1px solid rgba(106, 245, 196, 0.28);
  background: linear-gradient(150deg, rgba(10, 18, 30, 0.94), rgba(6, 10, 18, 0.96));
}

.blog-subscribe-form {
  display: grid;
  gap: 10px;
}

.blog-subscribe-form input {
  width: 100%;
}

.blog-hub {
  position: relative;
}

.blog-title {
  align-items: flex-start;
}

.blog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.blog-chip-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.7);
  font-size: 12px;
  text-decoration: none;
  color: rgba(220, 232, 255, 0.9);
}

.blog-chip span {
  font-size: 10px;
  color: rgba(159, 179, 209, 0.75);
}

.blog-chip.is-active {
  border-color: rgba(106, 245, 196, 0.5);
  box-shadow: 0 0 16px rgba(106, 245, 196, 0.2);
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.4fr);
  gap: 18px;
}

.blog-list {
  display: grid;
  gap: 16px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.24);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.95));
}

.blog-card-cover {
  display: block;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  min-height: 160px;
}

.blog-card-cover.is-fallback {
  background-image: linear-gradient(140deg, rgba(91, 200, 255, 0.28), rgba(106, 245, 196, 0.18));
}

.blog-card-body {
  display: grid;
  gap: 10px;
}

.blog-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-card-body h3 {
  margin: 0;
  line-height: 1.2;
}

.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(159, 179, 209, 0.75);
}

.blog-card-actions {
  display: flex;
  gap: 8px;
}

.blog-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-sidebar-card {
  display: grid;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.95));
}

.blog-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.65);
  font-size: 12px;
  text-decoration: none;
  color: rgba(220, 232, 255, 0.9);
}

.blog-post-hero {
  position: relative;
  overflow: hidden;
}

.blog-post-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 200, 255, 0.25), transparent 46%),
    radial-gradient(circle at 80% 10%, rgba(106, 245, 196, 0.2), transparent 48%);
  opacity: 0.6;
  pointer-events: none;
}

.blog-post-content {
  max-width: 620px;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.blog-post-back {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(159, 179, 209, 0.8);
  text-decoration: none;
}

.blog-post-lead {
  color: rgba(220, 232, 255, 0.82);
  font-size: 16px;
}

.blog-post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-post-cover {
  border-radius: 22px;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(91, 200, 255, 0.25);
}

.blog-post-cover.is-fallback {
  background-image: linear-gradient(135deg, rgba(91, 200, 255, 0.25), rgba(106, 245, 196, 0.18));
}

.blog-post-body {
  position: relative;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr);
  gap: 18px;
}

.blog-post-article {
  display: grid;
  gap: 16px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.95), rgba(6, 10, 18, 0.96));
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-post-text h2,
.blog-post-text h3 {
  margin-top: 18px;
}

.blog-post-text {
  line-height: 1.7;
}

.blog-post-text ul {
  padding-left: 18px;
  margin: 12px 0;
}

.blog-post-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-post-share,
.blog-post-author,
.blog-post-subscribe {
  display: grid;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid rgba(91, 200, 255, 0.2);
  background: linear-gradient(160deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.95));
}

.blog-post-author-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-post-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(106, 245, 196, 0.4);
  background: rgba(8, 12, 20, 0.75);
  display: grid;
  place-items: center;
  font-weight: 600;
}

html[dir="rtl"] .blog-hero-content,
html[dir="rtl"] .blog-hero-panel,
html[dir="rtl"] .blog-card-body,
html[dir="rtl"] .blog-post-content,
html[dir="rtl"] .blog-post-article {
  text-align: right;
}

html[dir="rtl"] .blog-card {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
}

html[dir="rtl"] .blog-card-cover {
  grid-column: 2;
}

html[dir="rtl"] .blog-card-body {
  grid-column: 1;
}

html[dir="rtl"] .blog-grid {
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 1fr);
}

html[dir="rtl"] .blog-sidebar {
  grid-column: 1;
}

html[dir="rtl"] .blog-list {
  grid-column: 2;
}

html[dir="rtl"] .blog-post-grid {
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
}

html[dir="rtl"] .blog-post-sidebar {
  grid-column: 1;
}

html[dir="rtl"] .blog-post-article {
  grid-column: 2;
}

html[dir="rtl"] .blog-card-tags,
html[dir="rtl"] .blog-post-tags,
html[dir="rtl"] .blog-post-meta,
html[dir="rtl"] .blog-card-meta {
  justify-content: flex-end;
}

html[dir="rtl"] .blog-post-text ul {
  padding-right: 18px;
  padding-left: 0;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-post-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-card-cover {
    min-height: 200px;
  }
  html[dir="rtl"] .blog-card-cover,
  html[dir="rtl"] .blog-card-body,
  html[dir="rtl"] .blog-sidebar,
  html[dir="rtl"] .blog-list,
  html[dir="rtl"] .blog-post-sidebar,
  html[dir="rtl"] .blog-post-article {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .blog-search-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero .hero-slide {
    min-height: auto;
  }
  .blog-post-cover {
    min-height: 220px;
  }
}

/* Blog 2026 refresh */
.blog-hero .hero-slide {
  min-height: 78vh;
}

.blog-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.blog-hero-main {
  display: grid;
  gap: 18px;
}

.blog-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.blog-stat-card {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.25);
  background: linear-gradient(140deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.95));
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.blog-hero-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.blog-hero-spotlight,
.blog-hero-stack {
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.28);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.94), rgba(6, 10, 18, 0.96));
  display: grid;
  gap: 12px;
}

.blog-hero-spotlight-head {
  display: grid;
  gap: 4px;
}

.blog-spotlight-card {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 14px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.8);
  padding: 12px;
}

.blog-spotlight-cover {
  display: block;
  border-radius: 14px;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(91, 200, 255, 0.2);
}

.blog-spotlight-cover.is-fallback {
  background-image: linear-gradient(150deg, rgba(91, 200, 255, 0.35), rgba(106, 245, 196, 0.2));
}

.blog-spotlight-body {
  display: grid;
  gap: 6px;
}

.blog-spotlight-title {
  font-size: 16px;
  font-weight: 700;
}

.blog-spotlight-lead {
  font-size: 12px;
  color: var(--muted);
}

.blog-spotlight-meta {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.7);
}

.blog-hero-stack-list {
  display: grid;
  gap: 10px;
}

.blog-hero-stack-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.75);
  text-decoration: none;
  color: inherit;
}

.blog-hero-stack-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.blog-hero-stack-item span {
  font-size: 12px;
  color: var(--muted);
}

.blog-hero-stack-item small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
}

.blog-search-panel {
  padding: 16px;
  border-radius: 18px;
}

.blog-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 22px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: linear-gradient(150deg, rgba(10, 16, 28, 0.94), rgba(6, 10, 18, 0.96));
}

.blog-card-cover {
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.2);
}

.blog-card-cover.is-fallback {
  background-image:
    linear-gradient(140deg, rgba(91, 200, 255, 0.35), rgba(106, 245, 196, 0.18)),
    radial-gradient(circle at 20% 20%, rgba(255, 210, 125, 0.2), transparent 55%);
}

.blog-card-body {
  display: grid;
  gap: 10px;
}

.blog-card-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.35);
  background: rgba(8, 12, 20, 0.7);
  font-size: 11px;
  text-decoration: none;
  color: rgba(220, 232, 255, 0.9);
}

.blog-card-actions .button-primary {
  padding: 8px 14px;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
}

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

.blog-sidebar-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.7);
  text-decoration: none;
  color: inherit;
}

.blog-sidebar-item small {
  font-size: 11px;
  color: rgba(159, 179, 209, 0.75);
}

.blog-post-text {
  font-size: 16px;
  line-height: 1.75;
}

.blog-post-text h2,
.blog-post-text h3 {
  scroll-margin-top: 120px;
}

.blog-post-text h2 {
  font-size: 22px;
  padding-top: 6px;
  border-top: 1px solid rgba(91, 200, 255, 0.15);
}

.blog-post-toc {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(91, 200, 255, 0.22);
  background: rgba(8, 12, 20, 0.8);
  position: sticky;
  top: 120px;
}

.blog-post-toc-list {
  display: grid;
  gap: 6px;
}

.blog-post-toc-link {
  text-decoration: none;
  color: rgba(220, 232, 255, 0.9);
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.blog-post-toc-link.level-3 {
  margin-left: 8px;
  font-size: 11px;
  color: rgba(180, 200, 228, 0.8);
}

.blog-post-toc-link:hover {
  border-color: rgba(106, 245, 196, 0.4);
  background: rgba(106, 245, 196, 0.08);
}

html[dir="rtl"] .blog-spotlight-card {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
}

html[dir="rtl"] .blog-spotlight-cover {
  order: 2;
}

html[dir="rtl"] .blog-post-toc-link.level-3 {
  margin-left: 0;
  margin-right: 8px;
}

@media (max-width: 1100px) {
  .blog-hero-layout {
    grid-template-columns: 1fr;
  }
  .blog-hero-panel {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
  .blog-post-toc {
    position: static;
  }
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-list {
    grid-template-columns: 1fr;
  }
}

.auth-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(100%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.auth-turnstile {
  margin-top: 6px;
  margin-bottom: 4px;
  min-height: 68px;
}

/* ═══════════════════════════════════════════════════════════
   HERO – Command Terminal
   ═══════════════════════════════════════════════════════════ */
.hero-home.hero-command {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
  padding: clamp(64px, 10vw, 110px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(168deg, #030810 0%, #0a1428 48%, #0f1e38 100%);
}

/* reset inherited .hero pseudo-elements */
.hero-home.hero-command::before,
.hero-home.hero-command::after {
  content: none;
  display: none;
}

/* ── animated background ── */
.hero-command-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-command-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, 0.6), transparent 80%);
  animation: heroGridDrift 24s linear infinite;
}

@keyframes heroGridDrift {
  to { background-position: 48px 48px; }
}

.hero-command-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: heroPulse 8s ease-in-out infinite alternate;
}
.hero-command-glow.glow-1 {
  width: 420px; height: 420px;
  left: -5%; top: -15%;
  background: radial-gradient(circle, rgba(91, 200, 255, 0.28), transparent 70%);
}
.hero-command-glow.glow-2 {
  width: 340px; height: 340px;
  right: 8%; top: 10%;
  background: radial-gradient(circle, rgba(167, 123, 255, 0.22), transparent 70%);
  animation-delay: -3s;
}
.hero-command-glow.glow-3 {
  width: 260px; height: 260px;
  left: 40%; bottom: -10%;
  background: radial-gradient(circle, rgba(106, 245, 196, 0.16), transparent 70%);
  animation-delay: -6s;
}

@keyframes heroPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.12); }
}

.hero-command-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent 10%, rgba(91, 200, 255, 0.15) 50%, transparent 90%);
  animation: heroScanline 6s linear infinite;
  opacity: 0.4;
}

@keyframes heroScanline {
  0%   { top: -2px; }
  100% { top: 100%; }
}

/* ── layout ── */
.hero-command-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

/* ── left column ── */
.hero-home.hero-command .hero-command-primary {
  display: grid;
  gap: 20px;
  min-width: 0;
  grid-row: auto;
  border: none;
  border-color: transparent;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  backdrop-filter: none;
}

.hero-command-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(106, 245, 196, 0.3);
  background: rgba(106, 245, 196, 0.06);
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-command-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(106, 245, 196, 0.6);
  animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-command-title {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-command-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-command-lead {
  margin: 0;
  max-width: 52ch;
  color: rgba(200, 218, 242, 0.85);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.hero-command-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-command-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-command-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-command-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── right column: terminal ── */
.hero-command-terminal {
  border-radius: 16px;
  border: 1px solid rgba(91, 200, 255, 0.18);
  background: rgba(6, 10, 20, 0.82);
  box-shadow:
    0 0 40px rgba(91, 200, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-width: 0;
}

.hero-command-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(10, 16, 30, 0.6);
  border-bottom: 1px solid rgba(91, 200, 255, 0.1);
}

.hero-command-terminal-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-command-terminal-bar .dot.red { background: #ff5f57; }
.hero-command-terminal-bar .dot.yellow { background: #febc2e; }
.hero-command-terminal-bar .dot.green { background: #28c840; }

.hero-command-terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(200, 218, 242, 0.5);
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
}

.hero-command-terminal-body {
  padding: 16px 18px;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}

.hero-command-terminal-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-command-terminal-line .prompt {
  color: var(--accent-green);
  margin-right: 6px;
  user-select: none;
}

.hero-command-terminal-line.dim {
  color: rgba(200, 218, 242, 0.45);
}

.hero-command-terminal-line.success {
  color: var(--accent-green);
}

.hero-command-terminal-line.accent {
  color: var(--accent);
}

.hero-command-terminal-line.accent strong {
  color: var(--text);
}

.hero-command-terminal-cursor {
  display: inline-block;
  color: var(--accent);
  animation: heroBlink 1s step-end infinite;
}

@keyframes heroBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── stat pills under terminal ── */
.hero-command-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  border-top: 1px solid rgba(91, 200, 255, 0.1);
}

.hero-command-stat {
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  text-align: center;
  border-right: 1px solid rgba(91, 200, 255, 0.08);
}
.hero-command-stat:last-child { border-right: none; }

.hero-command-stat strong {
  font-size: 16px;
  color: var(--text);
}

.hero-command-stat span {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── responsive ── */
@media (max-width: 1000px) {
  .hero-command-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-command-terminal {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .hero-command-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    max-width: 100%;
  }
  .hero-command-trust {
    gap: 14px;
  }
  .hero-command-stat {
    padding: 10px 8px;
  }
}

/* ═══ Legacy hero-friendly (kept for non-home pages if used) ═══ */
.hero-home.hero-friendly {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(860px 360px at -10% -20%, rgba(255, 188, 118, 0.16), transparent 65%),
    radial-gradient(740px 300px at 120% 0%, rgba(91, 200, 255, 0.2), transparent 68%),
    linear-gradient(160deg, #050a14 0%, #0a1120 52%, #111d32 100%);
}

.hero-friendly-backdrop {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-friendly-orb { position: absolute; border-radius: 999px; filter: blur(0.5px); }
.hero-friendly-orb.orb-a { width: 280px; height: 280px; left: -80px; top: 30px; background: radial-gradient(circle, rgba(255, 176, 110, 0.4), rgba(255, 176, 110, 0)); }
.hero-friendly-orb.orb-b { width: 360px; height: 360px; right: -120px; top: -100px; background: radial-gradient(circle, rgba(90, 198, 255, 0.42), rgba(90, 198, 255, 0)); }
.hero-friendly-gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(126, 155, 198, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 155, 198, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 92%);
}
.hero-friendly-grid { position: relative; z-index: 1; display: grid; gap: 26px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); align-items: start; }
.hero-friendly-copy { display: grid; gap: 14px; }
.hero-friendly-kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(8, 14, 26, 0.72); color: rgba(231, 242, 255, 0.96); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-friendly-title { margin: 0; max-width: 16ch; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.07; }
.hero-friendly-lead { margin: 0; max-width: 62ch; color: rgba(214, 227, 247, 0.88); }
.hero-friendly-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-friendly-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-friendly-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-friendly-stat { border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(8, 12, 20, 0.62); padding: 12px 13px; display: grid; gap: 6px; }
.hero-friendly-stat span { color: rgba(200, 218, 242, 0.92); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-friendly-stat strong { font-size: 19px; }
.hero-friendly-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: rgba(201, 220, 246, 0.86); font-size: 14px; }
.hero-friendly-panel { position: sticky; top: 100px; }
.hero-friendly-card { display: grid; gap: 12px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(180deg, rgba(9, 15, 27, 0.92), rgba(6, 11, 20, 0.86)); box-shadow: 0 16px 44px rgba(2, 8, 18, 0.42); padding: clamp(16px, 2.4vw, 22px); }
.hero-friendly-card h2 { margin: 0; font-size: clamp(1.35rem, 3.4vw, 1.9rem); }
.hero-friendly-quicklinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-friendly-quicklinks a { display: block; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(15, 23, 38, 0.74); color: rgba(223, 236, 255, 0.92); text-decoration: none; font-size: 13px; }
.hero-friendly-form { gap: 10px; }
.hero-friendly-form .button-primary, .hero-friendly-form .button-ghost { width: 100%; justify-content: center; }
@media (max-width: 1100px) { .hero-friendly-grid { grid-template-columns: 1fr; } .hero-friendly-panel { position: static; } }
@media (max-width: 680px) { .hero-friendly-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-friendly-quicklinks { grid-template-columns: 1fr; } }

/* ─── Skip-to-content ─────────────────────────────────────── */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  background: var(--accent);
  color: #050b1c;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  transition: top 0.2s ease, opacity 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
  opacity: 1;
  outline: none;
}

/* ─── Focus-visible ring (global) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button-primary:focus-visible,
.button-ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(91, 200, 255, 0.25), var(--shadow-soft);
}

.nav-hex:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 12px rgba(91, 200, 255, 0.3);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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