/* Fixed landscape geometry shared by replay and decision states. */
html body.table-focus .ht-room.is-playing{background:radial-gradient(ellipse at 50% 18%,#242628,#101112 65%);padding-bottom:32px}
html body.table-focus #tableGame{display:flex;flex-direction:column;flex:0 0 auto;max-width:1040px;min-height:0;width:100%}
html body.table-focus .ring-replay-bar{height:30px;flex:none}
html body.table-focus .ht-game-meta{height:24px;flex:none}
html body.table-focus .ht-room .ht-table{flex:none;align-self:center;width:calc(100% - 76px);max-width:780px;height:auto;min-height:0;aspect-ratio:2.05;margin:60px auto 76px;grid-column:auto;grid-row:auto}
html body.table-focus .ht-rail{border:15px solid #242526;border-radius:32% / 44%;background:radial-gradient(ellipse at 50% 35%,#286541,#174a30 65%,#103721);box-shadow:0 -3px 2px #414342,0 2px 0 4px #080a09,0 13px 0 3px #151617,0 21px 22px #0009,inset 0 0 30px #041b13,inset 0 0 0 2px #63836c33}
html body.table-focus .ht-rail:after{inset:11px;border-radius:31% / 43%;border-color:#a3b79c24}
html body.table-focus .ht-room .ht-center{top:0;gap:8px}
html body.table-focus .ring-seat.is-folded{opacity:.65;background:#202224;border-color:#44484a}
html body.table-focus .ring-replaying .ht-console{visibility:visible}
html body.table-focus .ht-console{width:100%;max-width:680px;align-self:center;padding:0;grid-column:auto;grid-row:auto}
html body.table-focus .ht-sizing{padding:8px 12px}
html body.table-focus .ht-actions{grid-template-columns:.8fr 1fr 1.2fr}
html body.table-focus #tableRaise{grid-column:auto}
html body.table-focus .ht-sizing>div:first-child{grid-template-columns:repeat(6,minmax(0,1fr))}
.table-study{width:100%;max-width:680px;align-self:center;margin:25px auto 0;padding:22px 0;border-top:1px solid #ffffff20;text-align:left}
.table-study>small{color:#b3bbb8;font-size:11px;letter-spacing:1px}.table-study h2{font-size:19px;color:#fafafa;margin:9px 0}.table-study p{font-size:14px!important;line-height:1.75;margin:0!important;color:#ddd!important}.table-study ol{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:7px}.table-study li{padding:6px 9px;border-radius:5px;background:#ffffff0a;font-size:11px;color:#d3d7d6}
html body.table-focus .table-deck{left:48%;top:18%;width:20px;height:28px;opacity:.7}
@media(max-width:600px){
 html body.table-focus .ht-room.is-playing{padding-left:12px;padding-right:12px}
 html body.table-focus .ht-room .ht-table{width:calc(100% - 42px);aspect-ratio:1.85;min-height:0;margin:53px auto 72px}
 html body.table-focus .ht-rail{border-width:10px}
 html body.table-focus .ring-seat{width:49px;padding:4px 2px}
 html body.table-focus .ring-seat strong{font-size:9px}.ring-seat>span{font-size:8px}
 html body.table-focus .ht-room .ht-villain{width:53px;font-size:9px}
 html body.table-focus .ht-room .ht-hero .ht-card{width:36px;height:51px}
 html body.table-focus .ht-seat{min-width:83px;padding:5px 9px}
 html body.table-focus .ht-seat strong{font-size:12px}
 html body.table-focus .ht-room .ht-center{max-width:70%;gap:5px}
 html body.table-focus .ht-room .ht-card{width:26px;height:37px}
 html body.table-focus .ht-card-rank{font-size:14px}html body.table-focus .ht-card-suit{font-size:18px}
 html body.table-focus .ht-center>strong{font-size:12px;padding:3px 8px}
 html body.table-focus .ht-heading button{padding:6px;font-size:10px}
 .table-study{margin-top:22px;padding-top:20px}.table-study h2{font-size:18px}.table-study p{font-size:13px!important}
}
/* Open-raise uses the same full-ring presentation, with no lone rival. */
html body.practice-route.training-game .range-drill-table{display:block;width:calc(100% - 50px);box-sizing:border-box;height:auto;aspect-ratio:2.05;min-height:0;max-width:730px;margin:65px auto 78px;border:14px solid #252728;border-radius:32% / 44%;background:radial-gradient(ellipse at 50% 35%,#286541,#174a30 65%,#103721);box-shadow:0 -3px 2px #414342,0 2px 0 3px #080a09,0 12px 0 2px #151617,0 20px 24px #0008,inset 0 0 28px #041b13}
html body.practice-route.training-game .range-drill-table:before{inset:11px;border-radius:31% / 43%}
.range-drill-table .drill-rival,.range-drill-table>small{display:none!important}
html body.practice-route.training-game #drillSpot{position:absolute;top:27%;left:0;width:100%;text-align:center;font-size:12px;letter-spacing:1px;color:#c0d2c6}
html body.practice-route.training-game #drillHand{position:absolute;top:44%;left:0;width:100%;text-align:center;font-size:13px}
.range-drill-table .drill-pot{position:absolute;top:60%;left:50%;transform:translateX(-50%);white-space:nowrap;display:block;text-align:center;font-size:11px}
.range-drill-table .drill-pot .lobby-chips{display:none}
.drill-seats{position:absolute;inset:-12px;pointer-events:none}.drill-seat{position:absolute;transform:translate(-50%,-50%);width:65px;display:grid;text-align:center;padding:7px 3px;border:1px solid #62696b;background:linear-gradient(#323637,#202224);border-radius:7px;box-shadow:0 4px 6px #0007;color:#f1f3f2;font:700 11px system-ui}
.drill-seat small{font-size:10px;font-weight:400;color:#bec7c4;margin-top:2px}.drill-seat.is-folded{opacity:.65}.drill-seat.is-hero{border-color:#debd74;top:100%;z-index:3}.drill-seat .seat-dealer{position:absolute;right:-11px;top:4px;display:grid;place-items:center;border-radius:50%;width:16px;height:16px;background:#eee9dc;color:#222;font:700 10px Arial}
.drill-seat .seat-backs{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);display:flex;gap:2px}.seat-backs i{width:15px;height:21px;border:1px solid #a8b4b0;border-radius:2px;background:repeating-linear-gradient(45deg,#27322e 0 2px,#46544e 2px 4px)}
html body.practice-route.training-game .drill-cards{top:auto;bottom:12px;z-index:5;gap:4px}.drill-cards .game-card{width:45px;height:63px}.drill-cards .game-card b{font-size:23px}.drill-cards .game-card i{font-size:29px}
.drill-study{margin-top:24px;border-top:1px solid #8884;padding-top:19px}.drill-study h2{font-size:18px;margin:0 0 10px}.drill-study p{font-size:13px;line-height:1.75}.drill-study a{color:inherit;text-underline-offset:4px}
.drill-history{display:flex;gap:5px;flex-wrap:wrap;margin:15px 0}.drill-history span{font-size:10px;padding:5px 7px;background:#8882;border-radius:4px}
.range-source-note{padding:12px 14px;border-radius:9px;background:#8881;font-size:12px;line-height:1.6}.range-start{width:100%;min-height:48px;border:0;border-radius:9px;background:#e0bd7e;color:#231e16;font-size:15px;font-weight:750;margin:8px 0 15px}
.range-shell .seat-picker{height:auto;min-height:0;margin:17px 0}.range-shell .seat-felt{display:none}.range-shell #positionButtons{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.range-shell #positionButtons button{position:static!important;transform:none;width:auto;font-size:13px;min-height:43px}.range-shell .stack-buttons{grid-template-columns:repeat(6,1fr)}
body.is-range-playing .spot-setup,body.is-range-playing #rangeSpot,body.is-range-playing #rangeQuickStart,body.is-range-playing #rangeSourceNote{display:none!important}
html body.practice-route.training-game .drill-actions{grid-template-columns:1fr 1fr 1fr;gap:8px}.drill-actions #drillMix{background:#4c607e;color:white}
@media(max-width:600px){html body.practice-route.training-game .range-drill-table{width:calc(100% - 42px);aspect-ratio:1.85;min-height:0;border-width:10px;margin:54px auto 74px}.drill-seat{width:47px;padding:5px 2px;font-size:9px}.drill-seat small{font-size:8px}.drill-seats{inset:-8px}.seat-backs i{width:12px;height:17px}.drill-cards .game-card{width:34px;height:47px}.drill-cards .game-card b{font-size:18px}.drill-cards .game-card i{font-size:24px}html body.practice-route.training-game #drillSpot{font-size:10px;top:25%}html body.practice-route.training-game #drillHand{top:42%;font-size:11px}.range-drill-table .drill-pot{font-size:9px;top:60%}.range-shell .format-buttons{flex-wrap:wrap}.range-shell .format-buttons button{padding:6px 8px;font-size:11px}}

html body.table-focus .ht-size-entry input{margin:0;min-height:34px;height:34px}html body.table-focus .ht-sizing input[type=range]{min-height:18px;height:18px;padding:0;background:transparent}html body.table-focus .ht-hero .ht-action-tag:empty{display:none}html body.table-focus .ht-room .ht-table{margin-bottom:88px}
/* Programmatic hand announcements must not draw a table-wide focus ring. */
html body.practice-route.training-game #drillHand:focus{outline:none;box-shadow:none}
/* Match the scale of hero cards, with a compact overlapping opponent hand. */
.drill-seat .seat-backs,.ring-seat .ring-hand{gap:0;bottom:calc(100% - 3px)}
.drill-seat .seat-backs i,.ring-seat .ring-hand i{display:block;flex:none;width:36px;height:50px;border:0;border-radius:4px;background:#202629 url('/images/grinders-card-back.svg?v=2') center/100% 100% no-repeat;box-shadow:0 2px 4px #0006;transform:rotate(-7deg);transform-origin:bottom center}
.drill-seat .seat-backs i+i,.ring-seat .ring-hand i+i{margin-left:-15px;transform:rotate(7deg)}
html body.table-focus .ht-room .ht-villain .ht-card{width:36px;height:50px}
html body.table-focus #villainCards{gap:0}
html body.table-focus #villainCards .ht-card+.ht-card{margin-left:-13px;transform:translateY(3px)}
@media(max-width:600px){
 .drill-seat .seat-backs i,.ring-seat .ring-hand i{width:28px;height:39px}
 .drill-seat .seat-backs i+i,.ring-seat .ring-hand i+i{margin-left:-12px}
 html body.table-focus .ht-room .ht-villain .ht-card{width:29px;height:41px}
 html body.table-focus #villainCards .ht-card+.ht-card{margin-left:-10px}
}
