/* The Confidence Game — one stylesheet, no framework, no build step. */

/* ── tokens ──────────────────────────────────────────────────────────────── */
:root {
  --ink: #0e1217;
  --ink-2: #39414d;
  --muted: #667284;
  --faint: #98a2b2;
  --line: #e3e8ef;
  --line-2: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --bg: #f2f4f7;

  --player: #d33f36;
  --player-soft: #fdf0ef;
  --jev: #2563d9;
  --jev-soft: #eef3fd;
  --good: #14804a;
  --good-soft: #eaf6ef;
  --warn: #9a6700;
  --warn-soft: #fdf6e3;

  --r-sm: 7px;
  --r: 11px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgb(16 18 27 / 4%), 0 4px 16px -6px rgb(16 18 27 / 8%);
  --shadow-lg: 0 2px 4px rgb(16 18 27 / 5%), 0 16px 40px -12px rgb(16 18 27 / 14%);

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaeef4;
    --ink-2: #c2cad6;
    --muted: #97a1b0;
    --faint: #6c7686;
    --line: #262c35;
    --line-2: #1d222a;
    --surface: #14181e;
    --surface-2: #1a1f26;
    --bg: #0a0c10;

    --player: #ff6f63;
    --player-soft: #2a1614;
    --jev: #6fa2ff;
    --jev-soft: #121c2e;
    --good: #45d389;
    --good-soft: #0f2419;
    --warn: #e3b341;
    --warn-soft: #2a2213;

    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 16px -6px rgb(0 0 0 / 50%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 45%), 0 16px 40px -12px rgb(0 0 0 / 60%);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ── navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(140deg, var(--player), var(--jev));
}
.nav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background .13s, color .13s;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.active { color: var(--ink); background: var(--line-2); font-weight: 600; }

/* ── layout ──────────────────────────────────────────────────────────────── */
main { max-width: 800px; margin: 0 auto; padding: 34px 20px 110px; }
main.wide { max-width: 1080px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 18px; }
.card.flat { box-shadow: none; background: var(--surface-2); }

.page { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hidden { display: none !important; }

/* ── type ────────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 680; }
h2 { font-size: 23px; line-height: 1.25; letter-spacing: -0.018em; margin: 40px 0 12px; font-weight: 650; }
h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; margin: 28px 0 8px; font-weight: 650; }
p { margin: 0 0 15px; color: var(--ink-2); }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink); }
a { color: var(--jev); text-decoration-color: color-mix(in srgb, var(--jev) 35%, transparent); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 640; color: var(--ink); }
code { font: 13px var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
ul { padding-left: 20px; color: var(--ink-2); }
li { margin-bottom: 7px; }
.eyebrow { font-size: 11.5px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: 11.5px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 34px 0 12px; }

/* ── buttons & controls ──────────────────────────────────────────────────── */
button, .btn {
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 17px;
  transition: background .13s, border-color .13s, transform .06s;
}
button:hover, .btn:hover { border-color: var(--faint); background: var(--surface-2); }
button:active { transform: translateY(1px); }
button.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
button.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
button.accent { background: var(--player); color: #fff; border-color: var(--player); }
button.accent:hover { filter: brightness(1.07); background: var(--player); }
button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
button.grow { flex: 1; }
.actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

input[type=text], input[type=password], input[type=search], select, textarea {
  font: inherit;
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--jev);
  outline-offset: 2px;
}
textarea { resize: vertical; min-height: 78px; line-height: 1.5; }
label { display: block; font-size: 13px; font-weight: 560; color: var(--muted); margin-bottom: 6px; }

kbd {
  font: 11px var(--mono);
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
  opacity: .75;
}

/* ── notices ─────────────────────────────────────────────────────────────── */
.note {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
  margin: 16px 0;
}
.note.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 26%, transparent); }
.note.good { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 26%, transparent); }
.note.err { background: var(--player-soft); border-color: color-mix(in srgb, var(--player) 30%, transparent); color: var(--player); }
.note strong { color: inherit; }
.note-title { font-weight: 650; color: var(--ink); display: block; margin-bottom: 3px; }

