@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

:root {
  --bg: #070908;
  --surface: #0a0d0b;
  --surface-2: #0d110e;
  --surface-3: #111612;
  --text: #f4f1e8;
  --accent: #b7ff3c;
  --danger: #ff786d;
  --warning: #ffd36a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --line: rgba(244, 241, 232, .16);
  --line-strong: rgba(244, 241, 232, .28);
  --muted: rgba(244, 241, 232, .70);
  --quiet: rgba(244, 241, 232, .56);
  --side: clamp(20px, 4vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(to bottom, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
  color: var(--text);
  font-family: "Onest", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed;
  z-index: 75;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body::selection { background: var(--accent); color: var(--bg); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 300; hyphens: none; text-wrap: balance; }
strong, b { font-weight: 400; }
.hidden { display: none !important; }
.shell { width: min(1240px, calc(100% - (var(--side) * 2))); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px var(--side);
  transition: background 420ms var(--ease), border-color 420ms var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 9, 8, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 14px;
  letter-spacing: .14em;
}
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.main-nav { display: flex; justify-content: flex-end; gap: 6px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 13px;
  transition: color 320ms var(--ease), transform 520ms var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); transform: translateY(-2px); }
.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.admin-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; }

.lang-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 82px;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch-glider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 36px;
  height: 34px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 500ms var(--ease);
}
.lang-switch.is-en .lang-switch-glider { transform: translateX(38px); }
.lang-switch button {
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--quiet);
  font-size: 10px;
  letter-spacing: .12em;
  cursor: pointer;
}
.lang-switch button.active { color: var(--bg); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 420ms var(--ease), top 420ms var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  transition: transform 620ms var(--ease), border-color 500ms var(--ease), opacity 320ms var(--ease);
}
.btn-primary { border: 0; background: var(--accent); color: var(--bg); }
.btn-outline,
.btn-secondary,
.btn-ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.btn-fill {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.btn-label { position: relative; transition: transform 320ms var(--ease), color 320ms var(--ease); }
.btn-primary:hover .btn-fill { transform: scaleX(1); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .btn-label { transform: translateX(3px); }
.btn-outline:hover,
.btn-secondary:hover,
.btn-ghost:hover { border-color: var(--text); }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }

/* Type */
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 5rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.section-head h2 { margin-top: 7px; }
.text-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 500ms var(--ease);
}
.text-link:hover::after { transform: scaleX(.35); }
.section { padding-block: clamp(82px, 9vw, 140px); }

/* Home hero — Scheme A */
.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,9,8,0) 0%, rgba(7,9,8,.42) 56%, var(--bg) 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.035);
  transition: transform 900ms var(--ease);
  filter: saturate(.76) contrast(1.02) brightness(.92) hue-rotate(-5deg);
}
.hero-blur {
  position: absolute;
  inset: auto 0 0;
  height: 64%;
  backdrop-filter: blur(22px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.92) 26%, transparent 78%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.92) 26%, transparent 78%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  z-index: 3;
  left: var(--side);
  bottom: clamp(38px, 7vh, 82px);
  width: min(760px, calc(100vw - (var(--side) * 2)));
}
.hero h1 {
  margin-top: 10px;
  font-size: clamp(2.9rem, 8vw, 8.8rem);
  line-height: .86;
  letter-spacing: -.044em;
  text-shadow: 0 3px 34px rgba(0,0,0,.34);
}
.hero-lead {
  max-width: 54ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.hero-actions { display: flex; gap: 10px; }
.hero-cta small,
.cta-inline small,
.page-cta small { max-width: 18ch; color: var(--quiet); font-size: 12px; line-height: 1.45; }
.hero-live {
  position: absolute;
  z-index: 3;
  right: var(--side);
  bottom: clamp(40px, 7vh, 82px);
  display: grid;
  min-width: 210px;
}
.hero-live > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(244,241,232,.28);
}
.hero-live strong { font-size: 25px; font-weight: 300; font-variant-numeric: tabular-nums; }
.hero-live span { color: var(--muted); font-size: 11px; }
.hero-sector-note {
  position: absolute;
  z-index: 3;
  top: clamp(210px, 26vh, 310px);
  right: var(--side);
  width: min(290px, 24vw);
  padding: 18px 20px 20px;
  border: 1px solid rgba(244,241,232,.16);
  background: rgba(8,13,10,.48);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.hero-sector-note span { display:block; color:rgba(183,255,60,.66); font-size:9px; letter-spacing:.16em; }
.hero-sector-note strong { display:block; margin-top:10px; color:var(--text); font-size:clamp(17px,1.45vw,24px); font-weight:300; line-height:1.08; letter-spacing:-.02em; }

@media (max-width: 980px) {
  .hero-sector-note { display:none; }
}

/* News */
.editorial-section {
  position: relative;
  z-index: 4;
  isolation: isolate;
  margin-top: 0;
  padding-top: clamp(96px, 11vw, 168px);
}
.editorial-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 18%, var(--surface) 34%, var(--bg) 78%, var(--bg) 100%);
}
.featured-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
  grid-template-rows: 1fr 1fr;
  min-height: 660px;
  gap: 1px;
  background: var(--line);
}
.featured-news-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
.featured-news-main { grid-row: 1 / 3; }
.featured-news-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease), filter 700ms var(--ease);
}
.featured-news-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 58%;
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.featured-news-card:hover .featured-news-art { transform: scale(1.045); filter: saturate(1.08); }
.featured-news-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(90deg, rgba(3,8,12,.92) 0%, rgba(3,8,12,.78) 58%, rgba(3,8,12,.18) 100%); border-top: 1px solid rgba(255,255,255,.09); box-shadow: 0 -18px 36px rgba(3,8,12,.24); }
.featured-news-copy h3,.featured-news-copy p,.featured-news-copy small,.featured-news-copy .news-read-more { text-shadow: 0 1px 2px rgba(0,0,0,.82); }
.featured-news-main .featured-news-copy { padding: clamp(28px, 4vw, 52px); }
.featured-news-copy small { color: var(--quiet); font-size: 11px; }
.featured-news-copy h3 { margin: 8px 0 8px; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.04; letter-spacing: -.025em; }
.featured-news-main h3 { max-width: 20ch; font-size: clamp(32px, 4.2vw, 58px); line-height: .96; letter-spacing: -.035em; }
.featured-news-copy p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.news-read-more { display: inline-block; margin-top: 16px; color: var(--text); font-size: 12px; }
.featured-news-side .news-read-more { display: none; }

/* Live server list */
.status-section {
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 22%, var(--surface-2) 62%, var(--surface) 100%);
}
.server-list { display: grid; }
.server-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 110px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background 700ms var(--ease), border-color 700ms var(--ease);
}
.server-row:last-child { border-bottom: 1px solid var(--line); }
.server-row:hover { background: rgba(244, 241, 232, .025); border-color: var(--line-strong); }
.server-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.server-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,241,232,.12);
  border-radius: 16px;
  background: radial-gradient(circle at 35% 32%,rgba(183,255,60,.10),transparent 48%),rgba(255,255,255,.012);
  overflow: hidden;
  transition: transform 700ms var(--ease), border-color 700ms var(--ease), background 700ms var(--ease);
}
.server-planet-core { width:21px; height:21px; border-radius:50%; background:radial-gradient(circle at 36% 30%,rgba(244,241,232,.68) 0 8%,rgba(183,255,60,.72) 9% 34%,rgba(73,113,42,.72) 35% 68%,rgba(13,24,15,.92) 69%); box-shadow:0 0 18px rgba(183,255,60,.14); }
.server-planet-ring { position:absolute; width:35px; height:12px; border:1px solid rgba(183,255,60,.36); border-radius:50%; transform:rotate(-19deg); }
.server-planet-shield { position:absolute; right:7px; bottom:6px; width:13px; height:15px; border:1px solid rgba(244,241,232,.38); border-radius:5px 5px 7px 7px; background:rgba(6,10,7,.78); clip-path:polygon(50% 0,100% 18%,88% 72%,50% 100%,12% 72%,0 18%); }
.server-planet-shield::after { content:""; position:absolute; left:50%; top:4px; width:4px; height:4px; border-radius:50%; background:var(--accent); transform:translateX(-50%); box-shadow:0 0 8px rgba(183,255,60,.45); }
.server-row:hover .server-icon { transform:translateY(-2px) scale(1.045); border-color:rgba(183,255,60,.42); background:radial-gradient(circle at 35% 32%,rgba(183,255,60,.16),transparent 50%),rgba(183,255,60,.025); }
.server-row:hover .server-planet-ring { animation:serverPlanetOrbit 3.8s linear infinite; }
@keyframes serverPlanetOrbit { to { transform:rotate(341deg); } }
.server-id-copy { min-width: 0; }
.server-id strong { display: block; font-weight: 400; font-size: 17px; }
.server-id small { display: block; margin-top: 3px; color: var(--quiet); font-size: 11px; }
.server-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.server-meta span { color: rgba(244,241,232,.48); font-size: 9px; line-height: 1.4; letter-spacing: .04em; }
.server-status { color: var(--quiet); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.server-status.online { color: var(--accent); }
.server-status.maintenance { color: var(--warning); }
.server-online { min-width: 74px; text-align: right; font-weight: 300; font-size: 18px; font-variant-numeric: tabular-nums; transition: color 700ms var(--ease); }
.server-row:hover .server-online { color: var(--accent); }
.server-row-end { display: flex; align-items: center; gap: 16px; }
.mini-server-action {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: transform 520ms var(--ease), border-color 500ms var(--ease);
}
.mini-server-action:hover { transform: translateX(3px); border-color: var(--text); }

/* Start strip */
.start-banner {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  background: var(--surface);
}
.start-banner::before,
.start-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  pointer-events: none;
}
.start-banner::before {
  top: -1px;
  height: clamp(90px, 12vh, 140px);
  background: linear-gradient(to bottom, var(--surface) 0%, rgba(10,13,11,.72) 36%, rgba(10,13,11,0) 100%);
}
.start-banner::after {
  bottom: -1px;
  height: clamp(100px, 14vh, 160px);
  background: linear-gradient(to bottom, rgba(7,9,8,0) 0%, rgba(7,9,8,.54) 56%, var(--bg) 100%);
}
.start-banner-media { position: absolute; inset: 0; }
.start-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.78) contrast(1.03) brightness(.94) hue-rotate(-4deg); }
.start-banner-blur {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  backdrop-filter: blur(22px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.start-banner-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(48px, 8vw, 100px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  column-gap: clamp(34px, 6vw, 96px);
  align-items: end;
}
.start-banner-copy > .eyebrow,
.start-banner-copy > h2,
.start-banner-copy > p,
.start-banner-copy > .cta-inline { grid-column: 2; min-width: 0; width: 100%; }
.start-banner-copy h2 { max-width: 11.8ch; margin: 8px 0 18px; font-size: clamp(2.5rem, 4.25vw, 5.1rem); line-height: .92; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; }
.start-banner-copy p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cta-inline,
.page-cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; }

/* Inner pages */
.page { display: none; }
.page.active { display: block; }
.inner-page {
  min-height: 100svh;
  padding: 140px 0 112px;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 24%, var(--surface-2) 58%, var(--surface) 82%, var(--bg) 100%);
}
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 38%); align-items: end; gap: 34px; margin-bottom: clamp(70px, 9vw, 130px); }
.page-hero .eyebrow { grid-column: 1 / -1; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3.3rem, 8vw, 8.4rem); line-height: .86; letter-spacing: -.044em; }
.page-hero p { max-width: 48ch; margin: 0 0 7px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.page-cta { margin-top: 44px; }
.text-page { min-height: 100svh; }

/* Server catalog */
.server-catalog { display: grid; grid-template-columns: 1.16fr .84fr; gap: 1px; background: var(--line); }
.server-big { position: relative; min-height: 640px; overflow: hidden; background: var(--surface); }
.server-card-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.03) brightness(.92); transition: transform 800ms var(--ease), filter 700ms var(--ease); }
.server-variant-0 .server-card-art { object-position: 54% center; filter: saturate(.80) contrast(1.03) brightness(.93) hue-rotate(-3deg); }
.server-variant-1 .server-card-art { object-position: 64% center; filter: saturate(.72) contrast(1.04) brightness(.91) sepia(.05); }
.server-variant-2 .server-card-art { object-position: 44% center; filter: saturate(.76) contrast(1.05) brightness(.90) hue-rotate(3deg); }
.server-big::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64%;
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.server-big:hover .server-card-art { transform: scale(1.04); filter: saturate(.90) contrast(1.04) brightness(.94); }
.server-card-index { position: absolute; z-index: 2; top: 24px; left: 28px; color: rgba(244,241,232,.22); font-size: clamp(48px, 6vw, 88px); font-weight: 300; line-height: .8; letter-spacing: -.04em; }
.server-big-content { position: relative; z-index: 2; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; }
.server-variant-0 .server-big-content { padding: clamp(34px, 4vw, 52px); }
.server-variant-1 .server-big-content { padding: 30px; }
.server-big-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.server-big h2 { margin: 12px 0 10px; font-size: clamp(34px, 4vw, 56px); line-height: .94; letter-spacing: -.035em; }
.server-variant-0 h2 { max-width: 10ch; font-size: clamp(42px, 5vw, 68px); }
.server-card-kicker { margin: 0 0 8px !important; color: rgba(244,241,232,.82) !important; font-size: 12px !important; line-height: 1.45 !important; }
.server-card-description { max-width:52ch; margin:0; color:var(--muted); font-size:14px; line-height:1.55; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; min-height:4.65em; }
.server-specs,
.server-modal-specs { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.pill { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.server-card-actions,
.server-modal-actions { display: flex; gap: 9px; margin-top: 22px; }

/* Shop */
.notice {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.notice strong { color: var(--text); font-weight: 400; }
.shop-wallet { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; margin-top:18px; padding:16px 18px; border:1px solid color-mix(in srgb,var(--accent) 22%,var(--line)); background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 7%,var(--surface)),var(--surface)); }
.shop-wallet>span { color:var(--accent); font-size:9px; letter-spacing:.14em; }
.shop-wallet>strong { font-size:22px; font-weight:400; letter-spacing:-.02em; }
.shop-wallet>a,.shop-wallet>button { justify-self:end; border:0; background:none; color:var(--muted); font:inherit; font-size:10px; cursor:pointer; }
.shop-wallet>a:hover,.shop-wallet>button:hover { color:var(--accent); }
.shop-controls { display:grid; grid-template-columns:1.15fr .85fr; gap:1px; margin-top:32px; background:var(--line); border:1px solid var(--line); }
.shop-filter-block { min-width:0; padding:18px 20px 20px; background:linear-gradient(180deg,rgba(244,241,232,.022),rgba(244,241,232,.008)); }
.shop-filter-block>.eyebrow { display:block; margin-bottom:12px; color:var(--quiet); }
.shop-filter-row { display:flex; flex-wrap:wrap; gap:8px; }
.shop-filter-btn { min-height:42px; display:inline-flex; align-items:center; gap:10px; padding:0 14px; border:1px solid var(--line); border-radius:999px; background:rgba(244,241,232,.012); color:var(--muted); font:inherit; cursor:pointer; transition:color 220ms ease,border-color 220ms ease,background 220ms ease,transform 220ms var(--ease); }
.shop-filter-btn strong { font-size:11px; font-weight:500; }
.shop-filter-btn small { min-width:20px; height:20px; display:grid; place-items:center; padding:0 5px; border-radius:999px; background:rgba(244,241,232,.05); color:var(--quiet); font-size:9px; }
.shop-filter-btn:hover { color:var(--text); border-color:color-mix(in srgb,var(--accent) 35%,var(--line)); transform:translateY(-1px); }
.shop-filter-btn.active { border-color:color-mix(in srgb,var(--accent) 58%,transparent); background:color-mix(in srgb,var(--accent) 10%,var(--surface)); color:var(--text); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 8%,transparent); }
.shop-filter-btn.active small { background:var(--accent); color:#081008; }
.shop-filter-all { margin-left:auto; }
.shop-selection { display:flex; align-items:center; gap:10px; min-height:48px; padding-top:16px; color:var(--quiet); font-size:11px; }
.shop-selection span { text-transform:uppercase; letter-spacing:.1em; font-size:9px; }
.shop-selection strong { color:var(--text); font-weight:500; }
.shop-selection i { color:var(--accent); font-style:normal; }
.shop-selection em { color:var(--muted); font-style:normal; }
.shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin-top:12px; background:var(--line); }
.product-card { position:relative; min-height:410px; padding:24px 26px 26px; display:flex; flex-direction:column; overflow:hidden; background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 94%,var(--accent) 6%),var(--surface)); transition:transform 300ms var(--ease),background 300ms ease; }
.product-card::before { content:""; position:absolute; inset:0 auto 0 0; width:2px; background:linear-gradient(180deg,var(--accent),transparent 68%); opacity:.55; }
.product-card:hover { background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 90%,var(--accent) 10%),var(--surface)); }
.product-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:22px; }
.product-card-media { position:relative; aspect-ratio:16/9; margin:-4px 0 22px; overflow:hidden; border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line)); background:color-mix(in srgb,var(--surface) 92%,#000 8%); }
.product-card-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.28)); pointer-events:none; }
.product-card-media img { width:100%; height:100%; display:block; object-fit:cover; transition:transform 420ms var(--ease); }
.product-card:hover .product-card-media img { transform:scale(1.025); }
.product-server-badge,.product-category-badge { display:inline-flex; align-items:center; min-height:26px; padding:0 9px; border:1px solid var(--line); border-radius:999px; font-size:9px; letter-spacing:.05em; text-transform:uppercase; }
.product-server-badge { border-color:color-mix(in srgb,var(--accent) 32%,var(--line)); color:var(--accent); }
.product-category-badge { color:var(--quiet); }
.product-card h3 { margin:18px 0 10px; font-size:clamp(28px,3vw,42px); line-height:1; letter-spacing:-.03em; }
.product-card p { max-width:38ch; margin:0; color:var(--muted); font-size:14px; line-height:1.6; }
.product-price { margin-top:auto; padding-top:38px; display:flex; flex-wrap:wrap; align-items:baseline; gap:9px; font-size:34px; font-weight:300; }
.product-price i { color:var(--quiet); font-size:10px; font-style:normal; text-transform:uppercase; letter-spacing:.08em; }
.product-price .sc-price { color:var(--accent); }
.product-reward { align-self:flex-start; margin-top:18px; padding:8px 11px; border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line)); border-radius:999px; color:var(--accent); font-size:11px; }
.product-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.product-actions .btn { margin:0; align-self:flex-start; }
.product-modal-context { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
.product-modal-context span { padding:7px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:10px; }
.product-modal-context span:first-child { border-color:color-mix(in srgb,var(--accent) 32%,var(--line)); color:var(--accent); }
@media (max-width:900px) { .shop-controls { grid-template-columns:1fr; } .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .shop-filter-all { margin-left:0; } }
@media (max-width:620px) { .shop-wallet { grid-template-columns:1fr; gap:7px; } .shop-wallet>a,.shop-wallet>button { justify-self:start; } .shop-grid { grid-template-columns:1fr; } .product-card { min-height:360px; } .shop-filter-btn { flex:1 1 auto; justify-content:center; } .profile-starcoins-head { align-items:flex-start; flex-direction:column; } .starcoin-history article { grid-template-columns:minmax(0,1fr) auto; padding:10px 0; } .starcoin-history time { grid-column:1/-1; text-align:left; } }

/* News archive */
.news-list { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: minmax(160px, 24%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding 620ms var(--ease);
}
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row:hover { padding-left: 14px; }
.news-row-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-row h2 { margin-bottom: 7px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.025em; }
.news-row p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.news-date { color: var(--quiet); font-size: 11px; white-space: nowrap; }

/* More */
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; }
.link-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 6px 16px;
  padding: 24px 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: padding 620ms var(--ease), border-color 500ms var(--ease), background 500ms var(--ease);
}
.link-card::after { content:""; position:absolute; left:0; right:0; top:-1px; height:1px; background:linear-gradient(90deg,var(--accent),rgba(183,255,60,.12),transparent 72%); transform:scaleX(0); transform-origin:left; }
.link-card:hover { background:linear-gradient(90deg,rgba(183,255,60,.035),transparent 62%); }
.link-card:hover > span { transform:translateX(4px); }
.link-card > span { transition:transform 420ms var(--ease), color 320ms ease; }
.link-card:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.link-card:hover { padding-left: 14px; border-color: var(--line-strong); }
.link-card > span { grid-row: 1 / 3; color: var(--accent); font-size: 11px; }
.link-card strong { font-size: clamp(21px, 2vw, 30px); font-weight: 300; letter-spacing: -.02em; }
.link-card small { color: var(--quiet); font-size: 12px; }

