/* GTO view (hu-gtow.js): GTO Wizard-style layout for the heads-up study. Everything is scoped to
   body.look-gtow; the Classic look (gtfo-v1) is untouched. */
#hu-look{display:inline-flex;flex:none;border:1px solid #3a3f47;border-radius:6px;overflow:hidden}
#hu-look button{background:none;border:0;border-radius:0;color:#a7adb6;font-size:12px;font-weight:700;padding:6px 12px}
#hu-look button[aria-pressed=true]{background:#2f343c;color:#fff}

body.look-gtow{--g-bg:#131518;--g-panel:#1b1e22;--g-cell:#24272c;--g-line:#2c3036;--g-muted:#7c838d;--g-text:#e9ecef;background:var(--g-bg)}
.look-gtow main{max-width:1680px;padding:12px 16px 40px}
.look-gtow .lab-title{margin-bottom:10px!important}.look-gtow .lab-title p{display:none}
.look-gtow .hu-shell{background:var(--g-bg);border-color:var(--g-line);border-radius:8px}
.look-gtow .hu-toolbar{gap:12px;padding:8px 10px;border-bottom:1px solid var(--g-line)}
.look-gtow .hu-toolbar>span:not(.gtow-tools){font-size:11px;color:var(--g-muted)}
.look-gtow .hu-toolbar>a{font-size:12px;color:#c9ced5}
.look-gtow .hu-formats{background:#0f1113;border-color:var(--g-line)}
.look-gtow .hu-formats a{padding:6px 12px;font-size:12px}
.look-gtow .hu-formats [aria-current]{background:#3a3f47}
.look-gtow .gtow-tools{display:flex;gap:8px;align-items:center}
.look-gtow .gtow-tools select{width:auto;max-width:210px;background:#1d2024;border:1px solid var(--g-line);border-radius:5px;color:#d5d9de;font-size:12px;padding:6px 8px}
.look-gtow .gtow-tools button,.look-gtow #hu-reset{font-size:12px;padding:6px 10px;background:#1d2024;border-color:var(--g-line);border-radius:5px}
.look-gtow .hu-streets,.look-gtow .hu-method,.look-gtow #hu-description,.look-gtow #hu-legend,.look-gtow .hu-note,.look-gtow #hu-source,
.look-gtow .hu-body>aside:not(#hu-gtow-panel),.look-gtow .hu-postflop-details{display:none!important}

/* action strip */
.look-gtow #hu-path{gap:4px;padding:8px;background:var(--g-bg);border-bottom:1px solid var(--g-line)}
.look-gtow .hu-seat{flex:0 0 auto;min-width:104px;max-width:150px;padding:6px 6px 5px;background:var(--g-panel);border:1px solid var(--g-line);border-radius:4px;box-shadow:none}
.look-gtow .hu-seat.active{border-color:#d9dde2;box-shadow:none}
.look-gtow .hu-seat .hu-seat-head{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:800;color:#9aa1aa;margin:0 0 3px;padding:0 3px 3px;border-bottom:0}
.look-gtow .hu-seat.active .hu-seat-head span:first-child,.look-gtow .hu-seat.active .hu-seat-head span:last-child{color:#5fd08a}
.look-gtow .hu-seat button:not(.hu-seat-head):not(.hu-change-flop){font-size:12.5px;padding:1px 4px;border-radius:3px;color:#cfd3d8}
.look-gtow .hu-seat .chosen{background:#3a3f47;color:#fff}
.look-gtow .hu-seat.waiting{font-size:11px;padding:8px 10px;color:var(--g-muted)}
.look-gtow .hu-board-tile{min-width:0}
.look-gtow .hu-board-cards{padding:2px 3px;gap:3px}
.look-gtow .hu-playing-card{width:30px;height:40px;padding:0;display:grid;place-items:center;font-size:22px;font-weight:800;color:#fff;background:#4b4f55;border-radius:4px;letter-spacing:-1px}
.look-gtow .hu-playing-card.suit-h{background:#c8313b}.look-gtow .hu-playing-card.suit-d{background:#2c5fd0}
.look-gtow .hu-playing-card.suit-c{background:#2e9a4c}.look-gtow .hu-playing-card.suit-s{background:#4b4f55}
.look-gtow .hu-change-flop{display:block;margin:4px auto 0!important;font-size:10px!important}

/* body: grid left, overview right */
.look-gtow .hu-body{grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr)}
.look-gtow .hu-content{padding:10px 12px 14px}
.look-gtow .hu-heading{margin-bottom:8px}
.look-gtow .hu-heading h2{font-size:14px;font-weight:700;color:#c9ced5}
.look-gtow .hu-heading>span#hu-badge{font-size:10px;padding:4px 8px;background:#202328;border-color:var(--g-line);color:#9aa1aa}

/* the 13x13 matrix (preflop #hu-grid and postflop .hu-postflop-matrix) */
.look-gtow #hu-grid,.look-gtow .hu-postflop-matrix{gap:2px;max-width:none}
.look-gtow #hu-grid button,.look-gtow .hu-postflop-matrix button{
  aspect-ratio:1.6;min-height:0;padding:3px 5px;border:0;border-radius:2px;outline:0;opacity:1!important;
  display:flex;align-items:flex-start;justify-content:flex-start;
  font-size:clamp(9px,1vw,14px);font-weight:500;color:#fff;letter-spacing:-.2px;
  background:var(--gtow-mix,none) left bottom/100% var(--gtow-fill,100%) no-repeat,var(--g-cell)!important}
.look-gtow #hu-grid button.gtow-out,.look-gtow .hu-postflop-matrix button.gtow-out{color:#5c6169}
.look-gtow #hu-grid button[aria-pressed=true],.look-gtow .hu-postflop-matrix button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #fff}
.look-gtow #hu-grid button:hover,.look-gtow .hu-postflop-matrix button:hover{box-shadow:inset 0 0 0 1px #ffffffaa}
.look-gtow #hu-grid button.unverified{background:var(--tier)!important}

/* held hands: slim chips above the grid */
.look-gtow .hu-held-panel{flex-direction:row;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.look-gtow .hu-held{flex:1 1 300px;padding:5px 9px;font-size:12px;background:var(--g-panel);border-color:var(--g-line);border-radius:5px}
.look-gtow .hu-held-seat{min-width:0;font-size:10px}
.look-gtow .hu-held-hand{font-size:14px;min-width:0}
.look-gtow .hu-held-msg{flex:1 1 160px;color:#c4c9cf}
.look-gtow .hu-held.ok{border-color:#2f6b47}.look-gtow .hu-held.out{border-color:#5a3a40}
.look-gtow .hu-scenario-banner{font-size:12px;padding:7px 10px}
.look-gtow .hu-unreached{max-width:none}
.look-gtow #hu-empty{padding:30px 10px}
/* Loading a chart (MuckGTOW.loading): a spinner beside the title instead of a "not displayed" message */
#hu-empty.is-loading h3{display:flex;align-items:center;gap:10px}
#hu-empty.is-loading h3::before{content:"";flex:none;width:16px;height:16px;border-radius:50%;border:2px solid var(--muck-line-strong,#3a3f46);
  border-top-color:var(--muck-gold,#ffd34f);animation:hu-spin .8s linear infinite}
#hu-empty.is-loading .gtow-picker,#hu-empty.is-loading #hu-return{display:none}
@keyframes hu-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#hu-empty.is-loading h3::before{animation-duration:2.4s}}
.look-gtow .hu-card-picker button{background:#1d2024;border-color:var(--g-line)}

/* one row: the Muck GTO sub-nav docked at the start of the study toolbar (hu-gtow.js oneRow) */
.look-gtow .hu-toolbar>.gtow-tools{margin-left:auto}
.look-gtow .hu-toolbar>.gtow-tools+#hu-reset,.look-gtow .hu-toolbar>#hu-reset:only-of-type{margin-left:0}
.hu-toolbar.has-sub>*{flex-shrink:0}
.gto-sub.gto-sub--docked{border:0;background:none;margin-right:4px}
.gto-sub--docked .gto-sub-in{height:auto;padding:0!important;overflow:visible}
@media(max-width:760px){.look-gtow .hu-toolbar>.gtow-tools{order:5;width:auto;margin-left:auto}.look-gtow .hu-toolbar>#hu-reset{order:5;margin-left:0}}
.hu-toolbar.has-sub .aof-stack{order:0;width:auto}.hu-toolbar.has-sub .aof-stack input[type=range]{flex:none;width:120px}

/* overview panel */
#hu-gtow-panel{border-left:1px solid var(--g-line,#2c3036);background:var(--g-bg,#131518);padding:10px 12px 16px;min-width:0}
.gtow-head{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:6px;background:var(--g-panel,#1b1e22);border-radius:5px}
.gtow-seat{display:grid;justify-items:center;padding:3px 9px;border-radius:4px;background:#24272c;font-size:11px;line-height:1.25;color:#9aa1aa}
.gtow-seat b{font-size:11px}.gtow-seat.active{color:#5fd08a;background:#22302a}
.gtow-pot{display:grid;margin-left:8px;font-size:12px;line-height:1.2}.gtow-pot small{color:var(--g-muted,#7c838d);font-size:10px}
.gtow-board{display:flex;gap:2px;margin-left:auto}
.gtow-card{display:inline-flex;align-items:center;justify-content:center;gap:1px;color:#fff;font-weight:800;border-radius:3px;background:#4b4f55}
.gtow-card small{font-size:.7em;opacity:.85}
.gtow-card.suit-h{background:#c8313b}.gtow-card.suit-d{background:#2c5fd0}.gtow-card.suit-c{background:#2e9a4c}.gtow-card.suit-s{background:#4b4f55}
.gtow-card.mini{width:22px;height:28px;font-size:14px}.gtow-card.mini small{display:none}
.gtow-card.tiny{padding:0 3px;height:16px;font-size:11px}
.gtow-label{margin:14px 0 6px;font-size:11px;font-weight:700;color:#c9ced5}
.gtow-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:4px}
.gtow-action{position:relative;min-height:96px;padding:8px 10px;border-radius:4px;color:#fff;display:flex;flex-direction:column}
.gtow-action-name{font-size:15px;font-weight:600}
.gtow-action-foot{margin-top:auto;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:2px 8px}
.gtow-action b{font-size:clamp(20px,2.1vw,30px);font-weight:600;line-height:1}
.gtow-action small{font-size:10px;opacity:.85;margin-left:auto}
.gtow-bar{display:flex;height:9px;margin-top:4px;border-radius:2px;overflow:hidden;background:#24272c}
.gtow-bar i{display:block;height:100%}
.gtow-hands{margin-top:16px}
.gtow-hands-title{display:flex;align-items:baseline;gap:10px;margin-bottom:6px;font-size:13px}
.gtow-hands-title b{font-size:15px}
.gtow-muted{color:var(--g-muted,#7c838d);font-size:12px}
.gtow-combos{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:3px}
.gtow-combo{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:84px;padding:5px 6px;border:0;border-radius:3px;background:#24272c;color:#fff;text-align:left;font:inherit;cursor:pointer}
.gtow-combo.out{background:#1c1e22;color:var(--g-muted,#7c838d);cursor:default}
.gtow-combo.held{box-shadow:inset 0 0 0 2px #fff}
.gtow-combo-cards{display:flex;gap:2px}
.gtow-combo-lines{margin-top:auto;font-size:12px;line-height:1.35;text-shadow:0 1px 1px #0006}
.gtow-combo-lines div{display:flex;justify-content:space-between;gap:6px}
.gtow-combo-lines b{font-weight:600}
.gtow-combo-note{margin-top:auto;font-size:11px}

/* Strategy | Ranges tabs above the charts; in Ranges, three columns like GTO Wizard: the other player's range |
   combos and equity | the strategy chart (hu-gtow.js drawCompare). The opponent in gold, the actor in green. */
.gtow-tabs{display:inline-flex;gap:2px;margin:0 0 10px;padding:2px;border-radius:6px;background:#0f1113;border:1px solid var(--g-line,#2c3036)}
.gtow-tabs button{min-width:96px;padding:6px 14px;border:0;border-radius:4px;background:none;color:#a7adb6;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.gtow-tabs button[aria-selected=true]{background:#2f343c;color:#fff}
body.gtow-ranges .hu-body{grid-template-columns:minmax(0,2.4fr) minmax(300px,1fr)}
body.gtow-ranges .hu-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,170px) minmax(0,1fr);column-gap:12px;align-items:start;align-content:start}   /* rows packed at the top: stretched to the side panel's height they re-spread whenever it changed, and the charts slid */
body.gtow-ranges .hu-content>*{grid-column:1/-1}
body.gtow-ranges #gtow-tabs{grid-row:1;justify-self:start}
body.gtow-ranges .hu-heading{grid-row:2}
body.gtow-ranges #gtow-opp{grid-column:1;grid-row:3}
body.gtow-ranges #gtow-mid{grid-column:2;grid-row:3;padding-top:30px}
body.gtow-ranges #hu-grid,body.gtow-ranges #hu-postflop-chart,body.gtow-ranges #nmax-post,body.gtow-ranges #hu-empty{grid-column:3;grid-row:3}   /* #nmax-post: the 4/6-max flop and turn chart (Shaun, 2026-10-09: "why isnt it showing me and my opp range side by side here?") */
.gtow-r-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-height:24px;margin:0 0 6px;font-size:13px}
.gtow-r-pick{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
.gtow-r-seat{padding:3px 9px;border:1px solid var(--g-line,#2c3036);border-radius:999px;background:#1d2024;color:#c9ced5;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.gtow-r-seat[aria-pressed=true]{border-color:#8a6d2e;background:#2a2416;color:#f2d48a}
.gtow-rgrid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:2px}
.gtow-rgrid button{aspect-ratio:1.6;min-width:0;padding:3px 5px;border:0;border-radius:2px;display:flex;align-items:flex-start;justify-content:flex-start;
  font:inherit;font-size:clamp(9px,.8vw,13px);font-weight:500;line-height:1;letter-spacing:-.2px;color:#fff;cursor:pointer;overflow:hidden;
  background:linear-gradient(#d4a94e,#d4a94e) left bottom/100% var(--r-fill,0%) no-repeat,var(--g-cell,#24272c);text-shadow:0 1px 1px #0008}
.gtow-rgrid button.out{color:#5c6169;text-shadow:none}
.gtow-rgrid button[aria-pressed=true],.gtow-rgrid button:hover{box-shadow:inset 0 0 0 1px #fff}
.gtow-r-names{display:flex;justify-content:space-between;font-size:12px}
.gtow-r-vs{color:#e2bb63}.gtow-r-me{color:#5fd08a}
.gtow-r-row{margin-top:12px}
.gtow-r-label{display:block;text-align:center;font-size:12px;color:#c9ced5}
.gtow-r-top{display:flex;justify-content:space-between;gap:6px;margin-top:2px}
.gtow-r-top b{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.gtow-r-bar{display:flex;height:8px;margin-top:4px;border-radius:2px;overflow:hidden;background:#24272c}
.gtow-r-bar i{display:block;height:100%}.gtow-r-bar .vs{background:#d4a94e}.gtow-r-bar .me{background:#4aad6c}
.gtow-r-hand{display:flex;flex-direction:column;gap:3px;margin-top:16px;padding:10px;border-radius:5px;background:var(--g-panel,#1b1e22);font-size:12px}
.gtow-r-hand b{font-size:15px}
.gtow-r-eq{font-size:14px;font-weight:700;color:#fff}
.gtow-r-note{margin:10px 0 0;font-size:12px;line-height:1.5}
.gtow-r-fine{margin:12px 0 0;font-size:11px;line-height:1.5;color:var(--g-muted,#7c838d)}
@media(max-width:1300px){body.gtow-ranges .hu-body{grid-template-columns:minmax(0,1fr)}body.gtow-ranges #hu-gtow-panel{border-left:0;border-top:1px solid var(--g-line,#2c3036)}}
@media(max-width:900px){
  body.gtow-ranges .hu-body{grid-template-columns:minmax(0,1fr)}
  body.gtow-ranges .hu-content{display:block}
  body.gtow-ranges #gtow-mid{padding:4px 0 14px}
  .gtow-rgrid button{font-size:9px;padding:2px 3px;aspect-ratio:1.15}
  .gtow-r-hand{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
}

@media(max-width:900px){
  .look-gtow .hu-body{grid-template-columns:minmax(0,1fr)}
  #hu-gtow-panel{border-left:0;border-top:1px solid var(--g-line,#2c3036)}
  .look-gtow .hu-toolbar{flex-wrap:wrap}
  .look-gtow #hu-grid button,.look-gtow .hu-postflop-matrix button{font-size:9px;padding:2px 3px;aspect-ratio:1.15}
  .gtow-action{min-height:72px}
}

.look-gtow #hu-view-toggle{margin:0 0 0 auto;border-color:var(--g-line)}
.look-gtow #hu-view-toggle button{padding:4px 10px;font-size:11px}
.look-gtow #hu-view-toggle button[aria-pressed=true]{background:#3a3f47}
.look-gtow .hu-heading{justify-content:flex-start;gap:10px}

/* "Show hands you deviated with" */
.gtow-dev-switch{margin:0 0 6px;padding:4px 10px;font-size:11px;font-weight:700;border-radius:999px;background:#1d2024;border:1px solid var(--g-line,#2c3036);color:#a7adb6}
.gtow-dev-switch[aria-pressed=true]{color:#f2d48a;border-color:#6b5a2e;background:#24211a}
.look-gtow .hu-postflop-matrix button.gtow-dev{color:#b9a46e;box-shadow:inset 0 0 0 1px #6b5a2e}
.look-gtow .hu-postflop-matrix button.gtow-dev[aria-pressed=true]{box-shadow:inset 0 0 0 2px #f2d48a}
.gtow-combo.dev{opacity:.82;box-shadow:inset 0 0 0 1px #f2d48a99}
.gtow-dev-note{color:#d9c48c!important}

/* card picker (flop / turn / river) */
.look-gtow #hu-empty:has(.gtow-picker:not(:empty)){min-height:0;padding:14px 4px;max-width:none}
.look-gtow #hu-empty:has(.gtow-picker:not(:empty)) h3{font-size:15px;margin:0 0 8px}
.gtow-picker{display:block!important;max-width:620px;margin:6px 0 0!important;padding:12px;background:var(--g-panel,#1b1e22);border:1px solid var(--g-line,#2c3036);border-radius:8px}
.gtow-picker-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.gtow-picker-slots{display:flex;gap:3px;padding-bottom:4px;border-bottom:2px solid #5fd08a}
.gtow-picker-tools{display:grid;gap:4px}
.gtow-picker-tool{width:30px;height:28px;padding:0;display:grid;place-items:center;font-size:14px;background:#2a2e34!important;border:0!important;border-radius:4px;color:#d5d9de}
.gtow-pcard{position:relative;display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:.78;padding:0;border:0!important;border-radius:4px;
  color:#fff;font-size:clamp(18px,2.6vw,30px);font-weight:800;line-height:1;background:#4b4f55}
.gtow-pcard span{position:relative;z-index:1}
.gtow-pcard i{position:absolute;right:-8%;bottom:-18%;font-size:1.6em;font-style:normal;color:#000;opacity:.16;line-height:1}
.gtow-picker .gtow-pcard{margin:0!important}
html[data-cards]:not([data-cards="color"]) .gtow-picker .gtow-pcard i{color:currentColor;opacity:.3}   /* on a cream face the corner pip tells hearts from diamonds */
/* the picker's cards wear the player's card faces (card-faces.css), not forced suit colors: classic's red ranks were on red tiles (Shaun, 2026-10-25: "these colors are fucked up") */
.gtow-picker .gtow-pcard.slot.empty{background:#2a2e34!important}
.gtow-picker button{margin:0!important}
.look-gtow #hu-empty:has(.gtow-picker:not(:empty)) #hu-return{padding:5px 10px;font-size:12px;margin:0 0 8px}
.gtow-pcard:hover:not(:disabled){filter:brightness(1.18)}
.gtow-pcard[aria-pressed=true]{box-shadow:inset 0 0 0 3px #fff;filter:brightness(1.15)}
.gtow-pcard:disabled{opacity:1;filter:grayscale(.35) brightness(.55);cursor:default}
.gtow-pcard:disabled::after{content:"🔒";position:absolute;top:2px;right:3px;font-size:9px;filter:grayscale(1)}
.gtow-pcard.slot{width:38px;font-size:24px}
.gtow-pcard.slot small{display:none}
.gtow-pcard.slot.locked{filter:brightness(.65)}
.gtow-pcard.slot.empty{background:#2a2e34;color:#6c727a}
.gtow-picker-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px}
.gtow-picker-foot{display:flex;justify-content:flex-end;margin-top:12px}
.gtow-picker-confirm{padding:7px 20px;border:0!important;border-radius:5px;background:#7fe0a0!important;color:#0d2416!important;font-weight:800}
.gtow-picker-confirm:disabled{background:#2a2e34!important;color:#7c838d!important;opacity:1!important}
.gtow-picker-tool:disabled{opacity:.45!important}

.look-gtow .hu-board-head{display:flex!important;justify-content:space-between;gap:10px;width:100%;padding:0 3px 3px!important;font-size:11px!important;font-weight:800;color:#9aa1aa!important;background:none!important}
.look-gtow .gtow-street-pot{color:#d5d9de}

/* GTO view only: no chart-source switch, no spot dropdown (Shaun, 2026-10-01) */
.look-gtow #hu-view-toggle,.look-gtow #hu-spot,.look-gtow label[for=hu-spot]{display:none!important}

/* Study box fills the window even on short spots (Shaun, 2026-10-02: "these shouldnt be such short pages") */
.look-gtow .hu-shell{min-height:calc(100vh - 112px);min-height:calc(100dvh - 112px)}
@media(max-width:760px){.look-gtow .hu-shell{min-height:calc(100dvh - 150px)}}

/* "Analyze in Muck GTO" from hand history: one quiet line under the toolbar */
.nmax-hh-note{margin:0;padding:10px 16px;border-bottom:1px solid var(--muck-line);background:color-mix(in srgb,var(--muck-gold) 6%,transparent);color:var(--muck-text-2);font-size:13px}
.nmax-hh-note b{color:var(--muck-gold);font-weight:800}


/* Calm toolbar (Shaun, 2026-10-08: "can we make this prettier. it looks very jarring and overwhelming"): every picker
   is the same quiet segmented control, the selection is neutral (gold stays on the Muck GTO nav only), no "Game" label,
   one 32px height, and Undo / Start over are light text buttons. */
body.look-gtow .hu-toolbar{gap:18px;padding:8px 14px}
body.look-gtow .hu-toolbar .short-stack,body.look-gtow .hu-toolbar .hu-formats{display:flex;align-items:center;gap:2px;height:32px;box-sizing:border-box;padding:2px;border:0;border-radius:7px;background:#16181b}
body.look-gtow .hu-toolbar .short-stack a,body.look-gtow .hu-toolbar .hu-formats a{display:inline-flex;align-items:center;height:28px;padding:0 11px;border:0;border-radius:5px;background:none;color:#8b929b;font:600 12.5px var(--muck-font);text-decoration:none}
body.look-gtow .hu-toolbar .short-stack a:hover,body.look-gtow .hu-toolbar .hu-formats a:hover{color:#e9ecef}
body.look-gtow .hu-toolbar .short-stack a[aria-current],body.look-gtow .hu-toolbar .hu-formats a[aria-current]{background:#2a2e34;color:#f1f3f5}
body.look-gtow .hu-toolbar .short-label,body.look-gtow .hu-toolbar .aof-stack-label span{padding:0 6px 0 9px;color:#7c838d;font:600 12px var(--muck-font);letter-spacing:0;text-transform:none;white-space:nowrap}
body.look-gtow .hu-toolbar .aof-stack{gap:6px;height:32px;padding:0 6px 0 2px;border-radius:7px;background:#16181b;min-height:0}
body.look-gtow .hu-toolbar .aof-stack-label{align-items:center;gap:4px}
body.look-gtow .hu-toolbar .aof-stack-label b{min-width:44px;color:#f1f3f5;font:600 12.5px var(--muck-font)}
body.look-gtow .hu-toolbar .aof-step{width:24px;height:24px;border:0;border-radius:5px;background:#24272c;color:#c9ced5;font:600 14px/1 var(--muck-font)}
body.look-gtow .hu-toolbar .aof-step:hover{background:#2f343c;color:#fff}
body.look-gtow .hu-toolbar .aof-stack input[type=range]{accent-color:#aeb4bc}
body.look-gtow .hu-toolbar .gtow-tools button,body.look-gtow .hu-toolbar #hu-reset{height:32px;padding:0 10px;border:0;border-radius:6px;background:none;color:#9aa1aa;font:600 12.5px var(--muck-font)}
body.look-gtow .hu-toolbar .gtow-tools button:hover:not(:disabled),body.look-gtow .hu-toolbar #hu-reset:hover{background:#1d2024;color:#fff}
body.look-gtow .hu-toolbar .gto-sub--docked{padding-right:10px;border-right:1px solid var(--g-line,#2c3036)!important}
body.look-gtow .hu-toolbar .gto-sub--docked .gto-sub-in{gap:2px}
/* Study keeps just the Muck GTO link in its row (Shaun: "maybe study doesnt have the other gto section tabs?") */
body.look-gtow .hu-toolbar .gto-sub--docked a:not(.gto-sub-brand){display:none}
body.look-gtow .hu-toolbar .gto-sub--docked .gto-sub-brand{margin:0;padding:6px 4px;border:0;font-size:13px}
/* labels on every picker (Shaun, 2026-10-08: "too condensed now, label game players and stack depth") */
body.look-gtow .hu-toolbar .hu-formats .short-label{display:inline}

/* Hand labels centered in every grid, like GTO Wizard (Shaun, 2026-10-08: "the styling of the numbers on the right chart
   sloppily applied while the left chart they are centered"); side by side, both grids use the same type size. */
.look-gtow #hu-grid button,.look-gtow .hu-postflop-matrix button,.gtow-rgrid button{align-items:center;justify-content:center;padding:0;text-align:center}
body.gtow-ranges #hu-grid button,body.gtow-ranges .hu-postflop-matrix button,body.gtow-ranges .gtow-rgrid button{font-size:clamp(9px,.78vw,13px);font-weight:600;letter-spacing:-.2px}
/* EV view (hu-gtow.js paintEv): cells coloured by the hand's best EV, the value under its name */
body.look-gtow.gtow-ev #hu-grid button{background:var(--ev-bg,#1b1e22)!important;flex-direction:column;line-height:1.05}
body.look-gtow.gtow-ev #hu-grid button[data-ev]::after{content:attr(data-ev);display:block;font-size:9px;font-weight:700;opacity:.92;font-variant-numeric:tabular-nums}
.look-gtow .gtow-ev-list{display:grid;gap:4px;margin:8px 0 12px}
.look-gtow .gtow-ev-line{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;border-radius:6px;background:var(--g-panel);border-left:3px solid var(--c);font-size:13px;color:var(--g-text)}
.look-gtow .gtow-ev-line.best{background:#262b31;font-weight:700}
.look-gtow .gtow-ev-line b{font-variant-numeric:tabular-nums}
.look-gtow .gtow-ev-close{margin:6px 0 0;padding:6px 10px;border-radius:6px;background:#2b2715;color:#ffd34f;font-size:12px;font-weight:700}
.look-gtow .gtow-ev-note{margin:4px 0 0;font-size:11px}
.look-gtow .gtow-ev-key{max-width:640px;margin:12px 0 0;font-size:12px;line-height:1.5;color:var(--g-muted,#7c838d)}
/* Ranges tab before anyone acts (hu-gtow.js rangesEmpty): one card across the opponent and middle columns, as tall as the chart */
body.gtow-ranges.gtow-ranges-empty #gtow-opp{grid-column:1/3;align-self:stretch;display:flex}
.gtow-r-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:260px;padding:28px;border:1px dashed var(--g-line,#2c3036);border-radius:10px;background:var(--g-panel,#1b1e22);text-align:center}
.gtow-r-empty-title{font-size:18px;font-weight:800;color:var(--g-text,#e9ecef)}
.gtow-r-empty-text{max-width:360px;margin:0;font-size:13px;line-height:1.6;color:var(--g-muted,#7c838d)}
.gtow-r-empty-go{margin-top:6px;height:38px;padding:0 16px;border:1px solid var(--muck-gold,#ffd34f);border-radius:8px;background:transparent;color:var(--muck-gold,#ffd34f);font-size:13px;font-weight:800;cursor:pointer}
.gtow-r-empty-go:hover{background:var(--muck-gold,#ffd34f);color:#211805}
/* Toolbar pickers (Shaun, 2026-10-09: "confusing with names of selections and the items themselves being same font"):
   the group name is a small uppercase caption outside the control, and the options are one outlined segmented control. */
body.look-gtow .hu-toolbar{gap:24px}
body.look-gtow .hu-toolbar .short-stack,body.look-gtow .hu-toolbar .hu-formats{gap:0;height:auto;padding:0;background:none;border:0}
body.look-gtow .hu-toolbar .short-label,body.look-gtow .hu-toolbar .aof-stack-label span{padding:0 10px 0 0;color:#6f767f;font:800 10px/1 var(--muck-font);letter-spacing:.12em;text-transform:uppercase}
body.look-gtow .hu-toolbar .short-stack a,body.look-gtow .hu-toolbar .hu-formats a{height:30px;padding:0 12px;margin-left:-1px;border:1px solid #2f343b;border-radius:0;background:#141619;color:#9aa1aa}
body.look-gtow .hu-toolbar :is(.short-stack,.hu-formats) .short-label+a{margin-left:0;border-radius:7px 0 0 7px}
body.look-gtow .hu-toolbar :is(.short-stack,.hu-formats) a:last-child{border-radius:0 7px 7px 0}
body.look-gtow .hu-toolbar .short-stack a[aria-current],body.look-gtow .hu-toolbar .hu-formats a[aria-current]{position:relative;z-index:1;border-color:#4a5058;background:#2c3138;color:#fff}
/* EV units and comparison mode use one baseline in the grid and action panel. */
.look-gtow .gtow-ev-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.look-gtow .gtow-ev-controls select{padding:7px 10px;border:1px solid var(--g-line,#343a40);border-radius:6px;background:var(--g-panel,#1b1e22);color:var(--g-text,#eceef0);font:inherit;font-size:12px}
.look-gtow .gtow-ev-controls select:focus{outline:none;border-color:#ffd34f}   /* a field: its own border turns gold, no second ring */
