:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #050506;
  --ink-2: #0a0a0c;
  --paper: #0e0e10;
  --paper-2: #151518;
  --rule: #e8c547;
  --rule-dim: rgba(232, 197, 71, 0.2);
  --ivory: #f5f2e8;
  --ivory-dim: #9a9486;
  --body: #d4cfc3;
  --red: #d23b4a;
  --gold: #e8c547;
  --navy: #4e7ab5;
  --up: #3dba7a;
  --down: #e05c5c;
  --blue: #5a8ec4;
  --cream: #151518;
  --title: #f7f4ea;
  --kicker: #e8c547;
  --ticker-bg: #000000;
  --ticker-fg: #f5f2e8;
  --ticker-sym: #e8c547;
  --ticker-up: #7dffa8;
  --ticker-down: #ff8b96;
  --map-void: #050506;
  --th-bg: #000000;
  --th-fg: #e8c547;
  --tool-bg: rgba(0, 0, 0, 0.72);
  --popup-bg: rgba(10, 10, 12, 0.96);
  --sheet: linear-gradient(180deg, #161618 0%, #0c0c0e 100%);
  --on-fg: #050506;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --flag-a: #d23b4a;
  --flag-b: #e8c547;
  --flag-c: #4e7ab5;
  --page-wash: radial-gradient(900px 420px at 50% -8%, rgba(232, 197, 71, 0.07), transparent 55%);
  --serif: "Newsreader", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --sans: "Oswald", "Segoe UI", sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --ink: #e8dcc4;
  --ink-2: #dfd0b4;
  --paper: #f3ead6;
  --paper-2: #faf3e4;
  --rule: #c9a227;
  --rule-dim: rgba(90, 62, 16, 0.16);
  --ivory: #1a1814;
  --ivory-dim: #5c5648;
  --body: #2c281f;
  --red: #b22234;
  --gold: #b8922a;
  --navy: #1e3a6e;
  --up: #1f7a4d;
  --down: #b22234;
  --blue: #2f5f9a;
  --cream: #faf3e4;
  --title: #1a1814;
  --kicker: #b22234;
  --ticker-bg: #0a0a0b;
  --ticker-fg: #f5f2e8;
  --ticker-sym: #e8c547;
  --ticker-up: #7dffa8;
  --ticker-down: #ffb3bc;
  --map-void: #050506;
  --th-bg: #1a1814;
  --th-fg: #e8c547;
  --tool-bg: rgba(0, 0, 0, 0.72);
  --popup-bg: rgba(250, 243, 228, 0.96);
  --sheet: linear-gradient(180deg, #faf3e4, #f3ead6);
  --on-fg: #0a0a0b;
  --shadow: 0 16px 36px rgba(40, 32, 16, 0.12);
  --flag-a: #b22234;
  --flag-b: #c9a227;
  --flag-c: #1e3a6e;
  --page-wash: linear-gradient(180deg, #f3ead6, #e8dcc4);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; max-width: 100vw; }
.desk { max-width: 100vw; overflow-x: hidden; }
body {
  background: var(--page-wash), var(--ink);
  color: var(--ivory);
  font-family: var(--serif);
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.desk {
  min-height: 100vh;
  width: 100%;
  padding: 0;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
  background: var(--ticker-bg);
  color: var(--ticker-fg);
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  padding: 0 1.2rem;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ticker-track span.sym { color: var(--ticker-sym); font-weight: 600; }
.ticker-track .up { color: var(--ticker-up); }
.ticker-track .down { color: var(--ticker-down); }
.ticker-wait { color: var(--ivory-dim); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Masthead — full width newspaper banner */
.masthead {
  position: relative;
  padding: 18px 28px 10px;
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
}
.masthead-top, .masthead-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ivory-dim);
  width: 100%;
  max-width: 100%;
}
.masthead-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.masthead-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.masthead-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 2px;
}
.brand-copy { text-align: center; width: 100%; }
.flag-rule {
  display: grid;
  grid-template-rows: 3px 2px 3px;
  gap: 3px;
  margin: 8px 0 6px;
}
.flag-rule i:nth-child(1) { background: var(--flag-a); }
.flag-rule i:nth-child(2) { background: var(--flag-b); }
.flag-rule i:nth-child(3) { background: var(--flag-c); }
.kicker {
  margin: 0;
  font-family: var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--kicker);
}
.brand-copy h1 {
  margin: 4px 0 2px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--title);
  text-shadow: 0 0 36px rgba(232, 197, 71, 0.12);
}
html[data-theme="light"] .brand-copy h1 { text-shadow: none; }
.motto {
  margin: 0;
  font-style: italic;
  color: var(--ivory-dim);
  font-size: 1.05rem;
}
.rule-flex { flex: 1; height: 1px; background: var(--rule-dim); }
.ghost {
  border: 1px solid var(--rule-dim);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ivory-dim);
}
.ghost:hover { border-color: var(--rule); color: var(--ivory); }
.theme-toggle {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #050506;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
}
.theme-toggle svg {
  display: block;
  flex: 0 0 auto;
}
.theme-toggle:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
html[data-theme="dark"] .theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .sun { display: none; }
.masthead-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Breaking strip */
.breaking {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 28px 8px;
}
.break-card {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--rule-dim);
  border-radius: 10px;
  padding: 14px 16px 16px;
  min-height: 118px;
  transition: border-color 0.2s, transform 0.2s;
}
.break-card:hover { border-color: var(--rule); transform: translateY(-1px); }
.break-card.is-lead { border-color: var(--red); box-shadow: inset 0 0 0 1px rgba(210, 59, 74, 0.4); }
.break-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--ivory-dim);
  margin-bottom: 8px;
}
.flag {
  color: var(--red);
  font-weight: 600;
}
.flag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
}
.break-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.28;
  color: var(--ivory);
}

