:root {
  --bg: #07111f;
  --bg-soft: rgba(8, 18, 34, 0.82);
  --panel: rgba(9, 24, 45, 0.86);
  --panel-strong: #0d203b;
  --text: #f5f7fb;
  --muted: #8fa6c7;
  --line: rgba(143, 166, 199, 0.18);
  --lime: #ff9a3d;
  --orange: #45d0ff;
  --green: #44d17a;
  --red: #ff6178;
  --glow: rgba(69, 208, 255, 0.18);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.22);
  --radius: 26px;
  --cursor-x: 50%;
  --cursor-y: 40%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #050d18;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

/* Three-step create-server wizard */
.vn-create-wizard {
  overflow: visible;
}

.vn-create-wizard form {
  display: grid;
  gap: 24px;
}

.vn-wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.vn-wizard-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(8, 17, 31, 0.76);
}

.vn-wizard-progress span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.vn-wizard-progress strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vn-wizard-progress li.active {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.55);
}

.vn-wizard-progress li.complete {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.vn-wizard-step {
  scroll-margin-top: 24px;
}

.vn-step-heading {
  margin-bottom: 18px;
}

.vn-step-heading h3 {
  margin: 3px 0 6px;
}

.vn-location-grid,
.vn-egg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vn-location-card,
.vn-egg-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, 0.82);
}

.vn-location-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
}

.vn-location-card > label,
.vn-egg-card {
  cursor: pointer;
}

.vn-location-card > label {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.vn-location-card:has(input:checked),
.vn-egg-card:has(input:checked) {
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.12);
}

.vn-location-card.is-full {
  border-color: rgba(248, 113, 113, 0.38);
}

.vn-location-card input,
.vn-egg-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vn-location-image {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 7px;
  background: #101b2d;
  color: #67e8f9;
  font-weight: 800;
}

.vn-location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vn-location-copy,
.vn-egg-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.vn-location-copy strong,
.vn-egg-copy strong {
  font-size: 1rem;
  color: var(--text);
}

.vn-location-copy small,
.vn-egg-copy small {
  color: var(--muted);
  line-height: 1.4;
}

.vn-location-available,
.vn-egg-copy b {
  color: #6ee7b7;
  font-size: 0.78rem;
}

.vn-location-full,
.vn-location-unavailable {
  color: #f87171;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.vn-ping-button {
  min-height: 38px;
  padding: 8px 12px;
}

.vn-ping-result {
  grid-column: 1 / -1;
  min-height: 18px;
  color: #67e8f9;
  font-size: 0.78rem;
}

.vn-egg-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vn-egg-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
}

.vn-egg-image {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #111d30;
  color: #67e8f9;
  font-weight: 800;
}

.vn-egg-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vn-egg-copy small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vn-version-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 18px;
}

.vn-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 16px;
}

.vn-server-fields,
.vn-create-summary {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, 0.78);
}

.vn-server-fields label {
  display: grid;
  gap: 8px;
}

.vn-create-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.vn-create-summary span {
  color: var(--muted);
}

.vn-create-summary strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.vn-wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .vn-egg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vn-wizard-progress li {
    justify-content: center;
    padding: 10px 6px;
  }

  .vn-wizard-progress strong {
    display: none;
  }

  .vn-location-grid,
  .vn-egg-grid,
  .vn-details-grid {
    grid-template-columns: 1fr;
  }

  .vn-location-card {
    grid-template-columns: 1fr;
  }

  .vn-location-card > label {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .vn-location-image {
    width: 92px;
  }

  .vn-ping-button {
    width: 100%;
  }

  .vn-wizard-actions .button {
    flex: 1 1 0;
    min-width: 0;
  }
}

.site-background,
.site-background-overlay,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-background {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.2), rgba(2, 8, 14, 0.2)),
    url("/public/images/v2/35-v2-hero-background-clean.webp") center center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.02) brightness(0.68) blur(0.8px);
}

.site-background-overlay {
  z-index: -3;
  background:
    radial-gradient(circle at 10% 18%, rgba(90, 221, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 145, 78, 0.16), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(69, 208, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.45), rgba(4, 10, 17, 0.55));
}

.cursor-light {
  z-index: -2;
  background:
    radial-gradient(circle 320px at var(--cursor-x) var(--cursor-y), rgba(164, 226, 255, 0.16), transparent 70%);
  transition: background-position 60ms linear;
}

.js body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.js body.is-ready {
  opacity: 1;
  transform: none;
}

.js body[data-surface="dashboard"] {
  opacity: 1;
  transform: none;
  transition: none;
}

body[data-surface="dashboard"] .cursor-light {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea,
select,
button {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.ambient-a {
  top: -8rem;
  left: -8rem;
  background: color-mix(in srgb, var(--lime) 55%, transparent);
}

.ambient-b {
  right: -8rem;
  bottom: -8rem;
  background: color-mix(in srgb, var(--orange) 50%, transparent);
}

.shell,
.guest-shell {
  position: relative;
  z-index: 2;
}

.shell {
  min-height: 100vh;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-toggle {
  display: inline-flex;
}

.sidebar {
  position: fixed;
  z-index: 24;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(20rem, calc(100vw - 3rem));
  max-width: 100%;
  overflow-y: auto;
  transform: translateX(calc(-100% - 2rem));
  transition: transform 220ms ease, box-shadow 220ms ease;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(10, 24, 46, 0.78), rgba(7, 18, 34, 0.9)),
    var(--panel);
  backdrop-filter: blur(24px);
  box-shadow: 24px 0 48px rgba(0, 0, 0, 0.32);
}

body.nav-open .sidebar {
  transform: translateX(0);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sidebar-head .brand {
  margin-bottom: 0;
  flex: 1;
}

.sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.05rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #edf4ff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.65rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.brand-menu span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(237, 244, 255, 0.88);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #06111f;
  background: linear-gradient(135deg, var(--lime), var(--orange));
  box-shadow: 0 16px 30px color-mix(in srgb, var(--orange) 22%, transparent);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-wordmark {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guest-brand-copy .brand-wordmark {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 0.92;
}

.guest-brand-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfdaf0;
}

.brand strong,
.topbar h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand small,
.muted,
.eyebrow {
  color: var(--muted);
}

.sidebar-hero {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  margin-bottom: 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--orange) 10%, transparent), transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
}

.sidebar-hero strong {
  font-size: 1.25rem;
}

.sidebar-utility {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.sidebar-logout-form {
  margin: 0;
}

.sidebar-link-button {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 0.95rem 1rem;
  margin-bottom: 0.45rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #dce7f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.sidebar-link-button:hover {
  border-color: color-mix(in srgb, var(--red) 26%, var(--line));
  background:
    linear-gradient(180deg, rgba(255, 92, 92, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 16, 26, 0.96);
  transform: translateX(4px);
}

.sidebar-group {
  margin-bottom: 1.55rem;
}

.sidebar-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  margin-bottom: 0.45rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  color: #dce7f7;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  transform: translateX(4px);
}

.link-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  color: #dff3ff;
}

.link-icon.admin {
  color: #fff3e4;
  background: color-mix(in srgb, var(--lime) 14%, rgba(255, 255, 255, 0.04));
}

.sidebar-link-copy {
  display: grid;
  gap: 0.15rem;
}

.sidebar-link-copy strong {
  font-size: 0.96rem;
}

.sidebar-link-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.content-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  width: 100%;
  min-height: 100vh;
}

.topbar {
  position: static;
  z-index: 22;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.92rem 1.5rem 0.78rem;
  background: linear-gradient(180deg, rgba(5, 12, 20, 0.92), rgba(5, 12, 20, 0.42));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1 1 auto;
}

.topbar h1 {
  margin: 0.05rem 0 0.22rem;
  font-size: clamp(1.6rem, 2.15vw, 2.45rem);
  line-height: 1.08;
}

.topbar-subtitle {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.topbar-actions,
.button-row,
.inline-links,
.pagination,
.table-actions,
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.topbar-actions {
  justify-content: flex-end;
  flex-direction: row;
  gap: 0.62rem;
  flex: 0 1 auto;
  margin-left: auto;
}

.sidebar-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 3rem;
  height: 3rem;
  margin-top: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.sidebar-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.075);
  border-color: color-mix(in srgb, var(--lime) 18%, var(--line));
}

.sidebar-toggle span {
  display: block;
  width: 2px;
  height: 1rem;
  margin: 0;
  border-radius: 999px;
  background: #e8f2ff;
  opacity: 0.9;
}

.topbar-pill,
.user-chip,
.inline-code,
.status-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}

.user-chip {
  min-width: 14rem;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.user-menu-trigger .user-chip {
  min-width: min(18rem, 100%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.user-menu-trigger:hover .user-chip,
.user-menu.open .user-chip {
  border-color: color-mix(in srgb, var(--orange) 35%, var(--line));
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.user-chip img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 50%;
}

.topbar-mobile-title {
  display: none;
  min-width: 0;
  color: #eef4fb;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: 13.5rem;
  padding: 0.65rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    rgba(7, 18, 34, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  z-index: 30;
}

.user-menu-link {
  display: flex;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  color: var(--text);
  transition: background 180ms ease, transform 180ms ease;
}

.user-menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.user-menu-link-button {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.page,
.guest-page {
  padding: 0 2rem 2rem;
}

.guest-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem 3.5rem;
}

.announcement-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.05rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e7fb;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--green) 24%, transparent);
}

.guest-nav,
.panel-header,
.server-head,
.list-row,
.chart-row,
.terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.guest-nav {
  position: sticky;
  top: 1rem;
  z-index: 5;
  padding: 0.85rem 1rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.36);
  backdrop-filter: blur(20px);
  margin-bottom: 1.2rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.guest-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.auth-register-prompt {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.35rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background:
    radial-gradient(circle at 88% 18%, rgba(69, 208, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(15, 27, 43, 0.84), rgba(8, 15, 26, 0.76));
}

.hero,
.hero-grid,
.section-grid,
.stats-grid,
.card-grid,
.auth-grid,
.meta-grid,
.progress-list,
.feature-stripe {
  display: grid;
  gap: 1.25rem;
}

.hero {
  grid-template-columns: 1.2fr 0.95fr;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.hero-premium .hero-copy,
.hero-premium .hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.feature-stripe {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-card-grid {
  align-items: stretch;
}

.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meta-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-card,
.metric-card,
.server-card,
.modal-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%),
    var(--panel);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.panel-card::before,
.metric-card::before,
.server-card::before,
.modal-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--orange) 65%, white), transparent);
  opacity: 0.8;
}

.panel-card,
.server-card,
.metric-card,
.modal-panel {
  padding: 1.4rem;
}

.panel-card,
.server-card,
.metric-card,
.nested-panel,
.offer-card,
.resource-balance-card {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
  transform-style: preserve-3d;
}

.panel-card:hover,
.server-card:hover,
.metric-card:hover,
.offer-card:hover,
.resource-balance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(2, 8, 23, 0.34);
}

.accent-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--lime) 18%, transparent), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    var(--panel);
}

.danger-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--red) 14%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    var(--panel);
}

.nested-panel {
  box-shadow: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.3rem;
  padding: 1.2rem;
}

.nested-panel:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--orange) 22%, var(--line));
  box-shadow: 0 18px 34px rgba(2, 8, 23, 0.24);
}

.narrow-card {
  max-width: 38rem;
  margin: 0 auto;
}

.hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-search {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: min(18rem, 100%);
  padding: 0.25rem 0.35rem 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.topbar-search select {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0.75rem 0.35rem 0.75rem 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.topbar-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
}

.topbar-search input {
  border: 0;
  padding: 0.75rem 0.35rem 0.75rem 0;
  min-width: 14rem;
  border-radius: 999px;
  background: transparent;
}

.topbar-search:focus-within {
  border-color: color-mix(in srgb, var(--orange) 24%, var(--line));
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--glow) 70%, transparent);
}

.topbar-search:hover {
  border-color: color-mix(in srgb, var(--lime) 20%, var(--line));
  background: rgba(255, 255, 255, 0.045);
}

.hero-copy h2,
.panel-card h2,
.panel-card h3 {
  margin: 0.2rem 0 0.75rem;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.terminal-card {
  min-height: 100%;
}

.terminal-head {
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.terminal-head span {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.terminal-head span:nth-child(1) { background: #ff6178; }
.terminal-head span:nth-child(2) { background: #ffc857; }
.terminal-head span:nth-child(3) { background: #44d17a; }

.terminal-body {
  display: grid;
  gap: 0.75rem;
}

.terminal-body strong {
  font-size: 1.35rem;
}

.terminal-prompt {
  color: var(--orange);
}

.timeline-list,
.form-grid,
.stack-list,
.chart-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding-left: 1rem;
  border-left: 2px solid color-mix(in srgb, var(--orange) 50%, transparent);
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-grid label,
.inline-field {
  display: grid;
  gap: 0.45rem;
}

.compact-form {
  gap: 0.75rem;
}

.compact-form .button {
  justify-self: start;
}

.search-field {
  min-width: min(100%, 18rem);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.checkbox-field input {
  width: auto;
  margin: 0;
}

.full-width {
  grid-column: 1 / -1;
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 30px rgba(5, 10, 18, 0.22);
}

select option,
select optgroup {
  background: #0d1b2d;
  color: #eef4ff;
  box-shadow: 0 0 0 100vmax #0d1b2d inset;
  -webkit-text-fill-color: #eef4ff;
}

select option:disabled {
  color: #ff8a7a;
  -webkit-text-fill-color: #ff8a7a;
}

select:hover {
  border-color: color-mix(in srgb, var(--orange) 30%, var(--line));
}

select option:checked {
  background: color-mix(in srgb, var(--orange) 24%, #0d1b2d);
  color: #fff5eb;
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--orange) 24%, #0d1b2d) inset;
  -webkit-text-fill-color: #fff5eb;
}

select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--orange) 40%, var(--line));
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--glow) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-primary {
  background: linear-gradient(135deg, var(--lime), color-mix(in srgb, var(--lime) 70%, white));
  color: #09111d;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--lime) 26%, transparent);
}

.button-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  color: #fff;
  border-color: var(--line);
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button-danger {
  background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 72%, black));
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--red) 22%, transparent);
}

.button-danger:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.button-danger-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--red) 32%, var(--line));
  color: var(--red);
}

.button-danger-ghost:hover {
  background: color-mix(in srgb, var(--red) 10%, transparent);
  border-color: color-mix(in srgb, var(--red) 50%, var(--line));
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 44rem;
}

.data-table.compact {
  min-width: 24rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.flash {
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
}

.flash-success {
  background: color-mix(in srgb, var(--green) 12%, transparent);
  border-color: color-mix(in srgb, var(--green) 24%, transparent);
}

.flash-error {
  background: color-mix(in srgb, var(--red) 10%, transparent);
  border-color: color-mix(in srgb, var(--red) 24%, transparent);
}

.server-card.active {
  border-top: 4px solid var(--green);
}

.server-card.suspended {
  border-top: 4px solid var(--lime);
}

.server-meta p,
.panel-card p {
  line-height: 1.65;
}

.warning-text,
.negative-text {
  color: var(--red);
}

.positive-text {
  color: var(--green);
}

.status-pill.success,
.status-pill.approved,
.status-pill.active {
  background: color-mix(in srgb, var(--green) 18%, transparent);
}

.status-pill.pending,
.status-pill.partial,
.status-pill.suspended {
  background: color-mix(in srgb, var(--lime) 18%, transparent);
  color: #fff1d9;
}

.status-pill.denied,
.status-pill.failed,
.status-pill.deleted {
  background: color-mix(in srgb, var(--red) 18%, transparent);
}

.status-pill.muted {
  background: rgba(255, 255, 255, 0.06);
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.empty-state {
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px dashed var(--line);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.empty-state.compact {
  padding: 0.75rem;
}

.list-row small,
.chart-row span,
.muted {
  color: var(--muted);
}

.inline-code {
  overflow-wrap: anywhere;
}

.tab-button {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--text);
}

.tab-button.active,
.tab-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tab-panel {
  display: none;
  margin-top: 1rem;
}

.tab-panel.active {
  display: block;
}

.hidden-panel {
  display: none;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.75fr);
  gap: 1.25rem;
}

.workspace-main,
.workspace-rail {
  display: grid;
  gap: 1.25rem;
}

.workspace-hero {
  display: grid;
  gap: 1.25rem;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.metric-inline-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stack-card {
  display: grid;
  gap: 1rem;
}

.info-stack {
  display: grid;
  gap: 0.8rem;
}

.list-row.compact {
  gap: 0.75rem;
}

.compact-stack {
  gap: 0.75rem;
}

.list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.92rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.list-link::after {
  content: "->";
  color: var(--muted);
}

.list-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--orange) 22%, var(--line));
  background: rgba(255, 255, 255, 0.05);
}

.offer-card {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 173, 92, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%),
    var(--panel);
}

.linkpays-static-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.18), transparent 20%),
    radial-gradient(circle at 88% 0%, rgba(69, 208, 255, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(18, 26, 44, 0.96) 0%, rgba(10, 16, 29, 0.96) 100%);
  border-color: color-mix(in srgb, var(--lime) 12%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 36px rgba(139, 92, 246, 0.08);
}

.linkpays-static-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1), transparent 34%);
}

.linkpays-static-card > * {
  position: relative;
  z-index: 1;
}

