/**
 * Poker hub — /poker/ : the three sections of 17 Nov 2026.
 *
 * Sits on game-hub.css and on blackjack-hub.css, whose parts the hubs share
 * (the felt section with its two-column grid, bars and captions, the steps
 * list, the aside), as the video poker hub does. Only what is new is here:
 * the answer by state, the study's tables and the fold under it.
 */

/* ── online poker where you live ────────────────────────────────────────── */
.pkh-where-box { max-width: 54rem; margin-top: 1.4rem; }
.pkh-where .state-picker-row { margin-bottom: 0; border-radius: var( --radius ) var( --radius ) 0 0; }
/* Without scripts the picker is hidden by a <noscript> rule in the head (functions.php): it would do nothing. */

.pkh-say { background: var( --bg ); border: 1px solid var( --rule ); border-top: 0; border-radius: 0 0 var( --radius ) var( --radius ); padding: 1.15rem 1.25rem 1.2rem; }
.pkh-say[hidden] { display: none; }
.pkh-say-p { font-size: .98rem; line-height: 1.6; color: var( --ink2 ); margin: 0 0 .7rem; }
.pkh-say-p b { color: var( --ink ); font-weight: 600; }
.pkh-say a { color: var( --felt ); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pkh-say a:hover { color: var( --felt2 ); text-decoration-thickness: 2px; }
.pkh-say-p a { white-space: nowrap; }

.pkh-licensed { display: grid; grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); gap: 0 2.2rem; margin: .1rem 0 .95rem; }
.pkh-licensed-row { display: grid; grid-template-columns: 7.6rem minmax( 0, 1fr ); gap: .9rem; padding: .55rem 0; border-top: 1px solid var( --rule ); font-size: .9rem; line-height: 1.5; }
.pkh-licensed-row dt { font-weight: 600; color: var( --ink ); }
.pkh-licensed-row dd { margin: 0; color: var( --ink2 ); }
.pkh-licensed-row dd a { font-weight: 500; white-space: nowrap; }

.pkh-say-foot { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; margin: 0; font-size: .9rem; line-height: 1.5; }

/* ── how online poker works ─────────────────────────────────────────────── */
.pkh-steps { max-width: 54rem; margin-top: 1.4rem; }
.pkh-steps-more { max-width: 54rem; text-align: left; }

/* ── who wins: the study, on the felt section ───────────────────────────── */
.pkh-study .bjh-edge-grid { gap: 2.4rem 3rem; margin-top: 2.4rem; }
.pkh-panel + .pkh-panel { margin-top: 2.6rem; }
.pkh-study .bjh-p { font-size: .98rem; line-height: 1.6; }
.pkh-panel > .bjh-p:last-child,
.pkh-panel > .bjh-live-cap:last-child { margin-bottom: 0; }
.pkh-study .bjh-live-cap { margin: .7rem 0 1rem; }
.pkh-study .bjh-more { display: inline-block; padding: .35rem 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pkh-study .bjh-more:hover { text-decoration-thickness: 2px; }

/* the bars: share who ended ahead, by hands played */
.pkh-bars { margin: 1.1rem 0 0; }
.pkh-bars .bjh-rulecost-row { grid-template-columns: minmax( 0, 1fr ) minmax( 4rem, 9rem ) 3.4rem; }
.pkh-bars .bjh-rulecost-k,
.pkh-bars .bjh-rulecost-v { color: var( --on-dark ); }
.pkh-bars .bjh-rulecost-v { font-size: .82rem; }

/* a table on felt: hairlines, figures in the mono face, no card */
.pkh-study .table-scroll-wrap { margin: 1rem 0 1.1rem; }
.pkh-table { width: 100%; border-collapse: collapse; }
.pkh-table th,
.pkh-table td { padding: .58rem 0; border-top: 1px solid rgba( 247, 243, 232, .16 ); text-align: right; vertical-align: baseline; }
.pkh-table thead th { border-top: 0; padding: 0 0 .5rem .9rem; font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: rgba( 247, 243, 232, .62 ); }
.pkh-table th:first-child { text-align: left; padding-left: 0; }
.pkh-table tbody th { font-size: .92rem; font-weight: 600; line-height: 1.35; color: var( --on-dark ); }
.pkh-table td { padding-left: .9rem; font-family: 'JetBrains Mono', monospace; font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var( --on-dark ); }
.pkh-table tr.is-total th,
.pkh-table tr.is-total td { border-top: 2px solid rgba( 247, 243, 232, .42 ); }

/* how it was measured: one fold, one click away */
.pkh-method { margin-top: 2.6rem; border-top: 1px solid rgba( 247, 243, 232, .16 ); border-bottom: 1px solid rgba( 247, 243, 232, .16 ); }
.pkh-method summary { position: relative; list-style: none; cursor: pointer; min-height: 44px; padding: .95rem 2.4rem .95rem 0; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var( --on-dark ); }
.pkh-method summary::-webkit-details-marker { display: none; }
.pkh-method summary::after { content: '+'; position: absolute; right: .2rem; top: .7rem; font-family: 'Instrument Serif', serif; font-size: 1.6rem; line-height: 1; color: #C9A24A; }
.pkh-method[open] summary::after { content: '\2212'; }
.pkh-method summary:focus-visible { outline: 2px solid #C9A24A; outline-offset: 2px; }
/* The paragraphs carry a class: base.css gives every bare <p> in a section its own size and a dark colour. */
.pkh-method-p { max-width: 80ch; margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.65; color: rgba( 247, 243, 232, .78 ); }
.pkh-method-p b { color: var( --on-dark ); font-weight: 600; }
.pkh-study .bjh-edge-note { margin-top: 1.4rem; }
.pkh-study .bjh-edge-note a,
.pkh-method a { color: var( --on-dark ); text-decoration: underline; text-underline-offset: 3px; }

/* ── narrow ─────────────────────────────────────────────────────────────── */
@media ( max-width: 700px ) {
	.pkh-licensed { grid-template-columns: minmax( 0, 1fr ); }
	.pkh-licensed-row { grid-template-columns: 6.6rem minmax( 0, 1fr ); gap: .7rem; }
	.pkh-say { padding: 1rem 1rem 1.05rem; }
	.pkh-study .bjh-edge-grid { gap: 2.4rem; }
}
@media ( max-width: 600px ) {
	/* blackjack-hub.css drops the bars' track at this width; here the bar is the point, so it stays, narrower */
	.pkh-bars .bjh-rulecost-row { grid-template-columns: minmax( 0, 1fr ) 4.5rem 3.4rem; }
	.pkh-bars .bjh-rulecost-track { display: block; }
	.pkh-table tbody th { font-size: .88rem; }
	.pkh-table td { font-size: .84rem; padding-left: .6rem; }
	.pkh-table thead th { padding-left: .6rem; }
}
