/* ==========================================================================
   Criss Cross Poker — design system (light)
   One stylesheet for the whole site.
   ========================================================================== */

:root {
  /* ---- Surfaces ---- */
  --bg:            #F6F6F2;
  --surface:       #FFFFFF;
  --surface-2:     #FBFBF8;
  --surface-sunk:  #F1F1EC;
  --border:        #E5E4DE;
  --border-strong: #D3D2C9;

  /* ---- Ink ---- */
  --text:   #11201A;
  --text-2: #4B5A53;
  --text-3: #7C8A83;

  /* ---- Brand green ---- */
  --green-900: #0C3627;
  --green-800: #10442F;
  --green-700: #14563C;
  --green-600: #1A6B4A;
  --green-500: #22855C;
  --green-200: #BFE0CD;
  --green-100: #E4F2EA;
  --green-50:  #F1F8F4;

  /* ---- Felt ---- */
  --felt-1:    #21714F;
  --felt-2:    #14523A;
  --felt-edge: #0A2E21;
  --felt-line: rgba(228, 200, 124, .45);

  /* ---- Accent red (primary action) ---- */
  --red-700: #C4351F;
  --red-600: #E0402A;
  --red-500: #F1573A;
  --red-200: #F8C6BA;
  --red-100: #FCE7E0;
  --red-50:  #FEF5F2;

  /* ---- Amber ---- */
  --amber-700: #9A6B06;
  --amber-600: #C2870C;
  --amber-100: #FBF0D6;

  /* ---- Chips ---- */
  --chip-5:   #D0303C;
  --chip-25:  #16744A;
  --chip-100: #23282D;
  --chip-500: #6B3AC9;

  /* ---- Semantic ---- */
  --win:  #17794F;
  --lose: #D93A22;
  --push: #6B7A88;

  /* ---- Geometry ---- */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --maxw: 1240px;

  --sh-xs: 0 1px 2px rgba(16, 40, 32, .06);
  --sh-sm: 0 1px 3px rgba(16, 40, 32, .07), 0 1px 2px rgba(16, 40, 32, .05);
  --sh-md: 0 4px 16px rgba(16, 40, 32, .08);
  --sh-lg: 0 14px 40px rgba(16, 40, 32, .12);
  --sh-felt: 0 18px 44px rgba(10, 46, 33, .28);

  --ease: cubic-bezier(.2, .7, .3, 1);

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- z-index scale ---- */
  --z-nav: 50;
  --z-tabbar: 60;
  --z-modal: 90;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
  color: var(--text);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.12rem; }
h4 { font-size: .95rem; }

p { margin: 0 0 1.05em; color: var(--text-2); }

:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(44px, 7vw, 80px) 0; }
.section--tight { padding: clamp(26px, 4vw, 44px) 0; }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .9em;
}

.lead { font-size: 1.08rem; color: var(--text-2); max-width: 68ch; }
.muted { color: var(--text-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 16px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 30px 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--green-100);
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Icons ------------------------------------------------------------------ */

.ico { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.8; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 24px; height: 24px; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green-700);
  flex: 0 0 auto;
}
.brand:hover { color: var(--green-700); }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: .93rem;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--text); background: var(--surface-sunk); }
.nav__links a[aria-current="page"] { color: var(--red-600); font-weight: 600; }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-600);
}

.nav__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1000px) {
  .nav { height: 64px; gap: 10px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__actions .btn { display: none; }
  .brand__mark { width: 38px; height: 38px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), box-shadow .2s var(--ease);
}

.btn--outline { border-color: var(--border-strong); background: var(--surface); }
.btn--outline:hover { background: var(--surface-sunk); border-color: var(--text-3); color: var(--text); }

.btn--primary { background: var(--red-600); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--red-700); color: #fff; }

.btn--green { background: var(--green-600); color: #fff; box-shadow: var(--sh-sm); }
.btn--green:hover { background: var(--green-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-sunk); color: var(--text); }

/* On-felt variants */
.btn--felt {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(232, 208, 140, .5);
  color: #fff;
}
.btn--felt:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; border-radius: var(--r-md); }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Circular icon button */
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--green-700);
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--green-50); border-color: var(--green-200); }
.icon-btn.is-off { color: var(--text-3); }

/* ==========================================================================
   Panels & grids
   ========================================================================== */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.panel--pad { padding: clamp(18px, 2.6vw, 26px); }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-xs);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.feature:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; font-size: .95rem; }
.feature__num {
  display: block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 10px;
}

/* ==========================================================================
   Hero (marketing pages)
   ========================================================================== */

.hero { padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--green-600); }
.hero .btn-row { margin-top: 26px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .8rem;
  color: var(--text-2);
  margin-bottom: 18px;
  box-shadow: var(--sh-xs);
}
.badge b { color: var(--green-700); font-weight: 700; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.stat { background: var(--surface); padding: 20px 22px; }
.stat__val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--green-700);
}
.stat__label { font-size: .82rem; color: var(--text-3); }

/* ==========================================================================
   Playing cards
   ========================================================================== */

.card {
  --cw: 78px;
  --ch: 106px;
  width: var(--cw);
  height: var(--ch);
  perspective: 900px;
  flex: 0 0 auto;
}

.card__inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.card.is-faceup .card__inner { transform: rotateY(180deg); }

.card__face {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(4, 26, 18, .3);
}

.card__back {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.055) 0 5px, transparent 5px 10px),
    linear-gradient(150deg, #2c8460, #114533 75%);
  border: 1px solid rgba(255,255,255,.18);
}
.card__back::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 5px;
  border: 1px solid rgba(228, 200, 124, .38);
}

.card__front {
  transform: rotateY(180deg);
  background: #fff;
  border: 1px solid rgba(17, 32, 26, .12);
  color: #17231D;
  font-family: var(--font-display);
  font-weight: 800;
  display: block;
  padding: 6px 8px;
}
.card__front[data-color="red"] { color: #DA2B32; }

.card__rank { font-size: 1.15rem; line-height: 1; letter-spacing: -.03em; }
.card__mini { font-size: .78rem; line-height: 1; margin-top: 1px; }
.card__pip {
  position: absolute;
  right: 7px; bottom: 5px;
  font-size: 1.5rem;
  line-height: 1;
}

.card--sm { --cw: 52px; --ch: 71px; }
.card--sm .card__rank { font-size: .82rem; }
.card--sm .card__mini { font-size: .58rem; }
.card--sm .card__pip { font-size: 1rem; right: 5px; bottom: 3px; }

.card--lg { --cw: 90px; --ch: 122px; }
.card--lg .card__rank { font-size: 1.35rem; }
.card--lg .card__pip { font-size: 1.8rem; }

@media (max-width: 640px) {
  .card { --cw: 68px; --ch: 93px; }
  .card--lg { --cw: 76px; --ch: 104px; }
  .card__rank { font-size: 1.02rem; }
  .card__pip { font-size: 1.3rem; }
}
@media (max-width: 620px) {
  .card { --cw: 58px; --ch: 80px; }
  .card--lg { --cw: 66px; --ch: 91px; }
  .card__rank { font-size: .92rem; }
  .card__mini { font-size: .66rem; }
  .card__pip { font-size: 1.15rem; }
}

/* ==========================================================================
   The felt & the cross
   ========================================================================== */

.felt {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(16px, 2.6vw, 26px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.09), transparent 62%),
    linear-gradient(168deg, var(--felt-1), var(--felt-2));
  border: 6px solid var(--felt-edge);
  box-shadow: var(--sh-felt), inset 0 1px 0 rgba(255,255,255,.1);
  color: #fff;
}
.felt::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed var(--felt-line);
  border-radius: calc(var(--r-xl) - 8px);
  pointer-events: none;
}

.felt__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin: 4px 0 12px;
}
.felt__label::before, .felt__label::after {
  content: "";
  width: 18px; height: 1px;
  background: rgba(255,255,255,.3);
}

.cross-wrap { position: relative; display: flex; justify-content: center; }

.cross {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(3, auto);
  gap: 14px;
  justify-content: center;
}
.cross .slot { position: relative; display: grid; place-items: center; }
.cross .slot--top    { grid-area: 1 / 2; }
.cross .slot--left   { grid-area: 2 / 1; }
.cross .slot--center { grid-area: 2 / 2; }
.cross .slot--right  { grid-area: 2 / 3; }
.cross .slot--bottom { grid-area: 3 / 2; }