.linkpays-static-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: start;
}

.linkpays-static-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(69, 208, 255, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.linkpays-static-copy h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.linkpays-static-copy p {
  margin: 0;
  color: var(--muted);
}

.linkpays-static-badge {
  white-space: nowrap;
  align-self: center;
}

.linkpays-static-stats {
  gap: 0.55rem;
}

.linkpays-static-stats .status-pill strong {
  color: #fff;
}

.linkpays-static-note {
  background: rgba(255, 255, 255, 0.028);
}

.linkpays-static-actions {
  align-items: center;
}

.linkpays-static-actions .button {
  min-width: 0;
}

.linkpays-static-footnote {
  margin: 0;
  font-size: 0.92rem;
}

.linkpays-toast-layer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: grid;
  gap: 0.65rem;
  width: min(26rem, calc(100vw - 2rem));
}

.linkpays-toast {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(220, 238, 255, 0.12);
  background: rgba(7, 16, 28, 0.94);
  color: #f4f8ff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.linkpays-toast strong {
  display: block;
  margin-bottom: 0.2rem;
}

.linkpays-toast small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.linkpays-toast.success {
  border-color: color-mix(in srgb, var(--green) 32%, rgba(220, 238, 255, 0.12));
}

.linkpays-toast.warning {
  border-color: color-mix(in srgb, var(--orange) 32%, rgba(220, 238, 255, 0.12));
}

.linkpays-toast.error {
  border-color: color-mix(in srgb, var(--red) 32%, rgba(220, 238, 255, 0.12));
}

.linkpays-toast.info {
  border-color: color-mix(in srgb, var(--lime) 24%, rgba(220, 238, 255, 0.12));
}

.offer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.steps-list {
  display: grid;
  gap: 0.9rem;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.step-item span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 28%, transparent), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-weight: 700;
}

.step-item strong,
.list-link,
.sidebar-link-copy strong {
  font-family: "Space Grotesk", sans-serif;
}

.step-item small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  line-height: 1.5;
}

.section-nav-card {
  margin-bottom: 1.25rem;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.server-collection {
  align-items: stretch;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pagination {
  margin-top: 1rem;
}

.chart-bar {
  flex: 1;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--lime), var(--orange));
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, 0.75);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(34rem, calc(100% - 2rem));
  margin: 8vh auto 0;
}

.renew-modal-panel {
  width: min(40rem, calc(100% - 2rem));
}

.renew-server-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) - 0.45rem);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.renewal-rate-card {
  min-height: calc(100% - 0.25rem);
}

.renewal-rate-table-wrap {
  margin-top: 0.75rem;
}

.renewal-rate-table th,
.renewal-rate-table td {
  white-space: nowrap;
}

.renewal-rate-table td:last-child,
.renewal-rate-table th:last-child {
  text-align: right;
}

.redeem-code-item {
  gap: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}

.reveal-ready {
  opacity: 1;
  transform: none;
}

body[data-surface="dashboard"] [data-reveal] {
  opacity: 1;
  transform: none;
  will-change: auto;
}

body[data-page="home"] .site-background {
  background-position: center 44%;
  filter: saturate(1.02) contrast(1.04) brightness(0.8) blur(0.2px);
  transform: scale(1.06);
}

body[data-page="home"] .site-background-overlay {
  background:
    radial-gradient(circle at 10% 16%, rgba(89, 223, 255, 0.18), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 144, 75, 0.18), transparent 19%),
    radial-gradient(circle at 50% 20%, rgba(200, 228, 255, 0.07), transparent 18%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.38), rgba(4, 10, 17, 0.58));
}

body[data-page="home"] .guest-shell {
  width: min(100%, calc(100vw - 0.9rem));
  max-width: none;
  padding: 0.75rem 0.45rem 1rem;
}

body[data-page="home"] .guest-page {
  padding: 0;
}

body[data-page="home"] .guest-nav {
  width: min(100%, calc(100vw - 2rem));
  max-width: none;
  margin: 0 auto 0.4rem;
  padding: 0.72rem 1rem;
  border-color: rgba(223, 236, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 25, 37, 0.56), rgba(8, 15, 25, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.22);
}

body[data-page="home"] .guest-nav .brand {
  margin-bottom: 0;
}

body[data-page="home"] .guest-links {
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 236, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

body[data-page="home"] .guest-links a:not(.button) {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  color: #d8e4f7;
}

body[data-page="home"] .guest-links a:not(.button):hover {
  background: rgba(255, 255, 255, 0.06);
}

.landing-hero {
  position: relative;
  min-height: calc(100svh - 5.7rem);
  padding: clamp(0.8rem, 1.4vw, 1.3rem) 1.05rem 0.85rem;
  border-radius: 2.1rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 20%, rgba(82, 220, 255, 0.08), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(255, 141, 73, 0.08), transparent 19%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.12), rgba(4, 8, 15, 0.22));
  border: 1px solid rgba(221, 235, 255, 0.05);
  pointer-events: none;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(4, 9, 16, 0.44) 0%, rgba(4, 9, 16, 0.28) 34%, rgba(4, 9, 16, 0.12) 60%, rgba(4, 9, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(4, 9, 16, 0.04), rgba(4, 9, 16, 0.3) 100%);
  pointer-events: none;
}

.landing-grid,
.landing-feature-rail {
  position: relative;
  z-index: 2;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(430px, 0.98fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: center;
  min-height: 0;
  height: 100%;
}

.landing-copy {
  position: relative;
  max-width: 31rem;
  padding-left: 0.2rem;
}

.landing-copy::before {
  content: "";
  position: absolute;
  inset: -1.8rem -1.6rem -1.5rem -1.9rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 18%, rgba(8, 13, 20, 0.34), rgba(6, 10, 17, 0.62) 52%, transparent 84%),
    linear-gradient(90deg, rgba(5, 9, 15, 0.56), rgba(5, 9, 15, 0.26) 70%, transparent 100%);
  filter: blur(24px);
  pointer-events: none;
}

.landing-copy > * {
  position: relative;
  z-index: 1;
}

.landing-copy h2 {
  margin: 0.55rem 0 0.6rem;
  max-width: 11ch;
  font-size: clamp(2.7rem, 4.1vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: #eef4fb;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.landing-copy .lead {
  max-width: 28rem;
  font-size: 1.06rem;
  color: #d4deed;
  line-height: 1.62;
}

.landing-copy .button-row {
  margin-top: 1rem;
  gap: 0.8rem;
}

.hero-discord-card {
  margin-top: 1rem;
  max-width: 27rem;
  padding: 1.1rem 1.2rem;
}

.hero-discord-card h3 {
  margin: 0.25rem 0 0.55rem;
}

.hero-discord-card p:last-of-type {
  margin-bottom: 0;
}

.hero-discord-card .button-row {
  margin-top: 0.9rem;
}

.hero-hover-tag {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.6rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 22, 35, 0.28);
  color: #edf4ff;
  cursor: default;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-hover-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(12, 20, 30, 0.38);
}

.trust-line {
  margin-top: 0.95rem;
  color: #d7e0ef;
}

.hero-feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.2rem;
  align-self: center;
  justify-items: stretch;
  padding-top: 0;
  max-width: 40rem;
  justify-self: end;
}

.hero-feature-grid::before {
  content: "";
  position: absolute;
  inset: -1.6rem -1rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(7, 11, 18, 0.42), rgba(7, 11, 18, 0.2) 58%, transparent 86%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-feature-grid > * {
  position: relative;
  z-index: 1;
}

.landing-feature-card,
.landing-rail-card,
.glass-note {
  position: relative;
  padding: 1.08rem 1.12rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(218, 239, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(30, 42, 58, 0.34), rgba(8, 14, 24, 0.2));
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(164, 222, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.16),
    0 0 28px rgba(114, 205, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.landing-feature-card::before,
.landing-rail-card::before,
.glass-note::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%);
  opacity: 0.85;
  pointer-events: none;
}

.landing-feature-card::after,
.landing-rail-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(1.45rem - 1px);
  background:
    radial-gradient(circle at 12% 18%, rgba(121, 222, 255, 0.16), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(255, 169, 92, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 38%);
  pointer-events: none;
}

.landing-feature-card:hover,
.landing-rail-card:hover,
.glass-note:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 245, 255, 0.34);
  background: linear-gradient(180deg, rgba(30, 46, 64, 0.44), rgba(10, 18, 28, 0.3));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 46px rgba(0, 0, 0, 0.2),
    0 0 36px rgba(118, 213, 255, 0.12);
}

.landing-feature-card {
  min-height: 12.2rem;
}

.landing-feature-card h3,
.landing-rail-card strong,
.glass-note strong {
  position: relative;
  z-index: 1;
  margin: 0 0 0.42rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
  color: #f6f9ff;
}

.landing-feature-card p,
.landing-rail-card p,
.glass-note span {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c8d6e8;
  line-height: 1.58;
}

.landing-feature-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
}

.landing-feature-art {
  position: relative;
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(126, 232, 255, 0.26), transparent 44%),
    linear-gradient(180deg, rgba(27, 40, 57, 0.9), rgba(8, 14, 23, 0.78));
  border: 1px solid rgba(202, 231, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(92, 201, 255, 0.08);
}

.landing-feature-art img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(88, 203, 255, 0.18));
}

.landing-feature-card small,
.glass-note small {
  position: relative;
  z-index: 1;
  display: block;
  color: #9fb4ce;
  margin-bottom: 0.32rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-feature-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0;
  padding: 0 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(201, 228, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(108, 186, 255, 0.12), rgba(255, 154, 80, 0.04)),
    rgba(9, 15, 24, 0.5);
  color: #c8f3ff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.12),
    0 0 18px rgba(113, 208, 255, 0.08);
}

.feature-upper-left {
  margin-right: 1.05rem;
}

.feature-upper-right {
  margin-left: 0.15rem;
}

.feature-lower-left {
  margin-left: 0.8rem;
  margin-top: 0.85rem;
}

.feature-lower-right {
  margin-left: 1.35rem;
  margin-top: 0.85rem;
}

.landing-feature-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0;
}

.landing-feature-rail::before {
  content: "";
  position: absolute;
  inset: -0.65rem -0.75rem;
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.34), rgba(6, 10, 16, 0.22));
  filter: blur(16px);
  pointer-events: none;
}

.landing-rail-card {
  min-height: 5.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.landing-rail-card strong {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
}

.landing-rail-copy,
.landing-rail-art {
  position: relative;
  z-index: 1;
}

.landing-rail-art {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
}

.landing-rail-art img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(119, 214, 255, 0.14));
}

.cta-panel {
  margin-top: 1.4rem;
  text-align: center;
}

.cta-panel .button-row {
  justify-content: center;
}

@media (max-width: 1280px) {
  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.94fr);
    height: 100%;
  }
}

@media (max-width: 1200px) {
  .hero,
  .section-grid,
  .feature-stripe,
  .auth-grid,
  .stats-grid,
  .card-grid,
  .meta-grid,
  .workspace-grid,
  .metric-inline-grid,
  .offer-grid,
  .triple-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero {
    min-height: auto;
    padding: 1rem;
    grid-template-rows: auto;
  }

  .landing-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }

  .landing-copy {
    max-width: 100%;
  }

  .hero-discord-card {
    max-width: 100%;
  }

  .hero-feature-grid {
    max-width: 48rem;
    width: 100%;
    justify-self: stretch;
  }

  .feature-upper-left,
  .feature-upper-right,
  .feature-lower-left,
  .feature-lower-right {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }

  .landing-feature-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.nav-open {
    overflow: hidden;
  }

  .shell {
    min-height: auto;
  }

  .sidebar-toggle {
    z-index: 10;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 23;
    border: 0;
    padding: 0;
    background: rgba(4, 10, 18, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.nav-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    border-radius: 0;
    transform: translateX(-100%);
    box-shadow: none;
  }

  .sidebar-close {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
  }
}

  @media (max-width: 720px) {
    .page,
    .guest-page,
    .guest-shell,
    .topbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .topbar,
  .guest-nav,
  .panel-header,
  .server-head,
  .chart-row,
  .hero-banner,
  .offer-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions,
  .button-row,
  .guest-links,
  .table-actions,
  .workspace-actions,
  .section-nav {
    width: 100%;
  }

  .button,
  .topbar-pill,
  .user-chip,
  .topbar-search,
  .user-menu,
  .user-menu-trigger {
    width: 100%;
  }

  .hero-grid,
  .hero-feature-grid,
  .landing-feature-rail {
    grid-template-columns: 1fr;
  }

  .guest-links {
    flex-wrap: wrap;
  }

  .user-menu-panel {
    left: 0;
    right: auto;
    width: 100%;
  }

  body[data-page="home"] .guest-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.22rem;
    border: 1px solid rgba(223, 236, 255, 0.08);
    background: rgba(255, 255, 255, 0.028);
    box-sizing: border-box;
  }

  body[data-page="home"] .guest-nav {
    position: static;
    top: auto;
    align-items: stretch;
    padding: 0.72rem 0.72rem 0.8rem;
    margin-bottom: 0.95rem;
  }

  body[data-page="home"] .guest-nav .brand {
    width: 100%;
  }

  body[data-page="home"] .guest-links > * {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  body[data-page="home"] .guest-links > :last-child {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .guest-links a:not(.button),
  body[data-page="home"] .guest-links .button-primary {
    padding: 0.72rem 0.8rem;
  }

  .link-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .landing-hero {
    min-height: auto;
    padding: 0.75rem;
    grid-template-rows: auto;
  }

  .landing-copy h2 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
    max-width: 10ch;
  }

  .landing-copy .lead {
    font-size: 1rem;
  }

  .landing-feature-card,
  .landing-rail-card {
    min-height: auto;
  }

  .guest-brand-copy .brand-wordmark {
    font-size: 1.28rem;
  }

  .guest-brand-tagline {
    letter-spacing: 0.12em;
      font-size: 0.72rem;
    }
  }

@media (max-width: 768px) {
  body[data-surface="dashboard"] .topbar {
    position: static;
    top: auto;
    z-index: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    margin: 0 0 0.75rem;
    padding: 0.72rem 0.85rem 0.68rem;
    background: linear-gradient(180deg, rgba(5, 12, 20, 0.98), rgba(5, 12, 20, 0.72));
    backdrop-filter: blur(10px);
  }

  body[data-surface="dashboard"] .topbar-main {
    width: auto;
    gap: 0.65rem;
    align-items: center;
  }

  body[data-surface="dashboard"] .topbar-main > div {
    display: none;
  }

  body[data-surface="dashboard"] .topbar-mobile-title {
    display: block;
  }

  body[data-surface="dashboard"] .topbar-actions {
    width: auto;
    margin-left: 0;
    gap: 0.45rem;
    justify-content: flex-end;
  }

  body[data-surface="dashboard"] .topbar-search,
  body[data-surface="dashboard"] .topbar-actions .topbar-pill[data-copy] {
    display: none;
  }

  body[data-surface="dashboard"] .topbar-actions > * {
    width: auto;
    min-width: 0;
  }

  body[data-surface="dashboard"] .topbar-pill,
  body[data-surface="dashboard"] .user-menu-trigger .user-chip {
    min-height: 2.3rem;
    padding: 0.42rem 0.62rem;
    border-radius: 0.9rem;
    font-size: 0.8rem;
  }

  body[data-surface="dashboard"] .user-menu-trigger .user-chip {
    min-width: 0;
    max-width: min(11rem, 42vw);
  }

  body[data-surface="dashboard"] .topbar-pill strong {
    font-size: 0.9rem;
  }

  body[data-surface="dashboard"] .topbar-search-icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.68rem;
  }

  body[data-surface="dashboard"] .user-chip {
    min-width: 0;
    gap: 0.42rem;
  }

  body[data-surface="dashboard"] .user-chip img {
    width: 1.85rem;
    height: 1.85rem;
  }

  body[data-surface="dashboard"] .user-chip > div {
    min-width: 0;
    max-width: 100%;
  }

  body[data-surface="dashboard"] .user-chip strong,
  body[data-surface="dashboard"] .user-chip small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-surface="dashboard"] .user-chip small {
    display: none;
  }

  body[data-surface="dashboard"] .user-menu-panel {
    left: 0;
    right: 0;
    width: auto;
  }

    body[data-surface="dashboard"] .linkpays-static-card {
      gap: 0.8rem;
    }

    body[data-surface="dashboard"] .linkpays-static-head {
      grid-template-columns: auto minmax(0, 1fr);
      gap: 0.75rem;
    }

    body[data-surface="dashboard"] .linkpays-static-badge {
      grid-column: 1 / -1;
      justify-self: start;
    }

    body[data-surface="dashboard"] .linkpays-static-icon {
      width: 2.75rem;
      height: 2.75rem;
      font-size: 1.15rem;
    }

    body[data-surface="dashboard"] .linkpays-static-stats {
      gap: 0.45rem;
    }

    body[data-surface="dashboard"] .linkpays-static-actions {
      flex-direction: column;
      align-items: stretch;
    }

body[data-surface="dashboard"] .linkpays-static-actions .button {
  width: 100%;
}

/* ================================================================
   20260429 ADSENSE PUBLIC CONTENT LAYER
   ================================================================ */

.public-hero {
  margin-bottom: 1.4rem;
}

.public-hero-grid {
  align-items: start;
}

.public-page-stack,
.public-article-stack {
  display: grid;
  gap: 1rem;
}

