/**
 * Heads-Up Cash Game masterclass — /poker/cash-games/heads-up/
 *
 * Ported from the headsup2 design (~/Downloads/headsup2/headsup-styles.css).
 * Loads after texas-holdem.css, pot-odds-page.css and bankroll-page.css, which
 * supply the shared hero / section / summary furniture and the custom properties.
 * Every selector is page-scoped with body.btf-hu-page — an unscoped selector
 * loses to texas-holdem.css's `body.btf-th-page .prose ...` rules.
 */

/* ── Design-token bridge ────────────────────────────────────────────────
   The design references generic token names (--forest, --gold, --cream …);
   the theme namespaces its own as --th-*. Map them here, scoped to the page. */
body.btf-hu-page {
	--forest:    var( --th-forest );
	--forest-2:  var( --th-forest-2 );
	--forest-3:  var( --th-forest-3 );
	--gold:      var( --th-gold );
	--gold-soft: var( --th-gold-soft );
	--cream:     var( --th-cream );
	--cream-2:   var( --th-cream-2 );
	--cream-3:   var( --th-cream-3 );
	/* IMPORTANT: do NOT alias --ink here. texas-holdem.css maps
	   --th-ink:var(--ink), so `--ink:var(--th-ink)` is a circular reference
	   and BOTH resolve to nothing — every `color:var(--ink)` silently drops.
	   --ink is already defined site-wide in base.css (#1C1814). */
	--ink-2:     var( --th-ink-2 );
	--muted:     var( --th-muted );
	--hair:      var( --th-hair );
	--red:       var( --th-red );
	--serif:     var( --th-serif );
	--sans:      var( --th-sans );
	--mono:      var( --th-mono );
}

/* Heads-Up Cash Game Strategy — same editorial system */

/* ============ HERO ============ */
body.btf-hu-page .btf-hu-hero-card{
  background: linear-gradient(160deg, rgba(201,162,74,.16), rgba(243,238,226,.04));
  border: 1px solid rgba(201,162,74,.3);
  border-radius: 18px;
  padding: 1.7rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body.btf-hu-page .btf-hu-hero-card-tag{ font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); }
body.btf-hu-page .btf-hu-hero-compare{ display: flex; align-items: center; gap: 1rem; }
body.btf-hu-page .btf-hu-hero-side{ display: flex; flex-direction: column; gap: .15rem; flex: 1; }
body.btf-hu-page .btf-hu-hero-side-label{ font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(243,238,226,.6); }
body.btf-hu-page .btf-hu-hero-side b{ font-family: var(--serif); font-weight: 300; font-size: 2rem; letter-spacing: -.02em; line-height: 1; color: rgba(243,238,226,.72); }
body.btf-hu-page .btf-hu-hero-side.hi b{ font-size: 2.9rem; color: var(--gold-soft); }
body.btf-hu-page .btf-hu-hero-side-sub{ font-size: .74rem; color: rgba(243,238,226,.55); }
body.btf-hu-page .btf-hu-hero-vs{ font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); }
body.btf-hu-page .btf-hu-hero-card-note{ margin: 0; font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.5; color: rgba(243,238,226,.8); }