/* Start steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps article { min-height: 330px; padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.steps article > span { color: var(--accent); font-size: 11px; }
.steps h2 { margin: 30px 0 12px; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -.03em; }
.steps p { max-width: 35ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.steps .btn { margin-top: auto; align-self: flex-start; }

/* Documents */
.document-card { max-width: 860px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.document-card h2 { margin: 34px 0 10px; font-size: 28px; line-height: 1; letter-spacing: -.025em; }
.document-card h2:first-child { margin-top: 0; }
.document-card p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.legal-document { display:grid; gap:0; }
.legal-document > section { padding:34px 0; border-bottom:1px solid var(--line); scroll-margin-top:100px; }
.legal-document > section:first-child { padding-top:4px; }
.legal-document > section:last-child { border-bottom:0; padding-bottom:4px; }
.legal-document > section h2 { margin:8px 0 14px; }
.legal-document > section p + p { margin-top:14px; }
.legal-document a { color:var(--text); text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--accent) 65%,transparent); text-underline-offset:4px; }
.legal-offer-intro h2 { max-width:18ch; font-size:clamp(34px,4.2vw,58px); line-height:.98; font-weight:300; letter-spacing:-.04em; }
.legal-offer-section > h2 { display:flex; align-items:baseline; gap:10px; font-size:clamp(24px,2.3vw,34px); line-height:1.08; }
.legal-offer-section > h2 > span { color:var(--accent); font-size:.48em; font-weight:500; letter-spacing:.08em; }
.legal-offer-section h3 { margin:26px 0 10px; color:var(--text); font-size:15px; font-weight:500; }
.legal-offer-section ul { display:grid; gap:8px; max-width:62ch; margin:14px 0 18px; padding:0; list-style:none; }
.legal-offer-section li { position:relative; padding-left:22px; color:var(--muted); font-size:15px; line-height:1.68; }
.legal-offer-section li::before { content:""; position:absolute; left:2px; top:.72em; width:5px; height:5px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px color-mix(in srgb,var(--accent) 40%,transparent); }
.legal-offer-section p strong:first-child { color:var(--text); font-weight:500; }
.legal-requisites { display:grid; margin:18px 0 0; border-top:1px solid var(--line); }
.legal-requisites div { display:grid; grid-template-columns:minmax(120px,.35fr) minmax(0,1fr); gap:24px; padding:14px 0; border-bottom:1px solid var(--line); }
.legal-requisites dt { color:var(--quiet); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.legal-requisites dd { margin:0; color:var(--text); font-size:14px; }

/* Project rules */
.rules-hero { margin-bottom: clamp(42px, 6vw, 76px); }
.rules-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(38px, 6vw, 88px); align-items: start; }
.rules-nav { position: sticky; top: 110px; display: grid; align-content: start; border-top: 1px solid var(--line); }
.rules-nav > .eyebrow { padding: 18px 0 14px; }
.rules-nav button,
.rules-nav a { min-height: 48px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; padding: 0; border: 0; border-top: 1px solid rgba(244,241,232,.065); background: transparent; color: var(--muted); font: inherit; font-size: 11px; text-align: left; cursor: pointer; transition: color 300ms ease, padding 420ms var(--ease), border-color 300ms ease; }
.rules-nav button span { color: rgba(183,255,60,.62); font-size: 9px; }
.rules-nav button:hover { padding-left: 6px; color: var(--text); border-color: rgba(183,255,60,.20); }
.rules-nav a { grid-template-columns: 1fr; margin-top: 8px; color: var(--quiet); font-size: 10px; }
.rules-nav a:hover { color: var(--accent); }
.rules-document { min-width: 0; max-width: 900px; }
.rules-intro { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rules-intro > span,
.rules-source > span { color: var(--accent); font-size: 9px; letter-spacing: .15em; }
.rules-intro p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.rules-section { scroll-margin-top: 110px; padding: clamp(48px, 7vw, 82px) 0 0; }
.rules-section > header { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 18px; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.rules-section > header > span { color: rgba(183,255,60,.72); font-size: 12px; }
.rules-section header small { display: block; margin-bottom: 6px; color: var(--quiet); font-size: 9px; letter-spacing: .14em; }
.rules-section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 300; line-height: .95; letter-spacing: -.035em; }
.rule-list { margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.rule-list > li { position: relative; counter-increment: rule; min-height: 62px; padding: 18px 0 18px 66px; border-bottom: 1px solid rgba(244,241,232,.065); color: var(--muted); font-size: 13px; line-height: 1.62; }
.rule-list > li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: rgba(244,241,232,.28); font-size: 9px; font-variant-numeric: tabular-nums; }
.rule-list li p { margin: 0; color: inherit; }
.rule-list ol { margin: 13px 0 0; padding: 0; list-style: none; counter-reset: subrule; }
.rule-list ol > li { position: relative; counter-increment: subrule; padding: 7px 0 7px 32px; color: var(--quiet); }
.rule-list ol > li::before { content: counter(subrule) "."; position: absolute; left: 0; color: rgba(183,255,60,.50); font-size: 10px; }
.rules-lead { display: grid; gap: 12px; padding: 24px 0; border-bottom: 1px solid rgba(244,241,232,.065); }
.rules-lead p { max-width: 70ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.rules-lead strong { color: var(--text); font-weight: 400; }
.rule-note { margin-top: 24px; padding: 22px 24px; border: 1px solid rgba(183,255,60,.12); background: rgba(183,255,60,.018); }
.rule-note p { max-width: 72ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.rule-note strong { display: block; margin-top: 14px; color: var(--text); font-size: 12px; font-weight: 400; }
.rules-source { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: start; margin-top: clamp(58px, 8vw, 100px); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rules-source p { margin: 0; color: var(--quiet); font-size: 11px; line-height: 1.6; }
.rules-source a { color: var(--muted); font-size: 10px; white-space: nowrap; transition: color 240ms ease; }
.rules-source a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .rules-shell { grid-template-columns: 1fr; gap: 28px; }
  .rules-nav { position: static; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .rules-nav > .eyebrow, .rules-nav > a { grid-column: 1 / -1; }
  .rules-nav button { padding-right: 12px; }
  .rules-intro, .rules-source { grid-template-columns: 1fr; gap: 10px; }
  .rules-section > header { grid-template-columns: 42px minmax(0, 1fr); }
  .rule-list > li { padding-left: 42px; }
}
@media (max-width: 520px) {
  .rules-nav { grid-template-columns: 1fr; }
  .rules-nav > .eyebrow, .rules-nav > a { grid-column: auto; }
  .rules-section h2 { font-size: 32px; }
  .rule-list > li { padding-left: 34px; font-size: 12px; }
  .rules-section > header { grid-template-columns: 34px minmax(0, 1fr); }
  .rule-note { padding: 18px; }
}
.empty-card { grid-column: 1 / -1; padding: 28px 0; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; }
.skeleton-block { grid-column: 1 / -1; display: grid; gap: 1px; width: 100%; background: var(--line); overflow: hidden; }
.skeleton-block span { display: block; background: var(--surface); animation: skeletonPulse 1400ms var(--ease) infinite alternate; }
.skeleton-block span:nth-child(2) { animation-delay: 100ms; }
.skeleton-block span:nth-child(3) { animation-delay: 200ms; }
.skeleton-lines span { min-height: 104px; }
.skeleton-news { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr); grid-template-rows: 1fr 1fr; min-height: 660px; }
.skeleton-news span:first-child { grid-row: 1 / 3; }
.skeleton-cards { grid-template-columns: repeat(3, 1fr); }
.skeleton-cards span { min-height: 390px; }
@keyframes skeletonPulse { from { opacity: .52; } to { opacity: .9; } }

/* Profile */
.page[data-page="profile"] {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(183,255,60,.075), transparent 25%),
    radial-gradient(circle at 84% 14%, rgba(105,155,255,.04), transparent 23%),
    linear-gradient(180deg, #080d0a 0%, var(--bg) 44%, #050706 100%);
}
.page[data-page="profile"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(244,241,232,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,232,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}
.profile-shell { position: relative; z-index: 1; min-height: 65svh; padding-top: 30px; }
.profile-locked { position: relative; min-height: 68svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; overflow: hidden; padding: 48px 0; }
.profile-locked::before { content: ""; position: absolute; inset: 0; background: url("/assets/server/nexus-preview.png") center / cover no-repeat; filter: saturate(.76) contrast(1.02) brightness(.94) hue-rotate(-4deg); }
.profile-locked::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70%;
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.profile-locked > * { position: relative; z-index: 2; margin-left: var(--side); }
.profile-locked h1 { margin-top: 8px; font-size: clamp(3rem, 7vw, 7rem); line-height: .87; letter-spacing: -.042em; }
.profile-locked p { max-width: 48ch; margin-top: 20px; margin-bottom: 24px; color: var(--muted); line-height: 1.6; }
.profile-hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-height: 286px;
  padding: 46px 34px;
  border: 1px solid rgba(244,241,232,.09);
  background:
    radial-gradient(circle at 12% 50%, rgba(183,255,60,.08), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.025), rgba(255,255,255,.006));
  overflow: hidden;
}
.profile-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(183,255,60,.025), transparent 46%);
  transform: translateX(-110%);
  animation: profileHeroScan 8s ease-in-out infinite;
}
.profile-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; min-width: 0; }
.profile-avatar {
  --cube: 152px;
  position: relative;
  width: 220px;
  height: 220px;
  flex: 0 0 220px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(244,241,232,.10);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 74%, rgba(183,255,60,.13), transparent 34%),
    linear-gradient(180deg, rgba(14,22,17,.96), rgba(7,11,8,.96));
  color: var(--quiet);
  font-size: 30px;
  font-weight: 300;
  perspective: 1400px;
  box-shadow: inset 0 0 72px rgba(183,255,60,.03), 0 26px 70px rgba(0,0,0,.22);
}
.profile-avatar::before {
  content:"";
  position:absolute;
  left:50%;
  bottom:23px;
  width:132px;
  height:38px;
  border:1px solid rgba(183,255,60,.10);
  border-radius:50%;
  transform:translateX(-50%);
  background:radial-gradient(ellipse,rgba(183,255,60,.085),transparent 68%);
  pointer-events:none;
  transition:transform 520ms var(--ease),opacity 520ms ease;
}
.profile-avatar::after {
  content:"SKIN / LIVE";
  position:absolute;
  left:14px;
  bottom:12px;
  color:rgba(183,255,60,.56);
  font-size:8px;
  letter-spacing:.14em;
  pointer-events:none;
}
.profile-avatar:hover::before { transform:translateX(-50%) scale(1.08); opacity:.82; }
.profile-avatar > .site-skin-head { display:block; }
.profile-identity h1 { margin: 6px 0 4px; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; }
.profile-identity p { margin: 0; color: var(--quiet); font-size: 12px; }
.profile-badges { display: flex; gap: 8px; margin-top: 12px; }
.profile-badges span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--quiet); font-size: 9px; letter-spacing: .12em; }
.profile-online-dot { color: var(--accent) !important; }
.profile-server-orb { position:relative; z-index:1; display:grid; gap:5px; min-width:180px; padding-left:24px; border-left:1px solid rgba(244,241,232,.08); text-align:right; }
.profile-server-orb small { color: var(--quiet); font-size: 11px; }
.profile-server-orb strong { font-weight: 300; font-size: 26px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(244,241,232,.08); margin-top: 1px; }
.profile-stats article { padding: 28px; background: rgba(11,16,13,.86); backdrop-filter: blur(14px); }
.profile-stats small, .profile-stats span { color: var(--quiet); font-size: 10px; }
.profile-stats strong { display: block; margin: 6px 0 3px; font-size: 30px; font-weight: 300; }
.profile-lower-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1px; margin-top: 1px; background: var(--line); }
.profile-panel { padding: 30px; background: rgba(11,16,13,.88); backdrop-filter: blur(14px); }
.profile-starcoins-panel { margin-top:1px; border-top:1px solid color-mix(in srgb,var(--accent) 20%,var(--line)); }
.profile-starcoins-head { display:flex; align-items:end; justify-content:space-between; gap:24px; }
.profile-starcoins-head h2 { margin:8px 0 6px; color:var(--accent); font-size:clamp(34px,4vw,52px); font-weight:300; }
.profile-starcoins-head p { max-width:58ch; margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.starcoin-history { display:grid; margin-top:24px; border-top:1px solid var(--line); }
.starcoin-history article { display:grid; grid-template-columns:minmax(0,1fr) auto 110px; align-items:center; gap:18px; min-height:62px; border-bottom:1px solid var(--line); }
.starcoin-history strong { display:block; font-size:12px; font-weight:500; }
.starcoin-history small,.starcoin-history time { color:var(--quiet); font-size:9px; }
.starcoin-history b { font-size:13px; font-weight:500; }
.starcoin-history b.positive { color:var(--accent); }
.starcoin-history b.negative { color:var(--muted); }
.starcoin-history time { text-align:right; }
.profile-referral-panel { margin-top:1px; border-top:1px solid color-mix(in srgb,var(--accent) 18%,var(--line)); }
.referral-code-card { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:22px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.referral-code-card small,.referral-code-card p { color:var(--quiet); font-size:10px; }
.referral-code-card strong { display:block; margin:5px 0; color:var(--accent); font-size:26px; font-weight:400; letter-spacing:.06em; }
.referral-code-card p { margin:0; max-width:62ch; line-height:1.55; }
.referral-rules { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-top:18px; background:var(--line); }
.referral-rules article { min-width:0; padding:16px; background:rgba(11,16,13,.96); }
.referral-rules small { display:block; color:var(--quiet); font-size:9px; }
.referral-rules strong { display:block; margin-top:6px; font-size:16px; font-weight:400; }
.referral-progress { margin-top:18px; padding:18px; border:1px solid var(--line); background:rgba(255,255,255,.015); }
.referral-progress-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.referral-progress-head small { display:block; color:var(--quiet); font-size:9px; }
.referral-progress-head strong { display:block; margin-top:4px; font-size:15px; }
.referral-progress-head > span { color:var(--accent); font-size:10px; }
.referral-meter { display:grid; gap:10px; margin-top:14px; }
.referral-meter label { display:grid; gap:6px; color:var(--muted); font-size:10px; }
.referral-meter i { display:block; height:4px; background:rgba(255,255,255,.07); overflow:hidden; }
.referral-meter b { display:block; height:100%; background:var(--accent); }
.referral-invited-list { display:grid; margin-top:18px; border-top:1px solid var(--line); }
.referral-invited-list article { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; min-height:58px; border-bottom:1px solid var(--line); }
.referral-invited-list strong { display:block; font-size:12px; }
.referral-invited-list small,.referral-invited-list span { color:var(--quiet); font-size:9px; }
.profile-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.profile-panel h2 { margin-top: 6px; font-size: 30px; }
.profile-panel-head > span { color: var(--quiet); font-size: 11px; }
.achievement-list { display: grid; margin-top: 20px; }
.achievement-list article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.achievement-list b { font-weight: 400; color: var(--accent); font-size: 10px; }
.achievement-list strong { display: block; font-weight: 400; font-size: 14px; }
.achievement-list small { color: var(--quiet); font-size: 10px; }
.achievement-list > article > span { color: var(--accent); font-size: 10px; }
.achievement-locked { opacity: .52; }
.profile-world-panel { display: flex; flex-direction: column; }
.profile-world-panel p { color: var(--muted); }
.profile-world-art { height: 180px; margin: 14px -30px 22px; background: url("/assets/server/aurora-hero.png") center / cover no-repeat; }
.profile-world-panel .btn { align-self: flex-start; margin-top: auto; }
.profile-empty-state { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.starcoin-history > .profile-empty-state { margin-top:0; border-top:0; }
.profile-skin-grid { display: grid; grid-template-columns: minmax(340px,.76fr) minmax(0,1.24fr); gap: 1px; margin-top: 1px; background: rgba(244,241,232,.08); }
.profile-skin-stage-wrap { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 34px; background: radial-gradient(circle at 50% 44%, rgba(183,255,60,.10), transparent 34%), linear-gradient(180deg, rgba(18,26,20,.94), rgba(8,12,9,.96)); text-align: center; }
.profile-skin-stage-wrap > small { max-width: 34ch; color: var(--quiet); font-size: 10px; line-height: 1.55; }
.profile-skin-controls { display: flex; flex-direction: column; justify-content: center; }
.profile-skin-controls p { max-width: 56ch; color: var(--muted); line-height: 1.6; }
.profile-skin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.profile-skin-status { display: block; margin-top: 14px; color: var(--quiet); }
.site-skin-stage,.profile-avatar.has-skin { position: relative; display: grid; place-items: center; color: var(--quiet); }
.site-skin-stage { --cube:164px; width:286px; height:286px; perspective:1500px; font-size:36px; }
.site-skin-stage::before { content:""; position:absolute; left:50%; bottom:38px; width:164px; height:44px; border:1px solid rgba(183,255,60,.10); border-radius:50%; transform:translateX(-50%); background:radial-gradient(ellipse,rgba(183,255,60,.10),transparent 68%); animation:skinStagePulse 5.5s ease-in-out infinite; }
.profile-avatar.has-skin { color:transparent; }
.profile-avatar.has-skin .site-skin-head { z-index:2; width:var(--cube); height:var(--cube); animation:none; transform:rotateX(-29deg) rotateY(41deg) translateY(-4px) scale(.91); transition:transform 180ms ease-out,filter 420ms ease; filter:drop-shadow(0 30px 25px rgba(0,0,0,.48)); }
.profile-avatar.has-skin:hover .site-skin-head { filter:drop-shadow(0 36px 30px rgba(0,0,0,.55)); }
.site-skin-head { position:relative; display:block; width:var(--cube); height:var(--cube); transform-style:preserve-3d; transform-origin:50% 50%; transform:rotateX(-29deg) rotateY(41deg) translateZ(0) scale(.92); filter:drop-shadow(0 28px 24px rgba(0,0,0,.44)); will-change:transform; animation:none; transition:transform 180ms ease-out,filter 420ms ease; }
.site-skin-stage:hover .site-skin-head { filter:drop-shadow(0 36px 30px rgba(0,0,0,.52)); }
.site-skin-cube { --face-depth: calc(var(--cube) / 2); position: absolute; inset: 0; transform-style: preserve-3d; }
.profile-shell .site-skin-overlay { display:none; }
.site-skin-face { position:absolute; inset:0; display:block; background-color:#151915; background-image:var(--skin-image); background-repeat:no-repeat; background-size:800% 800%; image-rendering:pixelated; backface-visibility:hidden; transform-origin:50% 50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.16); }
.profile-shell .site-skin-base .site-skin-front { background-image:var(--skin-image),var(--skin-image); background-position:71.4286% 14.2857%,14.2857% 14.2857%; }
.profile-shell .site-skin-base .site-skin-right { background-image:var(--skin-image),var(--skin-image); background-position:57.1429% 14.2857%,0 14.2857%; }
.profile-shell .site-skin-base .site-skin-left { background-image:var(--skin-image),var(--skin-image); background-position:85.7143% 14.2857%,28.5714% 14.2857%; }
.profile-shell .site-skin-base .site-skin-back { background-image:var(--skin-image),var(--skin-image); background-position:100% 14.2857%,42.8571% 14.2857%; }
.profile-shell .site-skin-base .site-skin-top { background-image:var(--skin-image),var(--skin-image); background-position:71.4286% 0,14.2857% 0; }
.profile-shell .site-skin-base .site-skin-bottom { background-image:var(--skin-image),var(--skin-image); background-position:85.7143% 0,28.5714% 0; }
.site-skin-front { background-position:14.2857% 14.2857%; transform:translateZ(var(--face-depth)); }
.site-skin-right { background-position:0 14.2857%; transform:rotateY(90deg) translateZ(var(--face-depth)); filter:brightness(.76); }
.site-skin-left { background-position:28.5714% 14.2857%; transform:rotateY(-90deg) translateZ(var(--face-depth)); filter:brightness(.82); }
.site-skin-back { background-position:42.8571% 14.2857%; transform:rotateY(180deg) translateZ(var(--face-depth)); }
.site-skin-top { background-position:14.2857% 0; transform:rotateX(90deg) translateZ(var(--face-depth)); filter:brightness(1.10); }
.site-skin-bottom { background-position:28.5714% 0; transform:rotateX(-90deg) translateZ(var(--face-depth)); }
@keyframes skinHeadIdle { 0%,100% { transform:rotateX(-24deg) rotateY(-34deg) translateY(0); } 50% { transform:rotateX(-20deg) rotateY(-44deg) translateY(-5px); } }
.site-skin-canvas { display:block; width:100%; height:100%; image-rendering:pixelated; transform-origin:50% 55%; transition:transform 180ms ease-out,filter 320ms ease; filter:drop-shadow(0 22px 20px rgba(0,0,0,.34)); }
.profile-avatar.has-skin .site-skin-canvas { width:100%; height:100%; }
.site-skin-stage .site-skin-canvas { width:100%; height:100%; }
.profile-avatar.has-skin:hover .site-skin-canvas,.site-skin-stage:hover .site-skin-canvas { filter:drop-shadow(0 30px 26px rgba(0,0,0,.42)); }
@keyframes skinStagePulse { 0%,100% { opacity:.42; transform:translateX(-50%) scale(.94); } 50% { opacity:.82; transform:translateX(-50%) scale(1.04); } }
@keyframes profileHeroScan { 0%,58% { transform:translateX(-110%); } 78%,100% { transform:translateX(120%); } }
@media (max-width: 860px) { .profile-hero-card { align-items:flex-start; flex-direction:column; } .profile-server-orb { width:100%; padding:18px 0 0; border-left:0; border-top:1px solid rgba(244,241,232,.08); text-align:left; } }
@media (max-width: 760px) { .profile-skin-grid { grid-template-columns: 1fr; } .profile-skin-stage-wrap { min-height:300px; } .site-skin-stage { width:170px; height:170px; --cube:104px; } .profile-avatar { width:142px; height:142px; flex-basis:142px; --cube:82px; } }

/* Footer */
.site-footer {
  padding: clamp(54px, 7vw, 92px) var(--side) 26px;
  border-top: 1px solid rgba(244,241,232,.10);
  background: linear-gradient(to bottom, var(--bg) 0%, var(--surface) 100%);
  color: var(--quiet);
  font-size: 11px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .72fr) minmax(180px, .5fr);
  align-items: start;
  gap: clamp(34px, 6vw, 88px);
}
.footer-identity p { max-width: 34ch; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-requisites { display:grid; gap:5px; margin-top:18px; color:var(--quiet); font-size:10px; line-height:1.5; }
.footer-requisites span,.footer-requisites a { width:max-content; max-width:100%; }
.footer-requisites a { color:var(--muted); text-decoration:none; border-bottom:1px solid color-mix(in srgb,var(--muted) 42%,transparent); }
.footer-requisites a:hover { color:var(--text); border-color:var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 42px; height: 42px; object-fit: contain; }
.footer-brand strong { display: block; color: var(--text); font-weight: 400; letter-spacing: .12em; }
.footer-brand small { display: block; margin-top: 3px; }
.footer-status-block,
.footer-launcher-block { padding-top: 3px; }
.footer-status-line { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.footer-status-line strong { color: var(--text); font-size: 17px; font-weight: 300; }
.footer-status-block > small { display: block; margin-top: 8px; color: var(--quiet); font-size: 10px; }
.footer-status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 999px; background: var(--quiet); box-shadow: 0 0 0 5px rgba(244,241,232,.04); }
.footer-status-dot.online { background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,60,.06); }
.footer-status-dot.maintenance { background: var(--warning); box-shadow: 0 0 0 5px rgba(255,211,106,.06); }
.footer-status-dot.offline { background: var(--danger); box-shadow: 0 0 0 5px rgba(255,120,109,.06); }
.footer-launcher-block > strong { display: block; margin-top: 10px; color: var(--text); font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.footer-launcher-block > a,
.footer-launcher-block > button { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.footer-launcher-block > a::after,
.footer-launcher-block > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform-origin: right; transition: transform 500ms var(--ease); }
.footer-launcher-block > a:hover::after,
.footer-launcher-block > button:hover::after { transform: scaleX(.35); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 7vw, 84px); padding-top: 20px; border-top: 1px solid rgba(244,241,232,.10); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }

/* Modals */
.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7, 9, 8, .78); backdrop-filter: blur(18px); }
.modal { position: relative; width: min(540px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: 30px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.launcher-download-backdrop { background: rgba(5,7,10,.82); backdrop-filter: blur(20px) saturate(.9); }
.launcher-download-modal { width: min(760px, 100%); padding: 0; overflow: hidden; border-color: rgba(244,241,232,.13); background: linear-gradient(180deg, rgba(13,17,20,.98), rgba(8,11,14,.985)); box-shadow: 0 34px 100px rgba(0,0,0,.46); }
.launcher-download-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 30px; border-bottom: 1px solid var(--line); }
.launcher-download-head h2 { margin: 8px 0 10px; font-size: clamp(34px, 5vw, 52px); font-weight: 300; line-height: .95; letter-spacing: -.035em; }
.launcher-download-head p { max-width: 56ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.launcher-download-options { display: grid; }
.launcher-download-option { position: relative; min-height: 112px; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 19px 30px; border-bottom: 1px solid var(--line); background: rgba(244,241,232,.008); color: var(--text); text-decoration: none; transition: background 280ms ease, padding 420ms var(--ease), border-color 280ms ease; }
.launcher-download-option:hover { padding-left: 36px; background: color-mix(in srgb, var(--accent) 5%, transparent); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.launcher-download-option.is-recommended { background: color-mix(in srgb, var(--accent) 3.5%, transparent); }
.launcher-download-option.is-recommended::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--accent); }
.launcher-download-platform { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); background: color-mix(in srgb, var(--accent) 4%, transparent); color: var(--accent); font-size: 9px; font-weight: 650; letter-spacing: .11em; }
.launcher-download-option > div { min-width: 0; }
.launcher-download-option > div > small { display: block; margin-bottom: 5px; color: var(--accent); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.launcher-download-option > div > strong { display: block; font-size: 21px; font-weight: 420; line-height: 1.05; letter-spacing: -.018em; }
.launcher-download-option > div > span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.launcher-download-option > div > em { display: block; margin-top: 7px; color: var(--quiet); font-size: 9px; font-style: normal; font-variant-numeric: tabular-nums; }
.launcher-download-option > b { color: var(--muted); font-size: 11px; font-weight: 450; white-space: nowrap; transition: color 220ms ease, transform 300ms var(--ease); }
.launcher-download-option:hover > b { color: var(--accent); transform: translateX(3px); }
.launcher-download-note { margin: 0; padding: 18px 30px 21px; color: var(--quiet); font-size: 10px; line-height: 1.55; }
.launcher-download-note strong { color: var(--muted); font-weight: 500; }
@media (max-width: 680px) {
  .launcher-download-head { gap: 16px; padding: 24px 20px; }
  .launcher-download-head h2 { font-size: 36px; }
  .launcher-download-option { grid-template-columns: 48px minmax(0,1fr); gap: 14px; min-height: 104px; padding: 17px 20px; }
  .launcher-download-option:hover { padding-left: 24px; }
  .launcher-download-platform { width: 44px; height: 44px; }
  .launcher-download-option > b { grid-column: 2; justify-self: start; margin-top: -3px; }
  .launcher-download-note { padding: 16px 20px 19px; }
}
.auth-modal-top,
.news-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-tabs { flex: 1; display: flex; gap: 8px; }
.auth-tabs button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--quiet); cursor: pointer; }
.auth-tabs button.active { color: var(--text); border-color: var(--text); }
.icon-close,
.modal-close,
.auth-close {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.icon-close span { position:absolute; left:50%; top:50%; width:16px; height:1px; background:var(--text); transform-origin:center; transition:transform 520ms var(--ease); }
.icon-close span:first-child { transform:translate(-50%,-50%) rotate(45deg); }
.icon-close span:last-child { transform:translate(-50%,-50%) rotate(-45deg); }
.icon-close:hover span:first-child { transform:translate(-50%,-50%) rotate(135deg); }
.icon-close:hover span:last-child { transform:translate(-50%,-50%) rotate(45deg); }
.modal-close:not(.icon-close)::before,
.modal-close:not(.icon-close)::after,
.auth-close:not(.icon-close)::before,
.auth-close:not(.icon-close)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 21px;
  width: 16px;
  height: 1px;
  background: var(--text);
}
.modal-close:not(.icon-close)::before,
.auth-close:not(.icon-close)::before { transform: rotate(45deg); }
.modal-close:not(.icon-close)::after,
.auth-close:not(.icon-close)::after { transform: rotate(-45deg); }
.auth-form { display: none; gap: 15px; margin-top: 28px; }
.auth-form.active { display: grid; }
.auth-form h2,
.account-panel h2 { margin: 0 0 4px; font-size: 38px; line-height: .96; letter-spacing: -.03em; }
.auth-form label,
.admin-form label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; }
.auth-form input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-search {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.auth-form input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-search:focus { border-color: var(--accent); }
.form-status { min-height: 18px; margin: 0; color: var(--danger); font-size: 11px; }
.account-panel { display: grid; gap: 12px; margin-top: 24px; }
.account-panel p { margin: 0; color: var(--quiet); }

/* StarSpace ID / login + registration */
.auth-backdrop { background: rgba(5,7,6,.82); backdrop-filter: blur(22px) saturate(.82); }
.auth-backdrop:not(.hidden) { animation: authBackdropIn 360ms var(--ease) both; }
.auth-modal {
  width: min(980px, 100%);
  min-height: 610px;
  max-height: min(780px, calc(100svh - 40px));
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(430px, 1.1fr);
  padding: 0;
  overflow: hidden;
  border-color: rgba(244,241,232,.13);
  background: rgba(12,15,13,.96);
  box-shadow: 0 36px 110px rgba(0,0,0,.54), inset 0 1px rgba(255,255,255,.025);
}
.auth-backdrop:not(.hidden) .auth-modal { animation: authModalIn 620ms cubic-bezier(.16,1,.3,1) both; }
.auth-scene {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(183,255,60,.035), transparent 18%),
    linear-gradient(180deg, rgba(244,241,232,.01), transparent 52%),
    #090c0a;
}
.auth-scene::before {
  content:"";
  position:absolute;
  left:50%;
  top:34%;
  width:272px;
  height:272px;
  border:1px solid rgba(244,241,232,.055);
  border-radius:50%;
  transform:translate(-50%,-50%);
  animation:authOuterBreath 7.5s ease-in-out infinite;
  pointer-events:none;
}
.auth-scene::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 0 57%, rgba(7,9,8,.62) 86%, #090c0a 100%); pointer-events:none; }
.auth-scene-grid {
  position:absolute;
  inset:0;
  opacity:.065;
  background-image:linear-gradient(rgba(244,241,232,.07) 1px, transparent 1px),linear-gradient(90deg, rgba(244,241,232,.07) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom, #000, transparent 82%);
  transform:perspective(460px) rotateX(65deg) scale(1.45) translateY(-10%);
  transform-origin:50% 100%;
}
.auth-orbit {
  position:absolute;
  left:50%;
  top:34%;
  border-radius:50%;
  transform:translate(-50%,-50%);
}
.auth-orbit::after {
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(183,255,60,.86);
  box-shadow:0 0 6px rgba(183,255,60,.18);
  animation:authSignalBlink 4.2s ease-in-out infinite;
}
.auth-orbit-a {
  width:218px;
  height:218px;
  border:1px solid rgba(183,255,60,.16);
  opacity:.82;
  animation:authRingPrimary 18s cubic-bezier(.45,0,.2,1) infinite;
}
.auth-orbit-a::before {
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(244,241,232,.075);
  border-radius:50%;
}
.auth-orbit-a::after { right:20px; top:54%; transform:translateY(-50%); }
.auth-orbit-b {
  width:154px;
  height:154px;
  border:1px dashed rgba(244,241,232,.10);
  opacity:.72;
  transform:translate(-50%,-50%);
  animation:authRingSecondary 12s cubic-bezier(.55,.08,.18,.96) infinite;
}
.auth-orbit-b::before {
  content:"";
  position:absolute;
  left:50%;
  top:-7px;
  width:13px;
  height:1px;
  background:rgba(183,255,60,.42);
  transform:translateX(-50%);
}
.auth-orbit-b::after { left:50%; top:-3px; transform:translateX(-50%); animation-delay:1.8s; }
.auth-core {
  position:absolute;
  left:50%;
  top:34%;
  width:54px;
  height:54px;
  border:1px solid rgba(244,241,232,.13);
  border-radius:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  background:rgba(244,241,232,.008);
  box-shadow:0 0 0 8px rgba(244,241,232,.012);
}
.auth-core span {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(183,255,60,.035),0 0 8px rgba(183,255,60,.22);
  animation:authSignalPulse 3.2s ease-in-out infinite;
}
.auth-core i { position:absolute; inset:9px; border:1px dashed rgba(244,241,232,.085); border-radius:50%; animation:authCoreCalibrate 9s ease-in-out infinite; }
.auth-scene-copy { position:absolute; z-index:2; left:clamp(25px,3vw,42px); right:clamp(25px,3vw,42px); bottom:clamp(28px,4vw,46px); }
.auth-scene-copy strong { display:block; margin-top:10px; color:var(--text); font-size:clamp(36px,4vw,54px); font-weight:300; line-height:.94; letter-spacing:-.038em; }
.auth-scene-copy p { max-width:32ch; margin:16px 0 0; color:var(--muted); font-size:13px; line-height:1.58; }
.auth-scene-status { display:flex; align-items:center; gap:9px; margin-top:22px; color:var(--quiet); font-size:10px; letter-spacing:.05em; text-transform:uppercase; }
.auth-scene-status i { width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 7px rgba(183,255,60,.22); animation:authSignalBlink 3.6s ease-in-out infinite; }
.auth-content { min-width:0; display:flex; flex-direction:column; padding:clamp(24px,3.2vw,40px); }
.auth-modal-top { flex:0 0 auto; }
.auth-tabs { position:relative; max-width:300px; gap:0; padding:3px; border:1px solid var(--line); background:rgba(244,241,232,.018); }
.auth-tabs button { position:relative; z-index:2; flex:1; min-height:38px; padding:0 13px; border:0; color:var(--quiet); transition:color 320ms var(--ease); }
.auth-tabs button.active { color:#0a0c0a; border:0; }
.auth-tab-indicator { position:absolute; z-index:1; left:3px; top:3px; bottom:3px; width:calc(50% - 3px); background:var(--accent); transition:transform 520ms cubic-bezier(.16,1,.3,1); }
.auth-modal[data-auth-mode="register"] .auth-tab-indicator { transform:translateX(100%); }
.auth-form-stage { position:relative; flex:1; display:grid; align-items:center; min-height:0; }
.auth-form { grid-area:1/1; align-self:center; width:100%; margin:20px 0 0; gap:16px; opacity:0; visibility:hidden; pointer-events:none; display:grid; transform:translateX(28px) scale(.985); filter:blur(4px); transition:opacity 240ms ease, visibility 240ms ease; }
.auth-form.active { opacity:1; visibility:visible; pointer-events:auto; animation:authFormIn 560ms cubic-bezier(.16,1,.3,1) both; }
.auth-form[data-auth-form="register"] { transform:translateX(-28px) scale(.985); }
.auth-form-head { margin-bottom:4px; }
.auth-form-head h2 { margin:8px 0 10px; font-size:clamp(40px,5vw,58px); font-weight:300; line-height:.92; letter-spacing:-.045em; }
.auth-form-head p { max-width:42ch; margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.auth-form label { position:relative; gap:5px; }
.auth-form label > span { transition:color 220ms ease; }
.auth-form label:focus-within > span { color:var(--accent); }
.auth-form input { min-height:50px; padding:13px 1px 11px; font-size:15px; transition:border-color 260ms ease, background 260ms ease, padding 260ms ease; }
.auth-form input::placeholder { color:rgba(244,241,232,.23); }
.auth-form input:focus { padding-left:8px; background:linear-gradient(90deg, rgba(183,255,60,.035), transparent 70%); }
.auth-field-hint { margin:-5px 0 0; color:var(--quiet); font-size:9px; line-height:1.55; }
.auth-form label small { color:var(--quiet); font-size:8px; font-weight:400; }
.auth-form.active label,
.auth-form.active .auth-submit,
.auth-form.active .auth-switch-link,
.auth-form.active .form-status { animation:authFieldIn 480ms cubic-bezier(.16,1,.3,1) both; }
.auth-form.active label:nth-of-type(1) { animation-delay:70ms; }
.auth-form.active label:nth-of-type(2) { animation-delay:120ms; }
.auth-form.active label:nth-of-type(3) { animation-delay:170ms; }
.auth-form.active .auth-submit { animation-delay:210ms; }
.auth-form.active .auth-switch-link { animation-delay:250ms; }
.auth-submit { position:relative; min-height:50px; margin-top:3px; }
.auth-submit-loader { position:absolute; right:18px; width:15px; height:15px; border:1px solid rgba(7,9,8,.28); border-top-color:#090b09; border-radius:50%; opacity:0; animation:authLoaderSpin .7s linear infinite; }
.auth-form.is-loading .auth-submit-loader { opacity:1; }
.auth-form.is-loading .auth-submit .btn-label { opacity:.55; }
.auth-switch-link { justify-self:start; padding:4px 0; border:0; background:none; color:var(--quiet); font-size:11px; cursor:pointer; }
.auth-switch-link strong { color:var(--text); font-weight:400; transition:color 220ms ease; }
.auth-switch-link:hover strong { color:var(--accent); }
.form-status { min-height:18px; transition:color 220ms ease; }
.auth-form.has-error { animation:authShake 360ms ease; }
.account-panel,.email-verification-panel { align-self:center; grid-area:1/1; margin:0; padding:10px 0; opacity:1; }
.account-panel:not(.hidden),.email-verification-panel:not(.hidden) { animation:authSuccessIn 620ms cubic-bezier(.16,1,.3,1) both; }
.account-panel h2,.email-verification-panel h2 { margin:11px 0 8px; font-size:clamp(40px,5.5vw,62px); font-weight:300; letter-spacing:-.045em; }
.email-verification-panel > p { max-width:52ch; margin:0 0 9px; color:var(--quiet); line-height:1.55; }
.email-verification-panel > p strong { color:var(--text); font-weight:600; }
.email-verification-panel .verification-hint { color:var(--muted); font-size:12px; }
.email-verification-panel .form-status { margin-top:8px; }
.email-verification-panel .email-mark span { width:21px; height:16px; border:0; border-bottom:2px solid var(--accent); border-left:2px solid var(--accent); transform:rotate(-45deg) translate(1px,-1px); }
.account-success-mark { width:62px; height:62px; margin-bottom:24px; display:grid; place-items:center; border:1px solid rgba(183,255,60,.28); border-radius:50%; background:rgba(183,255,60,.045); box-shadow:0 0 40px rgba(183,255,60,.08); }
.account-success-mark span { width:23px; height:12px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg) translate(2px,-2px); }
.account-panel-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }

@keyframes authBackdropIn { from { opacity:0; } to { opacity:1; } }
@keyframes authModalIn { from { opacity:0; transform:translateY(22px) scale(.972); filter:blur(7px); } to { opacity:1; transform:none; filter:blur(0); } }
@keyframes authFormIn { from { opacity:0; transform:translateX(28px) scale(.985); filter:blur(4px); } to { opacity:1; transform:none; filter:blur(0); } }
@keyframes authFieldIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes authSuccessIn { from { opacity:0; transform:translateY(16px) scale(.985); filter:blur(4px); } to { opacity:1; transform:none; filter:blur(0); } }
@keyframes authShake { 0%,100% { transform:translateX(0); } 25% { transform:translateX(-7px); } 75% { transform:translateX(7px); } }
@keyframes authLoaderSpin { to { transform:rotate(360deg); } }
@keyframes authSignalPulse {
  50% { transform:scale(.92); box-shadow:0 0 0 6px rgba(183,255,60,.015),0 0 9px rgba(183,255,60,.16); }
}
@keyframes authSignalBlink {
  0%,100% { opacity:.52; }
  50% { opacity:.88; }
}
@keyframes authRingPrimary {
  0%,12% { transform:translate(-50%,-50%) rotate(0deg); }
  36% { transform:translate(-50%,-50%) rotate(92deg); }
  48%,58% { transform:translate(-50%,-50%) rotate(126deg); }
  82% { transform:translate(-50%,-50%) rotate(286deg); }
  100% { transform:translate(-50%,-50%) rotate(360deg); }
}
@keyframes authRingSecondary {
  0%,8% { transform:translate(-50%,-50%) rotate(0deg); }
  31% { transform:translate(-50%,-50%) rotate(-78deg); }
  44%,55% { transform:translate(-50%,-50%) rotate(-142deg); }
  80% { transform:translate(-50%,-50%) rotate(-274deg); }
  100% { transform:translate(-50%,-50%) rotate(-360deg); }
}
@keyframes authOuterBreath {
  0%,100% { transform:translate(-50%,-50%) scale(1); opacity:.62; }
  46% { transform:translate(-50%,-50%) scale(1.018); opacity:.9; }
  58% { transform:translate(-50%,-50%) scale(1.018); opacity:.9; }
}
@keyframes authCoreCalibrate {
  0%,18% { transform:rotate(0deg); opacity:.58; }
  36% { transform:rotate(84deg); opacity:.82; }
  48%,62% { transform:rotate(112deg); opacity:.62; }
  82% { transform:rotate(248deg); opacity:.82; }
  100% { transform:rotate(360deg); opacity:.58; }
}

@media (max-width: 820px) {
  .auth-backdrop { padding:12px; }
  .auth-modal { width:min(560px,100%); max-height:calc(100svh - 24px); min-height:0; grid-template-columns:1fr; overflow:auto; }
  .auth-scene { min-height:176px; border-right:0; border-bottom:1px solid var(--line); }
  .auth-scene::before { top:46%; left:79%; width:142px; height:142px; }
  .auth-scene-grid { opacity:.05; }
  .auth-orbit { top:46%; left:79%; }
  .auth-orbit-a { width:116px; height:116px; opacity:.72; }
  .auth-orbit-a::before { inset:14px; }
  .auth-orbit-b { width:82px; height:82px; opacity:.62; }
  .auth-orbit-b::before { top:-5px; width:9px; }
  .auth-orbit::after { width:4px; height:4px; box-shadow:0 0 4px rgba(183,255,60,.16); }
  .auth-core { top:46%; left:79%; width:38px; height:38px; transform:translate(-50%,-50%); box-shadow:0 0 0 6px rgba(244,241,232,.01); }
  .auth-core span { width:6px; height:6px; }
  .auth-core i { inset:7px; }
  .auth-scene-copy { left:22px; right:42%; bottom:19px; }
  .auth-scene-copy strong { font-size:29px; }
  .auth-scene-copy p { display:none; }
  .auth-scene-status { margin-top:12px; font-size:8px; }
  .auth-content { padding:22px; }
  .auth-form-stage { min-height:440px; }
}
@media (max-width: 520px) {
  .auth-scene { min-height:205px; }
  .auth-scene::before { top:42%; left:76%; width:118px; height:118px; }
  .auth-orbit { display:block; top:42%; left:76%; }
  .auth-orbit-a { width:96px; height:96px; }
  .auth-orbit-a::before { inset:12px; }
  .auth-orbit-b { width:68px; height:68px; }
  .auth-orbit-b::before { top:-4px; width:8px; }
  .auth-core { display:grid; top:42%; left:76%; width:32px; height:32px; }
  .auth-core i { inset:6px; }
  .auth-scene-copy { left:20px; right:34%; bottom:18px; }
  .auth-scene-copy strong { font-size:27px; }
  .auth-scene-status { display:none; }
  .auth-tabs { max-width:none; }
  .auth-content { padding:18px; }
  .auth-form-stage { min-height:430px; }
  .auth-form-head h2 { font-size:39px; }
  .account-panel-actions { display:grid; }
}

.news-modal { width: min(820px, 100%); padding: 0; overflow: hidden; }
.news-modal-header { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.news-modal-content {
  max-height: calc(100svh - 210px);
  padding: 32px 28px;
  overflow-y: auto;
  scrollbar-width: none;
}
.news-modal-content::-webkit-scrollbar { display: none; }
.news-modal-date { display: block; margin-bottom: 14px; color: var(--quiet); font-size: 11px; }
.news-modal h2 { margin-bottom: 24px; font-size: clamp(34px, 5vw, 58px); line-height: .94; letter-spacing: -.035em; }
.news-body { max-width: 62ch; white-space: pre-wrap; color: var(--muted); font-size: 15px; line-height: 1.7; }
.news-modal-footer { display: flex; justify-content: flex-end; padding: 0 28px 28px; }

#newsModal:not(.hidden) { animation: newsBackdropIn 320ms var(--ease) both; }
#newsModal:not(.hidden) .news-modal { animation: newsModalIn 460ms var(--ease) both; }

@keyframes newsBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes newsModalIn {
  from { opacity: 0; transform: scale(.985); filter: blur(5px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.product-modal { width: min(760px, 100%); padding: 0; overflow: hidden; }
.product-modal-close { position: absolute; z-index: 4; top: 18px; right: 18px; background: rgba(7,9,8,.38); backdrop-filter: blur(12px); }
.product-modal-media { height: min(38svh, 320px); overflow: hidden; }
.product-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-copy { padding: clamp(26px, 4vw, 42px); }
.product-modal-copy h2 { max-width: 16ch; margin: 9px 0 16px; font-size: clamp(38px, 5vw, 62px); line-height: .93; letter-spacing: -.038em; }
.product-modal-description { max-width: 62ch; color: var(--muted); font-size: 15px; line-height: 1.7; }
.product-modal-description p { margin: 0 0 16px; }
.product-modal-description p:last-child { margin-bottom: 0; }
.product-modal-description strong { color: var(--text); font-weight: 650; }
.product-modal-description ul { display: grid; gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; }
.product-modal-description li { position: relative; padding: 10px 12px 10px 34px; border: 1px solid color-mix(in srgb,var(--accent) 18%,var(--line)); border-radius: 12px; background: color-mix(in srgb,var(--surface) 94%,var(--accent) 6%); }
.product-modal-description li::before { content: "✦"; position: absolute; left: 12px; top: 10px; color: var(--accent); font-size: 12px; }
.product-modal-price { margin-top: 28px; font-size: clamp(34px, 4vw, 52px); font-weight: 300; letter-spacing: -.035em; }
.product-modal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
#productModal:not(.hidden) { animation: newsBackdropIn 320ms var(--ease) both; }
#productModal:not(.hidden) .product-modal { animation: newsModalIn 460ms var(--ease) both; }

.system-notice { width: min(520px, 100%); padding: 34px; }
.system-notice-close { position: absolute; top: 18px; right: 18px; }
.system-notice h2 { max-width: 16ch; margin: 10px 0 14px; font-size: clamp(34px, 5vw, 48px); line-height: .94; letter-spacing: -.035em; }
.system-notice p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.system-notice-action { margin-top: 24px; }
.system-notice[data-tone="success"] h2 { color: var(--accent); }
.system-notice[data-tone="error"] h2 { color: var(--danger); }
#systemNotice:not(.hidden) { animation: newsBackdropIn 260ms var(--ease) both; }
#systemNotice:not(.hidden) .system-notice { animation: newsModalIn 400ms var(--ease) both; }

/* Pointer follower */
.pointer-ring {
  position: fixed;
  z-index: 120;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(244, 241, 232, .72);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: width 680ms var(--ease), height 680ms var(--ease), border-color 520ms var(--ease), background 520ms var(--ease), opacity 260ms var(--ease);
  will-change: left, top, width, height;
}
.pointer-ring.is-visible { opacity: 1; }
.pointer-ring.is-active {
  width: 52px;
  height: 52px;
  border-color: var(--accent);
  background: rgba(183, 255, 60, .06);
}
.pointer-ring.is-server {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
  background: rgba(183, 255, 60, .055);
}
.pointer-ring.is-pressed { width: 20px; height: 20px; background: rgba(183, 255, 60, .18); }
.server-modal { width: min(940px, 100%); padding: 0; }
.modal > .modal-close { position: absolute; z-index: 4; top: 16px; right: 16px; }
.server-modal-close { position: absolute; z-index: 5; top: 18px; right: 18px; background: rgba(7,9,8,.38); backdrop-filter: blur(12px); }
.server-modal-art { height: 330px; overflow: hidden; }
.server-modal-art img { width: 100%; height: 100%; object-fit: cover; }
.server-modal-content { padding: 30px; }
.server-modal-top { display: flex; justify-content: space-between; gap: 20px; }
.server-modal-content h2 { margin: 9px 0 12px; font-size: clamp(38px, 5vw, 64px); line-height: .92; letter-spacing: -.038em; }
.server-modal-description { max-width: 68ch; color: var(--muted); font-size: 15px; line-height: 1.72; }
.server-modal-description p { margin: 0 0 14px; }
.server-modal-description p:last-child { margin-bottom: 0; }
.server-modal-description ul { display: grid; gap: 9px; margin: 14px 0 16px; padding: 0; list-style: none; }
.server-modal-description li { position: relative; padding-left: 19px; color: #c3cbd2; }
.server-modal-description li:before { content: ""; position: absolute; top: .72em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb,var(--accent) 45%,transparent); }

/* Admin compatibility */
.admin-shell { width: min(1240px, calc(100% - 40px)); margin: auto; padding: 30px 0 80px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.admin-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
.admin-nav { display: grid; align-content: start; gap: 0; }
.admin-nav button {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.admin-nav button.active { color: var(--text); border-color: var(--accent); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.page-title { margin-bottom: 28px; }
.page-title h1 { margin-top: 7px; font-size: clamp(36px, 5vw, 64px); line-height: .95; letter-spacing: -.035em; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.summary-card { min-height: 130px; padding: 22px; background: var(--surface); }
.summary-card small { color: var(--quiet); }
.summary-card strong { display: block; margin-top: 8px; font-size: 32px; font-weight: 300; }
.admin-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.admin-toolbar h2 { margin: 5px 0 0; font-size: 34px; letter-spacing: -.025em; }
.admin-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-search { width: min(280px, 100%); }
.admin-table { display: grid; }
.admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 1px solid var(--line); }
.admin-row small { color: var(--quiet); }
.admin-row-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-row-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.admin-avatar { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); }
.admin-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--quiet); font-size: 9px; }
.admin-chip-admin { color: var(--accent); }
.status-pending, .server-maintenance { color: var(--warning); }
.status-delivered, .server-online { color: var(--accent); }
.status-failed, .server-offline { color: var(--danger); }
.muted-chip { opacity: .65; }
.grant-payload { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--quiet); font-family: ui-monospace, monospace; font-size: 10px; }
.mini-btn {
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: transform 520ms var(--ease), border-color 500ms var(--ease);
}
.mini-btn:hover { transform: translateY(-2px); border-color: var(--text); }
.mini-btn.danger { color: var(--danger); }
.mini-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.admin-form { display: grid; gap: 14px; }
.admin-form textarea { min-height: 120px; resize: vertical; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-line { display: flex !important; align-items: center; gap: 8px; }
.checkbox-line input { width: auto; min-height: auto; }
.admin-subsection { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.admin-state { color: var(--quiet); font-size: 11px; }
.admin-modal-wide { width: min(760px, 100%); }
.compact-notice { margin: 0; padding: 12px 0; font-size: 11px; }
.admin-safe-card { margin-top: 28px; }
.launcher-form { max-width: none; }
.admin-console-controls { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(160px, .65fr) auto; align-items: end; gap: 12px; margin: 22px 0 28px; }
.admin-console-controls label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; }
.admin-console-controls select { min-height: 44px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); }
.admin-console-log { display: grid; padding: 0; }
.admin-console-log .admin-row { grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr); }
.server-config-form { max-width: 860px; }
.admin-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 8px; padding-top: 16px; }
.launcher-banner-preview { position: relative; min-height: 220px; display: grid; place-items: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.launcher-banner-preview img { width: 100%; height: 260px; object-fit: cover; }
.launcher-banner-preview > span { color: var(--quiet); font-size: 11px; }
.launcher-download-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 14px; background: var(--line); }
.launcher-download-card { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: var(--surface-2); color: var(--text); text-decoration: none; cursor: pointer; transition: background 320ms ease, transform 420ms var(--ease), box-shadow 320ms ease; }
.launcher-download-card:hover { background: rgba(183,255,60,.045); transform: translateY(-2px); box-shadow: inset 0 -2px var(--accent); }
.launcher-download-card:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.launcher-download-card > span { color: var(--accent); font-size: 9px; letter-spacing: .14em; }
.launcher-download-card strong { display: block; margin: 7px 0 4px; font-size: 28px; font-weight: 300; }
.launcher-download-card small { color: var(--quiet); font-size: 10px; }
.launcher-download-action { display: inline-flex; width: fit-content; margin-top: 14px; color: var(--accent); font-size: 10px; font-weight: 550; letter-spacing: .04em; }
.launcher-download-card.is-loading { cursor: wait; opacity: .78; }
.launcher-download-card.is-admin { background: linear-gradient(145deg, rgba(183,255,60,.045), var(--surface-2)); }
.launcher-auto-copy { margin: 14px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.55; }
.launcher-auto-copy code { color: var(--muted); }
.launcher-mac-alt { display: inline-flex; align-items: center; width: fit-content; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.3; text-decoration: none; border-bottom: 1px solid var(--line); transition: color 180ms ease, border-color 180ms ease; }
.launcher-mac-alt:hover { color: var(--accent); border-color: var(--accent); }
.admin-toolbar > div > p { max-width: 62ch; margin: 8px 0 0; color: var(--quiet); font-size: 11px; line-height: 1.55; }
.audit-controls { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr); gap: 14px; margin: 0 0 18px; }
.audit-controls label { display: grid; gap: 7px; color: var(--quiet); font-size: 10px; }
.audit-list { max-width: none; }
.audit-row { display: block; padding: 0; border-bottom: 1px solid var(--line); }
.audit-row summary { display: grid; grid-template-columns: 160px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 13px 0; cursor: pointer; list-style: none; }
.audit-row summary::-webkit-details-marker { display: none; }
.audit-row summary > span { color: var(--quiet); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.audit-row small { color: var(--quiet); }
.audit-row pre { margin: 0 0 14px 174px; padding: 14px; overflow: auto; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.news-editor-preview { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 16px; align-items: center; min-height: 118px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-editor-preview img { width: 132px; height: 88px; object-fit: cover; }
.news-editor-preview small { color: var(--accent); font-size: 8px; letter-spacing: .14em; }
.news-editor-preview strong { display: block; margin: 7px 0 5px; font-size: 18px; font-weight: 300; }
.news-editor-preview p { margin: 0; color: var(--quiet); font-size: 10px; line-height: 1.5; }
@media (max-width: 680px) { .launcher-download-list,.audit-controls { grid-template-columns: 1fr; } .audit-row summary { grid-template-columns: 1fr auto; } .audit-row summary > small { grid-column: 1 / -1; } .audit-row pre { margin-left: 0; } .news-editor-preview { grid-template-columns: 1fr; } }
.preview-badge { position: fixed; z-index: 70; right: 14px; bottom: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7,9,8,.78); backdrop-filter: blur(14px); color: var(--muted); font-size: 10px; }

/* Entrance motion */
.rise,
.reveal { opacity: 0; transform: translateY(28px); filter: blur(14px); }
body.is-ready .rise,
.reveal.reveal-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 900ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), filter 900ms var(--ease) var(--d, 0ms);
}
.start-banner-copy.reveal { transform: translate(-50%, 28px); }
.start-banner-copy.reveal.reveal-visible { transform: translateX(-50%); }
.site-header .brand { --d: 300ms; }
.site-header .nav-toggle { --d: 380ms; }
.site-header .main-nav { --d: 420ms; }
.site-header .header-actions { --d: 470ms; }
.hero-content .eyebrow { --d: 700ms; }
.hero-content h1 { --d: 900ms; }
.hero-content .hero-lead { --d: 1040ms; }
.hero-content .hero-cta { --d: 1200ms; }
.hero-live { --d: 1260ms; }

/* Route transitions: replay on every in-site navigation */
.page.route-enter { animation: routePageIn 720ms var(--ease) both; }
.page[data-page="home"].route-enter .hero-media { animation: homeMediaIn 900ms var(--ease) both; }
.page[data-page="home"].route-enter .hero-content > .eyebrow { animation: routeItemIn 760ms var(--ease) 80ms both; }
.page[data-page="home"].route-enter .hero-content > h1 { animation: routeItemIn 820ms var(--ease) 150ms both; }
.page[data-page="home"].route-enter .hero-content > .hero-lead { animation: routeItemIn 820ms var(--ease) 230ms both; }
.page[data-page="home"].route-enter .hero-content > .hero-cta { animation: routeItemIn 820ms var(--ease) 310ms both; }
.page[data-page="home"].route-enter .hero-live { animation: routeItemIn 760ms var(--ease) 390ms both; }
.page[data-page="more"].route-enter .page-hero > .eyebrow { animation: routeItemIn 680ms var(--ease) 40ms both; }
.page[data-page="more"].route-enter .page-hero > h1 { animation: routeItemIn 760ms var(--ease) 110ms both; }
.page[data-page="more"].route-enter .link-card { animation: moreCardIn 720ms var(--ease) both; }
.page[data-page="more"].route-enter .link-card::after { animation: moreLineIn 900ms var(--ease) both; }
.page[data-page="more"].route-enter .link-card:nth-child(1) { animation-delay:140ms; }
.page[data-page="more"].route-enter .link-card:nth-child(2) { animation-delay:200ms; }
.page[data-page="more"].route-enter .link-card:nth-child(3) { animation-delay:260ms; }
.page[data-page="more"].route-enter .link-card:nth-child(4) { animation-delay:320ms; }
.page[data-page="more"].route-enter .link-card:nth-child(5) { animation-delay:380ms; }
.page[data-page="more"].route-enter .link-card:nth-child(6) { animation-delay:440ms; }
.page[data-page="more"].route-enter .link-card:nth-child(7) { animation-delay:500ms; }
.page[data-page="more"].route-enter .link-card:nth-child(8) { animation-delay:560ms; }
.page[data-page="more"].route-enter .link-card:nth-child(1)::after { animation-delay:260ms; }
.page[data-page="more"].route-enter .link-card:nth-child(2)::after { animation-delay:320ms; }
.page[data-page="more"].route-enter .link-card:nth-child(3)::after { animation-delay:380ms; }
.page[data-page="more"].route-enter .link-card:nth-child(4)::after { animation-delay:440ms; }
.page[data-page="more"].route-enter .link-card:nth-child(5)::after { animation-delay:500ms; }
.page[data-page="more"].route-enter .link-card:nth-child(6)::after { animation-delay:560ms; }
.page[data-page="more"].route-enter .link-card:nth-child(7)::after { animation-delay:620ms; }
.page[data-page="more"].route-enter .link-card:nth-child(8)::after { animation-delay:680ms; }

@keyframes routePageIn {
  from { opacity: .68; filter: blur(7px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes routeItemIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes moreCardIn {
  from { opacity:0; transform:translateY(26px) scale(.985); filter:blur(10px); }
  to { opacity:1; transform:none; filter:blur(0); }
}
@keyframes moreLineIn {
  from { transform:scaleX(0); opacity:.15; }
  to { transform:scaleX(1); opacity:1; }
}
@keyframes homeMediaIn {
  from { opacity: .72; transform: scale(1.018); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.i18n-typing::after { content: ""; display: inline-block; width: 1px; height: .9em; margin-left: 2px; background: currentColor; vertical-align: -.06em; animation: typeCursor 550ms steps(1) infinite; }
@keyframes typeCursor { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: auto auto 1fr; gap: 12px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px var(--side) 26px;
    background: rgba(7,9,8,.96);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .header-actions { justify-content: flex-end; }
  .hero-content { width: min(690px, calc(100vw - (var(--side) * 2))); }
  .hero-live { top: 110px; right: var(--side); bottom: auto; min-width: 180px; }
  .start-banner-copy { grid-template-columns: 1fr; column-gap: 0; }
  .start-banner-copy > .eyebrow,
  .start-banner-copy > h2,
  .start-banner-copy > p,
  .start-banner-copy > .cta-inline { grid-column: 1; max-width: min(620px, 100%); }
  .start-banner-copy h2 { max-width: 12ch; font-size: clamp(2.6rem, 8vw, 4.7rem); }
  .featured-news-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 0; }
  .featured-news-main { grid-column: 1 / 3; grid-row: auto; min-height: 520px; }
  .featured-news-side { min-height: 300px; }
  .server-catalog { grid-template-columns: 1fr; }
  .server-big, .server-big-content { min-height: 540px; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps article { min-height: 260px; }
  .profile-lower-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-identity { grid-column: 1 / -1; padding-bottom: 28px; border-bottom: 1px solid rgba(244,241,232,.10); }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-nav { grid-template-columns: repeat(4, 1fr); }
  .summary-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  :root { --side: 18px; }
  .site-header { min-height: 68px; padding-block: 10px; }
  .brand { min-height: 44px; }
  .brand span { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .main-nav { top: 68px; }
  .admin-link { display: none !important; }
  .header-actions { gap: 6px; }
  .lang-switch { width: 74px; height: 40px; }
  .lang-switch-glider { width: 32px; height: 32px; }
  .lang-switch.is-en .lang-switch-glider { transform: translateX(34px); }
  .header-actions .btn { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .hero { min-height: 0; }
  .hero-media img { object-position: 64% center; }
  .hero-content { bottom: 30px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .hero-lead { max-width: 42ch; margin-top: 17px; font-size: 14px; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 20px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-live { top: 82px; right: 18px; min-width: 150px; }
  .hero-live > div { grid-template-columns: 42px 1fr; padding: 8px 0; }
  .hero-live strong { font-size: 19px; }
  .hero-live span { font-size: 9px; }
  .section { padding-block: 76px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .featured-news-layout { grid-template-columns: 1fr; }
  .featured-news-main { grid-column: auto; min-height: 430px; }
  .featured-news-side { min-height: 270px; }
  .featured-news-copy, .featured-news-main .featured-news-copy { padding: 22px; }
  .featured-news-side p { display: none; }
  .server-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .server-status { display: none; }
  .mini-server-action { display: none; }
  .start-banner { min-height: 72svh; }
  .start-banner-copy { bottom: 38px; }
  .start-banner-copy h2 { max-width: 11.5ch; font-size: clamp(2.55rem, 11vw, 4rem); }
  .cta-inline, .page-cta { align-items: flex-start; flex-direction: column; }
  .inner-page { padding: 110px 0 80px; }
  .page-hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 68px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 5.8rem); }
  .page-hero p { font-size: 14px; }
  .server-big, .server-big-content { min-height: 470px; }
  .server-big-content { padding: 22px; }
  .server-card-actions { flex-direction: column; align-items: flex-start; }
  .shop-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 320px; }
  .news-row { grid-template-columns: 104px 1fr; gap: 14px; }
  .news-date { display: none; }
  .news-row p { display: none; }
  .link-grid { grid-template-columns: 1fr; }
  .link-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .link-card:last-child { border-bottom: 1px solid var(--line); }
  .profile-locked > * { margin-left: 20px; margin-right: 20px; }
  .profile-hero-card { align-items: flex-start; flex-direction: column; }
  .profile-server-orb { text-align: left; }
  .profile-stats { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; }
  .footer-links { flex-wrap: wrap; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: calc(100svh - 24px); padding: 22px 18px; }
  .news-modal, .server-modal { padding: 0; }
  .server-modal-art { height: 220px; }
  .server-modal-content { padding: 22px 18px; }
  .server-modal-actions { flex-direction: column; align-items: stretch; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .admin-nav { grid-template-columns: 1fr 1fr; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-form-row { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row-actions { justify-content: flex-start; }
  .audit-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body::after { opacity: .035; background-size: 140px 140px; }
  .header-actions .btn { min-width: 70px; min-height: 44px; }
  .lang-switch { width: 94px; height: 48px; padding: 0; }
  .lang-switch-glider { left: 3px; top: 3px; width: 40px; height: 40px; }
  .lang-switch.is-en .lang-switch-glider { transform: translateX(46px); }
  .hero-content { bottom: 24px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.7rem); line-height: .88; letter-spacing: -.04em; }
  .hero-lead { max-width: 36ch; font-size: 13px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 360px); }
  .hero-actions .btn { width: 100%; padding-inline: 14px; }
  .hero-cta small { max-width: 26ch; }
  .section-head h2 { font-size: clamp(2.35rem, 11.5vw, 3.7rem); line-height: .92; letter-spacing: -.035em; }
}

@media (max-width: 700px) {
  .server-row { min-height: 102px; padding-block: 16px; }
  .server-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .server-id strong { font-size: 15px; }
  .server-id small { font-size: 10px; }
  .server-meta { margin-top: 5px; gap: 5px 10px; }
  .server-meta span { font-size: 8px; }
  .server-meta span:nth-child(2) { display: none; }
  .server-online { min-width: 62px; font-size: 16px; }
  .start-banner-copy h2 { max-width: 11.5ch; font-size: clamp(2.4rem, 10.5vw, 3.8rem); line-height: .91; }
  .page-hero h1 { font-size: clamp(2.9rem, 13.5vw, 5rem); line-height: .88; }
  .page-hero p { max-width: 38ch; line-height: 1.6; }
}

@media (max-width: 700px) {
  .server-big,
  .server-big-content { min-height: 520px; }
  .server-variant-0 .server-big-content,
  .server-variant-1 .server-big-content { padding: 22px; }
  .server-card-index { top: 18px; left: 20px; font-size: 48px; }
  .server-big h2,
  .server-variant-0 h2 { max-width: 10ch; font-size: clamp(36px, 12vw, 46px); line-height: .94; }
  .server-card-kicker { font-size: 11px !important; }
  .server-card-description { max-width: 36ch; font-size: 13px; }
  .server-card-actions { align-items: stretch; }
  .server-card-actions .btn { width: 100%; }
  .news-modal-content { max-height: calc(100svh - 170px); padding: 26px 18px; }
}

@media (max-width: 700px) {
  .legal-requisites div { grid-template-columns:1fr; gap:5px; }
  .site-footer { padding: 52px 18px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 0; }
  .footer-identity { grid-column: auto; padding-bottom: 24px; }
  .footer-status-block,
  .footer-launcher-block { padding: 24px 0; border-bottom: 1px solid rgba(244,241,232,.10); }
  .footer-launcher-block > strong { font-size: 42px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 30px; padding-top: 16px; }
  .footer-links { gap: 0 16px; }
  .footer-links a { min-height: 44px; }
}

@media (max-width: 700px) {
  .skeleton-news { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .skeleton-news span:first-child { grid-row: auto; min-height: 430px; }
  .skeleton-news span:not(:first-child) { min-height: 270px; }
  .skeleton-cards { grid-template-columns: 1fr; }
  .skeleton-cards span { min-height: 320px; }
  .product-actions { align-items: stretch; flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .product-modal { padding: 0; }
  .product-modal-media { height: 220px; }
  .product-modal-copy { padding: 26px 18px; }
  .product-modal-actions { align-items: stretch; flex-direction: column; }
  .product-modal-actions .btn { width: 100%; }
  .system-notice { padding: 30px 18px 22px; }
  .admin-console-controls { grid-template-columns: 1fr; align-items: stretch; }
  .admin-console-controls .btn { width: 100%; }
  .admin-console-log .admin-row { grid-template-columns: 1fr; }
  .admin-check-grid { grid-template-columns: 1fr; padding-top: 0; }
  .launcher-banner-preview { min-height: 170px; }
  .launcher-banner-preview img { height: 190px; }
}

@media (max-height: 720px) and (min-width: 701px) {
  .hero-content { bottom: 24px; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 6.3rem); }
  .hero-lead { margin-top: 15px; }
  .hero-cta { margin-top: 17px; }
  .hero-live { bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-delay: 0ms !important; transition-duration: .001ms !important; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .start-banner-copy.reveal { transform: translateX(-50%) !important; }
  .hero-media img { transform: scale(1.02) !important; }
}

/* Admin control center v2 */
.admin-page {
  --admin-sidebar: 262px;
  background: radial-gradient(circle at 78% -10%, rgba(183,255,60,.075), transparent 31%), radial-gradient(circle at 12% 78%, rgba(244,241,232,.025), transparent 28%), var(--bg);
}
.admin-page::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(244,241,232,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,232,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.admin-page .admin-shell { position: relative; z-index: 1; width: min(1540px, calc(100% - 32px)); margin: 0 auto; padding: 16px 0 42px; }
.admin-page .admin-grid { display: grid; grid-template-columns: var(--admin-sidebar) minmax(0, 1fr); min-height: calc(100svh - 32px); gap: 18px; }
.admin-sidebar { position: sticky; top: 16px; height: calc(100svh - 32px); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(244,241,232,.10); background: rgba(9,12,10,.84); backdrop-filter: blur(26px); animation: adminSidebarIn 820ms var(--ease) both; }
.admin-sidebar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(183,255,60,.7), transparent); opacity: .55; }
.admin-sidebar-head { padding: 24px 20px 20px; border-bottom: 1px solid rgba(244,241,232,.09); }
.admin-sidebar-head .brand { width: max-content; }
.admin-console-label { display: block; margin-top: 15px; color: var(--quiet); font-size: 9px; letter-spacing: .18em; }
.admin-page .admin-nav { display: grid; grid-template-columns: 1fr; align-content: start; gap: 5px; padding: 16px 10px; overflow-y: auto; scrollbar-width: none; }
.admin-page .admin-nav::-webkit-scrollbar { display: none; }
.admin-page .admin-nav button { position: relative; min-height: 54px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 0 12px; border: 0; background: transparent; color: var(--quiet); text-align: left; cursor: pointer; overflow: hidden; transition: color 400ms var(--ease), transform 520ms var(--ease), background 500ms var(--ease); }
.admin-page .admin-nav button::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: center; transition: transform 420ms var(--ease); }
.admin-page .admin-nav button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(183,255,60,.08), transparent 70%); opacity: 0; transition: opacity 500ms var(--ease); }
.admin-page .admin-nav button > * { position: relative; z-index: 1; }
.admin-page .admin-nav button:hover { color: var(--text); transform: translateX(3px); }
.admin-page .admin-nav button.active { color: var(--text); background: rgba(244,241,232,.035); }
.admin-page .admin-nav button.active::before { transform: scaleY(1); }
.admin-page .admin-nav button.active::after { opacity: 1; }
.admin-nav-index { color: rgba(244,241,232,.30); font-size: 9px; font-variant-numeric: tabular-nums; }
.admin-page .admin-nav button.active .admin-nav-index { color: var(--accent); }
.admin-page .admin-nav kbd, .admin-shortcuts kbd { padding: 3px 6px; border: 1px solid rgba(244,241,232,.10); border-radius: 999px; background: rgba(244,241,232,.025); color: rgba(244,241,232,.35); font-family: inherit; font-size: 8px; font-weight: 400; }
.admin-sidebar-foot { padding: 14px 12px 12px; border-top: 1px solid rgba(244,241,232,.09); }
.admin-session-card { display: grid; grid-template-columns: 8px 1fr; align-items: center; gap: 10px; padding: 12px 10px; }
.admin-session-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,60,.05), 0 0 26px rgba(183,255,60,.35); animation: adminPulse 1800ms var(--ease) infinite; }
.admin-session-card small { display: block; margin-bottom: 3px; color: var(--quiet); font-size: 8px; }
.admin-session-card strong { display: block; overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-site-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; margin-top: 4px; padding: 0 10px; border-top: 1px solid rgba(244,241,232,.08); color: var(--muted); transition: color 420ms var(--ease), padding 520ms var(--ease); }
.admin-site-link:hover { padding-left: 14px; color: var(--accent); }
.admin-site-link span { font-size: 11px; }
.admin-site-link small { color: var(--quiet); font-size: 8px; }
.admin-workspace { position: relative; min-width: 0; overflow: clip; border: 1px solid rgba(244,241,232,.08); background: rgba(7,9,8,.58); backdrop-filter: blur(12px); isolation: isolate; animation: adminWorkspaceIn 900ms var(--ease) 80ms both; }
.admin-workspace::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: calc(var(--admin-x, 65%) - 320px); top: calc(var(--admin-y, 22%) - 320px); border-radius: 999px; background: radial-gradient(circle, rgba(183,255,60,.06), rgba(183,255,60,.018) 35%, transparent 70%); pointer-events: none; transition: left 700ms var(--ease), top 700ms var(--ease); }
.admin-topbar { position: sticky; z-index: 20; top: 0; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; border-bottom: 1px solid rgba(244,241,232,.09); background: rgba(7,9,8,.76); backdrop-filter: blur(22px); }
.admin-topbar-copy { display: grid; gap: 5px; }
.admin-topbar-copy .eyebrow { font-size: 8px; }
.admin-topbar-copy > strong { font-size: 14px; font-weight: 300; }
.admin-topbar-meta { display: flex; align-items: center; gap: 18px; }
.admin-environment { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 10px; border: 1px solid rgba(244,241,232,.10); border-radius: 999px; color: var(--quiet); font-size: 8px; }
.admin-environment i { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 14px rgba(183,255,60,.42); }
.admin-clock { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-panel-stage { min-height: calc(100svh - 108px); padding: 28px; }
.admin-page .admin-panel { display: none; }
.admin-page .admin-panel.active { display: block; animation: adminPanelIn 720ms var(--ease) both; }
.admin-page .admin-panel.active > * { animation: adminItemIn 740ms var(--ease) both; }
.admin-page .admin-panel.active > *:nth-child(2) { animation-delay: 70ms; }
.admin-page .admin-panel.active > *:nth-child(3) { animation-delay: 130ms; }
.admin-page .admin-panel.active > *:nth-child(4) { animation-delay: 190ms; }
.admin-page .page-title, .admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.admin-page .page-title h1, .admin-section-heading h1 { margin-top: 7px; font-size: clamp(38px, 4.5vw, 70px); line-height: .90; letter-spacing: -.045em; }
.admin-section-heading > div > p { max-width: 58ch; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.58; }

@keyframes adminSidebarIn { from { opacity: 0; transform: translateX(-24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes adminWorkspaceIn { from { opacity: 0; transform: translateY(18px); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes adminPanelIn { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes adminItemIn { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes adminPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.admin-dashboard-hero { position: relative; min-height: 360px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 30px; overflow: hidden; padding: clamp(28px, 4vw, 52px); border: 1px solid rgba(244,241,232,.09); background: linear-gradient(145deg, rgba(244,241,232,.035), rgba(183,255,60,.018) 58%, transparent); }
.admin-dashboard-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 48%, rgba(183,255,60,.08), transparent 33%); pointer-events: none; }
.admin-dashboard-copy { position: relative; z-index: 1; align-self: end; }
.admin-dashboard-copy h1 { max-width: 9ch; margin: 10px 0 18px; font-size: clamp(58px, 7vw, 108px); line-height: .80; letter-spacing: -.055em; }
.admin-dashboard-copy > p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.admin-quick-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.admin-radar { position: relative; width: min(310px, 26vw); aspect-ratio: 1; justify-self: end; align-self: center; }
.admin-radar span { position: absolute; inset: 0; border: 1px solid rgba(183,255,60,.16); border-radius: 999px; }
.admin-radar span:nth-child(2) { inset: 18%; }
.admin-radar span:nth-child(3) { inset: 36%; }
.admin-radar::before, .admin-radar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(183,255,60,.10); }
.admin-radar::after { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
.admin-radar i { position: absolute; left: 50%; top: 50%; width: 48%; height: 1px; transform-origin: left center; background: linear-gradient(90deg, rgba(183,255,60,.8), transparent); animation: radarSweep 5200ms var(--ease) infinite; }
.admin-radar b { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 10px; font-weight: 400; transform: translate(-50%,-50%); box-shadow: 0 0 50px rgba(183,255,60,.14); }
.admin-page .summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; background: transparent; }
.admin-page .summary-card { position: relative; min-height: 156px; padding: 20px; overflow: hidden; border: 1px solid rgba(244,241,232,.08); background: rgba(244,241,232,.022); transition: transform 550ms var(--ease), border-color 500ms var(--ease), background 500ms var(--ease); }
.admin-page .summary-card::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(.18); transform-origin: left; opacity: .45; transition: transform 650ms var(--ease), opacity 500ms var(--ease); }
.admin-page .summary-card:hover { transform: translateY(-4px); border-color: rgba(183,255,60,.24); background: rgba(183,255,60,.025); }
.admin-page .summary-card:hover::after { transform: scaleX(1); opacity: .9; }
.admin-page .summary-card small { display: block; margin-top: 20px; color: var(--quiet); font-size: 9px; }
.admin-page .summary-card strong { display: block; margin-top: 5px; font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -.045em; }
.admin-page .summary-card em { position: absolute; left: 20px; bottom: 18px; color: rgba(244,241,232,.38); font-size: 9px; font-style: normal; }
.summary-index { position: absolute; right: 18px; top: 16px; color: rgba(244,241,232,.18); font-size: 10px; }
.admin-dashboard-lower { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; margin-top: 10px; }
.admin-surface { position: relative; padding: 24px; border: 1px solid rgba(244,241,232,.085); background: rgba(10,13,11,.82); }
.admin-surface h2 { margin-top: 8px; font-size: clamp(28px, 3vw, 42px); line-height: .95; letter-spacing: -.035em; }
.admin-page .admin-safe-card { margin: 0; }
.admin-safe-card > p { max-width: 58ch; margin: 18px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.admin-security-line { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-top: 1px solid rgba(244,241,232,.08); color: var(--quiet); font-size: 10px; }
.admin-security-line strong { color: var(--accent); font-size: 9px; }
.admin-shortcuts { display: grid; align-content: start; }
.admin-shortcuts h2 { margin-bottom: 14px; }
.admin-shortcuts button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0; border: 0; border-top: 1px solid rgba(244,241,232,.08); background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: color 420ms var(--ease), padding 520ms var(--ease); }
.admin-shortcuts button:hover { padding-left: 8px; color: var(--text); }
.admin-page .admin-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-page .admin-toolbar h2 { margin: 5px 0 0; font-size: clamp(30px, 3.2vw, 44px); line-height: .94; letter-spacing: -.035em; }
.admin-page .admin-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-page .admin-search { width: min(310px, 100%); }
.admin-panel[data-admin-panel="users"] > .admin-table, .admin-panel[data-admin-panel="news"] > .admin-table, .admin-panel[data-admin-panel="products"] > .admin-table, .admin-panel[data-admin-panel="orders"] > .admin-table, .admin-page #auditList { padding: 8px 20px; border: 1px solid rgba(244,241,232,.08); background: rgba(10,13,11,.72); }
.admin-page .admin-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 76px; padding: 14px 0; border-top: 1px solid rgba(244,241,232,.08); border-bottom: 0; transition: padding 500ms var(--ease), background 500ms var(--ease); }
.admin-page .admin-row:first-child { border-top: 0; }
.admin-page .admin-row:hover { padding-left: 8px; background: linear-gradient(90deg, rgba(183,255,60,.025), transparent 70%); }
.admin-page .admin-row strong { font-size: 13px; }
.admin-page .admin-row small { color: var(--quiet); font-size: 9px; line-height: 1.5; }
.admin-page .admin-avatar { width: 42px; height: 42px; flex: 0 0 42px; background: rgba(244,241,232,.02); border-color: rgba(244,241,232,.11); }
.admin-page .admin-chip { font-size: 8px; border-color: rgba(244,241,232,.10); }
.admin-page .mini-btn { min-height: 44px; padding: 0 12px; border-color: rgba(244,241,232,.10); background: rgba(244,241,232,.018); font-size: 9px; transition: transform 520ms var(--ease), border-color 500ms var(--ease), background 500ms var(--ease), color 420ms var(--ease); }
.admin-page .mini-btn:hover { transform: translateY(-2px); border-color: rgba(183,255,60,.35); background: rgba(183,255,60,.045); color: var(--text); }
.admin-page .admin-form { display: grid; gap: 14px; }
.admin-page .admin-form textarea { min-height: 110px; }
.admin-page .admin-form-row { gap: 14px; }
.admin-page .admin-form label { color: rgba(244,241,232,.58); }
.admin-page .admin-form input, .admin-page .admin-form textarea, .admin-page .admin-form select, .admin-page .admin-search { background: rgba(244,241,232,.015); border-bottom-color: rgba(244,241,232,.12); transition: border-color 420ms var(--ease), background 420ms var(--ease); }
.admin-page .admin-form input:hover, .admin-page .admin-form textarea:hover, .admin-page .admin-form select:hover, .admin-page .admin-search:hover { background: rgba(244,241,232,.025); }
.admin-page .admin-state { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid rgba(244,241,232,.09); border-radius: 999px; color: var(--quiet); font-size: 8px; }
.admin-surface-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-surface-head h2 { margin-top: 5px; font-size: 28px; }
.admin-live-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 9px; border: 1px solid rgba(183,255,60,.16); border-radius: 999px; color: var(--accent); font-size: 8px; }
.admin-live-badge i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; box-shadow: 0 0 12px rgba(183,255,60,.45); }
@keyframes radarSweep { to { transform: rotate(360deg); } }

.admin-server-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 10px; }
.admin-server-list-surface, .admin-command-surface { min-height: 430px; }
.admin-server-list-surface .admin-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
.admin-server-list-surface .admin-row-actions { justify-content: flex-start; margin-top: 7px; }
.admin-command-surface { display: flex; flex-direction: column; }
.admin-icon-action { position:relative; width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; border:1px solid rgba(244,241,232,.10); border-radius:999px; background:rgba(244,241,232,.015); color:var(--muted); cursor:pointer; transition:transform 260ms var(--ease),border-color 320ms var(--ease),background 320ms var(--ease),color 320ms var(--ease); }
.admin-refresh-glyph { width:16px; height:16px; display:block; border:1.5px solid currentColor; border-left-color:transparent; border-radius:999px; position:relative; }
.admin-refresh-glyph::after { content:""; position:absolute; right:-2px; top:-2px; width:5px; height:5px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(14deg); }
.admin-icon-action:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--accent) 34%,transparent); background:color-mix(in srgb,var(--accent) 7%,transparent); color:var(--accent); }
.admin-icon-action:active { transform:translateY(0) scale(.94); }
.admin-icon-action.is-loading .admin-refresh-glyph { animation:adminRefreshSpin .8s linear infinite; }
@keyframes adminRefreshSpin { to { transform:rotate(360deg); } }
.admin-page .admin-console-controls { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; margin: 0; }
.admin-page .admin-console-controls label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.admin-page .admin-console-controls select { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid rgba(244,241,232,.10); border-radius: 0; background: rgba(244,241,232,.02); color: var(--text); }
.admin-page .admin-console-controls .btn { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
.admin-rcon-target { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:2px 0 14px; padding:14px 16px; border:1px solid rgba(244,241,232,.08); background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 6%,transparent),rgba(244,241,232,.01)); transition:border-color 320ms var(--ease),background 320ms var(--ease),transform 320ms var(--ease); }
.admin-rcon-target > div { display:grid; gap:4px; min-width:0; }
.admin-rcon-target strong { font-size:20px; font-weight:400; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-rcon-target small { color:var(--muted); font-size:10px; }
.admin-rcon-target.is-ready { border-color:color-mix(in srgb,var(--accent) 24%,transparent); }
.admin-rcon-target.is-changing { transform:translateY(-2px); }
.admin-rcon-console { display:grid; gap:10px; margin-top:16px; padding:14px; border:1px solid rgba(183,255,60,.11); background:linear-gradient(145deg,rgba(183,255,60,.025),rgba(244,241,232,.012)); transition:border-color 320ms var(--ease),background 320ms var(--ease); }
.admin-rcon-quick { display:flex; flex-wrap:wrap; gap:7px; }
.admin-rcon-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; }
.admin-rcon-form label { display:grid; gap:7px; color:var(--muted); font-size:9px; }
.admin-rcon-form input { min-height:44px; padding:10px 12px; border:1px solid rgba(244,241,232,.12); background:rgba(4,7,5,.62); color:var(--text); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.admin-rcon-output-head { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--quiet); font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.admin-rcon-output { min-height:180px; height:220px; max-height:520px; resize:vertical; margin:0; padding:14px; overflow:auto; border:1px solid rgba(244,241,232,.075); background:#050706; color:#fff; font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; transition:height 420ms var(--ease),border-color 260ms var(--ease),box-shadow 260ms var(--ease); }
.admin-rcon-console.is-expanded .admin-rcon-output { height:400px; }
.admin-rcon-output.is-updated { animation:rconOutputPulse .55s var(--ease); }
@keyframes rconOutputPulse { 0% { border-color:color-mix(in srgb,var(--accent) 58%,transparent); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 18%,transparent),0 0 26px color-mix(in srgb,var(--accent) 9%,transparent); } 100% { border-color:rgba(244,241,232,.075); box-shadow:none; } }
.admin-provider-status { display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 18px; padding:13px 0; border-top:1px solid rgba(244,241,232,.07); border-bottom:1px solid rgba(244,241,232,.07); }
.donation-settings-block { margin:0 0 22px; padding:18px; }
.admin-toolbar-compact { align-items:center!important; margin:0 0 14px!important; }
.admin-toolbar-compact h3 { margin:5px 0 0; font-size:20px; line-height:1.1; }
.admin-toolbar-compact>div>p { margin-top:6px; }
.admin-console-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 0; border-top: 1px solid rgba(244,241,232,.07); border-bottom: 1px solid rgba(244,241,232,.07); }
.admin-console-note span { color: var(--accent); font-size: 9px; }
.admin-console-note small { color: var(--quiet); font-size: 8px; }
.admin-page .admin-console-log { min-height: 0; display: grid; align-content: start; margin-top: 10px; overflow: auto; max-height: 220px; scrollbar-width: thin; scrollbar-color: rgba(244,241,232,.15) transparent; }
.admin-page .admin-console-log .admin-row { grid-template-columns: minmax(130px, .6fr) minmax(0, 1fr); min-height: 58px; padding: 10px 0; }
.admin-page .admin-console-log .grant-payload { max-width: 100%; }
.admin-config-surface { margin-top: 10px; padding-bottom: 0; }
.admin-page .server-config-form { max-width: none; }
.admin-config-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 10px; }
.admin-config-primary, .admin-config-values, .admin-toggle-stack { display: grid; align-content: start; gap: 12px; padding: 18px; border: 1px solid rgba(244,241,232,.075); background: rgba(244,241,232,.014); }
.admin-config-values { grid-template-columns: 1fr 1fr; }
.admin-config-values label:first-child { grid-column: 1 / -1; }
.admin-toggle-stack { gap: 0; padding-block: 6px; }
.admin-switch { position: relative; min-height: 68px; display: grid !important; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(244,241,232,.07); cursor: pointer; }
.admin-switch:last-child { border-bottom: 0; }
.admin-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.admin-switch > span { position: relative; width: 40px; height: 22px; border: 1px solid rgba(244,241,232,.18); border-radius: 999px; background: rgba(244,241,232,.025); transition: background 420ms var(--ease), border-color 420ms var(--ease); }
.admin-switch > span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 999px; background: rgba(244,241,232,.46); transition: transform 520ms var(--ease), background 420ms var(--ease); }
.admin-switch > input:checked + span { border-color: rgba(183,255,60,.36); background: rgba(183,255,60,.10); }
.admin-switch > input:checked + span::after { transform: translateX(18px); background: var(--accent); box-shadow: 0 0 14px rgba(183,255,60,.25); }
.admin-switch strong { display: block; color: var(--text); font-size: 11px; }
.admin-switch small { display: block; margin-top: 3px; color: var(--quiet); font-size: 8px; }
.admin-savebar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px -24px 0; padding: 12px 24px; border-top: 1px solid rgba(244,241,232,.08); background: rgba(7,9,8,.42); }
.admin-savebar > div { display: flex; align-items: center; gap: 16px; }
.admin-savebar small { color: var(--quiet); font-size: 8px; }
.admin-savebar .form-status { min-width: 120px; }
.admin-launcher-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); gap: 10px; align-items: start; }
.admin-page .launcher-form { max-width: none; }
.admin-launcher-side { display: grid; gap: 10px; }
.admin-preview-surface { padding-bottom: 20px; }
.admin-page .launcher-banner-preview { position: relative; min-height: 250px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(244,241,232,.08); background: linear-gradient(145deg, rgba(244,241,232,.025), rgba(183,255,60,.018)); }
.admin-page .launcher-banner-preview::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(7,9,8,.45); pointer-events: none; }
.admin-page .launcher-banner-preview img { width: 100%; height: 280px; object-fit: cover; animation: adminPreviewIn 700ms var(--ease) both; }
.admin-page .launcher-banner-preview > span { max-width: 28ch; color: var(--quiet); font-size: 9px; line-height: 1.5; text-align: center; }
.admin-maintenance-switch { margin-top: 3px; padding-inline: 12px; border: 1px solid rgba(244,241,232,.08); }
.admin-launcher-servers .admin-row { grid-template-columns: 1fr; }
.admin-launcher-servers .admin-row-actions { justify-content: flex-start; }

