/* Layout: a black stage. The sigil hangs over a crimson reflection, then the page runs down one 1160px column of quiet bands. */
:root {
  color-scheme: dark;
  --black: #000000;
  --charcoal: #0b0a0a;     /* raised panels */
  --line: #221e1e;         /* borders and rules */
  --silver: #dcd8d4;       /* main text */
  --ash: #9a9390;          /* secondary text */
  --crimson: #e0242c;      /* sigil and accents */
  --ember: #ff5a3c;        /* hot core of the glow */
  --blood: #5e0a0e;        /* deep fills */
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --col: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--black);
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--crimson); color: var(--black); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--col); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; }
h3 { font-family: var(--label); font-size: 22px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0; }
.eyebrow, .mini-label {
  font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--crimson);
}
.mini-label { color: var(--ash); letter-spacing: 0.24em; margin-bottom: 16px; }
.lead { font-size: 18px; color: var(--ash); max-width: 62ch; }
.muted { color: var(--ash); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font: 600 15px/1 var(--label); letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; background: none; color: var(--silver);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-red { background: var(--crimson); color: var(--black); }
.btn-red:hover { background: var(--ember); box-shadow: 0 0 28px rgba(224, 36, 44, .45); }
.btn-line { border-color: #3a3333; }
.btn-line:hover { border-color: var(--crimson); color: #fff; }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--silver); width: 44px; height: 44px; cursor: pointer; font-size: 16px; }
.icon-btn:hover { border-color: var(--crimson); }

/* Status chips */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line); color: var(--ash); white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status[data-s="in-development"] { color: var(--crimson); border-color: rgba(224, 36, 44, .4); }
.status[data-s="planned"] { color: var(--silver); }
.status[data-s="tbr"] { color: var(--ash); }

/* Header */
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(0, 0, 0, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
header.site.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 13px/1 var(--body); letter-spacing: 0.42em; color: var(--silver); white-space: nowrap; }
.mark-sm { width: 30px; height: 30px; color: var(--crimson); flex: none; filter: drop-shadow(0 0 6px rgba(224, 36, 44, .55)); }
nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
nav ul a { text-decoration: none; font: 600 14px/1 var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); padding: 8px 0; display: block; }
nav ul a:hover { color: var(--silver); }
.menu-btn { display: none; }
nav ul { align-items: center; }
.menu-sep { width: 1px; height: 18px; background: var(--line); }
.acct-btn {
  background: none; border: 1px solid #3a3333; color: var(--silver); cursor: pointer;
  font: 600 13px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 14px;
  transition: border-color .2s, background-color .2s, color .2s;
}
.acct-btn:hover { border-color: var(--crimson); color: #fff; }
.acct-signup { background: var(--crimson); border-color: var(--crimson); color: var(--black); }
.acct-signup:hover { background: var(--ember); border-color: var(--ember); color: var(--black); }
nav ul a[aria-current="page"] { color: var(--silver); }
nav ul a, .acct-btn { white-space: nowrap; }
@media (min-width: 1241px) and (max-width: 1560px) {
  nav ul { gap: 20px; }
  nav ul a { font-size: 13px; letter-spacing: 0.14em; }
  .acct-btn { padding: 9px 12px; font-size: 12px; letter-spacing: 0.16em; }
  .brand { letter-spacing: 0.3em; }
}
@media (max-width: 1240px) {
  .menu-sep { display: none; }
  nav ul li.acct { padding-top: 12px; }
  nav ul li.acct .acct-btn { width: 100%; min-height: 46px; font-size: 14px; }
}
@media (max-width: 1240px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: none; border: 1px solid var(--line); color: var(--silver); cursor: pointer;
    font: 600 13px/1 var(--label); letter-spacing: 0.22em; text-transform: uppercase;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; } .menu-icon::after { top: 5px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
  nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  nav ul.open { display: flex; }
  nav ul a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
}
@media (max-width: 380px) { .brand span { letter-spacing: 0.28em; font-size: 12px; } .menu-label { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--black); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-stage { position: relative; z-index: 1; display: grid; justify-items: center; padding-top: 56px; }
.sigil {
  position: relative; width: min(300px, 64vw); aspect-ratio: 1; max-width: 100%;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--crimson);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  --glow: 0.55;
}
.sigil svg {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 0 8px rgba(224, 36, 44, var(--glow))) drop-shadow(0 0 32px rgba(224, 36, 44, calc(var(--glow) * .6)));
  transition: filter .4s;
}
.sigil:hover { --glow: 0.85; }
.sigil-ring {
  position: absolute; inset: 16%; border-radius: 50%; border: 2px solid var(--crimson); opacity: 0; pointer-events: none;
}
.sigil.pulse .sigil-ring { animation: ring 1.1s ease-out; }
.sigil.pulse svg { animation: flare 1.1s ease-out; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes flare { 0% { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 60px rgba(255, 70, 60, .95)); } 100% { filter: drop-shadow(0 0 8px rgba(224, 36, 44, .55)) drop-shadow(0 0 32px rgba(224, 36, 44, .33)); } }

.floor {
  position: relative; width: 100%; height: 150px; margin-top: -24px;
  background:
    radial-gradient(38% 22% at 50% 30%, rgba(224, 36, 44, .55), transparent 70%),
    radial-gradient(70% 14% at 22% 52%, rgba(224, 36, 44, .35), transparent 70%),
    radial-gradient(60% 12% at 80% 64%, rgba(224, 36, 44, .3), transparent 70%),
    radial-gradient(90% 18% at 50% 86%, rgba(150, 12, 18, .4), transparent 75%);
  filter: blur(6px);
  animation: ripple 9s ease-in-out infinite alternate;
}
.beam {
  position: absolute; left: 50%; top: 0; width: 46px; height: 100%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 220, 210, .55), rgba(255, 90, 60, .25) 55%, transparent);
  filter: blur(14px);
}
@keyframes ripple { from { transform: scaleX(1); opacity: .85; } to { transform: scaleX(1.06); opacity: 1; } }