/* faint plus marks in the gaps */
.cross .slot--left::after,
.cross .slot--center::after,
.cross .slot--top::after,
.cross .slot--center::before {
  content: "+";
  position: absolute;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
  pointer-events: none;
}
.cross .slot--left::after,
.cross .slot--center::after { right: -11px; top: 50%; transform: translateY(-50%); }
.cross .slot--top::after,
.cross .slot--center::before { bottom: -12px; left: 50%; transform: translateX(-50%); }

/* line labels flanking the cross */
.cross-wrap .line-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.cross-wrap .line-label--left { right: calc(50% + 190px); }
.cross-wrap .line-label--right { left: calc(50% + 190px); }
.cross-wrap .line-label::after { content: ""; width: 16px; height: 1px; background: rgba(255,255,255,.3); }
.cross-wrap .line-label--right { flex-direction: row-reverse; }

@media (max-width: 620px) {
  .cross { gap: 8px; }
  .cross-wrap .line-label { font-size: .5rem; letter-spacing: .06em; }
  .cross-wrap .line-label--left { right: auto; left: 0; }
  .cross-wrap .line-label--right { left: auto; right: 0; }
  .cross-wrap .line-label::after { display: none; }
}

/* live-line highlighting */
.cross.is-across-live .slot--left .card__face,
.cross.is-across-live .slot--right .card__face { box-shadow: 0 0 0 2px var(--amber-600), 0 3px 10px rgba(4,26,18,.3); }
.cross.is-down-live .slot--top .card__face,
.cross.is-down-live .slot--bottom .card__face { box-shadow: 0 0 0 2px var(--red-500), 0 3px 10px rgba(4,26,18,.3); }
.cross.is-middle-live .slot--center .card__face { box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(4,26,18,.3); }

/* hole cards */
.hole {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hole__plus { font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.35); }

/* ==========================================================================
   Bet spots
   ========================================================================== */

.spots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 900px) { .spots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 359px) { .spots { grid-template-columns: repeat(2, 1fr); } }

