
:root {
  --black: #020402;
  --charcoal: #090d0a;
  --panel: rgba(7, 10, 8, 0.72);
  --panel-deep: rgba(5, 7, 6, 0.88);
  --panel-soft: rgba(12, 17, 13, 0.54);
  --line: rgba(159, 255, 105, 0.16);
  --line-strong: rgba(159, 255, 105, 0.38);
  --text: #f4f6f0;
  --soft: #d9dfd5;
  --muted: #9aa79a;
  --green: #9cff49;
  --green-2: #6ee040;
  --green-3: #2ba438;
  --blue: #61c7ff;
  --purple: #ba62ff;
  --gold: #dfb84f;
  --danger: #ff6574;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  --radius-xl: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 86px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--black);
  background-image:
    radial-gradient(circle at 50% 26%, rgba(156,255,73,.16), transparent 22rem),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.58) 55%, rgba(0,0,0,.86)),
    url('../interactive-map/assets/bone-empire-backdrop.png');
  background-size: auto, auto, max(100vw, 177.78vh) auto;
  background-position: center center, center center, center center;
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 42%, transparent 0 20rem, rgba(0,0,0,.14) 32rem, rgba(0,0,0,.42) 100%),
    radial-gradient(circle at 82% 45%, transparent 0 28rem, rgba(0,0,0,.25) 46rem, rgba(0,0,0,.48) 100%),
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 22%, transparent 70%, rgba(0,0,0,.42));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 9% 76%, rgba(156,255,73,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 66%, rgba(156,255,73,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 39% 81%, rgba(156,255,73,.12) 0 1px, transparent 2px);
  background-size: 220px 170px, 270px 210px, 320px 240px;
  opacity: .38;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.empire-shell,
.page-shell,
.map-shell,
.app-shell {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 54px;
}
.page-shell.narrow, .empire-shell.narrow { width: min(1320px, calc(100% - 48px)); }
.page-shell.wide, .empire-shell.wide, .app-shell.voice-integrated, .map-shell { width: min(1580px, calc(100% - 48px)); }

.empire-nav {
  position: sticky;
  top: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: var(--nav-h);
  padding: 14px 18px;
  border: 1px solid rgba(210, 255, 192, .18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 10, 8, .80), rgba(7, 9, 7, .68));
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 52px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.04);
}
.empire-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  text-decoration: none;
}
.empire-mark, .brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: radial-gradient(circle at 35% 25%, #c9ff89, var(--green) 48%, var(--green-2));
  color: transparent;
  box-shadow: 0 18px 42px rgba(111,224,64,.30), inset 0 1px 0 rgba(255,255,255,.42);
  overflow: hidden;
}
.empire-mark::before, .brand-mark::before { content: "☠"; color: #0a1409; font-size: 31px; line-height: 1; filter: drop-shadow(0 1px 0 rgba(255,255,255,.22)); }
.empire-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.empire-brand small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 4px;
  color: rgba(244,246,240,.88);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: color .18s ease, text-shadow .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transform: translateX(-50%) scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--green); text-shadow: 0 0 18px rgba(156,255,73,.22); }
.nav-link:hover::after, .nav-link.active::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.nav-icon, .home-dot { display: none !important; }
.nav-actions, .header-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.nav-status-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: 178px;
  padding: 0 11px;
  border: 1px solid rgba(159,255,105,.18);
  border-radius: 999px;
  background: rgba(4, 7, 5, .58);
  color: var(--soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.nav-status-mini .dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px rgba(111,224,64,.12), 0 0 14px rgba(156,255,73,.42);
  flex: 0 0 auto;
}
.nav-status-mini strong {
  display: block;
  color: var(--text);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .10em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-status-mini small {
  display: block;
  max-width: 132px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subtle-pill {
  min-height: 34px;
  padding-inline: 13px;
  color: rgba(244,246,240,.82);
  background: rgba(255,255,255,.028);
  border-color: rgba(159,255,105,.12);
  box-shadow: none;
}
.map-live-note {
  min-height: 36px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.empire-button, .secondary-button, .ghost-button, .account-button, .primary-button, .link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.secondary-button:hover, .ghost-button:hover, .account-button:hover, .link-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(156,255,73,.08);
}
.empire-button.primary, .primary-button {
  color: #081107;
  border: 0;
  background: linear-gradient(180deg, #b5ff69 0%, #86ed4d 52%, #65d43e 100%);
  box-shadow: 0 17px 40px rgba(111,224,64,.30), inset 0 1px 0 rgba(255,255,255,.40);
}
.empire-button.primary:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(111,224,64,.36); }
.ghost-button.danger { color: #ffe0e4; border-color: rgba(255,101,116,.26); background: rgba(255,101,116,.07); }
.button-icon { width: 28px; height: 22px; object-fit: contain; }

main { display: block; }
.section { margin-top: 24px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-title, .page-hero h1, .voice-hero h1, .home-hero h1 {
  margin: 0;
  line-height: .92;
  color: #f7f8f1;
  font-weight: 950;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: 0 10px 50px rgba(0,0,0,.72);
}
.hero-green, .page-hero .hero-subline, .home-hero .hero-subline, .voice-hero .hero-subline {
  color: var(--green);
  text-shadow: 0 10px 56px rgba(95,212,62,.26), 0 2px 0 rgba(0,0,0,.25);
}
.lead {
  margin: 22px auto 0;
  max-width: 760px;
  color: rgba(244,246,240,.86);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 34px; }
.hero-actions.left { justify-content: flex-start; }
.hero-actions .empire-button, .hero-actions .secondary-button, .hero-actions .primary-button, .hero-actions .ghost-button { min-width: 220px; min-height: 62px; }

.glass,
.empire-card,
.content-panel,
.page-panel,
.stat-card,
.card,
.frame-card,
.feature-item,
.destination-card,
.status-list > div,
.speaker-tile,
.mini-log,
.server-status,
.home-status-row,
.account-menu {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,14,11,.72), rgba(5,7,6,.84));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(14px) saturate(120%);
}
.empire-card,
.content-panel,
.page-panel,
.card,
.frame-card { border-radius: var(--radius-xl); padding: 26px; }
.stat-card { border-radius: 24px; padding: 24px; }
.content-panel p, .empire-card p, .page-panel p, .card p { color: var(--muted); margin: 10px 0 0; }
.content-panel h2, .page-panel h2, .card h2 { margin: 0; font-size: clamp(28px, 3.7vw, 46px); line-height: 1; letter-spacing: -.045em; }
.empire-card h3, .feature-item h3 { margin: 0; font-size: 21px; line-height: 1.06; }
.muted { color: var(--muted); }

.home-shell, .home-page .page-shell { width: min(1580px, calc(100% - 48px)); }
.home-hero {
  min-height: calc(100vh - 132px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(64px, 11vh, 132px) 20px clamp(48px, 8vh, 86px);
}
.home-hero .hero-copy { max-width: 980px; margin: 0 auto; }
.home-hero .skull-kicker, .page-hero .skull-kicker, .voice-hero .skull-kicker {
  display: grid;
  place-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.skull-kicker::before { content: "☠"; color: var(--green); font-size: 34px; filter: drop-shadow(0 0 18px rgba(156,255,73,.45)); }
.home-hero h1 { font-size: clamp(62px, 9.6vw, 136px); }
.home-hero h1 span { display: block; }
.home-status-row,
.status-pill,
.pill,
.status-chip,
.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.home-status-row { margin-top: 28px; }
.home-status-row strong, .server-status strong { display: block; font-size: 12px; color: var(--text); }
.home-status-row small, .server-status small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0; text-transform: none; }
.dot, .status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green-2);
  box-shadow: 0 0 0 6px rgba(111,224,64,.15), 0 0 22px rgba(156,255,73,.56);
}
.dot.warn { background: var(--gold); box-shadow: 0 0 0 6px rgba(223,184,79,.13); }
.dot.bad { background: var(--danger); box-shadow: 0 0 0 6px rgba(255,101,116,.13); }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,14,12,.72), rgba(5,7,6,.84));
  box-shadow: var(--shadow);
}
.feature-item {
  min-height: 126px;
  padding: 24px 24px 22px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.feature-item:last-child { border-right: 0; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 28px;
  filter: drop-shadow(0 0 18px rgba(156,255,73,.30));
}
.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.destination-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 214px;
  padding: 28px 18px;
  text-decoration: none;
  text-align: center;
  border-radius: 26px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.destination-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(156,255,73,.08), rgba(5,7,6,.86)); }