.hero-copy { display: grid; justify-items: center; text-align: center; gap: 0; margin-top: -40px; position: relative; }
.presents { display: grid; gap: 8px; font: 400 clamp(15px, 2.2vw, 22px)/1 var(--body); letter-spacing: 0.5em; color: var(--silver); padding-left: 0.5em; }
.presents small { font-size: 11px; letter-spacing: 0.6em; color: var(--ash); text-transform: uppercase; }
.wordmark {
  margin-top: 26px; font-family: var(--display); font-weight: 500;
  font-size: clamp(44px, 10.5vw, 128px); line-height: 1; letter-spacing: 0.16em; padding-left: 0.16em;
  background: linear-gradient(180deg, #f4f1ee 30%, #8e8784); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin-top: 18px; font: 600 14px/1 var(--label); letter-spacing: 0.6em; padding-left: 0.6em; text-transform: uppercase; color: var(--crimson); }
.hero-summary { margin-top: 28px; max-width: 54ch; color: var(--ash); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-foot {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px;
  padding-block: 56px 28px; font: 500 13px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash);
}
.prompt { display: inline-flex; align-items: center; gap: 10px; }
.key { border: 1px solid #3a3333; padding: 5px 8px; font-size: 11px; color: var(--silver); }
.status-chip { display: inline-flex; align-items: center; gap: 10px; }
.status-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 10px var(--crimson); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Bands */
.band { padding-block: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: 52px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.col-text { display: grid; gap: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Facts */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 13px/1.6 var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); }
.facts dd { margin: 0; color: var(--silver); }
@media (max-width: 460px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* Survival */
.survival { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.round-display { position: sticky; top: 110px; display: grid; justify-items: end; gap: 6px; text-align: right; }
.round-num {
  font: 500 clamp(96px, 16vw, 200px)/0.9 var(--display); color: var(--crimson); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(224, 36, 44, .45);
}
.round-cap { font: 600 13px/1 var(--label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash); }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; gap: 10px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.pillar-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pillar p { color: var(--ash); max-width: 58ch; }
@media (max-width: 860px) {
  .survival { grid-template-columns: 1fr; }
  .round-display { position: static; justify-items: start; text-align: left; }
}

/* World */
.places { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.places li { border: 1px solid var(--line); padding: 10px 14px; font: 500 15px/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }

/* Operators */
.roster { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); border: 1px solid var(--line); }
.roster-tabs { display: grid; border-right: 1px solid var(--line); }
.op-tab {
  display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 16px; text-align: left;
  padding: 18px 22px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ash); cursor: pointer;
  font: 600 20px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; position: relative;
  transition: color .2s, background-color .2s;
}
.op-tab:last-child { border-bottom: 0; }
.op-tab:hover { color: var(--silver); background: var(--charcoal); }
.op-tab[aria-selected="true"] { color: var(--silver); background: var(--charcoal); }
.op-tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--crimson); box-shadow: 0 0 14px var(--crimson); }
.op-mono {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #3a3333;
  font: 500 20px/1 var(--display); letter-spacing: 0; color: var(--silver);
}
.op-tab[aria-selected="true"] .op-mono { border-color: var(--crimson); color: var(--crimson); }
.roster-panel { padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; align-content: start; min-height: 360px; position: relative; overflow: hidden; }
.roster-panel::after {
  content: attr(data-initial); position: absolute; right: -0.08em; bottom: -0.22em; pointer-events: none;
  font: 500 clamp(200px, 30vw, 360px)/1 var(--display); color: rgba(224, 36, 44, .07);
}
.op-name { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.op-line { font: 500 italic 22px/1.4 var(--body); color: var(--crimson); }
.op-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.op-bio { color: var(--ash); max-width: 56ch; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .roster { grid-template-columns: 1fr; }
  .roster-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .op-tab { grid-template-columns: 1fr; justify-items: center; padding: 14px 4px; border-bottom: 0; border-right: 1px solid var(--line); font-size: 11px; letter-spacing: 0.08em; gap: 8px; }
  .op-tab:last-child { border-right: 0; }
  .op-tab[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .op-mono { width: 38px; height: 38px; font-size: 17px; }
  .roster-panel { min-height: 0; }
}

/* Systems */
.systems { display: grid; gap: 28px; }
.sys-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.sys-tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ash); cursor: pointer;
  padding: 14px 20px; font: 600 15px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase;
}
.sys-tab:hover { color: var(--silver); }
.sys-tab[aria-selected="true"] { color: var(--silver); border-bottom-color: var(--crimson); }
.sys-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); padding-top: 12px; }
.sys-panel > div { min-width: 0; display: grid; gap: 18px; align-content: start; }
.sys-kicker { font: 600 14px/1 var(--label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--crimson); }
.sys-name { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.05; }
.sys-text { color: var(--silver); font-size: 18px; max-width: 54ch; }
.sys-foot { color: var(--ash); font-size: 14px; }
.sys-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sys-list li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.sys-list b { font: 600 16px/1.4 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.sys-list span { color: var(--ash); font-size: 15px; }
.sys-empty { border: 1px solid var(--line); padding: 28px; display: grid; place-items: center; min-height: 200px; }
.sys-empty svg { width: 120px; height: 120px; color: var(--blood); }
@media (max-width: 860px) { .sys-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sys-list li { grid-template-columns: 1fr; gap: 4px; } .sys-tab { padding: 12px 14px; font-size: 13px; } }

/* Modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mode { background: var(--black); padding: 34px 30px; display: grid; gap: 14px; align-content: start; transition: background-color .25s; }
.mode:hover { background: var(--charcoal); }
.mode h3 { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: 0.08em; }
.mode p { color: var(--ash); }
.mode .extra { color: var(--silver); font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
.platform-row { margin-top: 52px; }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platforms li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 10px 14px; font: 600 15px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; }
.platforms .status { border: 0; padding: 0; }
.controls-note { margin-top: 20px; color: var(--ash); max-width: 64ch; }

/* Ranked Play */
.formats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.format { background: var(--black); padding: 30px 26px; display: grid; gap: 8px; align-content: start; transition: background-color .25s; }
.format:hover { background: var(--charcoal); }
.format-vs { font: 500 clamp(44px, 5vw, 64px)/1 var(--display); color: var(--crimson); letter-spacing: 0.04em; text-shadow: 0 0 24px rgba(224, 36, 44, .35); }
.format-name { font: 600 20px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; }
.format-count { color: var(--ash); font-size: 15px; }
.race { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.race li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); }
.race li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 600 13px/1 var(--label); letter-spacing: 0.24em; color: var(--crimson);
}
.race li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--crimson); box-shadow: 0 0 10px var(--crimson); }
.race p { color: var(--ash); font-size: 15px; }
.ranked-rules { margin-top: 64px; }
@media (max-width: 1100px) { .format { padding: 26px 20px; } .format-count { font-size: 14px; } }
@media (max-width: 960px) {
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format:last-child { grid-column: 1 / -1; }
  .race { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 520px) { .race { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .format { padding: 22px 16px; } }

/* Studio */
.studio { background: radial-gradient(50% 80% at 18% 50%, rgba(94, 10, 14, .35), transparent 70%), var(--black); }
.studio-inner { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.studio-inner > div { display: grid; gap: 20px; min-width: 0; }
.mark-lg { width: 100%; max-width: 260px; aspect-ratio: 1; color: var(--crimson); filter: drop-shadow(0 0 20px rgba(224, 36, 44, .5)); }
.studio h2 { letter-spacing: 0.24em; }
@media (max-width: 760px) { .studio-inner { grid-template-columns: 1fr; } .mark-lg { max-width: 140px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-block: 22px; font: 600 19px/1.35 var(--label); letter-spacing: 0.08em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--crimson); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--ash); padding-bottom: 24px; max-width: 60ch; }

/* Community */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.links li { background: var(--black); }
.links a, .links .pending { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; text-decoration: none; font: 600 18px/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; }
.links a:hover { background: var(--charcoal); color: #fff; }
.links a::after { content: "↗"; color: var(--crimson); }
.links .pending { color: var(--ash); }
.links .pending small { font-size: 12px; letter-spacing: 0.2em; color: #6f6866; }
.contact { margin-top: 28px; color: var(--ash); }
.contact a { color: var(--silver); font-weight: 500; text-decoration: underline; text-decoration-color: var(--crimson); text-underline-offset: 4px; }
.contact a:hover { color: #fff; }
@media (max-width: 760px) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .links { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.foot { display: grid; gap: 16px; font-size: 14px; color: var(--ash); }
.foot-brand { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--body); letter-spacing: 0.42em; color: var(--silver); }
.disclaimer { max-width: 80ch; font-size: 13px; color: #7d7674; }

/* Overview dialog */
.overview {
  width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0;
  background: var(--charcoal); color: var(--silver); border: 1px solid var(--line);
}
.overview::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.ov-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.ov-head h2 { font-size: 22px; letter-spacing: 0.14em; }
.ov-body { margin: 0; padding: 24px; white-space: pre-wrap; font: 400 15px/1.7 var(--body); color: var(--silver); max-height: 58vh; overflow: auto; }
.ov-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line); }

.noscript { padding: 40px 16px; text-align: center; color: var(--ash); }

/* Footer links */
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; font: 600 13px/1.6 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); }
.foot-links a:hover { color: var(--silver); }

/* Forms (sign-up dialog, support, admin) */
.acct-dialog { width: min(520px, calc(100vw - 32px)); }
.dlg-body { padding: 24px; display: grid; gap: 16px; max-height: 70vh; overflow: auto; }
.dlg-lead { color: var(--ash); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font: 600 13px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--black); color: var(--silver);
  border: 1px solid #3a3333; border-radius: 0; font: 400 16px/1.4 var(--body);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--silver); font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--crimson); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--ash); }
.form-note a, .lead a, .legal-text a { color: var(--silver); text-decoration-color: var(--crimson); text-underline-offset: 3px; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 14px; border: 1px solid var(--line); font-size: 15px; }
.form-msg.ok { border-color: rgba(120, 200, 140, .5); color: #b9e6c4; }
.form-msg.err { border-color: rgba(224, 36, 44, .6); color: #ffb4ae; }
.btn:disabled { opacity: .6; cursor: progress; }
.form .btn { justify-self: start; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(40% 90% at 85% 50%, rgba(94, 10, 14, .35), transparent 70%), var(--black); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.page-hero-copy { display: grid; gap: 18px; min-width: 0; }
.page-title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.page-mark { width: clamp(120px, 18vw, 220px); }
@media (max-width: 640px) { .page-hero-inner { grid-template-columns: 1fr; } .page-mark { display: none; } }

/* Support topics */
.topics { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.topic {
  width: 100%; text-align: left; display: grid; gap: 4px; padding: 14px 16px; background: none; color: var(--silver);
  border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.topic b { font: 600 16px/1.2 var(--label); letter-spacing: 0.14em; text-transform: uppercase; }
.topic span { color: var(--ash); font-size: 14px; }
.topic:hover { border-color: #3a3333; background: var(--charcoal); }
.topic.on { border-color: var(--crimson); background: var(--charcoal); }
.support-form { border: 1px solid var(--line); padding: clamp(20px, 4vw, 36px); background: var(--charcoal); }

/* Account: header, dialogs */
li.acct { display: flex; gap: 8px; align-items: center; }
.acct-btn { text-decoration: none; display: inline-flex; align-items: center; }
.acct-me { max-width: 180px; overflow: hidden; text-overflow: ellipsis; border-color: var(--crimson); }
@media (max-width: 1240px) { li.acct .acct-btn { flex: 1; justify-content: center; } }
.social-block { display: grid; gap: 10px; }
.social-block .google-block { display: grid; }
.btn-steam { width: 100%; background: #1b2838; color: #e9eef3; gap: 12px; letter-spacing: 0.12em; border-color: #2a475e; }
.btn-steam:hover { background: #2a475e; color: #fff; }
.social-block .epic-block { display: grid; }
.social-block .epic-block[hidden] { display: none !important; }
.btn-epic { width: 100%; background: #2a2a2a; color: #f2f2f2; gap: 12px; letter-spacing: 0.12em; border-color: #444; }
.btn-epic:hover { background: #3a3a3a; color: #fff; }
.btn-google { width: 100%; background: #f4f1ee; color: #1b1b1b; gap: 12px; letter-spacing: 0.12em; }
.btn-google:hover { background: #fff; }
.divider { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; color: var(--ash); font: 600 12px/1 var(--label); letter-spacing: 0.24em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.link-btn { background: none; border: 0; padding: 0; color: var(--silver); font: inherit; text-decoration: underline; text-decoration-color: var(--crimson); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #fff; }
.field small { color: var(--ash); font-size: 13px; }

/* Account page */
.founder-pitch { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-pitch > div { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 640px) { .founder-pitch { grid-template-columns: 1fr; } .founder-pitch .mark-lg { max-width: 120px; } }
.account-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.founder-card {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; padding: 32px 28px;
  display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center;
  border: 1px solid rgba(224, 36, 44, .45);
  background: linear-gradient(180deg, #120607, #050303 60%, #000);
  box-shadow: 0 0 40px rgba(224, 36, 44, .12), inset 0 0 0 6px #000, inset 0 0 0 7px rgba(224, 36, 44, .25);
}
.founder-glow { position: absolute; inset: -20% -20% auto; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(224, 36, 44, .25), transparent 70%); pointer-events: none; }
.founder-mark { position: relative; width: 46%; filter: drop-shadow(0 0 14px rgba(224, 36, 44, .55)); margin-bottom: 8px; }
.founder-kicker { position: relative; font: 600 13px/1 var(--label); letter-spacing: 0.4em; padding-left: 0.4em; text-transform: uppercase; color: var(--crimson); }
.founder-no { position: relative; font: 500 clamp(40px, 6vw, 56px)/1 var(--display); color: var(--silver); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.founder-name { position: relative; font: 600 22px/1.2 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.founder-meta { position: relative; margin: 10px 0 0; display: flex; gap: 28px; justify-content: center; }
.founder-meta div { display: grid; gap: 4px; }
.founder-meta dt { font: 600 11px/1 var(--label); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ash); }
.founder-meta dd { margin: 0; font-size: 14px; color: var(--silver); }
.founder-foot { position: absolute; bottom: 18px; left: 0; right: 0; font: 500 11px/1 var(--label); letter-spacing: 0.3em; text-transform: uppercase; color: #6f6866; }
.account-settings { display: grid; gap: 20px; min-width: 0; }
.panel { border: 1px solid var(--line); background: var(--charcoal); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.panel-title { font-size: 22px; letter-spacing: 0.08em; }
.panel .btn { justify-self: start; }

/* Linked accounts */
.links-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.link-info { display: grid; gap: 4px; min-width: 0; }
.link-info b { font: 600 16px/1.2 var(--label); letter-spacing: 0.14em; text-transform: uppercase; }
.link-info span { color: var(--ash); font-size: 14px; overflow-wrap: anywhere; }
.link-row.on .link-info span { color: #b9e6c4; }
.link-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.link-row .btn { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.link-warn { color: var(--ash); font-size: 13px; max-width: 34ch; }

/* Legal text */
.legal-text { max-width: 760px; display: grid; gap: 16px; }
.legal-text h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 24px; }
.legal-text h3 { font-size: 18px; margin-top: 8px; }
.legal-text p, .legal-text li { color: var(--ash); }
.legal-text ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* Admin inbox */
.admin-login { max-width: 420px; }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-h { font-size: 26px; margin: 24px 0 16px; }
.admin-messages { display: grid; gap: 14px; margin-bottom: 40px; }
.admin-msg { border: 1px solid var(--line); padding: 20px; display: grid; gap: 10px; background: var(--charcoal); }
.admin-msg.done { opacity: .6; }
.admin-msg-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin-when { color: var(--ash); font-size: 13px; margin-left: auto; }
.admin-who { color: var(--ash); font-size: 15px; }
.admin-who a { color: var(--silver); }
.admin-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-msg .btn { justify-self: start; min-height: 40px; padding: 8px 16px; font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { font: 600 13px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