@keyframes adminPreviewIn { from { opacity: 0; transform: scale(1.025); filter: blur(8px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }

@media (max-width: 1180px) {
  .admin-page { --admin-sidebar: 224px; }
  .admin-radar { width: 230px; }
  .admin-server-layout, .admin-launcher-layout { grid-template-columns: 1fr; }
  .admin-config-grid { grid-template-columns: 1fr 1fr; }
  .admin-toggle-stack { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px 14px; }
  .admin-switch { border-bottom: 0; }
}

@media (max-width: 900px) {
  .admin-page .admin-shell { width: min(100% - 20px, 1540px); padding-top: 10px; }
  .admin-page .admin-grid { grid-template-columns: 1fr; gap: 10px; }
  .admin-sidebar { position: sticky; z-index: 30; top: 10px; height: auto; grid-template-rows: auto auto; }
  .admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .admin-console-label, .admin-sidebar-foot { display: none; }
  .admin-page .admin-nav { grid-template-columns: repeat(4, 1fr); padding: 8px; }
  .admin-page .admin-nav button { grid-template-columns: 1fr; justify-items: center; min-height: 48px; padding: 0 6px; text-align: center; }
  .admin-page .admin-nav button .admin-nav-index, .admin-page .admin-nav button kbd { display: none; }
  .admin-topbar { top: 92px; min-height: 62px; padding: 0 18px; }
  .admin-panel-stage { padding: 20px; }
  .admin-dashboard-hero { grid-template-columns: 1fr; min-height: 420px; }
  .admin-radar { position: absolute; right: 30px; top: 36px; width: 180px; opacity: .5; }
  .admin-page .summary-grid { grid-template-columns: 1fr 1fr; }
  .admin-dashboard-lower, .admin-config-grid { grid-template-columns: 1fr; }
  .admin-toggle-stack { grid-column: auto; grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .admin-page .admin-nav { grid-template-columns: repeat(2, 1fr); }
  .admin-topbar { top: 156px; }
  .admin-topbar-meta .admin-environment { display: none; }
  .admin-panel-stage { padding: 16px; }
  .admin-page .summary-grid { grid-template-columns: 1fr; }
  .admin-dashboard-copy h1 { font-size: clamp(50px, 18vw, 78px); }
  .admin-radar { width: 150px; right: 20px; top: 24px; }
  .admin-section-heading, .admin-page .admin-toolbar, .admin-savebar { align-items: flex-start; flex-direction: column; }
  .admin-page .admin-row { grid-template-columns: 1fr; }
  .admin-page .admin-row-actions { justify-content: flex-start; }
  .admin-page .admin-form-row, .admin-config-values, .admin-page .admin-console-controls, .admin-rcon-form { grid-template-columns: 1fr; }
  .admin-page .admin-console-controls .btn { grid-column: auto; }
  .admin-rcon-form .btn { width:100%; }
  .admin-savebar > div { width: 100%; align-items: stretch; flex-direction: column; }
  .admin-savebar .btn { width: 100%; }
}

/* Admin hierarchy and character editor */
.admin-nav-group { display: grid; gap: 4px; }
.admin-nav-group + .admin-nav-group { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(244,241,232,.07); }
.admin-nav-group-title { display: block; padding: 0 12px 6px; color: rgba(244,241,232,.30); font-size: 8px; line-height: 1; letter-spacing: .18em; }
.admin-nav-group:first-child .admin-nav-group-title { color: rgba(183,255,60,.52); }
.admin-nav-group:nth-child(2) button, .admin-nav-group:nth-child(3) button { opacity: .82; }
.admin-nav-group:nth-child(2) button.active, .admin-nav-group:nth-child(3) button.active, .admin-nav-group:nth-child(2) button:hover, .admin-nav-group:nth-child(3) button:hover { opacity: 1; }

.admin-player-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 30px; border-top: 1px solid rgba(244,241,232,.10); border-bottom: 1px solid rgba(244,241,232,.10); }
.admin-player-tabs button { position: relative; min-height: 78px; display: grid; align-content: center; gap: 5px; padding: 0 18px; border: 0; border-right: 1px solid rgba(244,241,232,.08); background: transparent; color: var(--quiet); text-align: left; cursor: pointer; transition: color 420ms var(--ease), padding 560ms var(--ease), background 500ms var(--ease); }
.admin-player-tabs button:last-child { border-right: 0; }
.admin-player-tabs button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease); }
.admin-player-tabs button:hover { padding-left: 23px; color: var(--text); background: rgba(244,241,232,.018); }
.admin-player-tabs button.active { color: var(--text); background: rgba(183,255,60,.025); }
.admin-player-tabs button.active::after { transform: scaleX(1); }
.admin-player-tabs button > span { font-size: 13px; }
.admin-player-tabs button > small { color: inherit; opacity: .62; font-size: 8px; }
.admin-player-panel { display: none; }
.admin-player-panel.active { display: block; animation: adminPlayerPanelIn 680ms var(--ease) both; }
.admin-player-table, .admin-character-list { padding: 8px 20px; border: 1px solid rgba(244,241,232,.08); background: rgba(10,13,11,.72); }
.character-sync-note { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; align-items: start; margin: -2px 0 18px; padding: 14px 0; border-top: 1px solid rgba(244,241,232,.07); border-bottom: 1px solid rgba(244,241,232,.07); }
.character-sync-note > span { color: var(--accent); font-size: 9px; }
.character-sync-note > p { max-width: 70ch; margin: 0; color: var(--quiet); font-size: 10px; line-height: 1.55; }
.admin-character-row { min-height: 86px !important; }
.character-avatar { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(244,241,232,.11); background: rgba(244,241,232,.025); color: var(--accent); font-size: 16px; font-weight: 300; }
.character-avatar img { width: 100%; height: 100%; object-fit: cover; }
.character-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.character-title-line > strong { margin-right: 3px; font-size: 15px !important; }
.character-primary-chip { color: var(--accent) !important; border-color: rgba(183,255,60,.22) !important; }
.character-state-active { color: var(--accent) !important; }
.character-state-frozen { color: var(--warning) !important; }
.character-state-archived { opacity: .48; }
.character-sync-line { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.character-sync-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 999px; background: var(--quiet); }
.character-sync-dot.synced { background: var(--accent); box-shadow: 0 0 12px rgba(183,255,60,.26); }
.character-sync-dot.pending { background: var(--warning); }
.character-sync-dot.failed { background: var(--danger); }

