.range-browser{--rv-bg:#f6f6f7;--rv-panel:#fff;--rv-ink:#202226;--rv-muted:#626874;--rv-line:#e0e2e6;--rv-open:#c33248;--rv-jam:#8964b4;--rv-call:#358474;--rv-fold:#343b47;background:var(--rv-bg);color:var(--rv-ink);margin:0;padding:0 0 calc(84px + env(safe-area-inset-bottom,0px));font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[data-pg-theme=dark] .range-browser{--rv-bg:#101113;--rv-panel:#1b1d21;--rv-ink:#f3f3f5;--rv-muted:#b0b5bf;--rv-line:#363a42}
.range-browser>.pg-site-header{height:56px;min-height:56px;box-sizing:border-box;padding:0 18px;margin:0;display:flex;align-items:center;justify-content:space-between;background:var(--rv-bg);border-bottom:1px solid var(--rv-line)}
.range-browser>.pg-site-header .brand{font-size:18px;gap:8px}.range-browser>.pg-site-header .brand img{width:27px;height:27px}
.rv{max-width:1060px;margin:auto;padding:10px 14px 16px;box-sizing:border-box}.rv button,.rv-options button,.rv-options select{font:inherit;touch-action:manipulation}.rv-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}.rv-spot{display:flex;width:100%;align-items:center;justify-content:space-between;gap:18px;background:none;border:0;color:var(--rv-ink);padding:4px 0;text-align:left;cursor:pointer}.rv-spot small{font-size:11px;font-weight:550;color:var(--rv-muted);display:block;margin-bottom:2px}.rv-spot strong{font-size:22px;letter-spacing:-.6px;line-height:1.2}.rv-spot strong span{font-weight:500;margin-left:10px}.rv-spot svg{box-sizing:content-box;width:21px;height:21px;padding:10px;border:1px solid var(--rv-line);border-radius:12px;fill:none;stroke:currentColor;stroke-width:1.7}
.rv-layout{display:grid;grid-template-columns:minmax(0,650px) minmax(220px,1fr);align-items:start;gap:26px}.rv-chart{min-width:0}.rv-matrix{width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(13,minmax(0,1fr));grid-template-rows:repeat(13,minmax(0,1fr));gap:2px;padding:2px;box-sizing:border-box;background:var(--rv-line);border-radius:8px;overflow:hidden}
.rv .rv-cell{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:2px;color:#fff;background:var(--rv-fold);font-size:clamp(10px,2.8vw,15px);font-weight:650;letter-spacing:-.35px;line-height:1;cursor:pointer;position:relative;font-variant-numeric:tabular-nums;box-shadow:none;text-shadow:0 1px 2px #0006;-webkit-tap-highlight-color:transparent}.rv .rv-cell[aria-pressed=true]{outline:2px solid #fff;outline-offset:-2px;z-index:1}.rv .rv-cell:focus-visible{outline:3px solid #e4c776;outline-offset:-3px;z-index:2}.rv-matrix[aria-busy=true] .rv-cell{opacity:.4}
.rv-hand{padding:20px 0 0;min-width:0}.rv-hand-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.rv-hand-title strong{font-size:32px;letter-spacing:-1px;line-height:1}.rv-hand-title span{font-size:11px;color:var(--rv-muted)}.rv-frequencies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.rv-frequency{display:flex;flex-direction:column;gap:4px;min-width:0}.rv-frequency span{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--rv-muted);white-space:nowrap}.rv-frequency i{width:7px;height:7px;border-radius:2px;flex:none}.rv-frequency strong{font-size:23px;font-variant-numeric:tabular-nums;line-height:1.2}.rv #rvStatus{color:var(--rv-muted);font-size:12px;margin:12px 0 0}
.rv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rv-options{position:fixed;inset:0 0 0 auto;margin:0;width:min(360px,94vw);max-width:none;height:100%;height:100dvh;max-height:none;border:0;border-left:1px solid var(--rv-line);padding:0;background:var(--rv-panel);color:var(--rv-ink);box-shadow:-16px 0 60px #0003;box-sizing:border-box}.rv-options::backdrop{background:#0007}.rv-options:not([open]){display:none}.rv-options form{height:100%;display:flex;flex-direction:column;margin:0}.rv-options header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--rv-line)}.rv-options h2{font-size:19px;margin:0;font-weight:700}.rv-close{background:transparent;color:var(--rv-ink);border:0;font-size:28px!important;width:40px;height:40px;cursor:pointer}.rv-option-body{padding:20px;overflow:auto;overscroll-behavior:contain;flex:1}.rv-field{display:block;font-size:12px;font-weight:650;margin:0 0 24px}.rv-field select{display:block;width:100%;margin:8px 0 0;padding:11px 12px;min-height:44px;border:1px solid var(--rv-line);border-radius:9px;background:var(--rv-bg);color:var(--rv-ink);font-size:14px}.rv-options fieldset{padding:0;border:0;margin:0 0 24px;min-width:0}.rv-options legend{font-size:12px;font-weight:650;margin-bottom:10px}.rv-options-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.rv-options-grid button{min-height:42px;padding:8px 2px;border:1px solid var(--rv-line);border-radius:8px;background:var(--rv-bg);color:var(--rv-ink);font-size:12px;font-weight:600;cursor:pointer}.rv-options-grid button[aria-pressed=true]{background:var(--rv-ink);color:var(--rv-panel);border-color:var(--rv-ink)}.rv-note,.rv-source p{font-size:12px;color:var(--rv-muted);line-height:1.65}.rv-note:empty{display:none}.rv-source{border-top:1px solid var(--rv-line);padding:14px 0}.rv-source summary{font-size:12px;color:var(--rv-muted);cursor:pointer}.rv-source p{white-space:pre-line}.rv-offline{border-top:1px solid var(--rv-line);padding-top:12px}.rv-offline button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 0;border:0;background:none;color:var(--rv-ink);font-size:14px;cursor:pointer}.rv-offline svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.rv-offline p{font-size:12px;line-height:1.5;color:var(--rv-muted);margin:6px 0}.rv-offline progress{width:100%;accent-color:var(--rv-ink)}.rv-options footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--rv-line)}.rv-apply{width:100%;padding:13px;background:var(--rv-ink);color:var(--rv-panel);border:0;border-radius:10px;font-size:15px;font-weight:650;cursor:pointer}.rv-options [hidden],.rv [hidden]{display:none!important}
@media(max-width:780px){.rv{max-width:620px;padding:8px 12px 12px}.rv-layout{display:block}.rv-chart{width:min(100%,calc(100svh - 276px));margin:0 auto}.rv-hand{padding:12px 0 0;width:min(100%,calc(100svh - 276px));margin:0 auto}.rv-hand-title{margin-bottom:10px}.rv-hand-title strong{font-size:22px}.rv-frequencies{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rv-frequency strong{font-size:16px}.rv-frequency span{font-size:10px;gap:4px}.rv-spot strong{font-size:21px}.rv-spot small{font-size:10px}.rv-toolbar{margin-bottom:8px}.rv .rv-cell{font-size:clamp(8px,2.8vw,13px)}}
@media(max-height:500px) and (orientation:landscape){.range-browser>.pg-site-header{display:none}.rv{padding-top:5px;max-width:900px}.rv-toolbar{position:absolute;left:16px;top:12px;width:180px}.rv-layout{display:grid;grid-template-columns:minmax(200px,1fr) 180px;margin-left:195px;gap:12px}.rv-chart{width:min(100%,calc(100svh - 100px))}.rv-hand{width:100%;padding:10px 0}.rv-hand-title{display:block}.rv-hand-title span{display:block;margin-top:8px}.rv-frequencies{grid-template-columns:1fr 1fr}.rv .rv-cell{font-size:10px}}
/* Keep the shared site chrome from consuming the mobile chart viewport. */
@media(max-width:780px){html body.range-browser>.pg-site-header{height:56px!important;min-height:56px!important;max-height:56px!important;padding:0 14px!important}html body.range-browser>.pg-site-header .brand>img{width:27px!important;height:27px!important}}
@media(max-height:500px) and (orientation:landscape){html body.range-browser>.pg-site-header{display:none!important}}
/* Fast position navigation and detailed range inspection. */
.rv-position-rail{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;margin:0 0 4px;padding:2px 0;overscroll-behavior-x:contain}.rv-position-rail::-webkit-scrollbar{display:none}.rv-position-rail button{flex:1;min-width:64px;display:grid;gap:4px;text-align:center;padding:9px 6px;border:1px solid var(--rv-line);border-radius:9px;background:var(--rv-panel);color:var(--rv-ink);cursor:pointer}.rv-position-rail strong{font-size:12px}.rv-position-rail small{font-size:10px;color:var(--rv-muted)}.rv-position-rail button[aria-pressed=true]{background:var(--rv-ink);color:var(--rv-panel);border-color:var(--rv-ink)}.rv-position-rail button[aria-pressed=true] small{color:inherit}.rv-path{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;margin-bottom:6px;font-size:11px;color:var(--rv-muted)}.rv-path button{background:none;border:0;color:var(--rv-ink);padding:7px 0 7px 10px;cursor:pointer;font-size:11px;font-weight:650}.rv-path button:disabled{opacity:.45;cursor:default}.rv-detail-tabs{display:flex;gap:5px;border-bottom:1px solid var(--rv-line);margin-bottom:14px}.rv-detail-tabs button{padding:9px 13px;border:0;border-bottom:2px solid transparent;background:none;color:var(--rv-muted);font-size:13px;cursor:pointer}.rv-detail-tabs button[aria-pressed=true]{color:var(--rv-ink);border-color:var(--rv-ink);font-weight:700}.rv-action-bar{display:flex;width:100%;height:12px;border-radius:4px;overflow:hidden;margin:0 0 12px;background:var(--rv-line)}.rv-action-bar>span{height:100%;flex-shrink:0}.rv button.rv-frequency{border:1px solid transparent;border-radius:6px;padding:5px;text-align:left;background:none;color:var(--rv-ink);cursor:pointer}.rv button.rv-frequency[aria-pressed=true]{border-color:var(--rv-ink);background:var(--rv-panel)}.rv-combos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:16px}.rv-combo{min-width:0;padding:7px 4px 0;border:1px solid var(--rv-line);border-radius:6px;background:var(--rv-panel)}.rv-combo>div:first-child{display:flex;gap:4px;justify-content:center;margin-bottom:7px;font-size:12px;font-weight:700;white-space:nowrap}.rv-red{color:#c04859}.rv-combo .rv-action-bar{height:4px;margin-bottom:6px}.rv-detail-note{font-size:10px;line-height:1.5;color:var(--rv-muted);margin:8px 0}.rv-detail-note:empty{display:none}.rv-filter-row{display:flex;gap:7px;border-top:1px solid var(--rv-line);padding-top:14px;margin-top:14px}.rv-filter-row label{flex:1;min-width:0;font-size:10px;color:var(--rv-muted)}.rv-filter-row select,.rv-filter-row input{width:100%;box-sizing:border-box;min-width:0;margin-top:5px;padding:8px 5px;height:36px;border:1px solid var(--rv-line);border-radius:6px;background:var(--rv-panel);color:var(--rv-ink);font:inherit;font-size:11px}.rv .rv-cell.rv-dim{opacity:.2}.rv .rv-cell.rv-dim[aria-pressed=true]{opacity:.65}.rv-hand{padding-top:0}.rv-frequencies{gap:8px}.rv-hand-title{margin-bottom:12px}.rv button:focus-visible,.rv input:focus-visible,.rv select:focus-visible{outline:2px solid #b89a4b;outline-offset:2px}
@media(max-width:780px){.rv{padding-top:6px}.rv-chart,.rv-hand{width:min(100%,calc(100svh - 228px))}.rv-hand{padding-top:10px}.rv-position-rail button{min-width:53px;padding:7px 4px}.rv-position-rail strong{font-size:11px}.rv-position-rail small{font-size:9px}.rv-path{min-height:27px;margin-bottom:5px}.rv-spot strong{font-size:18px}.rv-spot svg{width:18px;height:18px;padding:8px}.rv-toolbar{margin-bottom:5px}.rv-detail-tabs{margin-bottom:10px}.rv-detail-tabs button{padding:7px 12px}.rv-action-bar{height:10px;margin-bottom:8px}.rv-combos{margin-top:10px}.rv-frequency strong{font-size:15px}.rv button.rv-frequency{padding:3px}.rv-filter-row{margin-top:10px;padding-top:10px}}
@media(max-height:500px) and (orientation:landscape){.rv-toolbar{position:static;width:auto}.rv-layout{margin-left:0;grid-template-columns:minmax(200px,1fr) minmax(220px,1fr)}.rv-chart{width:min(100%,calc(100svh - 195px))}.rv-hand{width:100%}.rv-position-rail button{padding:4px}.rv-detail-tabs{margin-bottom:6px}}
/* Readable contrast, compact controls, and explicit filter scope. */
html body.range-browser{background:var(--rv-bg)!important;color:var(--rv-ink)!important}
html body.range-browser .rv small,html body.range-browser .rv p{color:var(--rv-muted)!important}
html body.range-browser .rv-position-rail button[aria-pressed=true] small{color:var(--rv-panel)!important}
.rv-position-rail button:disabled{opacity:.42;cursor:default}.rv-position-rail button:focus-visible{outline-offset:-3px}.rv-toolbar{gap:10px}.rv-back{display:none;color:var(--rv-ink);text-decoration:none;font-size:28px;padding:2px 10px}.rv-path>span{flex:1}.rv-path #rvPrevPosition{padding:6px 12px 6px 0;font-size:17px;line-height:1}.rv-filter-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--rv-line);padding-top:14px;margin-top:14px;min-height:24px}.rv-filter-heading strong{font-size:12px}.rv-filter-heading button{border:0;background:none;color:var(--rv-ink);text-decoration:underline;font-size:12px;padding:5px;cursor:pointer}.rv-filter-row{border:0;padding-top:0;margin-top:6px}.rv-filter-row label{font-size:11px}.rv-filter-row select,.rv-filter-row input{height:40px;font-size:13px}.rv-compare{border-top:1px solid var(--rv-line);margin-top:18px;padding-top:13px}.rv-compare summary{font-size:12px;cursor:pointer;padding:3px 0}.rv-compare-row{display:grid;grid-template-columns:46px 1fr 85px;align-items:center;gap:9px;width:100%;padding:10px 4px;border:0;border-bottom:1px solid var(--rv-line);background:none;color:var(--rv-ink);text-align:left;cursor:pointer}.rv-compare-row strong{font-size:11px}.rv-compare-row>span{font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.rv-compare-row .rv-action-bar{height:8px;margin:0}.rv-compare-row[aria-pressed=true]{background:var(--rv-panel)}.rv-compare-row:disabled{opacity:.4;cursor:default}.rv-compare-row:disabled>span{grid-column:2/4}.rv-notice{font-size:12px;line-height:1.6;padding:10px;border:1px solid var(--rv-line);border-radius:7px;margin-bottom:10px}.rv-copy-link{border:0;background:none;color:var(--rv-ink);text-decoration:underline;width:100%;padding:3px 0 12px;font-size:12px!important;cursor:pointer}.rv-options #rvCancelSave{font-size:12px;color:var(--rv-muted);text-decoration:underline;min-height:32px}.rv-offline button:disabled{opacity:.5}.rv-action-bar>span{transition:width .16s ease}.rv-combos .rv-combo{padding-top:10px}.rv-combo>div:first-child{font-size:13px}.rv #rvSelectionNote{padding:7px;border-radius:5px;background:var(--rv-panel)}
@media(min-width:781px){.rv-back{display:block}.rv{padding-top:16px}.rv-hand{position:sticky;top:14px}.rv-chart{align-self:start}.rv-filter-row select,.rv-filter-row input{font-size:12px}}
@media(max-width:780px){.rv-chart,.rv-hand{width:min(100%,calc(100svh - 228px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}.rv-filter-row{gap:6px}.rv-filter-row input,.rv-filter-row select{font-size:16px;padding:8px 4px}.rv-filter-row label:first-child{flex:.85}.rv-filter-row label:last-child{flex:.9}.rv-combos{gap:5px}.rv-position-rail{scroll-snap-type:x proximity}.rv-position-rail button{scroll-snap-align:center}.rv-compare summary{padding:8px 0}.rv-hand-title strong{font-size:24px}.rv-frequencies{gap:4px}.rv-frequency strong{font-size:16px}.rv-frequency span{font-size:11px}.rv-position-rail button{min-height:45px}}
@media(max-height:500px) and (orientation:landscape){.rv-chart{width:min(100%,calc(100svh - 195px))}.rv-hand{width:100%;position:static}}
@media(prefers-reduced-motion:reduce){.rv-action-bar>span{transition:none}}
.rv-detail-top{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--rv-line);margin-bottom:12px;padding-bottom:4px}.rv-detail-top .rv-detail-tabs{border:0;margin:0;flex:none}.rv-detail-top .rv-hand-title{margin:0;gap:7px;flex-wrap:wrap;justify-content:flex-end}.rv-detail-top .rv-hand-title strong{font-size:23px}.rv-detail-top .rv-hand-title span{font-size:10px}.rv-hand[data-mode=range] .rv-hand-title strong{font-size:15px}.rv-detail-top .rv-detail-tabs button{padding:8px 9px;font-size:12px}
@media(max-width:780px){.rv-detail-top{margin-bottom:8px}.rv-detail-top .rv-hand-title strong{font-size:21px}.rv-hand[data-mode=range] .rv-hand-title strong{font-size:13px}.rv-detail-top .rv-hand-title span{font-size:9px}.rv-detail-top .rv-detail-tabs button{padding:7px 7px;font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.rv-layout{grid-template-columns:minmax(250px,1fr) minmax(250px,1fr)}.rv-chart{width:min(100%,320px)}.rv .rv-cell{font-size:11px}}
/* Neutral folds and four-colour suits. */
.range-browser{--rv-fold:#c9cbd0}.rv .rv-cell{background:var(--rv-fold)}.rv-combo>div:first-child span{display:inline-block;background:#fff;border-radius:3px;padding:3px 2px}.rv-suit-spade{color:#202226}.rv-suit-heart{color:#c2384b}.rv-suit-diamond{color:#176bc5}.rv-suit-club{color:#168351}
.rv-spot .rv-inline-context{display:flex;align-items:center;gap:12px;white-space:nowrap;min-width:0}.rv-spot .rv-inline-context strong{font-size:19px;letter-spacing:-.4px}.rv-spot .rv-inline-context small{display:inline;font-size:12px;margin:0;font-weight:500}.rv-spot strong span{margin-left:10px}.rv-position-rail small:empty{display:none}.rv-position-rail button{align-content:center}.rv-action-menu{position:fixed;inset:auto;margin:0;width:162px;box-sizing:border-box;border:1px solid var(--rv-line);border-radius:13px;padding:10px;background:var(--rv-panel);color:var(--rv-ink);box-shadow:0 10px 35px #0003}.rv-action-menu::backdrop{background:#0002}.rv-action-menu-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:8px}.rv-action-menu-head strong{font-size:13px}.rv-action-menu-head button{background:none;border:0;color:inherit;font-size:22px;padding:0 4px;cursor:pointer}.rv-action-menu>button{display:block;width:100%;padding:12px;border:0;border-radius:7px;margin-top:6px;font:600 14px system-ui;cursor:pointer}.rv-fold-action{background:#c9cbd0;color:#fff}.rv-raise-action{background:#c33248;color:#fff}.rv-action-menu>button:disabled{opacity:.4;cursor:default}.rv-response{border:1px solid var(--rv-line);border-radius:12px;padding:26px 20px;background:var(--rv-panel);max-width:650px;margin:18px auto}.rv-response strong{font-size:18px}.rv-response p{font-size:13px;line-height:1.8}.rv-response button{padding:12px 16px;border:0;border-radius:8px;background:var(--rv-ink);color:var(--rv-panel);font-weight:600;cursor:pointer}
@media(max-width:780px){.rv-spot .rv-inline-context{gap:10px}.rv-spot .rv-inline-context strong{font-size:16px}.rv-spot .rv-inline-context small{font-size:11px}.rv-spot strong span{margin-left:8px}.rv-spot{gap:8px}.rv-spot svg{width:17px;height:17px;padding:7px}.rv-toolbar{min-height:38px}.rv-combo>div:first-child{gap:3px;font-size:12px}.rv-combos{gap:4px}}
@media(max-width:350px){.rv-spot .rv-inline-context{gap:7px}.rv-spot .rv-inline-context strong{font-size:14px}.rv-spot .rv-inline-context small{font-size:10px}}
.rv-frequencies{grid-template-columns:repeat(auto-fit,minmax(68px,1fr))}
.rv-copy-link:disabled{opacity:.45;cursor:default}

/* Clear fold/raise contrast; action-only menu. */
.rv .rv-cell.rv-cell-fold{color:#24272d!important;text-shadow:0 1px 2px #ffffff80}.rv-action-menu .rv-fold-action{color:#24272d!important}.rv .rv-cell[aria-pressed="true"]{outline:2px solid #e7b94f;outline-offset:-2px}.rv-position-rail{margin-bottom:12px}

.rv-action-menu [hidden]{display:none!important}.rv-action-menu .rv-call-action{background:#358474!important;color:#fff!important}.rv-response.rv-response-ready{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;padding:8px 0;border:0;background:none}.rv-response-ready strong{font-size:12px}.rv-response-ready button{font-size:11px;padding:5px 8px;min-height:32px}

.rv-action-menu .rv-jam-action{background:#8964b4!important;color:#fff!important}

/* Calm, matte range surfaces with consistent user-defined action colors. */
.rv .rv-matrix{gap:1px;padding:1px;border-radius:8px;background:var(--rv-line,#e5e5e1)}
.rv .rv-cell{border:0!important;border-radius:2px;box-shadow:none!important;font-weight:600;letter-spacing:-.035em}
.rv .rv-cell[aria-pressed="true"]{outline:2px solid var(--rv-ink,#202422);outline-offset:-2px;box-shadow:inset 0 0 0 3px #ffffffb3!important}
.rv-colors{border-top:1px solid var(--rv-line,#e5e5e1);padding:16px 0;margin-top:8px}.rv-colors summary{font-size:14px;font-weight:600;cursor:pointer;padding:4px 0}.rv-colors[open] summary{margin-bottom:16px}.rv-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.rv-color-grid label{display:flex;align-items:center;gap:10px;font-size:13px;min-height:48px}.rv-color-grid input[type=color]{appearance:none;-webkit-appearance:none;width:44px;height:44px;min-width:44px;padding:3px;border:1px solid var(--rv-line,#ddd);border-radius:12px;background:transparent;cursor:pointer}.rv-color-grid input::-webkit-color-swatch-wrapper{padding:0}.rv-color-grid input::-webkit-color-swatch{border:0;border-radius:8px}.rv-color-grid input::-moz-color-swatch{border:0;border-radius:8px}.rv-reset-colors{background:transparent!important;color:inherit!important;text-decoration:underline;font-size:12px;padding:8px 0;border:0;cursor:pointer}

/* Whole-range overview stays independent of hand selection and filters. */
.rv .rv-matrix{gap:1px;background:#929994;padding:1px;border:1px solid #929994;border-radius:7px;overflow:hidden}
.rv .rv-cell{border-radius:1px;box-shadow:inset 0 0 0 1px #ffffff12!important}
.rv-overview{padding:14px 0 18px;margin-bottom:16px;border-bottom:1px solid var(--rv-line)}
.rv-overview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px}.rv-overview-heading small{color:var(--rv-muted);font-size:10px}
.rv-whole-frequencies{display:flex;gap:12px;margin-bottom:12px}.rv-whole-frequency{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.rv-whole-frequency span{font-size:12px;display:flex;align-items:center;gap:5px}.rv-whole-frequency i{width:7px;height:7px;border-radius:50%;display:inline-block}.rv-whole-frequency strong{font-size:26px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.rv-whole-frequency small{font-size:10px;color:var(--rv-muted)}
.rv-table{height:225px;position:relative;margin-bottom:8px}.rv-table-felt{position:absolute;inset:25px 28px;border-radius:45%;background:radial-gradient(ellipse,#33534a,#243b34);border:7px solid #303b37;box-shadow:inset 0 0 0 1px #7c938244;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#e2e9e4}.rv-table-felt strong{font-size:14px}.rv-table-felt small{font-size:10px;color:#c0d0c6}.rv button.rv-table-seat{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;width:59px;min-height:43px;padding:5px;border:1px solid #818e87;background:#f0f1ed;color:#29352f;border-radius:9px;box-shadow:0 2px 5px #0001}.rv-table-seat strong{font-size:11px}.rv-table-seat small{font-size:9px}.rv button.rv-table-seat[aria-pressed=true]{border:2px solid #b99851;background:#fff6dc}.rv button.rv-table-seat.is-folded{opacity:.55}.rv-combo-frequency{display:block;font-size:10px;line-height:1.5;color:var(--rv-muted);margin-top:6px}.rv-combo{min-width:0}
@media(min-width:781px){.rv{max-width:1480px}.rv-layout{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);gap:26px}.rv-hand{position:static}.rv-chart{position:sticky;top:16px}.rv .rv-matrix{aspect-ratio:1.15}.rv .rv-cell{height:100%;aspect-ratio:auto}.rv-combos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){.rv-table{display:none}.rv-overview{padding:4px 0 10px;margin-bottom:10px}.rv-overview-heading{margin-bottom:8px}.rv-overview-heading strong{font-size:11px}.rv-whole-frequencies{margin-bottom:8px;gap:8px}.rv-whole-frequency strong{font-size:21px}.rv-whole-frequency span{font-size:11px}.rv-whole-frequency small{display:none}.rv-overview .rv-action-bar{height:7px;margin-bottom:0}.rv-combo-frequency{font-size:9px}}

.rv .rv-table-felt small{color:#c0d0c6!important}

/* Poker-room table: padded rail, felt, overlapping cards and posted chips. */
@media(min-width:781px){
.rv-table{height:284px;border-radius:12px;background:radial-gradient(ellipse at 50% 48%,#303532,#191c1b 75%);overflow:hidden;margin-bottom:0;box-shadow:inset 0 1px #ffffff0d}
.rv .rv-table-felt{inset:42px 30px 39px;border-radius:46% / 48%;border:12px solid #202421;background:radial-gradient(ellipse at 50% 35%,#285e46,#16412e 85%);box-shadow:0 9px 10px #0008,0 1px 2px 2px #5d665d,inset 0 0 0 1px #82988066,inset 0 0 20px #001a11;gap:7px}
.rv-table-felt:before{content:'';position:absolute;inset:10px;border:1px solid #afc3a526;border-radius:inherit;pointer-events:none}.rv-table-brand{font:600 9px system-ui;letter-spacing:4px;color:#c0d2be55;margin-bottom:3px}.rv .rv-table-felt strong{font-size:12px;color:#e5e9df!important}.rv .rv-table-felt small{font-size:9px;color:#b4c6b8!important}
.rv button.rv-table-seat{width:62px;min-height:39px;border:1px solid #69716c;background:linear-gradient(#333a36,#222925);color:#f2f4ef!important;border-radius:7px;box-shadow:0 3px 7px #0007;z-index:2;gap:2px;padding:5px 3px}
.rv .rv-table-seat small{color:#b9c6bd!important;font-size:9px}.rv button.rv-table-seat[aria-pressed=true]{background:linear-gradient(#414136,#2b3027);border:1px solid #d4b973;box-shadow:0 0 0 2px #d4b97320,0 4px 8px #0008}.rv button.rv-table-seat.is-folded{opacity:.38}.rv-table-cards{position:absolute;display:flex;bottom:calc(100% - 2px);left:50%;transform:translateX(-50%);pointer-events:none;z-index:-1}.rv-table-cards i{font:14px Georgia;display:grid;place-items:center;width:22px;height:30px;border:1px solid #e6d9b3;border-radius:3px;color:#e5dab8;background:repeating-linear-gradient(45deg,#28332d,#28332d 2px,#425047 2px,#425047 3px);box-shadow:inset 0 0 0 2px #202621,0 2px 2px #0005;transform:rotate(-9deg)}.rv-table-cards i+i{margin-left:-7px;transform:rotate(9deg)}.rv-table-dealer{position:absolute;right:-11px;bottom:0;width:17px;height:17px;border-radius:50%;background:#e9e4d6;color:#363b35;font:700 10px/17px system-ui;box-shadow:0 1px 3px #0007}.rv-table-bet{position:absolute;transform:translate(-50%,-50%);color:#e9e9dc;font:600 9px system-ui;white-space:nowrap;z-index:1;display:flex;align-items:center;gap:4px}.rv-table-bet:before{content:'';width:13px;height:7px;border:2px dashed #d7e5e4;border-radius:50%;background:#398aa2;box-shadow:0 2px #225368,0 4px #81a6ac}
.rv-overview{padding-top:12px}.rv-whole-frequencies{gap:4px;margin-bottom:5px}.rv-whole-frequency{border-radius:5px;padding:12px 10px 9px;min-height:90px;box-shadow:inset 0 1px #ffffff22}.rv-whole-frequency span{font-size:14px}.rv-whole-frequency span i{display:none}.rv-whole-frequency strong{margin-top:auto;font-size:27px;color:inherit!important}.rv-whole-frequency small{color:inherit!important;opacity:.8;text-align:right}.rv-overview .rv-action-bar{border-radius:3px;height:11px}.rv-overview-heading{margin-bottom:8px}.rv-detail-top{margin-bottom:8px}
}
@media(max-width:780px){.rv-whole-frequency{background:transparent!important;color:var(--rv-ink)!important}}

.rv .rv-table-seat small,.rv .rv-table-felt small,.rv .rv-whole-frequency small{opacity:1!important;-webkit-text-fill-color:currentColor}.rv .rv-table-seat small{color:#d1dcd4!important}.rv .rv-whole-frequency small{color:#292e2b!important}

/* Desktop study workspace: viewport-sized chart, restrained table, theme control. */
.rv-theme-control{display:flex;gap:6px;align-items:center;justify-content:flex-end;margin:0 0 6px;font-size:11px;color:var(--rv-muted)}.rv-theme-control select{background:var(--rv-panel);color:var(--rv-ink);border:1px solid var(--rv-line);border-radius:6px;padding:5px;font:inherit}.rv-chart-tools .rv-filter-heading{display:none}.rv-chart-tools .rv-filter-row{margin-top:8px;padding-top:0;border:0}.rv-chart-tools .rv-detail-note{margin:3px 0;font-size:10px}
@media(min-width:781px){
html:has(body.range-browser){height:100%;overflow:hidden}body.range-browser{height:100dvh;overflow:hidden;padding:0!important}.rv{height:100dvh;max-width:none;display:flex;flex-direction:column;padding:10px 12px!important;position:relative}.rv-toolbar{min-height:34px;margin:0 92px 7px 0;flex:none}.rv-theme-control{position:absolute;right:12px;top:15px;margin:0}.rv-position-rail{flex:none;margin-bottom:10px}.rv-position-rail button{min-height:43px;padding:6px}.rv-position-rail strong{font-size:12px}.rv-position-rail small{font-size:10px}
.rv-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1.4fr) minmax(350px,1fr);gap:14px;align-items:stretch}.rv-chart{position:static;display:flex;flex-direction:column;min-height:0;height:100%;width:100%}.rv .rv-matrix{flex:1;min-height:0;width:100%;height:auto;aspect-ratio:auto;border-radius:4px}.rv .rv-cell{font-size:clamp(10px,1.1vw,17px)}.rv-chart-tools{flex:none}.rv-chart-tools .rv-filter-row label{display:flex;align-items:center;gap:6px;flex:1;font-size:10px}.rv-chart-tools select,.rv-chart-tools input{height:30px;margin:0;font-size:12px}.rv-hand{min-height:0;overflow:auto;scrollbar-width:thin;padding:0 2px 0 0;width:100%}.rv-table{height:clamp(145px,23vh,230px);border-radius:5px;box-shadow:none;background:var(--rv-panel);margin:0 0 8px}.rv .rv-table-felt{inset:22px 40px;border:2px solid var(--rv-line);background:var(--rv-panel);box-shadow:none;border-radius:46% / 48%;gap:5px}.rv-table-felt:before,.rv-table-brand,.rv-table-cards{display:none!important}.rv .rv-table-felt strong{color:var(--rv-ink)!important;font-size:12px}.rv .rv-table-felt small{color:var(--rv-muted)!important}.rv button.rv-table-seat{border-radius:50%;width:43px;height:43px;min-height:0;padding:3px;border:2px solid var(--rv-line);background:var(--rv-panel);box-shadow:none;color:var(--rv-ink)!important}.rv button.rv-table-seat[aria-pressed=true]{background:var(--rv-panel);border-color:#73b69e;box-shadow:0 0 0 2px #73b69e15}.rv .rv-table-seat small{color:var(--rv-muted)!important;font-size:8px}.rv-table-seat strong{font-size:10px}.rv-table-dealer{width:13px;height:13px;font-size:8px;line-height:13px;right:-10px}.rv-table-bet{color:var(--rv-ink);font-size:9px}.rv-table-bet:before{width:6px;height:6px;border:0;box-shadow:none;background:#619fba}.rv-overview{padding:0 0 8px;margin-bottom:8px}.rv-overview-heading{font-size:11px;margin-bottom:5px}.rv-whole-frequency{min-height:62px;padding:8px;gap:3px}.rv-whole-frequency strong{font-size:23px}.rv-whole-frequency span{font-size:12px}.rv-whole-frequency small{font-size:9px}.rv-detail-top{padding-bottom:3px;margin-bottom:5px}.rv-detail-top .rv-detail-tabs button{padding:5px 7px}.rv .rv-action-bar{height:7px;margin-bottom:6px}.rv-frequencies{margin:0 0 5px;gap:4px}.rv-frequency strong{font-size:18px}.rv button.rv-frequency{padding:2px}.rv-combos{margin-top:5px;gap:4px;grid-template-columns:repeat(4,minmax(0,1fr))}.rv .rv-combo{padding:5px;border-radius:4px;background:var(--rv-panel);border-color:var(--rv-line)}.rv .rv-combo>div:first-child{font-size:12px}.rv-combo-frequency{font-size:9px;line-height:1.2;margin-top:2px}.rv-detail-note{font-size:9px;line-height:1.3;margin:5px 0}.rv-compare{margin-top:5px}.rv-compare summary{font-size:10px;padding:4px 0}.rv-response-ready{margin-bottom:6px;padding:5px 9px;flex:none}
}
@media(min-width:781px) and (max-height:760px){.rv{padding-top:6px!important}.rv-toolbar{margin-bottom:4px}.rv-position-rail{margin-bottom:6px}.rv-table{height:145px}.rv-whole-frequency{min-height:49px}.rv-whole-frequency strong{font-size:20px}.rv-combo-frequency{font-size:8px}.rv .rv-combo{padding:3px}.rv .rv-combo>div:first-child{font-size:10px}.rv .rv-combo .rv-action-bar{height:4px;margin-bottom:2px}.rv-combo-note{font-size:8px}}
@media(max-width:780px){.rv-theme-control{margin-top:-3px}.rv-chart-tools{margin-bottom:8px}.rv-chart-tools .rv-filter-row label{font-size:9px}}
@media(min-width:781px){.rv-combos:has(.rv-combo:nth-child(5)){grid-template-columns:repeat(6,minmax(0,1fr))}.rv-chart-tools .rv-filter-row label{white-space:nowrap}.rv-chart-tools .rv-filter-row label:last-child{flex:.85}.rv .rv-whole-frequency small{color:inherit!important;opacity:.9!important}.rv .rv-table-seat small{opacity:1!important}}
@media(min-width:781px) and (max-height:760px){.rv-hand:has(.rv-combo:nth-child(9)) .rv-table{height:100px}.rv-hand:has(.rv-combo:nth-child(9)) .rv-table-seat{width:35px;height:35px}.rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-frequency{font-size:7px}.rv-combos:has(.rv-combo:nth-child(5)) .rv-combo>div:first-child{gap:1px}}

.rv .rv-theme-toggle{position:relative;width:52px;height:28px;border:1px solid var(--rv-line);border-radius:20px;background:var(--rv-panel);color:var(--rv-ink);display:flex;justify-content:space-around;align-items:center;padding:0;cursor:pointer;font-size:14px}.rv-theme-toggle i{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#d7dcd9;box-shadow:0 1px 3px #0003;transition:transform .18s}.rv-theme-toggle[aria-checked=true] i{transform:translateX(24px);background:#313936}.rv-theme-toggle span{line-height:1;z-index:1}.rv-theme-toggle[aria-checked=false] span:first-child{color:#202622}.rv-theme-toggle[aria-checked=true] span:nth-child(2){color:#fff}.rv-theme-toggle:focus-visible{outline:2px solid #73b69e;outline-offset:3px}@media(prefers-reduced-motion:reduce){.rv-theme-toggle i{transition:none}}
@media(min-width:781px){.rv-table{background:var(--rv-panel);border-radius:5px}.rv .rv-table-felt{inset:18% 7%;border-radius:999px;border:2px solid var(--rv-line);background:color-mix(in srgb,var(--rv-bg) 55%,var(--rv-panel));box-shadow:none}.rv button.rv-table-seat{background:var(--rv-bg);border-color:var(--rv-line)}.rv button.rv-table-seat[aria-pressed=true]{background:var(--rv-bg);border-color:#00bda5;box-shadow:none}.rv-table-felt strong{font-variant-numeric:tabular-nums}.rv-table-seat.is-folded{opacity:.32}}

/* Fast exploration without adding persistent toolbar clutter. */
.rv button.rv-whole-frequency{font:inherit;text-align:left;border:1px solid transparent;cursor:pointer;transition:box-shadow .12s}.rv button.rv-whole-frequency[aria-pressed=true]{outline:2px solid var(--rv-ink);outline-offset:2px}.rv button.rv-whole-frequency:hover{box-shadow:inset 0 0 0 2px #ffffff70}.rv .rv-cell:has(.rv-cell-value){position:relative;flex-direction:column;gap:3px}.rv .rv-cell-value{font:500 clamp(8px,.72vw,11px)/1 system-ui;color:inherit!important;-webkit-text-fill-color:currentColor;opacity:1!important;text-shadow:inherit}.rv .rv-cell:hover{outline:2px solid var(--rv-ink);outline-offset:-2px}.rv-saved-spots,.rv-display-options{border-top:1px solid var(--rv-line);padding:12px 0}.rv-saved-spots summary,.rv-display-options summary{font-size:13px;font-weight:600;cursor:pointer}.rv-study-links{display:flex;gap:8px;margin-bottom:12px}.rv-study-links a,.rv-study-links button{flex:1;padding:10px 8px;border:1px solid var(--rv-line);border-radius:8px;background:var(--rv-panel);color:var(--rv-ink);font:600 12px system-ui;text-align:center;text-decoration:none}.rv-study-links a{background:var(--rv-ink);color:var(--rv-bg)}.rv-bookmark-row{display:flex;gap:5px;margin-top:6px}.rv-bookmark-row button{padding:9px;border:1px solid var(--rv-line);background:var(--rv-panel);color:var(--rv-ink);border-radius:6px;font-size:12px}.rv-bookmark-row button:first-child{flex:1;text-align:left}.rv-bookmark-row button:last-child{min-width:36px}.rv-preview-option{display:flex;align-items:center;gap:8px;font-size:12px;padding:8px 0}.rv-preview-option input{width:18px;height:18px;accent-color:#73b69e}.rv-display-options .rv-field{margin-top:12px}@media(max-width:780px){.rv .rv-cell:has(.rv-cell-value){gap:1px;font-size:9px}.rv .rv-cell-value{font-size:7px}.rv button.rv-whole-frequency{padding:3px}}

.rv button.rv-whole-frequency :is(span,strong,small){color:var(--rv-tile-ink)!important;-webkit-text-fill-color:var(--rv-tile-ink)!important;opacity:1!important}@media(max-width:780px){.rv{position:relative}.rv-toolbar{margin-right:58px}.rv-theme-control{position:absolute;top:13px;right:14px}.rv-theme-control>span{display:none}.rv .rv-theme-toggle{width:46px;height:26px}.rv-theme-toggle i{width:18px;height:18px}.rv-theme-toggle[aria-checked=true] i{transform:translateX(20px)}.rv .rv-spot{gap:4px}.rv .rv-spot svg{padding:6px}.rv button.rv-whole-frequency :is(span,strong,small){color:var(--rv-ink)!important;-webkit-text-fill-color:var(--rv-ink)!important}.rv-chart-tools .rv-filter-row label{font-size:0}.rv-chart-tools .rv-filter-row select,.rv-chart-tools .rv-filter-row input{margin-top:0;height:32px;font-size:13px}.rv-chart-tools .rv-filter-row{margin-top:5px}.rv .rv-overview{padding-top:0}.rv .rv-whole-frequency strong{font-size:20px}}

/* Studio palette and more useful combo cards. */
.range-browser{--rv-accent:#50bfa0}html[data-pg-theme=dark] .range-browser{--rv-bg:#111519;--rv-panel:#1a2027;--rv-line:#303b45;--rv-muted:#a9b6c1;--rv-accent:#8bdca6}.rv .rv-matrix{background:#243a48;border-color:#243a48}.rv .rv-cell[aria-pressed=true]{outline:2px solid #c1f4cc;box-shadow:inset 0 0 0 3px #17292055!important}.rv .rv-position-rail button[aria-pressed=true]{background:var(--rv-panel);border:1px solid var(--rv-accent);color:var(--rv-accent);box-shadow:inset 0 0 0 1px var(--rv-accent)}.rv button:focus-visible,.rv input:focus-visible,.rv select:focus-visible{outline:2px solid var(--rv-accent)!important;outline-offset:2px}.rv #rvSettings:focus-visible{outline:none!important}.rv #rvSettings:focus-visible svg{outline:2px solid var(--rv-accent);outline-offset:2px}.rv #rvSettings{box-shadow:none}.rv .rv-table-bet{font-size:10px;font-weight:650;gap:5px;padding:3px 5px;background:var(--rv-panel);border-radius:5px}.rv .rv-table-bet:before{width:11px;height:7px;border:2px dashed #d5e5ed;background:#428bb2;box-shadow:0 2px #244e68;border-radius:50%}.rv .rv-table-seat[aria-pressed=true]{border-color:var(--rv-accent)!important}
.rv-filter-chips{display:flex;align-items:center;gap:5px;padding-top:8px}.rv .rv-filter-chips button{border:0;border-radius:6px;padding:7px 12px;background:transparent;color:var(--rv-muted);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.rv .rv-filter-chips button[aria-pressed=true]{background:var(--rv-panel);color:var(--rv-ink)}.rv #rvFilterToggle{margin-left:auto;border:1px solid var(--rv-line)}.rv #rvFilterToggle.is-active,.rv #rvFilterToggle[aria-expanded=true]{color:var(--rv-accent);border-color:var(--rv-accent)}#rvFilterPanel[hidden]{display:none!important}.rv-chart-tools{position:relative}.rv #rvFilterPanel{position:absolute;bottom:calc(100% + 8px);left:0;right:0;background:var(--rv-panel);padding:14px;border:1px solid var(--rv-line);border-radius:10px;box-shadow:0 10px 30px #0005;z-index:8}.rv #rvFilterPanel .rv-filter-row{margin:0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.rv #rvFilterPanel label{display:block;font-size:11px}.rv #rvFilterPanel input,.rv #rvFilterPanel select{margin-top:6px;width:100%;height:36px;font-size:14px}.rv #rvResetFilters{margin-top:10px;border:0;background:none;color:var(--rv-accent);font-size:12px;cursor:pointer}
.rv .rv-combos{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rv .rv-combo{padding:10px;background:var(--rv-panel);border:1px solid var(--rv-line);border-radius:8px;display:grid;grid-template-columns:auto 1fr;gap:7px 12px;align-items:center}.rv .rv-combo>div.rv-combo-cards{display:flex;justify-content:flex-start;align-items:center;gap:4px;font-size:21px;grid-column:1;grid-row:1}.rv .rv-combo-cards span{font:700 19px/1.2 system-ui;padding:6px 4px;border-radius:4px;background:#f3f5f3;box-shadow:0 2px 0 #0003;min-width:33px;text-align:center}.rv .rv-combo>.rv-action-bar{grid-column:1/-1;grid-row:2;margin:0;height:5px}.rv .rv-combo-frequency{grid-column:2;grid-row:1;font-size:11px;margin:0}.rv .rv-combo-frequency>div{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:2px 0}.rv .rv-combo-frequency span{color:var(--rv-muted);font-size:10px}.rv .rv-combo-frequency strong{font-size:12px;color:var(--rv-ink);font-variant-numeric:tabular-nums}.rv .rv-combo-frequency>div:before{content:'';width:3px;height:12px;border-radius:2px;background:var(--rv-action-color);flex:none}.rv .rv-combo-frequency span{flex:1}
@media(min-width:781px){.rv .rv-table{height:clamp(140px,20vh,190px)}.rv .rv-combos:has(.rv-combo:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo{padding:6px;gap:5px;grid-template-columns:1fr}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-cards{justify-content:flex-start;grid-column:1;grid-row:1}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-frequency{grid-column:1;grid-row:2}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-action-bar{grid-row:3}.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-template-columns:repeat(4,minmax(0,1fr))}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-cards span{font-size:13px;min-width:23px;padding:3px}}
@media(min-width:781px) and (max-height:760px){.rv .rv-table{height:125px}.rv .rv-combo{padding:6px;gap:5px 8px}.rv .rv-combo-cards span{font-size:15px;min-width:26px;padding:4px 2px}.rv .rv-combo-frequency strong{font-size:10px}.rv .rv-combo-frequency span{font-size:9px}.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-template-columns:repeat(6,minmax(0,1fr))}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span{font-size:10px;min-width:16px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency span{font-size:8px}}
@media(max-width:780px){.rv .rv-filter-chips{gap:2px;padding-top:6px}.rv .rv-filter-chips button{padding:7px 8px;font-size:11px}.rv .rv-combo{padding:9px;gap:6px;grid-template-columns:1fr}.rv .rv-combo>div.rv-combo-cards{font-size:21px}.rv .rv-combo-cards span{font-size:21px;padding:6px;min-width:36px}.rv .rv-combo-frequency{grid-column:1;grid-row:2;font-size:12px}.rv .rv-combo-frequency strong{font-size:13px}.rv .rv-combo-frequency span{font-size:11px}.rv .rv-combo>.rv-action-bar{grid-row:3;height:6px}.rv #rvFilterPanel .rv-filter-row{grid-template-columns:1fr}.rv #rvFilterPanel label:first-child{display:none}.rv #rvFilterPanel input,.rv #rvFilterPanel select{font-size:16px}.rv #rvFilterPanel{padding:12px}.rv .rv-detail-top .rv-hand-title strong{font-size:22px}}
@media(min-width:781px) and (max-height:760px){.rv .rv-whole-frequency{height:58px;min-height:58px;box-sizing:border-box;padding:5px 8px;gap:1px}.rv .rv-whole-frequency span{font-size:11px}.rv .rv-whole-frequency strong{font-size:20px;line-height:1.1;margin:0}.rv .rv-whole-frequency small{font-size:8px;line-height:1.1}.rv .rv-overview{padding-bottom:4px;margin-bottom:4px}.rv .rv-frequencies{gap:4px;margin-bottom:3px}.rv .rv-frequencies strong{font-size:17px}.rv .rv-compare{padding-top:6px;margin-top:3px}.rv .rv-table{margin-bottom:4px}}
@media(min-width:781px) and (max-height:760px){.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{padding:4px;gap:3px;grid-template-rows:auto auto 4px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards{min-height:0;height:18px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency{line-height:1}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency>div{gap:2px;margin:1px 0}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:8px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency>div:before{height:9px;width:2px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-action-bar{height:4px}}
/* Appearance controls live in a dedicated drawer, separate from the poker spot. */
.rv .rv-toolbar{margin-right:0;gap:10px}.rv .rv-spot{flex:1;min-width:0}.rv .rv-gear{flex:none;display:grid;place-items:center;width:42px;height:42px;padding:10px;border:1px solid var(--rv-line);border-radius:12px;color:var(--rv-ink);background:var(--rv-panel);cursor:pointer}.rv-gear svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.rv-appearance{color:var(--rv-ink);background:var(--rv-bg)}.rv-appearance>header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--rv-line)}.rv-appearance h2{margin:0;font-size:20px}.rv-appearance-theme{display:flex;align-items:center;justify-content:space-between;padding:8px 0 20px}.rv-appearance-theme strong{font-size:14px}.rv-appearance-theme small{display:block;margin-top:6px;font-size:11px;color:var(--rv-muted)}.rv .rv-appearance .rv-theme-control{position:static;margin:0;display:flex}.rv-appearance .rv-theme-control>span{display:none}.rv-color-guide{display:flex;justify-content:space-between;font-size:11px;color:var(--rv-muted);margin:18px 0 0}.rv .rv-color-grid{grid-template-columns:1fr;gap:3px}.rv .rv-color-grid label{display:flex;min-height:48px;margin:0;border-bottom:1px solid var(--rv-line);padding:6px 0}.rv .rv-color-grid label span{flex:1}.rv .rv-color-grid input[type=color]{width:36px;height:36px;min-width:36px;border-radius:8px}.rv .rv-color-grid input::-webkit-color-swatch{border-radius:5px}
/* Chip stacks sit just inside the rail, consistently aligned to their seat. */
.rv .rv-table-bet{gap:4px;padding:0;background:transparent;flex-direction:column;z-index:3;line-height:1}.rv .rv-table-bet:before{display:none}.rv .rv-chip-stack{display:block;width:12px;height:6px;box-sizing:border-box;border:2px dashed #d8edf6;border-radius:50%;background:#367fa1;box-shadow:0 2px 0 #2b5873,0 3px 0 #bdd7df,0 4px 2px #0005}.rv .rv-table-bet b{font:600 9px/1.2 system-ui;padding:2px 4px;border-radius:4px;background:var(--rv-panel);color:var(--rv-ink)}.rv .rv-table-bet[data-edge=top]{flex-direction:column-reverse}.rv .rv-table-bet[data-edge=side]{flex-direction:row;gap:6px}
/* Suit combinations form a compact strategy sheet rather than loose small cards. */
.rv .rv-combo{position:relative;overflow:hidden;border-radius:9px;background:linear-gradient(115deg,color-mix(in srgb,var(--rv-combo-color) 9%,var(--rv-panel)),var(--rv-panel) 70%);border-color:var(--rv-line);padding:12px;gap:9px 14px}.rv .rv-combo:before{content:'';position:absolute;inset:0 auto 0 0;width:2px;background:var(--rv-combo-color);opacity:.8}.rv .rv-combo>div.rv-combo-cards{gap:0;min-height:45px}.rv .rv-combo-cards span{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-sizing:border-box;width:33px;min-width:33px;height:43px;padding:4px 5px;font:700 20px/1 system-ui;border:1px solid #dce3e7;border-radius:4px;box-shadow:0 2px 4px #0002;transform:rotate(-5deg)}.rv .rv-combo-cards span+span{margin-left:-5px;transform:translateY(2px) rotate(5deg)}.rv .rv-combo-cards span b{font:inherit}.rv .rv-combo-cards span i{align-self:flex-end;font:normal 17px/1 system-ui}.rv .rv-combo-frequency>div{margin:4px 0}.rv .rv-combo-frequency strong{font-size:14px;letter-spacing:-.3px}.rv .rv-combo-frequency span{font-size:11px}.rv .rv-combo>.rv-action-bar{height:4px;opacity:.85;border-radius:2px}
@media(min-width:781px){.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-cards span{width:26px;min-width:26px;height:32px;font-size:15px;padding:3px}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-cards{min-height:34px}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-cards span i{font-size:12px}.rv .rv-combos:has(.rv-combo:nth-child(5)) .rv-combo-frequency strong{font-size:11px}}
@media(min-width:781px) and (max-height:760px){.rv .rv-combo{padding:6px 8px;gap:5px 10px}.rv .rv-combo>div.rv-combo-cards{min-height:33px}.rv .rv-combo-cards span{width:27px;min-width:27px;height:32px;padding:3px;font-size:15px}.rv .rv-combo-cards span i{font-size:12px}.rv .rv-combo-frequency strong{font-size:11px}.rv .rv-combo-frequency>div{margin:2px 0}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{padding:3px;gap:2px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards{height:23px;min-height:23px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span{width:20px;min-width:20px;height:22px;font-size:11px;padding:2px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span i{font-size:8px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:8px}.rv .rv-chip-stack{width:10px;height:5px}.rv .rv-table-bet b{font-size:8px}}
@media(max-width:780px){.rv .rv-toolbar{margin-right:0;gap:7px}.rv .rv-gear{width:36px;height:36px;padding:8px;border-radius:10px}.rv .rv-spot{gap:5px}.rv .rv-spot svg{width:18px;height:18px;padding:8px}.rv .rv-spot strong{font-size:15px}.rv .rv-inline-context{gap:4px}.rv .rv-spot small{font-size:10px}.rv .rv-combo{padding:12px;gap:8px}.rv .rv-combo>div.rv-combo-cards{min-height:49px}.rv .rv-combo-cards span{width:38px;min-width:38px;height:47px;font-size:23px;padding:5px}.rv .rv-combo-cards span i{font-size:18px}.rv .rv-combo-frequency strong{font-size:15px}.rv .rv-combo-frequency span{font-size:12px}.rv .rv-appearance .rv-theme-control{top:auto;right:auto}.rv .rv-appearance .rv-theme-toggle{width:52px;height:28px}.rv-appearance .rv-theme-toggle[aria-checked=true] i{transform:translateX(24px)}}
.rv-appearance[open]{display:flex;flex-direction:column}.rv-appearance>header{flex:none}.rv-appearance>.rv-option-body{min-height:0}.rv .rv-appearance .rv-theme-toggle i{width:20px;height:20px}
.rv .rv-combo-cards span{display:flex!important}.rv .rv-chip-stack{width:14px;height:7px}@media(min-width:781px) and (max-height:760px){.rv .rv-combo{padding-top:4px;padding-bottom:4px}.rv .rv-chip-stack{width:11px;height:6px}.rv .rv-compare{margin-top:0;padding-top:4px}}
/* Rank above suit; clear card faces at every viewport. */
.rv .rv-combo-cards span{display:grid!important;grid-template-rows:1fr 1fr;align-items:center;justify-items:center;justify-content:stretch;gap:1px;transform:rotate(-3deg)}.rv .rv-combo-cards span+span{margin-left:-3px;transform:translateY(2px) rotate(3deg)}.rv .rv-combo-cards span b,.rv .rv-combo-cards span i{display:block!important;position:static!important;align-self:center;justify-self:center;line-height:1;margin:0;padding:0}
@media(max-width:780px){
.range-browser{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:100px}.rv{padding:8px 10px 16px}.rv .rv-toolbar{gap:5px;margin-bottom:6px}.rv .rv-gear{width:44px;height:44px;padding:11px}.rv .rv-spot svg{width:20px;height:20px;padding:11px}.rv .rv-back{min-width:22px;min-height:44px;display:grid;place-items:center}.rv .rv-spot strong{font-size:15px;white-space:nowrap}.rv .rv-inline-context{gap:3px}.rv .rv-spot small{font-size:10px;white-space:nowrap}.rv .rv-position-rail{margin-bottom:8px;gap:5px;padding-bottom:2px;scrollbar-width:none;overscroll-behavior-x:contain}.rv .rv-position-rail::-webkit-scrollbar{display:none}.rv .rv-position-rail button{min-height:44px;min-width:48px}.rv .rv-chart,.rv .rv-hand{width:100%;min-width:0}.rv .rv-layout{gap:8px}.rv .rv-cell{font-size:clamp(10px,2.8vw,13px);font-weight:650}.rv .rv-cell:has(.rv-cell-value){font-size:clamp(9px,2.6vw,12px);gap:1px}.rv .rv-cell-value{font-size:clamp(7px,2vw,9px)}
.rv .rv-filter-chips{gap:2px;padding-top:3px}.rv .rv-filter-chips button{min-height:40px;padding:7px 6px;font-size:11px}.rv #rvFilterToggle{padding:7px 8px}.rv .rv-chart-tools{margin-bottom:0}.rv #rvFilterCount:empty{display:none}.rv .rv-overview{padding:6px 0 8px;margin:0 0 10px}.rv .rv-overview-heading{margin-bottom:3px}.rv .rv-overview-heading strong{font-size:10px}.rv .rv-overview-heading small{font-size:9px}.rv .rv-whole-frequencies{gap:8px;margin-bottom:4px}.rv button.rv-whole-frequency{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;min-height:36px;padding:2px 0}.rv .rv-whole-frequency span{font-size:11px}.rv .rv-whole-frequency strong{font-size:19px;margin:0}.rv .rv-whole-frequency span i{width:5px;height:5px}.rv .rv-overview .rv-action-bar{height:5px;margin:0}
.rv .rv-detail-top{margin-bottom:8px;min-height:44px;gap:8px}.rv .rv-detail-tabs button{min-height:44px;padding:8px 10px;font-size:12px}.rv .rv-hand-title strong{font-size:24px}.rv .rv-hand-title span{font-size:10px}.rv .rv-frequencies{margin-bottom:10px;gap:8px}.rv .rv-frequency{min-height:44px}.rv .rv-frequency strong{font-size:20px}.rv .rv-combos{gap:8px}.rv .rv-combo{padding:12px;gap:8px;border-radius:10px}.rv .rv-combo>div.rv-combo-cards{min-height:60px;justify-content:flex-start}.rv .rv-combo-cards span{width:40px;min-width:40px;height:57px;padding:5px 4px;font-size:25px}.rv .rv-combo-cards span i{font-size:21px}.rv .rv-combo-frequency span{font-size:12px}.rv .rv-combo-frequency strong{font-size:16px}.rv .rv-combo-frequency>div{margin:3px 0}.rv .rv-combo>.rv-action-bar{height:5px}.rv #rvComboNote{font-size:10px;line-height:1.5;margin:8px 0 12px}.rv .rv-compare summary{min-height:44px;box-sizing:border-box;padding:12px 0;font-size:12px}
.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{padding:8px;gap:6px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards{min-height:46px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span{width:29px;min-width:29px;height:43px;font-size:18px;padding:3px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span i{font-size:16px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:12px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency span{font-size:10px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency>div{gap:3px}
.rv-options{width:min(380px,100vw)}.rv-options header{padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top,0px))}.rv-options .rv-option-body{padding:16px 16px calc(24px + env(safe-area-inset-bottom,0px))}.rv-options .rv-field select{font-size:16px}.rv-options .rv-close{width:44px;height:44px}.rv-options-grid button{min-height:44px}.rv .rv-color-grid input[type=color]{width:44px;height:44px;min-width:44px}.rv .rv-color-grid label{min-height:54px}.rv #rvFilterPanel select,.rv #rvFilterPanel input{min-height:44px}.rv .rv-appearance-theme small{font-size:12px}
}
@media(max-width:360px){.rv .rv-inline-context{gap:2px}.rv .rv-spot strong{font-size:13px}.rv .rv-spot strong span{margin-left:4px}.rv .rv-spot small{font-size:9px}.rv .rv-toolbar{gap:3px}.rv .rv-combo{padding:10px}.rv .rv-combo-frequency strong{font-size:14px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{padding:6px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:10px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency span{font-size:9px}}
@media(max-width:780px) and (orientation:landscape){.rv .rv-matrix{max-width:440px;margin-inline:auto}.rv .rv-combos{grid-template-columns:repeat(4,minmax(0,1fr))}.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Mobile analysis stays directly beneath the matrix. */
.rv-mobile-tabs{display:none}
.rv .rv-position-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.rv .rv-position-rail button:not(.has-action) small{display:none!important}
.rv .rv-position-rail button:not(.has-action) strong{margin:0;transform:none}
.rv-study-links .rv-training-cta{display:flex;align-items:center;gap:12px;text-align:left;padding:17px 14px;background:linear-gradient(115deg,#214c42,#18332f);border:1px solid #66c8a1;color:#effff6;box-shadow:0 5px 18px #0002}
.rv-training-cta>span:nth-child(2){flex:1}.rv-training-cta strong{display:block;font-size:15px}.rv-training-cta small{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#bce4d1}.rv-training-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#88dca626;color:#a3efbe;font-size:26px}
.rv .rv-appearance-theme{margin-top:16px;padding:20px 0 4px;border-top:1px solid var(--rv-line)}
.rv .rv-appearance .rv-theme-toggle{width:86px;height:44px;border-radius:14px;padding:4px;gap:10px;box-sizing:border-box;background:var(--rv-panel)}
.rv .rv-theme-toggle svg{width:19px;height:19px;position:relative;z-index:1;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rv .rv-appearance .rv-theme-toggle i{left:4px;top:4px;width:36px;height:34px;border-radius:10px;background:var(--rv-accent);box-shadow:0 2px 5px #0002}
.rv .rv-theme-toggle[aria-checked=true] i{transform:translateX(40px);background:var(--rv-accent)}
.rv .rv-theme-toggle[aria-checked=false] svg:first-child,.rv .rv-theme-toggle[aria-checked=true] svg:nth-child(2){color:#153428}
@media(max-width:780px){
.rv .rv-layout{gap:0}.rv .rv-chart{position:static}.rv .rv-matrix{aspect-ratio:1.04;max-height:48dvh;min-height:260px}.rv .rv-position-rail button{height:44px;padding:4px 8px}.rv .rv-position-rail strong{line-height:1.15}.rv .rv-position-rail small{min-height:0;line-height:1.1}
.rv .rv-mobile-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:4px 0;margin-top:3px;border-bottom:1px solid var(--rv-line)}
.rv .rv-mobile-tabs button{min-height:42px;border:0;border-radius:7px;background:transparent;color:var(--rv-muted);font:600 12px system-ui;cursor:pointer;position:relative}
.rv .rv-mobile-tabs button[aria-pressed=true]{color:var(--rv-accent);background:color-mix(in srgb,var(--rv-accent) 9%,var(--rv-bg))}
.rv .rv-mobile-tabs button[aria-pressed=true]:after{content:'';position:absolute;bottom:-4px;left:25%;right:25%;height:2px;background:var(--rv-accent);border-radius:2px}
.rv .rv-filter-chips,.rv .rv-detail-tabs{display:none!important}.rv #rvFilterCount{margin:5px 0;font-size:10px}
.rv #rvFilterPanel{display:none!important;position:static;margin-top:8px;box-shadow:none;box-sizing:border-box;border-radius:8px}
.rv[data-mobile-panel=filter] #rvFilterPanel{display:block!important}.rv #rvFilterPanel .rv-filter-row{grid-template-columns:1fr 1fr}.rv #rvFilterPanel label:first-child{display:block}.rv #rvFilterPanel label:last-child{grid-column:1/-1}
.rv .rv-hand{padding-top:9px}.rv .rv-hand>.rv-overview,.rv .rv-hand>#rvActionBar,.rv .rv-hand>#rvFrequencies,.rv .rv-hand>#rvCompare{display:none!important}
.rv[data-mobile-panel=range] .rv-hand>.rv-overview{display:block!important;margin:0;padding:3px 0}
.rv[data-mobile-panel=range] .rv-hand>:not(.rv-overview):not(#rvNotice):not(#rvStatus),.rv[data-mobile-panel=filter] .rv-hand{display:none!important}
.rv[data-mobile-panel=strategy] .rv-hand>#rvActionBar,.rv[data-mobile-panel=strategy] .rv-hand>#rvFrequencies,.rv[data-mobile-panel=strategy] .rv-hand>#rvCompare:not([hidden]){display:block!important}
.rv[data-mobile-panel=strategy] .rv-hand>#rvFrequencies{display:flex!important}
.rv[data-mobile-panel=strategy] #rvCombos,.rv[data-mobile-panel=strategy] #rvComboNote{display:none!important}
.rv .rv-detail-top{min-height:0;padding:0;margin:0 0 7px}.rv .rv-hand-title{display:flex;align-items:baseline;gap:8px;width:100%;justify-content:space-between}.rv .rv-detail-top .rv-hand-title strong{font-size:17px}.rv .rv-hand-title span{font-size:10px}
.rv .rv-combos{margin-top:0;gap:6px;max-height:235px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.rv .rv-combo{grid-template-columns:auto minmax(0,1fr);padding:8px;gap:5px 8px;border-radius:8px}.rv .rv-combo>div.rv-combo-cards{grid-row:1;grid-column:1;min-height:45px}.rv .rv-combo-cards span{width:29px;min-width:29px;height:43px;font-size:19px;padding:3px}.rv .rv-combo-cards span i{font-size:16px}.rv .rv-combo-frequency{grid-row:1;grid-column:2}.rv .rv-combo-frequency>div{gap:3px;margin:3px 0;flex-wrap:wrap}.rv .rv-combo-frequency>div:before{display:none}.rv .rv-combo-frequency span{font-size:9px}.rv .rv-combo-frequency strong{font-size:12px}.rv .rv-combo>.rv-action-bar{grid-row:2;grid-column:1/-1;height:3px}
.rv #rvComboNote{font-size:9px;margin:6px 0;line-height:1.4}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{grid-template-columns:1fr;padding:7px;gap:4px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency{grid-column:1;grid-row:2}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-action-bar{grid-row:3}
.rv[data-mobile-panel=range] .rv-whole-frequencies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rv[data-mobile-panel=range] button.rv-whole-frequency{padding:12px;background:var(--rv-panel)!important;border:1px solid var(--rv-line);border-radius:8px;min-height:65px;flex-wrap:wrap}.rv[data-mobile-panel=range] .rv-whole-frequency small{display:block;width:100%;font-size:10px}.rv[data-mobile-panel=range] .rv-whole-frequency span i{display:inline-block;margin-right:5px;width:7px;height:7px}.rv[data-mobile-panel=range] .rv-overview-heading{margin-bottom:8px}
}
@media(max-width:350px){.rv .rv-combo{padding:6px;gap:4px}.rv .rv-combo-cards span{width:24px;min-width:24px;height:36px;font-size:16px}.rv .rv-combo-cards span i{font-size:14px}.rv .rv-combo-frequency strong{font-size:11px}}
@media(max-width:780px){
.rv-options{width:min(380px,calc(100% - 24px));max-width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:12px 12px 12px auto;border:1px solid var(--rv-line);border-radius:16px;overflow:hidden}
.rv-options form{height:100%;min-height:0}.rv-options .rv-option-body{overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:780px){.rv:has(.rv-response-ready:not([hidden])) .rv-matrix{aspect-ratio:1.23;min-height:220px;max-height:40dvh}.rv .rv-response-ready{margin-bottom:8px;padding:3px 0}.rv .rv-response-ready strong{font-size:11px}.rv .rv-response-ready button{min-height:32px;font-size:10px;padding:6px 8px}}
@media(max-width:350px){.rv:has(.rv-response-ready:not([hidden])) .rv-combo-frequency>div{margin:1px 0}.rv:has(.rv-response-ready:not([hidden])) .rv-combo{padding:5px}}
/* Action surfaces carry their frequency colors; filters never add a status row. */
.rv #rvComboNote{display:none!important}.rv #rvFilterCount:empty{display:none!important}.rv #rvWholeCount{font-variant-numeric:tabular-nums}.rv-strategy-summary,.rv-filter-quick{display:none}
.rv .rv-combo:before,.rv .rv-combo>.rv-action-bar{display:none}.rv .rv-combo-frequency{padding:3px 5px;border-radius:5px;background:#10151c35}.rv .rv-combo-frequency :is(span,strong){color:var(--rv-combo-ink)!important;text-shadow:0 1px 2px #0004}.rv .rv-combo{border:1px solid #ffffff18;box-shadow:inset 0 1px #ffffff20}
.rv #rvResetColors{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:12px;border:1px solid var(--rv-line);border-radius:10px;background:var(--rv-panel);color:var(--rv-ink);text-decoration:none;font:600 13px system-ui}.rv #rvResetColors:before{content:'↺';font-size:21px}.rv .rv-color-grid label{padding:9px 0}.rv .rv-color-grid label span{font-size:13px;font-weight:600}.rv .rv-colors>summary,.rv .rv-display-options>summary{padding:5px 0;font-size:14px}.rv #rvColorStatus{line-height:1.5;font-size:11px}
@media(max-width:780px){
body.range-browser{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
body.range-browser:has(.rv[data-mobile-panel=range]),body.range-browser:has(.rv[data-mobile-panel=hand]){height:100dvh;overflow:hidden;padding-bottom:0!important}
.rv[data-mobile-panel=range],.rv[data-mobile-panel=hand]{height:calc(100dvh - 82px - env(safe-area-inset-bottom,0px));box-sizing:border-box;display:flex;flex-direction:column;padding-bottom:5px}
.rv .rv-toolbar,.rv .rv-position-rail,.rv .rv-response{flex:none}
.rv[data-mobile-panel=range] .rv-layout,.rv[data-mobile-panel=hand] .rv-layout{display:flex;flex-direction:column;flex:1;min-height:0}
.rv[data-mobile-panel=range] .rv-chart,.rv[data-mobile-panel=hand] .rv-chart{flex:none}
.rv[data-mobile-panel=range] .rv-hand,.rv[data-mobile-panel=hand] .rv-hand{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.rv .rv-detail-top{flex:none}.rv[data-mobile-panel=hand] .rv-combos{min-height:0;overflow:auto;max-height:none;flex:1;align-content:start}
.rv[data-mobile-panel=hand] .rv-matrix,.rv[data-mobile-panel=range] .rv-matrix{height:min(calc(100vw - 28px),calc(100dvh - 370px));min-height:210px;aspect-ratio:auto;max-height:430px}
.rv[data-mobile-panel=hand]:has(.rv-response-ready:not([hidden])) .rv-matrix,.rv[data-mobile-panel=range]:has(.rv-response-ready:not([hidden])) .rv-matrix{height:min(calc(100vw - 28px),calc(100dvh - 420px));min-height:210px;max-height:365px}
.rv .rv-combo{min-height:68px;padding:8px;gap:6px}.rv .rv-combo-frequency>div{margin:3px 0}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{min-height:0}
.rv[data-mobile-panel=range] button.rv-whole-frequency{background:var(--rv-tile-bg)!important;color:var(--rv-tile-ink)!important;border:1px solid #ffffff20;padding:10px 12px;min-height:68px}
.rv[data-mobile-panel=range] button.rv-whole-frequency :is(span,strong,small){color:var(--rv-tile-ink)!important;-webkit-text-fill-color:var(--rv-tile-ink)!important}.rv[data-mobile-panel=range] .rv-whole-frequency span i,.rv[data-mobile-panel=range] #rvWholeBar{display:none!important}
.rv .rv-filter-quick{display:grid;gap:18px}.rv .rv-filter-section>strong{display:block;margin-bottom:8px;font:600 12px system-ui;color:var(--rv-muted)}.rv .rv-filter-section>div{display:flex;flex-wrap:wrap;gap:6px}.rv .rv-filter-section button{min-height:38px;flex:1 1 23%;border:1px solid var(--rv-line);border-radius:8px;background:var(--rv-bg);color:var(--rv-muted);font:600 12px system-ui;padding:7px 10px}.rv .rv-filter-section button[aria-pressed=true]{color:var(--rv-accent);border-color:var(--rv-accent);background:color-mix(in srgb,var(--rv-accent) 12%,var(--rv-panel))}
.rv #rvFilterPanel{padding:15px;border:0;background:var(--rv-panel)}.rv #rvFilterPanel .rv-filter-row{display:block;margin-top:18px}.rv #rvFilterPanel .rv-filter-row label:not(:last-child){display:none}.rv #rvFilterPanel .rv-filter-row label:last-child{font-size:12px}.rv #rvFilterPanel input{border-radius:8px}.rv #rvResetFilters{width:100%;min-height:40px;border:1px solid var(--rv-line);border-radius:8px;color:var(--rv-ink);margin-top:12px}
.rv[data-mobile-panel=strategy] .rv-detail-top,.rv[data-mobile-panel=strategy] #rvActionBar{display:none!important}.rv[data-mobile-panel=strategy] .rv-strategy-summary{display:block;font-size:15px;font-weight:700;margin:4px 0 12px}.rv[data-mobile-panel=strategy] #rvFrequencies{display:grid!important;grid-template-columns:1fr;gap:7px}.rv[data-mobile-panel=strategy] button.rv-frequency{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 13px;border:1px solid var(--rv-line);border-radius:8px;background:var(--rv-panel)}.rv[data-mobile-panel=strategy] .rv-frequency>span{font-size:12px;display:flex;align-items:center;gap:8px}.rv[data-mobile-panel=strategy] .rv-frequency strong{font-size:19px}.rv[data-mobile-panel=strategy] .rv-frequency[aria-pressed=true]{border-color:var(--rv-accent);box-shadow:inset 3px 0 var(--rv-accent)}.rv[data-mobile-panel=strategy] .rv-compare{padding:4px 12px;border:1px solid var(--rv-line);border-radius:8px;background:var(--rv-panel)}
}

@media(max-width:780px){.rv .rv-combo{box-sizing:border-box}.rv[data-mobile-panel=hand] .rv-combos{grid-auto-rows:minmax(68px,auto)}}

/* Hand-first learning navigation and unboxed frequencies. */
.rv .rv-combo-frequency{background:transparent;padding:0;border-radius:0}.rv .rv-combo-frequency span{font-size:12px}.rv .rv-combo-frequency strong{font-size:17px;letter-spacing:-.3px}.rv-learning-panel[hidden]{display:none!important}.rv-learning-panel{padding:12px 0;line-height:1.65}.rv-learning-panel h3{margin:4px 0 10px;font-size:19px}.rv-learning-panel h4{margin:16px 0 4px;font-size:14px}.rv-learning-panel p{font-size:14px;margin:8px 0 14px}.rv-learning-context{display:block;color:var(--rv-muted);font-size:11px}.rv-learning-frequency{color:var(--rv-accent)}.rv-learning-tip{padding:12px;border-left:2px solid var(--rv-accent);background:var(--rv-panel);border-radius:0 8px 8px 0}.rv-learning-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px}.rv-learning-links a{padding:12px 8px;text-decoration:none;color:var(--rv-accent);background:var(--rv-panel);border:1px solid var(--rv-line);border-radius:9px;font-size:12px;font-weight:650;text-align:center}.rv-learning-source{font-size:10px;color:var(--rv-muted)}.rv-ev-list{display:grid;gap:8px}.rv-ev-row{display:flex;justify-content:space-between;align-items:center;padding:14px 12px;border-radius:8px;background:var(--rv-panel);border-left:3px solid var(--ev-color)}.rv-ev-row span{font-size:13px}.rv-ev-row strong{font-size:20px;font-variant-numeric:tabular-nums}
@media(max-width:780px){.rv .rv-combo-frequency span{font-size:11px}.rv .rv-combo-frequency strong{font-size:15px}.rv[data-mobile-panel=explain] .rv-hand>:not(#rvExplanation),.rv[data-mobile-panel=ev] .rv-hand>:not(#rvEV){display:none!important}.rv[data-mobile-panel=explain] .rv-hand,.rv[data-mobile-panel=ev] .rv-hand{display:block!important}.rv-learning-panel{padding:10px 2px 20px}.rv-learning-panel p{font-size:14px}.rv .rv-mobile-tabs button{font-size:13px}.rv[data-mobile-panel=explain] #rvFilterPanel,.rv[data-mobile-panel=ev] #rvFilterPanel{display:none!important}}
@media(max-width:350px){.rv .rv-combo-frequency span{font-size:10px}.rv .rv-combo-frequency strong{font-size:13px}}
@media(min-width:781px){.rv .rv-mobile-tabs{display:flex;gap:8px;margin-top:7px}.rv .rv-mobile-tabs button{flex:1;border:0;border-radius:7px;padding:9px;background:var(--rv-panel);color:var(--rv-muted)}.rv .rv-mobile-tabs button[aria-pressed=true]{color:var(--rv-accent)}.rv[data-mobile-panel=explain] .rv-hand>:not(#rvTable):not(#rvExplanation),.rv[data-mobile-panel=ev] .rv-hand>:not(#rvTable):not(#rvEV){display:none!important}.rv-learning-panel{max-height:calc(100dvh - 310px);overflow:auto}}

/* One chart geometry across every analysis tab. */
.rv-chart-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;height:28px;min-height:28px;flex:none;margin-bottom:4px;font-size:11px;color:var(--rv-muted)}.rv-chart-strip>div{display:flex;gap:3px}.rv-chart-strip button{border:0;border-radius:5px;background:transparent;color:var(--rv-muted);padding:5px 8px;font:600 11px system-ui;cursor:pointer}.rv-chart-strip button[aria-pressed=true]{background:var(--rv-panel);color:var(--rv-accent)}#rvPot{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px;font-weight:650}.rv .rv-response-ready{display:none!important}.rv #rvReturnOpen{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:780px){
body.range-browser:has(.rv){height:100dvh;overflow:hidden;padding-bottom:0!important}
body.range-browser .rv{height:calc(100dvh - 82px - env(safe-area-inset-bottom,0px));box-sizing:border-box;display:flex;flex-direction:column;padding-bottom:5px}
.rv .rv-layout{display:flex!important;flex-direction:column;flex:1;min-height:0}.rv .rv-layout[hidden]{display:none!important}.rv .rv-chart{flex:none;height:auto!important;width:100%}.rv .rv-matrix{height:min(calc(100vw - 28px),calc(100dvh - 480px))!important;min-height:195px!important;max-height:430px!important;aspect-ratio:auto!important;flex:none!important;width:100%;margin:0}
.rv .rv-hand{flex:1!important;min-height:0!important;overflow:auto!important;display:flex;flex-direction:column;overscroll-behavior:contain}.rv[data-mobile-panel=hand] .rv-hand{overflow:hidden!important}.rv .rv-learning-panel{max-height:none;margin:0;padding-top:8px}.rv .rv-preview-option{display:none!important}
.rv[data-mobile-panel=hand] .rv-combos{overflow-y:auto;align-content:start;grid-auto-rows:auto;min-height:0;flex:1;scrollbar-width:thin;padding-bottom:4px}.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;grid-auto-rows:auto}
.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;min-height:76px;height:auto!important;padding:5px!important;gap:3px!important;overflow:visible;grid-template-rows:none}
.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards{display:flex!important;justify-content:center!important;min-height:32px!important;height:32px!important;margin:0!important}
.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span{width:23px;min-width:23px;height:31px;font-size:15px;padding:2px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span i{font-size:12px}
.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency{display:block!important;min-height:20px;grid-area:auto!important;margin:0;padding:0}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency>div{display:flex!important;flex-wrap:nowrap;gap:2px;margin:0;line-height:1.4}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency span{font-size:10px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:12px}
}

@media(max-width:780px){.rv .rv-combo-frequency span,.rv .rv-combo-frequency strong{white-space:nowrap}}
@media(max-width:350px){.rv .rv-combo{gap:4px;padding:6px}.rv .rv-combo-frequency span{font-size:9px}.rv .rv-combo-frequency strong{font-size:12px}}

/* Range workspace dedicates the full mobile viewport to study. */
body.range-browser .pg-bottom-nav{display:none!important}
.rv .rv-spot{flex:1;justify-content:space-between}.rv .rv-inline-context{flex:1;justify-content:space-between;gap:16px!important}.rv .rv-inline-context small{margin-left:auto;padding-left:8px}.rv .rv-spot svg{flex:none}
.rv-study-links .rv-training-cta{background:linear-gradient(115deg,#e34f59,#b82e43)!important;border-color:#ef6972!important;color:#fff!important;box-shadow:0 5px 18px #dc3d5025}.rv .rv-training-cta small{color:#ffe5e8}.rv .rv-training-icon{color:#fff;background:#ffffff22}
.rv-utility-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.rv .rv-utility-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;margin:0;padding:10px 8px;border:1px solid var(--rv-line);border-radius:9px;background:var(--rv-panel);color:var(--rv-ink);text-decoration:none;font:600 12px system-ui}.rv-utility-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
@media(max-width:780px){body.range-browser .rv{height:calc(100dvh - env(safe-area-inset-bottom,0px));padding-bottom:8px}.rv .rv-combos:has(.rv-combo:nth-child(9)){grid-auto-rows:minmax(52px,auto);gap:4px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo{min-height:52px;padding:3px 5px!important;gap:2px!important}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards{height:26px!important;min-height:26px!important}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span{width:20px;min-width:20px;height:25px;font-size:12px;padding:1px 2px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-cards span i{font-size:10px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency{min-height:17px}.rv .rv-combos:has(.rv-combo:nth-child(9)) .rv-combo-frequency strong{font-size:12px}.rv .rv-inline-context small{font-size:10px!important}.rv .rv-spot strong{font-size:14px}}
@media(max-width:350px){.rv .rv-inline-context{gap:8px!important}.rv .rv-inline-context small{font-size:9px!important;padding-left:0}.rv .rv-spot strong{font-size:12px}}


/* Cards stay on the left for all twelve offsuit combinations. */
.rv .rv-combos:has(.rv-combo[data-kind="offsuit"]){grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.rv .rv-combos .rv-combo[data-kind="offsuit"]{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:normal;min-height:48px;height:auto!important;gap:6px!important;padding:5px 7px!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-cards{grid-column:1;grid-row:1;justify-content:flex-start!important;margin:0!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency{grid-column:2!important;grid-row:1!important;min-width:0;min-height:0;display:grid!important;gap:1px}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency>div{justify-content:space-between;gap:3px;line-height:1.25}
.rv .rv-combos .rv-combo[data-kind="offsuit"]>.rv-action-bar{display:none!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency span{font-size:10px}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency strong{font-size:12px}

body.range-browser .rv-study-links .rv-training-cta{background:linear-gradient(120deg,#253f3b,#172b29)!important;border:1px solid #52736a!important;color:#edf8f4!important;box-shadow:0 4px 14px #142f2618!important;border-radius:12px!important}
body.range-browser .rv-study-links .rv-training-cta:hover{filter:brightness(1.12)}
body.range-browser .rv-study-links .rv-training-cta:focus-visible{outline:3px solid var(--rv-accent);outline-offset:3px}
.rv .rv-combos:has(.rv-combo[data-kind="offsuit"]){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"]{display:flex!important;flex-direction:column;align-items:stretch;gap:4px!important;min-height:58px!important;padding:6px!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-cards{justify-content:flex-start!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency{display:grid!important;gap:2px!important;width:100%}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency>div{display:flex!important;justify-content:space-between!important;gap:2px!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency span{font-size:10px!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"] .rv-combo-frequency strong{font-size:12px!important}
.rv-range-composition{border-top:1px solid var(--rv-line);margin-top:12px;padding-top:2px;padding-bottom:20px}
.rv-range-composition h4{font-size:13px;margin:15px 0 10px}
.rv-composition-row{display:grid;grid-template-columns:1fr auto auto;gap:5px 10px;margin:10px 0;font-size:12px}
.rv-composition-row small,.rv-range-composition>small{color:var(--rv-muted);font-size:10px}
.rv-composition-track{grid-column:1/-1;height:4px;background:var(--rv-line);border-radius:8px;overflow:hidden}
.rv-composition-track i{display:block;height:100%;background:var(--rv-accent)}
.rv-mix-hands{display:flex;flex-wrap:wrap;gap:5px}
.rv-mix-hands button{font:600 11px system-ui;color:var(--rv-ink);background:var(--rv-panel);border:1px solid var(--rv-line);border-radius:6px;padding:7px 9px;cursor:pointer}
.rv[data-mobile-panel=discussion] .rv-hand>:not(#rvDiscussion){display:none!important}
.rv[data-mobile-panel=discussion] .rv-hand{display:block!important}
.rv[data-mobile-panel=discussion] #rvFilterPanel{display:none!important}
.rv[data-mobile-panel=discussion] #rvDiscussion{display:block}

body.range-browser .rv-training-cta small{color:#bed4cd!important}
.rv .rv-combos .rv-combo[data-kind="offsuit"]{box-sizing:border-box}

/* 2026-11 polish: the panel switch reads like the other range controls in both themes. */
@media(min-width:781px){
 .rv .rv-mobile-tabs button{min-height:40px;padding:0 12px;border:1px solid var(--rv-line);border-radius:10px;background:var(--rv-panel);color:var(--rv-ink);font:600 13px/1 Pretendard,'Noto Sans KR',system-ui,sans-serif;opacity:.78;transition:opacity .15s,background .15s,border-color .15s}
 .rv .rv-mobile-tabs button:hover{opacity:1}
 .rv .rv-mobile-tabs button[aria-pressed=true]{opacity:1;color:var(--rv-accent);border-color:color-mix(in srgb,var(--rv-accent) 55%,var(--rv-line));background:color-mix(in srgb,var(--rv-accent) 12%,var(--rv-panel));font-weight:800}
 .rv .rv-mobile-tabs button[aria-pressed=true]:after{display:none}
}
@media(max-width:780px){
 .rv .rv-mobile-tabs button{color:var(--rv-ink);opacity:.72}
 .rv .rv-mobile-tabs button[aria-pressed=true]{color:var(--rv-accent);opacity:1;font-weight:800}
}