.destination-card img { max-height: 112px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.56)); }
.destination-card strong { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.destination-card small { color: var(--muted); }

.page-hero, .voice-hero .voice-hero-row {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(42px, 7vw, 88px) 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.page-hero h1 { font-size: clamp(58px, 8.6vw, 126px); }
.page-hero h1 .hero-subline, .voice-hero h1 .hero-subline { display: inline; }

.map-board {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
}
.map-tool-panel, .map-info-panel { border-radius: 26px; padding: 22px; }
.map-layer-list, .info-stack { display: grid; gap: 12px; margin-top: 18px; }
.map-layer-list span, .info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(159,255,105,.10);
  background: rgba(255,255,255,.025);
  color: var(--soft);
}
.switch-dot { width: 34px; height: 18px; border-radius: 999px; background: linear-gradient(90deg, var(--green-2), var(--green)); box-shadow: 0 0 16px rgba(156,255,73,.22); }
.coordinate-mini { display:grid; grid-template-columns:1fr 1fr; gap: 8px; margin-top: 18px; }
.coordinate-mini code { display:block; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.32); color: var(--green); }
.map-frame-shell { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); background: #020402; box-shadow: var(--shadow); }
.map-frame { display:block; width: 100%; height: 720px; border: 0; background: #020402; }
.info-row { align-items:flex-start; flex-direction:column; padding: 14px; }
.info-row strong { color: var(--text); }
.info-row small { color: var(--muted); }

.voice-hero { margin-top: 0; }
.voice-hero .voice-hero-row { min-height: 430px; }
.voice-hero h1 { font-size: clamp(64px, 9vw, 140px); }
.voice-hero .voice-hero-row > * { position: relative; z-index: 1; }
.voice-hero .hero-actions { margin-top: 26px; }
.voice-hero p { max-width: 770px; color: rgba(244,246,240,.88); font-size: clamp(17px,1.45vw,22px); margin: 20px auto 0; }
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 10px;
}
.status-card-v16, .audio-settings-card, .privacy-card { grid-column: 1; }
.room-card { grid-column: 2; grid-row: span 3; }
.card-head { display:flex; align-items:flex-start; justify-content:space-between; gap: 14px; margin-bottom: 18px; }
.card-head h2 { margin: 0; }
.server-status { display:inline-flex; align-items:center; gap:10px; min-height: 50px; padding: 0 14px; border-radius: 16px; }
.status-list { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.status-list > div { min-height: 70px; padding: 14px; border-radius: 16px; box-shadow: none; }
.status-list span { display:block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.status-list strong { display:block; margin-top: 4px; color: var(--text); }
.button-row { display:flex; flex-wrap:wrap; gap:10px; }
.primary-actions { margin-top: 16px; }
.mini-log { margin-top: 12px; padding: 12px 14px; border-radius: 14px; color: var(--muted); box-shadow: none; }
.room-summary-inline { display:flex; flex-wrap:wrap; justify-content:flex-end; gap: 10px; color: var(--muted); font-size: 13px; }
.room-summary-inline strong { color: var(--green); }
.voice-roster { display:grid; gap: 12px; }
.empty-roster { padding: 34px; text-align:center; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--muted); background: rgba(0,0,0,.20); }
.speaker-tile {
  display:grid;
  grid-template-columns: 58px minmax(0,1fr) 150px;
  gap: 14px;
  align-items:center;
  min-height: 88px;
  padding: 14px;
  border-radius: 18px;
  box-shadow: none;
}
.speaker-tile.self { border-color: rgba(156,255,73,.34); }
.speaker-tile.speaking { border-color: rgba(156,255,73,.46); box-shadow: 0 0 0 1px rgba(156,255,73,.08), 0 0 35px rgba(156,255,73,.09); }
.speaker-tile.inaudible { opacity: .76; }
.tile-avatar, .profile-avatar {
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius: 16px;
  color: #081107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  overflow:hidden;
  font-weight:950;
}
.tile-avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tile-main strong { display:block; font-size: 17px; }
.tile-main small { color: var(--muted); }
.tile-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top: 8px; }
.tile-chip { display:inline-flex; align-items:center; min-height: 25px; padding:0 9px; border-radius:999px; border:1px solid rgba(159,255,105,.12); background:rgba(0,0,0,.24); color:var(--soft); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.tile-chip.good, .tile-chip.nearby { color: var(--green); border-color: rgba(156,255,73,.24); }
.tile-chip.warn, .tile-chip.out { color: var(--gold); border-color: rgba(223,184,79,.24); }
.tile-chip.bad { color: var(--danger); border-color: rgba(255,101,116,.24); }
.tile-side { text-align:right; }
.tile-state { display:block; color:var(--green); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.tile-meter { margin-top:10px; width: 140px; height: 14px; padding:2px; border-radius:999px; border:1px solid rgba(159,255,105,.12); background: rgba(0,0,0,.32); }
.tile-meter > i { display:block; height:100%; width:max(6%, var(--level, 0%)); border-radius:999px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 13px); filter: drop-shadow(0 0 6px rgba(156,255,73,.55)); }
.slider-field { margin-top: 18px; }
.slider-field label { display:flex; justify-content:space-between; gap: 16px; color: var(--soft); font-weight:900; margin-bottom:10px; }
.slider-field small { display:block; margin-top:8px; color: var(--muted); }
input[type="range"] { padding:0; accent-color: var(--green); }
.calibration-meter { height: 13px; padding:2px; border-radius:999px; border:1px solid rgba(159,255,105,.12); background: rgba(0,0,0,.32); }
.calibration-meter i { display:block; width:0%; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--green-2), var(--green)); }
.privacy-card { display:grid; grid-template-columns: 20px 1fr; gap:14px; align-items:start; }
.privacy-icon { width:14px; height:14px; border-radius:999px; background:var(--green); margin-top:6px; box-shadow:0 0 0 7px rgba(156,255,73,.12); }
.account-widget { position: relative; }
.account-menu { display:none; position:absolute; left:0; top:calc(100% + 10px); width: 310px; padding:14px; border-radius:20px; z-index: 100; }
.account-menu.open { display:block; }
.account-menu-head { display:grid; grid-template-columns:58px 1fr; gap:12px; align-items:center; margin-bottom:12px; }
.full-width { width:100%; }

