.drill-portrait-picked{display:none}
/* Active Open Raise only. The manuscript's pp. 8 and 56 oval informs the quiet rail and seat plaques. */
@media (max-width:600px) and (orientation:portrait){
html body.drill-2026.is-range-playing .range-shell{padding:env(safe-area-inset-top,0px) 12px max(8px,env(safe-area-inset-bottom,0px))}
html body.drill-2026.is-range-playing .range-shell>header{min-height:44px;margin:0 0 4px;padding:0;gap:8px}
html body.drill-2026.is-range-playing .range-shell>header>a{display:inline-flex;align-items:center;min-height:44px}
html body.drill-2026.is-range-playing .range-shell>header>strong{font-size:16px}
html body.drill-2026.is-range-playing .open-plan-entry{display:none}
html body.drill-2026.is-range-playing #rangeDrill:not([hidden]){display:grid;grid-template-columns:1fr 1fr;column-gap:6px}
html body.drill-2026.is-range-playing #rangeDrill>*{grid-column:1/-1;min-width:0}
html body.drill-2026.is-range-playing .drill-top{min-height:44px;padding:0 10px;border-radius:10px 10px 0 0}
html body.drill-2026.is-range-playing #rangeEdit{font-size:11px;border:0;padding:0 6px}
html body.drill-2026.is-range-playing #drillCounter{font-size:13px}
html body.drill-2026.is-range-playing #missionHud{padding:0 10px 3px;gap:2px 6px}
html body.drill-2026.is-range-playing #missionHud>span{font-size:9px;color:var(--d-muted)}
html body.drill-2026.is-range-playing #missionHud>strong{font-size:11px}
html body.drill-2026.is-range-playing #missionHud>small{font-size:10px;line-height:1.2}
html body.drill-2026.is-range-playing #drillTrack{margin:0;padding:5px 10px 7px;border-radius:0 0 10px 10px}
html body.drill-2026.is-range-playing #drillTrack i{height:3px}
html body.drill-2026.is-range-playing #drillTable:not([hidden]){
 --deck-w:43px;--range-dealer-offset:37px;
 width:calc(100% - 46px);height:clamp(155px,calc(100vh - 376px),190px);height:clamp(155px,calc(100dvh - 376px),190px);
 aspect-ratio:auto;margin:24px auto 24px;border:6px solid #232b29;
 background:#323c38;box-shadow:0 2px 0 #232b2928;color:#fbfaf5
}
html body.drill-2026.is-range-playing #drillTable::before{inset:4px;border:1px solid #a891638c}
html body.drill-2026.is-range-playing #drillSpot{top:12%;font-size:10px;letter-spacing:.01em;color:#f4f4ec;max-width:59%}
html body.drill-2026.is-range-playing #drillTable .drill-pot{top:30%;gap:1px}
html body.drill-2026.is-range-playing #drillPotText{padding:2px 6px;border-radius:4px;font-size:12px;background:#242d29}
html body.drill-2026.is-range-playing #drillAnte{font-size:8px;color:#dfdfd4}
/* training-journey.css paints every training seat dark with !important.
   Restore only these portrait plaques, keeping folded positions readable. */
html body.drill-2026.is-range-playing #drillSeats .drill-seat{width:auto;min-width:41px;padding:2px 4px;border:1px solid #c5c8bb;border-radius:4px!important;box-shadow:none}
html body.drill-2026.is-range-playing #drillSeats .drill-seat:not(.is-hero){background:#f7f4e8!important;border-color:#c8c2ad!important;color:#252b27;opacity:1}
html body.drill-2026.is-range-playing #drillSeats .drill-seat.is-folded:not(.is-hero){background:#ebe7da!important;color:#2e312b;opacity:1}
html body.drill-2026.is-range-playing #drillSeats .drill-seat :is(strong,small){font-size:9px;line-height:1.12;color:inherit}
html body.drill-2026.is-range-playing #drillSeats .drill-seat strong{font-weight:850}
html body.drill-2026.is-range-playing #drillSeats .drill-seat.is-folded:not(.is-hero) small{color:#59584e}
html body.drill-2026.is-range-playing #drillSeats .drill-seat.is-hero{min-width:58px;padding:3px 6px;border:1px solid #ddc189!important;background:#28332d!important;color:#fff9df}
html body.drill-2026.is-range-playing #drillSeats .seat-backs{bottom:calc(100% + 1px)}
html body.drill-2026.is-range-playing #drillSeats .seat-backs>*{width:10px!important;height:14px!important;box-shadow:none!important}
html body.drill-2026.is-range-playing #rangeDealer{width:16px;height:16px;font-size:9px;background:#e5cd94;color:#2b2b23;border:0}
html body.drill-2026.is-range-playing #drillCards{--deck-w:43px;bottom:13%;gap:3px}
html body.drill-2026.is-range-playing #drillCards>.pg-deck-card+.pg-deck-card{margin-left:0}
html body.drill-2026.is-range-playing #drillPostings .posted-bet b,html body.drill-2026.is-range-playing #drillBet strong{font-size:8px;padding:2px 3px}
html body.drill-2026.is-range-playing #drillActions:not([hidden]){margin:0 0 5px;gap:6px;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
html body.drill-2026.is-range-playing #rangeDrill:has(#drillNext:not([hidden])) #drillActions{display:none}
html body.drill-2026.is-range-playing #drillActions:not([hidden]) button{min-height:44px;height:auto;padding:6px 2px;border-radius:8px;font-size:13px}
html body.drill-2026.is-range-playing #drillFeedback[data-match]:not(:empty){margin:0 0 5px!important;padding:6px 8px!important;border-radius:8px!important;font-size:12px;line-height:1.3}
html body.drill-2026.is-range-playing #drillFeedback .coach-result{gap:4px 6px}
html body.drill-2026.is-range-playing #drillFeedback .coach-symbol{width:20px;height:20px;font-size:12px}
html body.drill-2026.is-range-playing #drillFeedback .coach-result strong{font-size:13px}
html body.drill-2026.is-range-playing #drillFeedback .coach-growth{font-size:9px}
html body.drill-2026.is-range-playing #drillFeedback .drill-portrait-picked{display:block;font-size:11px;margin:3px 0 0}
html body.drill-2026.is-range-playing #drillFeedback .coach-answer{margin:3px 0 0;font-size:11px}
html body.drill-2026.is-range-playing #drillRetryCurrent:not([hidden]),html body.drill-2026.is-range-playing #drillNext:not([hidden]){height:auto;min-height:44px;margin:0 0 4px;border-radius:8px!important;font-size:13px;padding:4px 5px}
html body.drill-2026.is-range-playing #drillRetryCurrent:not([hidden]){grid-column:1}
html body.drill-2026.is-range-playing #drillRetryCurrent:not([hidden])+#drillNext:not([hidden]){grid-column:2}
html body.drill-2026.is-range-playing #rangeDrill>details:not([open]){padding:0 6px!important;margin:3px 0 0!important}
html body.drill-2026.is-range-playing #rangeDrill>details>summary{min-height:44px;padding:0 4px!important;align-content:center;font-size:12px}
}


/* Keep reward overlays from covering cards and feedback during a hand. */
html body.drill-2026.is-range-playing .pgx-layer{display:none!important}
