/* VSA – Versatility website. Colours come from the game's icon: night-sky blue tile, grass-green block. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1120;
  --panel: #121c30;
  --panel-2: #17243c;
  --line: rgba(160, 190, 230, 0.13);
  --text: #e9eef7;
  --soft: #c9d6ea;
  --muted: #a3b2c9;
  --dim: #7d90ab;
  --glow: #7cc4ff;
  --grass: #76c85c;
  --grass-hi: #8fdb73;
  --radius: 14px;
  --wrap: 1140px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--glow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--grass); outline-offset: 3px; border-radius: 4px; }
code {
  font: 0.88em/1.4 ui-monospace, "Cascadia Code", Consolas, monospace;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 6px;
  color: #dbe7f7;
  overflow-wrap: anywhere;
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { --wrap: 760px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--grass); color: #0b1120; padding: 8px 14px; border-radius: 8px; }

/* ---- top bar -------------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-name { font: 700 1.25rem/1 var(--display); letter-spacing: 0.05em; }
.brand-sub { font: 500 1rem/1 var(--display); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
@media (max-width: 760px) {
  .nav-extra, .topbar .brand-sub { display: none; }
}

/* ---- buttons -------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grass); color: #0c1a0a;
  font: 600 1rem/1 var(--display);
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px -8px rgba(118, 200, 92, 0.55);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--grass-hi); color: #0c1a0a; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 32px -8px rgba(118, 200, 92, 0.7);
}
.btn .icon { width: 20px; height: 20px; stroke-width: 2; }
.btn-ghost {
  background: rgba(16, 24, 42, 0.55); color: var(--text);
  border: 1px solid rgba(124, 196, 255, 0.38); box-shadow: none;
}
.btn-ghost:hover { background: rgba(124, 196, 255, 0.12); color: #fff; box-shadow: none; }
.btn-small { padding: 9px 14px; font-size: 0.92rem; border-radius: 10px; margin-left: 6px; }
.btn-small .icon { width: 18px; height: 18px; }
.btn-big { padding: 18px 30px; font-size: 1.15rem; border-radius: 14px; }
.btn-big .icon { width: 24px; height: 24px; }

/* ---- hero ----------------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 840px);
  display: flex; align-items: center;
  padding: 88px 0 150px;
  text-align: center;
}
.hero-in { position: relative; }

/* no hero picture yet: a drawn night sky over the curve of a planet */
.hero-sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(42, 69, 110, 0.55), transparent 70%),
    linear-gradient(180deg, #060a14 0%, #0a1020 55%, #0f1d36 100%);
}
.hero-sky::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.3px 1.3px at 22px 34px, #fff 50%, transparent 55%),
    radial-gradient(1px 1px at 141px 82px, rgba(255, 255, 255, 0.7) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 252px 164px, rgba(205, 228, 255, 0.95) 50%, transparent 55%),
    radial-gradient(1px 1px at 331px 41px, rgba(255, 255, 255, 0.6) 50%, transparent 55%),
    radial-gradient(1px 1px at 63px 213px, rgba(255, 255, 255, 0.5) 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 190px 251px, rgba(255, 255, 255, 0.75) 50%, transparent 55%),
    radial-gradient(1px 1px at 298px 270px, rgba(190, 215, 255, 0.6) 50%, transparent 55%),
    radial-gradient(1px 1px at 101px 133px, rgba(255, 255, 255, 0.45) 50%, transparent 55%);
  background-size: 380px 300px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 80%);
}
.hero-planet {
  position: absolute; left: 50%; top: 76%;
  width: max(2400px, 230vw); aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 15% 1.6% at 39% 1.4%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 11% 1.2% at 61% 1.8%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 9% 2.2% at 46% 3%, rgba(118, 200, 92, 0.22), transparent 70%),
    radial-gradient(ellipse 7% 1.8% at 56% 4.2%, rgba(118, 200, 92, 0.16), transparent 70%),
    radial-gradient(circle at 50% 0%, #2f7596 0%, #1d4c69 6%, #12324b 14%, #0c1f33 26%, #0b1120 40%);
  box-shadow:
    0 0 0 1px rgba(170, 220, 255, 0.6),
    0 -4px 14px rgba(124, 196, 255, 0.5),
    0 -26px 80px rgba(80, 150, 255, 0.35),
    0 -80px 200px rgba(60, 120, 220, 0.22);
}

