/* Table presentation only. The B library and audited lesson content are separate. */
html body.street-table-mode .lesson-shell{max-width:760px;padding-top:12px}
html body.street-table-mode .lesson-shell>header{margin-bottom:6px;border-color:#85989525;padding-bottom:10px}
html body.street-table-mode .lesson-shell>header strong{font-size:14px;font-weight:650}
html body.street-table-mode .lesson-top,html body.street-table-mode #lessonProgress,html body.street-table-mode .lesson-scenario,html body.street-table-mode .lesson-table{display:none!important}
html body.street-table-mode #lessonGuide{margin:12px 0;padding:15px;font-size:12px;line-height:1.7;border:1px solid #638b7b55;border-radius:12px}
html body.street-table-mode #lessonGuide h2{font-size:16px}
html body.street-table-mode .street-disclaimer{font-size:11px;background:transparent;border:0;padding:0;color:inherit;margin:12px 0}
html body.street-table-mode .street-assumptions{background:transparent;border:0;padding:0;margin:10px 0;color:inherit}
.sr-toolbar{display:flex;align-items:center;gap:8px;max-width:660px;margin:4px auto 0;min-height:36px;color:#657d78;font-size:11px}
.sr-replay-status{flex:1;min-width:0;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-toolbar button{padding:7px 10px;border:1px solid #788f8640;border-radius:7px;font-size:11px;background:transparent;color:inherit;min-height:32px}
.sr-toolbar .sr-skip{background:#277d6b;color:#fff;border-color:#277d6b;font-weight:650}
.street-arena{position:relative;height:420px;width:100%;max-width:660px;margin:0 auto;isolation:isolate;--deck-w:36px;font-variant-numeric:tabular-nums}
.sr-felt{position:absolute;inset:28px 45px 30px;border-radius:47%;background:radial-gradient(ellipse at 48% 35%,#548f80 0,#3e7b70 45%,#30675f 100%);border:8px solid #46534f;box-shadow:0 0 0 1px #798e8555,inset 0 0 0 1px #9cbbab55,0 8px 16px #0b1b1520;z-index:-1}
.sr-table-mark{position:absolute;top:62%;left:50%;transform:translate(-50%,-50%);font-size:10px;letter-spacing:3px;font-weight:600;color:#b0d2c633}
.sr-pot{position:absolute;left:50%;top:34%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:5px;background:#173c34b3;padding:7px 10px;border:1px solid #a4c4b431;border-radius:20px;color:#f1f5ef;white-space:nowrap}
.sr-pot strong{font-size:13px;font-weight:700}.sr-pot-label{font-size:9px;color:#c6d8d0}
.sr-pot-chips{position:relative;width:12px;height:12px;border-radius:50%;background:#c89e67;border:2px dashed #f1ddbd;box-shadow:0 2px #866242,0 4px #b08b60;margin:0 3px 3px 0}
.sr-community{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);z-index:2;width:max-content;max-width:90%}
html body.street-table-mode #lessonBoard{--deck-w:36px!important;display:flex;gap:4px!important;min-height:50.4px;margin:0!important}
html body.street-table-mode #lessonHand{--deck-w:36px!important;display:flex;gap:4px!important;margin:0!important}
html body.street-table-mode .street-arena .pg-deck-card{transform:none!important;rotate:none!important;margin:0!important;box-shadow:0 2px 4px #10261b33!important}
.sr-seat{position:absolute;transform:translate(-50%,-50%);width:78px;min-height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 4px;border-radius:11px;border:1px solid #748a7d66;background:linear-gradient(150deg,#f5f7f3,#e4ebe7);color:#293a34;text-align:center;box-shadow:0 3px 5px #15271d18;z-index:3}
.sr-position{font-size:10px;color:#697d73;line-height:1.3}.sr-stack{font-size:13px;line-height:1.3;font-weight:700}
.sr-seat-action{min-height:10px;font-size:9px;line-height:1.3;color:#487465;white-space:nowrap}
.sr-seat.is-folded{background:#e0e7e3b3;border-color:#748a7d22;box-shadow:none;min-height:37px;width:59px;gap:1px}
.sr-seat.is-folded .sr-position{color:#687b72}.sr-seat.is-folded .sr-stack{display:none}.sr-seat.is-folded .sr-seat-action{font-size:9px;color:#708278}
.sr-seat.is-hero{width:91px;border-color:#67a58b;background:#f1f8f2;box-shadow:0 0 0 2px #51927a30,0 3px 6px #0c2c1918}
.sr-seat.is-hero .sr-position{color:#27765d;font-weight:700}
.sr-seat.is-acting{border-color:#70b99c;box-shadow:0 0 0 3px #81bc9b33}
.sr-seat-cards{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);display:flex;gap:3px;width:max-content}
.sr-hidden-cards{--deck-w:21px}
.sr-dealer{position:absolute;left:-16px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;background:#f3ead9;border:1px solid #a89d84;color:#4a4b3f;font:700 9px/16px system-ui;box-shadow:0 1px 2px #0002}
.sr-bet{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:4px;white-space:nowrap;z-index:4;height:17px;pointer-events:none}
.sr-chip{display:block;width:14px;height:14px;border-radius:50%;background:#7e9db8;border:2px dashed #e4f0f2;box-shadow:0 2px 0 #375a70,0 3px 1px #1233}
.sr-chip-amount{font-size:10px;font-weight:650;color:#f0f6ef;text-shadow:0 1px 2px #18382a}
.sr-dead-blind{display:none}
.sr-history{font-size:11px;line-height:1.7;color:#6b8078;max-width:660px;margin:0 auto 12px;padding:0 3px}
.sr-history summary{cursor:pointer;display:list-item;padding:2px 0;min-height:24px}
.sr-history ol{margin:6px 0 10px;padding-left:18px}
html body.street-table-mode .lesson-decision{max-width:660px;margin:auto}
html body.street-table-mode #lessonPrompt{font-size:16px!important;font-weight:650;line-height:1.5!important;margin:10px 0 13px!important;text-align:center}
html body.street-table-mode #lessonChoices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
html body.street-table-mode #lessonChoices .lesson-choice{font-size:12px!important;line-height:1.45;min-height:51px!important;padding:11px 7px!important;text-align:center;background:#f6faf7!important;border:1px solid #8eafa1!important;color:#244638!important;font-weight:600;transition:background .15s,border-color .15s}
html body.street-table-mode #lessonChoices .lesson-choice:disabled:not(.is-selected){opacity:.48}
html body.street-table-mode #lessonChoices .lesson-choice.is-selected{background:#d4e9dd!important;border-color:#2f886a!important}
html body.street-table-mode .lesson-footnote{display:none}
html body.street-table-mode #lessonFeedback{margin-top:16px}
.sr-seat.has-folded{opacity:.6}.sr-seat-cards.is-mucked{opacity:.15;filter:grayscale(1);transition:opacity .2s}
html[data-pg-theme=dark] .sr-toolbar,html[data-pg-theme=dark] .sr-history{color:#a1b9ad}
html[data-pg-theme=dark] .sr-seat{background:linear-gradient(155deg,#344541,#263631);color:#e6efe8;border-color:#6d8e7a}
html[data-pg-theme=dark] .sr-position{color:#aec4b5}html[data-pg-theme=dark] .sr-seat-action{color:#a5c7b2}
html[data-pg-theme=dark] .sr-seat.is-folded{background:#25322ccc;border-color:#556a5a33}html[data-pg-theme=dark] .sr-seat.is-folded .sr-position{color:#9aafa0}html[data-pg-theme=dark] .sr-seat.is-folded .sr-seat-action{color:#7f9587}
html[data-pg-theme=dark] .sr-seat.is-hero{background:linear-gradient(140deg,#3b5e50,#294638);border-color:#9ec6a9}
html[data-pg-theme=dark] .sr-seat.is-hero .sr-position{color:#c1e4ca}
html[data-pg-theme=dark] .sr-felt{border-color:#35443d;background:radial-gradient(ellipse at 48% 35%,#3b7b6e,#2d665d 62%,#24534c);box-shadow:0 0 0 1px #75918155,inset 0 0 0 1px #a1c6af44,0 8px 16px #06110b44}
html[data-pg-theme=dark] body.street-table-mode #lessonChoices .lesson-choice{background:#263c32!important;color:#e3f1e7!important;border-color:#608d74!important}
html[data-pg-theme=dark] body.street-table-mode #lessonChoices .lesson-choice.is-selected{background:#35624b!important;border-color:#acd9b8!important}
@media(max-width:600px){html body.street-table-mode .lesson-shell{padding-left:14px;padding-right:14px}.street-arena{height:390px}.sr-felt{inset:25px 32px 23px;border-width:7px}.sr-seat{width:70px;min-height:47px;padding:5px 3px}.sr-seat.is-hero{width:84px}.sr-seat.is-folded{width:53px;min-height:35px}.sr-position{font-size:10px}.sr-stack{font-size:12px}.sr-seat-action{font-size:8px}.sr-hidden-cards{--deck-w:18px}html body.street-table-mode #lessonBoard,html body.street-table-mode #lessonHand{--deck-w:32px!important;gap:3px!important}html body.street-table-mode #lessonBoard{min-height:44.8px}.sr-pot{padding:6px 8px}.sr-pot strong{font-size:12px}.sr-pot-label{font-size:8px}.sr-chip-amount{font-size:9px}.sr-bet{gap:3px}.sr-toolbar{font-size:10px}.sr-table-mark{font-size:9px;letter-spacing:2px}.sr-history{margin-bottom:5px}html body.street-table-mode #lessonPrompt{font-size:15px!important;margin:8px 0 12px!important}}
@media(max-height:750px) and (max-width:600px){.street-arena{height:355px}html body.street-table-mode #lessonBoard,html body.street-table-mode #lessonHand{--deck-w:30px!important}.sr-seat{min-height:43px}.sr-seat.is-folded{min-height:32px}}
@media(prefers-reduced-motion:reduce){.street-arena *{animation:none!important;transition:none!important}}

.sr-seat-cards.is-mucked{opacity:0;transform:translate(-50%,8px);transition:opacity .18s,transform .18s}html body.street-table-mode .street-feedback-note{display:none}
/* Keep replay hit target fixed when skip appears, including rapid/double clicks. */
.sr-toolbar{position:relative;padding-right:146px}.sr-toolbar .sr-replay{position:absolute;right:0;min-width:65px}.sr-toolbar .sr-skip{position:absolute;right:73px;min-width:68px}

/* Review candidates: shared rounded-rectangle geometry, palette only differs. */
html{--sr-bg:#dce3e5;--sr-ink:#253740;--sr-muted:#526772;--sr-felt-hi:#438b80;--sr-felt-mid:#33796f;--sr-felt-low:#28675f;--sr-rail:#435a60;--sr-accent:#286d60;--sr-surface:#eef3f4}
html[data-table-variant=blue]{--sr-bg:#dae5ee;--sr-ink:#263c50;--sr-muted:#506b81;--sr-felt-hi:#638dac;--sr-felt-mid:#4d789a;--sr-felt-low:#3d6587;--sr-rail:#4b6179;--sr-accent:#365f83;--sr-surface:#edf3f8}
html[data-pg-theme=dark]{--sr-bg:#35434d;--sr-ink:#edf3f5;--sr-muted:#c1d0d6;--sr-surface:#41535e}
html[data-pg-theme=dark][data-table-variant=blue]{--sr-bg:#3c4e60;--sr-ink:#f0f5fa;--sr-muted:#cad8e5;--sr-surface:#485e73}
html body.practice-route.training-game.street-concept.street-table-mode{background:var(--sr-bg)!important;color:var(--sr-ink)!important}
html body.street-table-mode .sr-toolbar,html body.street-table-mode .sr-history{color:var(--sr-muted)}
html body.street-table-mode .sr-felt{inset:28px 38px 30px;border-radius:112px / 98px;border:8px solid var(--sr-rail);background:radial-gradient(ellipse at 48% 28%,var(--sr-felt-hi),var(--sr-felt-mid) 55%,var(--sr-felt-low));box-shadow:0 0 0 1px #a3b7c077,inset 0 0 0 2px #bbd6cc45,inset 0 6px 13px #153b3c26,0 12px 22px #152c3c2b}
html body.street-table-mode .sr-felt:after{content:'';position:absolute;inset:8px;border:1px solid #c2d9d24a;border-radius:96px / 82px;pointer-events:none}
html body.street-table-mode .sr-toolbar .sr-skip{background:var(--sr-accent);border-color:var(--sr-accent);color:#fff}
html body.street-table-mode #lessonChoices .lesson-choice{background:var(--sr-surface)!important;color:var(--sr-ink)!important;border-color:#8fa9b5!important}
html body.street-table-mode #lessonChoices .lesson-choice.is-selected{background:var(--sr-accent)!important;color:#fff!important;border-color:#c1dcd7!important}
html body.street-table-mode .sr-seat{background:linear-gradient(150deg,#eff4f6,#dbe5e9);color:#243b46;border-color:#8da6af;box-shadow:0 3px 8px #162b3926}
html body.street-table-mode .sr-position,html body.street-table-mode .sr-seat-action{color:#48636c}
html body.street-table-mode .sr-seat.is-folded{background:#d5e0e6e6;border-color:#a4b9c055;opacity:.75}
html body.street-table-mode .sr-seat.is-folded .sr-position,html body.street-table-mode .sr-seat.is-folded .sr-seat-action{color:#3f5965}
html body.street-table-mode .sr-seat.is-hero{background:#ecf5f2;border-color:#a1cebc;box-shadow:0 0 0 2px #99cdb95c,0 4px 9px #14372d26}
html body.street-table-mode .sr-seat.is-hero .sr-position{color:#275e4b}
html body.street-table-mode .sr-pot{background:#173f44e6;border-color:#b9d2d555}
html body.street-table-mode .sr-chip-amount{color:#fff;text-shadow:0 1px 2px #173744}
html body.street-table-mode .lesson-shell>header{border-color:#8ba1ae66}
@media(max-width:600px){html body.street-table-mode .sr-felt{inset:25px 25px 23px;border-width:7px;border-radius:88px / 94px}html body.street-table-mode .sr-felt:after{inset:7px;border-radius:74px / 80px}}

html[data-pg-theme] body.street-table-mode #lessonChoices .lesson-choice{background:var(--sr-surface)!important;color:var(--sr-ink)!important;border-color:#8fa9b5!important}html[data-pg-theme] body.street-table-mode #lessonChoices .lesson-choice.is-selected{background:var(--sr-accent)!important;color:#fff!important;border-color:#c1dcd7!important}

/* Compact translucent seat labels; shared table geometry and card/chip anchors stay unchanged. */
html body.street-table-mode .sr-seat{width:max-content;min-width:60px;max-width:116px;min-height:0;padding:4px 8px;gap:1px;border-radius:8px;background:rgba(21,39,48,.88);color:#f1f6f6;border:1px solid #d5e8ed35;box-shadow:0 2px 6px #09252f26}
html body.street-table-mode .sr-position{font-size:10px;line-height:1.25;color:#c7d9dc;white-space:nowrap}
html body.street-table-mode .sr-stack{font-size:12px;line-height:1.25;color:#f1f6f6;white-space:nowrap}
html body.street-table-mode .sr-seat-action{min-height:0;max-width:100%;font-size:9px;line-height:1.3;color:#c7d9dc;white-space:normal;overflow-wrap:anywhere}
html body.street-table-mode .sr-seat-action:empty{display:none}
html body.street-table-mode .sr-seat.is-hero{width:max-content;min-width:64px;min-height:0;background:rgba(22,43,49,.94);border:1px solid #8bc5b3;box-shadow:0 2px 6px #09252f26}
html body.street-table-mode .sr-seat.is-hero .sr-position{color:#c5e7dc}
html body.street-table-mode .sr-seat.is-folded{width:max-content;min-width:42px;min-height:0;padding:3px 7px;background:rgba(24,42,51,.72);border:1px solid #d5e8ed20;opacity:1;box-shadow:none}
html body.street-table-mode .sr-seat.is-folded .sr-position,html body.street-table-mode .sr-seat.is-folded .sr-seat-action{color:#c1d1d5}
@media(max-width:600px){html body.street-table-mode .sr-seat{max-width:108px}html body.street-table-mode .sr-seat.is-folded{max-width:104px}}
/* Keep folded labels narrow so enlarged text cannot enter the inward chip lane. */
html body.street-table-mode .sr-seat.is-folded{max-width:54px;padding:3px 5px;transform:translate(-50%,-50%)}
html body.street-table-mode .sr-seat.is-folded .sr-seat-action{white-space:normal;overflow-wrap:anywhere}

/* Position and live remaining stack only. Actions never reserve a badge row. */
html body.street-table-mode .sr-seat,html body.street-table-mode .sr-seat.is-hero{min-width:56px;max-width:160px;min-height:0;width:max-content;padding:4px 7px;gap:1px;border-radius:7px}
html body.street-table-mode .sr-seat .sr-position{font-size:10px;line-height:1.25;font-weight:500}
html body.street-table-mode .sr-seat .sr-stack{font-size:12px;line-height:1.25;font-weight:700;white-space:nowrap}
html body.street-table-mode .sr-seat .sr-seat-action{position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);min-height:0;max-width:124px;padding:3px 6px;border-radius:5px;background:#203840ed;border:1px solid #8faead33;font-size:9px;line-height:1.2;white-space:nowrap;color:#e4f1ef;z-index:5}
html body.street-table-mode .sr-seat .sr-seat-action[hidden]{display:none!important}
html body.street-table-mode .sr-seat:not(.is-hero)[data-position=BB] .sr-seat-action{left:25%}
html body.street-table-mode .sr-seat:not(.is-hero)[data-position=BTN] .sr-seat-action{left:75%}
html body.street-table-mode .sr-seat.is-folded{min-width:34px;max-width:54px;padding:3px 5px}
.sr-fold-state{font-size:9px;line-height:1.2;color:#c1d1d5}

/* Side seats straddle the rail; keep the accepted bottom hero anchor unchanged. */
html body.street-table-mode .sr-seat[data-rail-side=left]{left:42px!important}
html body.street-table-mode .sr-seat[data-rail-side=right]{left:calc(100% - 42px)!important}
@media(max-width:600px){
 html body.street-table-mode .sr-seat[data-rail-side=left]{left:29px!important}
 html body.street-table-mode .sr-seat[data-rail-side=right]{left:calc(100% - 29px)!important}
}

/* One seat footprint for live, folded and hero states: folding never resizes it. */
html body.street-table-mode .sr-seat,
html body.street-table-mode .sr-seat.is-hero,
html body.street-table-mode .sr-seat.is-folded{
 box-sizing:border-box;width:60px;min-width:60px;max-width:60px;
 height:40px;min-height:40px;padding:4px 6px;gap:1px;
}
/* Folded state changes tone, never substitutes a label for known chips. */
html body.street-table-mode .sr-seat.is-folded .sr-stack{display:block}
html body.street-table-mode .sr-seat .sr-stack[hidden]{display:none!important}