.character-editor-modal { width: min(900px, 100%); padding: 0; overflow-x: hidden; }
.character-editor-head { display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: end; gap: 30px; padding: 34px 34px 28px; border-bottom: 1px solid rgba(244,241,232,.09); background: linear-gradient(145deg, rgba(244,241,232,.028), rgba(183,255,60,.015)); }
.character-editor-head h2 { max-width: 16ch; margin: 8px 0 10px; font-size: clamp(34px, 5vw, 58px); line-height: .92; letter-spacing: -.04em; }
.character-editor-head p { max-width: 56ch; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.character-editor-preview { width: 168px; height: 168px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(244,241,232,.10); background: radial-gradient(circle at 50% 35%, rgba(183,255,60,.10), transparent 52%), var(--surface-2); color: var(--accent); font-size: 54px; font-weight: 300; }
.character-editor-preview img { width: 100%; height: 100%; object-fit: cover; }
.character-form { padding: 28px 34px 0; }
.character-primary-switch { margin-top: 2px; padding: 8px 12px; border: 1px solid rgba(244,241,232,.08); }
.character-editor-foot { min-height: 86px; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(120px, .7fr) auto; align-items: center; gap: 18px; margin: 8px -34px 0; padding: 14px 34px; border-top: 1px solid rgba(244,241,232,.09); background: rgba(7,9,8,.58); }
.character-editor-foot > div { display: grid; gap: 5px; }
.character-editor-foot > div > small { color: var(--quiet); font-size: 8px; }
.character-sync-pill { width: max-content; min-height: 25px; display: inline-flex; align-items: center; padding: 0 9px; border: 1px solid rgba(255,211,106,.20); border-radius: 999px; color: var(--warning); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.character-editor-foot .form-status { margin: 0; }

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

.admin-confirm-actions { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.admin-confirm[data-tone="danger"] h2 { color: var(--danger); }
.admin-confirm[data-tone="danger"] .admin-confirm-action { background: var(--danger); }

@media (max-width: 900px) {
  .admin-page .admin-nav { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; }
  .admin-nav-group { display: contents; }
  .admin-nav-group-title { display: none; }
  .admin-page .admin-nav button { min-width: 110px; flex: 0 0 auto; }
  .admin-player-tabs { grid-template-columns: 1fr; }
  .admin-player-tabs button { min-height: 62px; border-right: 0; border-bottom: 1px solid rgba(244,241,232,.07); }
  .admin-player-tabs button:last-child { border-bottom: 0; }
  .character-editor-head { grid-template-columns: 1fr 120px; }
  .character-editor-preview { width: 120px; height: 120px; }
  .character-editor-foot { grid-template-columns: 1fr auto; }
  .character-editor-foot .form-status { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .admin-page .admin-nav { grid-template-columns: none; }
  .admin-topbar { top: 92px; }
  .character-sync-note { grid-template-columns: 1fr; gap: 5px; }
  .character-editor-head { grid-template-columns: 1fr; padding: 28px 18px 22px; }
  .character-editor-preview { width: 100%; height: 170px; }
  .character-form { padding: 22px 18px 0; }
  .character-editor-foot { grid-template-columns: 1fr; align-items: stretch; margin-inline: -18px; padding-inline: 18px; }
  .character-editor-foot .form-status { grid-column: auto; grid-row: auto; }
  .character-editor-foot .btn { width: 100%; }
}

/* Server growth roadmap */
.server-future-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.server-future-note span, .server-future-note a { color: var(--quiet); font-size: 10px; }
.server-future-note strong { font-size: 14px; font-weight: 300; }
.server-player-note > span:first-child { color:rgba(183,255,60,.68); letter-spacing:.12em; }
.server-player-note > span:last-child { justify-self:end; color:var(--muted); }
.server-future-note a { justify-self: end; transition: color 420ms var(--ease), transform 520ms var(--ease); }
.server-future-note a:hover { color: var(--accent); transform: translateX(4px); }
.server-roadmap { margin-top: clamp(88px, 10vw, 150px); }
.server-roadmap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 38%); align-items: end; gap: 34px; margin-bottom: 40px; }
.server-roadmap-head h2 { margin-top: 8px; font-size: clamp(2.8rem, 6vw, 6.6rem); line-height: .88; letter-spacing: -.042em; }
.server-roadmap-head > p { max-width: 50ch; margin: 0 0 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.server-roadmap-track { display: grid; }
.roadmap-world { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 132px; padding: 22px 0; border-top: 1px solid var(--line); transition: padding 620ms var(--ease), opacity 500ms var(--ease), border-color 500ms var(--ease); }
.roadmap-world:last-child { border-bottom: 1px solid var(--line); }
.roadmap-world:hover { padding-left: 12px; border-color: var(--line-strong); }
.roadmap-index { color: rgba(244,241,232,.24); font-size: 12px; font-variant-numeric: tabular-nums; }
.roadmap-world small { color: var(--quiet); font-size: 9px; letter-spacing: .16em; }
.roadmap-world h3 { margin: 7px 0 7px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1; letter-spacing: -.03em; }
.roadmap-world p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.roadmap-world > strong { min-width: 100px; text-align: right; color: var(--quiet); font-size: 10px; font-weight: 400; }
.roadmap-world.is-launch .roadmap-index, .roadmap-world.is-launch small, .roadmap-world.is-launch > strong { color: var(--accent); }
.roadmap-world.is-build { opacity: .84; }
.roadmap-world.is-build small, .roadmap-world.is-build > strong { color: var(--warning); }
.server-benefits .roadmap-world { opacity:1; }
.server-benefits .roadmap-world small, .server-benefits .roadmap-world > strong { color:var(--accent); }
.roadmap-world.is-later { opacity: .64; }
.roadmap-world.is-idea { opacity: .42; }
.server-roadmap-disclaimer { margin: 18px 0 0; color: var(--quiet); font-size: 10px; }

@media (max-width: 700px) {
  .server-future-note { grid-template-columns: 1fr; gap: 5px; }
  .server-player-note > span:last-child { justify-self:start; }
  .server-future-note a { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
  .server-roadmap { margin-top: 82px; }
  .server-roadmap-head { grid-template-columns: 1fr; gap: 18px; }
  .server-roadmap-head h2 { font-size: clamp(2.8rem, 13vw, 4.8rem); }
  .roadmap-world { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; min-height: 150px; }
  .roadmap-world > strong { grid-column: 2; text-align: left; min-width: 0; }
  .roadmap-world p { max-width: 38ch; }
}

/* Accent presets, team and rankings */
.theme-switch {
  --preset-color: var(--accent);
  display: inline-grid;
  grid-template-columns: repeat(3, 30px);
  gap: 2px;
  align-items: center;
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,9,8,.42);
  backdrop-filter: blur(12px);
}
.theme-switch button { width: 30px; height: 32px; display:grid; place-items:center; padding:0; border:0; border-radius:999px; background:transparent; cursor:pointer; transition:background 300ms var(--ease),transform 300ms var(--ease); }
.theme-switch button i { width:10px; height:10px; border-radius:50%; background:var(--preset-color); box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 12px color-mix(in srgb,var(--preset-color) 36%,transparent); transition:transform 300ms var(--ease),box-shadow 300ms var(--ease); }
.theme-switch button[data-theme-preset="lime"] { --preset-color:#b7ff3c; }
.theme-switch button[data-theme-preset="ice"] { --preset-color:#59c9ff; }
.theme-switch button[data-theme-preset="rose"] { --preset-color:#ff62c7; }
.theme-switch button:hover { transform:translateY(-1px); background:rgba(255,255,255,.035); }
.theme-switch button.active { background:color-mix(in srgb,var(--preset-color) 10%,transparent); }
.theme-switch button.active i { transform:scale(1.28); box-shadow:0 0 0 4px color-mix(in srgb,var(--preset-color) 12%,transparent),0 0 18px color-mix(in srgb,var(--preset-color) 40%,transparent); }

.team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin-top:clamp(42px,7vw,90px); background:var(--line); border:1px solid var(--line); }
.team-card { min-height:300px; display:grid; grid-template-columns:minmax(160px,34%) 1fr; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 3%,var(--surface)),var(--surface)); overflow:hidden; transition:background 450ms var(--ease),transform 450ms var(--ease); }
.team-card:hover { background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 7%,var(--surface)),var(--surface)); }
.team-card-photo { min-height:300px; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 56%),var(--surface-2); color:var(--accent); font-size:54px; font-weight:300; }
.team-card-photo img { width:100%; height:100%; object-fit:cover; filter:saturate(.86) contrast(1.04); transition:transform 900ms var(--ease),filter 500ms var(--ease); }
.team-card:hover .team-card-photo img { transform:scale(1.045); filter:saturate(1) contrast(1.04); }
.team-card-copy { display:flex; flex-direction:column; justify-content:flex-end; padding:30px; }
.team-card-copy h2 { margin:8px 0 12px; font-size:clamp(28px,3vw,44px); letter-spacing:-.035em; }
.team-card-copy p { margin:0; color:var(--muted); font-size:12px; line-height:1.65; }
.team-empty,.tops-empty { grid-column:1/-1; width:100%; }

