/* Random slot selector (Stage NAV ADDENDUM A): every colour comes from these theme tokens. Dark (the default) is gold on charcoal; light is a
   white-and-black marble background with gold accents, switched by data-theme="light" on the page (UX13's toggle sets it). No cyan, blue
   or purple. Only this viewer page loads this file; the OBS overlay (/overlay/random-slot on the streamer app) has its own styles. */
:root:has(body.selector-page),body.selector-page{
 --sel-page:#0f0e0c;--sel-page-art:radial-gradient(ellipse at 80% 0%,#f5ca2712,transparent 55%);
 --sel-surface-art:linear-gradient(150deg,#1b1814,#121110);--sel-surface-2:#141210;--sel-input:#0b0a08;--sel-inset:#0b0a08;
 --sel-line:#3a3020;--sel-line-strong:#77612c;--sel-gold:#f5ca27;--sel-gold-text:#f5ca27;--sel-gold-soft:#e0bf68;
 --sel-text:#f2ede2;--sel-muted:#c9c2b0;--sel-on-gold:#1e1407;--sel-glow:#f5ca2722;--sel-glow-strong:#f5ca2766;
 --sel-card-art:linear-gradient(160deg,#241d12,#0f0e0c);--sel-panel-art:radial-gradient(ellipse at top,#2a2212,#0f0e0c 78%)}
:root:has(body.selector-page),body.selector-page{--sel-scrim:#080705b8;--sel-shadow:#00000080}
:root[data-theme="light"]:has(body.selector-page),:root[data-theme="light"] body.selector-page,body.selector-page[data-theme="light"]{
 --sel-page:#f6f4ef;--sel-page-art:linear-gradient(118deg,transparent 0 37%,#1a17120d 38.5%,transparent 40.5%),linear-gradient(28deg,transparent 0 61%,#1a171214 62%,transparent 63.5%),linear-gradient(152deg,transparent 0 72%,#1a17120a 73%,transparent 75%),radial-gradient(ellipse at 15% 0%,#ffffff,#efece5 70%);
 --sel-surface-art:linear-gradient(150deg,#fffffff2,#f4f1eaf2);--sel-surface-2:#f4f1ea;--sel-input:#ffffff;--sel-inset:#efebe2;
 --sel-line:#dccfae;--sel-line-strong:#b8922a;--sel-gold:#e0b21c;--sel-gold-text:#7f5d00;--sel-gold-soft:#7f5d00;
 --sel-text:#17140f;--sel-muted:#4f483b;--sel-on-gold:#17140f;--sel-glow:#d4a51430;--sel-glow-strong:#d4a51466;
 --sel-card-art:linear-gradient(160deg,#ffffff,#f1ede3);--sel-panel-art:linear-gradient(118deg,transparent 0 45%,#1a17120f 46%,transparent 47.5%),radial-gradient(ellipse at top,#ffffff,#eeeae1 78%)}
:root[data-theme="light"]:has(body.selector-page),:root[data-theme="light"] body.selector-page,body.selector-page[data-theme="light"]{--sel-scrim:#1a17128c;--sel-shadow:#1a171240}
/* Selector styles: colours only through the tokens above. */

/* The page around the selector: background, cards, headings, labels, fields and buttons. */
html:has(body.selector-page){background:var(--sel-page)}
body.selector-page{background:var(--sel-page-art),var(--sel-page);color:var(--sel-text)}
body.selector-page .card{background:var(--sel-surface-art);border-color:var(--sel-line);box-shadow:none}
body.selector-page .eyebrow{color:var(--sel-gold-soft)}
body.selector-page .intro h1 em{color:var(--sel-gold-text)}
body.selector-page main label{color:var(--sel-muted)}
body.selector-page main .check{color:var(--sel-text)}
body.selector-page .help{color:var(--sel-muted)}
body.selector-page main .help a{color:var(--sel-gold-text);font-weight:700}
body.selector-page summary{color:var(--sel-gold-soft)}
body.selector-page input,body.selector-page select{background:var(--sel-input);color:var(--sel-text);border:1px solid var(--sel-line)}
body.selector-page input:focus,body.selector-page select:focus{outline-color:var(--sel-gold);border-color:var(--sel-gold)}
body.selector-page main button{min-height:44px;background:var(--gold-metal,var(--sel-gold));color:var(--sel-on-gold);border:1px solid var(--sel-gold);transition:transform .18s ease,background-color .18s ease}
body.selector-page main button.subtle{background:transparent;color:var(--sel-gold-text);border-color:var(--sel-line-strong)}
body.selector-page main button:not(:disabled):active{transform:scale(.96)}
body.selector-page main button:disabled{opacity:.55;cursor:not-allowed}
body.selector-page main button:focus-visible{outline:2px solid var(--sel-gold);outline-offset:2px}

.selector-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.4fr);gap:22px}.selector-grid .card{margin-bottom:22px}.selector-grid label{margin-bottom:18px}.selector-count{color:var(--sel-gold-text);font-size:22px;font-weight:750}.selector-stage{text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:440px;overflow:hidden}.selector-stage h2{font-size:30px;margin:24px 0 12px}#result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}#result-actions[hidden]{display:none}summary{cursor:pointer;padding:15px 0}@media(max-width:850px){.selector-grid{grid-template-columns:1fr}.selector-stage{min-height:340px}}

.selector-grid{grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr)}.selector-stage{padding:12px;justify-content:center;min-height:680px}body.selector-page .selector-stage{background:transparent}.personal-obs-panel{border:2px solid var(--sel-gold);border-radius:18px;background:var(--sel-panel-art);box-shadow:0 0 25px var(--sel-glow);overflow:hidden;padding:22px 0;width:100%}.personal-obs-title{display:flex;align-items:center;gap:18px;padding:0 22px;text-align:left}.personal-obs-title img{width:130px;height:75px;object-fit:contain}.personal-obs-title p{font-size:11px;letter-spacing:1px;color:var(--sel-gold-text);font-weight:800;margin:0}.personal-obs-title h2{font-size:24px;color:var(--sel-text);margin:6px 0}#personal-reel{position:relative;margin-top:25px;width:100%;height:470px;overflow:hidden;background:var(--sel-inset);mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent)}#personal-track{display:flex;gap:26px;position:absolute;left:0;top:28px;width:max-content;will-change:transform}.personal-reel-card{flex:0 0 260px;width:260px;height:410px;padding:14px;border:2px solid var(--sel-line-strong);border-radius:18px;background:var(--sel-card-art);color:var(--sel-text);overflow:hidden;text-align:center}.personal-reel-card img{display:block;width:228px;height:285px;object-fit:contain;border-radius:10px}.slot-name-card{display:grid;place-items:center;box-sizing:border-box;padding:16px;border:1px solid var(--sel-line);border-radius:10px;background:var(--sel-surface-2);color:var(--sel-text);font-weight:800;line-height:1.15;text-align:center;overflow:hidden;overflow-wrap:anywhere}.personal-reel-card .slot-name-card{width:228px;height:285px;font-size:26px}.personal-reel-card h2{font-size:22px;line-height:1.15;margin:10px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.personal-reel-card p{font-size:14px;margin:0;color:var(--sel-muted)}.personal-reel-card.winner{border-color:var(--sel-gold);box-shadow:0 0 24px var(--sel-glow-strong)}.personal-pointer{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);width:286px;border:3px solid var(--sel-gold);border-radius:20px;pointer-events:none;box-shadow:0 0 30px var(--sel-glow-strong)}.personal-pointer:before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);border-left:20px solid transparent;border-right:20px solid transparent;border-top:30px solid var(--sel-gold)}#selector-result{padding:15px 24px}#selector-result h2{font-size:28px;line-height:1.15;color:var(--sel-gold-text);margin:12px 0;overflow-wrap:anywhere}#selector-result p{font-size:14px;color:var(--sel-muted);margin:0}#provider-checkboxes{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:225px;overflow:auto;padding:12px 0}#provider-checkboxes label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;margin:0;padding:8px;background:var(--sel-surface-2);border:1px solid var(--sel-line);border-radius:6px;color:var(--sel-text);overflow-wrap:anywhere}#provider-checkboxes input{width:auto;flex-shrink:0;accent-color:var(--sel-gold)}.provider-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.provider-actions button{padding:9px 12px}.selector-profiles{border:1px solid var(--sel-line);border-radius:10px;padding:15px;margin-bottom:20px}.selector-profiles h3{margin:0 0 12px}.selector-profiles [hidden]{display:none!important}#provider-summary{display:block;font-size:11px;color:var(--sel-muted);margin-top:6px}@media(max-width:1000px){.selector-grid{grid-template-columns:1fr}.selector-stage{min-height:600px}.personal-obs-title{justify-content:center}}@media(max-width:450px){.personal-obs-title{gap:10px;padding:0 10px}.personal-obs-title img{width:80px}.personal-obs-title h2{font-size:18px}.personal-obs-title p{font-size:9px}#provider-checkboxes{grid-template-columns:1fr 1fr}}

.selector-profiles #save-selector-profile{width:100%;margin:0 0 18px}.selector-profiles .saved-profile-label{margin-top:0}.selector-profiles{margin-top:16px}
/* Use the desktop canvas for the reel instead of constraining it to the site reading width (there is no side rail any more). */
body:has(#personal-reel) main{max-width:none;width:100%;margin-left:0;margin-right:0;padding-inline:clamp(16px,2vw,40px);box-sizing:border-box}
.selector-grid{grid-template-columns:clamp(300px,23vw,390px) minmax(0,1fr);align-items:start;gap:24px}
.selector-stage{min-height:0;justify-content:flex-start;padding:12px;position:sticky;top:105px}
.personal-obs-panel{padding:30px 0}.personal-obs-title{justify-content:center;padding:0 28px}.personal-obs-title img{width:170px;height:90px}.personal-obs-title h2{font-size:clamp(24px,2.2vw,44px)}.personal-obs-title p{font-size:clamp(11px,1vw,18px)}
#personal-reel{margin-top:30px}#selector-result{padding:25px 30px}#selector-result h2{font-size:clamp(28px,2.5vw,46px)}
@media(min-width:1800px){#personal-reel{zoom:1.25}}
@media(min-width:2400px){#personal-reel{zoom:1.5}}
@media(max-width:1000px){.selector-grid{grid-template-columns:300px minmax(0,1fr);gap:16px}.personal-obs-title{gap:10px;padding:0 12px}.personal-obs-title img{width:90px;height:65px}.personal-obs-title h2{font-size:20px}.personal-obs-title p{font-size:9px}}
@media(max-width:800px){.selector-grid{grid-template-columns:1fr}.selector-stage{position:static}.personal-obs-title{justify-content:center}}

/* Compact companion controls keep the reel as the main focus. */
.selector-grid>section:first-child{padding:18px}.selector-grid>section:first-child>h2{font-size:21px;margin:0 0 12px}.selector-providers summary{padding:5px 0 8px;font-size:12px}#provider-summary{display:inline;margin-left:8px;font-size:10px}#provider-search{padding:8px 10px;font-size:11px}.selector-grid .provider-actions{gap:7px;margin:8px 0}.selector-grid .provider-actions button{font-size:10px;padding:7px 10px}#provider-checkboxes{max-height:145px;gap:5px;padding:6px 0}#provider-checkboxes label{padding:6px;font-size:10px;line-height:1.25}.selector-profiles{padding:10px;margin:10px 0}.selector-profiles label{font-size:10px;margin:0;gap:5px}.selector-profiles input,.selector-profiles select{padding:8px;font-size:11px}.selector-profiles #profile-signin{font-size:10px;line-height:1.4;margin:0 0 8px}#profile-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.selector-profiles #save-selector-profile{font-size:10px;width:auto;margin:0;padding:9px 10px}.selector-profiles .saved-profile-label,.selector-profiles .provider-actions{grid-column:1/-1}.selector-profiles .provider-actions{margin:0}.selector-profiles #selector-profile-status:empty{display:none}.selector-grid #selector-filters>.check{font-size:11px;margin:8px 0;gap:8px}.selector-grid #refresh-catalogue{font-size:10px;padding:8px 12px;margin-top:8px}#catalogue-updated{font-size:10px;margin:6px 0}.selector-count{font-size:18px;margin:10px 0}.selector-spin-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.selector-spin-actions button{margin:0;padding:13px 15px}.selector-spin-actions #personal-spin{font-size:14px}.selector-spin-actions #reset-filters{padding-inline:18px}

#selector-bans,#selector-favourites{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}#selector-bans article,#selector-favourites article{display:flex;align-items:center;gap:16px;padding:15px;border:1px solid var(--sel-line);border-radius:12px;background:var(--sel-surface-2)}#selector-bans img,#selector-favourites img{width:75px;height:95px;object-fit:contain;border-radius:8px;flex-shrink:0}#selector-bans .slot-name-card,#selector-favourites .slot-name-card{width:75px;height:95px;padding:6px;border-radius:8px;flex-shrink:0;font-size:11px}#selector-bans h3,#selector-favourites h3{margin:0 0 7px;font-size:15px;overflow-wrap:anywhere}#selector-bans p,#selector-favourites p{font-size:11px;color:var(--sel-muted);margin:0 0 12px}#selector-bans button,#selector-favourites button{font-size:10px;padding:7px 10px}#selector-bans:empty,#selector-favourites:empty{display:block}
/* SLOT PICKER MOBILE: Favourited Games and Banned Games side by side on wide screens, stacked below. Both use the rows above. */
.selector-lists{display:grid;grid-template-columns:minmax(0,1fr);gap:0 22px;margin-top:28px}.selector-lists>.card{min-width:0}@media(min-width:1001px){.selector-lists{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
.list-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}.list-actions:not(:has(>:not([hidden]))){display:none}.list-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:12px;border:1px solid var(--sel-line-strong);border-radius:10px;background:var(--sel-surface-2)}.list-confirm[hidden]{display:none}.list-confirm p{flex:1 1 100%;margin:0;color:var(--sel-text);font-size:14px}
/* After a spin: Favourite, Ban and Spin again. A pressed Favourite / Ban gets a gold edge. */
#result-actions button[aria-pressed="true"]{border-color:var(--sel-gold);box-shadow:inset 0 0 0 1px var(--sel-gold)}
/* SLOT PICKER (Aaron, 27 Oct): Favourite, Ban and Spin Again are one size. Spin Again has no .subtle class, so it kept the global button
   margin-top:16px from bucks.css and sat lower and looked taller than the other two. All three share one box here (no margin, same border,
   radius, line height and centring); Spin Again keeps its gold fill. The phone rules below keep the equal three-column grid and 48px height. */
#result-actions{align-items:stretch}#result-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;box-sizing:border-box;border-width:1px;border-style:solid;border-radius:7px;line-height:1.2;text-align:center;vertical-align:top}
/* Ban's Undo toast, above the phone tab strip. */
.selector-toast{position:fixed;z-index:60;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:12px;box-sizing:border-box;width:max-content;max-width:min(560px,calc(100vw - 24px));padding:10px 10px 10px 16px;border:1px solid var(--sel-gold);border-radius:14px;background:var(--sel-surface-2);color:var(--sel-text);box-shadow:0 0 25px var(--sel-glow-strong);font-size:14px;animation:selector-toast-in .2s ease-out}.selector-toast[hidden]{display:none}.selector-toast span{flex:1;min-width:0;overflow-wrap:anywhere}.selector-toast button{flex-shrink:0}
@keyframes selector-toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translateX(-50%)}}
/* Saved-profile chips are a phone shortcut (see the phone block below). */
.profile-chips{display:none}

/* Balance both panels against the actual browser height on desktop. */
body:has(#personal-reel) main{padding-top:12px}body:has(#personal-reel) main>.intro{padding:4px 0 12px}body:has(#personal-reel) .intro h1{font-size:clamp(30px,2.8vw,42px);margin:8px 0;line-height:1.05}body:has(#personal-reel) .intro .eyebrow{margin:4px 0 8px}body:has(#personal-reel) .intro>p:last-child{font-size:12px;line-height:1.5;margin-top:10px;margin-bottom:0}.selector-screen-fit .selector-stage{position:static;height:var(--selector-panel-height);padding:8px;overflow:hidden}.selector-screen-fit .selector-stage>.eyebrow{margin:4px 0 8px}.selector-screen-fit .personal-obs-panel{padding:14px 0}.selector-screen-fit .personal-obs-title{gap:15px;padding:0 16px}.selector-screen-fit .personal-obs-title img{width:110px;height:60px}.selector-screen-fit .personal-obs-title h2{font-size:clamp(22px,2vw,34px);margin:3px 0}.selector-screen-fit .personal-obs-title p{font-size:11px}.selector-screen-fit #personal-reel{zoom:var(--personal-reel-scale);margin-top:16px}.selector-screen-fit #selector-result{padding:12px 20px}.selector-screen-fit #selector-result h2{font-size:clamp(24px,2vw,34px);margin:8px 0}.selector-screen-fit #selector-result p{font-size:12px}.selector-screen-fit #result-actions{margin-top:8px}.selector-screen-fit #result-actions button{padding:8px 12px;font-size:11px}.selector-screen-fit .selector-grid>section:first-child{max-height:var(--selector-panel-height);overflow:auto;padding:14px}.selector-screen-fit #provider-checkboxes{max-height:var(--provider-list-height)}.selector-screen-fit .selector-profiles{padding:8px;margin:8px 0}.selector-screen-fit .selector-grid>section:first-child>h2{margin-bottom:8px}.selector-screen-fit #catalogue-updated{margin:4px 0}.selector-screen-fit .selector-count{margin:7px 0}.selector-screen-fit .selector-spin-actions button{padding-block:11px}

/* Both desktop panels share one aligned row and height. */
@media(min-width:1001px){.selector-grid{align-items:stretch}.selector-grid>section{margin-bottom:0!important;position:static}.selector-grid>section:first-child{height:100%;max-height:none}.selector-screen-fit .selector-grid{height:var(--selector-panel-height);margin-bottom:22px}.selector-screen-fit .selector-grid>section{height:100%;min-height:0;max-height:none}.selector-screen-fit .selector-grid>section:first-child{overflow:auto}}
@media(min-width:801px) and (max-width:1000px){.selector-grid{align-items:stretch}.selector-grid>section{position:static;margin-bottom:0!important}.selector-grid>section:first-child{height:100%}.selector-grid{margin-bottom:22px}}

body:has(#personal-reel) .intro h1{font-size:clamp(38px,4vw,64px);margin:14px 0}body:has(#personal-reel) main>.intro{padding:12px 0 22px}body:has(#personal-reel) .intro>p:last-child{font-size:14px;line-height:1.6}

/* Phones (360px and up): one column, the reel scaled to fit, readable controls and 44px taps. */
@media(max-width:768px){
 body:has(#personal-reel) main{padding-inline:12px}
 body:has(#personal-reel) .intro h1{font-size:clamp(28px,8vw,38px)}
 .selector-grid{grid-template-columns:minmax(0,1fr)}
 #provider-checkboxes label,.selector-grid #selector-filters>.check{min-height:44px;font-size:13px}
 .selector-profiles label,#provider-search,.selector-profiles input,.selector-profiles select{font-size:14px}
 body.selector-page main button,.selector-grid .provider-actions button,.selector-profiles #save-selector-profile,.selector-grid #refresh-catalogue,#selector-favourites button,.selector-screen-fit #result-actions button{min-height:44px;font-size:13px}
 #selector-favourites{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:450px){#provider-checkboxes{grid-template-columns:minmax(0,1fr)}#profile-controls{grid-template-columns:minmax(0,1fr)}.selector-profiles #save-selector-profile{width:100%}}
@media(max-width:768px){#selector-bans{grid-template-columns:minmax(0,1fr)}#selector-bans button,.list-actions button,.selector-toast button{min-height:44px;font-size:13px}}

/* SLOT PICKER MOBILE (phones up to 600px only; nothing here reaches the desktop picker).
   1. The picker comes first and fits one screen: cards sized to the screen (one centred in the frame, neighbours peeking under the edge
      fade), the reel height tied to the small viewport height (svh), SPIN NOW inside the panel (moved there by viewer-selector.js).
   2. The game pool box: game count up top, the two key toggles as switches, Providers folded away, saved profiles as chips. */
@media(max-width:600px){
 .selector-grid{gap:14px}
 .selector-stage{order:-1;padding:0;scroll-margin-top:72px}
 .selector-stage>.eyebrow{display:none}
 .personal-obs-panel{padding:12px 0 14px;border-radius:16px}
 .personal-obs-title{gap:10px;padding:0 12px;justify-content:center}
 .personal-obs-title img{width:64px;height:40px}
 .personal-obs-title p{font-size:10px}
 .personal-obs-title h2{font-size:18px;margin:2px 0 0}
 #personal-reel{--reel-w:min(56vw,210px);--reel-art:min(calc(var(--reel-w) - 20px),28svh);height:calc(var(--reel-art) + 112px);margin-top:10px;zoom:1}
 #personal-track{gap:14px;top:20px}
 .personal-reel-card{box-sizing:border-box;flex:0 0 var(--reel-w);width:var(--reel-w);height:calc(var(--reel-art) + 84px);padding:10px;border-radius:14px}
 .personal-reel-card img,.personal-reel-card .slot-name-card{width:100%;height:var(--reel-art)}
 .personal-reel-card .slot-name-card{font-size:18px;padding:10px}
 .personal-reel-card h2{font-size:16px;margin:8px 0 3px}
 .personal-reel-card p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .personal-pointer{width:calc(var(--reel-w) + 12px);border-radius:16px}
 .personal-pointer:before{border-left-width:14px;border-right-width:14px;border-top-width:20px}
 #selector-result{padding:8px 14px 0}
 #selector-result h2{font-size:20px;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #selector-result p{font-size:12px}
 #phone-spin-slot{padding:10px 14px 0}
 #phone-spin-slot #personal-spin{width:100%;min-height:52px;font-size:16px;letter-spacing:.5px}
 .selector-stage:has(#result-actions:not([hidden])) #phone-spin-slot{display:none}
 #result-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0}
 #result-actions[hidden]{display:none}
 #result-actions button{min-height:48px;padding:6px 4px;font-size:14px}

 .selector-grid>section:first-child{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 14px}
 .selector-grid>section:first-child>h2{order:1;margin:0;font-size:20px}
 .selector-grid #selector-filters{display:contents}
 #pool-count{order:2;margin:0;font-size:22px}
 .selector-grid #selector-filters>.check{order:3;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:0;padding:4px 12px 4px 14px;border:1px solid var(--sel-line);border-radius:12px;background:var(--sel-surface-2);font-size:14px;cursor:pointer}
 .selector-grid #selector-filters>.check input{order:2;appearance:none;-webkit-appearance:none;position:relative;flex-shrink:0;width:46px;height:28px;margin:0;padding:0;border:1px solid var(--sel-line-strong);border-radius:14px;background:var(--sel-inset);cursor:pointer;transition:background-color .18s ease,border-color .18s ease}
 .selector-grid #selector-filters>.check input::before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--sel-muted);transition:transform .18s ease}
 .selector-grid #selector-filters>.check input:checked{background:var(--sel-gold);border-color:var(--sel-gold)}
 .selector-grid #selector-filters>.check input:checked::before{transform:translateX(18px);background:var(--sel-on-gold)}
 .selector-grid #selector-filters>.check input:focus-visible{outline:2px solid var(--sel-gold);outline-offset:2px}
 .selector-grid #selector-filters>.check:has(input:checked){border-color:var(--sel-line-strong)}
 .selector-providers{order:4;border:1px solid var(--sel-line);border-radius:12px;padding:0 12px;background:var(--sel-surface-2)}
 .selector-providers summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:0;font-size:14px;font-weight:700;list-style:none}
 .selector-providers summary::-webkit-details-marker{display:none}
 .selector-providers summary::after{content:'+';width:24px;text-align:center;font-size:20px;line-height:1;color:var(--sel-gold-text)}
 .selector-providers[open] summary::after{content:'−'}
 .selector-providers[open] summary{border-bottom:1px solid var(--sel-line)}
 #provider-summary{margin:0 0 0 auto;font-size:12px}
 #provider-checkboxes{max-height:min(320px,45svh)}
 .selector-profiles{order:5;margin:0;padding:12px}
 .profile-chips:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
 .selector-profiles .profile-chip{min-height:44px;max-width:100%;padding:8px 16px;border-radius:22px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .selector-profiles .profile-chip[aria-pressed="true"]{background:var(--gold-metal,var(--sel-gold));color:var(--sel-on-gold);border-color:var(--sel-gold)}
 .selector-profiles label{font-size:13px}
 .selector-profiles #save-selector-profile{font-size:14px}
 .selector-spin-actions{order:6;grid-template-columns:minmax(0,1fr)}
 .selector-grid #refresh-catalogue{order:7;justify-self:start;margin:0}
 #catalogue-updated{order:8;margin:0}
 .selector-lists{gap:0}
 .selector-toast{bottom:calc(78px + env(safe-area-inset-bottom,0px));width:calc(100vw - 24px)}
}
@media(prefers-reduced-motion:reduce){body.selector-page main button{transition:none}body.selector-page main button:not(:disabled):active{transform:none}}
@media(prefers-reduced-motion:reduce){.selector-toast{animation:none}.selector-grid #selector-filters>.check input,.selector-grid #selector-filters>.check input::before{transition:none}}
/* PROVIDER PICKER POP-OUT (Aaron, 29 Oct): the main screen shows a Choose Providers button with a summary; the list itself opens in a
   dialog (a centred modal on desktop, a full-screen sheet on phones) with search, Select All / Clear All, chips and a profile name.
   Theme tokens only: gold on charcoal, white marble in light mode. Every control is at least 44px tall. */
.selector-grid .selector-providers{display:grid;gap:6px;margin:0 0 12px}
.provider-label{margin:0;font-size:12px;font-weight:700;color:var(--sel-muted)}
body.selector-page main .provider-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0;padding:10px 14px;border:1px solid var(--sel-line-strong);border-radius:12px;background:var(--sel-surface-2);color:var(--sel-text);font-size:14px;font-weight:750;text-align:left;box-shadow:none}
body.selector-page main .provider-open:hover:not(:disabled){border-color:var(--sel-gold);background:var(--sel-glow)}
body.selector-page main .provider-open:focus-visible{outline:2px solid var(--sel-gold);outline-offset:2px}
.provider-open-text::after{content:'›';margin-left:8px;color:var(--sel-gold-text);font-size:18px;line-height:1}
.selector-grid .provider-open #provider-summary{display:inline-block;margin:0;padding:4px 10px;border-radius:999px;background:var(--gold-metal,var(--sel-gold));color:var(--sel-on-gold);font-size:12px;font-weight:800;white-space:nowrap}
.provider-sheet{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px}
.provider-sheet[hidden]{display:none}
.provider-sheet-backdrop{position:absolute;inset:0;background:var(--sel-scrim)}
.provider-sheet-panel{position:relative;display:flex;flex-direction:column;width:min(780px,100%);max-height:min(740px,calc(100svh - 48px));background:var(--sel-surface-art);background-color:var(--sel-surface-2);border:1px solid var(--sel-line-strong);border-radius:18px;box-shadow:0 24px 60px var(--sel-shadow),0 0 0 4px var(--sel-glow);color:var(--sel-text);overflow:hidden}
.provider-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 12px;border-bottom:1px solid var(--sel-line)}
.provider-sheet-head h2{margin:0;font-size:22px;line-height:1.1;color:var(--sel-gold-text);outline:none}
body.selector-page main .provider-sheet-x{flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;border-radius:50%;font-size:26px;line-height:1}
.provider-sheet-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 18px 8px}
.provider-sheet #provider-search{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;font-size:15px}
.provider-sheet .provider-actions{display:flex;gap:8px;margin:0}
body.selector-page main .provider-sheet .provider-actions button{min-height:44px;margin:0;padding:8px 14px;font-size:14px}
.provider-sheet-count{grid-column:1/-1;margin:0;font-size:13px;font-weight:750;color:var(--sel-gold-text)}
.provider-sheet #provider-checkboxes{flex:1 1 auto;min-height:120px;max-height:none;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:8px;padding:6px 18px 14px}
.provider-sheet #provider-checkboxes label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:8px 14px;border:1px solid var(--sel-line);border-radius:22px;background:var(--sel-input);color:var(--sel-text);font-size:14px;line-height:1.2;cursor:pointer}
.provider-sheet #provider-checkboxes label span{min-width:0;overflow-wrap:anywhere}
.provider-sheet #provider-checkboxes input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--sel-gold)}
.provider-sheet #provider-checkboxes label:has(input:checked){border-color:var(--sel-gold);background:var(--sel-glow);font-weight:700}
.provider-sheet #provider-checkboxes label:focus-within{outline:2px solid var(--sel-gold);outline-offset:2px}
.provider-sheet .provider-empty{grid-column:1/-1;margin:8px 0}
.provider-sheet-foot{display:grid;gap:6px;padding:12px 18px 16px;border-top:1px solid var(--sel-line);background:var(--sel-surface-2)}
.provider-sheet .provider-name-label{display:block;margin:0;font-size:13px;font-weight:750}
.provider-name-label span{font-weight:500;color:var(--sel-muted)}
.provider-sheet #selector-profile-name{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;font-size:15px}
.provider-sheet-error{margin:0;font-size:13px;font-weight:700;color:var(--sel-gold-text)}
.provider-sheet-error:empty{display:none}
.provider-sheet-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:4px}
body.selector-page main .provider-sheet-buttons button{min-height:48px;margin:0;font-size:15px}
html.provider-sheet-open,html.provider-sheet-open body{overflow:hidden}
.profile-confirm{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px;border:1px solid var(--sel-line-strong);border-radius:12px;background:var(--sel-surface-2)}
.profile-confirm[hidden]{display:none}
.profile-confirm p{grid-column:1/-1;margin:0;font-size:13px;font-weight:750}
body.selector-page main .profile-confirm button{min-height:44px;margin:0;font-size:13px}
.selector-profiles .provider-actions button[hidden]{display:none}
@keyframes provider-sheet-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.provider-sheet-panel{animation:provider-sheet-in .18s ease-out}}
@media(max-width:600px){
 .provider-sheet{padding:0;place-items:stretch}
 .provider-sheet-panel{width:100%;height:100%;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}
 .provider-sheet-tools{grid-template-columns:minmax(0,1fr)}
 .provider-sheet .provider-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .provider-sheet #provider-checkboxes{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:14px}
 .provider-sheet #provider-checkboxes label{padding:8px 10px;font-size:13px}
 .provider-sheet-foot{padding:10px 14px max(14px,env(safe-area-inset-bottom))}
 .selector-grid .selector-providers{border:0;padding:0;background:none}
}
@media(max-width:340px){.provider-sheet #provider-checkboxes{grid-template-columns:minmax(0,1fr)}}
@media(min-width:601px){body.selector-page main .provider-open{gap:8px;padding:10px 12px;font-size:13px}.provider-open-text{white-space:nowrap}.selector-grid .provider-open #provider-summary{padding:4px 8px;font-size:11px}}
#saved-profiles{min-height:44px}
.selector-page label.check{min-height:44px;display:flex;align-items:center}
/* SELECTOR CARD REFRESH (31 Oct 2026, Aaron: "update the style of the slot selector to match our new cards"): the Prize Winners look on
   this page. Gold On Marble cards (the shared --ic-bg: metallic gold top edge, gold border, marble with corner-only veins, soft ring) for
   Your Game Pool, the picker and both lists; a gold icon beside each card heading; pill rows for the checks, Choose Providers and list
   rows; a soft panel for Saved Profiles; gold gradient SPIN NOW and Spin Again; 12px buttons; a metallic pool count. Motion comes from
   story-kit (sk-motion on <main>): cards rise in, headings get one gold sweep, cards lift and buttons press. Reduced motion: none of it.
   Shared tokens only; the reel and its gold panel stay as they are so they still match the OBS overlay. Appended, never edited above. */
body.selector-page{--rr-glow:var(--sel-glow);--rr-glow-strong:var(--sel-glow-strong);--rr-burst:320px;--rr-burst-y:46px;--sel-metal:linear-gradient(180deg,var(--gold-soft),var(--gold) 55%,var(--gold-strong))}
[data-theme="light"] body.selector-page{--sel-metal:linear-gradient(180deg,var(--gold-text),var(--gold-soft))}
body.selector-page .selector-grid>.card,body.selector-page .selector-lists>.card{border:1px solid var(--gold-line);border-radius:var(--ic-radius,18px);background:var(--ic-bg);box-shadow:var(--ic-ring);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.selector-page .selector-grid>.card:first-child:hover,body.selector-page .selector-lists>.card:hover{border-color:var(--gold)}
body.selector-page .selector-grid>.card:first-child>h2,body.selector-page .selector-lists>.card>h2{position:relative;display:flex;align-items:center;gap:12px;min-height:44px}
body.selector-page .selector-grid>.card:first-child>h2::before,body.selector-page .selector-lists>.card>h2::before{content:'';flex:none;width:44px;height:44px;box-sizing:border-box;border-radius:50%;border:1px solid var(--gold-line);background:radial-gradient(circle at 35% 30%,var(--gold-tint),transparent 70%)}
body.selector-page .selector-grid>.card:first-child>h2::after,body.selector-page .selector-lists>.card>h2::after{content:'';position:absolute;left:11px;top:50%;width:22px;height:22px;margin-top:-11px;background:var(--gold-text);-webkit-mask:var(--sel-icon) center/contain no-repeat;mask:var(--sel-icon) center/contain no-repeat}
body.selector-page .selector-grid>.card:first-child>h2{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='5' height='14' rx='1.5'/%3E%3Crect x='9.5' y='5' width='5' height='14' rx='1.5'/%3E%3Crect x='16' y='5' width='5' height='14' rx='1.5'/%3E%3Cpath d='M12 2.5v1.5M12 20v1.5'/%3E%3C/svg%3E")}
body.selector-page .selector-lists>.card:first-child>h2{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")}
body.selector-page .selector-lists>.card:last-child>h2{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3C/svg%3E")}
body.selector-page .selector-grid #selector-filters>.check{display:flex;align-items:center;gap:10px;min-height:44px;margin:8px 0;padding:4px 14px;box-sizing:border-box;border:1px solid var(--gold-line);border-radius:var(--r-pill,999px);background:color-mix(in oklab,var(--surface) 70%,transparent);font-size:13px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}
body.selector-page .selector-grid #selector-filters>.check:has(input:checked){background:var(--gold-metal,var(--gold));border-color:var(--gold-metal-edge,var(--gold));color:var(--on-gold-metal,var(--on-gold))}
body.selector-page .selector-grid #selector-filters>.check input{accent-color:var(--gold)}
body.selector-page main .provider-open{border-color:var(--gold-line);border-radius:var(--r-pill,999px);background:color-mix(in oklab,var(--surface) 70%,transparent);padding-inline:18px}
body.selector-page main .provider-open:hover:not(:disabled){border-color:var(--gold);background:var(--gold-tint)}
body.selector-page .selector-profiles{border:1px solid var(--gold-line);border-radius:16px;background:linear-gradient(180deg,var(--gold-tint),transparent 85%)}
body.selector-page main button{border-radius:12px}
body.selector-page main #personal-spin,body.selector-page main #spin-again{border-color:var(--gold-strong);background:var(--gold-metal,linear-gradient(120deg,var(--gold-strong),var(--gold)));color:var(--on-gold);font-weight:800;letter-spacing:.04em}
body.selector-page main button.subtle:hover:not(:disabled){border-color:var(--gold);background:var(--gold-tint)}
body.selector-page #result-actions button{border-radius:12px}
body.selector-page .selector-count{width:max-content;max-width:100%;background:var(--sel-metal);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:28px;font-weight:900;font-variant-numeric:tabular-nums}
body.selector-page #selector-bans article,body.selector-page #selector-favourites article{border-color:var(--gold-line);border-radius:16px;background:color-mix(in oklab,var(--surface) 72%,transparent);transition:border-color .18s ease}
body.selector-page #selector-bans article:hover,body.selector-page #selector-favourites article:hover{border-color:var(--gold)}
@media(max-width:600px){body.selector-page{--rr-burst:220px;--rr-burst-y:30px}
 body.selector-page .selector-grid #selector-filters>.check{min-height:48px;margin:0;padding:4px 12px 4px 16px;justify-content:space-between;font-size:14px}
 body.selector-page .selector-grid #selector-filters>.check input{accent-color:auto}
 body.selector-page .selector-count{font-size:22px}
 body.selector-page .selector-grid>.card:first-child>h2,body.selector-page .selector-lists>.card>h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){body.selector-page .selector-grid>.card,body.selector-page .selector-lists>.card,body.selector-page .selector-grid #selector-filters>.check,body.selector-page #selector-bans article,body.selector-page #selector-favourites article{transition:none}}
/* Desktop side panel sits inside a fixed-height screen-fit frame: smaller badge and count keep Spin Now in view. */
@media(min-width:1001px){body.selector-page .selector-grid>.card:first-child>h2{min-height:36px;gap:10px}body.selector-page .selector-grid>.card:first-child>h2::before{width:36px;height:36px}body.selector-page .selector-grid>.card:first-child>h2::after{left:8px;width:20px;height:20px;margin-top:-10px}body.selector-page .selector-grid .selector-count{font-size:22px;margin:6px 0}}