.spot {
  border: 1px solid rgba(228, 200, 124, .4);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .16);
  padding: 10px 8px;
  text-align: center;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.spot__name {
  font-family: var(--font-display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  line-height: 1.25;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spot__row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; }
.spot__amt { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: #fff; }
.spot__stack { width: 20px; height: 20px; flex: 0 0 auto; }
.spot__res { font-size: .66rem; margin-top: 3px; color: rgba(255,255,255,.62); min-height: 1.1em; }

.spot.is-live { border-color: rgba(255, 255, 255, .55); background: rgba(255,255,255,.08); }
.spot.is-folded { opacity: .42; }
.spot.is-folded .spot__amt { text-decoration: line-through; }
.spot.is-win  { border-color: #4ADE80; background: rgba(74, 222, 128, .14); box-shadow: 0 0 0 1px rgba(74,222,128,.35); }
.spot.is-win .spot__res { color: #A7F3C6; }
.spot.is-lose { border-color: rgba(255, 138, 118, .6); background: rgba(255, 107, 107, .12); }
.spot.is-lose .spot__res { color: #FFC4B8; }
.spot.is-push { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }

.spots__note {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin: 12px 0 0;
}

/* ==========================================================================
   Chips
   ========================================================================== */

.chips { display: flex; align-items: center; gap: 8px; }

.chip {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px dashed rgba(255, 255, 255, .85);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(4, 26, 18, .35);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
  user-select: none;
  padding: 0;
}
.chip:hover { transform: translateY(-3px); }
.chip[data-v="5"]   { background: radial-gradient(circle at 34% 28%, #F0616B, var(--chip-5)); }
.chip[data-v="25"]  { background: radial-gradient(circle at 34% 28%, #3FA877, var(--chip-25)); }
.chip[data-v="100"] { background: radial-gradient(circle at 34% 28%, #4A525B, var(--chip-100)); }
.chip[data-v="500"] { background: radial-gradient(circle at 34% 28%, #9B72EC, var(--chip-500)); }
.chip.is-active { box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(4,26,18,.4); transform: translateY(-3px); }

/* chip rail shown inside the felt on small screens */
.chip-rail {
  display: none;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  margin-top: 16px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(228, 200, 124, .3);
}
@media (max-width: 1040px) { .chip-rail { display: flex; } }

/* ==========================================================================
   Game page: head + stat bar
   ========================================================================== */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 20px;
}
.page-head h1 { margin: 8px 0 4px; }
.page-head p { margin: 0; font-size: .98rem; }
.page-head__tools { display: flex; gap: 10px; }

.statbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.statbar__meters { display: flex; gap: 26px; flex-wrap: wrap; }
.statbar__spacer { flex: 1 1 auto; }

.meter { display: flex; flex-direction: column; gap: 1px; }
.meter__label {
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.meter__val {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.meter__val--win { color: var(--win); }
.meter__val--lose { color: var(--lose); }

.statbar__toggles { display: flex; flex-direction: column; gap: 6px; }
.statbar__sep { width: 1px; align-self: stretch; background: var(--border); }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .88rem; color: var(--text-2); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  width: 40px; height: 23px;
  border-radius: var(--r-pill);
  background: #CFD5D1;
  position: relative;
  flex: 0 0 auto;
  transition: background .2s var(--ease);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-xs);
  transition: transform .2s var(--ease);
}
.switch input:checked + .switch__track { background: var(--green-500); }
.switch input:checked + .switch__track::after { transform: translateX(17px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--green-600); outline-offset: 2px; }

@media (max-width: 1040px) {
  .statbar { gap: 12px 18px; padding: 12px 16px; }
  .statbar__meters { gap: 14px; flex: 1 1 auto; min-width: 0; justify-content: space-between; }
  .statbar__chips, .statbar__sep, .statbar__spacer { display: none; }
  .statbar__toggles { flex-direction: row; gap: 16px; width: 100%; order: 3; padding-top: 10px; border-top: 1px solid var(--border); }
  .meter__val { font-size: 1.08rem; }
  .page-head { padding: 16px 0 14px; align-items: center; flex-wrap: nowrap; gap: 12px; }
  .page-head h1 { font-size: 1.28rem; margin: 0; }
  .page-head__text { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .page-head p { display: none; }
  .page-head__tools { flex: 0 0 auto; }
  .page-head__tools .icon-btn:not(.icon-btn--help) { display: none; }
}
@media (max-width: 560px) {
  .meter--session { display: none; }
  .statbar { padding: 11px 13px; gap: 10px 12px; }
  .meter__val { font-size: 1rem; }
  .meter__label { font-size: .58rem; letter-spacing: .1em; }
  .felt { padding: 14px 10px; }
  .spot__name { font-size: .54rem; }
  .spot__amt { font-size: .95rem; }
  .actions__row .btn--lg { padding: 13px 14px; font-size: .95rem; }
  .actions__prompt { font-size: .9rem; }
}

/* ==========================================================================
   Game layout
   ========================================================================== */

.game-grid { margin-top: 18px; }

@media (min-width: 1041px) {
  .game-grid { display: flex; align-items: flex-start; gap: 20px; }
  .game-main { flex: 1 1 auto; min-width: 0; }
  .game-side { flex: 0 0 336px; display: grid; gap: 14px; align-content: start; }
}

/* On small screens every panel becomes a sibling so the running order can be
   tuned: table, coach, result, then the reference panels. */
@media (max-width: 1040px) {
  .game-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .game-main, .game-side { display: contents; }
  .g-felt    { order: 1; }
  .g-coach   { order: 2; }
  .g-result  { order: 3; }
  .g-live    { order: 4; }
  .g-history { order: 5; }
  .g-pays    { order: 6; }
  .info-paytable { display: none; }   /* the accordion above covers it */
}

/* Action zone inside the felt */
.actions { margin-top: 18px; }
.actions__prompt {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-align: center;
  margin-bottom: 12px;
  min-height: 1.4em;
}
.actions__prompt b { color: #F6DFA0; }
.actions__row { display: flex; gap: 10px; flex-wrap: wrap; }
.actions__row .btn { flex: 1 1 120px; }
.actions__row .btn--primary { flex: 1.5 1 165px; }

/* ==========================================================================
   Sidebar panels / accordions
   ========================================================================== */

.acc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; }

.acc__head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
}
.acc__head .ico { color: var(--green-600); }
.acc__title { flex: 1 1 auto; }
.acc__chev { color: var(--text-3); transition: transform .2s var(--ease); }
.acc.is-open .acc__chev { transform: rotate(180deg); }
.acc__body { display: none; padding: 0 18px 18px; }
.acc.is-open .acc__body { display: block; }

/* On desktop the live readouts are pinned open; Payouts stays collapsible */
@media (min-width: 1041px) {
  .g-live .acc__body, .g-history .acc__body { display: block !important; }
  .g-live .acc__chev, .g-history .acc__chev { display: none; }
  .g-live .acc__head, .g-history .acc__head { cursor: default; padding-bottom: 10px; }
  .g-live .acc__title, .g-history .acc__title {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
  }
}

/* Live hand readout */
.readout { display: grid; gap: 0; }
.readout__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.readout__row:last-child { border-bottom: 0; padding-bottom: 0; }
.readout__label {
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  flex: 0 0 auto;
}
.readout__val { font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-align: right; color: var(--text-2); }
.readout__val.is-win { color: var(--win); }
.readout__val.is-push { color: var(--amber-600); }
.readout__val.is-lose { color: var(--lose); }

@media (min-width: 1041px) {
  .readout__row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .readout__val { text-align: left; }
}

/* Coach card */
.coach {
  background: linear-gradient(180deg, var(--red-50), #FFF9F7);
  border: 1px solid var(--red-200);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--sh-sm);
}
.coach__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 8px;
}
.coach__action {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--red-600);
  margin: 0 0 6px;
  line-height: 1.15;
}
.coach__why { margin: 0; font-size: .89rem; color: var(--text-2); }
.coach__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  color: var(--red-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.coach__more { display: none; margin: 10px 0 0; font-size: .86rem; color: var(--text-2); }
.coach.is-expanded .coach__more { display: block; }

@media (max-width: 1040px) {
  .coach { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k k" "a l" "w w" "m m"; align-items: center; column-gap: 14px; }
  .coach__kicker { grid-area: k; }
  .coach__action { grid-area: a; }
  .coach__link { grid-area: l; margin-top: 0; }
  .coach__why { grid-area: w; }
  .coach__more { grid-area: m; }
}

/* Hand history */
.history { display: grid; gap: 0; max-height: 260px; overflow-y: auto; }
.history__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
  color: var(--text-2);
}
.history__row:last-child { border-bottom: 0; }
.history__row b { color: var(--text); font-weight: 600; }
.history__row.is-win b { color: var(--win); }
.history__row.is-lose b { color: var(--lose); }
.history__amt { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.history__time { color: var(--text-3); font-size: .78rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.history__empty { color: var(--text-3); font-size: .87rem; padding: 6px 0; }

/* ==========================================================================
   Result bar
   ========================================================================== */

.result-bar {
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 22px;
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.result-bar.is-shown { display: flex; }
.result-bar__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  background: var(--lose);
}
.result-bar.is-win .result-bar__icon { background: var(--win); }
.result-bar.is-push .result-bar__icon { background: var(--push); }
.result-bar__amt { display: flex; flex-direction: column; }
.result-bar__net {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--lose);
  line-height: 1.1;
}
.result-bar.is-win .result-bar__net { color: var(--win); }
.result-bar.is-push .result-bar__net { color: var(--push); }
.result-bar__detail { flex: 1 1 240px; font-size: .9rem; color: var(--text-2); }
.result-bar__detail b { color: var(--text); font-weight: 600; }
.result-bar__hand { font-family: var(--font-display); font-weight: 700; color: var(--text-3); font-size: .86rem; }

/* ==========================================================================
   Scoring explainer
   ========================================================================== */

.explain { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
@media (max-width: 520px) { .explain { grid-template-columns: 1fr; } }

.mini-cross {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 5px;
  justify-content: center;
}
.mini-cross .slot--top    { grid-area: 1 / 2; }
.mini-cross .slot--left   { grid-area: 2 / 1; }
.mini-cross .slot--center { grid-area: 2 / 2; }
.mini-cross .slot--right  { grid-area: 2 / 3; }
.mini-cross .slot--bottom { grid-area: 3 / 2; }
.mini-cross .slot { padding: 3px; border-radius: 8px; border: 2px solid transparent; }
.mini-cross .slot--left, .mini-cross .slot--right { border-color: var(--amber-600); }
.mini-cross .slot--top, .mini-cross .slot--bottom { border-color: var(--red-500); }
.mini-cross .slot--center { border-color: var(--green-600); }

.legend { display: grid; gap: 14px; }
.legend__item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.legend__badge {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}
.legend__badge--across { color: var(--amber-600); background: var(--amber-100); }
.legend__badge--down { color: var(--red-600); background: var(--red-100); }
.legend__badge--five { color: var(--green-600); background: var(--green-100); }
.legend__title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.legend__title--across { color: var(--amber-700); }
.legend__title--down { color: var(--red-700); }
.legend__title--five { color: var(--green-700); }
.legend__title span { color: var(--text-3); font-weight: 500; }
.legend__desc { margin: 2px 0 0; font-size: .87rem; color: var(--text-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-700);
}
.link-arrow:hover { gap: 9px; }
.link-arrow .ico { transition: transform .2s var(--ease); }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 380px;
}
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
table.data thead th {
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-2);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: var(--surface-2); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .hand-name { font-weight: 600; color: var(--text); }
table.data .pay { font-family: var(--font-display); font-weight: 700; color: var(--green-700); font-variant-numeric: tabular-nums; }

.panel .table-scroll table.data { min-width: 0; }
.panel--pad > .table-scroll > table.data th:first-child,
.panel--pad > .table-scroll > table.data td:first-child { padding-left: 0; }
.panel--pad > .table-scroll > table.data th:last-child,
.panel--pad > .table-scroll > table.data td:last-child { padding-right: 0; }

/* Compact pay table used in the sidebar */
.paytable-compact table.data { font-size: .86rem; }
.paytable-compact table.data th, .paytable-compact table.data td { padding: 8px 0; }
.paytable-compact table.data tbody tr:nth-child(even) { background: transparent; }

/* ==========================================================================
   Steps / callout / FAQ / CTA
   ========================================================================== */

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 17px 20px 17px 62px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-xs);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 16px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .86rem;
}
.steps li h3 { margin-bottom: .25em; font-size: 1.02rem; }
.steps li p { margin: 0; font-size: .93rem; }

.callout {
  border-left: 3px solid var(--green-500);
  background: var(--green-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--red-500); background: var(--red-50); }

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 0 20px;
  margin-bottom: 10px;
  box-shadow: var(--sh-xs);
}
.faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-family: var(--font-display);
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 0; padding-bottom: 4px; font-size: .94rem; }

.cta {
  text-align: center;
  border-radius: var(--r-xl);
  border: 1px solid var(--green-200);
  background: var(--green-50);
  padding: clamp(30px, 5vw, 54px) 24px;
}
.cta .btn-row { justify-content: center; margin-top: 22px; }

/* Learn strip (game page) */
.learn-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-top: 18px;
  border-radius: var(--r-xl);
  border: 1px solid var(--green-200);
  background: var(--green-50);
}
.learn-strip__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--green-200);
  color: var(--green-600);
  flex: 0 0 auto;
}
.learn-strip__text { flex: 1 1 240px; }
.learn-strip__text h3 { margin: 0 0 2px; }
.learn-strip__text p { margin: 0; font-size: .92rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 46px;
  padding: 34px 0;
  background: var(--green-900);
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: rgba(255,255,255,.78); padding: 6px 10px; border-radius: var(--r-sm); }
.footer-links a:hover { color: #fff; background: rgba(255,255,255,.09); }
.footer-legal { text-align: right; font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.5; }
@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

/* ==========================================================================
   Mobile tab bar
   ========================================================================== */

.tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-tabbar);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 4px;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
}
.tabbar a[aria-current="page"] { color: var(--red-600); }

@media (max-width: 1000px) {
  .tabbar { display: block; }
  body.has-tabbar { padding-bottom: 66px; }
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 26, 20, .55);
  backdrop-filter: blur(3px);
}
.modal.is-open { display: flex; }
.modal__box {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 26px;
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-2);
  flex: 0 0 auto;
}
.modal__close:hover { background: var(--surface-sunk); }

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pop { animation: pop .28s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* history row: label takes the slack so the amount/time stay right-aligned */
.history__row > span:first-child { flex: 1 1 auto; }

/* legend strip under a decorative felt on the marketing pages */
.cross-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.cross-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.cross-legend .k-across { background: var(--amber-600); }
.cross-legend .k-down { background: var(--red-500); }
.cross-legend .k-mid { background: #fff; }

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* ---------- Hero ---------- */

.home-hero {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 56px);
  background: linear-gradient(103deg, var(--green-100) 0%, rgba(228, 242, 234, .55) 34%, rgba(228, 242, 234, 0) 62%);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
@media (max-width: 1040px) { .home-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.pill--outline {
  background: transparent;
  border: 1px solid var(--green-200);
  color: var(--green-700);
}

.home-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  letter-spacing: -.035em;
  margin: 18px 0 .45em;
}
.home-hero__sub { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 32ch; }
.home-hero .btn-row { margin-top: 26px; }

.trust-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-row__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.25;
  border-left: 1px solid var(--border);
}
.trust-row__item:first-child { padding-left: 0; border-left: 0; }
.trust-row__item .ico { color: var(--green-600); width: 24px; height: 24px; }
.trust-row__item > span { max-width: 12ch; }
@media (min-width: 561px) { .trust-row { flex-wrap: nowrap; } .trust-row__item { padding: 0 14px; font-size: .82rem; } }

@media (max-width: 560px) {
  .trust-row { justify-content: space-between; }
  .trust-row__item { flex: 1 1 0; padding: 0 9px; font-size: .76rem; }
  .trust-row__item > span { max-width: none; }
  .trust-row__item .ico { width: 20px; height: 20px; }
}

/* The angled table beside the headline */
.hero-table {
  position: relative;
  transform: perspective(1700px) rotateY(-9deg) rotateX(2.5deg) rotate(-1.2deg);
  transform-origin: left center;
  filter: drop-shadow(0 30px 55px rgba(10, 46, 33, .3));
  border-radius: var(--r-xl);
}
@media (max-width: 1040px) { .hero-table { transform: none; filter: none; } }

.hero-table .felt { padding: clamp(16px, 2.2vw, 26px); }
.hero-table__toggles {
  position: absolute;
  top: 20px; right: 20px;
  display: grid;
  gap: 8px;
  z-index: 2;
}
@media (max-width: 760px) {
  .hero-table__toggles {
    position: static;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
}
.hero-table__toggles .switch { color: rgba(255, 255, 255, .92); font-weight: 500; pointer-events: none; }
.hero-table__toggles .switch__track { background: var(--green-500); }
.hero-table__toggles .switch__track::after { transform: translateX(17px); }

.hero-table__coach {
  position: absolute;
  right: 18px;
  top: 36%;
  width: min(230px, 44%);
  z-index: 2;
}
@media (max-width: 1240px) { .hero-table__coach { position: static; width: auto; margin-top: 16px; } }

.hero-table .cross-wrap { justify-content: flex-start; align-items: center; gap: 14px; }
.hero-table .line-label { position: static; transform: none; flex: 0 0 auto; max-width: 5.5em; white-space: normal; }
.hero-table .line-label::after { display: none; }
@media (min-width: 901px) { .hero-table .spots { grid-template-columns: repeat(5, 1fr); } }
.hero-table__rail {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}
@media (max-width: 700px) { .hero-table__rail { justify-content: center; } }

/* ---------- Stat strip ---------- */

.statstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.statstrip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-left: 1px solid var(--border);
}
.statstrip__item:first-child { border-left: 0; }
.statstrip__icon { color: var(--green-600); flex: 0 0 auto; width: 44px; height: 44px; stroke-width: 1.4; }
.statstrip__n {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--text);
}
.statstrip__n, .statstrip__label, .statstrip__desc { display: block; }
.statstrip__label { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.statstrip__desc { font-size: .84rem; color: var(--text-3); }

@media (max-width: 760px) {
  .statstrip__item { gap: 11px; padding: 15px 10px; }
  .statstrip__icon { width: 32px; height: 32px; }
  .statstrip__n { font-size: 1.25rem; }
  .statstrip__label { font-size: .84rem; line-height: 1.15; }
  .statstrip__desc { display: none; }
}

/* ---------- How it works ---------- */

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .works { grid-template-columns: 1fr; } }

.work {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-xs);
}
.work__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.work__badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  flex: 0 0 auto;
}
.work h3 { margin: 0; }
.work p { font-size: .93rem; margin-bottom: 0; }
.work__art { margin-top: auto; padding-top: 18px; display: flex; justify-content: center; }
.work__art .chips { justify-content: center; }
.work__formula {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--green-700);
  margin-top: 10px;
}
.work__formula span { color: var(--red-600); }

