/* Final shared layout layer: compact lobby and a consistent game workspace. */
body.salon-home{background:radial-gradient(ellipse at 50% 0,#28544055,transparent 65%),#081a15}
body.salon-home .salon{max-width:1440px!important;padding:0 24px 18px!important}
body.salon-home .topbar{min-height:48px!important;padding:8px 0!important;gap:12px!important;border-bottom:1px solid #bb9c5c66}
body.salon-home .wordmark{font:600 18px/1.2 Georgia,serif!important;letter-spacing:.08em!important;color:#f3d89a}
body.salon-home .wordmark:before{content:'♠';display:inline-block;margin-right:9px;color:#d4ad62;font-size:24px}
body.salon-home .front-online{position:absolute;right:28px;top:14px;margin:0;font-size:10px;color:#b9c8b8;background:none}
body.salon-home .entertainment-notice{font-size:10px;line-height:1.3;margin:6px 0!important;padding:0!important;text-align:left;background:none;border:0}
body.salon-home #salon-home{padding:12px 0 0!important}
body.salon-home .home-label{font:600 9px/1.3 system-ui;letter-spacing:.2em;margin:0 0 5px;color:#c5a261}
body.salon-home #home-title{font:400 clamp(26px,3vw,38px)/1.08 Georgia,serif!important;margin:0 0 6px!important;letter-spacing:-.025em}
body.salon-home #home-title span{display:inline!important}body.salon-home .home-intro{font:12px/1.5 system-ui;margin:0 0 10px!important;color:#b8c7b8}
body.salon-home .discovery-actions{justify-content:flex-start!important;margin:0 0 14px!important;gap:6px!important}
body.salon-home .discovery-actions :is(a,button){min-height:38px!important;padding:7px 13px!important;font-size:12px!important;border-radius:6px!important}
body.salon-home #discovery{margin-bottom:12px!important;gap:0}body.salon-home #discovery :is(#recent,#new-games,#continue,#popular){display:none!important}
body.salon-home #featured h2{font:600 11px/1.2 system-ui!important;text-transform:uppercase;letter-spacing:.12em!important;padding-bottom:6px;margin:0 0 7px}
body.salon-home #featured .discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.salon-home #featured .discovery-grid a{grid-template-columns:38% 1fr!important;min-height:0;background:#143324!important;border:1px solid #9b804855}
body.salon-home #featured .discovery-grid img{min-height:60px!important;max-height:95px}body.salon-home #featured .discovery-grid strong{font-size:13px!important}
body.salon-home .catalog-heading{margin:10px 0 8px!important;align-items:center}body.salon-home .catalog-heading h2{font:400 25px Georgia,serif!important}body.salon-home .catalog-heading p{display:none}
body.salon-home .category-links{gap:6px;margin-bottom:12px}body.salon-home .category-links a{min-height:36px;padding:7px 11px;font-size:11px;border-radius:6px}
body.salon-home .lobby-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
body.salon-home .lobby-group h2{font:400 20px Georgia,serif!important;margin-bottom:8px!important;padding-bottom:6px!important}
body.salon-home .game-card{border-radius:8px!important;box-shadow:0 4px 12px #0003!important}body.salon-home .game-art{aspect-ratio:16/9}body.salon-home .game-copy{padding:7px 8px!important;min-height:40px!important}body.salon-home .game-copy strong{font-size:13px!important}body.salon-home .game-votes{padding:0 5px 5px!important}body.salon-home .vote-button{min-height:34px!important;font-size:11px!important}
/* The rail is a quiet companion to the table, not a second masthead. */
body[data-play-first] header{min-height:42px!important;max-width:none!important;margin:0!important;padding:4px 112px 4px 12px!important;background:#0b231b!important;box-shadow:none!important}
body[data-play-first] header :is(.wordmark,.brand,.arcade-brand){font:600 13px/1.2 Georgia,serif!important;letter-spacing:.04em!important}
body[data-play-first] .screen-heading{min-height:0!important;padding:5px 8px!important}body[data-play-first] .screen-heading h1{font:400 23px/1.1 Georgia,serif!important;margin:0!important}
body[data-play-first] :is(.screen-eyebrow,#game-detail){display:none!important}
body[data-play-first] :is(.salon,.pool-shell,.casino-shell,.connect-shell){padding-top:0!important}
body[data-play-first] .game-options-rail{border-radius:8px!important;border-color:#a88b4b55!important;background:#10291f!important;box-shadow:none!important}
body[data-play-first] .game-options-rail>summary{font:600 12px/1.3 system-ui;padding:12px;min-height:42px;color:#e2c58b}
body[data-play-first] .rail-content{padding:0 10px 10px}.rail-content>h2{display:none}.rail-content>section{padding:10px 0;border-bottom:1px solid #a28b4c33}.rail-content>section>h3{font:600 10px/1.3 system-ui;letter-spacing:.12em;text-transform:uppercase;color:#c3a46a;margin:0 0 8px}.rail-content>section:last-child{border-bottom:0}.rail-content .top-actions{margin:0}.rail-content .play-tools{margin:7px 0 0}.rail-content :is(button,select){border-radius:6px!important;background:#1b3b2c;border:1px solid #82906a66;color:#f0e5c9;font:500 12px/1.3 system-ui!important}.rail-content button:hover{background:#2c4c36}.rail-content :is(.game-guide,.arcade-scores,.game-rating,.game-about,.discovery-related){margin:4px 0!important;padding:0 7px!important;background:transparent;border-color:#a18b4944!important;max-width:100%}.rail-content :is(.game-guide,.arcade-scores,.game-rating,.game-about)>summary{font-size:12px!important;min-height:40px!important;padding:10px 0!important}.rail-content .game-guide-steps{display:block}.rail-content .game-guide-steps section{padding:8px;margin:5px 0}.rail-content .game-guide h2{font-size:19px}.rail-content :is(.game-guide,.arcade-scores,.game-about) p{font-size:12px}.rail-content .arcade-scores form{display:block}.rail-content .arcade-scores input{width:100%}.rail-content .settings .eyebrow,.rail-content .settings h2,.rail-content .table-note{display:none}.rail-content .settings{padding:8px!important}.rail-content .settings label{margin-top:8px}.rail-content .setting-note{font-size:11px!important}.rail-content .moves-panel{margin-top:8px}.rail-content .music-panel{padding:8px!important}
@media(min-width:1100px){body[data-play-first]{padding-right:276px!important}body[data-play-first] .game-options-rail{top:8px;right:8px;width:252px;max-height:calc(100dvh - 16px)}body[data-play-first] header{padding-right:12px!important}.rail-content{max-height:calc(100dvh - 62px)!important}body[data-play-first] .game-switcher{right:24px;bottom:12px}body[data-play-first] .chess-layout .table-column{max-width:min(850px,calc(100svh - 220px))}body[data-play-first] .machine{margin-top:0!important}body[data-play-first] .layout{gap:8px!important}}
@media(max-width:1099px){body.salon-home .lobby-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-play-first] .game-options-rail{right:5px;top:3px}.rail-content{max-height:calc(100dvh - 60px)!important}body[data-play-first] .game-options-rail[open]{width:min(330px,calc(100vw - 10px))}}
@media(max-width:600px){body.salon-home .salon{padding:0 10px 12px!important}body.salon-home .topbar{min-height:42px!important}body.salon-home .wordmark{font-size:14px!important;letter-spacing:.025em!important}body.salon-home .wordmark:before{font-size:20px;margin-right:6px}body.salon-home .front-online{position:static;display:none}body.salon-home .entertainment-notice{font-size:9px!important;margin:4px 0!important}body.salon-home #salon-home{padding-top:7px!important}body.salon-home .home-label{display:none}body.salon-home #home-title{font-size:27px!important}body.salon-home .home-intro{font-size:11px!important;margin-bottom:8px!important}body.salon-home .discovery-actions{display:flex!important;gap:5px!important;margin-bottom:10px!important}body.salon-home .discovery-actions>*{flex:1;font-size:11px!important;padding:6px!important;min-height:40px!important}body.salon-home #featured .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body.salon-home #featured .discovery-grid a{display:flex!important;flex-direction:column}body.salon-home #featured .discovery-grid img{width:100%;max-height:90px}body.salon-home #featured .discovery-grid span{display:none}body.salon-home #featured .discovery-grid strong{padding:7px!important;font-size:12px!important}body.salon-home .catalog-heading{grid-template-columns:auto 1fr!important;gap:8px!important}body.salon-home .catalog-heading h2{font-size:20px!important}body.salon-home #game-search{min-height:40px;font-size:13px}body.salon-home .category-links a{font-size:10px;min-height:40px;padding:5px}body.salon-home .lobby-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body.salon-home .game-copy strong{font-size:12px!important}body.salon-home .vote-button{min-height:40px!important}body[data-play-first] .chess-layout .table-column{max-width:min(100%,calc(100svh - 235px))}body[data-play-first] .rail-content .top-actions{gap:5px}}
/* The complete catalogue is the homepage focus; avoid repeating the same games above it. */
body.salon-home #discovery{display:none!important}body.salon-home #salon-home{text-align:left}body.salon-home .home-label{margin-top:2px}body.salon-home .discovery-actions{margin-bottom:8px!important}body.salon-home .topbar{justify-content:flex-start!important}body.salon-home .wordmark:after{display:none!important}body.salon-home .wordmark:before{background:none!important;width:auto!important;height:auto!important}body.salon-home .catalog-heading{border-top:1px solid #ad90543d;padding-top:10px}
/* A single picker, reached from the masthead or the floating button. */
.masthead-switch-game{margin-left:auto;flex:none;white-space:nowrap;display:inline-flex;align-items:center;min-height:36px;padding:4px 8px;color:#ead09a!important;font:600 12px/1.2 system-ui!important;text-decoration:none;border-bottom:1px solid #b1965955}.masthead-switch-game:hover{text-decoration:underline}.masthead-switch-game:focus-visible{outline:2px solid #efd391;outline-offset:2px}
body .game-switcher{position:fixed!important;z-index:180!important;right:12px!important;bottom:12px!important;left:auto!important;margin:0!important;isolation:isolate}
body .game-switcher-panel{z-index:181;position:absolute!important;right:0!important;left:auto!important;bottom:calc(100% + 8px)!important;top:auto!important;width:min(470px,calc(100vw - 24px))!important;max-height:min(72dvh,calc(100dvh - 100px))!important;overflow:auto!important;overscroll-behavior:contain;background:#10291f!important;box-shadow:0 15px 50px #000b!important}
@media(min-width:1100px){body[data-play-first] .game-switcher{right:288px!important}}
@media(max-width:1099px){body[data-play-first] header{padding-right:112px!important}.masthead-switch-game{font-size:11px!important;padding-inline:4px;min-height:40px}body .game-switcher>summary{min-height:40px;padding:8px 11px;font-size:12px}}
/* Shared framing for sports, action and strategy pages as well as tables. */
body[data-play-first] :is(.tt-shell,.rally-shell,.boxing-shell,.epoch-shell,.divine-shell,.pc,.shell,#game-shell){max-width:1600px;margin-inline:auto;box-sizing:border-box;padding-top:6px}
body[data-play-first] :is(.tt-intro,.intro,.casino-heading){margin:4px 0 8px!important;padding:0!important}
body[data-play-first] :is(.tt-intro,.intro) h1{font:400 clamp(22px,2.7vw,32px)/1.15 Georgia,serif!important;color:#eed29c;margin:4px 0!important}
body[data-play-first] :is(.tt-intro,.intro)>p,body[data-play-first] :is(.tt-intro,.intro) .eyebrow{display:none}
body[data-play-first] .tt-layout{gap:12px}body[data-play-first] .tt-header{max-width:none}body[data-play-first] .arcade-play-viewport{height:auto;min-height:0}
body[data-play-first] header .masthead-switch-game{color:#f0d49c!important}
body[data-play-first] .rail-content :is(.tt-panel,.panel,.note){max-width:100%;box-sizing:border-box}
@media(max-width:760px){body[data-play-first] :is(.tt-shell,.rally-shell,.boxing-shell,.epoch-shell,.divine-shell,.pc,.shell){padding-inline:8px}body[data-play-first] header>a:first-child{font-size:11px!important}body[data-play-first] .tt-header{gap:6px}}
/* Keep interactive hit areas on the screen plane. Depth is decorative only. */
body[data-table-view="3d"] :is(.lv-cabinet,.bj-table,.he-table,.table-art,.spider-tableau,.felt){transform:none!important;transform-style:flat!important;backface-visibility:visible!important}
body[data-table-view="3d"] :is(.lv-reel-housing,.bj-cards,.he-community,.he-hole,.cards,.poker-cards,.paigow-cards,.spider-column){transform:none!important;transform-style:flat!important}
body[data-table-view="3d"] :is(.bj-card,.he-card,.playing-card,.spider-card,.he-felt,.he-pot,.bj-hand-label,.hand-total){transform:none!important;backface-visibility:visible!important}
.lv-button:active:not(:disabled){transform:none!important}.lv-controls{position:relative;z-index:5}.lv-cabinet{max-width:460px!important;padding:10px!important}.lv-marquee{padding:10px!important}.lv-marquee>strong{font-size:30px!important}.lv-marquee>span,.lv-marquee>small{display:none}.lv-glass{padding:8px!important}.lv-reel{height:165px!important}.lv-symbol{height:55px!important}.lv-controls{margin-top:8px!important}.lv-button{min-height:48px!important;font-size:13px!important}.lv-note{margin:8px 0 0!important}.lv-line-label{margin:6px 0!important}.lv-meters>div{padding:5px 8px!important}.lv-meters strong{font-size:21px!important}.table-view-tools{display:none!important}
@media(max-height:800px){.lv-paytable{display:none!important}.lv-glass{display:block!important}.lv-jackpot{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px;border:0!important}.lv-jackpot>strong{font-size:28px!important}.lv-jackpot>small{font-size:9px!important}}

/* Keep phone navigation out of the betting and touch-control areas. */
@media(max-width:1099px){
 body .game-switcher{position:relative!important;right:auto!important;bottom:auto!important;margin:12px 12px 16px auto!important;width:max-content;max-width:calc(100% - 24px)}
 body .game-switcher-panel{position:fixed!important;right:12px!important;bottom:12px!important;max-height:calc(100dvh - 76px)!important}
}
@media(max-width:1099px) and (min-width:600px) and (max-height:520px){
 body[data-play-first] .chess-layout .table-column{display:grid;grid-template-columns:min(72svh,48vw) minmax(180px,260px);justify-content:center;align-content:start;gap:4px 14px;max-width:100%}
 body[data-play-first] .chess-layout .board-frame{grid-column:1;grid-row:1 / span 7;align-self:start;width:100%;aspect-ratio:1}
 body[data-play-first] .chess-layout .table-column>:not(.board-frame){grid-column:2;margin-block:0!important}
 body[data-play-first] .chess-layout .player-row{min-height:36px}
 body[data-play-first] .chess-layout .status-panel{min-height:44px;padding:5px 8px}
}
@media(max-width:900px){
 body[data-play-first=shooter] #field{flex:none;height:clamp(300px,55svh,520px);min-height:300px}
}
@media(max-width:1099px) and (max-height:520px) and (orientation:landscape){
 body[data-play-first=shooter] #field{height:max(210px,calc(100svh - 145px));min-height:210px}
}