/* ── home / mode picker ──────────────────────────────────────────────────── */
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 22px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-stat .n { font: 600 21px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hero-stat .l { font-size: 12.5px; color: var(--muted); }

.modes { display: grid; gap: 11px; margin-top: 8px; }
.mode-btn {
  text-align: left;
  padding: 17px 19px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
}
.mode-btn strong { font-size: 16px; grid-column: 1; }
.mode-btn .mode-desc { font-size: 13.5px; color: var(--muted); font-weight: 400; grid-column: 1; line-height: 1.5; }
.mode-btn .mode-meta {
  grid-column: 2; grid-row: 1 / span 2;
  font: 11.5px var(--mono); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.mode-btn.featured { border-color: color-mix(in srgb, var(--player) 40%, transparent); background: var(--player-soft); }
.mode-btn.featured .mode-meta { border-color: color-mix(in srgb, var(--player) 40%, transparent); color: var(--player); }

/* ── play screen ─────────────────────────────────────────────────────────── */
.playbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.progress-track { flex: 1; height: 5px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--player); border-radius: 99px; transition: width .26s ease; }
.progress-label { font: 12.5px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.tags { display: flex; gap: 7px; margin-bottom: 15px; flex-wrap: wrap; }
.tag {
  font-size: 10.5px; letter-spacing: 1.1px; text-transform: uppercase; font-weight: 600;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
}

.claim { font-size: clamp(22px, 3.6vw, 29px); line-height: 1.3; font-weight: 580; letter-spacing: -0.02em; margin: 2px 0 26px; }

.readout { text-align: center; margin-bottom: 4px; }
.readout .value { font: 600 clamp(42px, 9vw, 58px) var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.045em; line-height: 1; }
.readout .unit { font-size: 14.5px; color: var(--muted); margin-left: 4px; }
.hint { text-align: center; font-size: 13.5px; color: var(--muted); min-height: 22px; margin-bottom: 16px; }

.slider-wrap { position: relative; padding: 4px 0; }
.slider-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 7px;
  transform: translateY(-50%); border-radius: 99px; pointer-events: none;
  background: linear-gradient(90deg, var(--jev) 0%, var(--line) 50%, var(--player) 100%);
  opacity: .28;
}
input[type=range] { position: relative; width: 100%; margin: 0; height: 32px; accent-color: var(--player); background: transparent; }

.scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.presets { display: flex; gap: 6px; justify-content: center; margin-top: 15px; flex-wrap: wrap; }
.preset { font: 12px var(--mono); padding: 5px 11px; border-radius: 99px; color: var(--muted); }
.preset:hover { color: var(--ink); }

/* ── reveal ──────────────────────────────────────────────────────────────── */
.reveal { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 22px; animation: rise .2s ease-out; }
.verdict-row { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 640; margin-bottom: 18px; flex-wrap: wrap; }
.badge { font-size: 11px; letter-spacing: 1.3px; font-weight: 700; padding: 4px 10px; border-radius: 5px; text-transform: uppercase; }
.badge.true { background: var(--good-soft); color: var(--good); }
.badge.false { background: var(--player-soft); color: var(--player); }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare > div { background: var(--surface); padding: 13px 15px; }
.compare .who { font-size: 10.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.compare .p { font: 22px var(--mono); font-variant-numeric: tabular-nums; }
.compare .b { font: 11.5px var(--mono); color: var(--faint); margin-top: 2px; }
.compare .you .p { color: var(--player); }
.compare .jev .p { color: var(--jev); }

.evidence { margin-top: 15px; font-size: 13.5px; }
.evidence dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.evidence dt { color: var(--faint); }
.evidence dd { margin: 0; font: 12.5px var(--mono); color: var(--ink-2); word-break: break-word; }

/* ── scorecard ───────────────────────────────────────────────────────────── */
.verdict-label { font-size: 11.5px; letter-spacing: 1.7px; font-weight: 700; color: var(--player); text-transform: uppercase; margin-bottom: 9px; }
.headline { font-size: clamp(21px, 3.4vw, 27px); font-weight: 640; line-height: 1.28; letter-spacing: -0.02em; margin: 0 0 9px; }
.verdict-detail { color: var(--muted); margin: 0 0 22px; }

.chart-wrap { margin: 26px 0 6px; text-align: center; }
.chart-wrap svg { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.legend { display: flex; gap: 17px; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-dash { width: 16px; border-top: 2px dashed var(--faint); display: inline-block; }
.binnote { font-size: 12.5px; color: var(--faint); text-align: center; max-width: 460px; margin: 11px auto 0; line-height: 1.5; }

table.scores { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 8px; }
table.scores th, table.scores td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line-2); }
table.scores th:first-child, table.scores td:first-child { text-align: left; color: var(--muted); font-weight: 400; }
table.scores thead th { font-size: 10.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom-color: var(--line); }
table.scores td { font: 14px var(--mono); }
table.scores .col-you { color: var(--player); }
table.scores .col-jev { color: var(--jev); }
table.scores tr.divider td { border-bottom: none; padding: 18px 8px 4px; font-size: 10.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--faint); }
table.scores tr.headline-row td { font-weight: 700; font-size: 16px; }

.cat-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.cat-row .nums { font: 13px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-row .flag { font-size: 11.5px; font-weight: 650; }
.flag.win { color: var(--good); }
.flag.loss { color: var(--faint); }

/* ── bank explorer ───────────────────────────────────────────────────────── */
.filters { display: flex; gap: 9px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 4px; }
.filters .field { flex: 1; min-width: 130px; }
.filters .field.grow { flex: 2.4; min-width: 200px; }

.bank-row { padding: 13px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.bank-row .txt { font-size: 15px; line-height: 1.45; }
.bank-row .meta { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--faint); flex-wrap: wrap; }
.bank-row .p {
  font: 13.5px var(--mono); font-variant-numeric: tabular-nums; text-align: right;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--line);
  /* Both are explicit: an item with only a definite ROW is placed before the
     auto-placed ones and would take column 1, pushing the claim text right. */
  grid-column: 2; grid-row: 1 / span 2;
}
.bank-row .p.right { color: var(--good); background: var(--good-soft); border-color: transparent; }
.bank-row .p.wrong { color: var(--player); background: var(--player-soft); border-color: transparent; }
.truth { font-weight: 700; letter-spacing: .6px; }
.truth.t { color: var(--good); }
.truth.f { color: var(--player); }

.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* ── live / byok ─────────────────────────────────────────────────────────── */
.key-row { display: flex; gap: 9px; align-items: flex-end; flex-wrap: wrap; }
.key-row .field { flex: 1; min-width: 240px; }
.key-status { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--good); }