.stats-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat-card strong { display:block; color: var(--green); font-size: clamp(30px, 4vw, 48px); line-height: .95; letter-spacing: -.055em; }
.stat-card span { display:block; margin-top:8px; color: var(--muted); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.skin-workbench { display:grid; grid-template-columns:minmax(0,1.15fr) 420px; gap: 22px; align-items: stretch; }
.skin-preview { min-height: 640px; position:relative; overflow:hidden; display:grid; place-items:center; background: radial-gradient(circle at 58% 45%, rgba(156,255,73,.12), transparent 22rem), linear-gradient(180deg, rgba(8,12,9,.65), rgba(4,6,5,.88)); }
.skin-creature { --skin-body:#B8AA8F; --skin-markings:#26384E; --skin-accent:#A16235; --skin-eyes:#79C8EE; position:relative; width:min(740px, 84%); height:330px; filter:drop-shadow(0 42px 58px rgba(0,0,0,.72)); }
.skin-creature::before { content:""; position:absolute; inset:48px 32px 52px 22px; border-radius:60% 42% 54% 44%; background:linear-gradient(145deg,var(--skin-body), color-mix(in srgb, var(--skin-body), #000 42%)); box-shadow:inset 0 -32px 64px rgba(0,0,0,.30), inset 0 18px 44px rgba(255,255,255,.11); }
.skin-creature::after { content:""; position:absolute; right:0; top:70px; width:180px; height:122px; border-radius:58% 42% 50% 48%; background:linear-gradient(145deg,var(--skin-body), color-mix(in srgb, var(--skin-body), #000 36%)); box-shadow:inset 0 -16px 30px rgba(0,0,0,.25); }
.skin-stripes { position:absolute; inset:68px 140px auto 90px; height:72px; border-radius:999px; background:repeating-linear-gradient(105deg, transparent 0 22px, var(--skin-markings) 23px 38px); opacity:.82; mix-blend-mode:multiply; transform:skewX(-12deg); }
.skin-frill { position:absolute; left:86px; top:14px; width:250px; height:98px; border-radius:50% 50% 10% 10%; background:linear-gradient(180deg, var(--skin-accent), transparent); opacity:.76; clip-path:polygon(0 100%,12% 18%,24% 100%,38% 4%,52% 100%,68% 18%,82% 100%,100% 14%,100% 100%); }
.skin-eye { position:absolute; right:68px; top:106px; width:20px; height:20px; border-radius:50%; background:var(--skin-eyes); box-shadow:0 0 20px color-mix(in srgb,var(--skin-eyes),#fff 20%); z-index:2; }
.skin-preview-meta { position:absolute; left:28px; bottom:24px; color:var(--muted); }
.skin-preview-meta strong { display:block; color:var(--text); font-size:32px; line-height:1; }
.skin-side { display:grid; gap:16px; align-content:start; }
.form-row { display:grid; gap:8px; margin-bottom:14px; }
.form-row label, .field-label { color: var(--soft); font-size:13px; font-weight:900; letter-spacing:.04em; }
input, select { width:100%; min-height:50px; border-radius:15px; border:1px solid var(--line); background:rgba(0,0,0,.26); color:var(--text); padding:0 14px; outline:0; }
input:focus, select:focus { border-color: var(--line-strong); box-shadow:0 0 0 4px rgba(156,255,73,.08); }
.swatch-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.swatch-card { display:grid; gap:8px; padding:12px; border:1px solid var(--line); border-radius:16px; background:rgba(0,0,0,.18); color:var(--soft); }
.swatch-card input { padding:0; min-height:46px; }
.skin-library { display:grid; gap:10px; max-height:340px; overflow:auto; }
.empty-skins { padding:28px; text-align:center; color:var(--muted); border:1px dashed var(--line-strong); border-radius:18px; }
.skin-save { display:grid; grid-template-columns:42px 1fr; gap:10px; align-items:center; text-align:left; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.035); color:var(--text); padding:10px; }
.skin-save span { grid-row:span 2; width:42px; height:42px; border-radius:12px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.skin-save small { color:var(--muted); }

.card-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.podium-grid { display:grid; grid-template-columns: .9fr 1.15fr .9fr; gap: 18px; align-items:end; }
.podium-card { min-height: 260px; text-align:center; display:grid; align-content:end; overflow:hidden; }
.podium-card.first { min-height: 320px; border-color: rgba(223,184,79,.55); }
.rank-badge { position:absolute; top:18px; left:50%; transform:translateX(-50%); display:grid; place-items:center; width:52px; height:52px; border-radius:17px; background:linear-gradient(180deg,var(--gold),#8b6326); color:#181005; font-weight:950; font-size:24px; box-shadow:0 12px 26px rgba(0,0,0,.35); }
.table-shell { overflow:hidden; }
.ranking-table { width:100%; border-collapse:collapse; color:var(--soft); }
.ranking-table th, .ranking-table td { padding:15px 14px; border-bottom:1px solid rgba(159,255,105,.10); text-align:left; }
.ranking-table th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.13em; }
.ranking-table td strong { color:var(--green); }
.profile-layout { display:grid; grid-template-columns: 390px minmax(0,1fr); gap: 18px; }
.profile-card { min-height: 300px; }
.profile-head { display:grid; grid-template-columns:86px 1fr; gap:18px; align-items:center; }
.profile-avatar.large { width:86px; height:86px; border-radius:999px; box-shadow:0 0 0 2px rgba(156,255,73,.45),0 0 32px rgba(156,255,73,.20); }
.link-list { display:grid; gap:10px; margin-top:20px; }
.link-list .info-row { flex-direction: row; align-items:center; }
.quick-list { display:grid; gap:10px; }
.quick-list a { display:flex; justify-content:space-between; align-items:center; min-height:58px; padding:0 16px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,.028); text-decoration:none; color:var(--soft); font-weight:850; }
.quick-list a:hover { border-color:var(--line-strong); background:rgba(156,255,73,.07); }

.enter-overlay { position:fixed; inset:0; z-index:120; display:grid; place-items:center; background:rgba(0,0,0,.58); backdrop-filter: blur(12px); transition: opacity .24s ease, visibility .24s ease; }
.enter-overlay.hidden { opacity:0; visibility:hidden; }
.enter-card { display:grid; gap:8px; width:min(92vw,380px); padding:26px; text-align:center; border:1px solid var(--line-strong); border-radius:24px; background:linear-gradient(180deg,rgba(8,12,9,.92),rgba(4,6,5,.98)); box-shadow:var(--shadow); }
.enter-card strong { letter-spacing:.12em; text-transform:uppercase; }
.enter-card span { color:var(--muted); }
.footer { display:flex; justify-content:space-between; gap:14px; margin-top:28px; padding:14px 4px 0; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.09em; }

@media (max-width: 1250px) {
  .empire-nav { grid-template-columns:1fr; justify-items:center; text-align:center; }
  .nav-links { gap: 14px; }
  .map-board, .profile-layout { grid-template-columns:1fr; }
  .map-tool-panel, .map-info-panel { order: 2; }
  .map-frame-shell { order: 1; }
  .feature-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .destination-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .skin-workbench, .main-layout { grid-template-columns: 1fr; }
  .room-card, .status-card-v16, .audio-settings-card, .privacy-card { grid-column:auto; grid-row:auto; }
}
@media (max-width: 760px) {
  .empire-shell, .page-shell, .map-shell, .app-shell { width: min(100% - 22px, 100%); padding-top:12px; }
  .nav-links { gap: 9px; }
  .nav-link { font-size: 11px; min-height: 38px; letter-spacing:.09em; }
  .nav-actions { flex-wrap:wrap; justify-content:center; }
  .home-hero h1, .page-hero h1, .voice-hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .home-hero, .page-hero, .voice-hero .voice-hero-row { padding-left: 10px; padding-right: 10px; }
  .feature-strip, .destination-grid, .stats-grid, .card-grid, .card-grid.cols-2, .card-grid.cols-3, .podium-grid { grid-template-columns:1fr; }
  .speaker-tile { grid-template-columns:1fr; }
  .tile-side { text-align:left; }
  .tile-meter { width:100%; }
  .status-list { grid-template-columns:1fr; }
  .map-frame { height: 66vh; min-height: 540px; }
  .footer { flex-direction:column; }
}

body.map-page-real-controls {
  background-color: var(--black);
}
.map-page-real-controls .map-hero-tight {
  min-height: 300px;
  margin-top: 22px;
  padding-top: clamp(42px, 6vw, 82px);
  padding-bottom: clamp(22px, 4vw, 46px);
}
.map-page-real-controls .map-hero-tight .lead { max-width: 850px; margin-left:auto; margin-right:auto; }
.map-live-board {
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(5,8,6,.62), rgba(3,5,4,.92));
  box-shadow: var(--shadow);
  padding: 16px;
  overflow: hidden;
}
.map-live-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 6px 16px;
}
.map-live-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}
.map-live-head p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 760px;
}
.map-live-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; }
.map-page-real-controls .real-map-frame {
  border-radius: 28px;
  border-color: rgba(156,255,73,.32);
  box-shadow: 0 34px 100px rgba(0,0,0,.56), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.map-page-real-controls .map-frame {
  height: min(86vh, 900px);
  min-height: 760px;
}
@media (max-width: 900px) {
  .map-live-head { display:block; }
  .map-live-actions { justify-content:flex-start; margin-top:14px; }
  .map-page-real-controls .map-frame { min-height: 660px; height: 76vh; }
}


body.home-cleanup-page {
  min-height: 100vh;
  overflow-x: hidden;
}
.home-cleanup-page .home-shell {
  position: relative;
  width: min(1640px, calc(100% - 44px));
  min-height: 100vh;
  padding: 22px 0 24px;
}
.home-cleanup-page .home-nav {
  position: fixed;
  left: 50%;
  top: 18px;
  width: min(1540px, calc(100% - 44px));
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(8, 10, 8, .72), rgba(5, 7, 5, .56));
  border-color: rgba(218, 255, 202, .18);
  backdrop-filter: blur(20px) saturate(150%);
}
.home-main-clean {
  min-height: calc(100vh - 42px);
}
.home-hero-clean {
  position: relative;
  min-height: calc(100vh - 42px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  isolation: isolate;
  padding: calc(var(--nav-h) + 70px) 24px 190px;
}
.home-hero-art {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
}
.home-hero-shade {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 23%, rgba(156,255,73,.13), transparent 25rem),
    radial-gradient(circle at 18% 46%, rgba(0,0,0,.06), rgba(0,0,0,.26) 34rem, rgba(0,0,0,.68) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.16) 35%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.90) 100%),
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.16) 34%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.72) 100%);
}
.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 14px 42px rgba(0,0,0,.72);
}
.home-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.home-kicker .eyebrow {
  margin: 0;
  color: #aefc65;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .28em;
  white-space: nowrap;
}
.home-kicker-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--green);
  font-size: 30px;
  filter: drop-shadow(0 0 18px rgba(156,255,73,.52));
}
.home-kicker-line {
  width: min(150px, 12vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156,255,73,.72), transparent);
}
.home-cleanup-page .home-hero-clean h1 {
  margin: 0;
  color: #f6f7f0;
  font-size: clamp(56px, 9.2vw, 142px);
  line-height: .90;
  letter-spacing: -.07em;
  text-transform: uppercase;
  font-weight: 950;
  text-wrap: balance;
}
.home-cleanup-page .home-hero-clean h1 span {
  display: block;
  color: var(--green);
  text-shadow: 0 0 34px rgba(156,255,73,.20), 0 14px 50px rgba(0,0,0,.76);
}
.home-cleanup-page .home-hero-clean .lead {
  margin: 24px auto 0;
  max-width: 850px;
  color: rgba(246, 248, 240, .88);
  font-size: clamp(17px, 1.42vw, 23px);
  line-height: 1.55;
}
.home-cleanup-page .home-hero-actions {
  justify-content: center;
  margin-top: 34px;
}
.home-cleanup-page .home-hero-actions .empire-button,
.home-cleanup-page .home-hero-actions .secondary-button {
  min-width: 235px;
  min-height: 64px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-cleanup-page .home-status-row {
  margin-top: 26px;
  background: rgba(4, 7, 5, .58);
  border-color: rgba(159,255,105,.20);
  backdrop-filter: blur(12px);
}
.home-feature-dock {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: -154px auto 0;
  width: min(1500px, calc(100% - 20px));
  border: 1px solid rgba(159,255,105,.18);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 12, 10, .76), rgba(4, 6, 5, .86));
  box-shadow: 0 34px 100px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px) saturate(140%);
}
.home-feature-tile {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 142px;
  padding: 22px 20px;
  color: var(--text);
  text-decoration: none;
  border-right: 1px solid rgba(159,255,105,.12);
  transition: background .18s ease, transform .18s ease;
}
.home-feature-tile:last-child { border-right: 0; }
.home-feature-tile:hover {
  background: rgba(156,255,73,.065);
}
.home-feature-tile img {
  width: 64px;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.58));
}
.home-feature-glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-size: 26px;
  box-shadow: 0 16px 34px rgba(111,224,64,.20);
}
.home-feature-tile strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-feature-tile small {
  display: block;
  margin-top: 7px;
  color: rgba(217,223,213,.72);
  font-size: 13px;
  line-height: 1.35;
}

