/* Vegas — the private table. Burgundy lacquer, brass and green roulette felt.
   Scoped to this mode; layout, wagers and game rules stay with the game. */
body.mode-vegas{
 --vegas-jet:#210911;--vegas-jet-hi:#4b1024;--vegas-magenta:#e0bd72;
 --vegas-cyan:#d7b9c4;--vegas-gold:#e0bd72;--vegas-cream:#f5f6f3;
}
body.mode-vegas{
 background:#210911;
 --vg-felt:#4b1024;--vg-deep:#210911;--vg-panel:#601a32;--vg-line:#986476;
 --vg-gold:#e0bd72;--vg-white:#f5f6f3;--vg-muted:#dfc7d0;--vg-red:#bd433f;
 --accent:#e0bd72;--gold:#e0bd72;
}
/* Full-bleed casino artwork; the mode title remains live, readable text. */
html:root body .playbill--vegas{
 --pc:#e0bd72;background:#4b1024!important;color:#f5f6f3!important;
 border:1px solid #a98d54!important;box-shadow:none!important;isolation:isolate;
}
html:root body .playbill--vegas::before{
 inset:8px;border:1px solid #8c7546!important;box-shadow:none!important;
}
html:root body .playbill--vegas .playbill__vibe{
 opacity:1!important;inset:0;background:#210911;
}
html:root body .playbill--vegas .playbill__vibe img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none!important}
html:root body .playbill--vegas .playbill__vibe::after{background:linear-gradient(180deg,transparent 48%,#21091155 65%,#14060cf2 100%)!important}
html:root body .playbill--vegas .playbill__title{
 color:#f5f6f3!important;font-family:'Bungee Inline',Impact,sans-serif!important;
 letter-spacing:.045em!important;text-shadow:0 3px 0 #200910!important;
}
html:root body .playbill--vegas :is(.playbill__tag,.playbill__tag-line){color:#e0bd72!important;text-shadow:none!important}
html:root body .playbill--vegas .playbill__level{background:#f5f6f3!important;border-color:#f5f6f3!important;color:#4b1024!important;text-shadow:none!important}
html:root body .playbill--vegas .playbill__flourish{border-color:#e0bd72!important;box-shadow:none!important}
html:root body .playbill--vegas .playbill__info{background:#210911!important;border-color:#e0bd72!important;color:#f5f6f3!important}
html:root body .playbill--vegas .playbill__info b{color:#e0bd72!important}
html:root body .playbill--vegas .vegas-wheel{display:none}
html:root body #launcher .playbill--vegas :is(.pbx-spot,.pb-shine,.pbx-frame){display:none!important}
html:root body #launcher .playbill--vegas .playbill__level{background:#f5f6f3!important;color:#4b1024!important;border-color:#f5f6f3!important}
html:root body #launcher .playbill--vegas .playbill__tag-line{color:#e0bd72!important}
html:root body .playbill--vegas:hover{border-color:#f0d69f!important;transform:translateY(-3px)}
/* Burgundy team table and controls. */
html:root body.mode-vegas #setup[data-world=vegas]{
 --world-bg:#210911;--world-panel:#4b1024;--world-field:#330b1b;--world-line:#a06b7d;
 --world-accent:#e0bd72;--world-ink:#f5f6f3;--world-muted:#dfc7d0;
}
html:root body.mode-vegas #setup .team-world__image{display:none}
html:root body.mode-vegas #setup[data-world=vegas] .team-world__art::after{background:none}
html:root body.mode-vegas #setup[data-world=vegas] .vegas-sign>strong{
 color:#f5f6f3;font-family:'Bungee Inline',Impact,sans-serif;text-shadow:0 3px 0 #6d2940;
}
html:root body.mode-vegas #setup[data-world=vegas] .vegas-sign>span{color:#e0bd72}
html:root body.mode-vegas #setup[data-world=vegas] .vegas-sign__suits{color:#c6a668;letter-spacing:0;padding:0;font:600 11px/1.4 Archivo,Arial,sans-serif}
html:root body.mode-vegas #setup[data-world=vegas] .setup-card{
 background:#4b1024!important;border:3px solid #300c19!important;outline:1px solid #a88b51;
 border-radius:16px!important;box-shadow:inset 0 0 0 1px #94674e!important;
}
html:root body.mode-vegas #setup[data-world=vegas] .rng-col{background:#370d1e;border-color:#986476;border-radius:8px}
html:root body.mode-vegas #setup[data-world=vegas] .rng-col:focus-within{border-color:#e0bd72;background:#611932}
html:root body.mode-vegas #setup[data-world=vegas] :is(.vegas-chip,.rng-col[data-side=b] .vegas-chip){
 background:#111714;outline-color:#c6a668;border-color:#f5f6f3;color:#e0bd72;box-shadow:0 3px 0 #030b07;
}
html:root body.mode-vegas #setup .team-dealt-card{
 background:#090c0b url('vegas-house-back.svg') center / 100% 100%;border:1px solid #b39761;
 border-radius:7px;box-shadow:0 4px 6px #0008;
}
html:root body.mode-vegas #setup .team-card-back{color:#e0bd72;background:transparent;font-family:'Cinzel',Georgia,serif}
html:root body.mode-vegas #setup :is(.team-card-face,.team-dealt-card:last-child .team-card-face){background:#f5f6f3;color:#4b1024}
html:root body.mode-vegas #setup .team-dealt-card:last-child .team-card-face{color:#9d302e}
html:root body.mode-vegas #setup[data-vegas-team] .team-dealt-card.is-active{border-color:#ecd5a8;box-shadow:0 5px 7px #0009}
html:root body.mode-vegas #setup .team-world__continue{background:transparent!important}
html:root body.mode-vegas #setup :is(.btn--primary,#toCatBtn){background:#e0bd72!important;color:#290c17!important;border-color:#e0bd72!important;box-shadow:none!important}
/* Category library: light intro, burgundy catalogue, brass selected picks. */
html:root body.mode-vegas :is(#categorySelect,.cs-info-dialog)[data-world=vegas]{
 --cs-bg:#4b1024;--cs-panel:#631e36;--cs-field:#59142e;--cs-line:#ac7b8d;--cs-muted:#ead3dc;
 --cs-accent:#e0bd72;--cs-accent-ink:#310f1d;--cs-intro:#f1e9ed;--cs-intro-ink:#4c1428;
 --cs-intro-muted:#71384d;--cs-group:#e8d9b4;--cs-count:#86586b;--cs-dock:#300c19;--cs-gold:#e0bd72;
}
html:root body.mode-vegas #categorySelect[data-world=vegas] .cs-intro{border:1px solid #ab7b8d;border-radius:10px;box-shadow:none}
html:root body.mode-vegas #categorySelect .cs-search{background:var(--cs-bg)!important}
html:root body.mode-vegas #categorySelect .cs-dock{background:var(--cs-dock);border-color:var(--cs-line)}
html:root body.mode-vegas #categorySelect .cs-category-group h3::before{color:#e0bd72}
html:root body.mode-vegas #categorySelect .is-selected .cs-art{box-shadow:0 0 0 1px #e0bd72}
html:root body.mode-vegas #categorySelect .cs-world-art{
 background:#4b1024 url('vegas-house-seal.svg') center / 170px auto no-repeat;border-left:0;
}
html:root body.mode-vegas #categorySelect .cs-world-art :is(img,span){display:none}
html:root body.mode-vegas #categorySelect .cs-card-name{color:#f5f6f3}
/* Table: one-screen board sizing is inherited, including landscape phones. */
html:root body.mode-vegas #board[data-board-theme]{
 --board-paper:#4b1024;--board-card:#350c1c;--board-ink:#f5f6f3;--board-muted:#e1c8d2;
 --board-line:#9b677d;--board-accent:#e0bd72;--board-secondary:#d2a2b5;
 --board-active:#671a37;--board-hover:#782545;
}
html:root body.mode-vegas #board[data-board-theme=light]{
 --board-paper:#f1e9ed;--board-card:#fcfafb;--board-ink:#4d1028;--board-muted:#77566a;
 --board-line:#a78999;--board-accent:#78571b;--board-secondary:#843453;
 --board-active:#e7d2dc;--board-hover:#ead9e1;
}
html:root body.mode-vegas #board[data-board-theme] .stage-header{border-color:var(--board-line)!important}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .cat-col__name{
 background:#f0e9ec!important;color:#4b1024!important;border-bottom:2px solid #b69b60!important;
}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:not(.used){
 background:#090c0b url('vegas-house-back.svg') center / 100% 100% no-repeat!important;
 border:1px solid #aa915b!important;box-shadow:0 2px 0 #030a06!important;
 border-radius:7px!important;transition:filter .18s ease-out,transform .18s ease-out;
}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:not(.used)::before{display:none!important}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:not(.used):hover{
 border-color:#f3d69b!important;filter:brightness(1.16);transform:translateY(-1px);
}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:focus-visible{outline:3px solid #f3d69b!important}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile.used{background:var(--board-card)!important;border-color:var(--board-line)!important;color:var(--board-muted)!important}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .vchip{
 background:repeating-conic-gradient(#e6d29e 0deg 12deg,#141b16 12deg 30deg,#f5f6f3 30deg 42deg,#141b16 42deg 60deg);
 box-shadow:0 3px 4px #000b;outline:1px solid #9d8757;
}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .vchip::before{background:#2b101a;border:1px solid #baa06a}
html:root body.mode-vegas #board[data-board-theme] #boardGrid .vchip i{color:#edd7a1;font-family:Archivo,Arial,sans-serif;font-weight:700}
/* Gameplay dialogs, wagers and results inherit the house materials. */
html:root body.mode-vegas :is(.qa-card,.kt-intro__card,.kt-modal__card,.kt-burst){
 background:#3d1022!important;color:#f5f6f3!important;border-color:#a58d5a!important;box-shadow:0 6px 8px #0007!important;
}
html:root body.mode-vegas :is(.kt-modal__title,.kt-intro__title,.stage-header h2,.answer-text,.kt-burst__label,.wheel-overlay__title){
 color:#e0bd72!important;text-shadow:none!important;
}
html:root body.mode-vegas :is(.question-text,.kt-intro__sub,.wheel-result){color:#f5f6f3!important;text-shadow:none!important}
html:root body.mode-vegas :is(.btn--primary,.kt-intro__btn,.kt-modal__btn){background:#e0bd72!important;color:#290c17!important;border-color:#e0bd72!important;box-shadow:none!important}
html:root body.mode-vegas .vegas-wager-strip{background:#59142c!important;border-color:#95674c!important;box-shadow:none!important;color:#f5f6f3!important}
html:root body.mode-vegas .vegas-wager-strip b{text-shadow:none!important}
html:root body.mode-vegas .astra-sound-button{background:#350c1c!important;border-color:#a06b7d!important;color:#f5f6f3!important}
html:root body.mode-vegas #astra-sound-panel{background:#350c1c;border-color:#a06b7d;color:#f5f6f3}
html:root body.mode-vegas .wheel-overlay{background:#200811f5!important}
html:root body.mode-vegas .wheel-overlay::before{background:none!important}
html:root body.mode-vegas .kt-wheel__pointer{filter:none!important}
html:root body.mode-vegas .kt-wheel__svg [fill="url(#wg0)"]{fill:#164c36}
html:root body.mode-vegas .kt-wheel__svg [fill="url(#wg1)"]{fill:#a93632}
html:root body.mode-vegas .kt-wheel__svg [fill="url(#wg2)"]{fill:#15231c}
html:root body.mode-vegas .kt-wheel__svg [fill="url(#wg3)"]{fill:#635023}
html:root body.mode-vegas :is(.timer,.score-value,.wheel-result strong){text-shadow:none!important}
html:root body.mode-vegas #gameover.result-stage[data-result-mode=vegas]{
 --result-accent:#e0bd72;--result-surface:#601a32;--result-bg:#210911;--result-border:#a8768a;
}
html:root body.mode-vegas .result-art{background:#4b1024 url('vegas-house-seal.svg') center/80% auto no-repeat!important}
html:root body.mode-vegas .result-art img{display:none}
html:root body.mode-vegas :is(.turn-chip,#kt-mute-btn){background:#4b1024;color:#e0bd72;border-color:#ac7b8d;box-shadow:none}
@media(orientation:landscape) and (max-height:600px){
 html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:not(.used){border-radius:4px!important}
}
@media(max-width:800px){
 html:root body.mode-vegas #setup[data-world=vegas] .setup-card{border-radius:12px!important}
}
@media(prefers-reduced-motion:reduce){
 html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile{transition:none!important}
 html:root body.mode-vegas #board[data-board-theme] #boardGrid .tile:hover{transform:none!important}
 html:root body .playbill--vegas:hover{transform:none}
}
/* The embedded rule sheet shares the Vegas identity only when its tab is selected. */
body[data-page=playbook]:has([data-rule=vegas][aria-pressed=true]){
 --surface:#4b1024;--ink:#f5f6f3;--muted:#dfc7d0;--gold:#e0bd72;--line:#986476;
}
body[data-page=playbook]:has([data-rule=vegas][aria-pressed=true]) .rule-art{
 background:#210911 url('vegas-house-seal.svg') center 36px / 92% auto no-repeat;
}
body[data-page=playbook]:has([data-rule=vegas][aria-pressed=true]) .rule-art img{visibility:hidden}
body[data-page=playbook]:has([data-rule=vegas][aria-pressed=true]) .win-condition{background:#631e36;color:#f5f6f3}
/* Green roulette felt is reserved for the question and reveal surfaces. */
html:root body.mode-vegas :is(#question,#answer) .stage-bg{background:#210911!important}
html:root body.mode-vegas :is(#question,#answer) .qa-card{
 background:#095438!important;
 border:14px solid #21191b!important;border-radius:64px 64px 28px 28px!important;
 box-shadow:0 0 0 1px #947348,inset 0 0 0 2px #b6a571,0 10px 22px #12050a80!important;
}
html:root body.mode-vegas :is(#question,#answer) .qa-card::before{
 content:"";position:absolute;inset:8px;border:1px solid #dfd1a2;border-radius:40px 40px 12px 12px;pointer-events:none;
}
html:root body.mode-vegas :is(#question,#answer) .qa-card::after{
 content:none!important;
}
html:root body.mode-vegas :is(#question,#answer) .qa-content{padding:20px 10px!important;gap:16px!important}
html:root body.mode-vegas :is(#question,#answer) .qa-content::before{display:none}
html:root body.mode-vegas :is(#question,#answer) .kt-qbg{display:none!important}
html:root body.mode-vegas :is(#question,#answer) :is(.question-text,.answer-text){color:#fffaf0!important;text-shadow:none!important}
html:root body.mode-vegas :is(#question,#answer) :is(.category-tag,.answer-tagline){color:#dce8d5!important}
html:root body.mode-vegas :is(#question,#answer) :is(.qa-topbar,.qa-actions){border-color:#d5d7ae55!important}
html:root body.mode-vegas :is(#question,#answer) .btn:not(.btn--primary){
 background:#083e2a!important;color:#fffaf0!important;border-color:#a7bf9c!important;box-shadow:none!important;
}
html:root body.mode-vegas :is(#question,#answer) .btn:focus-visible{outline:3px solid #f6d98c;outline-offset:3px}
html:root body.mode-vegas :is(#question,#answer) .points-tag{background:#083e2a!important;color:#edd7a1!important;border-color:#b9a26c!important}
@media(max-width:600px){
 html:root body.mode-vegas :is(#question,#answer) .qa-card{border-width:8px!important;border-radius:32px 32px 20px 20px!important}
 html:root body.mode-vegas :is(#question,#answer) .qa-card::before{border-radius:20px 20px 10px 10px}
 html:root body.mode-vegas :is(#question,#answer) .qa-content::before{height:82px}
}
@media(orientation:landscape) and (max-height:600px){
 html:root body.mode-vegas :is(#question,#answer) .qa-content{padding:5px 8px!important;gap:5px!important}
 html:root body.mode-vegas :is(#question,#answer) .qa-content::before{height:40px}
 html:root body.mode-vegas :is(#question,#answer) .qa-card{border-width:6px!important;border-radius:30px 30px 16px 16px!important}
}
/* Quiet printed felt and a curved dealer rail, with no illustration in the reading area. */
.vg-chamber-spin .kt-wheel{width:min(360px,65vw,55dvh)!important;height:auto!important;aspect-ratio:1}
.vg-chamber-spin .kt-wheel__pointer{border-top-color:#ead091!important}
.vg-chamber-spin .is-chosen .vg-chamber-well{fill:#c49a4e;stroke:#fff0ba}
.vg-chamber-spin .kt-wheel.landed .kt-wheel__svg{animation:none!important}
.vg-chamber-spin .wheel-result{max-width:36ch;padding-inline:16px}
.vg-ball-spin .kt-wheel{position:relative}
.vg-ball-track{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.vg-ball-spin .kt-wheel__pointer{display:none!important}
.vg-ball-spin .wbulb{display:none}
.vg-ball-spin .kt-wheel.landed .kt-wheel__svg{animation:none!important}
.vg-ball-landed .vg-ball{filter:drop-shadow(0 0 1px #fff8)}
@media(prefers-reduced-motion:reduce){.vg-chamber-spin .kt-wheel__svg{transition:none!important}}
html:root body.mode-vegas :is(#question,#answer) .qa-content::after{
 content:"KNOWTORIOUS · VEGAS";color:#d9cc9e;font:600 10px/1.4 Archivo,Arial,sans-serif;letter-spacing:.18em;
}
html:root body.mode-vegas :is(#question,#answer) :is(.qa-perks,.award-buttons){
 border-top:1px solid #d7c99580!important;border-radius:50% 50% 0 0 / 16px 16px 0 0;padding-top:22px!important;
}
html:root body.mode-vegas :is(#question,#answer) .qa-card{
 background:radial-gradient(ellipse at 50% 0,#116042,#094b34 75%)!important;
}
@media(orientation:landscape) and (max-height:600px){
 html:root body.mode-vegas :is(#question,#answer) .qa-content::after{font-size:8px}
 html:root body.mode-vegas :is(#question,#answer) :is(.qa-perks,.award-buttons){padding-top:8px!important}
}

/* Legacy introductions and transient notices share the private-table palette. */
html.kt-live-ui body.mode-vegas .kt-intro__card{--ki-accent:#e0bd72}
html:root body.mode-vegas .kt-toast{background:#32101e!important;border-color:#957747!important;color:#f5eee8!important;box-shadow:0 8px 24px #0005!important}
html:root body.mode-vegas .kt-burst__msg{color:#dbc9ce!important}
