/* Hydrogen Line: the public website (front page, sign-up, account, universe list).
   Colours, sizes and spacing follow the approved canvas boards (signin-canvas/project/*.dc.html).
   Phones: everything below 640px wide uses the phone layouts (16px side padding, 48px controls). */

:root {
  --bg: #0a0d12;
  --panel: #10151c;
  --line: #232c38;
  --line-2: #2e3a48;
  --inner: #141b24;
  --divider: #1a212c;
  --strip: rgba(255, 255, 255, 0.015);
  --text: #d7dee6;
  --bright: #ffffff;
  --secondary: #b9c3cf;
  --muted: #9aa6b4;
  --dim: #7c8a9a;
  --placeholder: #6b7787;
  --blue: #4fc3f7;
  --blue-hover: #8fdcff;
  --on-blue: #06121a;
  --green: #57c46b;
  --amber: #e8a33d;
  --red: #e2574c;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute always wins over a class that sets display. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
}

#app { min-height: 100vh; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; }

/* The plain copy of the page the server puts in #app for search engines (seo.js). Hidden whenever
   scripts run (site.html sets the "js" class), since site.js draws the real page over it. */
.js .seo-copy { display: none; }
.seo-copy { max-width: 760px; margin: 0 auto; padding: 24px 16px; line-height: 1.6; }
.seo-copy nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; }

img { max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }

a { color: var(--blue); }
a:hover { color: var(--blue-hover); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 2px; }
main:focus-visible, h1:focus-visible, [tabindex="-1"]:focus-visible { outline: none; }

::placeholder { color: var(--placeholder); opacity: 1; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 5px;
  background: var(--blue); color: var(--on-blue);
  font-family: var(--mono); font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-blue); }

/* Phone-only and desktop-only pieces: each keeps its own display value where it shows. */
@media (min-width: 641px) { .phone-only { display: none !important; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 5px;
  font-family: var(--mono); font-size: 12px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
}
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; }
.btn svg { flex: none; }

.btn-primary {
  border: 0; background: var(--blue); color: var(--on-blue);
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
}
.btn-primary:hover:not(:disabled) { background: var(--blue-hover); color: var(--on-blue); }

.btn-outline { border-color: var(--blue); background: rgba(79, 195, 247, 0.06); color: var(--blue); }
.btn-outline:hover:not(:disabled) { border-color: var(--blue-hover); background: rgba(79, 195, 247, 0.12); color: var(--blue-hover); }

.btn-secondary { border-color: var(--line-2); background: var(--inner); color: var(--text); }
.btn-secondary:hover:not(:disabled) { border-color: #3d4b5c; background: #18212c; color: var(--bright); }

.btn-danger { border-color: var(--red); background: rgba(226, 87, 76, 0.06); color: var(--red); }
.btn-danger:hover:not(:disabled) { border-color: #f07a70; background: rgba(226, 87, 76, 0.12); color: #f07a70; }

.btn-block {
  display: flex; width: 100%;
  height: auto; min-height: 44px; padding-top: 6px; padding-bottom: 6px;
  white-space: normal; text-align: center;
}
.btn-strong { font-size: 13px; font-weight: 500; letter-spacing: 0.5px; }
.btn-wide { padding: 0 20px; }
.btn-small { padding: 0 14px; }

.link-btn {
  align-self: flex-start;
  padding: 0; border: 0; background: none;
  color: var(--blue); font-family: var(--sans); font-size: 13px;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.link-btn:hover { color: var(--blue-hover); }

.text-link { font-size: 13px; align-self: flex-start; }
.link-44 { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }

/* ---------- forms ---------- */

form { margin: 0; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-top a { font-size: 12px; }

.label { font-size: 12px; color: var(--dim); letter-spacing: 0.5px; }

.input {
  height: 44px; width: 100%;
  padding: 0 12px;
  background: var(--inner); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text); font-family: var(--sans); font-size: 14px;
}
.input:hover { border-color: #303c4b; }
.input:focus, .input:focus-visible { border-color: var(--blue); outline: none; box-shadow: 0 0 0 1px var(--blue); }
.input[aria-invalid="true"] { border-color: var(--red); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--red); }
.input-mono { font-family: var(--mono); letter-spacing: 1px; }
.input[readonly] { background: #0d1117; color: var(--bright); font-family: var(--mono); font-size: 13px; letter-spacing: 0; }

.hint { font-size: 12px; line-height: 1.45; color: var(--dim); }
.field-error { font-size: 12.5px; line-height: 1.45; color: #f07a70; }
.field-error:empty { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; }
.check input {
  flex: none; width: 18px; height: 18px; margin: 2px 0 0;
  accent-color: var(--blue); cursor: pointer;
}
.check.danger input { accent-color: var(--red); }
.check label { font-size: 13px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check .opt { color: var(--dim); }
.check-wrap { display: flex; flex-direction: column; gap: 6px; }

.form-msg { font-size: 13px; line-height: 1.5; }
/* An empty message line stays in the page (it is a live region) but takes no room. */
.form-msg:empty {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.form-msg.is-error { padding: 10px 12px; border-radius: 5px; border: 1px solid rgba(226, 87, 76, 0.45); background: rgba(226, 87, 76, 0.07); color: #f3b0aa; }
.form-msg.is-ok { padding: 10px 12px; border-radius: 5px; border: 1px solid rgba(87, 196, 107, 0.45); background: rgba(87, 196, 107, 0.07); color: #a9e2b4; }
.form-msg.is-info { color: var(--secondary); }

/* ---------- panels and cards ---------- */

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: var(--shadow); overflow: hidden;
}
.panel.danger { border-color: rgba(226, 87, 76, 0.45); }

.panel-strip {
  margin: 0; padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  background: var(--strip);
  font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--dim);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.panel-body { padding: 18px 17px 20px; display: flex; flex-direction: column; gap: 16px; }
.panel-foot { padding: 14px 17px 16px; border-top: 1px solid var(--divider); font-size: 13px; line-height: 1.55; color: var(--dim); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: var(--shadow);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 14px;
}
.card-icon { display: block; }
.card-title { margin: 0; font-size: 20px; font-weight: 500; color: var(--bright); line-height: 1.3; }
.card p { margin: 0; line-height: 1.6; color: var(--secondary); font-size: 14px; }
.card p.small, .small { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--dim); }
.card p.note { font-size: 13px; line-height: 1.55; color: var(--dim); }
.white { color: var(--bright); }
.card-split { border-top: 1px solid var(--divider); padding-top: 14px; font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }

.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; color: var(--blue); text-transform: uppercase; }
.mini-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--dim); text-transform: uppercase; }

.pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  border: 1px solid; border-radius: 3px; padding: 4px 8px; white-space: nowrap;
}
.pill.amber { color: var(--amber); border-color: rgba(232, 163, 61, 0.55); }
.pill.green { color: var(--green); border-color: rgba(87, 196, 107, 0.55); }

.badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; line-height: 1.45; text-transform: uppercase;
  border: 1px solid; border-radius: 3px; padding: 2px 7px; white-space: nowrap;
}
.badge.green { color: var(--green); border-color: rgba(87, 196, 107, 0.5); }
.badge.blue { color: var(--blue); border-color: rgba(79, 195, 247, 0.5); }
.badge.grey { color: var(--muted); border-color: var(--line-2); }
.badge.amber { color: var(--amber); border-color: rgba(232, 163, 61, 0.55); }
.badge.red { color: var(--red); border-color: rgba(226, 87, 76, 0.5); }

.loading-line { margin: 0; color: var(--dim); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.spinner {
  width: 16px; height: 16px; flex: none;
  border: 2px solid var(--line-2); border-top-color: var(--blue); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* ---------- headers and footer ---------- */

.banner { display: block; background: #04060a; border-bottom: 1px solid var(--divider); }
.banner picture { display: block; }
.banner img {
  display: block; width: 100%; max-width: 2144px; height: auto; margin: 0 auto;
  aspect-ratio: 2144 / 496; min-height: 170px; object-fit: cover; object-position: center;
}

.site-header { border-bottom: 1px solid var(--divider); background: #05070b; position: relative; }
.site-header .wrap {
  padding-top: 12px; padding-bottom: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.logo-link { display: block; line-height: 0; border-radius: 3px; }
.logo-link img { display: block; width: 170px; height: auto; }
.header-user { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; }
.header-user .who { color: var(--dim); }
.header-user .who b { font-weight: 400; color: var(--bright); }
.header-user a[aria-current="page"] { color: var(--bright); text-decoration: none; }
.header-user .btn { padding: 0 14px; }
.header-plain { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.head-left { display: flex; align-items: center; gap: 28px; min-width: 0; }
.site-nav { display: flex; gap: 22px; font-size: 13px; }
.site-nav a { color: var(--secondary); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--bright); }
.site-nav a.on { color: var(--bright); box-shadow: inset 0 -2px 0 var(--blue); }

/* ---------- /tools: the player tools (Tools board) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: stretch; }
.tool-card {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden;
}
.tool-art { height: 220px; background: #04060a; border-bottom: 1px solid var(--divider); overflow: hidden; }
.tool-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tool-art.contain img { object-fit: contain; padding: 18px; }
.tool-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1 0 auto; }
.tool-name { margin: 0; font-size: 22px; font-weight: 600; color: var(--bright); line-height: 1.25; }
.tool-body > p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--secondary); }
.tool-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--secondary); }
.tool-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: start; }
.tool-list svg { margin-top: 3px; color: var(--blue); }
.tool-list b { font-weight: 500; color: var(--bright); }
.tool-foot { margin-top: auto; padding-top: 6px; }
.tool-tip {
  display: flex; gap: 12px; align-items: flex-start; max-width: 860px; padding: 12px 14px; border-radius: 6px;
  background: var(--inner); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--secondary);
}
.tool-tip svg { flex: none; color: var(--blue); margin-top: 2px; }
.tool-tip b { font-weight: 500; color: var(--bright); }
@media (max-width: 640px) {
  .head-left { gap: 16px; }
  .tool-art { height: 150px; }
  .tool-foot .btn { width: 100%; min-height: 48px; }
}

.menu-btn {
  flex: none; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 5px; background: var(--inner); color: var(--text);
  cursor: pointer;
}
.menu-btn:hover { border-color: #3d4b5c; }
.menu-pop {
  position: absolute; right: 16px; top: calc(100% + 6px); z-index: 40;
  min-width: 230px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; gap: 4px;
}
.menu-pop[hidden] { display: none; }
.menu-pop .who { padding: 8px 10px 10px; font-size: 13px; color: var(--dim); border-bottom: 1px solid var(--divider); margin-bottom: 4px; }
.menu-pop .who b { font-weight: 400; color: var(--bright); }
.menu-pop a, .menu-pop button {
  display: flex; align-items: center; min-height: 48px; padding: 0 10px; border-radius: 5px;
  font-family: var(--sans); font-size: 15px; color: var(--text); text-decoration: none;
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.menu-pop a:hover, .menu-pop button:hover { background: var(--inner); color: var(--bright); }

.site-footer { border-top: 1px solid var(--divider); background: #080a0e; }
.site-footer .wrap {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--dim);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- front page ---------- */

.front-main {
  padding-top: 44px; padding-bottom: 64px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start;
}
.pitch { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; min-height: 26px; }
.pill-row .pill-note { font-size: 13px; color: var(--dim); }
.front-h1 {
  margin: 0; max-width: 660px;
  font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.3px; color: var(--bright);
  text-wrap: balance;
}
.pitch-points { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.pitch-points p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--secondary); }
.pitch-points strong { font-weight: 600; color: var(--bright); }
.pitch-free { margin: 0; font-size: 14px; color: var(--dim); }

.auth-box {
  flex: 1 1 340px; max-width: 420px; min-width: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: var(--shadow); overflow: hidden;
  scroll-margin-top: 16px;
}
.auth-tabs { display: flex; gap: 8px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.auth-tab {
  flex: 1; height: 44px; padding: 0 8px;
  border-radius: 5px; border: 1px solid var(--line); background: var(--inner); color: var(--muted);
  font-family: var(--sans); font-size: 14px; cursor: pointer;
}
.auth-tab:hover { color: var(--text); border-color: #303c4b; }
.auth-tab[aria-selected="true"] { border-color: var(--blue); background: rgba(79, 195, 247, 0.08); color: var(--blue); }
.auth-body { padding: 20px 17px; display: flex; flex-direction: column; gap: 16px; }
.auth-foot { padding: 16px 17px 18px; border-top: 1px solid var(--divider); font-size: 13px; line-height: 1.55; color: var(--dim); }
.auth-foot:empty { display: none; }
.auth-closed-title { font-size: 18px; font-weight: 500; color: var(--bright); margin: 0; }
.auth-closed-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--secondary); }

.band { border-top: 1px solid var(--divider); }
.band-inside { background: #0c1016; }
.band-features { background: var(--bg); }
.band-story { background: #06080c; }
.band-questions { background: var(--bg); }
.band-join { background: #0c1016; }

.section-head { display: flex; flex-direction: column; gap: 10px; }
.h2-big { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--bright); text-wrap: balance; }

.inside-wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.shot {
  margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
}
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.shot-title { font-size: 15px; font-weight: 500; color: var(--bright); }
.shot-text { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.features-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 72px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.feature.reverse { flex-direction: row-reverse; }
.feature-media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.feature-media img { display: block; width: 100%; height: auto; }
.feature-media img.framed { border: 1px solid var(--line); border-radius: 8px; }
.feature-media img.w380 { max-width: 380px; }
.feature-media img.w560 { max-width: 560px; }
.feature-media img.w340 { max-width: 340px; }
.feature-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-text p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--secondary); }

.story-wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.story-media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.story-media img { display: block; width: 100%; max-width: 440px; height: auto; }
.story-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.story-text p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--secondary); }
.story-text p.story-note {
  padding-top: 16px; border-top: 1px solid var(--divider);
  font-size: 13.5px; line-height: 1.6; font-style: italic; color: var(--dim);
}

.questions-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.qa {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.qa.wide { grid-column: 1 / -1; border-color: rgba(79, 195, 247, 0.45); }
.qa h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--bright); }
.qa p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--secondary); }

.join-wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.join-card {
  min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.join-card.community { flex: 1 1 460px; }
.join-card.cta { flex: 1 1 380px; border-color: rgba(79, 195, 247, 0.45); }
.join-card h2 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--bright); }
.join-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--secondary); }
.join-card p.small-dim { font-size: 13px; color: var(--dim); }
.join-card .btn { align-self: flex-start; }
.community-links { display: flex; flex-wrap: wrap; gap: 10px; }
.community-links .btn { align-self: auto; }
.community-links .btn[aria-disabled="true"] { cursor: default; opacity: 1; }