.home-ad-dock {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -132px auto 0;
  width: min(1500px, calc(100% - 20px));
}
.home-ad-intro,
.home-ad-card {
  min-height: 156px;
  border: 1px solid rgba(159,255,105,.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 12, 10, .76), rgba(4, 6, 5, .86));
  box-shadow: 0 34px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px) saturate(140%);
}
.home-ad-intro {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-ad-intro .eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 11px;
  letter-spacing: .26em;
}
.home-ad-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.home-ad-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
}
.home-ad-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -42% 20%;
  height: 110px;
  background: radial-gradient(circle, rgba(156,255,73,.18), transparent 66%);
  pointer-events: none;
}
.home-ad-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(156,255,73,.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
}
.home-ad-card strong {
  position: relative;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-ad-card small {
  position: relative;
  display: block;
  margin-top: 10px;
  color: rgba(217,223,213,.74);
  font-size: 13px;
  line-height: 1.42;
}
.home-cleanup-page .home-footer {
  position: relative;
  z-index: 5;
  width: min(1500px, calc(100% - 20px));
  margin: 18px auto 0;
  padding-bottom: 4px;
}
.home-cleanup-page .home-ambience-toggle {
  position: fixed;
  left: auto;
  right: 22px;
  bottom: 22px;
  inset: auto 22px 22px auto;
  z-index: 90;
  width: auto;
  min-width: 178px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(159,255,105,.22);
  border-radius: 18px;
  background: rgba(5,8,6,.76);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
  backdrop-filter: blur(16px);
  text-align: left;
}
.home-cleanup-page .home-ambience-toggle strong {
  display: block;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.home-cleanup-page .home-ambience-toggle span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.home-cleanup-page .home-ambience-toggle::before {
  content: "♫";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-weight: 950;
}
.home-cleanup-page .home-ambience-toggle.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.home-cleanup-page .destination-grid {
  display: none !important;
}
@media (max-width: 1250px) {
  .home-cleanup-page .home-feature-dock {
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin-top: -120px;
  }
  .home-cleanup-page .home-feature-tile:nth-child(even) { border-right: 0; }
  .home-cleanup-page .home-feature-tile:last-child { grid-column: 1 / -1; }
  .home-ad-dock {
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin-top: -118px;
  }
  .home-ad-intro { grid-column: 1 / -1; min-height: 128px; }
}
@media (max-width: 760px) {
  .home-cleanup-page .home-shell,
  .home-cleanup-page .home-nav {
    width: min(100% - 22px, 100%);
  }
  .home-cleanup-page .home-nav {
    position: sticky;
    top: 12px;
    transform: none;
    left: auto;
  }
  .home-hero-clean {
    min-height: auto;
    padding: 44px 8px 130px;
  }
  .home-kicker-line { display: none; }
  .home-kicker .eyebrow { white-space: normal; }
  .home-cleanup-page .home-hero-clean h1 {
    font-size: clamp(46px, 15vw, 78px);
  }
  .home-feature-dock {
    grid-template-columns: 1fr !important;
    margin-top: -96px;
  }
  .home-feature-tile {
    border-right: 0;
    border-bottom: 1px solid rgba(159,255,105,.12);
  }
  .home-feature-tile:last-child { border-bottom: 0; }
  .home-ad-dock {
    grid-template-columns: 1fr;
    margin-top: -88px;
  }
  .home-ad-intro,
  .home-ad-card {
    min-height: 132px;
    border-radius: 22px;
  }
  .home-ad-intro,
  .home-ad-card { padding: 22px; }
  .home-cleanup-page .home-ambience-toggle { right: 12px; bottom: 12px; min-width: 0; }
}

.empire-mark { font-size: 25px; letter-spacing: 0; }
.hero-actions.left { justify-content: flex-start; }
.compact-section-head { margin-bottom: 18px; }
.compact-section-head h2 { font-size: clamp(26px, 3vw, 38px); }

.voice-clean-page .voice-clean-hero .voice-hero-row {
  min-height: 470px;
  align-items: center;
  background:
    radial-gradient(circle at 47% 24%, rgba(156,255,73,.13), transparent 25rem),
    linear-gradient(90deg, rgba(0,0,0,.50), rgba(0,0,0,.18) 46%, rgba(0,0,0,.62)),
    linear-gradient(180deg, rgba(8,12,9,.46), rgba(5,8,6,.78));
}
.voice-clean-page .voice-hero-copy { max-width: 760px; }
.voice-clean-page .voice-hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(64px, 9vw, 118px);
}
.voice-clean-page .voice-hero-copy p { max-width: 720px; }
.voice-control-layout { align-items: stretch; }
.voice-control-card, .voice-audio-card, .voice-privacy-card, .voice-room-card { backdrop-filter: blur(16px) saturate(140%); }
.compact-status-list { grid-template-columns: 1fr; }
.voice-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(159,255,105,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.voice-account-row p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.voice-account-row .eyebrow { margin-bottom: 4px; }
.voice-primary-actions .primary-button { min-width: 150px; }
.voice-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.voice-feature-strip .feature-item { min-height: 150px; }
.voice-feature-strip .feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 15px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(111,224,64,.20);
}
.voice-room-card .empty-roster { min-height: 220px; display: grid; place-items: center; }

.skins-clean-page .skins-hero-clean h1 { max-width: 10ch; }
.skins-status-grid .stat-card { min-height: 112px; }
.skins-builder-clean { align-items: stretch; }
.skins-builder-clean .skin-preview {
  min-height: 690px;
  border-color: rgba(159,255,105,.18);
  background:
    radial-gradient(circle at 50% 34%, rgba(156,255,73,.18), transparent 27rem),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,.035), transparent 23rem),
    linear-gradient(180deg, rgba(9,12,10,.66), rgba(3,5,4,.82));
}
.skin-preview-label {
  position: absolute;
  left: 26px;
  top: 24px;
  z-index: 3;
  display: grid;
  gap: 4px;
}
.skin-preview-label strong { color: #fff; font-size: 26px; line-height: 1; }
.skin-preview-label span { color: var(--muted); }
.builder-card-clean, .palette-card-clean, .library-card-clean { background: linear-gradient(180deg, rgba(8,12,9,.82), rgba(4,7,5,.94)); }
.library-card-clean { min-height: 210px; }

.leaderboard-clean-grid {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.2fr) minmax(0,.82fr);
  gap: 16px;
  align-items: stretch;
}
.podium-card {
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}
.podium-card::before {
  content: "";
  position: absolute;
  inset: auto 18% -60px;
  height: 110px;
  border-radius: 999px;
  background: rgba(156,255,73,.18);
  filter: blur(24px);
}
.podium-card.first {
  min-height: 270px;
  border-color: rgba(159,255,105,.30);
  background:
    radial-gradient(circle at 50% 0%, rgba(156,255,73,.16), transparent 18rem),
    linear-gradient(180deg, rgba(12,18,11,.86), rgba(4,7,5,.95));
}
.muted-podium { opacity: .88; }
.rank-badge {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 17px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-weight: 950;
  font-size: 22px;
}
.leaderboard-body-clean {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 16px;
  align-items: stretch;
}
.leaderboard-table-clean .ranking-table td[colspan="6"] { padding: 48px 18px; text-align: center; }
.empty-table-row strong { display: block; color: #fff; font-size: 22px; }
.empty-table-row span { display: block; margin-top: 8px; color: var(--muted); }
.season-summary-clean .hero-actions { margin-top: 20px; }

.account-dashboard-clean {
  display: grid;
  grid-template-columns: minmax(360px,.85fr) minmax(0,1.15fr);
  gap: 16px;
  align-items: stretch;
}
.profile-card-clean { min-height: 100%; }
.profile-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.profile-avatar.large {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  font-size: 34px;
}
.link-list, .info-stack, .quick-list { display: grid; gap: 10px; margin-top: 18px; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.info-row small { color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.info-row strong { color: #fff; text-align: right; }
.quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.025);
  text-decoration: none;
  font-weight: 850;
}
.quick-list a:hover { border-color: rgba(159,255,105,.30); background: rgba(156,255,73,.06); }
.account-stats-clean { align-content: stretch; }
.account-lower-clean .empire-card { min-height: 280px; }

.vault-empty-clean {
  min-height: 310px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 78% 50%, rgba(156,255,73,.10), transparent 24rem),
    linear-gradient(180deg, rgba(8,12,9,.80), rgba(4,7,5,.94));
}
.vault-stats-clean .stat-card { min-height: 112px; }

@media (max-width: 1180px) {
  .voice-feature-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .leaderboard-clean-grid, .leaderboard-body-clean, .account-dashboard-clean { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .voice-clean-page .voice-hero-copy h1 { font-size: clamp(52px, 18vw, 82px); }
  .voice-account-row { display: grid; }
  .voice-feature-strip { grid-template-columns: 1fr; }
  .leaderboard-clean-grid { grid-template-columns: 1fr; }
  .skin-preview-label { position: relative; left: auto; top: auto; margin-bottom: 20px; }
}


.home-cleanup-page .home-hero-actions,
.home-cleanup-page .home-hero-content > .home-status-row {
  display: none !important;
}

@media (max-width: 760px) {
  .nav-status-mini { order: 3; max-width: 150px; }
  .nav-status-mini small { max-width: 104px; }
}

.voice-integrated.voice-clean-page {
  width: min(1440px, calc(100% - 44px));
  padding-bottom: 34px;
}
.voice-clean-page .voice-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(159,255,105,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,12,9,.70), rgba(4,7,5,.84));
  box-shadow: 0 24px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px) saturate(145%);
}
.voice-channel-title {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.voice-channel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(111,224,64,.22);
}
.voice-channel-title small,
.voice-profile-copy small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}
.voice-channel-title strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.voice-session-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.voice-session-pill {
  min-height: 36px;
  padding-inline: 13px;
}
.voice-server-chip {
  min-width: 218px;
  max-width: 300px;
  min-height: 42px;
  padding: 8px 11px;
  border-color: rgba(159,255,105,.14);
  background: rgba(0,0,0,.20);
}
.voice-server-chip small {
  max-width: 214px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.voice-discord-layout {
  display: grid;
  grid-template-columns: minmax(260px, 310px) minmax(430px, 1fr) minmax(280px, 330px);
  gap: 16px;
  align-items: stretch;
}
.voice-discord-layout .card {
  border-radius: 24px;
  border-color: rgba(159,255,105,.13);
  background: linear-gradient(180deg, rgba(8, 13, 9, .82), rgba(4, 7, 5, .92));
  box-shadow: 0 24px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.025);
}
.voice-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 590px;
  padding: 16px;
}
.voice-profile-row {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.voice-profile-row .profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}
.voice-profile-copy {
  min-width: 0;
}
.voice-profile-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.voice-profile-copy small {
  margin-top: 5px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}