.tops-controls { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:38px; padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.tops-range { display:flex; gap:4px; flex-wrap:wrap; }
.tops-range button { min-height:38px; padding:0 14px; border:1px solid transparent; background:transparent; color:var(--quiet); font:inherit; font-size:10px; letter-spacing:.08em; cursor:pointer; }
.tops-range button:hover,.tops-range button.active { border-color:color-mix(in srgb,var(--accent) 32%,var(--line)); color:var(--text); background:color-mix(in srgb,var(--accent) 5%,transparent); }
.tops-controls label { display:flex; align-items:center; gap:10px; color:var(--quiet); font-size:10px; }
.tops-controls select { min-width:190px; height:38px; padding:0 34px 0 12px; border:1px solid var(--line); background:var(--surface-2); color:var(--text); }
.tops-board { display:grid; gap:44px; margin-top:clamp(30px,5vw,64px); }
.tops-category { border-top:1px solid var(--line); }
.tops-category > header { display:grid; grid-template-columns:160px minmax(0,1fr) auto; gap:24px; align-items:end; padding:22px 0; }
.tops-category > header p { margin:0; color:var(--quiet); font-size:10px; text-align:right; }
.tops-category h2 { font-size:clamp(32px,4vw,56px); letter-spacing:-.04em; }
.tops-list { border-bottom:1px solid var(--line); }
.tops-live-empty { margin:0; padding:24px 0; border-top:1px solid rgba(244,241,232,.07); }
.top-row { display:grid; grid-template-columns:70px minmax(0,1fr) minmax(120px,auto); gap:20px; align-items:center; min-height:94px; padding:16px 0; border-top:1px solid rgba(244,241,232,.07); }
.top-position { color:var(--accent); font-size:14px; font-variant-numeric:tabular-nums; }
.top-row h3 { margin:0 0 4px; font-size:22px; }
.top-row small { color:var(--quiet); font-size:10px; }
.top-row > b { justify-self:end; color:var(--text); font-size:15px; }
.top-row > p { grid-column:2/-1; margin:-8px 0 4px; color:var(--quiet); font-size:11px; }

.admin-page { color-scheme:dark; }
.admin-page select,.admin-page option { background:#0d110e !important; color:#f4f1e8 !important; }
.admin-page select:focus { border-color:color-mix(in srgb,var(--accent) 42%,transparent); }
.admin-theme-switch { transform:scale(.88); transform-origin:right center; }
.permission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px; border:1px solid rgba(244,241,232,.09); background:rgba(255,255,255,.012); }
.permission-grid label { min-height:38px; display:flex; flex-direction:row !important; align-items:center; gap:8px; color:var(--muted) !important; font-size:10px !important; }
.permission-grid input { width:15px !important; min-height:15px !important; padding:0 !important; accent-color:var(--accent); }
.admin-access-fields { display:grid; gap:14px; }
.theme-admin-form { max-width:880px; padding:28px; }
.admin-dual-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:18px 0; }
.admin-ratings-settings > .admin-surface { padding:22px; }
.admin-ratings-settings .admin-toolbar { margin-bottom:16px; }
.admin-ratings-settings .admin-savebar { align-items:center; gap:12px; }
.admin-referral-list-block { margin:18px 0 28px; padding:22px; }
.admin-referral-list-block .admin-toolbar { margin-bottom:14px; }
.admin-manual-tops-head { margin-top:24px; }
.admin-note { color:var(--quiet); font-size:9px; line-height:1.5; }
.theme-admin-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.theme-color-field { min-height:110px; justify-content:space-between; padding:16px; border:1px solid var(--line); background:var(--surface-2); }
.theme-color-field > span { display:flex; align-items:center; gap:9px; color:var(--text); }
.theme-color-field > span i { width:10px; height:10px; border-radius:50%; background:var(--accent); }
.theme-color-field input[type="color"] { width:100%; height:44px; padding:3px; border:1px solid var(--line); background:transparent; }
.team-upload-field small { color:var(--quiet); font-size:9px; line-height:1.5; }
.team-editor-preview { display:grid; grid-template-columns:112px 1fr; gap:20px; align-items:end; min-height:150px; padding:18px; border:1px solid var(--line); background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 4%,var(--surface-2)),var(--surface-2)); }
.team-editor-photo { width:112px; height:112px; display:grid; place-items:center; overflow:hidden; background:var(--surface-3); color:var(--quiet); font-size:9px; letter-spacing:.14em; }
.team-editor-photo img { width:100%; height:100%; object-fit:cover; }
.admin-list-photo { width:42px; height:42px; flex:0 0 42px; object-fit:cover; border:1px solid var(--line); background:var(--surface-2); }
.team-editor-preview strong { display:block; margin:7px 0; font-size:24px; }
.team-editor-preview p { margin:0; color:var(--muted); }