/* ---------- centred single-card pages ---------- */

.center-main { padding: 48px 24px 64px; display: flex; justify-content: center; align-items: flex-start; }
.center-col { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.center-col.wide { max-width: 520px; }
.lead-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--secondary); }
.card-split .link-btn { align-self: auto; }

/* ---------- invite page ---------- */

.invite-main { padding: 36px 24px 64px; display: flex; justify-content: center; }
.invite-col { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.invite-banner {
  padding: 12px 14px; border-radius: 6px;
  border: 1px solid rgba(87, 196, 107, 0.45); background: rgba(87, 196, 107, 0.07);
  display: flex; gap: 12px; align-items: center;
}
.invite-banner.in-card { margin: 16px 17px 0; }
.invite-banner svg { flex: none; color: var(--green); }
.invite-banner-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.invite-banner-title { font-size: 14px; color: var(--bright); }
.invite-banner-code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.invite-banner-note { font-size: 12.5px; color: var(--muted); }
.invite-pitch { margin: 0; font-size: 15px; line-height: 1.6; color: var(--secondary); }
.phone-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--dim); text-align: center; }

/* ---------- universe list ---------- */

.list-main { padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.list-head { display: flex; flex-direction: column; gap: 8px; }
.page-h1 { margin: 0; font-size: 30px; font-weight: 600; color: var(--bright); line-height: 1.2; }
.intro { margin: 0; max-width: 760px; font-size: 15px; line-height: 1.6; color: var(--secondary); }
.intro b { font-weight: 400; color: var(--bright); }

.reward {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 6px;
  border: 1px solid rgba(232, 163, 61, 0.5); background: rgba(232, 163, 61, 0.07);
}
.reward svg { flex: none; color: var(--amber); }
.reward-text { display: flex; flex-direction: column; gap: 3px; }
.reward-title { font-size: 15px; color: var(--bright); }
.reward-sub { font-size: 13px; line-height: 1.5; color: var(--secondary); }

.uni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; align-items: stretch; }
.uni-card {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); overflow: hidden;
}
.uni-card.alert { border-color: rgba(226, 87, 76, 0.4); }
.uni-head { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--divider); }
.uni-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.uni-name { margin: 0; font-size: 22px; font-weight: 600; color: var(--bright); line-height: 1.25; }
.uni-meta { font-size: 13px; color: var(--dim); }
.uni-line { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.uni-line svg { flex: none; }
.uni-line.best { color: var(--blue); }
.uni-line.friends { color: var(--secondary); }
.uni-line.friends svg { color: var(--muted); }
.uni-line.closes { color: var(--amber); }
.uni-note { margin: 14px 18px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.uni-box {
  margin: 14px 18px 0; padding: 12px 14px; border-radius: 6px;
  background: var(--inner); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; font-size: 13px;
}
.uni-box .mini-label { letter-spacing: 1.2px; }
.uni-box .big { font-size: 15px; color: var(--bright); }
.uni-box .mid { color: var(--secondary); }
.uni-box .low { color: var(--dim); }
.charter-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; color: var(--secondary); }
.charter-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(232, 163, 61, 0.5); border-radius: 3px; padding: 1px 6px;
}

.uni-settings { padding: 14px 18px 4px; display: flex; flex-direction: column; }
.uni-settings .mini-label { padding-bottom: 6px; letter-spacing: 1.2px; }
.set-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--divider); font-size: 13px; }
.set-row:last-child { border-bottom: 0; }
.set-row .k { color: var(--muted); }
.set-row .v { font-family: var(--mono); color: var(--bright); text-align: right; }

.uni-details { margin: 6px 14px 0; font-size: 13px; }
.uni-details summary {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  list-style: none; cursor: pointer; color: var(--muted); border-radius: 4px;
}
.uni-details summary::-webkit-details-marker { display: none; }
.uni-details summary::marker { content: ""; }
.uni-details summary svg { flex: none; transition: transform 0.15s; }
.uni-details[open] summary svg { transform: rotate(180deg); }
.uni-details .rows { padding-bottom: 6px; }

.uni-action { margin-top: auto; padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.uni-action .btn { width: 100%; }
.uni-wait {
  height: 44px; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--line-2); border-radius: 5px;
  color: var(--muted); font-family: var(--mono); font-size: 12px;
}
.uni-action .form-msg { font-size: 12.5px; }

.list-foot { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dim); }
.list-status { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty-card { margin: 0; padding: 22px 20px; font-size: 14px; line-height: 1.6; color: var(--secondary); }

/* ---------- account page ---------- */

.account-main { padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.account-main > .panel, .account-main > .invites-copy { width: 100%; max-width: 912px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; align-self: flex-start; font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.acct-panel { padding-bottom: 16px; }
.acct-box { margin: 16px 16px 0; border: 1px solid var(--line); border-radius: 6px; background: var(--inner); }
.acct-box.danger { border-color: rgba(226, 87, 76, 0.4); }
.acct-box-head { padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.acct-title { margin: 0 0 2px; font-size: 16px; font-weight: 600; color: var(--text); }
.acct-sub { font-size: 12px; color: var(--dim); }
.acct-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--divider);
}
.acct-row:last-child { border-bottom: 0; }
.acct-row-text { flex: 1; min-width: 240px; display: grid; gap: 3px; font-size: 13px; }
.acct-row-text strong { font-weight: 600; }
.acct-row-text span { color: var(--dim); line-height: 1.5; overflow-wrap: anywhere; }
.acct-row-text .pending { color: var(--amber); }

.invites-panel { scroll-margin-top: 16px; }
.invites-body { padding: 18px 17px 20px; display: flex; flex-direction: column; gap: 18px; }
.invites-intro { margin: 0; font-size: 14px; line-height: 1.6; color: var(--secondary); }
.invite-count {
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--divider); border-radius: 6px; background: var(--inner);
}
.invite-count-num { display: flex; align-items: baseline; gap: 10px; }
.invite-count-num .n { font-family: var(--mono); font-size: 30px; line-height: 1; color: var(--bright); }
.invite-count-num .l { font-size: 13px; color: var(--dim); }
.invite-count p { margin: 0; flex: 1; min-width: 260px; font-size: 13px; line-height: 1.55; color: var(--dim); }

.new-invite {
  border: 1px solid rgba(79, 195, 247, 0.45); background: rgba(79, 195, 247, 0.05);
  border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.new-invite-row { display: flex; flex-wrap: wrap; gap: 8px; }
.new-invite-row .input { flex: 1; min-width: 280px; }
.new-invite p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--dim); }

.inv-table { display: flex; flex-direction: column; }
.inv-table .mini-label { padding-bottom: 10px; }
.inv-head, .inv-row {
  display: grid; grid-template-columns: 150px 110px minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.inv-head {
  padding: 0 4px 8px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--dim); text-transform: uppercase;
}
.inv-row { min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--divider); font-size: 13px; }
.inv-code { font-family: var(--mono); }
.inv-date { color: var(--dim); }
.inv-what { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inv-what .link-text { font-family: var(--mono); font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-what .ok-name { color: var(--green); }
.inv-what .wait-name { color: var(--amber); }
.inv-what .gone { color: var(--dim); }
.inv-actions { display: flex; gap: 8px; justify-content: flex-end; }
.inv-empty { padding: 14px 4px; font-size: 13px; color: var(--dim); border-bottom: 1px solid var(--divider); }
.invites-copy { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dim); }

/* ---------- dialogs ---------- */

dialog.dlg {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: calc(100% - 32px); max-width: 460px; max-height: calc(100% - 32px);
  overflow: visible;
}
dialog.dlg.wide { max-width: 540px; }
dialog.dlg::backdrop { background: rgba(3, 5, 8, 0.72); }
dialog.dlg[open].no-modal { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 60; box-shadow: 0 0 0 100vmax rgba(3, 5, 8, 0.72); }
.dlg-panel { max-height: calc(100vh - 32px); overflow-y: auto; }
.dlg-panel .panel-body { gap: 14px; }
.dlg-lead { margin: 0; font-size: 14px; color: var(--bright); }
.dlg-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.55; color: var(--secondary); }
.dlg-list b { font-weight: 400; color: var(--bright); }
.dlg-note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--dim); }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.dlg-actions .btn-primary { padding: 0 18px; }

.join-settings {
  padding: 10px 14px; border-radius: 6px; background: var(--inner); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 12.5px;
}
.join-settings .mini-label { grid-column: 1 / -1; padding-bottom: 4px; letter-spacing: 1.2px; }
.join-settings .set-row { padding: 4px 0; border-bottom: 0; font-size: 12.5px; gap: 8px; }

/* ---------- rankings ---------- */

.rank-main { padding-top: 28px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.rank-main > .panel, .rank-main > .rank-sub { width: 100%; max-width: 812px; }
.rank-sub { margin: 0; font-size: 14px; line-height: 1.6; color: var(--secondary); }
.rank-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank-table th {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 1px; color: var(--dim); text-transform: uppercase;
  background: var(--strip);
}
.rank-table td { padding: 11px 16px; border-bottom: 1px solid var(--divider); }
.rank-table tr:last-child td { border-bottom: 0; }
.rank-table .num { text-align: right; font-family: var(--mono); }
.rank-table .rank { width: 80px; font-family: var(--mono); color: var(--muted); }
.rank-table th.num { text-align: right; }
.rank-table tr.is-you td { background: rgba(79, 195, 247, 0.08); color: var(--bright); }
.rank-table tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--blue); color: var(--blue); }
.you-tag { margin-left: 8px; }

/* ---------- toasts ---------- */

.toasts {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 80;
  width: calc(100% - 32px); max-width: 460px;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 12px 14px; border-radius: 6px;
  background: #121922; border: 1px solid var(--line-2); box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  font-size: 13.5px; line-height: 1.5; color: var(--text);
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
}
.toast.ok { border-color: rgba(87, 196, 107, 0.5); }
.toast.error { border-color: rgba(226, 87, 76, 0.55); }

/* ---------- phones ---------- */

@media (max-width: 640px) {
  .desk-only { display: none !important; }

  .wrap { padding-left: 16px; padding-right: 16px; }

  .btn { height: 48px; }
  .btn-block { height: auto; min-height: 48px; }
  .link-btn, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-primary, .btn-strong { font-size: 14px; }
  .input { height: 48px; font-size: 16px; }
  .input[readonly] { font-size: 14px; }
  .auth-tab { height: 48px; }
  .check input { width: 20px; height: 20px; }

  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; flex-wrap: nowrap; }
  .logo-link img { width: 132px; }

  .banner img { min-height: 0; height: 180px; aspect-ratio: auto; }

  .front-main { padding-top: 28px; padding-bottom: 44px; gap: 32px; }
  .pitch { flex-basis: 100%; gap: 18px; }
  .front-h1 { font-size: 30px; }
  .pitch-points p { font-size: 15.5px; }
  .auth-box { flex-basis: 100%; max-width: none; }
  .auth-tabs, .auth-body, .auth-foot { padding-left: 16px; padding-right: 16px; }

  .h2-big { font-size: 25px; }
  .inside-wrap { padding-top: 44px; padding-bottom: 48px; gap: 24px; }
  .features-wrap { padding-top: 48px; padding-bottom: 48px; gap: 52px; }
  .feature, .feature.reverse { flex-direction: column; align-items: stretch; gap: 24px; }
  .feature-media, .feature-text { flex-basis: auto; }
  .feature-text p, .story-text p { font-size: 15.5px; }
  .story-wrap { padding-top: 52px; padding-bottom: 52px; gap: 28px; }
  .story-media, .story-text { flex-basis: auto; }
  .story-media img { max-width: 300px; }
  .questions-wrap { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .qa { padding: 16px; }
  .join-wrap { padding-top: 44px; padding-bottom: 48px; gap: 16px; }
  .join-card { padding: 20px 16px; flex-basis: 100%; }
  .join-card h2 { font-size: 22px; }
  .join-card .btn { align-self: stretch; }
  .community-links .btn { flex: 1 1 auto; }

  .center-main { padding: 24px 16px 40px; }
  .invite-main { padding: 20px 16px 28px; }
  .invite-banner-title { font-size: 15px; }
  .panel-strip { padding-left: 16px; padding-right: 16px; }
  .panel-body { padding-left: 16px; padding-right: 16px; }
  .panel-foot { padding-left: 16px; padding-right: 16px; }

  .list-main { padding-top: 20px; padding-bottom: 28px; gap: 16px; }
  .list-head { gap: 6px; }
  .page-h1 { font-size: 24px; }
  .intro { font-size: 14px; line-height: 1.55; }
  .uni-grid { gap: 16px; }
  .uni-head { padding: 14px 14px 12px; gap: 4px; }
  .uni-name { font-size: 20px; }
  .uni-title-row { gap: 8px; }
  .uni-box { margin: 12px 14px 0; padding: 10px 12px; gap: 3px; }
  .uni-box .mini-label { display: none; }
  .uni-note { margin: 12px 14px 0; }
  .uni-action { padding: 8px 14px 14px; }
  .uni-wait { height: 48px; }
  .list-foot { text-align: left; }

  .account-main { padding-top: 12px; padding-bottom: 40px; gap: 14px; }
  .acct-box { margin: 12px 12px 0; }
  .acct-panel { padding-bottom: 12px; }
  .acct-row { padding: 14px 14px; gap: 12px; }
  .acct-row-text { min-width: 0; flex-basis: 100%; }
  .acct-row .btn { width: 100%; }
  .invites-body { padding: 16px 14px 18px; }
  .invite-count p { min-width: 0; flex-basis: 100%; }
  .invite-count .btn { width: 100%; }
  .new-invite-row .input { min-width: 0; flex-basis: 100%; }
  .new-invite-row .btn { flex: 1 1 auto; }
  .inv-head { display: none; }
  .inv-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "code date" "what what" "act act";
    gap: 6px 12px; padding: 12px 2px;
  }
  .inv-row .inv-code { grid-area: code; }
  .inv-row .inv-date { grid-area: date; text-align: right; }
  .inv-row .inv-what { grid-area: what; }
  .inv-row .inv-actions { grid-area: act; justify-content: flex-start; }
  .inv-row .inv-actions:empty { display: none; }
  .inv-row .inv-actions .btn { flex: 1 1 auto; }

  .dlg-actions .btn { flex: 1 1 auto; }
  .join-settings { grid-template-columns: minmax(0, 1fr); }
  .join-settings .r-eco { order: 1; }
  .join-settings .r-res { order: 2; }
  .join-settings .r-fleet { order: 3; }
  .join-settings .r-ships { order: 4; }
  .join-settings .r-def { order: 5; }
  .join-settings .r-hyd { order: 6; }
  .join-settings .r-plunder { order: 7; }

  .rank-main { padding-top: 12px; padding-bottom: 40px; }
  .rank-table th, .rank-table td { padding-left: 12px; padding-right: 12px; }
  .rank-table .rank { width: 56px; }

  .site-footer .wrap { padding-top: 18px; padding-bottom: 22px; }
}

