/* One theme owns the complete game window, including mode selection and actions. */
.machine[data-window-theme]{background:var(--game-paper)!important;border:2px solid color-mix(in srgb,var(--game-b) 65%,white)!important;box-shadow:0 9px 0 color-mix(in srgb,var(--game-b) 25%,transparent),0 22px 55px #63479622!important;--lime:var(--game-a);--pink:var(--game-b);--ink:var(--game-ink);--muted:var(--game-ink)}
.machine[data-window-theme] .tabs{background:var(--game-paper)!important;border-color:var(--game-b)!important;gap:8px;padding:12px!important}.machine[data-window-theme] .tab{background:color-mix(in srgb,var(--game-b) 13%,white)!important;color:var(--game-ink)!important;border:1px solid #fff9;border-radius:18px!important;box-shadow:none}.machine[data-window-theme] .tab.active{background:linear-gradient(130deg,var(--game-a),var(--game-b))!important;color:var(--game-ink)!important;box-shadow:0 4px 0 color-mix(in srgb,var(--game-b) 45%,transparent),inset 0 0 0 2px #fff6!important}.machine[data-window-theme] .tab:after{display:none}
.machine[data-window-theme] .game,.machine[data-window-theme] #blackjack-panel{background:radial-gradient(ellipse at top left,#fff7,transparent 55%),linear-gradient(145deg,var(--game-a),var(--game-b))!important;color:var(--game-ink)!important}.machine[data-window-theme] .game h2,.machine[data-window-theme] .game p,.machine[data-window-theme] .game .bet-label,.machine[data-window-theme] .game .keyboard-hint,.machine[data-window-theme] .bj-heading h2,.machine[data-window-theme] .bj-heading .eyebrow{color:var(--game-ink)!important;text-shadow:none!important}
.machine[data-window-theme] .stage{background:radial-gradient(ellipse at top,#fff9,transparent 65%),linear-gradient(145deg,var(--game-b),var(--game-a))!important;border:2px solid #fffc!important;box-shadow:inset 0 0 0 5px #ffffff19,0 8px 0 #ffffff29!important}.machine[data-window-theme] .stage>small{color:var(--game-ink)!important}.machine[data-window-theme] .reel{background:linear-gradient(160deg,#fff,var(--game-paper))!important;color:var(--game-ink)!important;border:2px solid #fffc!important;box-shadow:0 6px 0 color-mix(in srgb,var(--game-ink) 15%,transparent)!important}.machine[data-window-theme] .reel:nth-child(2){background:linear-gradient(160deg,#fff,var(--game-a))!important}.machine[data-window-theme] .reel:nth-child(3){background:linear-gradient(160deg,#fff,var(--game-b))!important}
.machine[data-window-theme] #play,.machine[data-window-theme] .header-button.primary{background:linear-gradient(120deg,var(--game-paper),var(--game-a))!important;color:var(--game-ink)!important;border:2px solid #fffd!important;box-shadow:0 5px 0 color-mix(in srgb,var(--game-ink) 20%,transparent)!important}.machine[data-window-theme] .header-button:not(.primary),.machine[data-window-theme] [data-bet],.machine[data-window-theme] [data-choice],.machine[data-window-theme] .betbox{background:var(--game-paper)!important;color:var(--game-ink)!important;border-color:#fffa!important}.machine[data-window-theme] .selected{outline:2px solid var(--game-ink)}
.machine[data-window-theme] .duel-mode-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;background:var(--game-paper)!important;border:1px solid #fff!important;outline:none!important;box-shadow:0 4px 0 #ffffff40!important;padding:7px!important;border-radius:18px!important}.machine[data-window-theme] .duel-mode-tabs button{min-width:0;min-height:46px;background:#fff7!important;color:var(--game-ink)!important;border:0!important;border-radius:12px!important;box-shadow:none!important}.machine[data-window-theme] .duel-mode-tabs button[aria-pressed=true],.machine[data-window-theme] .duel-mode-tabs button.active{background:linear-gradient(120deg,var(--game-a),var(--game-b))!important;box-shadow:inset 0 0 0 2px #fff9!important}
.machine[data-window-theme] .bj-controls{background:var(--game-paper)!important;border:1px solid #fff9!important;padding:16px!important;border-radius:22px!important;box-shadow:0 5px 0 #ffffff30!important;color:var(--game-ink)!important;gap:10px}.machine[data-window-theme] .bj-controls label,.machine[data-window-theme] .bj-controls .eyebrow,.machine[data-window-theme] .bj-controls span{color:var(--game-ink)!important}.machine[data-window-theme] .bj-controls input{background:#fff!important;color:var(--game-ink)!important;border:1px solid var(--game-b)!important}.machine[data-window-theme] .bj-empty{background:#ffffff66!important;color:var(--game-ink)!important}.machine[data-window-theme] .bj-empty p,.machine[data-window-theme] .bj-empty h3{color:var(--game-ink)!important}.machine[data-window-theme] .bj-felt{background:radial-gradient(ellipse at center,#ffffff55,transparent 70%),linear-gradient(140deg,var(--game-b),var(--game-a))!important}.machine[data-window-theme] .bj-seat,.machine[data-window-theme] .arena-entry,.machine[data-window-theme] .arena-search,.machine[data-window-theme] .arena-score,.machine[data-window-theme] .arena-result{background:var(--game-paper)!important;color:var(--game-ink)!important;border-color:#fff!important}.machine[data-window-theme] .bj-seat.mine{background:linear-gradient(140deg,var(--game-paper),#fff)!important;border-color:var(--game-a)!important}
.machine[data-custom-theme=true] .game{background:linear-gradient(130deg,var(--game-paper),color-mix(in srgb,var(--skin-accent) 50%,var(--game-paper))),var(--skin-soft-image)!important}.machine[data-custom-theme=true] .stage{background-image:var(--secret-slot-image)!important;background-size:cover!important;background-position:center!important}.machine[data-custom-theme=true] .tab.active,.machine[data-custom-theme=true] #play{background:linear-gradient(120deg,var(--game-paper),var(--skin-accent,var(--game-a)))!important}
/* Profile cards: eliminate leftover dark surfaces and create a cohesive light identity. */
#profile-dialog,#public-profile-dialog{background:#fff8ff!important;color:#48345e!important;border:2px solid #dbc5f0!important;box-shadow:0 24px 90px #56317233!important}#profile-dialog .dialog-head,#public-profile-dialog .dialog-head{background:#fff8ff!important;color:#624675!important;border-bottom:1px solid #e7d6ee}#profile-dialog .public-identity,#public-profile-dialog .public-identity{background:transparent!important}#profile-dialog h2,#public-profile-dialog h2{color:#49345f!important;text-shadow:none!important}#profile-dialog .stat-box,#public-profile-dialog .stat-box{background:linear-gradient(145deg,#fff,#efe5ff)!important;border:1px solid #e1cdee!important;box-shadow:0 4px 0 #dcc4ee40!important}#profile-dialog .stat-box strong,#public-profile-dialog .stat-box strong{color:#61407e!important}#profile-dialog .stat-box span,#public-profile-dialog .stat-box span,#profile-dialog .stat-box small,#public-profile-dialog .stat-box small{color:#705484!important}#profile-dialog .reward-card,#profile-dialog .profile-look-settings,#public-profile-dialog .brand-links{background:#f5eaff!important;color:#624475!important;border-color:#e1c8ed!important}#profile-dialog .dialog-body,#public-profile-dialog .public-profile-info{color:#604977!important}#profile-dialog .eyebrow,#public-profile-dialog .eyebrow{color:#775189!important}#profile-dialog .public-identity{padding-top:16px;padding-bottom:18px;margin-top:-40px}#public-profile-dialog .public-identity{padding-bottom:18px}#profile-dialog .public-avatar,#public-profile-dialog .public-avatar{border-color:#fff8ff!important}#profile-dialog .profile-stats,#public-profile-dialog .profile-stats{gap:10px}.public-actions{margin-top:18px}.public-custom-title{line-height:1.6!important;overflow-wrap:anywhere}.public-cover{box-shadow:inset 0 -1px 0 #fff6}
.club-menu-section{grid-column:1/-1;border:1px solid #e4cdec;border-radius:20px;overflow:hidden;background:#fff8ff;margin-bottom:10px}.club-menu-section>summary{padding:18px 20px;font-weight:800;color:#5e3d79;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.club-menu-section>summary:after{content:'+';font-size:20px}.club-menu-section[open]>summary:after{content:'−'}.club-menu-items{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px 12px}.club-menu-section:has(.club-menu-items):not(:has(button:not([hidden]):not(.app-desktop-navigation))):last-child{display:none}.game-look-progress{margin-bottom:12px;font-size:12px;color:#614578}.game-look-progress progress{display:block;width:100%;height:9px;accent-color:#ba6fea;margin-top:8px;border-radius:10px}.cosmetic-preview[class*=game-]{background:linear-gradient(140deg,#ffd080,#ff82b9)!important;color:#572d58!important}.cosmetic-preview[class*='game-'][class$='-2']{background:linear-gradient(140deg,#69ead3,#69beff)!important}.cosmetic-preview[class*='game-'][class$='-3']{background:linear-gradient(140deg,#ffd562,#ff986b)!important}.cosmetic-preview[class*='game-'][class$='-4']{background:linear-gradient(140deg,#b59aff,#ff96d9)!important}.cosmetic-preview[class*='game-'][class$='-5']{background:linear-gradient(140deg,#79e6ef,#d9acff)!important}.cosmetic-preview[class*=game-]>span{border:2px solid #fff9;border-radius:18px;padding:12px;background:#ffffff33;animation:luxe-title 4s ease-in-out infinite}body[data-effects=quiet] .cosmetic-preview[class*=game-]>span{animation:none!important}@media(prefers-reduced-motion:reduce){.cosmetic-preview[class*=game-]>span{animation:none!important}}
@media(max-width:700px){.machine[data-window-theme] .tabs{gap:7px;padding:8px!important}.machine[data-window-theme] .tab{padding:12px 6px!important;border-radius:15px!important}.machine[data-window-theme] .duel-mode-tabs{margin:0 0 22px!important}.machine[data-window-theme] .bj-controls{display:flex;flex-wrap:wrap;padding:12px!important}.machine[data-window-theme] .bj-controls label{flex:1 1 100%;min-width:0}.machine[data-window-theme] .bj-controls label input{width:100%;min-height:48px}.machine[data-window-theme] .bj-controls button{flex:1 1 110px;min-height:48px}.club-menu-items{grid-template-columns:1fr}.club-menu-items button{min-height:52px!important;text-align:left;padding:15px 18px!important}#profile-dialog .public-identity h2,#public-profile-dialog .public-identity h2{font-size:clamp(20px,6vw,28px)!important;line-height:1.15!important}#profile-dialog .public-avatar,#public-profile-dialog .public-avatar{width:68px;height:68px;border-radius:22px}.public-profile-info .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.public-profile-info .stat-box{padding:12px 8px}.public-profile-info .stat-box strong{font-size:15px!important}}

.profile-arena-rank{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid #ddc5ed;border-radius:18px;background:linear-gradient(130deg,#f6e8ff,#e7f9ff);color:#68417c;margin:18px 0;font-weight:800;font-size:13px}

.machine[data-window-theme] .duel-mode-tabs button.primary{background:linear-gradient(120deg,var(--game-a),var(--game-b))!important;box-shadow:inset 0 0 0 2px #fff9!important}.club-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.club-goal{display:flex;flex-direction:column;gap:8px;min-width:0;border:1px solid #ddc5ed;border-radius:18px;background:linear-gradient(140deg,#fff4e0,#ffeaf8);color:#5b3e77;padding:16px;text-align:left;font:inherit;cursor:pointer}.club-goal b{font-size:15px}.club-goal span{font-size:13px}.club-goal small{font-size:11px}.club-goal progress{width:100%;height:7px;accent-color:#b064d7}.collection-count{font-weight:800;color:#805494;font-size:12px;margin:16px 0}.cosmetic-preview[class*=event-]{background:radial-gradient(circle at top,#fff4bb,transparent),linear-gradient(140deg,#bd80ef,#ff8cc8)!important}.cosmetic-preview[class*=event-frame]>span{width:70px;height:70px;border:3px double #ffefa5;border-radius:22px;box-shadow:0 0 12px #ffe3a9;animation:luxe-pulse 4s ease-in-out infinite}body[data-effects=quiet] .cosmetic-preview[class*=event-frame]>span{animation:none!important}@media(max-width:700px){.club-goals{grid-template-columns:1fr}.club-goal{display:grid;grid-template-columns:1fr auto;align-items:center}.club-goal progress{grid-column:1/-1}.club-goal span{grid-row:2}.club-goal small{grid-column:2;grid-row:1/3}}

body[data-frame^=event-frame] #profile-avatar,.profile-picture[data-frame^=event-frame]{border:3px double #e699e7!important;box-shadow:0 0 0 4px #ffe4a9,0 0 22px #bd80ef99!important}body[data-title=event-title-4] #cosmetic-title,.public-custom-title[data-title=event-title-4]{color:#aa468e!important;text-shadow:0 0 10px #ee8bd4;letter-spacing:1px}.machine[data-window-theme$="-5"] .stage:after{background:conic-gradient(from 45deg,transparent,#fff5,transparent,#b994ed66,transparent)!important;opacity:.5!important}.machine[data-window-theme] .bet-label{color:var(--game-ink)!important}body.blc-hidden .machine *,body.blc-hidden .machine *:after,body.blc-hidden .machine *:before{animation-play-state:paused!important}

.machine[data-window-theme] .bj-dealer .eyebrow,.machine[data-window-theme] .bj-dealer small{color:var(--game-ink)!important;opacity:1}

/* Rounded shared wager controls for Slots and Coin Flip. */
.machine .betbox{border-radius:24px!important;padding:10px!important;border:1px solid #ffffffb3!important;box-shadow:0 5px 0 #70539318;overflow:visible}
.machine .betbox>.label{display:block;padding:0 8px 8px;margin:0;font-size:11px;font-weight:800;letter-spacing:1px}
.machine .betcontrol{border-radius:18px!important;overflow:hidden;padding:5px!important;border:1px solid #ffffffa6!important}
.machine .betcontrol button{border-radius:14px!important;min-width:44px;min-height:44px;flex-shrink:0}
.machine .betcontrol input{min-width:0;border-radius:12px!important;background:transparent!important}