/* Make the selected accent affect the most visible legacy green glows too. */
.admin-workspace::before { background:radial-gradient(circle,color-mix(in srgb,var(--accent) 7%,transparent),color-mix(in srgb,var(--accent) 2%,transparent) 35%,transparent 70%); }
.admin-dashboard-hero::before { background:radial-gradient(circle at 78% 48%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 33%); }
.admin-page .admin-nav button::after { background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 9%,transparent),transparent 70%); }
.admin-page .admin-row:hover { background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 3%,transparent),transparent 70%); }
.admin-page .mini-btn:hover { border-color:color-mix(in srgb,var(--accent) 35%,transparent); background:color-mix(in srgb,var(--accent) 5%,transparent); }
.admin-rcon-console { border-color:color-mix(in srgb,var(--accent) 14%,transparent); background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 3%,transparent),rgba(244,241,232,.012)); }
.admin-rcon-output { color:#fff; }

@media (max-width:900px) {
  .team-grid { grid-template-columns:1fr; }
  .theme-admin-grid,.admin-dual-grid { grid-template-columns:1fr; }
  .referral-rules { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px) {
  .theme-switch { grid-template-columns:repeat(3,28px); min-height:40px; }
  .theme-switch button { width:28px; height:30px; }
  .team-card { grid-template-columns:1fr; }
  .team-card-photo { min-height:260px; max-height:320px; }
  .tops-controls { align-items:stretch; flex-direction:column; }
  .tops-controls label { justify-content:space-between; }
  .tops-controls select { width:100%; min-width:0; }
  .tops-category > header { grid-template-columns:1fr; gap:8px; }
  .tops-category > header p { text-align:left; }
  .top-row { grid-template-columns:44px minmax(0,1fr); }
  .top-row > b { grid-column:2; justify-self:start; }
  .referral-code-card { align-items:flex-start; flex-direction:column; }
  .referral-rules { grid-template-columns:1fr 1fr; }
  .permission-grid { grid-template-columns:1fr; }
}

/* Mobile layout hardening: keep every public block inside the viewport. */
@media (max-width:700px) {
  html, body { max-width:100%; overflow-x:hidden; }
  .shell { width:auto; margin-inline:var(--side); }

  .site-header {
    grid-template-columns:auto auto minmax(0,1fr);
    gap:8px;
    min-height:64px;
    padding:8px 14px;
  }
  .brand { min-width:40px; }
  .brand-logo { width:40px; height:40px; }
  .nav-toggle { width:42px; height:42px; }
  .header-actions { min-width:0; gap:5px; justify-content:flex-end; }
  .header-actions .btn { min-width:64px; min-height:40px; padding-inline:12px; font-size:11px; }
  .lang-switch { width:82px; height:42px; }
  .lang-switch-glider { width:34px; height:34px; }
  .lang-switch.is-en .lang-switch-glider { transform:translateX(40px); }
  .theme-switch { grid-template-columns:repeat(3,25px); min-height:40px; padding:3px; }
  .theme-switch button { width:25px; height:32px; }

  .hero { min-height:640px; height:100svh; }
  .hero-content {
    left:18px;
    right:18px;
    bottom:28px;
    width:auto;
    max-width:none;
  }
  .hero h1 {
    max-width:100%;
    font-size:clamp(2.8rem,13vw,4.25rem);
    line-height:.9;
    overflow-wrap:break-word;
  }
  .hero-lead { max-width:34ch; font-size:13px; }
  .hero-live { display:none; }
  .hero-actions { width:100%; max-width:360px; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }

  .start-banner {
    min-height:620px;
    height:auto;
  }
  .start-banner-media img { object-position:56% center; }
  .start-banner-copy,
  .start-banner-copy.reveal,
  .start-banner-copy.reveal.reveal-visible {
    left:18px;
    right:18px;
    bottom:32px;
    width:auto;
    max-width:none;
    margin:0;
    display:block;
    transform:none !important;
  }
  .start-banner-copy > .eyebrow,
  .start-banner-copy > h2,
  .start-banner-copy > p,
  .start-banner-copy > .cta-inline {
    width:100%;
    max-width:100%;
  }
  .start-banner-copy h2 {
    max-width:9.5ch;
    margin:8px 0 16px;
    font-size:clamp(2.35rem,11.5vw,3.35rem);
    line-height:.92;
    overflow-wrap:break-word;
  }
  .start-banner-copy p { max-width:32ch; font-size:14px; line-height:1.55; }
  .start-banner-copy .cta-inline {
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:22px;
  }
  .start-banner-copy .cta-inline .btn { width:100%; max-width:340px; }
  .start-banner-copy .cta-inline small { max-width:30ch; }

  .page-hero { width:auto; margin-inline:18px; }
  .page-hero h1 { max-width:100%; overflow-wrap:break-word; }
  .section-head, .editorial-section .shell, .server-section .shell { min-width:0; }

  .footer-main { grid-template-columns:1fr; }
  .footer-identity { grid-column:auto; }
  .footer-links { gap:8px 16px; }
}

@media (max-width:430px) {
  :root { --side:16px; }
  .site-header { padding-inline:10px; gap:6px; }
  .brand-logo { width:36px; height:36px; }
  .nav-toggle { width:40px; height:40px; }
  .header-actions .btn { min-width:58px; padding-inline:10px; }
  .lang-switch { width:76px; height:40px; }
  .lang-switch-glider { width:32px; height:32px; }
  .lang-switch.is-en .lang-switch-glider { transform:translateX(36px); }
  .theme-switch { grid-template-columns:repeat(3,23px); min-height:38px; }
  .theme-switch button { width:23px; height:30px; }

  .hero-content,
  .start-banner-copy,
  .start-banner-copy.reveal,
  .start-banner-copy.reveal.reveal-visible { left:16px; right:16px; }
  .start-banner-copy h2 { font-size:clamp(2.15rem,11vw,2.9rem); }
  .start-banner-copy p { font-size:13px; }
  .page-hero { margin-inline:16px; }
}

/* Catalog balance: odd item counts should look intentional, not unfinished. */
@media (min-width:1001px) {
  .server-catalog > .server-big:last-child:nth-child(odd) { grid-column:1 / -1; min-height:520px; }
  .server-catalog > .server-big:last-child:nth-child(odd) .server-big-content { min-height:520px; max-width:min(720px,62%); }
  .server-catalog > .server-big:last-child:nth-child(odd) .server-card-art { object-position:center 52%; }
}
.shop-grid { grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr)); }