/* ---------- Terms of Service and Privacy Policy (/terms, /privacy; words in legal.js) ---------- */
.legal-main .intro + .intro { margin-top: 4px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc {
  position: sticky; top: 20px; display: flex; flex-direction: column; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px;
}
.legal-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.legal-toc a { color: var(--secondary); text-decoration: none; }
.legal-toc a:hover { color: var(--blue-hover); text-decoration: underline; }
.legal-other { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--divider); font-size: 13px; color: var(--dim); }
.legal-body { display: flex; flex-direction: column; gap: 30px; max-width: 780px; min-width: 0; }
.legal-sec { scroll-margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.legal-sec h2 { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 20px; font-weight: 600; color: var(--bright); line-height: 1.3; }
.legal-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--blue); min-width: 20px; }
.legal-sec p, .legal-list { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.legal-sec b { font-weight: 600; color: var(--bright); }
.legal-short {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--inner); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 6px;
  padding: 10px 14px; color: var(--bright) !important;
}
.legal-short .mini-label { color: var(--blue); }
.legal-list { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-table-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.legal-table th {
  text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--dim); background: var(--panel); padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.legal-table td { padding: 10px 14px; vertical-align: top; color: var(--text); border-top: 1px solid var(--divider); }
.legal-table tbody tr:first-child td { border-top: none; }
.legal-table td:first-child { width: 32%; }
.legal-todo { background: rgba(232, 163, 61, 0.16); color: var(--amber); border-radius: 3px; padding: 0 3px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  .legal-body { gap: 24px; }
  .legal-sec h2 { font-size: 18px; }
  .legal-sec p, .legal-list { font-size: 14.5px; }
  /* Tables become stacked cards: each cell on its own line, under its column's name. */
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 10px 14px; border-top: 1px solid var(--divider); }
  .legal-table tbody tr:first-child { border-top: none; }
  .legal-table td { display: block; width: auto !important; padding: 2px 0; border: none; }
  .legal-table td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
}

/* ==================== The website in the game's style (2026-10-06) ====================
   Everything below re-skins the rules above to match the game's frame: Rajdhani for titles,
   labels and buttons, Exo 2 for text, glass panels with cut corners, the cyan call to action and
   a deep-space background. Remove this block to go back to the earlier look. */