.public-card-grid,
.public-blog-grid,
.public-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.public-mini-card,
.public-blog-card,
.public-section-card,
.public-faq-card {
  height: 100%;
}

.public-blog-card h3 a,
.public-contact-link {
  color: inherit;
}

.public-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.public-section-card p,
.public-faq-card p,
.public-blog-card p,
.public-mini-card p,
.guest-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.public-bullet-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.public-home-highlights {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.guest-footer {
  margin-top: 1.4rem;
}

.guest-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.guest-footer h2,
.guest-footer h3 {
  margin: 0.1rem 0 0.65rem;
}

.guest-footer-link-list {
  display: grid;
  gap: 0.5rem;
}

.guest-footer-link-list a,
.guest-footer-contact a {
  color: #eef4ff;
}

.guest-footer-link-list a:hover,
.guest-footer-contact a:hover,
.legal-consent-field a:hover,
.public-blog-card h3 a:hover,
.public-contact-link:hover {
  color: var(--orange);
}

.legal-consent-field {
  align-items: flex-start;
}

.legal-consent-field span {
  line-height: 1.65;
  color: var(--muted);
}

.legal-consent-field a {
  color: #eef4ff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 154, 61, 0.45);
}

.home-hero-grid {
  align-items: stretch;
}

.home-hero-lead {
  max-width: 38rem;
  margin-top: 1rem;
  color: #d2deed;
  line-height: 1.74;
}

.home-hero-aside {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.home-featured-guide {
  padding: 1.35rem;
}

.home-featured-guide h3,
.home-link-card h3,
.home-step-card h3,
.home-story-card h2,
.home-section-intro h2 {
  margin: 0.2rem 0 0.65rem;
}

.home-featured-guide h3 a,
.home-link-card h3 a {
  color: inherit;
}

.home-featured-guide h3 a:hover,
.home-link-card h3 a:hover {
  color: var(--orange);
}

.home-featured-guide p,
.home-story-copy p,
.home-section-intro p {
  color: var(--muted);
  line-height: 1.75;
}

.home-aside-grid {
  grid-template-columns: 1fr;
}

.home-content-stack {
  display: grid;
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.home-story-card {
  padding: 1.4rem;
}

.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.3rem;
  align-items: start;
}

.home-story-copy {
  display: grid;
  gap: 0.85rem;
}

.home-section-intro {
  max-width: 52rem;
}

.home-section-intro p {
  margin: 0;
}

.home-link-card,
.home-step-card {
  display: grid;
  align-content: start;
}

.home-link-card .button,
.home-step-card .button {
  margin-top: 0.65rem;
}

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

.public-followup-grid {
  margin-top: 1.4rem;
}

@media (max-width: 960px) {
  .home-story-grid,
  .home-workflow-grid,
  .guest-footer-grid,
  .public-card-grid,
  .public-blog-grid,
  .public-faq-grid {
    grid-template-columns: 1fr;
  }
}

    body[data-surface="dashboard"] .linkpays-toast-layer {
      right: 0.75rem;
      left: 0.75rem;
      bottom: 0.75rem;
      width: auto;
    }
  }

  .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;
}

.guest-shell-home {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}

.guest-page-home {
  min-height: 100dvh;
  padding: 0;
}

body[data-page="home"] {
  overflow: hidden;
  background: #04070b;
}

.js body[data-page="home"] {
  opacity: 1;
  transform: none;
  transition: none;
}

body[data-page="home"] .site-background,
body[data-page="home"] .site-background-overlay,
body[data-page="home"] .ambient,
body[data-page="home"] .cursor-light {
  opacity: 0;
  visibility: hidden;
}

.reference-home {
  min-height: 100dvh;
  position: relative;
  padding: 0;
  background: #04070b;
  overflow: hidden;
}

.reference-viewport {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}

.reference-stage-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, calc(100dvh * 1.5));
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.reference-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    url("/public/images/v2/34-v2-landing-hero-console-closeup.webp") center center / cover no-repeat,
    #04070b;
  transform-style: preserve-3d;
  will-change: transform;
  transform:
    perspective(1800px)
    rotateX(var(--stage-tilt-y, 0deg))
    rotateY(var(--stage-tilt-x, 0deg))
    scale3d(1, 1, 1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reference-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 16rem at var(--stage-glow-x, 56%) var(--stage-glow-y, 44%), rgba(164, 231, 255, 0.028), transparent 58%),
    radial-gradient(circle 14rem at 86% 18%, rgba(255, 162, 99, 0.022), transparent 54%);
  pointer-events: none;
}

.reference-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 7, 11, 0.008), rgba(3, 7, 11, 0.04));
  pointer-events: none;
}

.stage-hit {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 1rem;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 180ms ease, filter 180ms ease;
}

.stage-hit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(206, 232, 255, 0);
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  backdrop-filter: brightness(1) saturate(1);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.stage-hit:hover,
.stage-hit:focus-visible {
  transform: translateY(-3px) scale(1.015);
  outline: none;
}

.stage-hit:hover::before,
.stage-hit:focus-visible::before {
  border-color: rgba(214, 238, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.14),
    0 0 24px rgba(133, 213, 255, 0.08);
  backdrop-filter: brightness(1.05) saturate(1.04);
}

.stage-hit[data-stage-button] {
  border-radius: 999px;
}

.stage-hit[data-stage-button]:hover::before,
.stage-hit[data-stage-button]:focus-visible::before {
  border-color: rgba(255, 225, 194, 0.12);
  background: rgba(255, 166, 97, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.16),
    0 0 18px rgba(255, 164, 86, 0.1);
}

.stage-hit-nav-home { left: 63.3%; top: 5.15%; width: 7.2%; height: 6.7%; border-radius: 999px; }
.stage-hit-nav-login { left: 71.1%; top: 5.15%; width: 8%; height: 6.7%; border-radius: 999px; }
.stage-hit-nav-register { left: 80.4%; top: 4.75%; width: 15.1%; height: 7.8%; border-radius: 999px; }

.stage-hit-brand { left: 1.8%; top: 1.7%; width: 23.5%; height: 8.8%; border-radius: 1.1rem; }

.stage-hit-cta-primary { left: 7.1%; top: 40.8%; width: 18.8%; height: 8.4%; border-radius: 999px; }
.stage-hit-cta-secondary { left: 26.9%; top: 40.8%; width: 18.9%; height: 8.4%; border-radius: 999px; }

.stage-hit-card-control { left: 52.4%; top: 18.7%; width: 20.3%; height: 17.3%; }
.stage-hit-card-power { left: 77%; top: 18.8%; width: 18.3%; height: 17.1%; }
.stage-hit-card-latency { left: 52.7%; top: 36.4%; width: 20.1%; height: 17.5%; }
.stage-hit-card-modpack { left: 77.3%; top: 36.3%; width: 18.1%; height: 17.4%; }

.stage-hit-rail-nvme { left: 6.1%; top: 73.25%; width: 20.3%; height: 9.3%; }
.stage-hit-rail-ddos { left: 28%; top: 73.25%; width: 20.4%; height: 9.3%; }
.stage-hit-rail-legendary { left: 49.6%; top: 73.25%; width: 20.3%; height: 9.3%; }
.stage-hit-rail-support { left: 71.4%; top: 73.25%; width: 22.2%; height: 9.3%; }

@media (max-width: 980px) {
  .reference-home {
    padding: 0;
  }

  .reference-stage-shell {
    width: max(100vw, calc(100dvh * 1.5));
  }
}

@media (max-width: 720px) {
  .reference-home {
    padding: 0;
  }

  .reference-stage-shell {
    width: max(100vw, calc(100dvh * 1.5));
  }
}

body[data-page="home"] {
  overflow-x: hidden;
  overflow-y: auto;
  background: #050d18;
}

body[data-page="home"] .site-background,
body[data-page="home"] .site-background-overlay,
body[data-page="home"] .ambient,
body[data-page="home"] .cursor-light {
  opacity: 1;
  visibility: visible;
}

body[data-page="home"] .site-background {
  background:
    linear-gradient(180deg, rgba(4, 9, 15, 0.14), rgba(4, 9, 15, 0.22)),
    url("/public/images/v2/35-v2-hero-background-clean.webp") center center / cover no-repeat;
  filter: saturate(1.02) contrast(1.04) brightness(0.74) blur(0.25px);
  transform: scale(1.04);
}

body[data-page="home"] .site-background-overlay {
  background:
    radial-gradient(circle at 9% 18%, rgba(78, 217, 255, 0.14), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 149, 82, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.26), rgba(4, 8, 15, 0.5));
}

body[data-page="home"] .guest-shell-home {
  min-height: auto;
  padding: 1rem clamp(0.9rem, 1.8vw, 1.5rem) 4rem;
}

body[data-page="home"] .guest-page-home {
  min-height: 0;
  padding: 0;
}

body[data-page="home"] .guest-nav {
  width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.92rem 1.15rem;
  border-color: rgba(220, 238, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 26, 39, 0.66), rgba(10, 18, 28, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(101, 201, 255, 0.05);
}

body[data-page="home"] .guest-nav .brand {
  gap: 1rem;
}

body[data-page="home"] .brand-menu {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1.05rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

body[data-page="home"] .guest-links {
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background: rgba(255, 255, 255, 0.028);
}

body[data-page="home"] .guest-links a:not(.button) {
  padding: 0.82rem 0.98rem;
  border-radius: 999px;
  color: #dce7f8;
}

body[data-page="home"] .guest-links a:not(.button):hover {
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="home"] .guest-links .button-primary {
  padding-inline: 1.55rem;
}

.landing-section {
  margin-top: 1.25rem;
}

.landing-hero {
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.3), rgba(7, 11, 18, 0.18)),
    rgba(8, 13, 22, 0.08);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.landing-copy h2 {
  max-width: 10ch;
}

.discord-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.discord-strip h2 {
  margin-top: 0.2rem;
}

.discord-strip p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  body[data-page="home"] .guest-shell-home {
    padding: 0.8rem 0.8rem 3rem;
  }

  .discord-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .discord-strip .button-row,
  .discord-strip .button {
    width: 100%;
  }
}

.landing-hero {
  min-height: clamp(34rem, 78svh, 50rem);
  padding: clamp(1.35rem, 2vw, 1.9rem);
}