body.btf-hu-page .btf-hu-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.2rem; }
@media (max-width: 760px) { body.btf-hu-page .btf-hu-stats{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { body.btf-hu-page .btf-hu-stats{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-stat{
  display: grid; grid-template-columns: 32px 1fr; gap: .8rem;
  background: rgba(243,238,226,.05);
  border: 1px solid rgba(243,238,226,.12);
  border-radius: 12px; padding: 1rem 1.2rem; align-items: start;
}
body.btf-hu-page .btf-hu-stat-icon{ font-size: 1.25rem; line-height: 1.2; color: var(--gold-soft); }
body.btf-hu-page .btf-hu-stat-text{ display: flex; flex-direction: column; gap: .1rem; }
body.btf-hu-page .btf-hu-stat-label{ font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
body.btf-hu-page .btf-hu-stat-text b{ font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--cream); letter-spacing: -.01em; }
body.btf-hu-page .btf-hu-stat-text small{ font-size: .76rem; line-height: 1.35; color: rgba(243,238,226,.6); }

/* ============ POSITION FLIP ============ */
body.btf-hu-page .btf-hu-pos{
  background: var(--cream-2);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 1.8rem;
}
body.btf-hu-page .btf-hu-pos-row{ display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center; }
@media (max-width: 640px) { body.btf-hu-page .btf-hu-pos-row{ grid-template-columns: 1fr; gap: .5rem; } }
body.btf-hu-page .btf-hu-pos-street{ font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
body.btf-hu-page .btf-hu-pos-order{ display: flex; align-items: stretch; gap: .6rem; }
@media (max-width: 520px) { body.btf-hu-page .btf-hu-pos-order{ flex-direction: column; } }
body.btf-hu-page .btf-hu-pos-seat{
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--hair);
  border-radius: 11px;
  padding: .9rem 1.1rem;
  display: flex; flex-direction: column; gap: .1rem;
  font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink);
}
body.btf-hu-page .btf-hu-pos-seat small{ font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
body.btf-hu-page .btf-hu-pos-seat.first{ border-left: 3px solid var(--gold); }
body.btf-hu-page .btf-hu-pos-seat.best{ background: var(--forest); color: var(--cream); border-color: var(--forest); border-left: 3px solid var(--gold-soft); }
body.btf-hu-page .btf-hu-pos-seat.best small{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-pos-arrow{ align-self: center; font-family: var(--serif); font-size: 1.2rem; color: var(--muted); }
@media (max-width: 520px) { body.btf-hu-page .btf-hu-pos-arrow{ transform: rotate(90deg); align-self: center; } }
body.btf-hu-page .btf-hu-pos-flip{ display: flex; align-items: center; gap: .8rem; margin: 1rem 0 1rem 150px; }
@media (max-width: 640px) { body.btf-hu-page .btf-hu-pos-flip{ margin-left: 0; } }
body.btf-hu-page .btf-hu-pos-flip span{
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--forest); background: rgba(201,162,74,.16); padding: .35em .8em; border-radius: 5px;
}
body.dark.btf-hu-page .btf-hu-pos-flip span{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-pos-flip::after{ content: ""; flex: 1; height: 1px; background: var(--hair); }
body.btf-hu-page .btf-hu-pos-note{ margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 80ch; }
body.btf-hu-page .btf-hu-pos-note b{ color: var(--ink); }

/* ============ RANGE GRID ============ */
body.btf-hu-page .btf-hu-range{ background: var(--cream-2); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; }
body.btf-hu-page .btf-hu-range-tabs{ display: flex; flex-wrap: wrap; gap: .4rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--hair); }
body.btf-hu-page .btf-hu-range-tab{
  font-family: var(--mono); font-size: .7rem; letter-spacing: .02em; font-weight: 600;
  padding: .5em .85em; border-radius: 7px;
  border: 1px solid var(--hair); background: var(--cream); color: var(--ink-2);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
body.btf-hu-page .btf-hu-range-tab:hover{ border-color: var(--ink-2); }
body.btf-hu-page .btf-hu-range-tab.compare{ border-style: dashed; }
body.btf-hu-page .btf-hu-range-tab.active{ background: var(--forest); color: var(--cream); border-color: var(--forest); border-style: solid; }
body.dark.btf-hu-page .btf-hu-range-tab.active{ background: var(--gold-soft); color: var(--forest-2); border-color: var(--gold-soft); }

body.btf-hu-page .btf-hu-range-body{ display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding: 1.6rem; align-items: start; }
@media (max-width: 860px) { body.btf-hu-page .btf-hu-range-body{ grid-template-columns: 1fr; } }

body.btf-hu-page .btf-hu-grid{ display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; max-width: 460px; }
body.btf-hu-page .btf-hu-cell{
  aspect-ratio: 1;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .5rem; font-weight: 600;
  border-radius: 2px;
  background: var(--cream-3); color: var(--muted);
  transition: background .18s, color .18s;
  user-select: none;
}
@media (max-width: 560px) { body.btf-hu-page .btf-hu-cell{ font-size: .42rem; } }
body.btf-hu-page .btf-hu-cell.on{ color: #fff; }
body.btf-hu-page .btf-hu-cell.on.good{ background: var(--forest); }
body.btf-hu-page .btf-hu-cell.on.ok{ background: #8a6d1e; }
body.btf-hu-page .btf-hu-cell.on.bad{ background: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-cell.on.neutral{ background: var(--ink-2); }
body.btf-hu-page .btf-hu-cell.pair.on{ box-shadow: inset 0 0 0 1.5px var(--gold-soft); }
body.dark.btf-hu-page .btf-hu-cell.on.ok{ background: var(--gold); color: var(--forest-2); }

body.btf-hu-page .btf-hu-grid-legend{ display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: .9rem; max-width: 460px; }
body.btf-hu-page .btf-hu-legend-item{ display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
body.btf-hu-page .btf-hu-legend-sw{ width: 12px; height: 12px; border-radius: 3px; }
body.btf-hu-page .btf-hu-legend-sw.good{ background: var(--forest); }
body.btf-hu-page .btf-hu-legend-sw.ok{ background: #8a6d1e; }
body.btf-hu-page .btf-hu-legend-sw.bad{ background: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-legend-sw.neutral{ background: var(--ink-2); }
body.btf-hu-page .btf-hu-legend-sw.off{ background: var(--cream-3); }
body.btf-hu-page .btf-hu-legend-note{ font-family: var(--mono); font-size: .58rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); flex-basis: 100%; }

body.btf-hu-page .btf-hu-range-side{ border-left: 3px solid var(--hair); padding-left: 1.4rem; }
@media (max-width: 860px) { body.btf-hu-page .btf-hu-range-side{ border-left: 0; border-top: 3px solid var(--hair); padding-left: 0; padding-top: 1.4rem; } }
body.btf-hu-page .btf-hu-range-side.good{ border-color: var(--forest); }
body.btf-hu-page .btf-hu-range-side.ok{ border-color: var(--gold); }
body.btf-hu-page .btf-hu-range-side.bad{ border-color: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-range-side.neutral{ border-color: var(--ink-2); }
body.btf-hu-page .btf-hu-range-pct{ display: flex; flex-direction: column; gap: .1rem; margin-bottom: .7rem; }
body.btf-hu-page .btf-hu-range-pct b{ font-family: var(--serif); font-weight: 300; font-size: 3rem; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
body.btf-hu-page .btf-hu-range-side.good .btf-hu-range-pct b{ color: var(--forest); }
body.btf-hu-page .btf-hu-range-side.bad .btf-hu-range-pct b{ color: var(--red, #8b2424); }
body.dark.btf-hu-page .btf-hu-range-side.good .btf-hu-range-pct b{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-range-pct span{ font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
body.btf-hu-page .btf-hu-range-side h4.btf-th-display{ font-size: 1.25rem; margin: 0 0 .4em; }
body.btf-hu-page .btf-hu-range-side p{ margin: 0 0 1.1rem; font-size: .96rem; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
body.btf-hu-page .btf-hu-range-notation{ background: var(--cream); border: 1px solid var(--hair); border-radius: 9px; padding: .8rem 1rem; }
body.btf-hu-page .btf-hu-range-notation span{ display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
body.btf-hu-page .btf-hu-range-notation code{ font-family: var(--mono); font-size: .74rem; line-height: 1.6; color: var(--ink); word-break: break-word; }
body.btf-hu-page .btf-hu-range-foot{ margin: 0; padding: 1rem 1.4rem; border-top: 1px solid var(--hair); background: var(--cream); font-size: .85rem; line-height: 1.5; color: var(--muted); }

/* ============ SEAT PLAYBOOK ============ */
body.btf-hu-page .btf-hu-sp{ display: flex; flex-direction: column; gap: 1.2rem; }
body.btf-hu-page .btf-hu-sp-picker{ display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 620px) { body.btf-hu-page .btf-hu-sp-picker{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-sp-seat{
  display: flex; align-items: center; gap: 1rem;
  background: var(--cream-2); border: 1px solid var(--hair);
  border-radius: 14px; padding: 1.2rem 1.4rem;
  cursor: pointer; font: inherit; color: var(--ink);
  text-align: left; transition: all .15s;
}
body.btf-hu-page .btf-hu-sp-seat:hover{ border-color: var(--ink-2); }
body.btf-hu-page .btf-hu-sp-seat.active{ background: var(--forest); border-color: var(--forest); color: var(--cream); }
body.btf-hu-page .btf-hu-sp-seat-chip{
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--cream-3); color: var(--ink-2);
  font-family: var(--mono); font-weight: 700; font-size: .9rem; letter-spacing: .04em;
}
body.btf-hu-page .btf-hu-sp-seat.active .btf-hu-sp-seat-chip{ background: var(--gold-soft); color: var(--forest-2); }
body.btf-hu-page .btf-hu-sp-seat-text{ display: flex; flex-direction: column; gap: .15rem; }
body.btf-hu-page .btf-hu-sp-seat-text b{ font-family: var(--serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; }
body.btf-hu-page .btf-hu-sp-seat-text small{ font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
body.btf-hu-page .btf-hu-sp-seat.active .btf-hu-sp-seat-text small{ color: var(--gold-soft); }

body.btf-hu-page .btf-hu-sp-card{
  background: var(--cream-2); border: 1px solid var(--hair);
  border-radius: 16px; padding: 1.8rem 2rem;
  border-left-width: 3px;
  animation: huFade .3s ease;
}
@keyframes huFade { body.btf-hu-page from{ opacity: 0; transform: translateY(5px); } body.btf-hu-page to{ opacity: 1; transform: none; } }
body.btf-hu-page .btf-hu-sp-card.good{ border-left-color: var(--forest); }
body.btf-hu-page .btf-hu-sp-card.ok{ border-left-color: var(--gold); }
body.btf-hu-page .btf-hu-sp-job{ margin-bottom: 1.3rem; }
body.btf-hu-page .btf-hu-sp-job-tag{
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600; color: var(--gold);
}
body.dark.btf-hu-page .btf-hu-sp-job-tag{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-sp-job h3.btf-th-display{ font-size: 2rem; margin: .1em 0 .35em; }
body.btf-hu-page .btf-hu-sp-job p{ margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); max-width: 74ch; }

body.btf-hu-page .btf-hu-sp-facts{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.3rem; }
@media (max-width: 620px) { body.btf-hu-page .btf-hu-sp-facts{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-sp-fact{
  background: var(--cream); border: 1px solid var(--hair);
  border-radius: 11px; padding: .95rem 1.1rem;
  display: flex; flex-direction: column; gap: .2rem;
  border-top-width: 3px;
}
body.btf-hu-page .btf-hu-sp-fact.good{ border-top-color: var(--forest); }
body.btf-hu-page .btf-hu-sp-fact.bad{ border-top-color: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-sp-fact-k{ font-family: var(--mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
body.btf-hu-page .btf-hu-sp-fact b{ font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); }

body.btf-hu-page .btf-hu-sp-moves{ margin: 0 0 1.5rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; }
body.btf-hu-page .btf-hu-sp-moves li{
  position: relative; padding: .85rem 1.1rem .85rem 3rem;
  background: var(--cream); border: 1px solid var(--hair);
  border-radius: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink);
}
body.btf-hu-page .btf-hu-sp-moves li::before{
  position: absolute; left: 1.1rem; top: .85rem;
  font-family: var(--mono); font-weight: 700; font-size: 1.05em;
}
body.btf-hu-page .btf-hu-sp-moves li.do::before{ content: "✓"; color: var(--forest); }
body.btf-hu-page .btf-hu-sp-moves li.dont::before{ content: "✕"; color: var(--red, #8b2424); }
body.dark.btf-hu-page .btf-hu-sp-moves li.do::before{ color: var(--gold-soft); }
body.dark.btf-hu-page .btf-hu-sp-moves li.dont::before{ color: #d98b8b; }

body.btf-hu-page .btf-hu-sp-ranges{ display: flex; flex-direction: column; gap: 1rem; }
body.btf-hu-page .btf-hu-sp-range{
  background: var(--cream); border: 1px solid var(--hair);
  border-radius: 12px; padding: 1.3rem 1.4rem;
}
body.btf-hu-page .btf-hu-sp-range-head{
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.2rem; margin-bottom: 1rem;
}
body.btf-hu-page .btf-hu-sp-range-label{
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: .25em;
}
body.btf-hu-page .btf-hu-sp-range-desc{ margin: 0; font-size: .93rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
body.btf-hu-page .btf-hu-sp-range-pct{ text-align: right; flex-shrink: 0; }
body.btf-hu-page .btf-hu-sp-range-pct b{
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; color: var(--forest);
}
body.dark.btf-hu-page .btf-hu-sp-range-pct b{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-sp-range-pct small{ font-family: var(--mono); font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
body.btf-hu-page .btf-hu-sp-range .btf-hu-grid{ margin-bottom: .8rem; }

/* 6-max comparison block inside the aggression section */
/* The design drew a full-width hairline above this note and set its eyebrow to
   `display:block`. Both are wrong against the theme: `.btf-th-eyebrow` is a flex
   row whose 18px gold ::before dash sits to the LEFT of the label, so forcing
   `block` stacks that dash above the text and reads as a second stray rule.
   Keep the theme's eyebrow treatment — same as every section header. */
body.btf-hu-page .btf-hu-compare-note{ margin-top: 1.6rem; padding-top: 1.6rem; }
body.btf-hu-page .btf-hu-compare-note .btf-th-eyebrow{ margin-bottom: .5rem; }
body.btf-hu-page .btf-hu-compare-note > p{ margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 74ch; }

/* ============ SIZING ============ */
body.btf-hu-page .btf-hu-sizing{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { body.btf-hu-page .btf-hu-sizing{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { body.btf-hu-page .btf-hu-sizing{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-size{ background: var(--cream-2); border: 1px solid var(--hair); border-radius: 14px; padding: 1.4rem 1.5rem; border-top-width: 3px; }
body.btf-hu-page .btf-hu-size.good{ border-top-color: var(--forest); }
body.btf-hu-page .btf-hu-size.ok{ border-top-color: var(--gold); }
body.btf-hu-page .btf-hu-size-street{ font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; }
body.btf-hu-page .btf-hu-size-num{ font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.1; color: var(--forest); display: block; margin: .2rem 0 .6rem; }
body.dark.btf-hu-page .btf-hu-size-num{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-size p{ margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }

/* ============ PRINCIPLES ============ */
body.btf-hu-page .btf-hu-principles{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { body.btf-hu-page .btf-hu-principles{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-principle{ display: grid; grid-template-columns: 40px 1fr; gap: 1rem; background: var(--cream-2); border: 1px solid var(--hair); border-radius: 12px; padding: 1.4rem 1.5rem; align-items: start; }
body.btf-hu-page .btf-hu-principle-icon{ font-size: 1.4rem; line-height: 1.1; color: var(--gold); }
body.dark.btf-hu-page .btf-hu-principle-icon{ color: var(--gold-soft); }
body.btf-hu-page .btf-hu-principle h4.btf-th-display{ font-size: 1.15rem; margin: 0 0 .3em; }
body.btf-hu-page .btf-hu-principle p{ margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }

/* ============ OPPONENTS ============ */
body.btf-hu-page .btf-hu-opp-tabs{ display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1.3rem; }
@media (max-width: 700px) { body.btf-hu-page .btf-hu-opp-tabs{ grid-template-columns: 1fr 1fr; } }
body.btf-hu-page .btf-hu-opp-tab{
  background: var(--cream-2); border: 1px solid var(--hair); border-radius: 11px;
  padding: 1rem 1.1rem; cursor: pointer; font: inherit; color: var(--ink);
  transition: all .15s; border-top-width: 3px;
}
body.btf-hu-page .btf-hu-opp-tab.good{ border-top-color: var(--forest); }
body.btf-hu-page .btf-hu-opp-tab.ok{ border-top-color: var(--gold); }
body.btf-hu-page .btf-hu-opp-tab.bad{ border-top-color: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-opp-tab:hover{ transform: translateY(-2px); border-color: var(--ink-2); }
body.btf-hu-page .btf-hu-opp-tab.active{ background: var(--forest); color: var(--cream); border-color: var(--forest); }
body.btf-hu-page .btf-hu-opp-tab b{ font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; }

body.btf-hu-page .btf-hu-opp-card{ background: var(--cream-2); border: 1px solid var(--hair); border-radius: 14px; padding: 1.8rem 2rem; border-left-width: 3px; }
body.btf-hu-page .btf-hu-opp-card.good{ border-left-color: var(--forest); }
body.btf-hu-page .btf-hu-opp-card.ok{ border-left-color: var(--gold); }
body.btf-hu-page .btf-hu-opp-card.bad{ border-left-color: var(--red, #8b2424); }
body.btf-hu-page .btf-hu-opp-head{ padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--hair); }
body.btf-hu-page .btf-hu-opp-head h3.btf-th-display{ font-size: 1.7rem; margin: 0 0 .5em; }
body.btf-hu-page .btf-hu-opp-tell{ margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
body.btf-hu-page .btf-hu-opp-tell span{ display: block; font-family: var(--mono); font-style: normal; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: .3rem; }
body.btf-hu-page .btf-hu-opp-counter ul{ margin: .55em 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; }
body.btf-hu-page .btf-hu-opp-counter li{ position: relative; padding-left: 1.7em; font-size: 1rem; line-height: 1.5; color: var(--ink); }
body.btf-hu-page .btf-hu-opp-counter li::before{ content: "→"; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--forest); }
body.dark.btf-hu-page .btf-hu-opp-counter li::before{ color: var(--gold-soft); }

/* ============ SELECTION ============ */
body.btf-hu-page .btf-hu-sel{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { body.btf-hu-page .btf-hu-sel{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-sel-card{ display: grid; grid-template-columns: 40px 1fr; gap: 1rem; background: var(--cream-2); border: 1px solid var(--hair); border-radius: 12px; padding: 1.4rem 1.5rem; align-items: start; }
body.btf-hu-page .btf-hu-sel-icon{ font-size: 1.45rem; line-height: 1.1; }
body.btf-hu-page .btf-hu-sel-card h4.btf-th-display{ font-size: 1.15rem; margin: 0 0 .3em; }
body.btf-hu-page .btf-hu-sel-card p{ margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }

/* ============ MENTAL ============ */
body.btf-hu-page .btf-hu-mental{ background: var(--forest); border-radius: 16px; padding: 2rem 2.2rem; }
body.btf-hu-page .btf-hu-mental-mark{ font-family: var(--serif); font-size: 3.5rem; line-height: .6; color: var(--gold-soft); display: block; margin-bottom: .3rem; }
body.btf-hu-page .btf-hu-mental h3.btf-th-display{ font-size: 1.6rem; color: var(--cream); margin: 0 0 .6em; max-width: 38ch; }
body.btf-hu-page .btf-hu-mental p{ margin: 0; font-size: 1.02rem; line-height: 1.65; color: rgba(243,238,226,.85); max-width: 78ch; }

/* ============ DO / DON'T ============ */
body.btf-hu-page .btf-hu-dodont{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { body.btf-hu-page .btf-hu-dodont{ grid-template-columns: 1fr; } }
body.btf-hu-page .btf-hu-dd-col{ border-radius: 14px; padding: 1.6rem 1.8rem; border: 1px solid var(--hair); }
body.btf-hu-page .btf-hu-dd-col.do{ background: rgba(29,52,38,.06); border-color: rgba(29,52,38,.2); }
body.btf-hu-page .btf-hu-dd-col.dont{ background: rgba(139,36,36,.05); border-color: rgba(139,36,36,.2); }
body.dark.btf-hu-page .btf-hu-dd-col.do{ background: rgba(201,162,74,.08); border-color: rgba(201,162,74,.22); }
body.btf-hu-page .btf-hu-dd-tag{ font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 1rem; }
body.btf-hu-page .btf-hu-dd-col.do .btf-hu-dd-tag{ color: var(--forest); }
body.btf-hu-page .btf-hu-dd-col.dont .btf-hu-dd-tag{ color: var(--red, #8b2424); }
body.dark.btf-hu-page .btf-hu-dd-col.do .btf-hu-dd-tag{ color: var(--gold-soft); }
body.dark.btf-hu-page .btf-hu-dd-col.dont .btf-hu-dd-tag{ color: #d98b8b; }
body.btf-hu-page .btf-hu-dd-col ul{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .85rem; }
body.btf-hu-page .btf-hu-dd-col li{ position: relative; padding-left: 1.9em; font-size: 1rem; line-height: 1.5; color: var(--ink); }
body.btf-hu-page .btf-hu-dd-col li::before{ position: absolute; left: 0; top: -.05em; font-family: var(--mono); font-weight: 700; font-size: 1.1em; }
body.btf-hu-page .btf-hu-dd-col.do li::before{ content: "✓"; color: var(--forest); }
body.btf-hu-page .btf-hu-dd-col.dont li::before{ content: "✕"; color: var(--red, #8b2424); }
body.dark.btf-hu-page .btf-hu-dd-col.do li::before{ color: var(--gold-soft); }
body.dark.btf-hu-page .btf-hu-dd-col.dont li::before{ color: #d98b8b; }

/* Hero CTA row — the design inherited this from its base stylesheet. */
body.btf-hu-page .btf-hu-hero-cta {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
	margin-top: 1.4rem;
}

/* Tab panels carry the `hidden` attribute for the inactive range / opponent /
   seat. Those elements set `display`, which beats the UA rule for [hidden] —
   state it explicitly or every panel stacks up at once. */
body.btf-hu-page .btf-hu-range-body[hidden],
body.btf-hu-page .btf-hu-opp-card[hidden],
body.btf-hu-page .btf-hu-sp-card[hidden] {
	display: none;
}

/* ── Spacing the design carried as inline styles on the JSX ──────────────
   hu-app.jsx sets `style={{marginBottom:"2rem"}}` on every section lede and
   `style={{marginTop:"1.4rem"}}` on the Principles and Mental blocks. Inline
   styles don't survive the port to block templates, so state them here or
   every section header sits flush against its widget. */
body.btf-hu-page .btf-th-section .btf-th-section-h {
	margin-bottom: 2rem;
}
body.btf-hu-page .btf-hu-principles,
body.btf-hu-page .btf-hu-mental {
	margin-top: 1.4rem;
}