/* Hero map + top stories */
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  padding: 12px 28px 8px;
}
.map-panel, .top-stories {
  background: var(--paper);
  border: 1px solid var(--rule-dim);
  border-radius: 14px;
  overflow: hidden;
}
.map-stage {
  position: relative;
  min-height: 420px;
  height: 420px;
  background: var(--map-void);
}
#globe,
#globe-overlay {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
#globe-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.globe-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.globe-tools button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--rule-dim);
  background: var(--tool-bg);
  color: var(--ivory);
  cursor: pointer;
  font-size: 16px;
}
.globe-tools button:hover { border-color: var(--rule); }
.map-panel.is-full {
  position: fixed;
  inset: 18px;
  z-index: 40;
  border-radius: 16px;
}
.map-panel.is-full .map-stage,
.map-panel.is-full #globe,
.map-panel.is-full #globe-overlay {
  height: calc(100vh - 110px);
  min-height: calc(100vh - 110px);
}
.legend-auto {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--rule-dim);
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.src-chip {
  display: inline-block;
  border: 1px solid var(--rule-dim);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--ivory-dim);
}
.src-chip.kind-x { color: var(--blue); border-color: var(--rule-dim); }
.src-chip.kind-substack { color: var(--red); border-color: rgba(178, 34, 52, 0.4); }
.src-chip.kind-place { color: var(--gold); }
.src-chip.kind-test { color: var(--red); border-color: rgba(197,31,52,0.5); }
.src-chip:hover { color: var(--ivory); }
.map-art {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: 0.95;
}
.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.04);
}
.pin.spiking { background: var(--red); box-shadow: 0 0 0 7px rgba(197,31,52,0.18), 0 0 18px var(--red); }
.pin.rising { background: var(--gold); box-shadow: 0 0 0 7px rgba(212,180,131,0.16); }
.pin.active { background: var(--blue); }
.pin:hover { transform: translate(-50%, -50%) scale(1.25); }
.map-legend {
  display: flex;
  gap: 18px;
  padding: 8px 14px 12px;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--ivory-dim);
}
.map-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.map-legend i.spiking { background: var(--red); }
.map-legend i.rising { background: var(--gold); }
.map-legend i.active { background: var(--blue); }
.map-popup {
  position: absolute;
  z-index: 4;
  min-width: 220px;
  max-width: 280px;
  background: var(--popup-bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ivory);
  box-shadow: var(--shadow);
}
.map-popup strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.map-popup span { color: var(--ivory-dim); font-size: 0.82rem; }