.landing-grid-premium {
  grid-template-columns: minmax(320px, 0.86fr) minmax(430px, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  align-items: center;
}

.hero-kicker {
  margin: -0.1rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: #dca064;
  letter-spacing: 0.06em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.hero-meta .trust-line {
  margin: 0;
}

.hero-feature-grid-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "launch earn"
    "launch control";
  gap: 1rem;
  align-self: center;
  max-width: 48rem;
  width: 100%;
  justify-self: end;
}

.premium-feature {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(214, 236, 255, 0.22);
  background:
    radial-gradient(circle at 14% 14%, rgba(106, 214, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 158, 86, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(24, 35, 50, 0.58), rgba(7, 12, 20, 0.38));
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(123, 208, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(111, 203, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.premium-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(91, 193, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.premium-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 242, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 44px rgba(0, 0, 0, 0.26),
    0 0 42px rgba(114, 206, 255, 0.12);
}

.premium-feature-large {
  grid-area: launch;
  min-height: 23.75rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.premium-feature-top {
  grid-area: earn;
}

.premium-feature-bottom {
  grid-area: control;
}

.premium-feature-side {
  min-height: 11.8rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.premium-feature-media,
.premium-feature-copy {
  position: relative;
  z-index: 1;
}

.premium-feature-media {
  width: 5rem;
  height: 5rem;
  border-radius: 1.45rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 227, 255, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(24, 36, 52, 0.96), rgba(8, 14, 22, 0.86));
  border: 1px solid rgba(211, 236, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.2),
    0 0 22px rgba(98, 201, 255, 0.08);
}

.premium-feature-media-large {
  width: 6.6rem;
  height: 6.6rem;
}

.premium-feature-media img {
  width: 3.55rem;
  height: 3.55rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(95, 203, 255, 0.18));
}

.premium-feature-media-large img {
  width: 4.9rem;
  height: 4.9rem;
}

.premium-feature-copy small {
  display: block;
  margin-bottom: 0.35rem;
  color: #9eb3cd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-feature-copy h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: #f4f8ff;
}

.premium-feature-copy p {
  margin: 0;
  color: #d0dbea;
  line-height: 1.62;
}

.premium-feature-large .premium-feature-copy p {
  max-width: 28ch;
}

.premium-feature-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.95rem;
}

.premium-feature-note span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(215, 236, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e7f8;
  font-size: 0.82rem;
}

.landing-story {
  max-width: 54rem;
  margin: 1.8rem auto 0;
  padding: 0.4rem 0 0.2rem;
  text-align: center;
}

.landing-story h2 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}

.landing-story p:last-child {
  color: #d2deee;
  line-height: 1.72;
}

@media (max-width: 1200px) {
  .landing-grid-premium {
    grid-template-columns: 1fr;
  }

  .hero-feature-grid-premium {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 820px) {
  .hero-feature-grid-premium {
    grid-template-columns: 1fr;
    grid-template-areas:
      "launch"
      "earn"
      "control";
  }

  .premium-feature-large,
  .premium-feature-side {
    min-height: auto;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

body[data-page="home"] {
  overflow-x: hidden;
  overflow-y: auto;
  background: #050b12;
}

body[data-page="home"] .guest-shell-home {
  width: 100%;
  max-width: none;
  padding: 1rem clamp(0.9rem, 2vw, 1.6rem) 3.4rem;
}

body[data-page="home"] .guest-nav {
  position: sticky;
  top: 1rem;
  width: 100%;
  margin: 0 auto 1rem;
  padding: 0.86rem 1rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(228, 238, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 27, 40, 0.72), rgba(9, 16, 26, 0.54)),
    rgba(7, 13, 22, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 26px rgba(90, 205, 255, 0.05);
  backdrop-filter: blur(26px) saturate(1.06);
}

body[data-page="home"] .guest-nav::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(105, 217, 255, 0.07), transparent 28%, transparent 72%, rgba(255, 173, 104, 0.07));
  pointer-events: none;
  opacity: 0.9;
}

body[data-page="home"] .guest-nav .brand {
  gap: 0.95rem;
  margin: 0;
}

body[data-page="home"] .brand-menu {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

body[data-page="home"] .brand-mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.08rem;
  background:
    radial-gradient(circle at 28% 26%, rgba(121, 235, 255, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(14, 27, 41, 0.98), rgba(8, 15, 24, 0.92));
  border: 1px solid rgba(223, 240, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(102, 210, 255, 0.08);
}

body[data-page="home"] .brand-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

body[data-page="home"] .guest-brand-copy .brand-wordmark {
  font-size: clamp(1.6rem, 2vw, 2.15rem);
}

body[data-page="home"] .guest-brand-tagline {
  opacity: 0.9;
}

body[data-page="home"] .guest-links {
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(223, 238, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .guest-links a:not(.button) {
  padding: 0.82rem 1rem;
  border-radius: 999px;
  color: #dbe7f8;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

body[data-page="home"] .guest-links a:not(.button):hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

body[data-page="home"] .guest-links .button-primary {
  padding-inline: 1.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(255, 160, 84, 0.22);
}

.landing-hero {
  --hero-glow-x: 28%;
  --hero-glow-y: 38%;
  --hero-drift-x: 0px;
  --hero-drift-y: 0px;
  position: relative;
  min-height: auto;
  padding: clamp(1.1rem, 2vw, 1.7rem);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(6, 10, 16, 0.18), rgba(5, 9, 15, 0.12)),
    rgba(7, 13, 22, 0.08);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.landing-grid-premium {
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1fr);
  gap: clamp(1.5rem, 2.8vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-stage-effects {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-stage-effects::before,
.hero-stage-effects::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-stage-effects::before {
  background:
    radial-gradient(circle 280px at var(--hero-glow-x) var(--hero-glow-y), rgba(122, 223, 255, 0.11), transparent 70%),
    radial-gradient(circle 220px at calc(var(--hero-glow-x) + 12%) calc(var(--hero-glow-y) - 14%), rgba(255, 176, 104, 0.08), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-stage-effects::after {
  background:
    linear-gradient(112deg, transparent 0%, rgba(255, 255, 255, 0.035) 32%, transparent 48%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.02));
  opacity: 0.7;
}

.hero-stage-orb,
.hero-stage-ring,
.hero-stage-trace {
  position: absolute;
  pointer-events: none;
}

.hero-stage-orb {
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.4;
}

.hero-stage-orb-cyan {
  top: 10%;
  left: 46%;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(108, 221, 255, 0.22), transparent 72%);
  transform: translate3d(calc(var(--hero-drift-x) * 0.35), calc(var(--hero-drift-y) * 0.35), 0);
}

.hero-stage-orb-amber {
  right: 12%;
  bottom: 14%;
  width: 9rem;
  height: 9rem;
  background: radial-gradient(circle, rgba(255, 173, 104, 0.18), transparent 70%);
  transform: translate3d(calc(var(--hero-drift-x) * -0.28), calc(var(--hero-drift-y) * -0.28), 0);
}

.hero-stage-ring {
  border: 1px solid rgba(220, 238, 255, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-stage-ring-a {
  top: 16%;
  right: 26%;
  width: 18rem;
  height: 18rem;
  transform: translate3d(calc(var(--hero-drift-x) * 0.18), calc(var(--hero-drift-y) * 0.18), 0) rotate(12deg);
}

.hero-stage-ring-b {
  bottom: 10%;
  left: 38%;
  width: 12rem;
  height: 12rem;
  transform: translate3d(calc(var(--hero-drift-x) * -0.15), calc(var(--hero-drift-y) * -0.15), 0) rotate(-14deg);
}

.hero-stage-trace {
  height: 2px;
  border-radius: 999px;
  opacity: 0.32;
}

.hero-stage-trace-a {
  top: 26%;
  right: 18%;
  width: 10rem;
  background: linear-gradient(90deg, transparent, rgba(104, 222, 255, 0.55), transparent);
  transform: translate3d(calc(var(--hero-drift-x) * 0.22), calc(var(--hero-drift-y) * 0.22), 0) rotate(-18deg);
}

.hero-stage-trace-b {
  bottom: 24%;
  left: 48%;
  width: 9rem;
  background: linear-gradient(90deg, transparent, rgba(255, 177, 108, 0.5), transparent);
  transform: translate3d(calc(var(--hero-drift-x) * -0.18), calc(var(--hero-drift-y) * -0.18), 0) rotate(16deg);
}

.landing-copy {
  max-width: 34rem;
}

.landing-copy h2 {
  max-width: 8ch;
  font-size: clamp(3rem, 4.9vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
}

.landing-copy .lead {
  max-width: 42ch;
  color: #d4deec;
  line-height: 1.72;
}

.hero-kicker {
  margin: -0.12rem 0 1rem;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  color: #e7aa69;
  text-shadow: 0 10px 18px rgba(231, 170, 105, 0.14);
}

.hero-hover-tag {
  margin-bottom: 0.95rem;
}

.hero-hover-tag-display {
  display: inline-flex;
  width: fit-content;
  max-width: 18ch;
  margin: 0.15rem 0 1.3rem;
  padding: 0.9rem 1.18rem;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(18, 28, 41, 0.72), rgba(10, 17, 28, 0.58));
  border-color: rgba(225, 239, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.2),
    0 0 18px rgba(103, 210, 255, 0.05);
  backdrop-filter: blur(16px);
}

.hero-meta {
  margin-top: 1.1rem;
  gap: 0.7rem;
}

.hero-feature-grid-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "launch earn"
    "launch control";
  gap: 1rem;
  max-width: 46rem;
  justify-self: end;
  align-items: stretch;
}

.premium-feature {
  padding: 1.3rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(220, 238, 255, 0.18);
  background:
    radial-gradient(circle at 14% 14%, rgba(106, 214, 255, 0.1), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(255, 166, 92, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(18, 28, 41, 0.88), rgba(9, 15, 24, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px) saturate(1.04);
  overflow: hidden;
}

.premium-feature::before,
.premium-feature::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.premium-feature::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, transparent 58%, rgba(96, 206, 255, 0.05) 100%);
  opacity: 0.85;
}

.premium-feature::after {
  top: -18%;
  right: -12%;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 72%);
  opacity: 0.35;
}

.premium-feature-large {
  min-height: 25rem;
  display: grid;
  gap: 1rem;
  grid-template-rows: auto 1fr;
}

.premium-feature-side {
  min-height: 12rem;
}

.premium-feature-media {
  width: 4.85rem;
  height: 4.85rem;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 227, 255, 0.26), transparent 42%),
    linear-gradient(180deg, rgba(24, 36, 52, 0.96), rgba(8, 14, 22, 0.86));
  border: 1px solid rgba(223, 238, 255, 0.12);
}

.premium-feature-media-large {
  width: 100%;
  height: 11.5rem;
  padding: 0.9rem;
  border-radius: 1.65rem;
  justify-self: stretch;
  background:
    radial-gradient(circle at 18% 18%, rgba(120, 223, 255, 0.18), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(255, 173, 108, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(22, 34, 48, 0.94), rgba(9, 15, 23, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 30px rgba(0, 0, 0, 0.16);
  position: relative;
}

.premium-feature-media img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}

.premium-feature-media-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(91, 198, 255, 0.18));
}

.premium-feature-media-large::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 238, 255, 0.16), transparent);
}

.premium-feature-copy small {
  color: #9cb1cb;
}

.premium-feature-copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.24rem, 2vw, 1.78rem);
}

.premium-feature-copy p {
  color: #d2ddec;
  max-width: 30ch;
  line-height: 1.68;
}

.premium-feature-large .premium-feature-copy p {
  max-width: 31ch;
}

.premium-feature-note span {
  background: rgba(255, 255, 255, 0.05);
}

.landing-story {
  max-width: 56rem;
  margin: 2.2rem auto 0;
  text-align: center;
}

.landing-story h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.landing-story p:last-child {
  max-width: 50rem;
  margin: 0 auto;
}

.discord-strip {
  margin-top: 1.8rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(104, 217, 255, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(19, 30, 44, 0.82), rgba(10, 17, 28, 0.72));
  border: 1px solid rgba(220, 238, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 36px rgba(0, 0, 0, 0.16);
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.media-preview-card {
  padding: 1.1rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.media-preview-card .eyebrow {
  margin-top: 0;
}

.media-preview-frame {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(110, 216, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(17, 27, 40, 0.9), rgba(10, 16, 26, 0.78));
}

.media-preview-frame img {
  max-width: 100%;
  max-height: 12rem;
  object-fit: contain;
}

.media-preview-frame-logo img {
  max-height: 5.75rem;
}

@media (max-width: 1200px) {
  .landing-grid-premium {
    grid-template-columns: 1fr;
  }

  .hero-feature-grid-premium {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .media-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body[data-page="home"] .guest-shell-home {
    padding: 0.9rem 0.9rem 3rem;
  }

  body[data-page="home"] .guest-nav {
    padding: 0.9rem;
  }

  .landing-copy h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    max-width: 8ch;
  }

  .hero-hover-tag-display {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-stage-ring,
  .hero-stage-trace {
    display: none;
  }

  .hero-feature-grid-premium {
    grid-template-columns: 1fr;
    grid-template-areas:
      "launch"
      "earn"
      "control";
  }

  .premium-feature-large,
  .premium-feature-side {
    min-height: auto;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.resource-balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1rem;
}

.resource-balance-card {
  padding: 1rem 1.05rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background:
    radial-gradient(circle at 16% 18%, rgba(90, 214, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(16, 25, 37, 0.8), rgba(9, 15, 26, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 30px rgba(0, 0, 0, 0.18);
}

.resource-balance-card small,
.server-balance-grid small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.resource-balance-card strong,
.server-balance-grid strong {
  display: block;
  font-size: 1.05rem;
}

.resource-balance-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.server-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: 1.2rem;
  align-items: start;
}

.resource-preview-stack {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 166, 90, 0.09), transparent 22%),
    linear-gradient(180deg, rgba(18, 28, 42, 0.82), rgba(10, 17, 29, 0.76));
}

.server-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.95rem 0 1rem;
}

.server-balance-grid > div {
  padding: 0.8rem 0.9rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.upgrade-tease-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.resource-edit-form {
  max-width: 58rem;
}

.offer-action-form {
  display: inline-flex;
}

.offer-session-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(220, 238, 255, 0.08);
  background:
    radial-gradient(circle at 85% 20%, rgba(69, 208, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(17, 28, 43, 0.82), rgba(10, 17, 29, 0.8));
}

.offer-session-note strong {
  font-size: 0.96rem;
}

.offer-session-note small {
  color: var(--muted);
  line-height: 1.6;
}

.media-upload-card .media-preview-frame {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .server-create-layout,
  .upgrade-tease-card,
  .store-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   DELETE SERVER MODAL
   ================================================================ */

.delete-server-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.delete-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.delete-modal-content {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  border-radius: 1.6rem;
  border: 1px solid color-mix(in srgb, var(--red) 22%, var(--line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    rgba(7, 16, 30, 0.97);
  backdrop-filter: blur(24px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.48),
    0 0 48px color-mix(in srgb, var(--red) 10%, transparent);
  overflow: hidden;
}

.delete-modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.7;
}

.delete-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem 0;
}

.delete-modal-header h3 {
  margin: 0;
  color: var(--red);
  font-family: "Space Grotesk", sans-serif;
}

.delete-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.delete-modal-close:hover {
  background: color-mix(in srgb, var(--red) 14%, transparent);
  color: var(--red);
}

.delete-modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.delete-warning {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--red) 20%, var(--line));
  background: color-mix(in srgb, var(--red) 6%, transparent);
}

.delete-warning strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.delete-warning p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.delete-confirm-form {
  display: grid;
  gap: 1rem;
}

.delete-field {
  display: grid;
  gap: 0.4rem;
}

.delete-field span {
  font-size: 0.92rem;
  color: var(--muted);
}

.delete-field input {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.delete-field input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--red) 40%, var(--line));
  box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--red) 14%, transparent);
}

.delete-confirm-form .button-danger {
  margin-top: 0.5rem;
  width: 100%;
}

/* ================================================================
   PREMIUM 3D DEPTH SYSTEM — Ultra-visible edition
   ================================================================ */

:root {
  --depth-xs: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  --depth-sm: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  --depth-md: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --depth-lg: 0 20px 60px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 1px rgba(255, 255, 255, 0.06);
  --depth-xl: 0 32px 80px rgba(0, 0, 0, 0.6), 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.08);
  --depth-hover: 0 28px 70px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.35);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --highlight-inner: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 100%);
  --glass-border: rgba(255, 255, 255, 0.12);
  --accent-glow: rgba(69, 208, 255, 0.15);
  --card-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
}

/* Panel cards — prominent floating 3D cards with glass shine */
.panel-card,
.metric-card,
.server-card,
.modal-panel {
  box-shadow: var(--depth-lg), var(--highlight-top);
  border: 1px solid var(--glass-border);
  background-image: var(--card-shine);
  background-blend-mode: lighten;
  position: relative;
}

.panel-card::before,
.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
  z-index: 1;
}

.panel-card:hover,
.server-card:hover,
.metric-card:hover {
  transform: translateY(-8px) scale(1.008);
  box-shadow: var(--depth-xl), var(--highlight-top), 0 0 40px var(--accent-glow);
  border-color: rgba(69, 208, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Nested panels — inset 3D with visible depth contrast */
.nested-panel {
  box-shadow: var(--depth-sm), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.nested-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--depth-md), var(--highlight-inner);
  border-color: rgba(69, 208, 255, 0.16);
}

/* Sidebar — deep floating panel with edge glow */
.sidebar {
  box-shadow: var(--depth-xl), var(--highlight-top), 4px 0 30px rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 30%);
}

/* Topbar — raised bar with bottom edge */
.topbar {
  box-shadow: var(--depth-sm), 0 1px 0 rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons — prominent 3D with press effect */
.button {
  box-shadow: var(--depth-sm), var(--highlight-top);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--depth-md), var(--highlight-top);
}

.button:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: var(--depth-xs);
}

.button-primary {
  box-shadow: 0 8px 28px color-mix(in srgb, var(--lime) 40%, transparent), 0 0 20px color-mix(in srgb, var(--lime) 20%, transparent), var(--highlight-top);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--lime) 50%, transparent), 0 0 30px color-mix(in srgb, var(--lime) 25%, transparent), var(--highlight-top);
}

.button-secondary {
  box-shadow: var(--depth-md), var(--highlight-top);
}

.button-danger {
  box-shadow: 0 6px 24px rgba(255, 97, 120, 0.3), var(--highlight-top);
}

.button-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 97, 120, 0.4), var(--highlight-top);
}

/* Input fields — deep inset 3D */
input,
textarea,
select {
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

input:focus,
textarea:focus,
select:focus {
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 3px color-mix(in srgb, var(--glow) 80%, transparent),
    0 0 20px color-mix(in srgb, var(--glow) 40%, transparent);
  border-color: rgba(69, 208, 255, 0.3);
}

/* Resource balance cards — raised tiles with glow */
.resource-balance-card {
  box-shadow: var(--depth-sm), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  background-image: var(--card-shine);
  position: relative;
}

.resource-balance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--depth-lg), var(--highlight-top), 0 0 30px var(--accent-glow);
  border-color: rgba(69, 208, 255, 0.18);
}

/* Server balance grid items — layered tiles */
.server-balance-grid > div {
  box-shadow: var(--depth-sm), var(--highlight-inner);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.server-balance-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--depth-md), var(--highlight-top);
}

/* Offer cards — elevated with dramatic glow */
.offer-card {
  box-shadow: var(--depth-xl), var(--highlight-top);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: var(--card-shine);
  position: relative;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--depth-xl), var(--highlight-top), 0 0 50px var(--accent-glow);
  border-color: rgba(69, 208, 255, 0.22);
}

/* Sidebar links — depth on interaction */
.sidebar-link:hover,
.sidebar-link.active {
  box-shadow: var(--depth-sm);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
}

