/* robpaaspoker.com/app/ - the Play & Study pages (Overview, Features, Download).
   Palette and fonts mirror the root style.css; change them there first.
   The logo header below is this section's copy of the site-wide one: keep it
   in step with style.css, Roadto$100k, results and daily. Bump ?v= in the three
   pages after editing. */
:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --ink: #e8e2d6;
  --ink-2: #c3c2b7;
  --muted: #8f8c85;
  --gold: #c9a84c;
  --gold-light: #e8cc7a;
  --gold-dim: #7a5e28;
  --gold-track: #3a2f16;
  --card-top: #1c1a17;
  --card-bottom: #151412;
  --card-border: #2c2924;
  --line: #2a2723;
  --felt: #1d4a36;
  --felt-deep: #11301f;
  --rail: #2a1d12;
  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --on-gold: #17130a;
  --font-brand: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-figure: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 1000px 480px at 50% -140px, rgba(201, 168, 76, 0.15), transparent 70%),
    radial-gradient(ellipse 1100px 520px at 50% 100%, rgba(201, 168, 76, 0.05), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

a { color: var(--gold-light); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-figure);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.card {
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- header ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 22px;
}
.brand {
  font-family: var(--font-brand);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand span { color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav-cta {
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  padding: 6px 14px;
  border-radius: 999px;
}
.nav .nav-cta:hover { border-color: var(--gold); }
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 20%, var(--gold) 50%, var(--gold-dim) 80%, transparent);
  opacity: 0.7;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
  padding-block: 64px 72px;
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { color: var(--ink-2); font-size: 19px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--on-gold);
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.25);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-light); }
.btn svg { width: 18px; height: 18px; flex: none; }
.fine { color: var(--muted); font-size: 14px; }
.fine b { color: var(--ink-2); font-weight: 600; }

/* ---------- monitor mockup (tiler) ---------- */

.monitor { min-width: 0; }
.bezel {
  position: relative;
  background: #070707;
  border: 1px solid #262320;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 168, 76, 0.08);
}
.screen {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: #050505;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 3px;
  max-width: 100%;
}
.tbl {
  position: relative;
  background: #0b0b0a;
  border-radius: 2px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tbl::before {
  content: "";
  width: 78%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, var(--felt), var(--felt-deep) 75%);
  box-shadow: 0 0 0 3px var(--rail), 0 0 0 4px #000;
}
.tbl.buried { outline: 2px solid var(--bad); outline-offset: -2px; }
.tbl .hud {
  position: absolute;
  font-family: var(--font-figure);
  font-weight: 700;
  font-size: clamp(6px, 0.9vw, 9px);
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 0 2px #000, 0 0 2px #000;
  white-space: nowrap;
}
.tbl .hud.thin { color: var(--muted); }
.tbl .you {
  position: absolute;
  bottom: 12%;
  width: 16%;
  height: 7%;
  border-radius: 3px;
  background: var(--gold-dim);
}
.stand {
  width: 22%;
  height: 22px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1816, #0c0b0a);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

/* ---------- sections ---------- */

section { padding-block: 72px; }
.sec-head { display: grid; gap: 12px; max-width: 42em; margin-bottom: 40px; }
.sec-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
}
.sec-head p { color: var(--ink-2); }