.top-stories { padding: 16px 18px 10px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-dim);
  padding-bottom: 8px;
}
.panel-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel-head span {
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
.top-stories ol { list-style: none; margin: 0; padding: 0; }
.top-stories li { border-bottom: 1px solid var(--rule-dim); }
.top-stories a { display: block; padding: 12px 2px; }
.top-stories a:hover strong { color: var(--gold); }
.top-stories strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
}
.top-stories span {
  display: block;
  margin-top: 4px;
  color: var(--ivory-dim);
  font-size: 0.82rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 28px 10px;
}
.pill {
  background: transparent;
  border: 1px solid var(--rule-dim);
  color: var(--ivory-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.pill.is-on, .pill:hover {
  background: var(--gold);
  color: var(--on-fg);
  border-color: var(--gold);
}

/* Wire table — full width, not a centered micro card */
.wire {
  padding: 0 18px 40px;
}
.wire table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--rule-dim);
  border-radius: 12px;
  overflow: hidden;
}
.wire th, .wire td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule-dim);
}
.wire th {
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--th-fg);
  font-weight: 500;
  background: var(--th-bg);
}
.wire tbody tr { cursor: pointer; }
.wire tbody tr:hover { background: var(--rule-dim); }
.rank { color: var(--ivory-dim); font-variant-numeric: tabular-nums; width: 40px; }
.summary a {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.desk-tag {
  display: inline-block;
  border: 1px solid var(--rule-dim);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--ivory-dim); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.delta.up { color: var(--up); font-variant-numeric: tabular-nums; }
.open {
  display: inline-block;
  border: 1px solid var(--rule);
  color: var(--rule);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.open:hover { background: var(--gold); color: var(--on-fg); }
.bm-icon {
  background: none;
  border: 0;
  cursor: pointer;
  width: 16px;
  height: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
  background: var(--rule-dim);
  padding: 0;
}
.bm-icon.is-on { background: var(--red); }
.wire tr.is-hidden { display: none; }

.colophon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--rule-dim);
  color: var(--ivory-dim);
}
.colophon img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.colophon strong {
  display: block;
  color: var(--ivory);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.colophon p { margin: 4px 0 0; max-width: 720px; }

/* Newspaper reader — almost full screen broadsheet */
.reader {
  width: min(1240px, 96vw);
  max-height: 94vh;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}
.reader::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}
.paper {
  background: var(--sheet);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow), inset 0 0 0 8px var(--rule-dim);
  padding: 28px 42px 48px;
  overflow: auto;
  max-height: 94vh;
  animation: unfold 0.45s cubic-bezier(.2,.8,.2,1);
  color: var(--ivory);
}
@keyframes unfold {
  from { transform: rotateX(7deg) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.paper-kicker {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--red);
  border-bottom: 2px solid var(--rule);
  padding-bottom: 8px;
}
.paper-flag {
  margin: 14px 0 0;
  color: var(--red);
  font-family: var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}
.paper h1, .story-page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0 10px;
  letter-spacing: 0.02em;
}
.dek {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ivory-dim);
  margin: 0 0 16px;
  max-width: 58ch;
}
.byline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rule-dim);
  border-bottom: 1px solid var(--rule-dim);
  padding: 10px 0;
  margin-bottom: 22px;
  color: var(--ivory-dim);
  font-size: 0.92rem;
}
.byline strong { color: var(--ivory); display: block; }
.lead-art { margin: 0 0 22px; }
.lead-art img { width: 100%; max-height: 420px; object-fit: cover; border: 1px solid var(--rule-dim); }
.lead-art figcaption { color: var(--ivory-dim); font-size: 0.85rem; margin-top: 6px; }
.columns {
  column-count: 2;
  column-gap: 2.4rem;
  column-rule: 1px solid var(--rule-dim);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--body);
}
.columns p { margin: 0 0 0.95em; }
.columns p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.6rem;
  line-height: 0.75;
  padding: 8px 10px 0 0;
  color: var(--gold);
}
.source-line { margin-top: 1.4rem; color: var(--ivory-dim); }
.paper-actions { display: flex; gap: 10px; margin-top: 22px; }
.paper-actions button, .paper-actions .open {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ivory);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.reader-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -8px -12px 0 0;
}