.voice-login-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
}
.voice-quick-status {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.voice-quick-status > div {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr);
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.052);
  border-radius: 13px;
  background: rgba(0,0,0,.16);
}
.voice-quick-status span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 900;
}
.voice-quick-status strong {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 12px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.voice-range-label {
  margin-top: 16px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.voice-range-select {
  min-height: 42px;
  border-radius: 13px;
  background: rgba(0,0,0,.24);
}
.voice-call-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}
.voice-join-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
}
.voice-join-button::before,
.voice-icon-button::before {
  content: attr(data-icon);
  font-size: 15px;
  line-height: 1;
}
.voice-icon-button {
  display: inline-grid;
  grid-template-rows: 20px 18px;
  gap: 2px;
  min-height: 54px;
  padding: 7px 6px;
  border-radius: 15px;
  font-size: 11px;
  line-height: 1;
}
.voice-icon-button::before {
  display: grid;
  place-items: center;
}
.voice-compact-log {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.35;
}
.voice-log.voice-compact-log {
  margin-top: 8px;
}
.voice-room-panel {
  min-height: 590px;
  padding: 18px;
}
.voice-room-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(159,255,105,.10);
}
.voice-room-topline h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.voice-room-card .room-summary-inline {
  max-width: 430px;
  justify-content: flex-end;
}
.voice-room-card .room-summary-inline span {
  min-height: 32px;
  padding: 6px 10px;
  border-color: rgba(159,255,105,.11);
  background: rgba(0,0,0,.20);
}
.voice-room-panel .voice-roster {
  margin-top: 16px;
}
.voice-room-panel .empty-roster {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: rgba(244,246,240,.58);
  background:
    radial-gradient(circle at 50% 40%, rgba(156,255,73,.07), transparent 20rem),
    rgba(0,0,0,.16);
}
.voice-right-rail {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 590px;
}
.voice-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.voice-card-title-row h2 {
  font-size: 26px;
}
.voice-reset-mini {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
}
.voice-audio-card {
  padding: 16px;
}
.voice-slider {
  position: relative;
  margin-top: 10px;
  padding: 13px 13px 12px 44px;
  border-radius: 16px;
  background: rgba(0,0,0,.16);
}
.voice-slider::before {
  content: attr(data-symbol);
  position: absolute;
  left: 12px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  opacity: .86;
  font-size: 16px;
}
.voice-slider label {
  margin-bottom: 7px;
}
.voice-slider small {
  min-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.voice-safety-card {
  gap: 12px;
  padding: 16px;
}
.voice-safety-card h2 {
  font-size: 23px;
}
.voice-safety-card p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.45;
}
.voice-safety-card .privacy-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-top: 0;
  border-radius: 12px;
  color: #071107;
  background: linear-gradient(180deg, var(--green), var(--green-2));
  font-size: 15px;
}
.voice-clean-page .voice-feature-strip,
.voice-clean-page .voice-hero {
  display: none !important;
}
.voice-clean-page .footer {
  margin-top: 18px;
  color: rgba(244,246,240,.38);
}