.admin-client-build,
.admin-rcon-editor {
  margin-top:28px;
  padding:22px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(183,255,60,.045),rgba(255,255,255,.012));
}
.admin-rcon-editor { margin-top:8px; }
.admin-rcon-editor > label + label,
.admin-rcon-editor > .admin-form-row + label { margin-top:14px; }
.admin-rcon-editor #serverRconPasswordHint { color:var(--muted); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.admin-client-build-head { display:grid; grid-template-columns:minmax(0,.72fr) minmax(240px,1fr); gap:24px; align-items:end; margin-bottom:18px; }
.admin-client-build-head h3 { margin:5px 0 0; font-size:24px; font-weight:400; }
.admin-client-build-head p { margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.admin-upload-progress { width:100%; height:8px; margin:12px 0 4px; accent-color:var(--accent); }
.admin-client-build .form-status { min-height:20px; }

@media (max-width:700px) {
  .admin-client-build,
  .admin-rcon-editor { padding:16px; }
  .admin-client-build-head { grid-template-columns:1fr; gap:9px; }
  .server-catalog > .server-big:last-child:nth-child(odd) { grid-column:auto; }
}

/* Server pages / purchase history / online history */
.product-server-badge[href] { text-decoration:none; transition:border-color .25s ease,background .25s ease,transform .25s ease; }
.product-server-badge[href]:hover { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,transparent); transform:translateY(-1px); }