.story-shell { padding: 0 0 48px; }
.story-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
.story-bar .masthead-actions { margin-left: auto; }
.wordmark {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.16em;
}
.story-page {
  width: min(1100px, 94vw);
  margin: 24px auto;
  max-height: none;
  overflow: visible;
}
.related {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.related h2 {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--red);
}
.related a {
  border-top: 1px solid var(--rule-dim);
  padding: 10px 0;
  font-size: 1.1rem;
}
.related a:hover { color: var(--gold); }

@media (max-width: 1100px) {
  .breaking { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .columns { column-count: 1; }
}
@media (max-width: 720px) {
  .masthead, .breaking, .hero, .filters, .wire, .colophon, .story-bar { padding-left: 14px; padding-right: 14px; }
  .masthead-meta span:nth-child(n+4) { display: none; }
  .theme-toggle { width: 34px; height: 34px; min-width: 34px; min-height: 34px; }
  .breaking { grid-template-columns: 1fr; }
  .brand-copy h1 {
    font-size: 1.7rem;
    letter-spacing: 0.08em;
    max-width: 12ch;
    line-height: 1.02;
    white-space: normal;
  }
  .masthead-brand { flex-direction: column; gap: 10px; }
  .masthead-bottom span:last-child { display: none; }
  .map-stage, .map-art, #globe, #globe-overlay { min-height: 260px; height: 260px; }
  .map-panel.is-full .map-stage, .map-panel.is-full #globe, .map-panel.is-full #globe-overlay { height: calc(100vh - 90px); min-height: calc(100vh - 90px); }
  .wire table, .wire thead, .wire tbody, .wire th, .wire td, .wire tr { display: block; }
  .wire thead { display: none; }
  .wire td { border: 0; padding: 6px 12px; }
  .wire tr { padding: 12px 0; border-bottom: 1px solid var(--rule-dim); }
  .paper { padding: 22px 18px 32px; }
}
.auth-shell {
  width: 100%;
  max-width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 64px;
  overflow-x: hidden;
}
.auth-card {
  width: 100%;
  max-width: 26rem;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.auth-card .kicker {
  letter-spacing: 0.22em;
}
.auth-card h1 {
  margin: 4px 0 8px;
  font-family: var(--display);
  color: var(--gold);
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.15;
}
.auth-card label {
  display: block;
  margin: 12px 0 6px;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ivory-dim);
}
.auth-card input {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--rule-dim);
  color: var(--ivory);
  padding: 10px 12px;
  border-radius: 8px;
}
.auth-card button[type="submit"] {
  background: var(--gold);
  color: #050506;
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-actions { margin: 18px 0 8px; }
.auth-error { color: var(--red); }
.auth-ok { color: var(--up); }
.auth-card .hint, .auth-card .muted {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.auth-card a { color: var(--gold); }
.auth-card a.x-btn,
.auth-card a.x-btn:hover {
  color: #050506;
}
.x-btn {
  background: var(--gold);
  color: #050506;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.auth-steps {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: var(--ivory-dim);
  line-height: 1.45;
}