.verify-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.verify-row .num { font: 13px var(--mono); font-variant-numeric: tabular-nums; }
.verify-row .delta.zero { color: var(--faint); }
.verify-row .delta.small { color: var(--muted); }
.verify-row .delta.big { color: var(--warn); font-weight: 650; }
.verify-row .delta.flip { color: var(--player); font-weight: 700; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.stat-grid > div { background: var(--surface); padding: 14px 16px; }
.stat-grid .n { font: 600 20px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-grid .l { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.spinner {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block; vertical-align: -2px;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── about ───────────────────────────────────────────────────────────────── */
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); gap: 12px; margin: 18px 0; }
.usecase { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--surface-2); }
.usecase h4 { margin: 0 0 5px; font-size: 14.5px; font-weight: 650; }
.usecase p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.matrix { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.matrix th, .matrix td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix th { background: var(--surface-2); font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.matrix td strong { display: block; margin-bottom: 2px; }
.matrix td span { color: var(--muted); font-size: 13px; }

.formula {
  font: 13.5px/1.7 var(--mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 17px;
  margin: 15px 0;
  overflow-x: auto;
  white-space: pre;
  color: var(--ink-2);
}

.faq { border-top: 1px solid var(--line-2); padding: 15px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font: 400 19px var(--mono); flex: none; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 11px 0 0; font-size: 14.5px; }

.footnote { font-size: 12.5px; color: var(--faint); margin-top: 24px; line-height: 1.65; }
.footnote a { color: var(--muted); }


/* ── share ───────────────────────────────────────────────────────────────── */
.share-title { font-size: clamp(22px, 3.6vw, 30px); margin: 4px 0 8px; }
.share-sub { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.share-figure {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;             /* the card is always light — see D15 */
  box-shadow: var(--shadow);
}
.share-figure svg { display: block; width: 100%; height: auto; }
.card-preview {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.card-preview img { display: block; width: 100%; height: auto; }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-actions .btn, .share-actions button { text-decoration: none; display: inline-flex; align-items: center; font-size: 14px; padding: 9px 14px; }
.share-card-wrap { max-width: 900px; margin: 0 auto; }
a.btn { color: var(--ink); }

/* ── table of contents ───────────────────────────────────────────────────── */
.toc {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding: 12px 16px; margin: 6px 0 20px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 13.5px;
}
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc a::before { content: "\2192\00a0"; color: var(--faint); }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 20px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 22px 20px 34px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--faint);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* h2 anchors land under the sticky nav, not behind it */
h2[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  main { padding: 22px 16px 90px; }
  .card { padding: 21px 18px; border-radius: var(--r); }
  .nav-inner { padding: 0 16px; gap: 12px; }
  /* Hide the wordmark, keep the mark — `.brand span` would hide both. */
  .brand > span:not(.brand-mark) { display: none; }
  .compare { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 1fr auto; }
  .cat-row .flag { grid-column: 2; }
  .verify-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .bank-row { grid-template-columns: 1fr; }
  .bank-row .p { grid-column: 1; grid-row: auto; justify-self: start; }
  .actions button { flex: 1 1 100%; }
  .share-actions .btn, .share-actions button { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .footer-inner { flex-direction: column; }
  h2 { margin-top: 30px; }
}