/* a hero picture in content/hero/: full-bleed behind the title, darkened so the text stays readable */
.hero-shot { position: absolute; inset: 0; z-index: -1; }
.hero-shot picture, .hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.6) 0%, rgba(11, 17, 32, 0.35) 45%, rgba(11, 17, 32, 0.85) 85%, var(--bg) 100%);
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 24px; padding: 7px 15px;
  border: 1px solid rgba(124, 196, 255, 0.35); border-radius: 999px;
  background: rgba(16, 24, 42, 0.6);
  color: #cfe3ff;
  font: 500 0.82rem/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 4px rgba(118, 200, 92, 0.2); }
.title { margin: 0; font-family: var(--display); line-height: 0.92; }
.title-vsa {
  display: block; margin-bottom: 16px; padding-left: 0.62em;
  font-size: clamp(1rem, 2.2vw, 1.35rem); font-weight: 600; letter-spacing: 0.62em;
  color: var(--glow);
}
.title-word {
  display: block;
  padding: 0 0.06em 0.16em; margin-bottom: -0.12em; /* room for the "y" tail: gradient text is clipped to the box */
  font-size: clamp(3.1rem, 11vw, 8.5rem); font-weight: 700; letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff 35%, #b5d2f6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 34px rgba(80, 150, 255, 0.35));
}
.tagline { margin: 24px auto 0; max-width: 32ch; font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.45; color: var(--soft); }
.cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-meta { margin: 0; color: var(--muted); font-size: 0.92rem; }
.hero-in > .cta-meta { margin-top: 20px; }
.cta-help { margin: 0; font-size: 0.92rem; }
.cta-help a { color: var(--muted); }
.cta-help a:hover { color: var(--text); }

/* ---- sections ------------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
#features { border-top: 0; padding-top: clamp(40px, 6vw, 72px); }
.kicker {
  margin: 0 0 16px;
  font: 600 0.82rem/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grass);
}
.lead { margin: 0; max-width: 36em; font: 500 clamp(1.3rem, 2.6vw, 1.85rem)/1.42 var(--display); letter-spacing: -0.01em; }
.section-title { margin: 0 0 36px; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--display); letter-spacing: -0.02em; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 16px; margin-bottom: 36px; }
.section-head .section-title { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 500; }
.more .icon { width: 18px; height: 18px; }
.more:hover { color: var(--text); }

.features { margin-top: 56px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.feature { padding: 26px 24px 24px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); }
.feature h3 { margin: 18px 0 8px; font: 600 1.2rem/1.25 var(--display); }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.feature-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: rgba(124, 196, 255, 0.1); border: 1px solid rgba(124, 196, 255, 0.22);
  color: var(--glow);
}

/* ---- screenshots ---------------------------------------------------------------------------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.shot { margin: 0; }
.shot a { display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s ease; }
.shot a:hover img { transform: scale(1.03); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 15, 0.9); }
.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: 10px; }
.lightbox p { margin: 12px 0 0; text-align: center; color: var(--soft); }
.lightbox-close {
  position: fixed; top: 14px; right: 16px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(18, 28, 48, 0.9);
  color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---- news ----------------------------------------------------------------------------------- */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.news-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.news-card:hover { border-color: rgba(124, 196, 255, 0.45); transform: translateY(-2px); }
.news-card h3 { margin: 14px 0 8px; font: 600 1.25rem/1.3 var(--display); }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.news-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--glow); font-weight: 500; font-size: 0.95rem; }
.news-more .icon { width: 18px; height: 18px; }
.news-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--dim); font-size: 0.9rem; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(118, 200, 92, 0.12); border: 1px solid rgba(118, 200, 92, 0.32); color: var(--grass-hi);
  font: 600 0.78rem/1.4 var(--display); letter-spacing: 0.03em;
}