@media (max-width: 1180px) {
  .voice-discord-layout {
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  }
  .voice-right-rail {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    min-height: 0;
  }
  .voice-room-panel,
  .voice-sidebar {
    min-height: 560px;
  }
}
@media (max-width: 860px) {
  .voice-integrated.voice-clean-page {
    width: min(100% - 24px, 1440px);
    padding-top: 12px;
  }
  .voice-clean-page .voice-command-bar,
  .voice-session-state,
  .voice-room-topline {
    align-items: stretch;
    flex-direction: column;
  }
  .voice-server-chip {
    width: 100%;
    max-width: none;
  }
  .voice-discord-layout,
  .voice-right-rail {
    grid-template-columns: 1fr;
  }
  .voice-sidebar,
  .voice-room-panel,
  .voice-right-rail {
    min-height: 0;
  }
  .voice-room-panel .empty-roster {
    min-height: 260px;
  }
  .voice-room-card .room-summary-inline {
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .voice-profile-row {
    grid-template-columns: 42px 1fr;
  }
  .voice-profile-row .account-widget {
    grid-column: 1 / -1;
  }
  .voice-login-btn {
    width: 100%;
  }
}


.map-page-minimal {
  min-height: 100vh;
  overflow: hidden;
}
.map-page-minimal .map-shell {
  width: min(1700px, calc(100% - 32px));
  min-height: 100vh;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
.map-page-minimal .map-direct-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  padding-top: 14px;
}
.map-page-minimal .map-direct-board {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
}
.map-page-minimal .map-direct-frame {
  height: calc(100vh - var(--nav-h) - 48px);
  min-height: 620px;
  border-radius: 24px;
}
.map-page-minimal .map-frame {
  height: 100%;
  min-height: 0;
}
.map-page-minimal .footer,
.map-page-minimal .page-hero,
.map-page-minimal .map-live-head,
.map-page-minimal .map-live-actions {
  display: none !important;
}
@media (max-width: 760px) {
  .map-page-minimal {
    overflow: auto;
  }
  .map-page-minimal .map-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }
  .map-page-minimal .map-direct-main {
    padding-top: 10px;
  }
  .map-page-minimal .map-direct-frame {
    height: calc(100vh - 190px);
    min-height: 640px;
    border-radius: 18px;
  }
}