/* two apps */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app { padding: 28px; display: grid; gap: 16px; align-content: start; }
.app-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app h3 { font-family: var(--font-brand); font-size: 32px; font-weight: 700; line-height: 1.1; }
.app h3 span { color: var(--gold); }
.when {
  font-family: var(--font-figure);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.app > p { color: var(--ink-2); }
.pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pages li {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 14px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.pages b { font-weight: 700; color: var(--ink); }
.pages span { color: var(--ink-2); }

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 44px;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature.flip > .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 16px; min-width: 0; }
.feature-copy h3 { font-family: var(--font-brand); font-size: 34px; font-weight: 700; line-height: 1.1; }
.feature-copy > p { color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}
.ticks b { color: var(--ink); font-weight: 600; }
.visual { min-width: 0; }
.example-tag {
  display: inline-block;
  font-family: var(--font-figure);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* screen sizes */
.sizes { padding: 22px; display: grid; gap: 14px; }
.size { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 2.5em; gap: 14px; align-items: center; }
.size-name { font-weight: 600; font-size: 15px; }
.size-name small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.size-grid { display: grid; gap: 3px; background: #070707; padding: 3px; border-radius: 4px; border: 1px solid var(--line); width: 100%; max-width: 230px; aspect-ratio: 16 / 9; }
.size-grid.wide { aspect-ratio: 21 / 9; max-width: 100%; }
.size-grid i { display: block; min-height: 0; background: radial-gradient(ellipse at 50% 45%, var(--felt), var(--felt-deep) 80%); border-radius: 2px; }
.size-n { font-family: var(--font-figure); font-size: 26px; font-weight: 700; color: var(--gold-light); text-align: right; }

/* big HUD table */
.hud-table {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0b0b0a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 100%;
}
.hud-table .felt {
  position: absolute;
  inset: 17% 11%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 38%, #25583f, var(--felt-deep) 78%);
  box-shadow: 0 0 0 8px var(--rail), 0 0 0 10px #000, inset 0 0 40px rgba(0, 0, 0, 0.45);
}
.pot {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  font-family: var(--font-figure);
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.3;
}
.cards { display: flex; gap: 4px; justify-content: center; margin-top: 6px; }
.cards i {
  font-style: normal;
  width: 24px;
  height: 33px;
  border-radius: 3px;
  background: #f4efe4;
  color: #151515;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.cards i.r { color: #b3261e; }
.seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 3px;
}
.seat .av {
  width: 44px;
  height: 22px;
  border-radius: 6px;
  background: #1b1916;
  border: 1px solid #3a342b;
  font-family: var(--font-figure);
  font-size: 11px;
  color: var(--ink-2);
  display: grid;
  place-items: center;
}
.seat.hero-seat .av { border-color: var(--gold); color: var(--gold-light); }
.hbox {
  font-family: var(--font-figure);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid transparent;
}
.hbox.thin { color: var(--muted); }
.hbox.hov { background: #0d0d0d; border-color: var(--gold); text-shadow: none; }
.hover-card {
  position: absolute;
  left: 19%;
  top: 22%;
  width: min(250px, 50%);
  background: #0f0e0c;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
}
.hover-card b { display: block; font-size: 13px; margin-bottom: 4px; }
.hover-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 1px 8px; }
.hover-card dt { color: var(--muted); }
.hover-card dd { margin: 0; text-align: right; font-family: var(--font-figure); font-weight: 600; font-variant-numeric: tabular-nums; }

/* position table */
.pos { padding: 20px; }
.pos-scroll { overflow-x: auto; }
.pos table { border-collapse: collapse; width: 100%; min-width: 380px; font-variant-numeric: tabular-nums; }
.pos th, .pos td { padding: 9px 3px; text-align: center; }
.pos thead th {
  font-family: var(--font-figure);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.pos tbody th { text-align: left; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.pos td { font-family: var(--font-figure); font-size: 16px; font-weight: 600; }
.pos td span { display: inline-block; min-width: 2.5em; padding: 1px 3px; border-radius: 5px; }
.g { color: var(--good); background: rgba(34, 197, 94, 0.1); }
.y { color: var(--warn); background: rgba(245, 158, 11, 0.1); }
.r { color: var(--bad); background: rgba(239, 68, 68, 0.1); }
.n { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* results tiles */
.res { padding: 22px; display: grid; gap: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: #121110; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.tile small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: 0.02em; }
.tile strong { font-family: var(--font-figure); font-size: 28px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile strong.pos-v { color: var(--good); text-shadow: 0 0 18px rgba(34, 197, 94, 0.25); }
.tile em { font-style: normal; font-family: var(--font-figure); color: var(--muted); font-size: 15px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 3em; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.bar { height: 8px; border-radius: 4px; background: var(--gold-track); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); border-radius: 4px; }
.bar-row b { font-family: var(--font-figure); font-size: 16px; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.res-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* bankroll mini chart */
.bank { padding: 22px; display: grid; gap: 12px; }
.bank-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bank-head strong { font-family: var(--font-figure); font-size: 30px; font-weight: 700; color: var(--good); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs i { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tabs i.on { border-color: var(--gold); color: var(--gold-light); }
.bank svg { width: 100%; height: auto; aspect-ratio: 400 / 150; display: block; overflow: visible; }

/* rooms */
.rooms-scroll { overflow-x: auto; }
.rooms { width: 100%; border-collapse: collapse; min-width: 560px; }
.rooms th, .rooms td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rooms thead th {
  font-family: var(--font-figure);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.rooms tbody th { font-weight: 700; white-space: nowrap; }
.rooms tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.rooms td { color: var(--ink-2); font-size: 15.5px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.chip.yes { color: var(--good); background: rgba(34, 197, 94, 0.12); }
.chip.no { color: var(--muted); background: rgba(143, 140, 133, 0.12); }
.rooms-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 52em; }

.path {
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
  font-size: 14px;
  background: #0f0e0d;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--gold-light);
  overflow-x: auto;
  white-space: nowrap;
}


/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 17.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); display: grid; gap: 10px; max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* download */
.dl { padding: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; position: relative; overflow: hidden; }
.dl::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.13), transparent 65%);
  pointer-events: none;
}
.dl-copy { display: grid; gap: 16px; position: relative; min-width: 0; }
.dl h2 { font-family: var(--font-brand); font-size: clamp(34px, 4.4vw, 46px); font-weight: 700; line-height: 1.08; }
.dl-copy > p { color: var(--ink-2); }
.dl-specs { position: relative; display: grid; gap: 0; margin: 0; min-width: 0; }
.dl-specs div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 15px; }
.dl-specs div:first-child { border-top: 0; }
.dl-specs dt { color: var(--muted); }
.dl-specs dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.email-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.email {
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
  font-size: 15px;
  color: var(--gold-light);
  user-select: all;
}
.copy {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
}
.copy:hover { border-color: var(--gold-dim); color: var(--gold-light); }

/* footer */
footer { padding-block: 40px 56px; border-top: 1px solid var(--line); margin-top: 32px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: flex-start; }
.foot p { color: var(--muted); font-size: 14px; max-width: 46em; }
.foot a { color: var(--ink-2); }

/* ---------- motion ---------- */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.hero-copy, .monitor { animation: rise 0.7s ease-out backwards; }
.monitor { animation-delay: 0.1s; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .monitor { animation: none; }
}

/* ---------- narrow ---------- */
@media (max-width: 900px) {
  .hero, .feature, .dl, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.flip > .feature-copy { order: 0; }
  .apps { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 40px 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  section { padding-block: 52px; }
  .nav { gap: 6px 16px; }
  .nav .hide-sm { display: none; }
  .app, .split .card, .dl { padding: 22px; }
  .pages li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .bar-row { grid-template-columns: 7em minmax(0, 1fr) 2.6em; }
  .hover-card { font-size: 10.5px; padding: 6px 8px; }
  .hover-card b { font-size: 11.5px; }
  .hbox { font-size: 10.5px; }
  .seat .av { width: 34px; height: 18px; font-size: 9.5px; }
  .size { grid-template-columns: 5.5em minmax(0, 1fr) 2em; }
}

/* ---------- multi-page additions ---------- */

.nav a[aria-current="page"] { color: var(--gold-light); }
.nav a.nav-cta[aria-current="page"] { border-color: var(--gold); }

/* sub-page heading: smaller than the home hero */
.page-head { padding-block: 56px 8px; display: grid; gap: 12px; max-width: 44em; }
.page-head h1 {
  font-family: var(--font-brand);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}
.page-head p { color: var(--ink-2); font-size: 18px; }

/* feature groups: "Play" and "Study" labels on the Features page */
.group { padding-block: 40px 8px; }
.group-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.group-label h2 { font-family: var(--font-brand); font-size: 34px; font-weight: 700; }
.group-label h2 span { color: var(--gold); }
.feature:first-of-type { border-top: 0; }

/* home: your-data strip */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.split .card { padding: 28px; display: grid; gap: 12px; align-content: start; }
.split h3 { font-family: var(--font-brand); font-size: 30px; font-weight: 700; line-height: 1.1; }
.split p { color: var(--ink-2); }

/* download page */
.dl-page { padding-block: 56px 72px; display: grid; gap: 24px; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.notes .card { padding: 24px; display: grid; gap: 10px; align-content: start; }
.notes h3 { font-size: 19px; font-weight: 700; }
.notes p { color: var(--ink-2); font-size: 15.5px; }

.faq-page { padding-block: 32px 72px; }
.rooms-sec { padding-block: 56px 72px; }

@media (max-width: 900px) {
  .notes { grid-template-columns: minmax(0, 1fr); }
}

.group:first-of-type { padding-top: 56px; }

/* opponent lookup card */
.opp { padding: 20px; display: grid; gap: 14px; }
.opp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #121110;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 15px;
}
.opp-search svg { width: 16px; height: 16px; flex: none; }
.opp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.opp-head b { display: block; font-size: 19px; }
.opp-head small, .opp-hands small { color: var(--muted); font-size: 13px; }
.opp-hands { text-align: right; }
.opp-hands strong { display: block; font-family: var(--font-figure); font-size: 28px; font-weight: 700; line-height: 1; color: var(--gold-light); }
.opp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opp-stats div { background: #121110; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.opp-stats small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-stats strong { font-family: var(--font-figure); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.opp-note { border-left: 2px solid var(--gold-dim); padding-left: 12px; color: var(--ink-2); font-size: 15px; }
.opp-note small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.opp-foot { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  .opp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* results: by tournament type */
.types-scroll { overflow-x: auto; }
.types { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.types th, .types td { padding: 7px 8px; text-align: right; border-bottom: 1px solid var(--line); font-size: 15px; }
.types thead th { font-family: var(--font-figure); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.types th:first-child { text-align: left; }
.types tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.types td { font-family: var(--font-figure); font-size: 17px; font-weight: 600; color: var(--ink-2); }
.types td.up { color: var(--good); }
.types td.down { color: var(--bad); }

/* results: the winnings pop-up */
.win-pop { background: #121110; border: 1px solid var(--gold-dim); border-radius: 10px; padding: 12px 14px; display: grid; gap: 10px; }
.win-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.win-top span { color: var(--muted); }
.win-row { display: flex; gap: 8px; align-items: center; }
.win-field { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; color: var(--muted); font-size: 14px; }
.win-field i { font-style: normal; color: var(--ink); font-family: var(--font-figure); font-size: 16px; font-weight: 600; }
.win-save { background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 14px; border-radius: 7px; padding: 7px 14px; }

/* bankroll: calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-family: var(--font-figure); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 2px; }
.cal-day { min-height: 46px; border-radius: 6px; background: #121110; border: 1px solid var(--line); padding: 4px 5px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.cal-day small { font-size: 11px; color: var(--muted); line-height: 1; }
.cal-day b { font-family: var(--font-figure); font-size: 14px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.cal-day.win { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); }
.cal-day.win b { color: var(--good); }
.cal-day.loss { background: rgba(239, 68, 68, 0.11); border-color: rgba(239, 68, 68, 0.28); }
.cal-day.loss b { color: var(--bad); }
.cal-day.even b { color: var(--ink-2); }
@media (max-width: 560px) {
  .cal-day { min-height: 40px; padding: 3px; }
  .cal-day b { font-size: 12px; }
}

/* ---------- site-wide logo header (copy of the root style.css rules) ---------- */

.site-header { text-align: center; padding-top: 32px; }
.brand-name {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand-name span { color: var(--gold); }
.brand-rule {
  max-width: 420px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 10px auto 14px;
}
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 16px; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 22%;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.social-icon:hover { opacity: 1; transform: translateY(-1px); }
.social-icon.instagram { background: #e1306c; }
.social-icon.x { background: #000000; }
.social-icon.youtube { background: #ff0000; }
.social-icon.facebook { background: #0866ff; }
.social-icon.twitch { background: #9146ff; }
.social-icon.kick { background: #53fc19; }
.social-icon.discord { background: #5865f2; }
.social-icon img { width: 18px; height: 18px; display: block; }
@media (max-width: 560px) {
  .social-row { flex-wrap: nowrap; gap: 8px; }
  .social-icon { flex: 0 1 30px; width: 30px; height: auto; aspect-ratio: 1; min-width: 0; }
  .social-icon img { width: 16px; height: 16px; }
  .brand-name { font-size: 30px; }
}

/* the section's own bar, under the logo header */
.top { padding-block: 26px 18px; }
.top .brand { font-size: 26px; }

/* ---------- download: the invite-code form ---------- */

.dl-title { font-family: var(--font-brand); font-size: clamp(38px, 4.8vw, 52px); font-weight: 700; line-height: 1.05; }
.code-form { display: grid; gap: 8px; }
.code-label {
  font-family: var(--font-figure);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.code-row { display: flex; flex-wrap: wrap; gap: 10px; }
.code-input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: #121110;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.code-input::placeholder { color: #55524c; }
.code-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.code-input.bad { border-color: var(--bad); }
.code-msg { min-height: 1.5em; font-size: 15px; color: var(--bad); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.unlocked { display: grid; gap: 10px; justify-items: start; }

/* The form and the unlocked button swap with the hidden attribute. */
[hidden] { display: none !important; }
