:root {
  --bg: #07090d;
  --surface: #10141c;
  --surface-2: #181e2a;
  --line: #2a3344;
  --fg: #eef2f8;
  --muted: #8d98ab;
  --amber: #ff6a1a;
  --ink: #1a0c04;
  --win: #3dd68c;
  --loss: #ff5d6c;
  color-scheme: dark;
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100%; background: var(--bg); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.4; }
img { max-width: 100%; display: block; }
a { color: var(--amber); }
.display { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; letter-spacing: 0.04em; }
.muted { color: var(--muted); }
.amber { color: var(--amber); }
.win { color: var(--win); }
.loss { color: var(--loss); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.banner { width: 100%; border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); background: var(--surface); }
.pad { padding: 16px; }
h1 { margin: 0; font-size: 56px; line-height: 0.9; font-weight: 700; }
h2 { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
input {
  height: 48px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.btn.primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn.slim { height: 44px; }
.auth {
  min-height: 100vh;
  display: grid;
}
.auth-hero { display: none; position: relative; }
.auth-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-hero div { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; padding: 40px; background: rgba(7, 9, 13, 0.4); }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 32px 20px; }
.auth-form form, .auth-form .stack { width: min(440px, 100%); display: flex; flex-direction: column; gap: 12px; }
.steps { display: flex; gap: 8px; margin: 24px 0 16px; }
.steps span { flex: 1; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.steps span.on { border-color: var(--amber); color: var(--amber); }
.shell { min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.mark i { width: 32px; height: 32px; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-style: normal; }
.nav { display: flex; }
.nav button { height: 48px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-weight: 600; }
.nav button.on { color: var(--amber); background: var(--surface-2); }
.desk { display: none; }
.mobile-nav {
  position: fixed; inset: auto 0 0 0; z-index: 6;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg); border-top: 1px solid var(--line);
}
.main { padding: 20px 0 96px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--surface); padding: 12px 16px; }
.stats b { display: block; font-size: 36px; line-height: 1; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.slot { height: 80px; border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; font-size: 13px; }
.slot.filled { border-style: solid; background: var(--surface); }
.maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.map {
  position: relative; height: 84px; border: 1px solid var(--line); padding: 0; overflow: hidden; text-align: left; background: #000;
}
.map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.map span { position: absolute; left: 10px; bottom: 8px; font-weight: 700; }
.map.off { outline: 1px solid var(--line); }
.map.off img { opacity: 0.2; }
.map:not(.off) { outline: 1px solid var(--amber); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; min-width: 72px; border: 1px solid var(--line); background: transparent; }
.chip.on { border-color: var(--amber); color: var(--amber); }
.level { width: 64px; height: 64px; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-size: 36px; }
.hero {
  position: relative; height: 168px; overflow: hidden; border: 1px solid var(--line);
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: rgba(7, 9, 13, 0.72); display: flex; align-items: flex-end; gap: 16px; padding: 16px; }
.form { display: flex; gap: 8px; }
.form input { flex: 1; }
.list button {
  width: 100%; height: 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left;
}
.overlay {
  position: fixed; inset: 0; z-index: 20; background: rgba(7, 9, 13, 0.86);
  display: grid; place-items: center; padding: 16px;
}
.overlay .card { width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.score { display: flex; justify-content: space-between; align-items: flex-end; }
.score b { font-size: 72px; line-height: 0.8; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid var(--line); }
.alert { color: var(--loss); font-size: 14px; margin: 0; }
.note { font-size: 14px; color: var(--muted); }
@media (min-width: 800px) {
  .auth { grid-template-columns: 1fr 1fr; }
  .auth-hero { display: block; }
  .maps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .desk { display: flex; }
  .mobile-nav, .phone-mark { display: none; }
  .main { padding-bottom: 32px; }
  .two { grid-template-columns: 1.4fr 0.8fr; }
}