@media (max-width: 940px) {
  .work { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: start; }
  .work__head { grid-column: 1 / -1; }
  .work__art { grid-column: 1; margin-top: 0; }
  .work__body { grid-column: 2; }
}
@media (max-width: 560px) {
  .work { grid-template-columns: 1fr; }
  .work__art, .work__body { grid-column: 1; }
  .work__art { margin-bottom: 14px; }
}

/* Hand rows used in step 03 */
.handrow { display: grid; grid-template-columns: minmax(88px, auto) 1fr; gap: 12px; align-items: center; margin-top: 12px; }
.handrow__label { font-size: .82rem; line-height: 1.25; color: var(--text-2); }
.handrow__label b { display: block; font-family: var(--font-display); font-size: .87rem; }
.handrow__label--across b { color: var(--green-700); }
.handrow__label--down b { color: var(--red-600); }
.handrow__cards { display: flex; gap: 5px; flex-wrap: wrap; }

.card--xs { --cw: 38px; --ch: 50px; }
.card--xs .card__rank { font-size: .74rem; }
.card--xs .card__mini { display: none; }
.card--xs .card__pip { font-size: .82rem; right: 4px; bottom: 3px; }
.card--xs .card__front { padding: 4px 5px; }

/* ---------- Practice teaser ---------- */

.practice {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 30px);
}
.practice__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.practice__head h2 { margin: 0; }
.practice__toggles { display: flex; gap: 22px; flex-wrap: wrap; }

.practice__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .practice__grid { grid-template-columns: minmax(0, 1fr); } }

.practice .felt { padding: clamp(16px, 2.4vw, 24px); }
.practice__rail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.practice__rail .chips {
  background: rgba(255, 255, 255, .93);
  border-radius: var(--r-pill);
  padding: 7px 12px;
}
.practice__rail .btn { flex: 1 1 auto; }

.bestmove { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm); }
.kicker {
  display: block;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 6px;
}
.bestmove__action {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--red-600);
  margin: 0 0 8px;
}
.bestmove p { font-size: .92rem; }
.bestmove hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }

.recent { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px; box-shadow: var(--sh-xs); margin-top: 14px; }
.recent h3 { font-size: .95rem; margin-bottom: 6px; }
.recent p { font-size: .86rem; margin: 0; }
.recent .neg { color: var(--lose); font-weight: 600; }
.recent .pos { color: var(--win); font-weight: 700; }

/* ---------- Why the cross ---------- */

.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (max-width: 1040px) { .why-grid { grid-template-columns: 1fr; } }

.cross-anno { display: grid; justify-items: center; }
.cross-anno .cross { gap: 12px; }
.cross-anno .slot--left .card__face,
.cross-anno .slot--right .card__face,
.cross-anno .slot--center .card__face { box-shadow: 0 0 0 1.5px var(--green-500), var(--sh-sm); }
.cross-anno .slot--top .card__face,
.cross-anno .slot--bottom .card__face { box-shadow: 0 0 0 1.5px var(--red-500), var(--sh-sm); }

.anno { display: grid; gap: 14px; margin-top: 18px; }
.anno__item { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-3); }
.anno__item .ico { flex: 0 0 auto; margin-top: 1px; }
.anno__item b { font-family: var(--font-display); display: block; font-size: .92rem; }
.anno__item--across b, .anno__item--across .ico { color: var(--green-700); }
.anno__item--down b, .anno__item--down .ico { color: var(--red-600); }

.glance { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--sh-sm); }
.glance h3 { font-size: 1.05rem; margin-bottom: 8px; }
.glance__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text-2);
}
.glance__row:last-child { border-bottom: 0; padding-bottom: 0; }
.glance__val { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--green-700); font-variant-numeric: tabular-nums; }

/* ---------- Payout strip ---------- */

.payout-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 28px);
}
@media (max-width: 940px) { .payout-strip { grid-template-columns: 1fr; } }