.leaderboard-minimal-page .page-hero,
.leaderboard-minimal-page .leaderboard-clean-grid,
.leaderboard-minimal-page .season-summary-clean,
.account-minimal-page .page-hero,
.account-minimal-page .account-lower-clean {
  display: none !important;
}
.leaderboard-minimal-main,
.account-minimal-main {
  padding-top: clamp(18px, 3.2vh, 42px);
}
.leaderboard-minimal-panel,
.account-dashboard-minimal,
.account-activity-minimal {
  margin-top: 0;
}
.leaderboard-rankings-card,
.profile-card-minimal,
.activity-card-minimal {
  background: linear-gradient(180deg, rgba(8,12,9,.80), rgba(4,7,5,.92));
}
.leaderboard-table-head,
.activity-card-minimal .section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.leaderboard-table-head h1,
.profile-card-minimal h1 {
  margin: 0;
  line-height: .96;
  color: #fff;
  font-size: clamp(32px, 4.2vw, 58px);
  letter-spacing: -.055em;
}
.leaderboard-table-head .eyebrow,
.profile-card-minimal .eyebrow,
.activity-card-minimal .eyebrow {
  margin-bottom: 8px;
}
.leaderboard-minimal-page .ranking-table td[colspan="6"] {
  padding: clamp(72px, 13vh, 150px) 18px;
}
.leaderboard-minimal-page .empty-table-row strong {
  color: var(--green);
}
.account-dashboard-minimal {
  grid-template-columns: minmax(340px,.78fr) minmax(0,1.22fr);
}
.profile-card-minimal {
  min-height: 260px;
  display: grid;
  align-content: space-between;
}
.account-minimal-page .profile-avatar.large {
  border-radius: 22px;
}
.account-stats-minimal .stat-card {
  min-height: 260px;
  display: grid;
  align-content: start;
}
.account-stats-minimal .stat-card strong {
  font-size: clamp(42px, 5vw, 68px);
}
.account-activity-minimal .activity-card-minimal {
  min-height: 0;
}
.compact-info-stack {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.minimal-footer {
  justify-content: flex-start;
}
.minimal-footer span + span {
  display: none;
}
@media (max-width: 1180px) {
  .account-dashboard-minimal,
  .compact-info-stack {
    grid-template-columns: 1fr;
  }
  .account-stats-minimal .stat-card { min-height: 150px; }
}
@media (max-width: 760px) {
  .leaderboard-table-head,
  .activity-card-minimal .section-head {
    display: grid;
  }
  .leaderboard-table-clean { overflow-x: auto; }
  .account-minimal-page .nav-actions .secondary-button { display: none; }
}


.voice-hidden-status[hidden] { display: none !important; }
.voice-clean-page .voice-command-bar,
.voice-clean-page .voice-quick-status,
.voice-clean-page .voice-compact-log,
.voice-clean-page .voice-privacy-card,
.voice-clean-page .voice-safety-card { display: none !important; }
.voice-discord-layout { margin-top: 18px; }
.voice-right-rail { grid-template-rows: auto; align-content: start; min-height: 0; }
.voice-sidebar, .voice-room-panel { min-height: 560px; }

.skins-clean-page .page-hero,
.skins-clean-page .skins-status-grid { display: none !important; }
.skins-clean-page main { padding-top: 12px; }
.skin-region-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.skin-region-grid .swatch-card:last-child { grid-column: 1 / -1; }
.skin-creature {
  --skin-flank:#A16235;
  --skin-underbelly:#E7DDBF;
  --skin-detail:#D9AA4B;
  --skin-display:#D92835;
}
.skin-creature::before {
  background:
    radial-gradient(ellipse at 62% 46%, color-mix(in srgb, var(--skin-flank), transparent 18%) 0 32%, transparent 52%),
    linear-gradient(180deg, var(--skin-body) 0 54%, color-mix(in srgb, var(--skin-underbelly), #000 10%) 54% 100%);
}
.skin-creature::after {
  background:
    radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--skin-display), transparent 35%) 0 18%, transparent 38%),
    linear-gradient(145deg,var(--skin-body), color-mix(in srgb, var(--skin-body), #000 36%));
}
.skin-frill { background:linear-gradient(180deg, var(--skin-detail), transparent); }
.skin-stripes { box-shadow: 0 20px 0 -17px var(--skin-display); }
@media (max-width: 760px) {
  .skin-region-grid { grid-template-columns: 1fr; }
  .skin-region-grid .swatch-card:last-child { grid-column: auto; }
}

.home-server-overview .home-server-pitch {
  position: relative;
  overflow: hidden;
  border-color: rgba(159,255,105,.30);
  background:
    radial-gradient(circle at 84% 18%, rgba(156,255,73,.20), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 11, .84), rgba(3, 5, 4, .92));
}
.home-server-overview .home-server-pitch::after {
  content: "SERVER HUB";
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(156,255,73,.10);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1;
  pointer-events: none;
}
.home-server-overview .home-server-pitch small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 34rem;
  margin-top: 14px;
  color: rgba(217,223,213,.78);
  font-size: 13px;
  line-height: 1.45;
}
.home-server-overview .home-ad-card {
  background:
    radial-gradient(circle at 50% 112%, rgba(156,255,73,.14), transparent 52%),
    linear-gradient(180deg, rgba(9, 12, 10, .78), rgba(4, 6, 5, .90));
}
.home-server-overview .home-ad-card strong {
  font-size: 19px;
}

.nav-links { gap: 16px; }
.nav-link { letter-spacing: .125em; }
.vault-tool-page {
  width: min(1440px, calc(100% - 44px));
}
.vault-main {
  padding-top: 8px;
}
.vault-board {
  margin-top: 18px;
}
.vault-panel {
  min-height: calc(100vh - 190px);
  display: grid;
  align-content: start;
  gap: 18px;
  border-color: rgba(159,255,105,.22);
  background:
    radial-gradient(circle at 78% 12%, rgba(156,255,73,.10), transparent 28rem),
    linear-gradient(180deg, rgba(8,12,9,.76), rgba(4,7,5,.92));
}
.vault-head {
  margin-bottom: 0;
}
.vault-head h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.vault-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.vault-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.vault-mini-stat {
  min-height: 84px;
  padding: 16px;
  border: 1px solid rgba(159,255,105,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.026);
}
.vault-mini-stat strong {
  display: block;
  color: var(--green);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: .95;
  letter-spacing: -.04em;
}
.vault-mini-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.vault-notice {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 16px;
  color: var(--soft);
  background: rgba(255,255,255,.024);
}
.vault-notice[data-type="warn"] {
  border-color: rgba(223,184,79,.26);
  color: #f2d480;
  background: rgba(223,184,79,.055);
}
.vault-notice[data-type="ok"] {
  border-color: rgba(159,255,105,.24);
  color: var(--green);
  background: rgba(156,255,73,.055);
}
.vault-list {
  display: grid;
  gap: 14px;
}
.vault-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(159,255,105,.24);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(0,0,0,.20);
}
.vault-dino-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(159,255,105,.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8,12,9,.78), rgba(4,7,5,.90));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028);
}
.vault-dino-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.compact-eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
}
.vault-dino-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.vault-dino-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.gold-pill {
  color: #f7d66c;
  border-color: rgba(223,184,79,.32);
  background: rgba(223,184,79,.08);
}
.compact-action {
  min-height: 42px;
  min-width: 122px;
  padding-inline: 16px;
}
.vault-dino-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.vault-dino-stat {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.024);
}
.vault-dino-stat small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vault-dino-stat strong {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vault-growth-bar {
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(159,255,105,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.36);
}
.vault-growth-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-3), var(--green));
  box-shadow: 0 0 18px rgba(156,255,73,.38);
}
.vault-mutations {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vault-mutations span:not(.muted) {
  padding: 6px 10px;
  border: 1px solid rgba(159,255,105,.22);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(156,255,73,.055);
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 1250px) {
  .nav-links { gap: 11px; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .vault-head, .vault-dino-head { display: grid; }
  .vault-actions, .vault-dino-actions { justify-content: flex-start; }
  .vault-stat-row, .vault-dino-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .vault-stat-row, .vault-dino-stats { grid-template-columns: 1fr; }
}


.home-server-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-server-overview .home-ad-card.home-feature-card {
  justify-content: flex-start;
  gap: 14px;
  min-height: 176px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 112%, rgba(156,255,73,.12), transparent 52%),
    linear-gradient(180deg, rgba(9, 12, 10, .78), rgba(4, 6, 5, .90));
}
.home-server-overview .home-ad-card.home-feature-card::before {
  inset: auto -24% -44% 24%;
}
.home-server-overview .home-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--green);
  background: rgba(156,255,73,.10);
  box-shadow: inset 0 0 0 1px rgba(159,255,105,.16), 0 0 26px rgba(156,255,73,.10);
}
.home-server-overview .home-feature-icon svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(156,255,73,.14));
}
.home-server-overview .home-ad-card.home-feature-card strong {
  font-size: 17px;
  letter-spacing: .11em;
}
.home-server-overview .home-ad-card.home-feature-card small {
  margin-top: 0;
  max-width: 24ch;
}
@media (max-width: 1050px) {
  .home-server-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .home-server-overview {
    grid-template-columns: 1fr;
  }
  .home-server-overview .home-ad-card.home-feature-card {
    min-height: 144px;
  }
}