:root {
  --sans: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Rajdhani', 'Exo 2', system-ui, sans-serif;
  --display: 'Rajdhani', 'Exo 2', system-ui, sans-serif;
  --bg: #04060b;
  --panel: rgba(12, 18, 28, 0.9);
  --inner: rgba(4, 7, 12, 0.5);
  --line: rgba(120, 180, 235, 0.16);
  --line-2: rgba(120, 180, 235, 0.26);
  --line-hi: rgba(79, 195, 247, 0.55);
  --divider: rgba(120, 180, 235, 0.09);
  --cut: 12px;
  --chamfer: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
body {
  background-color: #04060b;
  background-image:
    radial-gradient(ellipse 1100px 700px at 50% 0%, rgba(40, 90, 150, 0.16), transparent 70%),
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 33% 64%, rgba(207,232,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 52% 14%, rgba(255,255,255,0.7), transparent), radial-gradient(1px 1px at 68% 78%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 81% 34%, rgba(191,224,255,0.6), transparent), radial-gradient(1.5px 1.5px at 92% 58%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,0.5), transparent), radial-gradient(1px 1px at 44% 44%, rgba(159,211,255,0.5), transparent);
  background-attachment: fixed;
}
::selection { background: rgba(79, 195, 247, 0.35); color: #fff; }

/* ---- Titles and labels ---- */
.front-h1, .page-h1, .h2-big, .card-title, .uni-name, .join-card h2, .qa h3, .auth-closed-title, .acct-title, .shot-title, .reward-title, .invite-banner-title {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.5px;
}
.front-h1 { font-size: 50px; line-height: 1.02; letter-spacing: 0.5px; text-shadow: 0 0 30px rgba(79, 195, 247, 0.25), 0 2px 14px rgba(0, 0, 0, 0.8); }
.page-h1 { font-size: 36px; letter-spacing: 4px; text-transform: uppercase; }
.h2-big { font-size: 38px; line-height: 1.05; }
.card-title, .uni-name { font-size: 26px; line-height: 1.1; }
.join-card h2 { font-size: 30px; line-height: 1.1; }
.qa h3 { font-size: 19px; }
.shot-title { font-size: 18px; }
.acct-title { font-size: 19px; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; }
.kicker, .mini-label, .label, .panel-strip { font-family: var(--display); font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.kicker { font-size: 13px; color: var(--blue); }
.mini-label { font-size: 12px; color: #8fa0b4; }
.label { font-size: 12.5px; color: #9fb0c3; }
.panel-strip {
  padding: 14px 18px; font-size: 15px; color: #e7f1fb; letter-spacing: 2.2px;
  background: linear-gradient(90deg, rgba(79, 195, 247, 0.1), transparent 60%); border-bottom-color: var(--line);
}

/* ---- Buttons ---- */
.btn {
  height: 46px; border-radius: 0; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, filter 0.15s, transform 0.08s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #5fd3ff, #1f8fd0); color: #021018; font-size: 15px; letter-spacing: 2.2px; box-shadow: 0 0 22px rgba(79, 195, 247, 0.35); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(180deg, #7fdcff, #2aa0e0); color: #021018; filter: brightness(1.05); }
.btn-outline { background: linear-gradient(180deg, rgba(79, 195, 247, 0.16), rgba(79, 195, 247, 0.05)); border-color: rgba(79, 195, 247, 0.55); color: #bfe9ff; }
.btn-outline:hover:not(:disabled) { background: linear-gradient(180deg, rgba(79, 195, 247, 0.3), rgba(79, 195, 247, 0.1)); color: #fff; border-color: var(--blue); }
.btn-secondary { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: #c9d5e2; }
.btn-secondary:hover:not(:disabled) { background: rgba(79, 195, 247, 0.08); border-color: var(--line-hi); color: #fff; }
.btn-danger { background: linear-gradient(180deg, rgba(226, 87, 76, 0.16), rgba(226, 87, 76, 0.05)); border-color: rgba(226, 87, 76, 0.6); color: #ff8b80; }
.btn-danger:hover:not(:disabled) { background: linear-gradient(180deg, rgba(226, 87, 76, 0.3), rgba(226, 87, 76, 0.1)); color: #fff; }
.btn-block { min-height: 50px; }
.link-btn, .text-link, .back-link { font-family: var(--display); font-weight: 600; letter-spacing: 0.5px; }

/* ---- Inputs ---- */
.input {
  border-radius: 0; background: rgba(0, 0, 0, 0.38); border: 1px solid rgba(120, 180, 235, 0.24); color: #fff;
  font-family: var(--sans); font-size: 15px; height: 46px;
}
.input:hover { border-color: rgba(120, 180, 235, 0.4); }
.input:focus, .input:focus-visible { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), 0 0 16px rgba(79, 195, 247, 0.22); }
.input-mono { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 1.5px; }

/* ---- Panels and cards: glass with cut corners and a lit corner line ---- */
.panel, .card, .auth-box, .uni-card, .qa, .join-card, .shot, .acct-box, .empty-card {
  position: relative; border-radius: 0; border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  clip-path: var(--chamfer);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--line-hi) calc(50% - 1px), var(--line-hi) calc(50% + 0.5px), transparent calc(50% + 0.5px)) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(90deg, var(--line-hi), transparent) var(--cut) 0 / 90px 1px no-repeat,
    linear-gradient(180deg, var(--line-hi), transparent) 0 var(--cut) / 1px 60px no-repeat,
    linear-gradient(180deg, rgba(14, 21, 32, 0.92), rgba(9, 14, 22, 0.92));
}
.acct-box { background: rgba(4, 7, 12, 0.5); }
.panel.danger, .acct-box.danger { border-color: rgba(226, 87, 76, 0.5); background: linear-gradient(90deg, rgba(226, 87, 76, 0.12), rgba(9, 14, 22, 0.9) 55%); }
.qa.wide, .join-card.cta { border-color: rgba(79, 195, 247, 0.5); }

/* ---- The header and footer, like the game's HUD ---- */
.site-header { background: linear-gradient(180deg, rgba(8, 12, 20, 0.96), rgba(8, 12, 20, 0.84)); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.logo-link img { width: 190px; filter: drop-shadow(0 0 12px rgba(79, 195, 247, 0.3)); }
.site-nav a { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #8fa0b4; }
.site-nav a:hover { color: #fff; }
.site-nav a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--blue); text-shadow: 0 0 12px rgba(79, 195, 247, 0.5); }
.header-user { font-family: var(--display); font-weight: 600; font-size: 14.5px; letter-spacing: 0.4px; }
.header-user .who b { font-weight: 700; }
.header-user a:not(.btn) { font-family: var(--display); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; }
.site-header a.header-plain { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
.site-footer { background: rgba(5, 8, 13, 0.92); border-top-color: var(--line); }
.site-footer a { font-family: var(--display); font-weight: 600; letter-spacing: 0.6px; text-decoration: none; color: #8fa0b4; }
.site-footer a:hover { color: #fff; }
.banner { border-bottom-color: var(--line); position: relative; }
.banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(0deg, #04060b, transparent); pointer-events: none; }
.menu-pop { border-radius: 0; background: rgba(9, 14, 22, 0.97); border-color: var(--line); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.menu-pop a, .menu-pop button { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.5px; }

/* ---- Small markers ---- */
.pill, .badge, .charter-badge, .you-tag {
  border-radius: 0; font-family: var(--display); font-weight: 700; letter-spacing: 1.6px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); padding-left: 10px; padding-right: 10px;
}
.pill { font-size: 12.5px; }
.badge { font-size: 12px; }
.badge.green { background: rgba(87, 196, 107, 0.1); }
.badge.blue { background: rgba(79, 195, 247, 0.1); }
.badge.amber, .pill.amber { background: rgba(232, 163, 61, 0.1); }
.toast { border-radius: 0; background: rgba(9, 14, 22, 0.97); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); font-family: var(--sans); }

/* ---- Front page ---- */
.pitch-points p { font-size: 17px; }
.pitch-points strong { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.5px; color: #fff; }
.auth-tabs { gap: 0; padding: 14px 16px; border-bottom-color: var(--line); }
.auth-tab {
  border-radius: 0; height: 44px; background: rgba(4, 7, 12, 0.5); border: 1px solid var(--line); color: #8fa0b4;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase;
}
.auth-tab + .auth-tab { border-left: none; }
.auth-tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(79, 195, 247, 0.26), rgba(79, 195, 247, 0.08)); border-color: rgba(79, 195, 247, 0.55); color: #fff; box-shadow: inset 0 -2px 0 var(--blue); }
.band { border-top-color: var(--line); }
.band-inside, .band-join { background: linear-gradient(180deg, rgba(10, 16, 26, 0.7), rgba(6, 9, 15, 0.7)); }
.band-features, .band-questions { background: transparent; }
.band-story { background: radial-gradient(ellipse 70% 80% at 25% 50%, rgba(40, 90, 150, 0.14), transparent 70%), rgba(4, 6, 11, 0.7); }
.shot { transition: transform 0.2s ease, border-color 0.2s ease; }
.shot:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.shot img { border-bottom-color: var(--line); }
.feature-media img.framed { border-radius: 0; border-color: var(--line); clip-path: var(--chamfer); }
.story-text p.story-note { border-top-color: var(--line); }
.community-links .btn[aria-disabled="true"] { opacity: 0.75; }

/* ---- Universe list ---- */
.uni-card { background-color: transparent; }
.uni-head {
  position: relative; padding: 22px 20px 16px; border-bottom-color: var(--line); overflow: hidden;
  background: linear-gradient(90deg, rgba(6, 10, 17, 0.96) 0%, rgba(6, 10, 17, 0.72) 50%, rgba(6, 10, 17, 0.35)), url(/assets/hd-galaxy.webp) center 40% / cover;
}
.uni-name { font-size: 32px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.uni-meta { font-family: var(--display); font-weight: 600; font-size: 14px; color: #b8c6d6; }
.uni-line { font-family: var(--display); font-weight: 600; font-size: 14px; }
.uni-box { border-radius: 0; background: rgba(4, 7, 12, 0.55); border-color: var(--line); border-left: 3px solid var(--blue); }
.uni-box .big { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; }
.set-row { border-bottom-color: var(--divider); font-size: 14px; }
.set-row .v { font-family: var(--display); font-weight: 700; font-size: 16px; }
.uni-wait { border-radius: 0; font-family: var(--display); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.reward { border-radius: 0; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); background: linear-gradient(90deg, rgba(232, 163, 61, 0.16), rgba(232, 163, 61, 0.03)); }
.reward-title { font-size: 18px; color: #ffc65a; }

/* ---- Account ---- */
.acct-box-head { border-bottom-color: var(--divider); background: linear-gradient(90deg, rgba(79, 195, 247, 0.08), transparent 60%); }
.acct-row { border-bottom-color: var(--divider); }
.acct-row-text b, .acct-row strong { font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; }
.invite-count { border-radius: 0; }
.invite-count-num .n { font-family: var(--display); font-weight: 700; font-size: 52px; text-shadow: 0 0 22px rgba(79, 195, 247, 0.45); }
.invite-banner { border-radius: 0; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }

/* ---- Rankings ---- */
.rank-table th { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 1.8px; color: #8fa0b4; border-bottom-color: var(--line); }
.rank-table td { border-bottom-color: var(--divider); font-size: 15px; }
.rank-table .num, .rank-table .rank { font-family: var(--display); font-weight: 700; font-size: 16px; }
.rank-table tbody tr:hover td { background: rgba(79, 195, 247, 0.04); }

/* ---- Legal pages ---- */
.legal-toc { border-radius: 0; }
.legal-sec h2, .legal-main h1 { font-family: var(--display); font-weight: 700; letter-spacing: 0.6px; }

/* ---- Motion ---- */
@media (prefers-reduced-motion: no-preference) {
  #app > main { animation: site-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
}
@keyframes site-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 640px) {
  .front-h1 { font-size: 36px; }
  .page-h1 { font-size: 26px; letter-spacing: 3px; }
  .h2-big { font-size: 30px; }
  .uni-name { font-size: 26px; }
}

/* ==================== The 2026-10 redesign: cinematic front page, game-style pages ====================
   A full-bleed animated hero (key art, drifting stars, the listening station's radio rings and the
   hydrogen line's trace), feature bands on the game's own art with small game-style panels, and every
   inner page under a picture band like the game's page heads. New pages: news, the backers' walls,
   public player profiles. */
:root {
  --orange: #ff8a3d;
  --teal: #3fd6c4;
  --gold: #f0c95c;
  --head-h: 68px;
}
.wrap { max-width: 1240px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(5, 8, 14, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.site-header.over { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(3, 5, 10, 0.7), rgba(3, 5, 10, 0)); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.over.solid { background: rgba(5, 8, 14, 0.92); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px); }
.site-header .wrap.head-row { min-height: var(--head-h); padding-top: 0; padding-bottom: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 28px; }
.logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; flex: none; }
.logo-link .logo-emblem { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(79, 195, 247, 0.45)); }
.logo-word { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 3.5px; text-transform: uppercase; color: #cfe6f7; }
.logo-word b { font-weight: 700; color: #fff; margin-left: 7px; text-shadow: 0 0 14px rgba(79, 195, 247, 0.6); }
.site-nav { gap: 6px; flex: 1; }
.site-nav .nav-link { position: relative; padding: 0 14px; min-height: var(--head-h); display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #9fb0c3; text-decoration: none; }
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link.on { color: #fff; box-shadow: none; text-shadow: 0 0 12px rgba(79, 195, 247, 0.5); }
.site-nav .nav-link.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.head-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.head-right .who { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.head-right .who-label { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #7c8a9a; }
.head-right .who b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.head-link { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #bfe9ff; text-decoration: none; }
.head-link:hover, .head-link.on { color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; letter-spacing: 1.4px; }
.btn-xl { height: 54px; padding: 0 30px; font-size: 16px; letter-spacing: 2.4px; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: #fff; border-radius: 0; }
.menu-pop { position: absolute; right: 12px; left: 12px; top: calc(var(--head-h) - 4px); padding: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 50; }
.menu-pop .pop-link { display: flex; align-items: center; min-height: 46px; padding: 0 12px; background: none; border: 0; text-align: left; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 1.4px; text-transform: uppercase; color: #cfe0f0; text-decoration: none; cursor: pointer; }
.menu-pop .pop-link.on { color: #fff; box-shadow: inset 3px 0 0 var(--blue); }
.menu-pop .btn-block { margin-top: 6px; }

/* ---- Footer ---- */
.site-footer { position: relative; background: linear-gradient(180deg, rgba(6, 10, 17, 0.96), #03050a); border-top: 0; }
.signal-rule { height: 2px; background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.7) 30%, rgba(127, 220, 255, 1) 62%, rgba(79, 195, 247, 0.7) 70%, transparent); box-shadow: 0 0 14px rgba(79, 195, 247, 0.5); }
.site-footer .wrap.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: start; gap: 28px 40px; padding-top: 44px; padding-bottom: 30px; }
.foot-brand p { margin: 14px 0 0; max-width: 360px; color: #8fa0b4; font-size: 14px; line-height: 1.6; }
.foot-freq { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px !important; letter-spacing: 2px; text-transform: uppercase; color: #7fdcff !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #57d68d; box-shadow: 0 0 10px #57d68d; flex: none; }
@media (prefers-reduced-motion: no-preference) { .dot { animation: hl-blink 2.4s ease-in-out infinite; } }
@keyframes hl-blink { 50% { opacity: 0.35; } }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-title { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.foot-col a { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.4px; color: #8fa0b4; text-decoration: none; }
.foot-col a:hover { color: #fff; }
.site-footer .wrap.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--divider); font-size: 13px; color: #6f7d8d; }

/* ---- Hero ---- */
.front { padding: 0; }
.hero { position: relative; min-height: max(720px, 100vh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; background: #03050a; }
.hero-art { position: absolute; inset: -16px -24px; z-index: -3; will-change: transform; }
.hero-art-img { position: absolute; inset: 0; background: url(/assets/site-hero.webp) 62% 50% / cover no-repeat; transform-origin: 35% 18%; }
@media (max-width: 900px) { .hero-art-img { background-image: url(/assets/site-hero-sm.webp); } }
@media (prefers-reduced-motion: no-preference) { .hero-art-img { animation: hero-drift 38s ease-in-out infinite alternate; } }
@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.94) 0%, rgba(3, 5, 10, 0.78) 30%, rgba(3, 5, 10, 0.2) 58%, rgba(3, 5, 10, 0) 75%),
    linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0) 22%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.55) 0%, rgba(3, 5, 10, 0) 18%); }
.hero-inner { padding-top: calc(var(--head-h) + 40px); padding-bottom: 120px; }
.hero-copy { max-width: 600px; display: flex; flex-direction: column; gap: 18px; }
.hero-logo { width: min(540px, 100%); height: auto; margin: 0 0 8px -6px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.8)); }
.front-h1 { margin: 0; font-size: 54px; line-height: 1.02; color: #fff; }
.hero-sub { margin: 0; font-size: 18px; line-height: 1.6; color: #c9d7e4; max-width: 560px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-free { margin: 0; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; color: #8fa0b4; }
.hero .auth-box { flex: none; position: relative; max-width: 470px; width: 100%; background-color: rgba(8, 13, 22, 0.86); backdrop-filter: blur(8px); }
.auth-tabs { display: flex; align-items: center; }
.auth-close { margin-left: 10px; width: 40px; height: 40px; flex: none; background: none; border: 1px solid var(--line); color: #9fb0c3; font-size: 22px; line-height: 1; cursor: pointer; }
.auth-close:hover { color: #fff; border-color: var(--line-hi); }
@media (prefers-reduced-motion: no-preference) { .hero .auth-box:not([hidden]) { animation: auth-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); } }
@keyframes auth-in { from { opacity: 0; transform: translateY(10px); } }
.hero-signal { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; border-top: 1px solid rgba(79, 195, 247, 0.22); background: linear-gradient(180deg, rgba(4, 7, 12, 0.35), rgba(4, 7, 12, 0.85)); }
.sig-row { height: 100%; display: flex; align-items: center; gap: 22px; }
.sig-freq { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 2px; color: #fff; text-shadow: 0 0 12px rgba(79, 195, 247, 0.6); white-space: nowrap; }
.sig-freq small { font-size: 13px; color: #7fdcff; margin-left: 6px; letter-spacing: 2px; }
.sig-wave { flex: 1; height: 54px; min-width: 0; }
.sig-state { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: #9fe9b9; white-space: nowrap; }

/* ---- At a glance ---- */
.glance-strip { position: relative; z-index: 2; margin-top: -1px; background: rgba(6, 10, 17, 0.96); border-bottom: 1px solid var(--line); }
.glance-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.glance { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid var(--divider); }
.glance:last-child { border-right: 0; }
.glance-icon { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #7fdcff; background: rgba(79, 195, 247, 0.08); border: 1px solid rgba(79, 195, 247, 0.3); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.glance > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.glance b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.6px; color: #fff; }
.glance > span:last-child > span { font-size: 13.5px; color: #8fa0b4; }

/* ---- Section heads ---- */
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.section-head .h2-big, .section-head h2 { margin: 0; }
.h2-big { font-size: 44px; line-height: 1.04; color: #fff; margin: 0; }
.h2-huge { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: 1px; color: #fff; margin: 0; text-shadow: 0 0 40px rgba(79, 195, 247, 0.3); }

/* ---- A look inside ---- */
.inside { padding: 96px 0 90px; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(40, 90, 150, 0.16), transparent 70%); }
.viewer { max-width: 1080px; margin: 0 auto; }
.viewer-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-bottom: 16px; }
.viewer-tab { height: 44px; padding: 0 20px; background: rgba(4, 7, 12, 0.6); border: 1px solid var(--line); margin-left: -1px; color: #8fa0b4; font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; }
.viewer-tab:hover { color: #fff; }
.viewer-tab[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, rgba(79, 195, 247, 0.26), rgba(79, 195, 247, 0.08)); border-color: rgba(79, 195, 247, 0.55); box-shadow: inset 0 -2px 0 var(--blue); position: relative; z-index: 1; }
.viewer-screen { position: relative; aspect-ratio: 16 / 10; background: #05080e; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(10, 16, 26, 0.9), 0 0 0 7px var(--line), 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(79, 195, 247, 0.12); overflow: hidden; }
.viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 0.6s ease; }
.viewer-img.on { opacity: 1; }
.viewer-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.06); }
.viewer-bar i { display: block; height: 100%; width: 100%; background: var(--blue); box-shadow: 0 0 8px var(--blue); transform-origin: left; animation: viewer-bar 7s linear; }
@keyframes viewer-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.viewer-cap { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; text-align: center; }
.viewer-cap b { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.viewer-cap span { color: #9fb0c3; font-size: 15.5px; }

/* ---- Feature bands ---- */
.feat { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--divider); }
.feat-art { position: absolute; inset: 0; z-index: -2; }
.feat-img { position: absolute; top: 0; bottom: 0; left: 30%; right: 0; background-size: cover; background-repeat: no-repeat; }
.feat.flip .feat-img { left: 0; right: 30%; }
.feat-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #04060b 0%, #04060b 30%, rgba(4, 6, 11, 0.55) 46%, rgba(4, 6, 11, 0) 64%), linear-gradient(0deg, rgba(4, 6, 11, 0.7), transparent 30%), linear-gradient(180deg, rgba(4, 6, 11, 0.6), transparent 25%); }
.feat.flip .feat-art::after { background: linear-gradient(270deg, #04060b 0%, #04060b 30%, rgba(4, 6, 11, 0.55) 46%, rgba(4, 6, 11, 0) 64%), linear-gradient(0deg, rgba(4, 6, 11, 0.7), transparent 30%), linear-gradient(180deg, rgba(4, 6, 11, 0.6), transparent 25%); }
.feat-inner { width: 100%; display: flex; padding-top: 90px; padding-bottom: 90px; }
.feat.flip .feat-inner { justify-content: flex-end; }
.feat-text { max-width: 520px; }
.feat-text { display: flex; flex-direction: column; gap: 16px; }
.feat-text > p { margin: 0; font-size: 17px; line-height: 1.65; color: #c3d0dd; }
.feat-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.feat-points li { display: flex; gap: 10px; align-items: flex-start; color: #dfe8f1; font-size: 15.5px; }
.feat-points svg { color: var(--blue); margin-top: 3px; flex: none; }
.feat-card { width: 100%; max-width: 420px; margin-top: 10px; }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal.pre.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Game-style panels on the pictures */
.gp { background: rgba(8, 13, 22, 0.88); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.gp-title { padding: 11px 16px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #e7f1fb; background: linear-gradient(90deg, rgba(79, 195, 247, 0.16), transparent 70%); border-bottom: 1px solid var(--line); }
.gp-res { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--divider); }
.gp-res-name { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; }
.gp-res-name i { width: 9px; height: 9px; transform: rotate(45deg); }
.gp-res-bar { height: 5px; background: rgba(255, 255, 255, 0.06); }
.gp-res-bar i { display: block; height: 100%; }
.gp-res-rate { font-family: var(--display); font-weight: 700; font-size: 15px; color: #dfe8f1; }
.gp-queue { display: flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--divider); font-size: 14px; }
.gp-queue:last-child { border-bottom: 0; }
.gp-queue b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.gp-time { margin-left: auto; font-family: var(--display); font-weight: 700; color: #7fdcff; }
.gp-dim { color: #7c8a9a; font-size: 13.5px; }
.gp-stat { display: grid; grid-template-columns: 70px 70px 1fr; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--divider); font-size: 14px; color: #9fb0c3; }
.gp-stat b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; text-align: right; }
.gp-stat-bar { height: 5px; background: rgba(255, 255, 255, 0.06); }
.gp-stat-bar i { display: block; height: 100%; background: linear-gradient(90deg, #d9714f, #ffb07a); }
.gp-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gp-who b { font-size: 15px; }
.gp-gets { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 16px; color: #ffd27a; white-space: nowrap; text-align: right; }
.gp-charter { display: block; margin-top: 1px; font-size: 13px; letter-spacing: 0.3px; color: #8fd3f4; }
#exchange .gp-queue { align-items: center; }
#exchange .gp-title { background: linear-gradient(90deg, rgba(232, 163, 61, 0.2), transparent 70%); }
.gp-note { margin: 0; padding: 12px 16px; font-size: 13.5px; line-height: 1.55; color: #9fb0c3; }
.gp-result { padding: 14px 16px 6px; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 3px; text-transform: uppercase; color: #57d68d; text-shadow: 0 0 18px rgba(87, 214, 141, 0.5); }
.gp-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--divider); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.gp-sides > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; background: rgba(8, 13, 22, 0.95); }
.gp-sides b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.gp-loss { font-size: 13px; color: #ff8b80; }
.gp-moons { display: flex; align-items: center; gap: 12px; padding: 18px 16px 4px; }
.gp-moons img:first-child { filter: drop-shadow(0 0 12px rgba(255, 110, 40, 0.7)); }
.gp-arrow { color: #7fdcff; display: inline-flex; }
.gp-hexes { display: flex; gap: 6px; padding: 16px 16px 8px; }
.gp-hex { --hex: 58px; width: var(--hex); height: calc(var(--hex) * 1.1547); padding: 2px; background: linear-gradient(160deg, #7fdcff, #1f6fa0); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gp-hex span { display: block; width: 100%; height: 100%; background-size: 118%; background-position: 50% 30%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---- The story ---- */
.lore { position: relative; padding: 120px 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--divider); }
.lore-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 5, 10, 0.92) 0%, rgba(3, 5, 10, 0.6) 45%, rgba(3, 5, 10, 0.2) 100%), linear-gradient(0deg, #04060b, transparent 25%), linear-gradient(180deg, #04060b, transparent 25%), url(/assets/site-ghostfleet.webp) 60% 50% / cover no-repeat; }
.lore-inner { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 470px); justify-content: space-between; gap: 40px; align-items: center; }
.lore-text { display: flex; flex-direction: column; gap: 16px; }
.lore-text p { margin: 0; font-size: 17px; line-height: 1.7; color: #c3d0dd; }
.lore-text .story-note { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: #8fa0b4; font-style: italic; }
.lore-panel { background: rgba(4, 8, 14, 0.82); border: 1px solid rgba(255, 138, 61, 0.4); box-shadow: 0 0 40px rgba(255, 138, 61, 0.12); backdrop-filter: blur(6px); }
.lore-panel-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 138, 61, 0.25); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; color: #ffd2b0; }
.lore-panel-head .dot { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.lore-log { list-style: none; margin: 0; padding: 10px 0; }
.log-line { display: grid; grid-template-columns: 76px 72px 1fr; gap: 10px; padding: 8px 16px; font-size: 14.5px; transition: opacity 0.6s ease, transform 0.6s ease; }
.log-line.wait { opacity: 0; transform: translateX(-10px); }
.log-time { font-family: var(--display); font-weight: 700; color: #ffb27a; letter-spacing: 1px; }
.log-who { font-family: var(--display); font-weight: 700; color: #7c8a9a; letter-spacing: 1.4px; }
.log-text { color: #e4ecf4; }
.log-line:last-child .log-text { color: #ff9d6b; }

/* ---- News ---- */
.front-news { padding: 90px 0 70px; border-top: 1px solid var(--divider); background: linear-gradient(180deg, rgba(10, 16, 26, 0.6), rgba(4, 6, 11, 0)); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: rgba(9, 14, 22, 0.9); border: 1px solid var(--line); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: border-color 0.2s, transform 0.2s; }
.news-card:hover { border-color: var(--line-hi); transform: translateY(-3px); color: inherit; }
.news-art { position: relative; display: block; aspect-ratio: 16 / 8; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.news-kind { display: inline-block; padding: 4px 10px; font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; background: rgba(79, 195, 247, 0.16); color: #bfe9ff; border: 1px solid rgba(79, 195, 247, 0.5); }
.news-art .news-kind { position: absolute; left: 12px; top: 12px; background: rgba(4, 8, 14, 0.85); }
.news-kind.patch { color: #c9f0d6; border-color: rgba(87, 196, 107, 0.55); }
.news-kind.vote { color: #ffd2b0; border-color: rgba(255, 138, 61, 0.6); }
.news-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.news-date { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #7c8a9a; }
.news-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; color: #fff; }
.news-sum { font-size: 14.5px; line-height: 1.55; color: #9fb0c3; }
.news-vote-note { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--orange); }
.news-card.big { grid-column: 1 / -1; flex-direction: row; }
.news-card.big .news-art { flex: 1.3; aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); }
.news-card.big .news-body { flex: 1; justify-content: center; padding: 28px 30px; }
.news-card.big .news-title { font-size: 34px; }
.news-card.big .news-sum { font-size: 16px; }

/* ---- Questions ---- */
.front-faq { padding: 80px 0; border-top: 1px solid var(--divider); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq { background: rgba(9, 14, 22, 0.85); border: 1px solid var(--line); }
.faq[open] { border-color: rgba(79, 195, 247, 0.45); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: #7fdcff; transition: transform 0.2s; flex: none; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 18px 18px; font-size: 15.5px; line-height: 1.65; color: #b9c6d3; }

/* ---- Join ---- */
.front-join { position: relative; padding: 130px 0; overflow: hidden; isolation: isolate; text-align: center; border-top: 1px solid var(--divider); }
.front-join-art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 46% 52% at 50% 46%, rgba(4, 6, 11, 0.78), rgba(4, 6, 11, 0) 100%), linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0.45) 40%, rgba(4, 6, 11, 0.7) 100%), url(/assets/site-landfall.webp) center 55% / cover no-repeat; }
.front-join-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.join-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.join-cta-text { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: #d7e2ec; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.join-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.community { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.community-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---- Inner pages: the picture band at the top ---- */
.list-main.has-head { padding-top: 0; gap: 26px; }
.page-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); min-height: 250px; display: flex; align-items: flex-end; }
.page-head.tall { min-height: 340px; }
.page-head-art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.page-head-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 11, 0.95) 0%, rgba(4, 6, 11, 0.7) 45%, rgba(4, 6, 11, 0.35) 100%), linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0) 60%); }
.page-head-inner { display: flex; flex-direction: column; gap: 10px; padding-top: 48px; padding-bottom: 34px; }
.page-head .page-h1 { margin: 0; font-size: 46px; letter-spacing: 4px; color: #fff; text-shadow: 0 0 30px rgba(79, 195, 247, 0.25); }
.page-head .intro { font-size: 16px; color: #c3d0dd; }

/* ---- Universe list ---- */
.uni-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.uni-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.uni-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--head-h) + 18px); }
.side-card { display: flex; flex-direction: column; }
.commander-body { display: flex; align-items: center; gap: 14px; padding: 16px; }
.commander-body > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.commander-name { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; }
.side-card > .btn { margin: 0 16px 16px; width: auto; }
.side-news { display: flex; flex-direction: column; }
.side-news-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--divider); text-decoration: none; color: inherit; }
.side-news-item .news-kind { align-self: flex-start; font-size: 10.5px; padding: 2px 7px; }
.side-news-item b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.side-news-item:hover b { color: #bfe9ff; }
.side-card > .text-link { margin: 12px 16px 16px; }

/* ---- Account, tools, legal under the band ---- */
.account-main { padding-top: 0; }
.legal-main .legal-layout { padding-top: 6px; }

/* ---- Centred pages and the invite page: the key art, dimmed, behind the card ---- */
.center-main, .invite-main { position: relative; isolation: isolate; padding-top: 70px; padding-bottom: 90px; min-height: 70vh; }
.center-main::before, .invite-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0.7) 50%, rgba(4, 6, 11, 0.85) 100%), url(/assets/site-hero-sm.webp) 62% 40% / cover no-repeat; }
.invite-main { padding-top: calc(var(--head-h) + 50px); }

/* ---- News pages ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { height: 38px; padding: 0 16px; background: rgba(4, 7, 12, 0.6); border: 1px solid var(--line); color: #9fb0c3; font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { color: #fff; border-color: rgba(79, 195, 247, 0.55); background: linear-gradient(180deg, rgba(79, 195, 247, 0.24), rgba(79, 195, 247, 0.06)); }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.post-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 380px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.post-hero-art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 40%; }
.post-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0.55) 55%, rgba(4, 6, 11, 0.35) 100%); }
.post-hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 40px; padding-bottom: 34px; }
.post-hero-inner .post-title, .post-hero-inner .intro { max-width: 860px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #9fb0c3; }
.post-title { font-size: 52px; letter-spacing: 1px; text-transform: none; }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; gap: 40px; padding-bottom: 60px; }
.post-body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.75; color: #ccd8e4; }
.post-body > p { margin: 0; }
.post-point { padding: 16px 20px; background: rgba(9, 14, 22, 0.8); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.post-point h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.post-point p { margin: 0; font-size: 16px; }
.post-side { display: flex; flex-direction: column; gap: 14px; }
.vote-panel { margin-top: 8px; padding: 20px; background: rgba(12, 10, 8, 0.6); border: 1px solid rgba(255, 138, 61, 0.45); display: flex; flex-direction: column; gap: 10px; }
.vote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vote-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; }
.vote-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 16px; background: rgba(4, 7, 12, 0.7); border: 1px solid var(--line-2); color: #e4ecf4; font-family: var(--display); font-weight: 700; font-size: 16px; cursor: pointer; overflow: hidden; text-align: left; }
.vote-opt:disabled { cursor: default; }
.vote-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 138, 61, 0.14); }
.vote-opt.lead .vote-fill { background: rgba(255, 138, 61, 0.26); }
.vote-label, .vote-opt b { position: relative; }
.vote-opt b { color: #ffd2b0; }
.vote-note { margin: 4px 0 0; font-size: 14px; color: #9fb0c3; }

/* ---- Backers' walls ---- */
.wall-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.wall-tabs { display: flex; }
.wall-tab { height: 46px; padding: 0 22px; margin-left: -1px; background: rgba(4, 7, 12, 0.6); border: 1px solid var(--line); color: #9fb0c3; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; cursor: pointer; }
.wall-tab.firstSignal[aria-selected="true"] { color: #fff; border-color: rgba(255, 138, 61, 0.7); background: linear-gradient(180deg, rgba(255, 138, 61, 0.26), rgba(255, 138, 61, 0.06)); box-shadow: inset 0 -2px 0 var(--orange); position: relative; z-index: 1; }
.wall-tab.founder[aria-selected="true"] { color: #fff; border-color: rgba(63, 214, 196, 0.7); background: linear-gradient(180deg, rgba(63, 214, 196, 0.24), rgba(63, 214, 196, 0.06)); box-shadow: inset 0 -2px 0 var(--teal); position: relative; z-index: 1; }
.wall-count { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: #9fb0c3; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 26px; }
.wall-name { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(9, 14, 22, 0.85); border: 1px solid var(--line); text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 17px; transition: border-color 0.2s, background 0.2s; }
.wall-grid.firstSignal .wall-name:hover { border-color: rgba(255, 138, 61, 0.6); background: rgba(255, 138, 61, 0.06); color: #fff; }
.wall-empty { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; padding: 40px; text-align: center; border: 1px dashed rgba(63, 214, 196, 0.45); color: #9fb0c3; }
.wall-empty b { font-family: var(--display); font-size: 22px; color: #fff; }

/* ---- Hex portraits (as in the game) ---- */
.hexp { --hex: 64px; position: relative; display: inline-block; flex: none; width: var(--hex); height: calc(var(--hex) * 1.1547); padding: calc(var(--hex) * 0.05); background: linear-gradient(160deg, #9fdcff, #2b6c96); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexp-face { display: block; width: 100%; height: 100%; background-color: #0b121e; background-size: 115%; background-position: 50% 30%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexp.f-firstSignal { background: conic-gradient(from var(--spin, 0deg), #ff8a3d, #ffd2b0, #ff5a1f, #ffb36b, #ff8a3d); }
.hexp.f-founder { background: conic-gradient(from var(--spin, 0deg), #3fd6c4, #b9fff6, #1c8f84, #3fd6c4); }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) { .hexp.f-firstSignal, .hexp.f-founder { animation: hex-spin 6s linear infinite; } }
@keyframes hex-spin { to { --spin: 360deg; } }

/* ---- Player profile ---- */
.profile-main { padding-top: 0; gap: 0; }
.pp-banner { height: 380px; background-size: cover; background-position: center 45%; position: relative; border-bottom: 1px solid var(--line); }
.pp-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0.2) 60%, rgba(4, 6, 11, 0.45) 100%); }
.pp-head { position: relative; display: flex; align-items: flex-end; gap: 26px; margin-top: -110px; padding-bottom: 26px; }
.pp-head .hexp { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--pp-accent) 55%, transparent)); }
.pp-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; padding-bottom: 6px; }
.pp-title { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 2.4px; text-transform: uppercase; color: #bfe9ff; }
.pp-title.gold { color: var(--gold); text-shadow: 0 0 12px rgba(240, 201, 92, 0.5); }
.pp-name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 58px; line-height: 0.95; color: #fff; letter-spacing: 1px; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-badge { display: inline-block; padding: 3px 10px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.pf-badge.cyan { background: linear-gradient(90deg, rgba(79, 195, 247, 0.32), rgba(79, 195, 247, 0.14)); color: #bfeaff; }
.pf-badge.gold { background: linear-gradient(90deg, rgba(240, 201, 92, 0.42), rgba(240, 201, 92, 0.16)); color: #ffe7a3; }
.pf-badge.orange { background: linear-gradient(90deg, rgba(255, 138, 61, 0.42), rgba(255, 138, 61, 0.14)); color: #ffd2b0; }
.pf-badge.steel { background: linear-gradient(90deg, rgba(196, 214, 232, 0.4), rgba(196, 214, 232, 0.12)); color: #eef5fc; }
.pp-about { margin: 4px 0 0; max-width: 620px; color: #c3d0dd; font-size: 15.5px; }
.pp-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-bottom: 8px; }
.pp-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding-bottom: 60px; }
.pp-sec.wide { grid-column: 1 / -1; }
.pp-points { margin-left: auto; color: var(--gold); }
.panel-strip { display: flex; align-items: center; gap: 10px; }
.medal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--divider); }
.medal-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 14px; background: rgba(9, 14, 22, 0.96); text-align: center; }
.medal { width: 92px; height: 92px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 3px #0b121e, 0 0 0 6px var(--tier, #c9894f), 0 0 24px var(--tier, #c9894f); }
.medal-card.t1 { --tier: #c9894f; } .medal-card.t2 { --tier: #c7d3df; } .medal-card.t3 { --tier: #f0c95c; }
.medal-text { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; color: #9fb0c3; }
.medal-text b { font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; }
.medal-tier { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--tier); }
.pp-uni { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-bottom: 1px solid var(--divider); font-size: 15px; color: #c3d0dd; }
.pp-uni > b { font-family: var(--display); font-size: 22px; color: #fff; letter-spacing: 1.5px; text-transform: uppercase; }
.pp-uni b { color: #fff; }
.pp-hits { display: flex; flex-direction: column; }
.pp-hit { display: grid; grid-template-columns: 70px 1fr auto 130px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--divider); }
.pp-hit b { font-family: var(--display); font-size: 17px; color: #fff; }
.pp-res { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: #57d68d; }
.pp-val { font-family: var(--display); font-weight: 700; color: #ffb07a; }
.share-wrap { display: flex; gap: 24px; align-items: center; padding: 20px; flex-wrap: wrap; }
.share-text { flex: 1; min-width: 220px; color: #c3d0dd; }
.mono-line { font-family: var(--display); font-weight: 600; letter-spacing: 0.5px; word-break: break-all; }
.share-card { position: relative; width: 480px; max-width: 100%; aspect-ratio: 1200 / 630; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); flex: none; }
.share-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.share-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 11, 0.92) 10%, rgba(4, 6, 11, 0.35)); }
.share-in { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 16px; }
.share-id { display: flex; flex-direction: column; gap: 4px; }
.share-name { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: #fff; }
.share-stat { font-size: 12px; color: #c3d0dd; }
.share-card .pp-title { font-size: 11px; }
.share-logo { position: absolute; right: 4%; bottom: 5%; width: 26%; opacity: 0.95; }

/* ---- Phones and small windows ---- */
@media (max-width: 1080px) {
  .site-footer .wrap.foot-grid { grid-template-columns: 1fr 1fr; }
  .glance-row { grid-template-columns: 1fr 1fr; }
  .glance:nth-child(2) { border-right: 0; }
  .feat.flip .feat-inner { justify-content: flex-start; }
  .feat-img, .feat.flip .feat-img { left: 0; right: 0; opacity: 0.55; }
  .lore-inner, .faq-wrap, .uni-layout, .post-layout, .pp-grid { grid-template-columns: 1fr; }
  .uni-side { position: static; }
  .news-grid, .news-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --head-h: 60px; }
  .logo-word { font-size: 16px; letter-spacing: 2.6px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(var(--head-h) + 24px); padding-bottom: 100px; }
  .hero-shade { background: linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0.86) 45%, rgba(4, 6, 11, 0.45) 100%); }
  .hero-logo { margin-left: -4px; }
  .front-h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .btn-xl { height: 50px; padding: 0 20px; font-size: 14.5px; }
  .hero-ctas .btn { flex: 1 1 140px; }
  .hero-signal { height: 60px; }
  .sig-freq { font-size: 17px; }
  .sig-state { display: none; }
  .glance-row { grid-template-columns: 1fr; }
  .glance { border-right: 0; border-bottom: 1px solid var(--divider); padding: 14px 4px; }
  .h2-big { font-size: 32px; }
  .h2-huge { font-size: 40px; }
  .inside { padding: 60px 0; }
  .viewer-tab { padding: 0 12px; font-size: 12.5px; height: 40px; }
  .feat { min-height: 0; display: block; }
  .feat-art { position: relative; height: 230px; }
  #exchange .feat-art { height: 260px; }
  .feat-img, .feat.flip .feat-img { left: 0; right: 0; opacity: 1; }
  .feat-art::after, .feat.flip .feat-art::after { background: linear-gradient(0deg, #04060b 0%, rgba(4, 6, 11, 0) 45%), linear-gradient(180deg, rgba(4, 6, 11, 0.5), transparent 30%); }
  .feat-inner { padding-top: 6px; padding-bottom: 54px; }
  .lore, .front-join { padding: 70px 0; }
  .log-line { grid-template-columns: 64px 1fr; }
  .log-who { display: none; }
  .news-grid, .news-list { grid-template-columns: 1fr; }
  .news-card.big { flex-direction: column; }
  .news-card.big .news-art { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .news-card.big .news-title { font-size: 26px; }
  .page-head { min-height: 190px; }
  .page-head .page-h1 { font-size: 30px; letter-spacing: 2.4px; }
  .post-title { font-size: 34px; }
  .site-footer .wrap.foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .pp-banner { height: 220px; }
  .pp-head { flex-direction: column; align-items: flex-start; margin-top: -80px; gap: 14px; }
  .pp-name { font-size: 40px; }
  .pp-actions { align-items: flex-start; }
  .medal-row { grid-template-columns: 1fr; }
  .pp-hit { grid-template-columns: 50px 1fr; }
  .pp-hit .pp-val, .pp-hit .gp-dim { grid-column: 2; }
}


/* ================= The website for real (10 Oct) ================= */
/* The game's profile styles (/profile.css) use the game's names for these. */
:root { --f-display: var(--display); --f-body: var(--sans); --accent: var(--blue); --text-dim: var(--dim); --success: var(--green); --border-soft: var(--line); }
.pp-head .pf-hex { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--pp-accent) 55%, transparent)); }
.pp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-empty { margin: 0; padding: 18px; color: #9fb0c3; font-size: 15px; }
.pp-note { margin: 0; padding: 10px 18px 14px; color: var(--dim); font-size: 13.5px; border-top: 1px solid var(--divider); }
.medal-card .pf-medal { margin-bottom: 2px; }
.medal-card .medal-tier { color: var(--tier); }
.pp-hit { grid-template-columns: 64px minmax(0, 1fr) auto auto; }
.pp-res.draw { color: #e8a33d; }
.wall-name { color: #dfe8f1; }
span.wall-name { cursor: default; }
.commander-body .pp-badges { margin: 2px 0; }
.commander-foot { padding: 0 16px 16px; }
.commander-note { margin: 0; font-size: 13.5px; color: #9fb0c3; }
.vote-opt.mine { border-color: rgba(255, 138, 61, 0.75); }
.vote-yours { margin-left: 10px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb37a; }
.vote-note.is-error { color: #ff8b80; }
.vote-panel .btn-sm { align-self: flex-start; }
.sig-stats { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.6px; color: #9fb0c3; white-space: nowrap; }
.sig-stats b { font-weight: 700; color: #fff; margin-right: 2px; }
.sig-stat + .sig-stat { padding-left: 18px; border-left: 1px solid rgba(79, 195, 247, 0.25); }
.social-btn { display: inline-flex; align-items: center; gap: 9px; }
@media (max-width: 1100px) { .sig-stat:nth-child(3) { display: none; } }
@media (max-width: 760px) {
  .hero-signal { height: auto; min-height: 60px; }
  .hero-inner { padding-bottom: 124px; }
  .sig-row { flex-wrap: wrap; row-gap: 0; height: auto; padding-block: 6px 9px; }
  .sig-wave { height: 44px; }
  .sig-stats { order: 3; flex-basis: 100%; gap: 12px; font-size: 13px; }
  .sig-stat + .sig-stat { padding-left: 12px; }
  .sig-stat:nth-child(3) { display: inline; }
  .pp-hit { grid-template-columns: 50px minmax(0, 1fr); }
}


/* ---- Prices (/pricing), 10 Oct ---- */
.price-main { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 40px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.price-card { min-width: 0; }
.price-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.price-body h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.5px; color: #fff; }
.price-big { margin: 0; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--blue); }
.price-note { margin: 0; font-size: 14.5px; line-height: 1.6; color: #b9c6d4; }
.price-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.55; color: #d7e1ec; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.price-table th { text-align: left; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.price-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--divider); color: #d7e1ec; }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; color: #fff; font-family: var(--display); font-weight: 700; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }


/* ---- Rules (/rules) and Contact (/contact), 10 Oct ---- */
.rule-item { border: 1px solid var(--line); background: rgba(9, 14, 22, 0.85); margin-top: 10px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.rule-item summary { display: flex; gap: 14px; align-items: baseline; padding: 13px 16px; cursor: pointer; list-style: none; }
.rule-item summary::-webkit-details-marker { display: none; }
.rule-item summary svg { margin-left: auto; flex: none; color: var(--dim); transition: transform 0.15s; }
.rule-item[open] summary svg { transform: rotate(180deg); }
.rule-item[open] summary { border-bottom: 1px solid var(--divider); }
.rule-id { flex: none; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--blue); min-width: 34px; }
.rule-head { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; color: #b9c6d4; }
.rule-head b { font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; }
.rule-item ul { margin: 0; padding: 12px 16px 4px 66px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.55; color: #d7e1ec; }
.legal-body .rule-sanction, .rule-sanction { margin: 0; padding: 6px 16px 14px 66px; font-size: 13.5px; color: var(--dim); }
.rule-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; color: #d7e1ec; }
.contact-main { padding-top: 28px; padding-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact-card { min-width: 0; }
.contact-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.contact-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #b9c6d4; }
.contact-email { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--blue); word-break: break-all; }
.contact-topics { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-topics li { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.5; color: #b9c6d4; }
.contact-topics b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact-links .social-btn { justify-content: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .contact-email { font-size: 18px; word-break: normal; overflow-wrap: anywhere; } }
/* The top bar sticks, so the contents box sits below it and a linked section or rule (/terms#payments,
   /rules#r4) lands below it rather than under it. */
.legal-toc { top: calc(var(--head-h) + 20px); }
.legal-sec, .rule-item { scroll-margin-top: calc(var(--head-h) + 20px); }

/* ---- About us (/about) ---- */
.about-main { gap: 0; padding-bottom: 72px; }
.about-story { display: grid; grid-template-columns: minmax(0, 720px); padding-top: 56px; padding-bottom: 56px; }
.about-story-text { display: flex; flex-direction: column; gap: 16px; }
.about-story-text p { margin: 0; font-size: 17px; line-height: 1.7; color: #c3d0dd; max-width: 62ch; }
.about-story-text p.about-story-lead { font-size: 20px; line-height: 1.65; color: #e7eef6; }
.about-believe { display: flex; flex-direction: column; gap: 26px; padding-top: 56px; padding-bottom: 40px; border-top: 1px solid var(--divider); }
.about-lead { margin: 0; max-width: 64ch; font-size: 17px; line-height: 1.7; color: #c3d0dd; }
.about-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-promise { min-width: 0; }
.about-promise-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.about-promise-body p, .about-hello-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #b9c6d4; }
.about-small { font-size: 14px !important; }
.about-votes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-top: 16px; align-items: start; }
.about-steps { list-style: none; margin: 0; padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 12px; }
.about-steps li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.55; color: #d7e1ec; }
.about-step-n { flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: #04121b; background: var(--accent); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.about-vote-panel > .about-small { margin: 0; padding: 0 18px 18px 56px; }
.about-hello-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
@media (max-width: 1100px) { .about-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .about-story { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 36px; gap: 24px; }
  .about-believe { padding-top: 36px; }
  .about-votes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .about-promises { grid-template-columns: minmax(0, 1fr); } .about-story-text p.about-story-lead { font-size: 18px; } }

/* ---- Staying safe (/safety) ---- */
.safety-main { gap: 0; padding-bottom: 64px; }
.safety-section { padding-top: 44px; padding-bottom: 8px; }
/* Five cards: three across, then two wider ones, so none sits alone on a row. */
.safety-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.safety-cards > .safety-card { grid-column: span 2; }
@media (max-width: 900px) { .safety-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .safety-cards > .safety-card { grid-column: span 1; } }
@media (max-width: 600px) { .safety-cards { grid-template-columns: minmax(0, 1fr); } }
.safety-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-width: 0; }
.safety-card-icon { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); background: rgba(79,195,247,0.1); border: 1px solid rgba(79,195,247,0.35); }
.safety-card-body h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; }
.safety-card-body p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: #b9c6d4; }
.safety-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.safety-steps { list-style: none; margin: 0; padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 14px; }
.safety-steps li { display: flex; gap: 14px; align-items: flex-start; }
.safety-steps li > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.55; color: #b9c6d4; }
.safety-steps b { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; }
.safety-step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: #0a0d12; background: var(--blue); }
.safety-small { margin: 0; padding: 4px 18px 18px; font-size: 14px; color: var(--dim); }
.safety-help-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.safety-help-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #b9c6d4; }
.safety-support { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.safety-support li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14.5px; line-height: 1.5; }
.safety-support a { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--blue); }
.safety-phone { font-family: var(--mono); color: #fff; }
.safety-for { flex-basis: 100%; color: #9fb0c2; }
.safety-urgent { display: flex; align-items: center; gap: 8px; color: #ffcf7a !important; font-weight: 600; }
.safety-parents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.safety-parent { min-width: 0; }
.safety-parent-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.safety-parent-body p { margin: 0; font-size: 15px; line-height: 1.6; color: #b9c6d4; }
@media (max-width: 1100px) { .safety-parents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .safety-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .safety-parents { grid-template-columns: minmax(0, 1fr); } .safety-section { padding-top: 32px; } }
/* Birth month and year, and the sign-up form's safety note */
.birth-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; }
.input.select { appearance: auto; cursor: pointer; }
.form-note.safety-note { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.form-note.safety-note a { color: var(--blue); }


/* ================= Player votes: the bar above the header and the universe list's notice (12 Oct) ================= */
/* The bar sits above the header on every page while a vote is open, in the votes' orange (as on the
   news chips and the vote panel). Quiet once this account has voted. */
.vote-bar { position: relative; z-index: 41; background: linear-gradient(90deg, rgba(255, 138, 61, 0.22), rgba(255, 138, 61, 0.06) 55%, rgba(255, 138, 61, 0.12)), #0b0805; border-bottom: 1px solid rgba(255, 138, 61, 0.45); }
.vote-bar-row { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.vote-bar-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 40px; color: #e4ecf4; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 15.5px; letter-spacing: 0.3px; }
.vote-bar-link:hover { color: #fff; }
.vote-bar-tag { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #ffb37a; }
.vote-bar-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
@media (prefers-reduced-motion: no-preference) { .vote-bar-dot { animation: hl-blink 2.4s ease-in-out infinite; } }
.vote-bar-title { min-width: 0; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vote-bar-when { flex: none; color: #c9b4a2; white-space: nowrap; }
.vote-bar-when::before { content: "·"; margin-right: 14px; color: rgba(255, 138, 61, 0.7); }
.vote-bar-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 13.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #ffd2b0; }
.vote-bar-link:hover .vote-bar-go { color: #fff; }
.vote-bar-more { flex: none; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1px; color: #ffb37a; text-decoration: none; }
.vote-bar-x { flex: none; width: 32px; height: 32px; margin-right: -6px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: #c9b4a2; cursor: pointer; }
.vote-bar-x:hover, .vote-bar-x:focus-visible { color: #fff; }
.vote-bar.quiet { background: #070a10; border-bottom-color: var(--line); }
.vote-bar.quiet .vote-bar-tag { color: #8fd8a5; }
.vote-bar.quiet .vote-bar-title { font-weight: 600; color: #c3d0dd; }
.vote-bar.quiet .vote-bar-when { color: #7c8a9a; }
.vote-bar.quiet .vote-bar-when::before { color: #4a5868; }
.vote-bar.quiet .vote-bar-go { color: #9fb0c3; }
.vote-bar.quiet .vote-bar-x { color: #7c8a9a; }
/* The see-through header (front and invite pages) is fixed to the window: under the bar until it scrolls away. */
.site-header.over { top: var(--vote-bar-off, 0px); }
.vote-panel { scroll-margin-top: calc(var(--head-h) + 20px); }
@media (max-width: 640px) {
  .vote-bar-row { gap: 4px; align-items: flex-start; }
  .vote-bar-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag title title" "when when go"; gap: 2px 10px; padding: 8px 0; align-items: center; font-size: 14.5px; }
  .vote-bar-tag { grid-area: tag; font-size: 11px; letter-spacing: 1.6px; }
  .vote-bar-title { grid-area: title; }
  .vote-bar-when { grid-area: when; font-size: 13.5px; }
  .vote-bar-when::before { display: none; }
  .vote-bar-go { grid-area: go; font-size: 12.5px; letter-spacing: 1.4px; }
  .vote-bar-more { display: none; }
  .vote-bar-x { margin-top: 6px; }
}

/* The universe list: the open vote, first in the side column. */
.side-vote { border-color: rgba(255, 138, 61, 0.45); background: linear-gradient(180deg, rgba(255, 138, 61, 0.08), rgba(255, 138, 61, 0) 60%), var(--panel); }
.side-vote .panel-strip { display: flex; align-items: center; gap: 8px; color: #ffb37a; border-bottom-color: rgba(255, 138, 61, 0.3); }
.side-vote-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; }
.side-vote-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; color: #fff; }
.side-vote-sum { margin: 0; font-size: 14px; line-height: 1.55; color: #9fb0c3; }
.side-vote-when { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: 15px; color: #ffb37a; }
.side-vote-note { margin: 0; font-size: 13px; line-height: 1.5; color: #7c8a9a; }


/* ================= Turning planets on the public profile (an animated homeworld portrait, 12 Oct) ================= */
/* The canvas lies exactly over the still picture and fades in once its first frame is drawn (site.js addPlanetSpin). */
.site-spin { position: absolute; display: block; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
.site-spin.on { opacity: 1; }
.pp-banner { overflow: hidden; }

/* ================= The limited pack card on the universe list, and its buying window (16 Oct) ================= */
/* --pk-accent: the pack's colour (Signal Orange for First Signal), set by site.js. */
.side-pack { --pk-accent: #ff8a3d; border-color: color-mix(in srgb, var(--pk-accent) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--pk-accent) 9%, transparent), transparent 55%), var(--panel); }
.side-pack .panel-strip { display: flex; align-items: center; gap: 8px; color: #ffb37a; border-bottom-color: color-mix(in srgb, var(--pk-accent) 30%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--pk-accent) 14%, transparent), transparent 70%); }
.side-pack-when { margin-left: auto; font-size: 11px; letter-spacing: 1.6px; padding: 2px 7px; border: 1px solid color-mix(in srgb, var(--pk-accent) 55%, transparent); color: #ffb37a; }
.side-pack-art { position: relative; aspect-ratio: 16 / 9; background: #05070c center / cover no-repeat; display: flex; align-items: flex-end; }
.side-pack-art.short { aspect-ratio: auto; min-height: 112px; }
.side-pack-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 19, 0.96) 6%, rgba(8, 12, 19, 0.55) 45%, rgba(8, 12, 19, 0) 75%); pointer-events: none; }
.side-pack-hero { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 0 16px 12px; min-width: 0; }
.side-pack-hero .pf-hex { flex: none; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--pk-accent) 55%, transparent)); }
.side-pack-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.side-pack-name { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; letter-spacing: 1px; text-transform: uppercase; color: #fff; text-shadow: 0 0 18px color-mix(in srgb, var(--pk-accent) 45%, transparent); overflow-wrap: anywhere; }
.side-pack.mine .side-pack-name { text-transform: none; letter-spacing: 0; font-size: 21px; }
.side-pack-tag { font-size: 13px; color: #ffcfa8; }
.side-pack-body { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; }
.side-pack-sum { margin: 0; font-size: 13.5px; line-height: 1.55; color: #b9c6d4; }
.side-pack-thanks { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; color: #ffcfa8; }
.side-pack-price { display: flex; align-items: baseline; gap: 8px; }
.side-pack-price b { font-family: var(--display); font-weight: 700; font-size: 28px; color: #fff; }
.side-pack-price s { color: var(--dim); font-size: 15px; }
.side-pack-price span { font-size: 12.5px; color: var(--dim); }
.side-pack-note { margin: -4px 16px 14px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.side-pack-worn { display: flex; align-items: center; gap: 7px; margin: 0 16px 14px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #9fe0ad; }

/* The pack's button: the primary button's shape, in the pack's colour. */
.btn-pack { background: linear-gradient(180deg, #ffad6b, #e2621f); color: #1a0a02; border-color: transparent; letter-spacing: 1.8px; box-shadow: 0 0 22px rgba(255, 138, 61, 0.3); }
.btn-pack:hover:not(:disabled) { background: linear-gradient(180deg, #ffc08c, #f07330); color: #1a0a02; filter: brightness(1.04); }
.btn-pack svg { margin-left: 6px; }
.dlg-actions .btn-pack { padding: 0 18px; }

/* The buying window. */
dialog.dlg.pack-dlg-wrap { max-width: 600px; }
.pack-hero { position: relative; display: flex; align-items: center; gap: 16px; min-height: 150px; margin: -18px -17px 0; padding: 30px 20px 16px; background: #05070c center / cover no-repeat; isolation: isolate; }
.pack-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 9, 15, 0.9) 0%, rgba(6, 9, 15, 0.45) 60%, rgba(6, 9, 15, 0.2) 100%), linear-gradient(0deg, rgba(12, 18, 28, 1) 0%, rgba(12, 18, 28, 0) 50%); }
.pack-hero .pf-hex { flex: none; filter: drop-shadow(0 0 20px rgba(255, 138, 61, 0.5)); }
.pack-hero-kicker { position: absolute; top: 10px; left: 20px; font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: #ffb37a; }
.pack-hero-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pack-hero-id b { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; overflow-wrap: anywhere; }
.pack-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pack-items li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--divider); font-size: 14px; color: var(--secondary); }
.pack-items li:last-child { border-bottom: 0; }
.pack-items b { font-weight: 600; color: #fff; }
.pack-row-art { display: flex; }
.pack-row-badge { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.side-card > .side-pack-worn + .text-link { margin-top: 0; }
.pack-row-art.kind { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb37a; }
.pack-charter { display: inline-block; margin-right: 6px; padding: 1px 6px; border: 1px solid rgba(240, 201, 92, 0.55); font-family: var(--display); font-weight: 700; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: #f0c95c; }
.pack-addon { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line-2); background: var(--inner); }
.pack-addon-head { font-size: 13.5px; color: #fff; }
.pack-addon-head .dim { color: var(--dim); }
.pack-addon-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pack-addon-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 6px 4px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: #c9d5e2; font: inherit; font-size: 13px; cursor: pointer; }
.pack-addon-opt b { font-weight: 600; color: #fff; }
.pack-addon-opt .mono { font-size: 14px; }
.pack-addon-opt em { font-style: normal; font-size: 11.5px; color: #9fe0ad; }
.pack-addon-opt:hover { border-color: rgba(255, 138, 61, 0.6); }
.pack-addon-opt.on { border-color: #ff8a3d; background: rgba(255, 138, 61, 0.12); box-shadow: inset 0 0 0 1px #ff8a3d; }
.pack-lines { display: flex; flex-direction: column; border: 1px solid var(--line-2); background: var(--inner); }
.pack-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--divider); font-size: 14px; color: var(--secondary); }
.pack-lines em { margin-left: 8px; font-style: normal; font-size: 12px; color: #9fe0ad; }
.pack-lines s { color: var(--dim); }
.pack-lines .pack-total { border-bottom: 0; font-weight: 600; color: #fff; }
.pack-lines .pack-total .mono { font-size: 18px; }
.pack-when { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pack-when ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--secondary); }
.pack-when li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pack-when b { font-weight: 600; color: #fff; }
.pack-test { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border: 1px dashed rgba(255, 138, 61, 0.6); background: rgba(255, 138, 61, 0.05); font-size: 13.5px; color: var(--secondary); }
.pack-test-tag { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb37a; }
.pack-test > b { font-size: 26px; color: #fff; }
.pack-test .dlg-actions { align-self: stretch; }
.pack-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 8px; text-align: center; font-size: 13.5px; color: var(--secondary); }
.pack-wait b { font-size: 16px; color: #fff; }
.pack-dlg .side-pack-worn { margin: 0; align-self: center; }

@media (max-width: 560px) {
  .pack-addon-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-items li { grid-template-columns: 74px minmax(0, 1fr); }
  .pack-hero { min-height: 128px; }
}

/* ================= The front page as a star chart (17 Oct 2026) =================
   Chart 1 (the galaxy) lays out like any page. Charts 2 to 7 are composed scenes drawn at 1440 px
   wide (.ch-stage, absolute children) and scaled as one piece with --chart-s (site.js fitCharts);
   under 760 px each shows its .ch-stack instead. Labels are the starmap's boxes; lines are SVG.
   The earlier front-page styles above (.hero, .glance, .feat, .lore, .faq, .front-join, .viewer)
   are no longer used by the front page. */
:root { --chart-s: 1; --ch-cyan: #5cc8f5; --ch-cyan-soft: rgba(92, 200, 245, 0.55); --ch-amber: #f0a63a; --ch-line: rgba(92, 200, 245, 0.16); --ch-grid: rgba(120, 160, 200, 0.06); --ch-ink: #e6ebf2; --ch-muted: #9aa7b8; --ch-dim: #66748a; }
.front { background: #04060b; }
.chart { position: relative; overflow: hidden; border-top: 1px solid var(--ch-line); background-image: linear-gradient(var(--ch-grid) 1px, transparent 1px), linear-gradient(90deg, var(--ch-grid) 1px, transparent 1px); background-size: 120px 120px; }
.chart .ch-stars, .chart .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ch-wrap { position: relative; max-width: 1440px; margin: 0 auto; overflow: hidden; }
.ch-stage { position: relative; width: 1440px; transform-origin: top left; transform: scale(var(--chart-s)); }
.ch-stage > * { position: absolute; }
.ch-stage > .ch-lines { left: 0; top: 0; width: 1440px; height: 100%; }
.ch-lines svg { display: block; width: 100%; height: 100%; }
.ch-lines line, .ch-lines path, .ch-lines ellipse { stroke: var(--ch-cyan-soft); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.ch-lines .amber { stroke: var(--ch-amber); stroke-dasharray: 5 6; stroke-width: 1.4; }
.ch-lines .amber.solid { stroke-dasharray: none; stroke-width: 1; }
.ch-lines .orbit { stroke: rgba(255, 255, 255, 0.13); stroke-dasharray: 2 7; }
.ch-lines circle.pt { fill: #04060b; stroke: var(--ch-cyan-soft); stroke-width: 1; }
.ch-id { display: flex; align-items: center; gap: 14px; font: 500 12px var(--mono); letter-spacing: 2px; text-transform: uppercase; color: var(--ch-cyan); }
.ch-id::before { content: ""; width: 54px; height: 1px; background: var(--ch-cyan); opacity: 0.7; }
.ch-stage > .ch-id { left: 80px; top: 44px; }
.ch-readout { font: 500 12px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--ch-dim); text-align: right; }
.ch-readout b { color: var(--ch-muted); font-weight: 500; }
.ch-stage > .ch-readout { right: 80px; top: 44px; }
.ch-mk { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ch-cyan); transform: translate(-50%, -50%); box-shadow: 0 0 10px rgba(92, 200, 245, 0.5); position: absolute; }
.ch-mk::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ch-cyan); }
.ch-mk.amber { border-color: var(--ch-amber); box-shadow: 0 0 10px rgba(240, 166, 58, 0.5); }
.ch-mk.amber::after { background: var(--ch-amber); }
.ch-mk.big { width: 92px; height: 92px; border-width: 1px; box-shadow: none; opacity: 0.9; }
.ch-mk.big::after { display: none; }
.ch-lbl { padding: 7px 10px 8px; border: 1px solid var(--ch-cyan-soft); background: rgba(5, 9, 15, 0.88); max-width: 250px; position: absolute; }
.ch-lbl b { display: block; font: 700 13px/1.15 var(--display); letter-spacing: 1.8px; text-transform: uppercase; color: var(--ch-cyan); }
.ch-lbl span { display: block; font: 500 11.5px/1.5 var(--mono); color: var(--ch-muted); margin-top: 3px; }
.ch-lbl span i { font-style: normal; color: var(--ch-ink); }
.ch-lbl.amber { border-color: rgba(240, 166, 58, 0.6); }
.ch-lbl.amber b { color: var(--ch-amber); }
.ch-h1 { font-family: var(--display); font-weight: 700; font-size: 58px; line-height: 1.02; letter-spacing: -0.2px; color: #fff; margin: 0; text-wrap: balance; }
.ch-h2 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; color: #fff; margin: 0 0 12px; text-wrap: balance; }
.ch-h2.small { font-size: 40px; }
.ch-h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; color: #fff; margin: 0; }
.ch-copy p { font-size: 17px; line-height: 1.55; color: var(--ch-ink); margin: 0 0 0.9em; max-width: 540px; }
.ch-copy p.ch-p-small { font-size: 16px; }
.ch-copy p.ch-note { font-size: 14px; color: var(--ch-muted); font-style: italic; }
.ch-foot { font: 500 12px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ch-dim); }
.ch-planet { border-radius: 50%; object-fit: cover; display: block; }
.ch-planet.glow { box-shadow: 0 0 60px rgba(92, 200, 245, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.ch-inset { border: 1px solid rgba(255, 255, 255, 0.14); background: #000; }
.ch-inset img { width: 100%; height: auto; display: block; }
.ch-inset .cap { padding: 6px 10px; font: 500 11.5px var(--mono); color: var(--ch-dim); border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(5, 9, 15, 0.9); }
.ch-stack { display: none; }
.ch-lbls { display: grid; gap: 8px; margin: 14px 0; }
.ch-lbls .ch-lbl { position: static; max-width: none; }
.pill.grey { color: var(--muted); border-color: var(--line-2); }

/* ---- Chart 1: the galaxy ---- */
.ch-galaxy { padding-top: 64px; }
.ch-g-inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 0 20px; padding-top: 40px; padding-bottom: 16px; align-items: start; max-width: 1440px; }
.ch-status .sig-stats { font: 500 12.5px/1.9 var(--mono); color: var(--ch-muted); }
.ch-status .sig-stat + .sig-stat, .ch-signal .sig-stat + .sig-stat { border-left: 0; padding-left: 0; }
.ch-signal .sig-stats { font: 500 12.5px var(--mono); color: var(--ch-muted); gap: 0; }
.ch-g-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.ch-g-copy { position: relative; z-index: 2; padding-top: 10px; }
.ch-logo { width: 400px; max-width: 100%; height: auto; margin: 0 0 22px -6px; }
.ch-lead { font-size: 17px; line-height: 1.55; color: var(--ch-ink); margin: 18px 0 0; max-width: 520px; }
.ch-g-copy .hero-ctas { display: flex; gap: 14px; align-items: center; margin-top: 26px; }
.ch-g-copy .auth-box { margin-top: 22px; }
.ch-status { margin-top: 22px; font: 500 12.5px/1.9 var(--mono); color: var(--ch-muted); }
.ch-status .pill-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.ch-status .pill-note { color: var(--ch-muted); font-size: 12.5px; }
.ch-status .sig-stats { display: block; margin-top: 4px; }
.ch-status .sig-stat b, .ch-signal .sig-stat b { color: var(--ch-ink); font-weight: 500; }
.ch-status .sig-stat + .sig-stat::before, .ch-signal .sig-stat + .sig-stat::before { content: " · "; color: var(--ch-dim); }
.ch-g-art { position: relative; aspect-ratio: 1; width: 1000px; max-width: none; margin: -90px -220px -60px auto; justify-self: end; }
.ch-g-lean { position: absolute; inset: 0; will-change: transform; }
.ch-g-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; opacity: 0.95; display: block; }
.ch-g-art .ch-lines { position: absolute; inset: 0; }
.ch-g-labels { position: absolute; inset: 0; pointer-events: none; }
.ch-g-labels .ch-lbl { pointer-events: auto; }
.ch-g-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 10px; font: 500 12px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ch-dim); position: relative; z-index: 2; }

/* ---- The signal strip (the trace from the old hero) ---- */
.ch-signal { border-top: 1px solid var(--ch-line); border-bottom: 1px solid var(--ch-line); background: rgba(4, 6, 11, 0.92); position: relative; z-index: 2; }
.ch-signal .sig-row { display: flex; align-items: center; gap: 18px; height: 58px; font: 500 12.5px var(--mono); color: var(--ch-muted); }
.ch-signal .sig-freq { color: var(--ch-cyan); font-size: 15px; white-space: nowrap; }
.ch-signal .sig-freq small { font-size: 10px; margin-left: 4px; color: var(--ch-muted); }
.ch-signal .sig-wave { flex: 1 1 auto; min-width: 0; height: 36px; display: block; }
.ch-signal .sig-stats { white-space: nowrap; }
.ch-signal .sig-state { display: flex; align-items: center; gap: 8px; color: var(--green); white-space: nowrap; }
.ch-signal .sig-state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); display: inline-block; }

/* ---- Chart 2: the system ---- */
.ch-star { width: 96px; height: 96px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #fff 0 18%, #ffd79a 30%, rgba(240, 166, 58, 0.55) 48%, rgba(240, 166, 58, 0) 70%); box-shadow: 0 0 80px 20px rgba(240, 166, 58, 0.18); }
.ch-fleet { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--ch-amber); box-shadow: 0 0 12px var(--ch-amber); rotate: 45deg; }
#chart-system .ch-planet, #chart-system .ch-mk.big, #chart-system .ch-lbl { will-change: transform; }
#chart-system .ch-mk.big { transform: translate(-50%, -50%); }

/* ---- Chart 3: your planet ---- */
.ch-survey { display: flex; align-items: center; gap: 12px; width: 230px; }
.ch-survey img { width: 76px; height: 50px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 2px; flex: none; display: block; }
.ch-survey b { display: block; font: 700 15px/1.1 var(--display); letter-spacing: 0.6px; color: #fff; }
.ch-survey span { font: 500 11.5px var(--mono); color: var(--ch-muted); }
.ch-kinds-row { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.ch-kind { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }

/* ---- Chart 4: the ships ---- */
.ch-plates { display: grid; grid-template-columns: repeat(6, 200px); gap: 16px; }
.ch-plate img { width: 200px; height: 125px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 2px; display: block; }
.ch-plate b { display: block; margin-top: 10px; font: 700 19px/1.1 var(--display); letter-spacing: 0.6px; color: #fff; }
.ch-plate p { font-size: 12.5px; color: var(--ch-muted); line-height: 1.45; margin: 5px 0 0; }

/* ---- Chart 5: after a battle ---- */
.ch-seq { border-radius: 50%; object-fit: cover; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, 0.12); display: block; }
.ch-arrow { width: 1px; height: 46px; background: var(--ch-cyan-soft); transform: translateX(-50%); }
.ch-arrow::after { content: ""; position: absolute; left: -4px; bottom: -1px; border: 4px solid transparent; border-top: 7px solid var(--ch-cyan-soft); border-bottom: 0; }

/* ---- Chart 6: the Strike Group ---- */
.ch-hex { width: 96px; height: 96px; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); object-fit: cover; display: block; }
.ch-who b { display: block; font: 700 17px/1.1 var(--display); letter-spacing: 0.6px; color: #fff; }
.ch-who b span { color: var(--ch-dim); font-weight: 600; }
.ch-who > span { font: 500 11.5px var(--mono); color: var(--ch-muted); }

/* ---- Chart 7: the listening arrays ---- */
.ch-dark { background-image: none; background-color: #04060b; }
.ch-stage > .ch-bg { left: 0; top: 0; width: 1440px; height: 100%; object-fit: cover; opacity: 0.5; }
.ch-stage > .ch-shade { left: 0; top: 0; width: 1440px; height: 100%; background: linear-gradient(90deg, rgba(4, 6, 11, 0.92) 0, rgba(4, 6, 11, 0.5) 55%, rgba(4, 6, 11, 0.75) 100%); }
.ch-log { border: 1px solid var(--ch-cyan-soft); background: rgba(5, 9, 15, 0.9); width: 560px; }
.ch-log .head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--ch-line); font: 700 12px var(--display); letter-spacing: 2px; text-transform: uppercase; color: var(--ch-cyan); }
.ch-log .head i { width: 8px; height: 8px; border-radius: 50%; background: var(--ch-amber); box-shadow: 0 0 8px var(--ch-amber); }
.ch-log ol { list-style: none; margin: 0; padding: 6px 14px 10px; }
.ch-log li { display: grid; grid-template-columns: 70px 70px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font: 500 12.5px/1.5 var(--mono); color: var(--ch-ink); transition: opacity 0.6s; }
.ch-log li:last-child { border-bottom: 0; }
.ch-log li span:first-child { color: var(--ch-amber); }
.ch-log li span:nth-child(2) { color: var(--ch-dim); }
.ch-log li.lost span:last-child { color: var(--ch-amber); }
.ch-log li.wait { opacity: 0; }
.ch-spec { width: 560px; height: 150px; border: 1px solid var(--ch-line); background: rgba(5, 9, 15, 0.7); }
.ch-spec .tag { position: absolute; left: 10px; top: 8px; font: 500 11px var(--mono); letter-spacing: 1.4px; color: var(--ch-dim); text-transform: uppercase; }
.ch-spec canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- The status board ---- */
.ch-board-in { position: relative; padding-top: 60px; padding-bottom: 70px; }
.ch-board-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ch-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ch-table th { text-align: left; font: 500 11.5px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--ch-dim); padding: 0 12px 10px; border-bottom: 1px solid var(--ch-cyan-soft); }
.ch-table td { padding: 16px 12px; border-bottom: 1px solid var(--ch-line); vertical-align: middle; }
.ch-table td.u { color: #fff; font: 700 20px/1.1 var(--display); letter-spacing: 0.4px; }
.ch-table td.u small { display: block; font: 500 12px var(--mono); color: var(--ch-muted); letter-spacing: 0; margin-top: 4px; }
.ch-table td.n { font-family: var(--mono); color: var(--ch-ink); }
.ch-table td.act { text-align: right; }
.ch-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; margin-top: 44px; }
.ch-cols h3 { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; margin: 0 0 8px; }
.ch-cols p { font-size: 15px; line-height: 1.55; color: var(--ch-ink); margin: 0 0 0.8em; }
.ch-cols p.ch-p-small { font-size: 14px; color: var(--ch-muted); }
.ch-cols .join-cta { margin-top: 8px; }
.ch-cols .join-cta-text { display: none; }
.ch-cols .join-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ch-cols .join-cta-btns .btn-xl { height: 44px; padding: 0 18px; font-size: 13px; }
.ch-news { list-style: none; margin: 0 0 8px; padding: 0; }
.ch-news li { padding: 9px 0; border-bottom: 1px solid var(--ch-line); font-size: 15px; }
.ch-news li span { display: block; font: 500 11.5px var(--mono); color: var(--ch-dim); margin-bottom: 2px; }
.ch-news li a { color: #fff; }
.ch-talk { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--ch-line); }
.ch-talk-links { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.ch-talk-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--ch-ink); font: 600 14px var(--display); letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
.ch-talk-links a:hover { color: var(--ch-cyan); }

/* ---- The see-through header over chart 1 ---- */
.front .ch-galaxy { padding-top: 70px; }

@media (max-width: 1000px) {
  .ch-g-inner { grid-template-columns: 1fr; }
  .ch-g-art { width: 100%; max-width: 700px; margin: 10px auto 0; justify-self: center; }
  .ch-signal .sig-stats { display: none; }
}
@media (max-width: 760px) {
  .ch-wrap { display: none; }
  .ch-stack { display: block; position: relative; padding: 34px 0 40px; }
  .chart:not(.ch-galaxy) .ch-stack { padding-left: 16px; padding-right: 16px; }
  .ch-stack .ch-id { margin-bottom: 14px; }
  .ch-stack .ch-id::before { width: 28px; }
  .ch-stack .ch-h2 { font-size: 32px; }
  .ch-stack p { font-size: 16px; line-height: 1.55; color: var(--ch-ink); margin: 0 0 0.9em; }
  .ch-stack p.ch-note { font-size: 14px; color: var(--ch-muted); font-style: italic; }
  .ch-stack .ch-inset { margin: 18px 0; }
  .ch-planet-big { width: 70%; height: auto; margin: 18px auto; border-radius: 50%; display: block; }
  .ch-surveys { display: grid; gap: 10px; margin: 16px 0; }
  .ch-surveys .ch-survey { width: auto; }
  .ch-stack .ch-kinds { margin-top: 18px; }
  .ch-stack .ch-plates { grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
  .ch-stack .ch-plate img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .ch-stack .ch-plate b { font-size: 17px; }
  .ch-stack .ch-h3 { margin-top: 22px; }
  .ch-seqrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0; }
  .ch-seqrow img { width: 26%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
  .ch-seqrow i { color: var(--ch-cyan-soft); font-style: normal; font-size: 22px; }
  .ch-whos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
  .ch-whos .ch-hex { width: 100%; height: auto; aspect-ratio: 1; }
  .ch-stack .ch-log { width: auto; margin: 16px 0; }
  .ch-stack .ch-log li { grid-template-columns: 62px 1fr; }
  .ch-stack .ch-log li span:nth-child(2) { display: none; }
  .ch-galaxy .ch-g-head { flex-wrap: wrap; }
  .ch-h1 { font-size: 40px; }
  .ch-logo { width: 280px; }
  .ch-g-copy .hero-ctas { flex-wrap: wrap; }
  .ch-g-art { margin: 6px -16px 0; width: auto; max-width: none; }
  .ch-g-art .ch-lines, .ch-g-art .ch-mk { display: none; }
  .ch-g-labels { position: static; display: grid; gap: 8px; padding: 0 16px; }
  .ch-g-labels .ch-lbl { position: static; max-width: none; }
  .ch-g-art { display: flex; flex-direction: column; aspect-ratio: auto; }
  .ch-g-lean { position: relative; aspect-ratio: 1; }
  .ch-g-foot span:last-child { display: none; }
  .ch-table thead { display: none; }
  .ch-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--ch-line); }
  .ch-table td { padding: 0; border: 0; }
  .ch-table td.n::before { content: attr(data-l) " "; color: var(--ch-dim); font-size: 11px; }
  .ch-table td.act { grid-column: 1 / -1; text-align: left; }
  .ch-cols { grid-template-columns: 1fr; gap: 26px; }
  .ch-board-in { padding-top: 40px; padding-bottom: 50px; }
}