.payout-list { display: grid; }
.payout-list__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-2);
}
.payout-list__row:last-child { border-bottom: 0; }
.payout-list__pay { font-family: var(--font-display); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.payout-list__row--top .payout-list__pay { color: var(--red-600); }

.factcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 560px) { .factcards { grid-template-columns: 1fr; } }
.factcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--sh-xs);
}
.factcard .ico { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--green-700); stroke-width: 1.5; }
.factcard__n { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--green-700); line-height: 1.05; }
.factcard__label { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.factcard__sub { font-size: .82rem; color: var(--text-3); }

/* ---------- Dark band ---------- */

.dark-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #fff;
  padding: clamp(38px, 6vw, 64px) 0;
  margin: clamp(38px, 6vw, 64px) 0;
}
.dark-band h2 { color: #fff; text-align: center; }
.dark-band__suit {
  position: absolute;
  font-size: clamp(120px, 16vw, 240px);
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
  user-select: none;
}
.dark-band__suit--a { top: -34px; left: -26px; }
.dark-band__suit--b { bottom: -70px; left: 70px; font-size: clamp(90px, 11vw, 170px); }
.dark-band__suit--c { top: -24px; right: -18px; }
.dark-band__suit--d { bottom: -60px; right: 80px; font-size: clamp(90px, 11vw, 170px); }
.dark-band .container { position: relative; z-index: 1; }

.tipcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
@media (max-width: 860px) { .tipcards { grid-template-columns: 1fr; } }
.tipcard {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-md);
}
.tipcard h3 { text-align: center; color: var(--green-700); font-size: 1rem; margin-bottom: 14px; }
.tipcard__body { display: flex; align-items: center; gap: 14px; }
.tipcard__cards { display: flex; gap: 5px; flex: 0 0 auto; }
.tipcard p { font-size: .82rem; margin: 0; }

/* ---------- Article cards ---------- */

.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .articles { grid-template-columns: 1fr; } }

.article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-xs);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.article:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.article__art {
  border-radius: var(--r-md);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(165deg, var(--felt-1), var(--felt-2));
  display: grid;
  place-items: center;
  padding: 10px;
  min-height: 152px;
  overflow: hidden;
}
.article__art .chips { flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 108px; }
.article__art .chip { width: 42px; height: 42px; font-size: .6rem; border-width: 2px; cursor: default; }
.article__art .chip:hover { transform: none; }
.article__art .cross { gap: 4px; }
.article__meta {
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.article h3 { font-size: 1.02rem; margin: 6px 0; }
.article p { font-size: .87rem; margin-bottom: 10px; }

@media (max-width: 480px) { .article { grid-template-columns: 1fr; } .article__art { min-height: 140px; } }

/* ---------- Wide FAQ ---------- */

.faq--wide details { padding: 0 22px; }
.faq--wide summary { color: var(--green-700); padding: 17px 0; }
.faq--wide summary::after { color: var(--text-3); font-weight: 400; }

/* ---------- Final CTA ---------- */

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.5vw, 36px);
}
@media (max-width: 940px) { .final-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.final-cta h2 { margin-bottom: 6px; }
.final-cta p { margin: 0; font-size: .95rem; }
.final-cta .cross { gap: 6px; }
@media (max-width: 560px) { .final-cta__art { display: none; } }

/* ==========================================================================
   Footer — multi column
   ========================================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-about p { color: rgba(255, 255, 255, .62); font-size: .86rem; margin: 14px 0 0; max-width: 30ch; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .89rem; }
.footer-col a:hover { color: #fff; }
.footer-note {
  border-left: 1px solid rgba(255, 255, 255, .16);
  padding-left: 28px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .72);
}
@media (max-width: 940px) { .footer-note { border-left: 0; padding-left: 0; } }
.footer-note__legal { display: flex; gap: 22px; margin-top: 18px; }
.footer-note__legal a { color: rgba(255, 255, 255, .72); }
.footer-note__legal a:hover { color: #fff; }

/* decorative chips (marketing pages) are not interactive */
.chip--static { cursor: default; }
.chip--static:hover { transform: none; }

/* decorative switch shown in the on position (no input to check) */
.switch--on .switch__track { background: var(--green-500); }
.switch--on .switch__track::after { transform: translateX(17px); }

/* keep a five-card hand on one line on narrow screens */
@media (max-width: 560px) {
  .card--xs { --cw: 32px; --ch: 42px; }
  .card--xs .card__rank { font-size: .64rem; }
  .card--xs .card__pip { font-size: .7rem; }
  .handrow { grid-template-columns: minmax(74px, auto) 1fr; gap: 10px; }
  .handrow__cards { flex-wrap: nowrap; gap: 4px; }
}

/* ==========================================================================
   Utilities
   These replace the inline style attributes that used to live in the markup.
   Declared last so they win over component defaults of equal specificity.
   ========================================================================== */

/* --- spacing --- */
.m-0    { margin: 0; }
.mb-0   { margin-bottom: 0; }
.mb-26  { margin-bottom: 26px; }
.mt-12  { margin-top: 12px; }
.mt-14  { margin-top: 14px; }
.mt-16  { margin-top: 16px; }
.mt-18  { margin-top: 18px; }
.mt-20  { margin-top: 20px; }
.mt-22  { margin-top: 22px; }
.mt-24  { margin-top: 24px; }
.mt-26  { margin-top: 26px; }
.mt-30  { margin-top: 30px; }
.mt-32  { margin-top: 32px; }
.mt-36  { margin-top: 36px; }

.pt-0     { padding-top: 0; }
.pt-16    { padding-top: 16px; }
.pt-20    { padding-top: 20px; }
.pt-fluid { padding-top: clamp(30px, 4vw, 52px); }

/* --- measure --- */
.measure       { max-width: 800px; }
.measure-tight { max-width: 22ch; margin-inline: auto; }

/* --- type --- */
.fs-md { font-size: 1.2rem; }
.fs-lg { font-size: 1.3rem; }
.d-block { display: block; }

.text-body  { color: var(--text-2); }
.text-faint { color: var(--text-3); }
.text-lose  { color: var(--lose); font-weight: 600; }

/* --- small compositions --- */
.panel-title {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.grid--align { align-items: center; gap: 40px; }

/* mobile dropdown menu reads right-aligned, toward the toggle button */
@media (max-width: 1000px) {
  .nav__links a { text-align: right; }
}

/* ==========================================================================
   Print — used by the strategy chart so "Save as PDF" produces a clean sheet
   ========================================================================== */
@media print {
  .site-header, .tabbar, .site-footer, .no-print, .cta, .btn { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .section, .section--tight { padding: 0 0 12pt; }
  .container { max-width: none; padding-inline: 0; }
  .panel, .chart-block { break-inside: avoid; box-shadow: none; border-color: #bbb; }
  h1 { font-size: 20pt; }
  h2, .panel-title { font-size: 12pt; }
  table.data { font-size: 9pt; }
  table.data tbody tr:nth-child(even) { background: #f4f4f2; }
  a[href^="/"]::after { content: ""; }
}

/* ==========================================================================
   Switches used as real buttons (role="switch") outside of forms
   ========================================================================== */
button.switch {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--text-2);
  cursor: pointer;
}
button.switch:hover { color: var(--text); }
button.switch:hover .switch__track { background: #bcc5c0; }
.switch[aria-checked="true"] .switch__track { background: var(--green-500); }
.switch[aria-checked="true"]:hover .switch__track { background: var(--green-600); }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(17px); }
button.switch:focus-visible { outline: 2px solid var(--green-600); outline-offset: 4px; border-radius: var(--r-sm); }

.is-hidden { display: none !important; }

/* ==========================================================================
   GUIDE PAGE (how-to-play)
   ========================================================================== */

/* ---------- breadcrumb ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--text-3);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--green-700); }
.crumbs span[aria-current] { color: var(--text); font-weight: 500; }

/* ---------- hero ---------- */
.guide-hero {
  position: relative;
  padding: clamp(24px, 4vw, 44px) 0 clamp(28px, 4vw, 48px);
  background: linear-gradient(103deg, var(--green-100) 0%, rgba(228, 242, 234, .5) 36%, rgba(228, 242, 234, 0) 64%);
}
.guide-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}
@media (max-width: 1040px) { .guide-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.guide-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  letter-spacing: -.035em;
  margin: 16px 0 .4em;
}
.guide-hero__sub { font-size: clamp(1rem, 1.5vw, 1.1rem); max-width: 34ch; }
.guide-hero .btn-row { margin-top: 24px; }

/* the 2 / 5 / 3 fact bar */
.factbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.factbar__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border-left: 1px solid var(--border);
}
.factbar__item:first-child { padding-left: 0; border-left: 0; }
.factbar__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.factbar__n, .factbar__label { display: block; }
.factbar__label { font-size: .78rem; color: var(--text-3); line-height: 1.25; }
.factbar .card { --cw: 26px; --ch: 34px; }
.factbar .card__rank { font-size: .5rem; }
.factbar .card__mini { display: none; }
.factbar .card__pip { font-size: .55rem; right: 3px; bottom: 2px; }
.factbar .chip { width: 30px; height: 30px; font-size: .5rem; border-width: 2px; cursor: default; }
.factbar .chip:hover { transform: none; }
.factbar__art { display: flex; gap: 3px; flex: 0 0 auto; }

@media (max-width: 560px) {
  .factbar { padding: 12px; }
  .factbar__item { padding: 0 10px; }
  .factbar__n { font-size: 1.1rem; }
  .factbar__label { font-size: .68rem; }
}

/* ---------- cross diagram with axis arrows ---------- */
.crossdiagram { position: relative; display: grid; justify-items: center; gap: 12px; }
.crossdiagram__hole { display: flex; gap: 8px; }

.axis {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
}
.axis .ico { width: 16px; height: 16px; }
.axis--down { flex-direction: column; gap: 4px; text-align: center; letter-spacing: .1em; }

.crossrow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.crossrow__side { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

@media (max-width: 640px) {
  .axis { font-size: .5rem; letter-spacing: .08em; }
  .crossrow { gap: 6px; }
}

/* ---------- numbered guide section ---------- */
.gsec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--sh-xs);
}
.gsec + .gsec { margin-top: 18px; }
.gsec__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.gsec__num {
  width: 32px; height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
}
.gsec__head h2 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin: 0; }
.gsec__head p { margin: 3px 0 0; font-size: .9rem; }