.profile-purchases-panel { margin-top:1px; border-top:1px solid var(--line); }
.purchase-history { display:grid; margin-top:22px; border-top:1px solid var(--line); }
.purchase-row { display:grid; grid-template-columns:minmax(0,1fr) auto 110px; align-items:center; gap:18px; min-height:72px; padding:12px 0; border-bottom:1px solid var(--line); }
.purchase-main strong { display:block; font-size:13px; font-weight:500; }
.purchase-main small,.purchase-row time { color:var(--quiet); font-size:9px; }
.purchase-row time { text-align:right; }
.purchase-row > p { grid-column:1 / -1; margin:0 0 6px; color:var(--danger); font-size:10px; line-height:1.45; }
.purchase-status { display:inline-flex; align-items:center; min-height:28px; padding:0 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:9px; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.purchase-status.is-delivered { border-color:color-mix(in srgb,var(--accent) 45%,var(--line)); color:var(--accent); }
.purchase-status.is-delivering,.purchase-status.is-paid { border-color:color-mix(in srgb,#59c9ff 45%,var(--line)); color:#8bdcff; }
.purchase-status.is-awaiting_payment { border-color:color-mix(in srgb,#ffd36a 36%,var(--line)); color:#ffd36a; }
.purchase-status.is-error { border-color:color-mix(in srgb,var(--danger) 45%,var(--line)); color:var(--danger); }

.server-detail-page { min-height:100vh; background:var(--bg); }
.server-detail-loading,.server-detail-error { min-height:70vh; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.server-detail-loading h1,.server-detail-error h1 { margin:8px 0 14px; font-size:clamp(48px,8vw,110px); line-height:.9; font-weight:300; letter-spacing:-.05em; }
.server-detail-loading p,.server-detail-error p { max-width:56ch; color:var(--muted); line-height:1.65; }
.server-detail-hero { position:relative; display:grid; grid-template-columns:minmax(0,.88fr) minmax(520px,1.12fr); min-height:min(820px,88vh); border-bottom:1px solid var(--line); overflow:hidden; }
.server-detail-copy { position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center; padding:120px clamp(36px,5vw,84px) 78px var(--side); background:linear-gradient(100deg,var(--bg) 0%,color-mix(in srgb,var(--bg) 94%,transparent) 72%,transparent 100%); }
.server-detail-breadcrumb { display:flex; align-items:center; gap:9px; margin-bottom:54px; color:var(--quiet); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.server-detail-breadcrumb a { color:var(--muted); }
.server-detail-breadcrumb strong { color:var(--text); font-weight:500; }
.server-detail-copy h1 { max-width:9ch; margin:10px 0 18px; font-size:clamp(62px,8.2vw,142px); line-height:.82; font-weight:300; letter-spacing:-.065em; overflow-wrap:anywhere; }
.server-detail-lead { max-width:48ch; margin:0; color:color-mix(in srgb,var(--text) 70%,var(--muted)); font-size:clamp(15px,1.05vw,17px); line-height:1.62; text-wrap:pretty; }
.server-detail-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:32px; }
.server-detail-reassurance { margin-top:14px; color:var(--quiet); font-size:10px; }
.server-detail-media { position:relative; min-height:620px; background:#050706; overflow:hidden; }
.server-detail-media::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--bg) 0%,transparent 28%),linear-gradient(0deg,rgba(4,7,5,.62),transparent 48%); pointer-events:none; }
.server-detail-media > img { width:100%; height:100%; object-fit:cover; filter:saturate(.88) contrast(1.04); transform:scale(1.02); }
.server-detail-live { position:absolute; z-index:2; right:var(--side); bottom:52px; display:grid; justify-items:end; min-width:190px; padding:20px 0 0 26px; border-top:1px solid rgba(244,241,232,.24); }
.server-detail-live strong { margin-top:12px; font-size:44px; font-weight:300; letter-spacing:-.04em; }
.server-detail-live small { color:rgba(244,241,232,.58); font-size:10px; }
.server-detail-facts { display:grid; grid-template-columns:repeat(4,1fr); padding-block:0; border-left:1px solid var(--line); border-right:1px solid var(--line); }
.server-detail-facts article { min-height:132px; padding:28px; border-right:1px solid var(--line); background:rgba(11,16,13,.72); }
.server-detail-facts article:last-child { border-right:0; }
.server-detail-facts span { display:block; color:var(--quiet); font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.server-detail-facts strong { display:block; margin-top:14px; font-size:26px; font-weight:300; }
.server-detail-section { padding-block:clamp(72px,9vw,130px); border-bottom:1px solid var(--line); }
.server-detail-two-col { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:clamp(42px,8vw,130px); align-items:start; }
.server-detail-section h2 { max-width:10ch; margin:8px 0 0; font-size:clamp(40px,5.5vw,78px); line-height:.95; font-weight:300; letter-spacing:-.045em; }
.server-detail-overview { padding-top:clamp(64px,7vw,104px); padding-bottom:clamp(72px,8vw,118px); }
.server-detail-description { max-width:74ch; color:var(--muted); font-size:15px; line-height:1.78; }
.server-detail-description p { margin:0; }
.server-detail-description p + p { margin-top:18px; }
.server-detail-description ul { display:grid; margin:24px 0 0; padding:0; border-top:1px solid var(--line); list-style:none; }
.server-detail-description li { position:relative; margin:0; padding:15px 0 15px 28px; border-bottom:1px solid var(--line); color:color-mix(in srgb,var(--text) 72%,var(--muted)); }
.server-detail-description li::before { content:""; position:absolute; left:1px; top:24px; width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 16px color-mix(in srgb,var(--accent) 42%,transparent); }
.server-detail-list { display:grid; border-top:1px solid var(--line); }
.server-detail-list-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.server-detail-list-row > span { color:var(--accent); font-size:9px; letter-spacing:.1em; }
.server-detail-list-row strong { display:block; font-size:15px; font-weight:500; }
.server-detail-list-row p { max-width:68ch; margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.server-detail-list-row small { display:block; margin-top:8px; color:var(--quiet); font-size:9px; }
.server-detail-list-row > i { align-self:start; padding:5px 7px; border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line)); color:var(--accent); font-size:8px; font-style:normal; letter-spacing:.1em; }
.server-screens-section { padding-inline:0; overflow:hidden; }
.server-detail-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; }
.server-detail-section-head h2 { max-width:none; }
.server-detail-section-head > a { min-height:44px; display:inline-flex; align-items:center; color:var(--muted); font-size:11px; }
.server-screenshot-track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:34px; }
.server-screenshot-track figure { position:relative; min-height:330px; margin:0; overflow:hidden; border:1px solid var(--line); background:var(--surface); }
.server-screenshot-track img { width:100%; height:100%; min-height:330px; object-fit:cover; transition:transform .6s var(--ease); }
.server-screenshot-track figure:hover img { transform:scale(1.025); }
.server-screenshot-track figcaption { position:absolute; left:16px; right:16px; bottom:14px; padding:10px 12px; background:rgba(6,9,7,.78); backdrop-filter:blur(8px); color:rgba(244,241,232,.78); font-size:9px; }
.server-event-list,.server-change-list { display:grid; border-top:1px solid var(--line); }
.server-event-row { display:grid; grid-template-columns:130px minmax(0,1fr); gap:24px; padding:24px 0; border-bottom:1px solid var(--line); }
.server-event-row time,.server-change-row time { color:var(--accent); font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.server-event-row strong,.server-change-row strong { font-size:14px; font-weight:500; }
.server-event-row p,.server-change-row p { margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.server-detail-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin-top:34px; background:var(--line); }
.server-detail-news { min-height:360px; background:var(--surface); cursor:pointer; overflow:hidden; }
.server-detail-news img { width:100%; height:200px; object-fit:cover; filter:saturate(.8); transition:transform .6s var(--ease),filter .35s ease; }
.server-detail-news:hover img { transform:scale(1.025); filter:saturate(1); }
.server-detail-news > div { padding:22px; }
.server-detail-news small { color:var(--quiet); font-size:9px; }
.server-detail-news h3 { margin:10px 0 8px; font-size:22px; font-weight:400; }
.server-detail-news p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.server-shop-grid { margin-top:34px; }
.server-change-row { display:grid; grid-template-columns:90px minmax(0,1fr) 120px; gap:24px; padding:22px 0; border-bottom:1px solid var(--line); }
.server-change-row > span { color:var(--accent); font-size:10px; letter-spacing:.08em; }
.server-change-row time { text-align:right; }
.server-detail-empty { min-height:120px; display:flex; align-items:center; padding:24px 0; color:var(--quiet); font-size:12px; line-height:1.6; }

.admin-online-history-surface { margin-top:18px; }
.admin-history-head { align-items:flex-end; }
.admin-history-head p { margin:7px 0 0; color:var(--muted); font-size:11px; }
.admin-history-controls { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.admin-history-controls select { min-width:190px; }
.admin-history-range { display:flex; gap:6px; }
.admin-history-range .mini-btn.active { border-color:var(--accent); color:var(--accent); background:color-mix(in srgb,var(--accent) 7%,transparent); }
.admin-history-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:20px 0 14px; background:var(--line); }
.admin-history-stats article { padding:18px; background:rgba(9,14,10,.94); }
.admin-history-stats span { display:block; color:var(--quiet); font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.admin-history-stats strong { display:block; margin-top:7px; font-size:28px; font-weight:300; }
.admin-history-chart { min-height:300px; border:1px solid var(--line); background:linear-gradient(180deg,rgba(183,255,60,.025),rgba(255,255,255,.006)); }
.admin-history-chart svg { display:block; width:100%; min-height:300px; }
.admin-history-chart .history-grid line { stroke:rgba(244,241,232,.08); stroke-width:1; }
.admin-history-chart .history-grid text,.admin-history-chart .history-time { fill:rgba(244,241,232,.42); font-size:10px; }
.admin-history-chart .history-line { fill:none; stroke:var(--accent); stroke-width:3; vector-effect:non-scaling-stroke; }
.admin-history-chart .history-point { fill:var(--accent); filter:drop-shadow(0 0 8px color-mix(in srgb,var(--accent) 70%,transparent)); }

@media (max-width:1000px) {
  .server-detail-hero { grid-template-columns:1fr; }
  .server-detail-copy { padding:110px var(--side) 48px; }
  .server-detail-breadcrumb { margin-bottom:30px; }
  .server-detail-media { min-height:52vh; }
  .server-detail-media::after { background:linear-gradient(0deg,var(--bg) 0%,transparent 35%); }
  .server-detail-facts { grid-template-columns:repeat(2,1fr); }
  .server-detail-facts article:nth-child(2) { border-right:0; }
  .server-detail-facts article:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .server-detail-two-col { grid-template-columns:1fr; }
  .server-detail-section h2 { max-width:14ch; }
  .server-screenshot-track,.server-detail-news-grid { grid-template-columns:1fr 1fr; }
  .server-screenshot-track figure:last-child:nth-child(odd),.server-detail-news:last-child:nth-child(odd) { grid-column:1 / -1; }
}

@media (max-width:700px) {
  .purchase-row { grid-template-columns:1fr auto; gap:9px 12px; }
  .purchase-row time { grid-column:1 / -1; text-align:left; }
  .server-detail-copy h1 { font-size:clamp(54px,18vw,86px); }
  .server-detail-media { min-height:420px; }
  .server-detail-live { right:18px; bottom:26px; }
  .server-detail-facts { width:auto; margin-inline:16px; }
  .server-detail-facts article { min-height:105px; padding:20px; }
  .server-detail-facts strong { font-size:20px; }
  .server-screenshot-track,.server-detail-news-grid { grid-template-columns:1fr; }
  .server-screenshot-track figure:last-child:nth-child(odd),.server-detail-news:last-child:nth-child(odd) { grid-column:auto; }
  .server-event-row { grid-template-columns:1fr; gap:8px; }
  .server-change-row { grid-template-columns:1fr; gap:8px; }
  .server-change-row time { text-align:left; }
  .admin-history-head { align-items:flex-start; flex-direction:column; }
  .admin-history-controls { width:100%; }
  .admin-history-controls select { width:100%; }
  .admin-history-stats { grid-template-columns:1fr 1fr; }
}

/* Donation cards v2 */
.shop-grid { gap:18px; background:transparent; }
.product-card { min-height:540px; padding:0 22px 24px; border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line)); border-radius:22px; background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 95%,var(--accent) 5%),var(--surface)); box-shadow:0 18px 44px rgba(0,0,0,.18); }
.product-card::before { width:100%; height:1px; inset:0 0 auto; background:linear-gradient(90deg,transparent,var(--accent),transparent); opacity:.32; }
.product-card:hover { transform:translateY(-5px); border-color:color-mix(in srgb,var(--accent) 42%,var(--line)); box-shadow:0 28px 72px rgba(0,0,0,.26); }
.product-card-media { aspect-ratio:16/10; margin:0 -22px 24px; border:0; border-bottom:1px solid color-mix(in srgb,var(--accent) 18%,var(--line)); border-radius:21px 21px 0 0; background:#090d0b; }
.product-card-media::after { background:linear-gradient(180deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.10) 30%,rgba(4,8,6,.72) 100%); }
.product-card-media img { object-fit:cover; }
.product-card-media .product-card-head { position:absolute; z-index:2; inset:16px 16px auto; margin:0; }
.product-card-media .product-server-badge,.product-card-media .product-category-badge { min-height:30px; padding:0 11px; border-color:rgba(255,255,255,.24); background:rgba(5,10,12,.68); color:#f4f8f7; box-shadow:0 6px 20px rgba(0,0,0,.28); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); text-shadow:0 1px 3px rgba(0,0,0,.8); font-weight:700; }
.product-card-media .product-server-badge { color:#7edcff; border-color:rgba(91,201,255,.48); }
.product-card-media .product-category-badge { color:#fff; }
.product-card > .product-card-head { margin:20px 0 24px; }
.product-card h3 { margin:12px 0 12px; font-size:clamp(34px,3.4vw,48px); }
.product-card p { max-width:48ch; min-height:6.2em; color:color-mix(in srgb,var(--text) 70%,var(--muted)); line-height:1.55; }
.product-card .eyebrow { color:color-mix(in srgb,var(--accent) 72%,var(--quiet)); }
.product-price { padding-top:28px; font-size:38px; }
.product-actions { margin-top:18px; }
.product-actions .btn-primary { min-width:132px; box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 16%,transparent); }
.product-card-premium { border-color:color-mix(in srgb,var(--accent) 42%,var(--line)); background:radial-gradient(circle at 85% 0%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--surface) 90%,var(--accent) 10%),var(--surface)); }
.product-card-premium .product-category-badge { border-color:var(--accent); color:#071008; background:var(--accent); font-weight:700; }
@media (max-width:620px) { .product-card { min-height:500px; border-radius:18px; } .product-card-media { border-radius:17px 17px 0 0; } .product-card p { min-height:0; } }

/* Product crop editor */
.product-editor-modal { width:min(1120px,100%); }
.product-image-editor { margin-top:8px; padding:18px; border:1px solid var(--line); border-radius:16px; background:color-mix(in srgb,var(--surface) 96%,var(--accent) 4%); }
.product-image-editor .admin-client-build-head { margin-bottom:14px; }
.product-image-url-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; }
.product-crop-workspace { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:16px; margin-top:16px; }
.product-crop-stage-wrap { position:relative; overflow:hidden; border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line)); border-radius:14px; background:#050807; box-shadow:inset 0 0 0 1px rgba(255,255,255,.025); }
#productCropCanvas { display:block; width:100%; aspect-ratio:16/9; height:auto; cursor:grab; touch-action:none; user-select:none; }
#productCropCanvas:active { cursor:grabbing; }
.product-crop-hint { position:absolute; left:12px; bottom:12px; padding:7px 10px; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:rgba(4,8,7,.66); color:#fff; font-size:10px; letter-spacing:.06em; text-transform:uppercase; backdrop-filter:blur(10px); pointer-events:none; }
.product-crop-tools { display:flex; flex-direction:column; gap:12px; min-width:0; }
.product-crop-tools canvas { width:100%; aspect-ratio:16/9; height:auto; display:block; border:1px solid var(--line); border-radius:12px; background:#050807; }
.product-crop-tools label { display:grid; gap:7px; color:var(--muted); font-size:11px; }
.product-crop-tools input[type="range"] { width:100%; accent-color:var(--accent); }
.product-crop-tools .mini-btn { align-self:flex-start; }
.product-crop-tools small { color:var(--quiet); line-height:1.45; }
@media (max-width:760px) { .product-crop-workspace { grid-template-columns:1fr; } .product-crop-tools { display:grid; grid-template-columns:1fr 1fr; align-items:start; } .product-crop-tools .eyebrow,.product-crop-tools small { grid-column:1/-1; } .product-image-url-row { grid-template-columns:1fr; } }