/* ---- install & help ------------------------------------------------------------------------- */
.help { display: grid; gap: 48px; grid-template-columns: 1.15fr 1fr; align-items: start; }
@media (max-width: 900px) { .help { grid-template-columns: 1fr; } }
.help h2, .help h3 { margin: 36px 0 14px; font: 600 1.25rem/1.3 var(--display); }
.help-col > h2:first-child, .help-col > h3:first-child { margin-top: 0; }
.faq-answer.faq-plain { padding: 0; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  font: 600 0.9rem/1 var(--display);
}
.steps strong, .faq strong { color: var(--text); }
.needs { margin: 0; padding-left: 1.2em; color: var(--muted); }
.needs li { margin: 4px 0; }
.needs li::marker { color: var(--grass); }
.faq details { margin-bottom: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 18px 16px; color: var(--muted); }
.faq-answer p { margin: 0 0 0.6em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- closing call to action ----------------------------------------------------------------- */
.final {
  padding: clamp(72px, 10vw, 120px) 0; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 120% at 50% 130%, rgba(42, 69, 110, 0.65), transparent 70%);
}
.final-in { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.final h2 { margin: 0 0 24px; font: 700 clamp(1.8rem, 4vw, 2.8rem)/1.1 var(--display); letter-spacing: -0.02em; }
.final-text { margin: 0; max-width: 42ch; color: var(--soft); font-size: 1.1rem; }
.final-contact { margin: 18px 0 0; color: var(--muted); }

/* ---- footer --------------------------------------------------------------------------------- */
.footer { padding: 36px 0 44px; background: #080d19; border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.brand-footer .brand-name { font-size: 1.1rem; }
.brand-footer .brand-sub { font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { flex-basis: 100%; margin: 0; color: var(--dim); font-size: 0.88rem; }

/* ---- text pages: news, posts, privacy, 404 -------------------------------------------------- */
.page { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px); }
.page h1 { margin: 0 0 32px; font: 700 clamp(2rem, 4.5vw, 3.1rem)/1.12 var(--display); letter-spacing: -0.02em; }
.crumbs { margin: 0 0 24px; }
.crumbs a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.crumbs a:hover { color: var(--text); }
.post-head { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-head h1 { margin: 14px 0 0; }
.post-summary { margin: 16px 0 0; font-size: 1.2rem; color: var(--soft); }
.prose { color: #cdd8e8; }
.prose h2 { margin: 2em 0 0.6em; font: 600 1.45rem/1.25 var(--display); color: var(--text); }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--grass); }
.prose strong { color: var(--text); }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.post-cta {
  margin-top: 52px; padding: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, rgba(42, 69, 110, 0.45), rgba(19, 30, 51, 0.9));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.post-cta p { margin: 0; max-width: 40ch; color: var(--soft); }
.notfound .btn { margin-top: 8px; }
.legal-address { margin: 0 0 1.4em; font-style: normal; line-height: 1.7; }

/* ---- beta area ------------------------------------------------------------------------------ */
.beta-download {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(42, 69, 110, 0.5), rgba(19, 30, 51, 0.92));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.beta-download-text { flex: 1 1 340px; }
.beta-download-text p { margin: 0 0 8px; color: var(--soft); }
.beta-download-text p:last-child { margin-bottom: 0; }
.beta-version { font-family: var(--display); color: var(--muted); }
.beta-version strong { color: var(--text); font-size: 1.15rem; }
.beta-download-action { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.beta-note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.beta-note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--grass); }
.beta-section { margin-top: clamp(48px, 7vw, 80px); }

/* ---- account page (/account/) --------------------------------------------------------------- */
.account [hidden] { display: none !important; }
.account-loading { color: var(--muted); }
.account-panel {
  margin: 0 0 22px; padding: 26px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.account-panel h2 { margin: 0 0 10px; font: 600 1.3rem/1.25 var(--display); }
.account-panel p { margin: 0 0 16px; color: var(--muted); }
.account-panel p strong { color: var(--text); overflow-wrap: anywhere; }
.account label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 0.95rem; }
.account input {
  display: block; width: 100%; max-width: 380px; padding: 12px 14px;
  font: inherit; color: var(--text); background: #0a1222;
  border: 1px solid rgba(160, 190, 230, 0.3); border-radius: 10px;
}
.account input:focus-visible { outline: 2px solid var(--grass); outline-offset: 2px; }
.account input:disabled { opacity: 0.6; }
.account .account-code { max-width: 220px; font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.18em; }
.account-turnstile { margin: 18px 0 0; min-height: 65px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.account .btn { border: 0; cursor: pointer; }
.account .btn-ghost { border: 1px solid rgba(124, 196, 255, 0.38); }
.account .btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.account .account-msg { margin: 14px 0 0; color: var(--soft); font-size: 0.95rem; }
.account > .account-msg { margin: 0 0 22px; }
.account .account-msg.is-error { color: #ff9e93; }
.account .account-msg.is-ok { color: var(--grass-hi); }
.account-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; overflow-wrap: anywhere; }
.account-danger { border-color: rgba(255, 130, 115, 0.35); }
.btn-danger { background: #e8685f; color: #1c0806; box-shadow: none; }
.btn-danger:hover { background: #f27d74; color: #1c0806; box-shadow: none; }
.account .account-key { max-width: 420px; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.account .account-key::placeholder { text-transform: none; letter-spacing: 0.04em; color: var(--dim); }
.account-devices { list-style: none; margin: 0; padding: 0; }
.account-device {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.account-device div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-device span { color: var(--muted); font-size: 0.92rem; }
.account-device .btn-small { margin-left: 0; }
.account-devices-empty { color: var(--dim); }

/* ---- game sign-in page (/link/): the account page's look, plus the big code ------------------- */
.link .account-panel p.link-code {
  margin: 4px 0 14px; color: var(--text);
  font: 700 2rem/1.2 var(--display); letter-spacing: 0.16em;
}
.link .account-panel p.link-warning { color: var(--text); font-weight: 600; }
.link .link-code-input { max-width: 220px; }

/* ---- admin page (/admin/): the account page's look, plus tables ------------------------------- */
.admin .account-panel h3 { margin: 26px 0 10px; font: 600 1.05rem/1.3 var(--display); }
.admin .account-panel form > h3:first-child { margin-top: 0; }
.admin select,
.admin textarea {
  display: block; padding: 12px 14px;
  font: inherit; color: var(--text); background: #0a1222;
  border: 1px solid rgba(160, 190, 230, 0.3); border-radius: 10px;
}
.admin select:focus-visible, .admin textarea:focus-visible { outline: 2px solid var(--grass); outline-offset: 2px; }
.admin textarea { width: 100%; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.04em; resize: vertical; }
.admin .admin-narrow { max-width: 110px; }
.admin-jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; }
.admin-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.admin-row .admin-grow { flex: 1 1 260px; }
.admin-row .admin-grow input { max-width: none; }
.admin-sub { margin: 12px 0 0; }
#adm-ent-revoke, #adm-key-revoke { padding: 16px 18px; border: 1px solid rgba(255, 130, 115, 0.35); border-radius: 10px; }
.admin .account-danger { padding: 16px 18px; border: 1px solid rgba(255, 130, 115, 0.35); border-radius: 10px; }
.admin-keys-out { margin-top: 16px; }
.admin-keys-out code { display: inline-block; font-size: 1.05rem; padding: 8px 12px; }
.admin-warn { color: #ffcf8a !important; font-weight: 600; }
.admin-table-wrap { overflow-x: auto; margin-top: 16px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.admin-table td { overflow-wrap: anywhere; }
.admin-table .btn-small { margin-left: 0; white-space: nowrap; }
.admin-empty { color: var(--dim); }