.gsec-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }

/* the "= your 2 cards + ..." formula rows */
.formula {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  padding: 14px 16px;
}
.formula + .formula { margin-top: 12px; }
.formula__title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.formula__title--across b { color: var(--green-700); }
.formula__title--down b { color: var(--red-600); }
.formula__title span { color: var(--text-3); font-weight: 500; }
.formula__cards { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.formula__plus { font-family: var(--font-display); font-weight: 700; color: var(--text-3); padding: 0 5px; }

.keynote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--green-200);
  background: var(--green-50);
  border-radius: var(--r-md);
}
.keynote .ico { color: var(--green-600); margin-top: 2px; }
.keynote h3 { font-size: .96rem; margin: 0 0 4px; color: var(--green-700); }
.keynote p { margin: 0; font-size: .88rem; }

/* ---------- 8-step grid ---------- */
.stepgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .stepgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .stepgrid { grid-template-columns: 1fr; } }

.stepcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.stepcard__head { display: flex; align-items: flex-start; gap: 10px; }
.stepcard__num {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .74rem;
}
.stepcard--decide .stepcard__num { background: var(--red-600); }
.stepcard h3 { font-size: .96rem; margin: 0; line-height: 1.25; }
.stepcard p { font-size: .85rem; margin: 0; }
.stepcard__art { margin-top: auto; padding-top: 6px; display: flex; justify-content: center; }