/* Status pills — micro depth with border */
.status-pill,
.status-badge {
  box-shadow: var(--depth-xs);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* User menu panel — floating dropdown depth */
.user-menu-panel {
  box-shadow: var(--depth-xl), var(--highlight-top), 0 0 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Flash messages — raised with glow */
.flash {
  box-shadow: var(--depth-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Signal cards on dashboard — elevated stats with dramatic 3D */
.signal-card {
  box-shadow: var(--depth-md), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  background-image: var(--card-shine);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease;
  position: relative;
}

.signal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
  border-radius: 1.1rem 1.1rem 0 0;
}

.signal-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: var(--depth-lg), var(--highlight-top), 0 0 30px var(--accent-glow);
  border-color: rgba(69, 208, 255, 0.15);
}

/* Guest nav — floating glass bar with strong depth */
.guest-nav {
  box-shadow: var(--depth-xl), var(--highlight-top);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* List rows — interactive depth */
.list-link {
  box-shadow: var(--depth-xs);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.list-link:hover {
  box-shadow: var(--depth-md);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Step items — raised interactive tiles */
.step-item {
  box-shadow: var(--depth-sm), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--depth-md), var(--highlight-top);
}

/* Data tables — inset container with border */
.table-wrap {
  box-shadow: var(--depth-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.2rem;
}

/* Sidebar hero card — accent elevation */
.sidebar-hero {
  box-shadow: var(--depth-md), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image: var(--card-shine);
}

/* Announcement bar — floating pill */
.announcement-bar {
  box-shadow: var(--depth-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand mark — glossy elevated icon */
.brand-mark {
  box-shadow:
    0 10px 30px color-mix(in srgb, var(--orange) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 20px color-mix(in srgb, var(--orange) 15%, transparent);
}

/* LinkPays card — premium elevated card */
.linkpays-static-card {
  box-shadow:
    var(--depth-xl),
    0 0 50px rgba(139, 92, 246, 0.15),
    var(--highlight-top);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Toast notifications — floating above */
.linkpays-toast {
  box-shadow: var(--depth-xl), 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Checkbox fields — subtle inset */
.checkbox-field {
  box-shadow: var(--depth-xs), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Auth register prompt — layered panel */
.auth-register-prompt {
  box-shadow: var(--depth-md), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image: var(--card-shine);
}

/* Resource preview stack — layered depth */
.resource-preview-stack {
  box-shadow: var(--depth-md), var(--highlight-inner);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

/* Idle state display on server cards */
.idle-state-display {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  margin-top: 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  box-shadow: var(--depth-xs), var(--highlight-inner);
}

.idle-state-display .idle-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.idle-state-display.state-active {
  border-color: color-mix(in srgb, var(--green) 24%, var(--line));
}

.idle-state-display.state-active .idle-icon {
  color: var(--green);
}

.idle-state-display.state-countdown {
  border-color: color-mix(in srgb, var(--lime) 24%, var(--line));
}

.idle-state-display.state-countdown .idle-icon {
  color: var(--lime);
}

/* ================================================================
   NODE LOCATION SELECTOR — Compact grouped node picker
   ================================================================ */

.node-location-selector {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border, #2a2a3e);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg, #12121e);
}

.node-group-flat {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.node-location-group {
  border-bottom: 1px solid var(--border, #2a2a3e);
}

.node-location-group:last-child {
  border-bottom: none;
}

.node-location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  cursor: pointer;
  color: var(--text, #eee);
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.node-location-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.node-location-header.open {
  background: rgba(255, 255, 255, 0.04);
}

.node-location-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-location-icon {
  font-size: 1.1em;
}

.node-location-sub {
  font-size: 0.78rem;
  color: var(--text-muted, #888);
  font-weight: 400;
}

.node-location-count {
  font-size: 0.78rem;
  color: var(--text-muted, #888);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.node-location-body {
  display: none;
  flex-direction: column;
  gap: 0;
}

.node-location-body.open {
  display: flex;
}

.node-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  color: var(--text, #eee);
  font-size: 0.84rem;
  transition: background 0.12s ease, box-shadow 0.12s ease;
  text-align: left;
}

.node-option:hover:not(.node-disabled):not(.node-selected) {
  background: rgba(255, 255, 255, 0.05);
}

.node-option.node-selected {
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 3px 0 0 0 var(--accent, #6366f1);
  color: var(--accent-text, #a5b4fc);
}

.node-option.node-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.node-option-name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.node-option-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted, #888);
}

.node-capacity {
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
}

/* Mobile depth adjustments — still dramatic but slightly lighter */
@media (max-width: 768px) {
  :root {
    --depth-lg: 0 14px 40px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.28), 0 0 1px rgba(255, 255, 255, 0.05);
    --depth-xl: 0 20px 54px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.06);
    --depth-hover: 0 16px 44px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .panel-card:hover,
  .server-card:hover,
  .metric-card:hover {
    transform: translateY(-4px);
  }
}

/* ================================================================
   20260418 REFINED POLISH REFRESH
   ================================================================ */

:root {
  --depth-xs: 0 2px 8px rgba(0, 0, 0, 0.18);
  --depth-sm: 0 10px 24px rgba(2, 8, 18, 0.22), 0 2px 6px rgba(0, 0, 0, 0.16);
  --depth-md: 0 16px 38px rgba(2, 8, 18, 0.28), 0 4px 12px rgba(0, 0, 0, 0.18);
  --depth-lg: 0 24px 58px rgba(2, 8, 18, 0.34), 0 8px 20px rgba(0, 0, 0, 0.2);
  --depth-xl: 0 32px 74px rgba(2, 8, 18, 0.4), 0 12px 28px rgba(0, 0, 0, 0.22);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --highlight-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  --card-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 24%, transparent 100%);
  --accent-glow: rgba(69, 208, 255, 0.12);
  --warm-glow: rgba(255, 154, 61, 0.16);
}

.panel-card,
.metric-card,
.server-card,
.modal-panel {
  border: 1px solid rgba(198, 222, 255, 0.12);
  background:
    radial-gradient(circle at 14% 16%, rgba(69, 208, 255, 0.065), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 154, 61, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015) 18%, transparent 38%),
    var(--panel);
  box-shadow: var(--depth-lg), var(--highlight-top);
  background-blend-mode: screen, screen, normal, normal;
}

.panel-card:hover,
.server-card:hover,
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--depth-xl), var(--highlight-top), 0 0 26px var(--accent-glow);
  border-color: rgba(118, 214, 255, 0.2);
}

.nested-panel,
.resource-preview-stack,
.offer-card,
.resource-balance-card,
.signal-card,
.server-balance-grid > div {
  border: 1px solid rgba(198, 222, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 18, 31, 0.72);
  box-shadow: var(--depth-sm), var(--highlight-inner);
}

.workspace-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(69, 208, 255, 0.08), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 154, 61, 0.07), transparent 22%),
    linear-gradient(180deg, rgba(15, 30, 53, 0.92), rgba(9, 20, 37, 0.86));
  box-shadow: var(--depth-xl), var(--highlight-top);
}

.workspace-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 208, 255, 0.09), transparent 68%);
  pointer-events: none;
}

.metric-inline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-card {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 6.25rem;
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  overflow: hidden;
}

.signal-card small {
  display: block;
  color: #93a9c7;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #f6f8fd;
}

.resource-balance-card {
  border-radius: 1.3rem;
}

.resource-balance-card strong {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.resource-balance-card span {
  color: #a7bdd8;
}

.server-balance-grid > div {
  border-radius: 1rem;
  padding: 0.9rem 0.95rem;
}

input,
textarea,
select {
  color-scheme: dark;
  border: 1px solid rgba(183, 211, 246, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(8, 18, 31, 0.88);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(2, 8, 18, 0.18);
}

select option,
select optgroup {
  background: #0c1626;
  color: #eef4ff;
  box-shadow: 0 0 0 100vmax #0c1626 inset;
  -webkit-text-fill-color: #eef4ff;
}

select option:checked {
  background: color-mix(in srgb, var(--orange) 26%, #0c1626);
  color: #fff5eb;
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--orange) 26%, #0c1626) inset;
  -webkit-text-fill-color: #fff5eb;
}

.topbar-search,
.topbar-pill,
.user-menu-trigger .user-chip,
.user-chip {
  border: 1px solid rgba(187, 214, 247, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 18, 30, 0.72);
  box-shadow: var(--depth-sm), var(--highlight-top);
}

.topbar-search:hover,
.topbar-pill:hover,
.user-menu-trigger:hover .user-chip {
  border-color: rgba(122, 215, 255, 0.18);
}

.button {
  min-height: 3.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button-primary {
  background: linear-gradient(135deg, #ffc781 0%, #ff9a3d 48%, #ff7d36 100%);
  border-color: rgba(255, 199, 129, 0.32);
  color: #09131f;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 237, 0.55),
    0 16px 34px rgba(255, 146, 63, 0.28),
    0 0 24px rgba(255, 154, 61, 0.14);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 237, 0.62),
    0 18px 40px rgba(255, 146, 63, 0.34),
    0 0 28px rgba(255, 154, 61, 0.18);
}

.button-primary:disabled {
  opacity: 0.92;
  color: #ced7e5;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(78, 61, 42, 0.9), rgba(46, 37, 28, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(0, 0, 0, 0.22);
  transform: none;
}

.button-secondary {
  border-color: rgba(198, 222, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(31, 46, 69, 0.94), rgba(11, 20, 34, 0.88));
  box-shadow: var(--depth-sm), var(--highlight-top);
}

.button-ghost {
  border-color: rgba(198, 222, 255, 0.11);
  background: rgba(8, 18, 30, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .landing-hero {
  border: 1px solid rgba(198, 222, 255, 0.12);
  background:
    radial-gradient(circle at 14% 18%, rgba(69, 208, 255, 0.08), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255, 154, 61, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 15, 25, 0.58), rgba(5, 10, 17, 0.28)),
    rgba(7, 13, 22, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--depth-xl);
}

body[data-page="home"] .landing-copy h2 {
  text-shadow: 0 22px 36px rgba(0, 0, 0, 0.42);
}

.premium-feature {
  border-color: rgba(198, 222, 255, 0.12);
  box-shadow:
    var(--depth-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.premium-feature:hover {
  transform: translateY(-5px);
  box-shadow:
    var(--depth-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(69, 208, 255, 0.12);
}

.guest-nav,
.sidebar-hero {
  border-color: rgba(198, 222, 255, 0.11);
  box-shadow: var(--depth-md), var(--highlight-top);
}

@media (max-width: 900px) {
  .signal-card {
    min-height: auto;
  }
}

/* ================================================================
   20260418 MAXIMUM 3D DEPTH REINFORCEMENT
   ================================================================ */

:root {
  --depth-sm: 0 14px 28px rgba(1, 6, 14, 0.26), 0 3px 8px rgba(0, 0, 0, 0.18);
  --depth-md: 0 22px 46px rgba(1, 6, 14, 0.34), 0 6px 16px rgba(0, 0, 0, 0.22);
  --depth-lg: 0 30px 68px rgba(1, 6, 14, 0.42), 0 10px 24px rgba(0, 0, 0, 0.26);
  --depth-xl: 0 42px 92px rgba(1, 6, 14, 0.5), 0 16px 34px rgba(0, 0, 0, 0.28);
  --accent-glow: rgba(69, 208, 255, 0.17);
  --warm-glow: rgba(255, 154, 61, 0.22);
}

.site-background-overlay {
  background:
    radial-gradient(circle at 10% 16%, rgba(90, 221, 255, 0.16), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(255, 145, 78, 0.16), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(69, 208, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.4), rgba(4, 10, 17, 0.56));
}

.cursor-light {
  background:
    radial-gradient(circle 360px at var(--cursor-x) var(--cursor-y), rgba(164, 226, 255, 0.18), transparent 72%);
}

.panel-card,
.metric-card,
.server-card,
.modal-panel,
.premium-feature,
.guest-nav,
.sidebar-hero,
.nested-panel,
.resource-preview-stack {
  position: relative;
}

.panel-card::after,
.server-card::after,
.metric-card::after,
.premium-feature::after,
.nested-panel::after,
.resource-preview-stack::after {
  content: "";
  position: absolute;
  inset: auto 1.15rem 0.85rem 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.panel-card,
.metric-card,
.server-card,
.modal-panel {
  box-shadow:
    var(--depth-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 0 26px rgba(69, 208, 255, 0.05);
}

.panel-card:hover,
.server-card:hover,
.metric-card:hover {
  transform: translateY(-7px) scale(1.008);
  box-shadow:
    0 48px 105px rgba(1, 6, 14, 0.56),
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 0 34px var(--accent-glow);
}

.nested-panel,
.resource-preview-stack,
.resource-balance-card,
.signal-card,
.server-balance-grid > div,
.offer-card {
  box-shadow:
    var(--depth-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.nested-panel:hover,
.resource-preview-stack:hover,
.resource-balance-card:hover,
.signal-card:hover,
.server-balance-grid > div:hover,
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--depth-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 26px var(--accent-glow);
}

.workspace-hero {
  border-radius: 1.8rem;
  box-shadow:
    0 40px 88px rgba(1, 6, 14, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px rgba(69, 208, 255, 0.08);
}

.workspace-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 76%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 22% 18%, rgba(69, 208, 255, 0.12), transparent 24%);
  pointer-events: none;
}

.landing-hero {
  box-shadow:
    0 38px 86px rgba(1, 6, 14, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(69, 208, 255, 0.06);
}

body[data-page="home"] .landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.07), transparent 18%, transparent 74%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 72% 18%, rgba(255, 154, 61, 0.12), transparent 20%);
  pointer-events: none;
}

.premium-feature {
  box-shadow:
    var(--depth-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(69, 208, 255, 0.04);
}

.premium-feature:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    var(--depth-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 32px rgba(69, 208, 255, 0.12),
    0 0 22px rgba(255, 154, 61, 0.08);
}

.topbar-search,
.topbar-pill,
.user-menu-trigger .user-chip,
.user-chip,
.guest-links {
  box-shadow:
    var(--depth-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button {
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button-primary,
.button-secondary,
.button-ghost,
.button-danger {
  position: relative;
  overflow: hidden;
}

.button-primary::before,
.button-secondary::before,
.button-ghost::before,
.button-danger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%);
  opacity: 0.7;
  pointer-events: none;
}

.button-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 237, 0.62),
    inset 0 -2px 0 rgba(148, 77, 27, 0.28),
    0 22px 42px rgba(255, 146, 63, 0.34),
    0 0 26px rgba(255, 154, 61, 0.18);
}

.button-secondary {
  box-shadow:
    var(--depth-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-ghost {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(1, 6, 14, 0.18);
}

.button:hover {
  transform: translateY(-4px) scale(1.015);
}

.button:active {
  transform: translateY(0) scale(0.995);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 237, 0.68),
    inset 0 -2px 0 rgba(148, 77, 27, 0.32),
    0 26px 52px rgba(255, 146, 63, 0.38),
    0 0 30px rgba(255, 154, 61, 0.2);
}

.signal-card {
  min-height: 6.7rem;
}

.signal-card strong,
.resource-balance-card strong {
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

/* UI restore: screenshot-driven landing and older desktop shell */
body[data-page="home"] {
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 14% 22%, rgba(73, 217, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(73, 217, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #04111b 0%, #061521 46%, #040c14 100%);
}

body[data-page="home"] .guest-shell-home {
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
  padding: 0.85rem clamp(0.7rem, 1.4vw, 1.2rem) 2.5rem;
}

body[data-page="home"] .guest-page-home {
  min-height: auto;
  padding: 0;
}

body[data-page="home"] .guest-nav-home {
  position: sticky;
  top: 1rem;
  z-index: 9;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.82rem 1rem;
  border-radius: 0;
  border: 1px solid rgba(162, 225, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(11, 27, 39, 0.92), rgba(7, 18, 29, 0.86));
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 36px rgba(1, 10, 18, 0.34),
    0 0 24px rgba(77, 214, 255, 0.06);
}

body[data-page="home"] .guest-nav-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(77, 214, 255, 0.12) 46%, transparent 54%);
  opacity: 0.24;
}

body[data-page="home"] .guest-nav-home .brand {
  position: relative;
  z-index: 1;
  margin: 0;
  gap: 0.95rem;
}

body[data-page="home"] .guest-nav-home .brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(139, 224, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

body[data-page="home"] .guest-links-home {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .guest-links-home a {
  padding: 0.72rem 1.08rem;
  border-bottom: 2px solid transparent;
  color: #d9ecfb;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

body[data-page="home"] .guest-links-home a:hover {
  color: #84e9ff;
  border-color: rgba(102, 231, 255, 0.9);
  text-shadow: 0 0 14px rgba(100, 228, 255, 0.28);
  background: transparent;
}

body[data-page="home"] .guest-auth-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95rem;
}

body[data-page="home"] .guest-auth-actions > a:not(.button) {
  color: #eef8ff;
}

body[data-page="home"] .guest-auth-actions > a:not(.button):hover {
  color: #84e9ff;
}

.landing-hero-reference {
  position: relative;
  min-height: calc(100svh - 7.2rem);
  padding: 1.2rem 1.25rem 0.85rem;
  border: 1px solid rgba(162, 225, 255, 0.12);
  border-radius: 0;
  background:
    radial-gradient(circle at var(--hero-glow-x, 28%) var(--hero-glow-y, 38%), rgba(83, 229, 255, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(4, 15, 24, 0.5), rgba(3, 10, 18, 0.2)),
    linear-gradient(115deg, rgba(22, 62, 88, 0.34) 0%, rgba(7, 20, 31, 0.04) 38%, rgba(10, 26, 39, 0.22) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 64px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(77, 214, 255, 0.06);
}

body[data-page="home"] .landing-hero-reference {
  width: 100%;
  max-width: none;
}

.landing-hero-reference::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(122deg, transparent 0%, rgba(86, 227, 255, 0.12) 47%, transparent 49%) 0 0 / 18rem 18rem,
    linear-gradient(48deg, transparent 0%, rgba(86, 227, 255, 0.11) 48%, transparent 50%) 0 0 / 15rem 15rem,
    radial-gradient(circle at 62% 50%, rgba(89, 232, 255, 0.22) 0.16rem, transparent 0.28rem),
    radial-gradient(circle at 78% 34%, rgba(89, 232, 255, 0.22) 0.18rem, transparent 0.32rem),
    radial-gradient(circle at 34% 66%, rgba(89, 232, 255, 0.16) 0.16rem, transparent 0.32rem);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.landing-hero-reference::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 14, 0.58) 0%, rgba(3, 10, 18, 0.24) 42%, rgba(3, 10, 18, 0.08) 62%, rgba(2, 8, 14, 0.42) 100%);
}

.home-hero-grid,
.home-hero-footer-rail {
  position: relative;
  z-index: 1;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.05rem;
  align-items: center;
  min-height: clamp(31rem, 70svh, 39rem);
}

.home-hero-left {
  max-width: 34rem;
  padding: 0.45rem 0 0.25rem;
}

.home-hero-signal {
  margin-bottom: 0.85rem;
  color: #67e0fb;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.home-hero-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 5.9vw, 5.05rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #f6fbff;
  text-transform: uppercase;
}

.home-hero-title span {
  color: #63defd;
  text-shadow: 0 0 22px rgba(99, 222, 253, 0.24);
}

.home-hero-lead {
  max-width: 29rem;
  margin: 0.9rem 0 0;
  color: #d7e9f8;
  font-size: 0.98rem;
  line-height: 1.62;
}

.home-hero-actions {
  margin-top: 1.1rem;
}

.home-community-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  max-width: 26rem;
  margin-top: 1.45rem;
  padding: 0.95rem 1rem;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.92), rgba(10, 17, 29, 0.88));
}

.home-community-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #7d8fff, #5e73ff);
  color: #0b1020;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 26px rgba(75, 92, 255, 0.28);
}

.home-community-copy h3,
.hero-feature-card h3,
.hero-guide-card h3,
.hero-feed-card h3 {
  margin: 0.15rem 0 0;
}

.home-community-copy p:last-child,
.hero-feed-card p:last-of-type {
  margin-bottom: 0;
}

.home-community-button {
  min-width: 5.8rem;
}

.home-hero-right {
  display: grid;
  gap: 1rem;
}

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.hero-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding: 0.95rem 1rem;
  background:
    linear-gradient(180deg, rgba(18, 26, 39, 0.94), rgba(10, 18, 30, 0.9));
}

.hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 1rem;
  border: 1px solid rgba(124, 229, 255, 0.18);
  color: #73e8ff;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(56, 227, 255, 0.08), rgba(56, 227, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-feature-card h3 {
  color: #f3fbff;
  font-size: 1rem;
}

.hero-feature-card .eyebrow {
  margin-bottom: 0.15rem;
  font-size: 0.73rem;
}

.hero-quick-panel {
  padding: 0.82rem 0.9rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.94), rgba(8, 15, 25, 0.9));
}

.hero-quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.85rem;
  align-items: stretch;
}

.hero-guide-card,
.hero-feed-card {
  min-height: 11rem;
  padding: 0.82rem 0.92rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(162, 225, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(13, 21, 33, 0.96), rgba(8, 14, 24, 0.92));
}

.hero-guide-card h3 a {
  color: #f6fbff;
}

.hero-guide-art {
  height: 5.8rem;
  margin: 0.55rem 0 0.75rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 72% 34%, rgba(111, 237, 255, 0.38), transparent 16%),
    linear-gradient(135deg, rgba(11, 37, 58, 0.92), rgba(5, 15, 25, 0.98)),
    linear-gradient(45deg, rgba(109, 238, 255, 0.12), transparent);
  border: 1px solid rgba(162, 225, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-feed-card {
  display: grid;
  align-content: start;
}

.hero-feed-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-feed-meta a {
  color: #7fe7ff;
}

.home-hero-footer-rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  padding: 0.75rem 0.8rem 0;
  border-top: 1px solid rgba(162, 225, 255, 0.12);
  color: #cfe5f6;
}

.home-hero-footer-links {
  display: inline-flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero-footer-links a,
.home-hero-footer-auth {
  color: #dceffd;
}

.home-hero-footer-auth:hover,
.home-hero-footer-links a:hover {
  color: #89ebff;
}

body[data-page="home"] .home-content-stack {
  width: 100%;
  max-width: 1660px;
  margin: 1.1rem auto 0;
  padding: 0 0 3rem;
}

body[data-page="home"] .home-section-intro {
  max-width: 48rem;
  margin: 0 auto 0.85rem;
  text-align: center;
}

body[data-page="home"] .home-section-intro h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
}

body[data-page="home"] .home-section-intro + .public-blog-grid,
body[data-page="home"] .home-section-intro + .public-card-grid {
  margin-top: 0.9rem;
}

body[data-page="home"] .home-featured-post-grid,
body[data-page="home"] .home-topic-grid,
body[data-page="home"] .home-start-grid,
body[data-page="home"] .home-trust-grid,
body[data-page="home"] .guest-footer {
  width: 100%;
  max-width: none;
}

body[data-page="home"] .home-featured-post-grid,
body[data-page="home"] .home-topic-grid,
body[data-page="home"] .home-start-grid,
body[data-page="home"] .home-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .home-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .guest-footer {
  margin-top: 1.6rem;
}

body[data-page="home"] .public-blog-card,
body[data-page="home"] .public-mini-card,
body[data-page="home"] .guest-footer,
body[data-page="guest"] .guest-footer {
  background:
    linear-gradient(180deg, rgba(13, 22, 35, 0.96), rgba(7, 14, 24, 0.92));
}

.button {
  border-radius: 0.95rem;
}

.button-primary {
  background: linear-gradient(135deg, #8af2ff 0%, #49ddff 48%, #1cc4ea 100%);
  border-color: rgba(138, 242, 255, 0.34);
  color: #04131c;
  box-shadow:
    inset 0 1px 0 rgba(240, 253, 255, 0.66),
    0 18px 38px rgba(42, 206, 241, 0.28),
    0 0 28px rgba(90, 229, 255, 0.16);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(240, 253, 255, 0.74),
    0 22px 46px rgba(42, 206, 241, 0.33),
    0 0 34px rgba(90, 229, 255, 0.2);
}

.button-primary:disabled {
  background: linear-gradient(135deg, rgba(34, 56, 69, 0.96), rgba(21, 35, 46, 0.96));
}

.button-secondary {
  border-color: rgba(166, 226, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(19, 31, 47, 0.96), rgba(9, 17, 28, 0.92));
  color: #eef9ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(1, 7, 14, 0.22);
}

.button-ghost {
  border-color: rgba(166, 226, 255, 0.12);
  background: rgba(7, 17, 28, 0.58);
  color: #dff5ff;
}

@media (min-width: 1101px) {
  .shell {
    display: grid;
    grid-template-columns: 17.25rem minmax(0, 1fr);
    gap: 0.8rem;
    max-width: 1620px;
    margin: 0 auto;
    padding: 0.8rem 0.8rem 1.2rem;
  }

  .sidebar-toggle,
  .sidebar-close,
  .sidebar-backdrop {
    display: none !important;
  }

  .sidebar {
    position: sticky;
    top: 1rem;
    bottom: auto;
    left: auto;
    width: auto;
    height: calc(100svh - 2rem);
    max-height: calc(100svh - 2rem);
    transform: none !important;
    margin: 0;
    border-radius: 1.1rem;
    padding: 1.05rem;
    background:
      linear-gradient(180deg, rgba(12, 22, 36, 0.96), rgba(7, 14, 24, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 24px 48px rgba(0, 0, 0, 0.28),
      0 0 28px rgba(77, 214, 255, 0.05);
  }

  .content-shell {
    min-height: calc(100svh - 2rem);
    border: 1px solid rgba(162, 225, 255, 0.09);
    border-radius: 1.1rem;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(8, 14, 24, 0.96), rgba(4, 9, 17, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 52px rgba(0, 0, 0, 0.26);
  }

  .topbar {
    position: sticky;
    top: 0;
    padding: 0.82rem 1rem 0.72rem;
    background:
      linear-gradient(180deg, rgba(10, 18, 30, 0.96), rgba(9, 16, 27, 0.88));
  }

  .page {
    padding: 1rem 1rem 1.35rem;
  }
}

@media (min-width: 1101px) {
  body[data-surface="dashboard"] .topbar h1 {
    font-size: clamp(1.35rem, 1.75vw, 2rem);
  }

  body[data-surface="dashboard"] .topbar-subtitle {
    font-size: 0.86rem;
  }

  body[data-surface="dashboard"] .topbar-pill,
  body[data-surface="dashboard"] .user-chip {
    min-height: 2.7rem;
    padding: 0.62rem 0.82rem;
  }

  body[data-surface="dashboard"] .topbar-search {
    min-width: min(15rem, 100%);
  }

  body[data-surface="dashboard"] .sidebar-link,
  body[data-surface="dashboard"] .sidebar-link-button {
    padding: 0.8rem 0.84rem;
  }

  body[data-surface="dashboard"] .sidebar-hero {
    padding: 0.85rem 0.9rem;
  }

  body[data-surface="dashboard"] .sidebar-hero strong {
    font-size: 1.05rem;
  }
}

body[data-surface="dashboard"] {
  --muted: #aab0bc;
  --line: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 112, 76, 0.14);
}

body[data-surface="dashboard"] .sidebar {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(19, 20, 27, 0.97), rgba(10, 12, 18, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 42px rgba(0, 0, 0, 0.34);
}

body[data-surface="dashboard"] .content-shell {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(14, 16, 22, 0.98), rgba(8, 10, 15, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 50px rgba(0, 0, 0, 0.28);
}

body[data-surface="dashboard"] .topbar {
  background:
    linear-gradient(180deg, rgba(18, 20, 28, 0.97), rgba(12, 14, 20, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-surface="dashboard"] .sidebar-hero {
  border-color: rgba(255, 146, 96, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 122, 74, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(15, 17, 23, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

body[data-surface="dashboard"] .sidebar-link,
body[data-surface="dashboard"] .sidebar-link-button {
  border-color: transparent;
  background: transparent;
  color: #edf1f8;
}

body[data-surface="dashboard"] .sidebar-link:hover,
body[data-surface="dashboard"] .sidebar-link.active,
body[data-surface="dashboard"] .sidebar-link-button:hover {
  border-color: rgba(255, 136, 90, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 124, 82, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(18, 20, 27, 0.98);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body[data-surface="dashboard"] .link-icon {
  border-color: rgba(255, 148, 100, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 124, 82, 0.13), rgba(255, 255, 255, 0.02));
  color: #ffb188;
}

body[data-surface="dashboard"] .topbar-search,
body[data-surface="dashboard"] .topbar-pill,
body[data-surface="dashboard"] .user-menu-trigger .user-chip,
body[data-surface="dashboard"] .user-chip {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(30, 32, 40, 0.94), rgba(16, 18, 24, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

body[data-surface="dashboard"] .topbar-search:hover,
body[data-surface="dashboard"] .topbar-pill:hover,
body[data-surface="dashboard"] .user-menu-trigger:hover .user-chip {
  border-color: rgba(255, 142, 94, 0.2);
}

body[data-surface="dashboard"] .button-primary {
  background: linear-gradient(135deg, #ffbe8d 0%, #ff8e4f 46%, #ef643f 100%);
  border-color: rgba(255, 190, 141, 0.34);
  color: #22110b;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 236, 0.58),
    0 16px 34px rgba(239, 100, 63, 0.28),
    0 0 22px rgba(255, 142, 79, 0.16);
}

body[data-surface="dashboard"] .button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 236, 0.66),
    0 18px 40px rgba(239, 100, 63, 0.34),
    0 0 28px rgba(255, 142, 79, 0.2);
}

body[data-surface="dashboard"] .button-secondary,
body[data-surface="dashboard"] .button-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(31, 33, 42, 0.96), rgba(14, 16, 22, 0.92));
  color: #f3f6fb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

body[data-surface="dashboard"] .button-secondary:hover,
body[data-surface="dashboard"] .button-ghost:hover {
  border-color: rgba(255, 142, 94, 0.18);
}

body[data-surface="dashboard"] .button-danger {
  background: linear-gradient(135deg, #ff8d78 0%, #f35454 50%, #c92e39 100%);
  border-color: rgba(255, 141, 120, 0.26);
  color: #fff8f8;
}

@media (max-width: 1180px) {
  body[data-page="home"] .guest-nav-home {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  body[data-page="home"] .guest-links-home,
  body[data-page="home"] .guest-auth-actions {
    justify-self: center;
  }

  .home-hero-grid,
  .hero-quick-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-featured-post-grid,
  body[data-page="home"] .home-topic-grid,
  body[data-page="home"] .home-start-grid,
  body[data-page="home"] .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-left {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .landing-hero-reference {
    padding: 1.2rem 1rem 1rem;
  }

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

  .home-community-card {
    grid-template-columns: 1fr;
  }

  .home-community-button {
    width: 100%;
  }

  .home-hero-footer-rail {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body[data-page="home"] .home-featured-post-grid,
  body[data-page="home"] .home-topic-grid,
  body[data-page="home"] .home-start-grid,
  body[data-page="home"] .home-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body[data-page="home"] .guest-shell-home {
    padding: 0.8rem 0.75rem 2.2rem;
  }

  body[data-page="home"] .guest-links-home {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }

  body[data-page="home"] .guest-links-home a,
  body[data-page="home"] .guest-auth-actions > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  body[data-page="home"] .guest-auth-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-title {
    font-size: clamp(2.8rem, 16vw, 4.3rem);
  }

  .home-hero-lead {
    font-size: 1rem;
  }
}

input,
textarea,
select {
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(1, 6, 14, 0.22);
}

select option,
select optgroup {
  background: #0c1626;
  color: #eef4ff;
}

@media (max-width: 900px) {
  .panel-card:hover,
  .server-card:hover,
  .metric-card:hover,
  .premium-feature:hover,
  .nested-panel:hover,
  .resource-preview-stack:hover,
  .resource-balance-card:hover,
  .signal-card:hover,
  .server-balance-grid > div:hover,
  .offer-card:hover {
    transform: translateY(-3px);
  }
}

body[data-surface="admin"] .admin-overview-actions {
  margin-top: 1rem;
}

body[data-surface="admin"] .admin-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

body[data-surface="admin"] .table-meta,
body[data-surface="admin"] .table-metric-stack {
  display: grid;
}

body[data-surface="admin"] .table-meta {
  gap: 0.18rem;
}

body[data-surface="admin"] .table-meta small,
body[data-surface="admin"] .table-metric-stack small {
  color: var(--muted);
}

body[data-surface="admin"] .table-metric-stack {
  gap: 0.28rem;
  min-width: 9rem;
}

/* ================================================================
   20260430 SITE-WIDE UI CLEANUP / SPACING / BRAND INTEGRATION
   ================================================================ */

:root {
  --site-shell-max: 1580px;
  --site-app-max: 1660px;
  --site-gutter-public: clamp(0.85rem, 1.45vw, 1.3rem);
  --site-gutter-app: clamp(0.7rem, 1.2vw, 1rem);
  --accent-cyan: #63defd;
  --accent-cyan-strong: #84e9ff;
  --accent-orange: #ff9a52;
}

.guest-shell {
  max-width: var(--site-shell-max);
  padding: 0.95rem var(--site-gutter-public) 3rem;
}

.brand-mark {
  background:
    linear-gradient(180deg, rgba(17, 28, 42, 0.94), rgba(9, 17, 28, 0.94));
  border: 1px solid rgba(132, 233, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(99, 222, 253, 0.08);
}

.brand-mark img {
  object-fit: cover;
}

.button-primary {
  background: linear-gradient(135deg, #ffc18f 0%, #ff9a52 46%, #ef6f32 100%);
  border-color: rgba(255, 193, 143, 0.34);
  color: #241107;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 238, 0.66),
    0 18px 36px rgba(239, 111, 50, 0.24),
    0 0 24px rgba(255, 154, 82, 0.14);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 238, 0.72),
    0 20px 42px rgba(239, 111, 50, 0.3),
    0 0 30px rgba(255, 154, 82, 0.18);
}

.button-secondary,
.button-ghost {
  border-color: rgba(150, 223, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 30, 46, 0.96), rgba(8, 16, 27, 0.92));
  color: #edf8ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 28px rgba(1, 7, 14, 0.2);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(99, 222, 253, 0.22);
  color: #ffffff;
}

body[data-page="home"] .guest-shell-home {
  max-width: 1610px;
  padding: 0.85rem clamp(0.85rem, 1.35vw, 1.12rem) 3.1rem;
}

body[data-page="home"] .guest-nav-home {
  padding: 0.72rem 0.95rem;
}

body[data-page="home"] .guest-nav-home .brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
}

body[data-page="home"] .guest-links-home a {
  padding: 0.68rem 0.98rem;
}

.landing-hero-reference {
  min-height: calc(100svh - 8rem);
  padding: 1rem 1.05rem 0.78rem;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0.95rem;
  min-height: clamp(29rem, 66svh, 36.5rem);
}

.home-hero-left {
  max-width: 31rem;
  padding-top: 0.2rem;
}

.home-hero-title {
  font-size: clamp(2.75rem, 4.9vw, 4.55rem);
}

.home-hero-lead {
  max-width: 27.5rem;
  margin-top: 0.8rem;
  font-size: 0.96rem;
  line-height: 1.58;
}

.home-hero-actions {
  margin-top: 1rem;
  gap: 0.72rem;
}

.hero-feature-grid {
  gap: 0.95rem 1rem;
  max-width: 37.25rem;
}

.hero-feature-card {
  padding: 1rem 1.05rem;
  min-height: 0;
}

.hero-feature-card h3 {
  font-size: 0.96rem;
  line-height: 1.42;
}

.hero-feature-icon {
  min-width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
}

.hero-quick-panel {
  padding: 1rem;
}

.hero-guide-card,
.hero-feed-card {
  padding: 0.9rem;
}

.home-community-card {
  max-width: 24rem;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding: 0.88rem 0.95rem;
}

.home-community-icon {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(13, 24, 39, 0.92), rgba(7, 15, 26, 0.92));
  border: 1px solid rgba(132, 233, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.18),
    0 0 20px rgba(99, 222, 253, 0.12);
}

.home-community-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-community-button.button-primary {
  min-width: 5.5rem;
  background: linear-gradient(135deg, #8af2ff 0%, #49ddff 48%, #1cc4ea 100%);
  border-color: rgba(138, 242, 255, 0.34);
  color: #04131c;
  box-shadow:
    inset 0 1px 0 rgba(240, 253, 255, 0.66),
    0 16px 32px rgba(42, 206, 241, 0.24),
    0 0 20px rgba(90, 229, 255, 0.14);
}

.home-community-button.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(240, 253, 255, 0.74),
    0 18px 38px rgba(42, 206, 241, 0.3),
    0 0 26px rgba(90, 229, 255, 0.18);
}

.home-content-stack {
  gap: 1.2rem;
  margin-top: 1.25rem;
}

@media (min-width: 1101px) {
  .shell {
    grid-template-columns: 15.6rem minmax(0, 1fr);
    gap: 0.72rem;
    max-width: var(--site-app-max);
    padding: 0.72rem;
  }

  .sidebar {
    top: 0.72rem;
    height: calc(100svh - 1.44rem);
    max-height: calc(100svh - 1.44rem);
    border-radius: 1rem;
    padding: 0.96rem;
  }

  .content-shell {
    min-height: calc(100svh - 1.44rem);
    border-radius: 1rem;
  }

  .topbar {
    padding: 0.74rem 0.95rem 0.66rem;
  }

  .page {
    padding: 0.95rem 1rem 1.25rem;
  }
}

body.layout-app {
  --muted: #aabfce;
  --line: rgba(162, 225, 255, 0.1);
  --glow: rgba(99, 222, 253, 0.12);
}

body.layout-app .sidebar {
  border-color: rgba(162, 225, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(10, 21, 35, 0.97), rgba(7, 14, 24, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 42px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(99, 222, 253, 0.05);
}

body.layout-app .content-shell {
  border-color: rgba(162, 225, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(7, 15, 25, 0.98), rgba(4, 10, 17, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 50px rgba(0, 0, 0, 0.26);
}

body.layout-app .topbar {
  background:
    linear-gradient(180deg, rgba(12, 22, 35, 0.96), rgba(7, 15, 25, 0.9));
  border-bottom: 1px solid rgba(162, 225, 255, 0.08);
}

body.layout-app .sidebar-hero {
  border-color: rgba(132, 233, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(99, 222, 253, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(11, 21, 35, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

body.layout-app .sidebar-link,
body.layout-app .sidebar-link-button {
  border-color: transparent;
  background: transparent;
  color: #edf4fb;
}

body.layout-app .sidebar-link:hover,
body.layout-app .sidebar-link.active,
body.layout-app .sidebar-link-button:hover {
  border-color: rgba(99, 222, 253, 0.2);
  background:
    linear-gradient(180deg, rgba(99, 222, 253, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(10, 20, 33, 0.98);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

body.layout-app .link-icon {
  border-color: rgba(132, 233, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(99, 222, 253, 0.11), rgba(255, 255, 255, 0.02));
  color: #96ecff;
}

body.layout-app .topbar-search,
body.layout-app .topbar-pill,
body.layout-app .user-menu-trigger .user-chip,
body.layout-app .user-chip {
  border-color: rgba(162, 225, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(18, 29, 43, 0.94), rgba(10, 18, 29, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

body.layout-app .topbar-search:hover,
body.layout-app .topbar-pill:hover,
body.layout-app .user-menu-trigger:hover .user-chip {
  border-color: rgba(99, 222, 253, 0.18);
}

body.layout-app .button-primary {
  background: linear-gradient(135deg, #ffc18f 0%, #ff9a52 46%, #ef6f32 100%);
  border-color: rgba(255, 193, 143, 0.34);
  color: #241107;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 238, 0.58),
    0 16px 34px rgba(239, 111, 50, 0.24),
    0 0 22px rgba(255, 154, 82, 0.14);
}

body.layout-app .button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 238, 0.66),
    0 18px 40px rgba(239, 111, 50, 0.3),
    0 0 28px rgba(255, 154, 82, 0.18);
}

body.layout-app .button-secondary,
body.layout-app .button-ghost {
  border-color: rgba(162, 225, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(18, 29, 43, 0.96), rgba(9, 16, 27, 0.92));
  color: #f3f8ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

body.layout-app .button-secondary:hover,
body.layout-app .button-ghost:hover {
  border-color: rgba(99, 222, 253, 0.18);
}

@media (max-width: 900px) {
  .guest-shell {
    padding-inline: 0.8rem;
  }
}

body.layout-app {
  overflow-x: hidden;
}

body.layout-app .page,
body.layout-app .content-shell,
body.layout-app .table-wrap,
body.layout-app .table-responsive {
  min-width: 0;
}

body.layout-app .content-shell {
  overflow: visible;
}

body.layout-app .page {
  overflow: visible;
}

body.layout-app .panel-card.admin-stable-panel,
body.layout-app .panel-card.section-nav-card {
  overflow: visible;
}

body.layout-app .topbar-search {
  display: inline-flex !important;
}

.admin-quick-nav {
  position: sticky;
  top: 0.8rem;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(162, 225, 255, 0.11);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(11, 20, 33, 0.94), rgba(8, 14, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 28px rgba(0, 0, 0, 0.2);
}

.admin-quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(162, 225, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #eef4fb;
  font-weight: 600;
}

.admin-quick-link.active,
.admin-quick-link:hover {
  border-color: rgba(255, 193, 143, 0.24);
  background: linear-gradient(135deg, rgba(255, 190, 141, 0.16), rgba(99, 222, 253, 0.08));
}

.stacked-notes {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

@media (min-width: 1101px) {
  body.layout-app .shell {
    display: grid;
    grid-template-columns: minmax(17rem, 19rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    width: min(100%, 1640px);
    margin: 1rem auto;
    padding: 0 1rem 1.4rem;
    min-height: auto;
  }

  body.layout-app .sidebar {
    position: sticky;
    top: 1rem;
    height: auto;
    max-height: calc(100vh - 2rem);
    margin: 0;
    transform: none !important;
    overflow-y: auto;
  }

  body.layout-app .content-shell {
    min-height: auto;
    overflow: visible;
  }

  body.layout-app .topbar {
    position: sticky;
    top: 0;
  }

  body[data-surface="dashboard"] .topbar,
  body[data-surface="admin"] .topbar,
  body[data-surface="app"] .topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  body[data-surface="dashboard"] .topbar-main > div,
  body[data-surface="admin"] .topbar-main > div,
  body[data-surface="app"] .topbar-main > div {
    display: block;
  }

  body[data-surface="dashboard"] .topbar-mobile-title,
  body[data-surface="admin"] .topbar-mobile-title,
  body[data-surface="app"] .topbar-mobile-title {
    display: none;
  }

  body[data-surface="dashboard"] .topbar-actions,
  body[data-surface="admin"] .topbar-actions,
  body[data-surface="app"] .topbar-actions {
    width: auto;
    margin-left: auto;
  }

  body[data-surface="dashboard"] .topbar-search,
  body[data-surface="admin"] .topbar-search,
  body[data-surface="app"] .topbar-search {
    display: inline-flex !important;
    min-width: min(18rem, 100%);
  }
}

@media (max-width: 1100px) {
  .admin-quick-nav {
    position: static;
  }
}

/* Kimi-style create server wizard, kept in the existing EJS flow. */
.v2-create-server-page {
  --wizard-blue: #45d0ff;
  --wizard-orange: #ff9a3d;
  --wizard-card: rgba(13, 28, 50, 0.9);
}

.v2-create-server-page .workspace-hero,
.vn-create-wizard {
  border: 1px solid rgba(69, 208, 255, 0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(69, 208, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 154, 61, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.96), rgba(9, 24, 45, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.vn-create-wizard > .panel-header {
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}

.vn-wizard-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(69, 208, 255, 0.28);
  box-shadow: 0 0 34px rgba(69, 208, 255, 0.18);
  object-fit: cover;
}

.vn-wizard-progress {
  gap: 12px;
}

.vn-wizard-progress li {
  border-radius: 16px;
  background: rgba(8, 17, 31, 0.72);
}

.vn-wizard-progress li.active,
.vn-wizard-progress li.complete {
  background:
    linear-gradient(135deg, rgba(69, 208, 255, 0.14), rgba(255, 154, 61, 0.08)),
    rgba(8, 17, 31, 0.9);
}

.vn-wizard-progress span {
  border: 0;
  color: #06101f;
  background: linear-gradient(135deg, var(--wizard-blue), var(--wizard-orange));
  font-weight: 900;
}

.vn-wizard-step {
  padding: 18px;
  border: 1px solid rgba(143, 166, 199, 0.14);
  border-radius: 20px;
  background: rgba(3, 10, 20, 0.28);
}

.vn-location-card,
.vn-egg-card,
.vn-server-fields,
.vn-create-summary,
.vn-create-locked {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(69, 208, 255, 0.06), rgba(255, 154, 61, 0.03)),
    var(--wizard-card);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.vn-location-card:hover,
.vn-egg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 208, 255, 0.44);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.vn-location-card:has(input:checked),
.vn-egg-card:has(input:checked) {
  border-color: rgba(69, 208, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(69, 208, 255, 0.16), 0 20px 48px rgba(69, 208, 255, 0.1);
}

.vn-location-image,
.vn-egg-image {
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(69, 208, 255, 0.18), transparent 48%),
    rgba(3, 10, 20, 0.9);
}

.vn-egg-card {
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 126px;
}

.vn-egg-image {
  width: 84px;
  height: 84px;
}

.vn-egg-image img {
  padding: 4px;
}

.vn-version-field select,
.vn-server-fields input,
.vn-server-fields textarea {
  border-color: rgba(69, 208, 255, 0.24);
  background: rgba(3, 10, 20, 0.68);
}

.vn-create-summary {
  align-content: start;
}

.vn-create-locked {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.vn-create-locked h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

@media (max-width: 760px) {
  .vn-wizard-logo {
    display: none;
  }

  .vn-wizard-step {
    padding: 14px;
  }

  .vn-egg-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 112px;
  }

  .vn-egg-image {
    width: 72px;
    height: 72px;
  }
}

body.create-wizard-focus .sidebar,
body.create-wizard-focus .sidebar-backdrop,
body.create-wizard-focus .topbar,
body.create-wizard-focus .v31-mobile-nav {
  display: none !important;
}

body.create-wizard-focus .shell {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.create-wizard-focus .content-shell,
body.create-wizard-focus .page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.vn-kimi-page {
  min-height: 100vh;
  padding: 24px;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 12% 6%, rgba(69, 208, 255, 0.2), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 154, 61, 0.16), transparent 32%),
    linear-gradient(145deg, #020610, #071322 45%, #030812);
}

.vn-kimi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto 22px;
}

.vn-kimi-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5f8ff;
}

.vn-kimi-brand img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 32px rgba(69, 208, 255, 0.24);
}

.vn-kimi-brand strong,
.vn-kimi-brand small {
  display: block;
}

.vn-kimi-brand strong {
  font-size: 1.05rem;
  letter-spacing: 0;
}

.vn-kimi-brand small {
  color: #93a4b8;
  font-weight: 700;
}

.vn-kimi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.vn-kimi-main {
  width: min(1180px, 100%);
  margin: 0 auto;
}

body.create-wizard-focus .vn-create-wizard {
  padding: 28px;
  border-radius: 24px;
}

body.create-wizard-focus .vn-create-wizard > .panel-header {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(143, 166, 199, 0.12);
}

body.create-wizard-focus .vn-create-wizard > .panel-header h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

body.create-wizard-focus .vn-location-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.create-wizard-focus .vn-egg-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.create-wizard-focus .vn-details-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

@media (max-width: 980px) {
  .vn-kimi-page {
    padding: 18px;
  }

  .vn-kimi-header {
    align-items: flex-start;
  }

  body.create-wizard-focus .vn-location-grid,
  body.create-wizard-focus .vn-egg-grid,
  body.create-wizard-focus .vn-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vn-kimi-page {
    padding: 14px;
  }

  .vn-kimi-header {
    display: grid;
  }

  .vn-kimi-actions {
    justify-content: stretch;
  }

  .vn-kimi-actions .button {
    flex: 1;
  }

  body.create-wizard-focus .vn-create-wizard {
    padding: 18px;
    border-radius: 20px;
  }
}

.vn-dashboard-kimi-create {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.vn-dashboard-kimi-create .vn-create-wizard {
  padding: 28px;
  border-radius: 24px;
  overflow: hidden;
}

.vn-wizard-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.vn-wizard-title img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(69, 208, 255, 0.28);
  box-shadow: 0 0 34px rgba(69, 208, 255, 0.18);
}

.vn-quota-pill {
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(69, 208, 255, 0.18);
  border-radius: 16px;
  background: rgba(3, 10, 20, 0.48);
}

.vn-quota-pill span {
  color: #93a4b8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vn-quota-pill strong {
  font-size: 1.2rem;
}

.vn-quota-pill i,
.vn-location-capacity {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 166, 199, 0.16);
}

.vn-quota-pill i span,
.vn-location-capacity span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #45d0ff, #ff9a3d);
}

.vn-dashboard-kimi-create .vn-wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
}

.vn-dashboard-kimi-create .vn-location-grid {
  grid-template-columns: minmax(0, 1fr);
}

.vn-dashboard-kimi-create .vn-location-card {
  max-width: 760px;
}

.vn-dashboard-kimi-create .vn-location-card label {
  align-items: center;
}

.vn-dashboard-kimi-create .vn-location-image {
  width: 74px;
  height: 74px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(135deg, #ff9f43 0 33%, #ffffff 33% 66%, #16a34a 66%);
}

.vn-location-copy em {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  margin-right: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(69, 208, 255, 0.1);
  color: #b8c5d6;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.vn-location-capacity {
  margin: 14px 0 12px;
}

.vn-ping-result {
  display: block;
  margin-top: 8px;
  color: #93a4b8;
  font-size: 0.82rem;
}

.vn-software-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.vn-software-toolbar label {
  display: grid;
  gap: 7px;
  color: #c9d4e5;
  font-weight: 800;
}

.vn-software-toolbar input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(69, 208, 255, 0.24);
  border-radius: 14px;
  background: rgba(3, 10, 20, 0.68);
  color: #eef4fb;
}

.vn-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vn-category-pills button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(143, 166, 199, 0.16);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.72);
  color: #b8c5d6;
  font-weight: 800;
}

.vn-category-pills button.active,
.vn-category-pills button:hover {
  border-color: rgba(69, 208, 255, 0.7);
  color: #fff;
  background: linear-gradient(135deg, rgba(69, 208, 255, 0.2), rgba(255, 154, 61, 0.12));
}

.vn-dashboard-kimi-create .vn-egg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vn-dashboard-kimi-create .vn-egg-card {
  min-height: 138px;
}

@media (max-width: 900px) {
  .vn-dashboard-kimi-create .vn-egg-grid,
  .vn-dashboard-kimi-create .vn-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vn-dashboard-kimi-create .vn-create-wizard {
    padding: 18px;
  }

  .vn-create-wizard > .panel-header,
  .vn-wizard-title {
    display: grid;
  }

  .vn-quota-pill {
    width: 100%;
  }

  .vn-dashboard-kimi-create .vn-wizard-progress {
    grid-template-columns: 1fr;
  }

  .vn-dashboard-kimi-create .vn-wizard-progress li {
    justify-content: flex-start;
  }

  .vn-dashboard-kimi-create .vn-wizard-progress strong {
    display: block;
  }
}
/* Kimi create-server transplant: scoped so the existing dashboard stays unchanged. */
.vn-dashboard-kimi-create { max-width: 1200px; margin: 0 auto; }
.kimi-create-server-wizard { --kimi-cyan:#24d5ef; --kimi-blue:#3185ff; --kimi-orange:#ff9a35; --kimi-surface:#08131d; --kimi-radius:16px; color:#f6fbff; background:linear-gradient(145deg,var(--kimi-surface) 0%,#0a1520 55%,#0d111d 100%); border:1px solid #22394b; border-radius:var(--kimi-radius); overflow:hidden; box-shadow:0 18px 54px rgba(0,0,0,.3); }
.kimi-wizard-header { min-height:66px; padding:12px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #203343; background:rgba(4,12,19,.62); }
.kimi-brand,.kimi-brand strong,.kimi-brand b,.kimi-quota { display:flex; align-items:center; gap:10px; }
.kimi-brand img { width:36px; height:36px; object-fit:cover; border-radius:9px; }
.kimi-brand strong { font-size:18px; letter-spacing:.01em; }.kimi-brand strong span { color:var(--kimi-cyan); }.kimi-brand b { font-size:10px; letter-spacing:.09em; text-transform:uppercase; color:var(--kimi-cyan); background:rgba(36,213,239,.11); border:1px solid rgba(36,213,239,.3); padding:4px 7px; border-radius:99px; }
.kimi-quota { font-size:12px; color:#9dafbe; }.kimi-quota strong{color:#f9fcff}.kimi-quota>i,.kimi-quota>i>i{display:block;height:5px;border-radius:20px}.kimi-quota>i{width:74px;background:#1a2d3d}.kimi-quota>i>i{background:linear-gradient(90deg,var(--kimi-cyan),var(--kimi-orange))}
.kimi-wizard-form { padding:36px clamp(18px,4vw,54px) 44px; }
.kimi-stepper { max-width:740px; list-style:none; padding:0; margin:0 auto 12px; display:grid; grid-template-columns:repeat(3,1fr); position:relative; }.kimi-stepper:before { content:""; position:absolute; top:20px; left:16.5%; right:16.5%; height:2px; background:#203749; }.kimi-stepper li { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; color:#718596; }.kimi-stepper li span { display:grid; place-items:center; width:42px; height:42px; border:2px solid #2a4355; border-radius:50%; background:#0b1621; font-size:20px; }.kimi-stepper li strong { margin-top:9px; font-size:14px; }.kimi-stepper li small { margin-top:2px; font-size:11px; }.kimi-stepper li.active,.kimi-stepper li.complete{color:#ecfbff}.kimi-stepper li.active span{border-color:var(--kimi-cyan);color:var(--kimi-cyan);box-shadow:0 0 0 5px rgba(36,213,239,.08)}.kimi-stepper li.complete span{border-color:transparent;background:linear-gradient(135deg,var(--kimi-cyan),var(--kimi-blue),var(--kimi-orange));}.kimi-step-count { width:max-content; margin:0 auto 37px; padding:5px 11px; border-radius:99px; background:#132434; color:#9eb2c2; font-size:12px; }.kimi-step-count b{color:#fff}
.kimi-step-title { max-width:700px; text-align:center; margin:0 auto 29px; }.kimi-step-title>span,.kimi-kicker{display:inline-flex;padding:6px 10px;border-radius:99px;background:rgba(36,213,239,.1);color:var(--kimi-cyan);font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.kimi-step-title h1,.kimi-locked-card h1{font-size:clamp(24px,3.4vw,35px);line-height:1.1;margin:13px 0 10px;color:#f8fbff}.kimi-step-title p,.kimi-locked-card p{color:#9dafbe;line-height:1.65;margin:0}
.kimi-location-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(245px,1fr)); gap:17px; }.kimi-location-card { display:block; position:relative; min-height:326px; padding:20px; border:2px solid #213a4b; border-radius:13px; background:linear-gradient(155deg,rgba(23,39,54,.95),rgba(10,21,31,.94)); cursor:pointer; transition:transform .2s,border-color .2s,box-shadow .2s; }.kimi-location-card:hover{transform:translateY(-3px);border-color:#3f768e}.kimi-location-card:has(input:checked){border-color:var(--kimi-cyan);box-shadow:0 0 0 1px rgba(36,213,239,.3),0 16px 35px rgba(0,0,0,.22)}.kimi-location-card input{position:absolute;opacity:0;pointer-events:none}.kimi-location-check,.kimi-egg-check{position:absolute;top:13px;right:13px;width:23px;height:23px;display:grid;place-items:center;border:1px solid #476173;border-radius:50%;font-size:13px;color:transparent}.kimi-location-card:has(input:checked) .kimi-location-check,.kimi-egg-card.is-selected .kimi-egg-check{color:#fff;border:0;background:linear-gradient(135deg,var(--kimi-cyan),var(--kimi-blue),var(--kimi-orange))}.kimi-location-top{display:flex;gap:12px;align-items:center}.kimi-location-top strong,.kimi-location-top small{display:block}.kimi-location-top strong{font-size:17px}.kimi-location-top small{font-size:11px;color:#92a8b9;margin-top:4px}.kimi-location-description{display:block;min-height:45px;margin:16px 0 12px;color:#adbeca;font-size:13px;line-height:1.45}.kimi-location-badges{display:flex;flex-wrap:wrap;gap:7px}.kimi-location-badges em,.kimi-location-features i,.kimi-egg-tags i{font-style:normal;font-size:10px;padding:5px 7px;border-radius:6px;background:#162938;color:#a8bbc8}.kimi-location-badges em:first-child{color:#71efb0;background:rgba(74,225,147,.1)}.kimi-capacity{display:block;margin:15px 0}.kimi-capacity>i,.kimi-capacity>i>i{display:block;height:7px;border-radius:10px}.kimi-capacity>i{background:#172837}.kimi-capacity>i>i{background:linear-gradient(90deg,#35e7bd,#3daaf1)}.kimi-capacity small{display:block;margin-top:6px;color:#7890a1;font-size:10px}.kimi-location-features{display:flex;flex-wrap:wrap;gap:5px}.kimi-location-card.is-unavailable{opacity:.55;cursor:not-allowed}
.kimi-location-top{justify-content:space-between}.kimi-location-badge{font-size:10px;padding:5px 7px;border-radius:6px;background:rgba(255,154,53,.14);color:#ffc077}.kimi-location-latency{display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin:0 0 12px;padding:9px 10px;border-radius:8px;background:#102230;color:#91a5b3;font-size:10px}.kimi-location-latency strong{color:var(--kimi-cyan);font-size:13px}.kimi-location-latency small{grid-column:1/-1;font-size:10px}
.kimi-create-server-wizard{color:var(--kimi-text)}.kimi-create-server-wizard .kimi-wizard-header,.kimi-create-server-wizard .kimi-details-form,.kimi-create-server-wizard .kimi-review-card{background:var(--kimi-card);border-color:var(--kimi-border)}.kimi-create-server-wizard .kimi-step-title p,.kimi-create-server-wizard .kimi-location-top small,.kimi-create-server-wizard .kimi-location-latency{color:var(--kimi-muted)}.kimi-create-server-wizard .kimi-stepper li.complete span,.kimi-create-server-wizard .kimi-lock-icon{background:linear-gradient(135deg,var(--kimi-gradient-start),var(--kimi-blue),var(--kimi-gradient-end))}.kimi-create-server-wizard.is-compact .kimi-wizard-form{padding-top:22px;padding-bottom:26px}.kimi-create-server-wizard.is-static *{transition:none!important;animation:none!important}
.kimi-software-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:17px}.kimi-category-sidebar{display:flex;flex-direction:column;gap:7px;padding:8px;border-radius:12px;border:1px solid #1f3647;background:#0a1722;height:max-content}.kimi-category-sidebar button{display:flex;justify-content:space-between;align-items:center;gap:5px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#adbfca;text-align:left;cursor:pointer}.kimi-category-sidebar button b{font-size:12px}.kimi-category-sidebar button small{font-size:10px;color:#7690a0}.kimi-category-sidebar button:hover,.kimi-category-sidebar button.active{background:#142d3d;border-color:rgba(36,213,239,.35);color:#fff}.kimi-software-main{min-width:0}.kimi-search{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:0 12px;border:1px solid #2b4659;border-radius:9px;background:#0b1823;color:#7d99ab}.kimi-search input{width:100%;height:43px;border:0!important;background:transparent!important;outline:0;color:#edf7ff}.kimi-egg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:13px}.kimi-egg-card{position:relative;padding:16px;border:2px solid #203a4c;border-radius:12px;background:linear-gradient(155deg,#122332,#0b1721);cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}.kimi-egg-card:hover{transform:translateY(-2px);border-color:#3b6f88}.kimi-egg-card.is-selected{border-color:var(--kimi-cyan);box-shadow:0 0 0 1px rgba(36,213,239,.23)}.kimi-egg-card>input{position:absolute;opacity:0;pointer-events:none}.kimi-egg-select{display:flex;gap:11px;cursor:pointer}.kimi-egg-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:9px;background:#172e40;overflow:hidden}.kimi-egg-icon img{width:42px;height:42px;object-fit:contain}.kimi-egg-heading strong,.kimi-egg-heading small{display:block}.kimi-egg-heading strong{font-size:15px;padding-right:18px}.kimi-egg-heading small{font-size:11px;color:#90a5b4;line-height:1.35;margin-top:3px;min-height:31px}.kimi-egg-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.kimi-version-select{display:block}.kimi-version-select>span{display:block;margin-bottom:5px;color:#829aab;font-size:10px}.kimi-version-select select{width:100%;height:33px;padding:0 7px;border:1px solid #2b485b;border-radius:7px;background:#0a1620;color:#eaf6ff;font-size:11px}.kimi-resource-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.kimi-resource-summary span{padding:7px 4px;border-radius:6px;background:#162838;text-align:center}.kimi-resource-summary small,.kimi-resource-summary b{display:block}.kimi-resource-summary small{font-size:9px;color:#8ba2b2}.kimi-resource-summary b{margin-top:3px;font-size:10px}.kimi-details-button{border:0;background:transparent;color:var(--kimi-cyan);font-size:11px;cursor:pointer;padding:2px 0}.kimi-details-button:hover{text-decoration:underline}
.kimi-details-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.62fr);gap:22px}.kimi-details-form,.kimi-review-card{padding:21px;border:1px solid #264254;border-radius:12px;background:linear-gradient(145deg,#102130,#0a1620)}.kimi-field{position:relative;display:block;margin-bottom:20px}.kimi-field>span{display:block;margin-bottom:7px;font-size:13px;font-weight:700}.kimi-field>span i{font-style:normal;font-weight:400;color:#8198a8}.kimi-field input,.kimi-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #2c4a5c;border-radius:8px;background:#08141e;color:#edf9ff;padding:11px 12px;font:inherit}.kimi-field input:focus,.kimi-field textarea:focus{outline:0;border-color:var(--kimi-cyan);box-shadow:0 0 0 3px rgba(36,213,239,.09)}.kimi-field small{display:block;margin-top:6px;color:#8198a8;font-size:11px}.kimi-character-count{position:absolute;right:9px;bottom:8px}.kimi-advanced{margin:4px 0 18px;border:1px solid #29465a;border-radius:8px}.kimi-advanced summary{padding:12px;cursor:pointer;font-weight:700;font-size:13px}.kimi-advanced summary small{font-weight:400;color:#829cac}.kimi-advanced>div{padding:0 12px 12px;border-top:1px solid #29465a}.kimi-advanced p{font-size:11px;color:#90a6b5;line-height:1.45}.kimi-advanced dl,.kimi-egg-dialog dl{margin:10px 0}.kimi-advanced dl div,.kimi-egg-dialog dl div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid rgba(65,97,116,.35);font-size:11px}.kimi-advanced dt,.kimi-egg-dialog dt{color:var(--kimi-cyan);font-family:monospace}.kimi-advanced dd,.kimi-egg-dialog dd{margin:0;color:#c4d4de;overflow-wrap:anywhere}.kimi-advanced code,.kimi-egg-dialog code{display:block;max-height:90px;overflow:auto;padding:8px;border-radius:6px;background:#061019;color:#a9bac5;font-size:10px;white-space:pre-wrap}.kimi-terms{display:flex;gap:10px;align-items:flex-start;padding:11px;border-radius:8px;background:rgba(29,51,67,.55);font-size:12px;color:#afc0ca;line-height:1.5}.kimi-terms input{margin-top:3px;accent-color:var(--kimi-cyan)}.kimi-terms a{color:var(--kimi-cyan)}.kimi-review-card>p{margin:0 0 14px;color:var(--kimi-cyan);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.kimi-review-card>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #244153;font-size:13px}.kimi-review-card span{color:#91a6b4}.kimi-review-card strong{text-align:right}.kimi-review-card hr{border:0;border-top:1px solid #335066;margin:8px 0}
.kimi-nav-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px}.kimi-nav-actions.end{justify-content:flex-end}.kimi-nav-actions .button{min-width:138px}.kimi-locked-card{max-width:620px;margin:65px auto;padding:45px 28px;text-align:center}.kimi-lock-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 16px;border-radius:50%;background:linear-gradient(135deg,var(--kimi-cyan),var(--kimi-blue));font-size:25px}.kimi-locked-card .kimi-nav-actions{justify-content:center}
.kimi-egg-dialog{width:min(560px,calc(100vw - 32px));padding:26px;border:1px solid #3e657a;border-radius:14px;background:#0c1924;color:#ecf8ff;box-shadow:0 30px 90px #000}.kimi-egg-dialog::backdrop{background:rgba(0,0,0,.62)}.kimi-egg-dialog>button{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#b8c9d4;font-size:28px;cursor:pointer}.kimi-dialog-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:10px;border-radius:10px;background:#173146}.kimi-dialog-icon img{width:52px;height:52px;object-fit:contain}.kimi-egg-dialog p{color:#9eb4c3;line-height:1.5}.kimi-egg-dialog>p:first-of-type{margin:0;color:var(--kimi-cyan);font-size:11px;text-transform:uppercase;letter-spacing:.1em}.kimi-egg-dialog h2{margin:6px 0}.kimi-egg-dialog h3{margin:18px 0 7px;font-size:13px}.kimi-dialog-resources{padding:10px;border-radius:7px;background:#162a3a;color:#d3e4ed;font-size:12px;white-space:pre-wrap}
@media (max-width:760px){.kimi-wizard-header{padding:10px 13px}.kimi-brand strong{font-size:15px}.kimi-brand b{display:none}.kimi-quota>i{display:none}.kimi-wizard-form{padding:25px 14px 30px}.kimi-stepper li strong{font-size:12px}.kimi-stepper li small{display:none}.kimi-stepper li span{width:36px;height:36px;font-size:17px}.kimi-stepper:before{top:17px}.kimi-step-count{margin-bottom:27px}.kimi-location-grid,.kimi-egg-grid{grid-template-columns:1fr}.kimi-software-layout,.kimi-details-layout{grid-template-columns:1fr}.kimi-category-sidebar{flex-direction:row;overflow:auto}.kimi-category-sidebar button{min-width:125px;display:block}.kimi-category-sidebar button small{display:block;margin-top:4px}.kimi-location-card{min-height:304px}.kimi-details-layout{gap:14px}.kimi-nav-actions .button{min-width:0}.kimi-step-title h1{font-size:26px}}

.kimi-location-card { isolation:isolate; overflow:hidden; }
.kimi-location-card::before { content:""; position:absolute; inset:0; z-index:0; background:linear-gradient(90deg,rgba(5,18,29,.98) 0%,rgba(7,24,37,.94) 45%,rgba(7,24,37,.58) 100%),var(--kimi-location-image,url("/public/images/create-wizard/taj-mahal-india.jpg")) center right/cover no-repeat; opacity:1; }
.kimi-location-card::after { content:""; position:absolute; left:20px; right:20px; bottom:0; z-index:2; height:3px; background:linear-gradient(90deg,#ff9933 0 33%,#f7f7f7 33% 66%,#138808 66%); border-radius:3px 3px 0 0; opacity:.9; }
.kimi-location-card>* { position:relative; z-index:1; }
.kimi-location-card > .kimi-location-check { position:absolute; top:13px; right:13px; left:auto; z-index:2; }
.kimi-location-card:has(input:checked) { border-color:#2fdaf2; box-shadow:0 0 0 1px rgba(47,218,242,.4),0 18px 45px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.08); }
.kimi-location-top { align-items:flex-start; padding-right:34px; }
.kimi-location-top strong { color:#fff; font-size:24px; font-weight:800; line-height:1; text-transform:uppercase; text-shadow:0 2px 18px rgba(0,0,0,.8); }
.kimi-location-top small { margin-top:7px; color:#c4d5df; font-size:12px; font-weight:600; }
.kimi-location-description { color:#d4e1e8; font-size:14px; font-weight:600; }
.kimi-location-latency { padding:12px 14px; border:1px solid rgba(69,208,255,.16); background:rgba(5,22,34,.88); }
.kimi-location-badges em,.kimi-location-features i { border:1px solid rgba(255,255,255,.06); backdrop-filter:blur(8px); }
.kimi-location-card.is-near-capacity { border-color:#ff5d48; box-shadow:0 0 0 1px rgba(255,93,72,.32),0 18px 45px rgba(0,0,0,.3); }
.kimi-location-card.is-near-capacity .kimi-capacity>i>i,.kimi-location-card.is-full .kimi-capacity>i>i { background:linear-gradient(90deg,#ff9a35,#ff4d4d); }
.kimi-location-card.is-near-capacity .kimi-location-badges em:last-child { color:#ffd0a6; background:rgba(255,105,55,.14); border-color:rgba(255,105,55,.28); }
.kimi-location-card.is-full { cursor:not-allowed; border-color:#ff4d4d; box-shadow:0 0 0 1px rgba(255,77,77,.38),0 18px 45px rgba(0,0,0,.3); }
.kimi-location-card.is-full::before { background:linear-gradient(90deg,rgba(39,9,15,.98),rgba(28,13,22,.92)),var(--kimi-location-image,url("/public/images/create-wizard/taj-mahal-india.jpg")) center right/cover no-repeat; }
.kimi-location-card.is-full .kimi-location-badges em:last-child { color:#fff; background:#b92835; border-color:#ff6673; font-weight:800; }
.kimi-location-card.is-full .kimi-location-check { display:none; }
.checkbox-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:8px; }
/* Website Control Center */
.managed-home-sections {
  display: flex;
  flex-direction: column;
}

.site-control-form {
  display: grid;
  gap: 1rem;
}

.site-control-form .two-column,
#import-export .two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-control-form .four-column {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-control-form .full-span {
  grid-column: 1 / -1;
}

.site-control-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 8px);
}

.site-control-form .checkbox-row input {
  width: auto;
  margin: 0;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-action-card {
  display: grid;
  gap: 0.4rem;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 8px);
  background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
  color: var(--text);
  text-decoration: none;
}

.admin-action-card:hover,
.admin-action-card:focus-visible {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.admin-action-card span,
.form-help {
  color: var(--muted);
  line-height: 1.55;
}

.code-input {
  min-height: 18rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  resize: vertical;
}

.sticky-form-actions {
  position: sticky;
  bottom: 0.75rem;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--site-radius, 8px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

@media (max-width: 1100px) {
  .site-control-form .four-column,
  .admin-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-control-form .two-column,
  #import-export .two-column,
  .site-control-form .four-column,
  .admin-action-grid { grid-template-columns: 1fr; }
  .sticky-form-actions { position: static; flex-direction: column; }
}

/* Semi-AFK keeps partner content isolated to the renewal checkpoint. */
.semi-afk-card { display: grid; gap: 1rem; }
.semi-afk-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.semi-afk-card-head h3 { margin: .2rem 0 0; }
.semi-afk-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.semi-afk-metrics > div { padding: .85rem; border: 1px solid var(--line, #1c4157); background: rgba(10, 28, 43, .55); }
.semi-afk-metrics span { display: block; color: var(--muted, #93a8b7); font-size: .8rem; }
.semi-afk-metrics strong { display: block; margin-top: .25rem; }
.semi-afk-progress { height: .55rem; overflow: hidden; background: rgba(23, 56, 78, .75); border-radius: 999px; }
.semi-afk-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #12c7d9, #ff9b3d); transition: width .35s ease; }
.semi-afk-timer-card { display: grid; gap: .3rem; padding: .9rem 1rem; border: 1px solid var(--line, #1c4157); background: rgba(10, 28, 43, .55); }
.semi-afk-timer-card > span { color: var(--muted, #93a8b7); font-size: .8rem; }
.semi-afk-timer-card strong { font-size: clamp(2rem, 5vw, 3rem); line-height: 1; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.semi-afk-timer-card p { margin: 0; }
.semi-afk-alert { margin: 0; padding: .8rem 1rem; border: 1px solid #d94a4a; background: rgba(159, 31, 31, .2); color: #ffd1d1; }
.semi-afk-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.semi-afk-rules span, .semi-afk-ledger li { padding: .7rem; border: 1px solid var(--line, #1c4157); background: rgba(10, 28, 43, .35); }
.semi-afk-ledger { display: grid; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.semi-afk-ledger li { display: flex; justify-content: space-between; gap: .75rem; }
.semi-afk-admin-list { display: grid; gap: .55rem; margin: 1rem 0 0; }
.semi-afk-admin-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line, #1c4157); }
.semi-afk-admin-list dt { color: var(--muted, #93a8b7); }
.semi-afk-admin-list dd { margin: 0; font-weight: 700; }
.semi-afk-ad-slot { display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--line, #1c4157); background: rgba(10, 28, 43, .35); }
@media (max-width: 720px) {
  .semi-afk-metrics, .semi-afk-rules { grid-template-columns: 1fr; }
  .semi-afk-card-head { display: grid; }
}