.empire-nav {
  min-height: var(--nav-h);
  grid-template-columns: minmax(275px, auto) minmax(500px, 1fr) minmax(250px, auto);
}
.nav-actions {
  min-width: 250px;
}
.nav-auth-button {
  min-width: 138px;
  white-space: nowrap;
}
.nav-profile-button {
  max-width: 210px;
  min-width: 138px;
  padding: 0 14px 0 10px;
  color: #081107;
  border: 0;
  background: linear-gradient(180deg, #b5ff69 0%, #86ed4d 52%, #65d43e 100%);
  box-shadow: 0 17px 40px rgba(111,224,64,.26), inset 0 1px 0 rgba(255,255,255,.40);
}
.nav-profile-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(8,17,7,.18);
  box-shadow: inset 0 0 0 1px rgba(8,17,7,.20);
}
.nav-profile-initials {
  display: inline-grid;
  place-items: center;
  color: #081107;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .04em;
}
.nav-profile-name {
  min-width: 0;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .empire-nav {
    grid-template-columns: 1fr;
  }
  .nav-actions {
    min-width: 0;
    justify-content: flex-start;
  }
}


body {
  background-size: auto, auto, max(100vw, 177.78vh) auto;
  background-position: center center, center center, center center;
  background-attachment: fixed, fixed, fixed;
}
body.home-cleanup-page,
body.page-map,
body.page-skins,
body.page-leaderboard,
body.page-account,
body.page-vault,
body.release-mode {
  background-size: auto, auto, max(100vw, 177.78vh) auto;
  background-position: center center, center center, center center;
  background-attachment: fixed, fixed, fixed;
}


.empire-shell,
.page-shell,
.page-shell.wide,
.empire-shell.wide,
.map-shell,
.app-shell,
.app-shell.voice-integrated,
.home-cleanup-page .home-shell,
.home-page .page-shell {
  width: min(1580px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 24px !important;
}
.empire-nav,
.home-cleanup-page .home-nav {
  position: sticky !important;
  top: 18px !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-height: var(--nav-h) !important;
  margin: 0 auto !important;
  padding: 14px 18px !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: minmax(275px, auto) minmax(500px, 1fr) minmax(250px, auto) !important;
  align-items: center !important;
  gap: 18px !important;
}
.nav-actions {
  min-width: 250px !important;
}
@media (max-width: 1180px) {
  .empire-nav,
  .home-cleanup-page .home-nav {
    grid-template-columns: 1fr !important;
  }
  .nav-actions {
    min-width: 0 !important;
  }
}
@media (max-width: 720px) {
  .empire-shell,
  .page-shell,
  .page-shell.wide,
  .empire-shell.wide,
  .map-shell,
  .app-shell,
  .app-shell.voice-integrated,
  .home-cleanup-page .home-shell,
  .home-page .page-shell {
    width: min(100% - 22px, 100%) !important;
    padding-top: 12px !important;
  }
  .empire-nav,
  .home-cleanup-page .home-nav {
    top: 12px !important;
  }
}


.empire-nav,
.home-cleanup-page .home-nav {
  box-sizing: border-box !important;
  width: min(1540px, calc(100vw - 40px)) !important;
  max-width: min(1540px, calc(100vw - 40px)) !important;
  min-height: var(--nav-h) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 14px 18px !important;
  position: sticky !important;
  top: 18px !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: minmax(275px, auto) minmax(500px, 1fr) minmax(250px, auto) !important;
  align-items: center !important;
  gap: 18px !important;
}
@media (max-width: 1180px) {
  .empire-nav,
  .home-cleanup-page .home-nav {
    width: min(100vw - 26px, 1540px) !important;
    max-width: min(100vw - 26px, 1540px) !important;
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 720px) {
  .empire-nav,
  .home-cleanup-page .home-nav {
    width: min(100vw - 18px, 1540px) !important;
    max-width: min(100vw - 18px, 1540px) !important;
    top: 10px !important;
  }
}


.home-live-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-top: auto;
  padding: 0 11px;
  border: 1px solid rgba(159,255,105,.14);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0,0,0,.22);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.account-link-row {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
}
.link-mini-button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(159,255,105,.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(156,255,73,.06);
  font-weight: 900;
}
.account-inline-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 10px;
  margin-top: -2px;
}
.account-inline-form[hidden] {
  display: none;
}
.account-inline-form input {
  min-height: 44px;
}
.compact-action {
  min-height: 42px;
  padding-inline: 14px;
  border-radius: 12px;
}

.leaderboard-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}
.leaderboard-filter {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(159,255,105,.14);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(0,0,0,.24);
  font-weight: 900;
}
.leaderboard-filter.active,
.leaderboard-filter:hover {
  color: #081107;
  border-color: transparent;
  background: linear-gradient(180deg, #b5ff69 0%, #86ed4d 52%, #65d43e 100%);
}

.skin-live-status {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(0,0,0,.18);
}
.skin-live-status[data-type="ok"] {
  color: var(--green);
  border-color: rgba(159,255,105,.24);
  background: rgba(156,255,73,.055);
}
.skin-live-status[data-type="warn"] {
  color: #f2d480;
  border-color: rgba(223,184,79,.26);
  background: rgba(223,184,79,.055);
}
.live-skin-button {
  box-shadow: 0 17px 40px rgba(111,224,64,.24), inset 0 1px 0 rgba(255,255,255,.40);
}
.skin-presets-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(8,12,9,.82), rgba(4,7,5,.94));
}
.skin-preset-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skin-preset-list {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
}
.skin-preset-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  text-align: left;
  border: 1px solid rgba(159,255,105,.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.skin-preset-item small {
  color: var(--muted);
}
.skin-chip {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.skin-save-card {
  grid-template-columns: 1fr;
  padding: 12px;
}
.skin-load-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
}
.skin-load-button .skin-chip {
  width: 42px;
  height: 42px;
}
.skin-load-button small {
  color: var(--muted);
}
.skin-save-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 52px;
}
.skin-save-actions .empire-button,
.skin-save-actions .secondary-button,
.skin-save-actions .ghost-button {
  min-height: 38px;
  padding-inline: 12px;
}
.skin-save-actions .live-skin-button {
  min-width: 128px;
}
@media (max-width: 720px) {
  .account-inline-form {
    grid-template-columns: 1fr;
  }
  .skin-save-actions {
    margin-left: 0;
  }
}