/* labelled chip row with 1x / 2x / 3x */
.betrow { text-align: center; width: 100%; }
.betrow__label {
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.betrow__chips { display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-wrap: wrap; }
.betrow__opt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.betrow__opt small { font-size: .68rem; color: var(--text-3); font-weight: 600; }
.betrow .chip { width: 44px; height: 44px; font-size: .7rem; border-width: 2px; cursor: default; }
.betrow .chip:hover { transform: none; }

.betrow__or { align-self: center; font-size: .78rem; color: var(--text-3); }
.pill-flag {
  display: inline-block;
  align-self: center;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: var(--red-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
}
.pill-ghost {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--text-2);
}

/* chips with a name above them (step 1) */
.namedchips { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.namedchip { text-align: center; }
.namedchip__label {
  font-family: var(--font-display);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.25;
  margin-bottom: 6px;
  min-height: 2.4em;
}
.namedchips .chip { width: 44px; height: 44px; font-size: .7rem; border-width: 2px; cursor: default; margin-inline: auto; }
.namedchips .chip:hover { transform: none; }

/* mini cross used inside step cards */
.stepcross { display: grid; grid-template-columns: repeat(3, auto); gap: 3px; justify-content: center; }
.stepcross .slot--top { grid-area: 1 / 2; }
.stepcross .slot--left { grid-area: 2 / 1; }
.stepcross .slot--center { grid-area: 2 / 2; }
.stepcross .slot--right { grid-area: 2 / 3; }
.stepcross .slot--bottom { grid-area: 3 / 2; }
.stepcross__hole { grid-area: 1 / 1; display: flex; gap: 3px; }

/* ---------- finished hands ---------- */
.handpanels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.handpanel { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.handpanel__head {
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.handpanel--across .handpanel__head { background: var(--green-700); }
.handpanel--down .handpanel__head { background: var(--red-600); }
.handpanel__body { padding: 18px 14px; text-align: center; }
.handpanel__cards { display: flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; }
.handpanel__result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.handpanel--across .handpanel__result { color: var(--green-700); }
.handpanel--down .handpanel__result { color: var(--text-2); }
.handpanel__result .ico { color: var(--amber-600); }

/* ---------- wager payment cards ---------- */
.wagercards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.wagercard {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  padding: 16px 14px;
  text-align: center;
}
.wagercard h3 { font-size: .92rem; margin: 0 0 12px; line-height: 1.25; }
.wagercard__art { display: flex; justify-content: center; gap: 5px; margin-bottom: 12px; min-height: 42px; align-items: center; }
.wagercard__art .chip { width: 40px; height: 40px; font-size: .62rem; border-width: 2px; cursor: default; }
.wagercard__art .chip:hover { transform: none; }
.wagercard__art .ico { width: 34px; height: 34px; color: var(--green-600); }
.wagercard p { font-size: .82rem; margin: 0; }

/* ---------- pay table with highlighted top rows ---------- */
table.data tr.is-top td { background: var(--amber-100); }
table.data tr.is-top .pay { color: var(--red-600); }
table.data .pay-red { color: var(--red-600); font-family: var(--font-display); font-weight: 700; }

.note-red {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid var(--red-200);
  background: var(--red-50);
  border-radius: var(--r-md);
  font-size: .87rem;
  color: var(--text-2);
}
.note-red .ico { color: var(--red-600); flex: 0 0 auto; }

/* ---------- hand rankings ---------- */
.rank-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

.rank-row {
  display: grid;
  grid-template-columns: 26px minmax(96px, auto) 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child { border-bottom: 0; }
.rank-row__n {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-100);
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .68rem;
}
.rank-row__name { font-weight: 600; font-size: .88rem; }
.rank-row__cards { display: flex; gap: 4px; flex-wrap: nowrap; }
.rank-row__cards .card { --cw: 30px; --ch: 40px; }
.rank-row__cards .card__rank { font-size: .6rem; }
.rank-row__cards .card__pip { font-size: .64rem; right: 3px; bottom: 2px; }
.rank-row__p { font-family: var(--font-display); font-weight: 700; font-size: .86rem; font-variant-numeric: tabular-nums; color: var(--text-2); text-align: right; white-space: nowrap; }
.rank-head {
  display: grid;
  grid-template-columns: 26px minmax(96px, auto) 1fr auto;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 700px) {
  .rank-row, .rank-head { grid-template-columns: 24px 1fr auto; }
  .rank-row__cards { display: none; }
  .rank-head span:nth-child(3) { display: none; }
}

/* donuts */
.donutbox {
  border: 1px solid var(--green-200);
  background: var(--green-50);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  text-align: center;
}
.donutbox h3 { font-size: 1rem; margin: 0 0 4px; }
.donutbox > p { font-size: .8rem; margin: 0 0 16px; }
[data-donuts] { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.donut { display: flex; align-items: center; gap: 12px; text-align: left; }
.donut > span { display: flex; flex-direction: column; }
.donut svg { width: 52px; height: 52px; flex: 0 0 auto; transform: rotate(-90deg); }
.donut__track { fill: none; stroke: rgba(20, 86, 60, .13); stroke-width: 7; }
.donut__arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.donut__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.donut__l { display: block; font-size: .74rem; color: var(--text-3); line-height: 1.25; }

/* ---------- closing CTA ---------- */
.guide-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 30px);
  margin-top: 20px;
}
@media (max-width: 900px) { .guide-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.guide-cta h2 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 0 0 4px; }
.guide-cta p { margin: 0; font-size: .93rem; }
.guide-cta__art { display: flex; gap: 5px; }
.guide-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
@media (max-width: 560px) { .guide-cta__art { display: none; } }

/* the partial cross diagrams inside step cards sit tight */
.stepcard .cross { gap: 3px; }

/* named chip colours, usable anywhere (not just inside a bet row) */
.chip--bet { background: radial-gradient(circle at 34% 28%, #3FA877, var(--chip-25)); }
.chip--max { background: radial-gradient(circle at 34% 28%, #F0616B, var(--chip-5)); }

/* pay table / hand rankings sit side by side, rankings given the wider column */
.guide-pair { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .guide-pair { grid-template-columns: minmax(0, 1fr); } }

.grid--top { align-items: start; }

/* ==========================================================================
   STRATEGY PAGE
   ========================================================================== */

/* ---------- hero: board with numbered decision callouts ---------- */
.strat-hero__board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 210px); gap: 18px; align-items: center; }
@media (max-width: 700px) { .strat-hero__board { grid-template-columns: minmax(0, 1fr); } }

.declist { display: grid; gap: 16px; }
.decitem { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.decitem__n {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
}
.decitem h3 { color: #fff; font-size: .98rem; margin: 0 0 2px; }
.decitem p { color: rgba(255, 255, 255, .72); font-size: .78rem; margin: 0 0 8px; line-height: 1.35; }
.tag-action {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  color: #fff;
  background: var(--red-600);
}
.tag-action--1x { background: var(--amber-600); }
.tag-action--fold { background: #6E7C75; }

/* small "three decisions" chip under the hero buttons */
.minifact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
  font-size: .84rem;
  color: var(--text-2);
}
.minifact .ico { color: var(--green-600); }
.minifact b { color: var(--text); font-weight: 600; }

/* ---------- three-step flow strip ---------- */
.flowstrip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  box-shadow: var(--sh-sm);
}
@media (max-width: 900px) {
  .flowstrip { grid-template-columns: 1fr; }
  .flowstrip__arrow { display: none; }
}
.flowstep { display: flex; align-items: center; gap: 14px; }
.flowstep__medallion {
  width: 78px; height: 78px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 28%, var(--green-600), var(--green-900));
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.flowstep__medallion .cross { gap: 2px; }
.flowstep__medallion .card { --cw: 16px; --ch: 21px; }
.flowstep__medallion .card__rank { font-size: .32rem; }
.flowstep__medallion .card__mini, .flowstep__medallion .card__pip { display: none; }
.flowstep h3 {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 3px;
}
.flowstep p { font-size: .88rem; margin: 0; }
.flowstep small { display: block; margin-top: 5px; font-size: .74rem; color: var(--green-600); font-weight: 600; }
.flowstrip__arrow { color: var(--text-3); }

/* ---------- decision panels with coloured headers ---------- */
.dpanels { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
@media (max-width: 940px) { .dpanels { grid-template-columns: 1fr; } }

.dpanel { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.dpanel__head {
  padding: 11px 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.dpanel--raise .dpanel__head { background: var(--green-700); }
.dpanel--bet   .dpanel__head { background: var(--amber-600); }
.dpanel--fold  .dpanel__head { background: var(--red-600); }
.dpanel--raise { border-color: var(--green-200); }
.dpanel--bet   { border-color: #EBD9A8; }
.dpanel--fold  { border-color: var(--red-200); }

.dpanel__body { display: flex; flex: 1 1 auto; }
.dcell { flex: 1 1 0; padding: 16px 12px; text-align: center; border-left: 1px solid var(--border); }
.dcell:first-child { border-left: 0; }
.dcell__label { font-family: var(--font-display); font-weight: 600; font-size: .86rem; line-height: 1.3; margin-bottom: 12px; }
.dcell__cards { display: flex; justify-content: center; gap: 6px; }

/* ---------- checklist ---------- */
.checklist { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--sh-xs); }
.checkitem { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: center; font-size: .9rem; color: var(--text); }
.checkitem__mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-600);
  color: #fff;
}
.checkitem__mark .ico { width: 13px; height: 13px; stroke-width: 3; }
.checkitem--warn .checkitem__mark { background: var(--amber-600); }

/* two small example panels side by side */
.exgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.excard { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 14px; text-align: center; }
.excard h4 { font-size: .84rem; margin: 0 0 10px; color: var(--green-700); }
.excard--warn h4 { color: var(--amber-700); }
.excard__cards { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.excard p { font-size: .78rem; margin: 0; }

.ev-card {
  border: 1px solid var(--green-200);
  background: var(--green-50);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  text-align: center;
}
.ev-card .ico { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--green-600); }
.ev-card p { font-size: .86rem; margin: 0; }

/* ---------- banded decision rows (Middle bet) ---------- */
.bandrows { display: grid; gap: 10px; }
.bandrow {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 700px) { .bandrow { grid-template-columns: 1fr; } }
.bandrow__label {
  display: grid;
  place-items: center;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.bandrow--raise .bandrow__label { background: var(--green-700); }
.bandrow--bet   .bandrow__label { background: var(--amber-600); }
.bandrow--skip  .bandrow__label { background: #6E7C75; }
.bandrow--raise { border-color: var(--green-200); }
.bandrow--bet   { border-color: #EBD9A8; }

.bandrow__body { display: flex; flex-wrap: wrap; }
.bandcell { flex: 1 1 180px; padding: 14px 12px; text-align: center; border-left: 1px solid var(--border); }
.bandcell:first-child { border-left: 0; }
.bandcell__label { font-size: .84rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.bandcell__cards { display: flex; justify-content: center; gap: 5px; }
@media (max-width: 700px) { .bandcell { border-left: 0; border-top: 1px solid var(--border); } .bandcell:first-child { border-top: 0; } }

.thumb-card {
  border: 1px solid var(--green-200);
  background: var(--green-50);
  border-radius: var(--r-lg);
  padding: 18px 16px;
}
.thumb-card .ico { width: 28px; height: 28px; color: var(--green-600); margin-bottom: 10px; }
.thumb-card h3 { font-size: .95rem; margin: 0 0 8px; }
.thumb-card p { font-size: .85rem; margin: 0 0 8px; }
.thumb-card p:last-child { margin-bottom: 0; }

/* ---------- the whole strategy matrix ---------- */
.matrix { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.matrix__row { display: grid; grid-template-columns: 190px repeat(3, 1fr); }
@media (max-width: 900px) { .matrix__row { grid-template-columns: 130px repeat(3, 1fr); } }
@media (max-width: 640px) { .matrix { overflow-x: auto; } .matrix__inner { min-width: 620px; } }

.matrix__head { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-align: center; padding: 11px 8px; }
.matrix__head--3x { background: var(--green-700); }
.matrix__head--1x { background: var(--amber-600); }
.matrix__head--fold { background: var(--red-600); }
.matrix__head--blank { background: var(--surface); }

.matrix__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  background: var(--green-800);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.matrix__label .cross { gap: 2px; }
.matrix__label .card { --cw: 17px; --ch: 22px; }
.matrix__label .card__rank { font-size: .34rem; }
.matrix__label .card__mini, .matrix__label .card__pip { display: none; }
.matrix__label b { display: block; font-family: var(--font-display); font-weight: 800; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.matrix__label span { font-size: .72rem; color: rgba(255, 255, 255, .66); }

.matrix__cell { padding: 14px 12px; border-left: 1px solid var(--border); border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-2); display: flex; flex-direction: column; gap: 9px; align-items: center; justify-content: center; text-align: center; }
.matrix__cell ul { margin: 0; padding-left: 16px; text-align: left; }
.matrix__cell ul li { margin-bottom: 2px; }
.matrix__cell .cards { display: flex; gap: 5px; justify-content: center; }
.matrix__dash { color: var(--text-3); }

/* ---------- bankroll visuals ---------- */
.bankgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.bankcard { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: 20px; text-align: center; }
.bankcard h3 { font-size: .98rem; margin: 0 0 16px; }
.unitchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.unitchip {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #3FA877, var(--chip-25));
  border: 2px dashed rgba(255, 255, 255, .8);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .62rem;
}
.summing { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--text-3); }
.summing .unitchip { width: 38px; height: 38px; font-size: .58rem; }
.summing .unitchip--max { background: radial-gradient(circle at 34% 28%, #F0616B, var(--chip-5)); }
.summing .unitchip--total { width: 46px; height: 46px; font-size: .62rem; background: radial-gradient(circle at 34% 28%, #F0616B, var(--chip-5)); }

/* ---------- coach preview card ---------- */
.coachcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  max-width: 330px;
}
.coachcard__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.coachcard__body { display: flex; align-items: center; gap: 14px; padding: 16px; }
.coachcard__chip {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #F0616B, var(--chip-5));
  border: 2px dashed rgba(255, 255, 255, .8);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .74rem;
}
.coachcard__kicker { font-family: var(--font-display); font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.coachcard__action { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 2px 0 4px; }
.coachcard__why { font-size: .8rem; color: var(--text-2); margin: 0; }

.coach-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
}
@media (max-width: 860px) { .coach-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.coach-cta h2 { margin: 0 0 6px; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.coach-cta p { margin: 0 0 18px; font-size: .93rem; }
.coach-cta__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* mistakes accordion with warning marks */
.faq--warn summary { color: var(--text); }
.faq--warn summary::before {
  content: "";
  width: 20px; height: 20px;
  flex: 0 0 auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--red-100);
  border: 1px solid var(--red-200);
}
.faq--warn summary { display: flex; align-items: center; }
.faq--warn summary span { flex: 1 1 auto; }

/* ==========================================================================
   PAY TABLES / ODDS PAGE
   ========================================================================== */

/* floating stat block on the hero felt */
.felt-stat {
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(228, 200, 124, .35);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  text-align: center;
}
.felt-stat__n { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.felt-stat__l { display: block; font-size: .8rem; color: rgba(255, 255, 255, .72); margin-top: 4px; }

/* headline stat strip with line icons */
.edgestrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
@media (max-width: 860px) { .edgestrip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .edgestrip { grid-template-columns: 1fr; } }
.edgestat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--border); }
.edgestat:first-child { border-left: 0; }
@media (max-width: 860px) { .edgestat:nth-child(odd) { border-left: 0; } .edgestat:nth-child(n+3) { border-top: 1px solid var(--border); } }
.edgestat .ico { width: 38px; height: 38px; color: var(--green-600); stroke-width: 1.4; flex: 0 0 auto; }
.edgestat__n { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--green-700); line-height: 1.05; }
.edgestat__l { display: block; font-size: .82rem; color: var(--text-3); line-height: 1.3; }

.stripnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  font-size: .9rem;
  color: var(--text-2);
}
.stripnote .ico { color: var(--green-600); }

/* ---------- section tab strip ---------- */
.tabstrip { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 20px; }
.tabstrip a {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tabstrip a:hover { background: var(--surface-sunk); color: var(--text); }
.tabstrip a[aria-current="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
@media (max-width: 620px) { .tabstrip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .tabstrip a { white-space: nowrap; } }

/* ---------- "how each wager is graded" diagram ---------- */
.graded { display: grid; justify-items: center; gap: 10px; }
.graded__note { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.graded__note b { font-family: var(--font-display); display: block; }
.graded__note--across b { color: var(--green-700); }
.graded__note--middle b { color: var(--amber-700); }
.graded__note--down b { color: var(--red-600); }
.graded__note span { color: var(--text-3); }
.graded .cross { gap: 5px; }
.graded .slot--left .card__face, .graded .slot--right .card__face, .graded .slot--center .card__face { box-shadow: 0 0 0 1.5px var(--green-500), var(--sh-xs); }
.graded .slot--top .card__face, .graded .slot--bottom .card__face { box-shadow: 0 0 0 1.5px var(--red-500), var(--sh-xs); }

/* ---------- ante outcome rows ---------- */
.outcomes { display: grid; gap: 10px; }
.outcome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 12px 16px;
}
.outcome__mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  flex: 0 0 auto;
}
.outcome--win .outcome__mark { background: var(--green-600); }
.outcome--push .outcome__mark { background: var(--amber-600); }
.outcome--lose .outcome__mark { background: var(--red-600); }
.outcome__label { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.outcome__cards { display: flex; gap: 5px; }

/* ---------- five card bonus dark panel ---------- */
.bonuspanel {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 32px);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}
@media (max-width: 1000px) { .bonuspanel { grid-template-columns: minmax(0, 1fr); } }
.bonuspanel h2 { color: #fff; margin: 0 0 6px; }
.bonuspanel p { color: rgba(255, 255, 255, .74); font-size: .92rem; }
.bonuspanel__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.bonuschip {
  width: 76px; height: 76px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid; place-items: center;
  text-align: center;
  background: radial-gradient(circle at 34% 28%, #9B72EC, var(--chip-500));
  border: 3px dashed rgba(255, 255, 255, .85);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .52rem;
  letter-spacing: .04em;
  line-height: 1.2;
  padding: 6px;
}
.bonuspanel__cards { display: flex; gap: 6px; flex-wrap: wrap; }
.bonuspanel__excluded { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.excluded { position: relative; opacity: .5; }
.excluded::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1px), var(--red-500) 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom left, transparent calc(50% - 1px), var(--red-500) 50%, transparent calc(50% + 1px));
  border-radius: 9px;
  z-index: 2;
}
.bonuspanel__excluded span { font-size: .8rem; color: rgba(255, 255, 255, .66); }

.bonuspanel .table-scroll { background: var(--surface-2); border-radius: var(--r-md); border: 0; }
.bonuspanel table.data { min-width: 0; }

.bonusedge { text-align: center; }
.bonusedge__badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  margin: 0 auto 12px;
  color: #fff;
}
.bonusedge__n { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.bonusedge__l { font-size: .88rem; color: rgba(255, 255, 255, .74); }
.bonusedge p { font-size: .8rem; margin: 10px 0 0; max-width: 18ch; margin-inline: auto; }

/* ---------- share bar chart ---------- */
.sharechart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-xs); }
.sharechart h3 { font-size: .95rem; margin: 0 0 14px; }
.sharerow { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; padding: 3px 0; font-size: .8rem; }
.sharerow__name { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sharerow__track { height: 10px; background: var(--surface-sunk); border-radius: 5px; overflow: hidden; }
.sharerow__fill { display: block; height: 100%; border-radius: 5px; background: var(--green-500); min-width: 2px; }
.sharerow__v { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .sharerow { grid-template-columns: 92px 1fr auto; font-size: .74rem; } }

/* made-hands donut with legend */
.madebox { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-xs); }
@media (max-width: 520px) { .madebox { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.madebox__ring { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.madebox__ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.madebox__centre { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.madebox__centre b { display: block; font-family: var(--font-display); font-size: .68rem; font-weight: 700; line-height: 1.15; color: var(--text-2); }
.madebox__centre span { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--green-700); margin-top: 2px; }
.madelegend { display: grid; gap: 9px; }
.madelegend__row { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font-size: .85rem; color: var(--text-2); }
.madelegend__sw { width: 14px; height: 14px; border-radius: 3px; }
.madelegend__v { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }

/* ---------- blind-return bars ---------- */
.edgerows { display: grid; gap: 4px; }
.edgerow { display: grid; grid-template-columns: 30px 1fr 120px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.edgerow:last-child { border-bottom: 0; }
.edgerow__ico { color: var(--text-3); }
.edgerow__name { color: var(--text-2); }
.edgerow__track { height: 9px; background: var(--surface-sunk); border-radius: 5px; overflow: hidden; }
.edgerow__fill { display: block; height: 100%; border-radius: 5px; }
.edgerow__v { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--lose); white-space: nowrap; }
/* bar length is proportional to the blind return each wager posts */
.edgerow--ante  .edgerow__fill { background: var(--red-500);   width: 100%; }
.edgerow--main  .edgerow__fill { background: var(--amber-600); width: 65.5%; }
.edgerow--bonus .edgerow__fill { background: var(--chip-500);  width: 8.3%; }
.edgerow--all   .edgerow__fill { background: var(--green-500); width: 10.2%; }
.edgehead { display: flex; justify-content: flex-end; font-family: var(--font-display); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
@media (max-width: 620px) { .edgerow { grid-template-columns: 24px 1fr auto; } .edgerow__track { display: none; } }

.riskpanel {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
}
.riskpanel__shield { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; color: var(--green-600); }
.riskpanel h3 { font-size: 1rem; margin: 0 0 4px; }
.riskpanel__n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--green-700); line-height: 1; margin-bottom: 14px; }
.riskpanel p { font-size: .9rem; }
.riskpanel p:last-child { margin-bottom: 0; }

/* ---------- closing CTA ---------- */
.numbers-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 30px);
}
@media (max-width: 860px) { .numbers-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.numbers-cta__ico { width: 52px; height: 52px; color: var(--red-600); flex: 0 0 auto; }
.numbers-cta h2 { margin: 0 0 4px; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.numbers-cta p { margin: 0; font-size: .92rem; }
.numbers-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
