/* Compact salon chrome. All eight games are reachable from one persistent chooser. */
body .salon,body.wide-game .salon{max-width:1240px;padding:12px 18px 18px}body .topbar,body.empire-wide .topbar{display:flex;position:sticky;top:0;z-index:45;gap:16px;padding:8px 0 12px;min-height:62px;flex-shrink:0;background:#191517}body .wordmark,body.empire-wide .wordmark{font-size:19px;line-height:1;letter-spacing:-.5px;white-space:nowrap;padding:0}.top-actions{gap:9px}.salon-games{position:relative;text-align:left;min-width:180px;min-height:46px;padding:7px 12px;background:#342d25;border:1px solid #8d764d;border-radius:7px;color:#f6ddaa;font-size:15px}.salon-games small{display:block;color:#c0b396;font-size:11px;margin-top:3px}.salon-tool{min-width:44px;min-height:44px;padding:6px;background:#2b2526;border:1px solid #5c5146;border-radius:6px;color:#efce8f;font-size:19px}.top-actions .icon-button{min-height:44px;padding:6px 9px;white-space:nowrap}.top-actions .icon-button span{font-size:13px}body .layout,body.wide-game .layout{display:block;margin-top:12px}body .machine,body.wide-game .machine{margin-top:0;padding:10px;border-radius:12px}body .screen-heading,body.wide-game .screen-heading{padding:10px 15px;align-items:center}body .screen-heading h1,body.wide-game .screen-heading h1{font-size:26px;line-height:1.12;margin:0;letter-spacing:-.6px}body .screen-heading .screen-eyebrow,body .screen-heading p{display:none}body .machine-top{padding:2px 5px 9px}body .meter{gap:4px}body .meter strong{font-size:25px}body .meter>span{font-size:11px}body .topup{margin-top:0;min-height:38px}body .machine-foot{display:none}body .message-bar{min-height:32px;padding:7px 12px;font-size:13px}body .machine:not(.empire-mode) .play-screen{overflow:visible}body .control-deck{padding-top:10px}body .game-area{padding-bottom:10px}body .game-action{min-height:44px}.games-dialog{max-width:840px;width:calc(100% - 24px);padding:20px}.games-dialog h2,#score-dialog h2{font-size:26px;margin:0}.games-dialog>p{margin:10px 0 16px}.games-dialog #game-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.games-dialog .game-choice{display:flex;flex-direction:row;width:100%;min-width:0;min-height:70px;padding:12px;gap:10px;grid-column:auto;text-align:left}.games-dialog .game-icon{width:35px;font-size:28px}.games-dialog .game-copy{display:flex;flex-direction:column;gap:5px;align-items:flex-start;min-width:0}.games-dialog .game-copy strong{font-size:15px;min-height:0;white-space:normal;overflow-wrap:normal;text-align:left;justify-content:flex-start}.games-dialog .game-copy small{display:block;font-size:12px;line-height:1.3}.games-dialog .game-choice.active:before{top:12px;bottom:12px;left:-2px;right:auto;width:4px;height:auto}.games-dialog .salon-menu-note{font-size:12px;margin:16px 0 0}.score-hub{margin:12px 0 0;padding:12px}.score-hub .score-heading{flex-wrap:wrap}#score-dialog{max-width:650px}.emp-mobile-panel{display:none}
/* Keep the main action within reach while long help or card stacks scroll. */
.classic-mode .classic-main-controls{position:sticky;bottom:0;z-index:12;background:#1c211f;padding:8px 0;margin-top:6px}.classic-mode .classic-risk-controls{position:sticky;bottom:71px;z-index:11;background:#1c211f;padding:5px 0;margin-top:4px}.classic-mode .classic-risk-controls button{min-height:46px;gap:3px}.classic-mode .classic-main-controls button{min-height:48px}.classic-mode .classic-dashboard{margin-top:8px}.classic-mode .classic-counts{padding:6px 0}.classic-mode .classic-help{min-height:0;margin:8px 0;font-size:12px}.classic-mode .classic-extra{margin:0}.blackjack-mode .bj-actions,.holdem-mode .he-actions{position:sticky;bottom:0;z-index:20;background:#142e25;padding:8px 0;margin-top:8px}.blackjack-mode .bj-table{padding:10px 10px 14px}.blackjack-mode .bj-table-rules{margin-bottom:10px}.blackjack-mode .bj-divider{margin:10px auto}.blackjack-mode .bj-hand{padding:6px}.blackjack-mode .bj-controls{margin-top:10px;gap:12px}.blackjack-mode .bj-note{margin:8px 0}.longgame-toolbar{margin-bottom:10px;padding:10px 12px;gap:15px}.longgame-bottom{margin-top:10px}.he-raise-pop{z-index:25}
@media(min-width:900px){.classic-mode .game-area{display:grid;grid-template-columns:minmax(270px,390px) minmax(250px,1fr);align-items:center;align-content:center;justify-content:center;gap:8px 24px;padding:6px 24px 16px}.classic-mode .classic-cabinet{grid-column:1;grid-row:1 / span 8;max-width:390px;width:100%}.classic-mode .game-area>:not(.classic-cabinet){grid-column:2}.classic-mode .classic-main-controls,.classic-mode .classic-risk-controls{position:static}.classic-mode .classic-dashboard{align-self:end}.classic-mode .classic-help{align-self:start}.classic-mode .classic-main-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-mode .classic-extra{justify-content:flex-start}}
@media(max-width:760px){body .salon,body.wide-game .salon,body.empire-wide .salon{padding:0 max(7px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));gap:5px}body .topbar,body.empire-wide .topbar{gap:6px;padding:5px 0;min-height:54px;top:0}.topbar .wordmark{display:none}.salon-games{min-width:0;flex:1;max-width:270px;font-size:14px;min-height:44px;padding:5px 10px}.salon-games small{font-size:11px}.top-actions{margin-left:auto;gap:4px}.salon-tool{min-width:40px;min-height:44px;padding:5px;font-size:17px}.top-actions .icon-button{padding:5px;gap:4px;min-width:38px}.top-actions .icon-button span{display:none}body .layout,body.wide-game .layout{margin-top:4px;gap:5px}body .machine,body.wide-game .machine{padding:5px;border-radius:8px}body .screen-heading,body.wide-game .screen-heading{padding:7px 10px}body .screen-heading h1,body.wide-game .screen-heading h1{font-size:23px}body .screen-heading .paytable-button{min-height:38px;padding:5px 8px}body .game-area,body.wide-game .game-area{padding-left:8px;padding-right:8px}.games-dialog{padding:15px}.games-dialog .game-choice{min-height:64px;padding:8px;gap:7px}.games-dialog .game-copy strong{font-size:14px}.games-dialog .game-copy small{font-size:11px}.games-dialog .game-icon{font-size:24px;width:26px}.classic-mode .classic-cabinet{max-width:300px}.classic-mode .classic-dashboard{margin-top:6px}.classic-mode .classic-main-controls{gap:5px}.classic-mode .classic-risk-controls{gap:5px}.classic-mode .classic-main-controls button{font-size:12px;min-height:48px}.classic-mode .classic-risk-controls button b{font-size:13px}.classic-mode .classic-risk-controls button span{font-size:11px}.blackjack-mode .bj-card{height:82px;flex-basis:57px}.blackjack-mode .bj-cards{min-height:82px}.blackjack-mode .bj-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.blackjack-mode .bj-actions button{min-height:48px;font-size:12px}.blackjack-mode .bj-actions button small{font-size:10px}.blackjack-mode .bj-table-rules span{display:none}.blackjack-mode .bj-hand-label{margin-bottom:7px}.blackjack-mode .bj-hand-footer{margin-top:7px}.longgame-toolbar{gap:10px;padding:8px}.longgame-toolbar select{min-width:120px;font-size:16px}.longgame-toolbar>.game-action{margin-left:0}.game-stat>b{font-size:21px}
/* Casino phone layout: full map with a management drawer opened on demand. */
body.empire-wide .layout{display:flex;margin:0;min-height:0}body.empire-wide .machine{padding:2px}body.empire-wide .game-area{padding:0!important}.emp-app{padding:3px;gap:4px}.emp-topline{flex-wrap:nowrap;gap:9px;padding:5px;overflow-x:auto}.emp-topline>div{flex-shrink:0;gap:2px}.emp-topline>div:nth-child(2),.emp-topline>div:nth-child(4){display:none}.emp-topline>button{margin-left:auto;min-height:38px;font-size:12px}.emp-topline>strong{font-size:12px}.emp-topline b{font-size:17px}.emp-ticker{padding:5px 7px;min-height:46px}#emp-ticker-text{font-size:12px}.emp-ticker button{min-height:36px}.emp-workspace,.emp-workspace.emp-panel-closed{display:block;position:relative;min-height:0}.emp-map-panel{height:100%;padding-bottom:48px}.emp-sidebar{position:absolute;inset:0;z-index:15;border:1px solid #77956a;background:#112b24;box-shadow:0 -5px 22px #0008}.emp-panel-closed .emp-sidebar{top:auto;height:46px;overflow:hidden}.emp-mobile-panel{display:flex;align-items:center;gap:6px;min-height:46px;padding:3px 6px;flex-shrink:0;background:#163e2f}.emp-mobile-panel label{font-size:12px;color:#bbceb5}.emp-mobile-panel select{flex:1;min-width:0;min-height:40px;font-size:16px;padding:4px 6px}.emp-mobile-panel button{min-height:40px;padding:5px 8px;font-size:13px}.emp-tabs,.emp-panel-closed .emp-tabs{display:none}.emp-panel-content{padding:12px}.emp-controls{flex-wrap:nowrap;gap:6px;min-height:48px;padding:4px}.emp-controls>#emp-stop-day,.emp-controls>label:has(#emp-zoom),.emp-controls>#emp-save-now{display:none}.emp-controls>#emp-run{min-height:44px;flex-shrink:0;font-size:13px;padding:7px 9px}.emp-controls>label{font-size:12px;gap:4px}.emp-controls #emp-speed{font-size:14px;min-height:42px;max-width:108px}.emp-controls>#emp-clock{flex-basis:auto;min-width:0;font-size:11px;margin-left:auto;text-align:right}.emp-map-tools{flex-wrap:nowrap;gap:4px;padding:4px}.emp-map-tools button{min-height:38px;font-size:12px;padding:5px 7px}.emp-map-tools #emp-cancel{margin-left:auto}.emp-security-alert{max-height:96px;overflow-y:auto}.emp-security-alert strong{flex-basis:auto}.emp-security-alert button{min-height:36px}.emp-security-alert span{font-size:12px}.emp-panel-content input:not([type=checkbox]),.emp-panel-content select{font-size:16px}.emp-app .emp-build-choice{min-height:92px}.emp-app .emp-build-choice>b{font-size:13px}}
@media(max-width:360px){.games-dialog .game-copy small{display:none}.games-dialog .game-choice{min-height:62px}.emp-mobile-panel label{display:none}.emp-controls>label{font-size:0}.emp-controls #emp-speed{font-size:13px}.emp-topline>strong{font-size:11px}.emp-map-tools button{font-size:11px;padding:4px 5px}}

/* Every game stays visible in the bottom navigation. */
:root{--salon-links-height:58px}body{padding-bottom:var(--salon-links-height)}.salon-game-links{position:fixed;inset:auto 0 0;z-index:60;display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px;padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#211b1e;border-top:1px solid #887048;box-shadow:0 -3px 14px #0005}.salon-game-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:3px 5px;color:#eed5a8;font-size:13px;line-height:1.2;text-align:center;text-decoration:none;border-radius:5px}.salon-game-links a:hover,.salon-game-links a:focus-visible{background:#493b2b;color:#fff}.salon-game-links a[aria-current=page]{background:#e8bd70;color:#211b1e;font-weight:700}body.empire-wide .salon{height:calc(100dvh - var(--salon-links-height) - env(safe-area-inset-bottom))}.classic-mode .classic-main-controls,.blackjack-mode .bj-actions,.holdem-mode .he-actions{bottom:calc(var(--salon-links-height) + env(safe-area-inset-bottom))}.classic-mode .classic-risk-controls{bottom:calc(var(--salon-links-height) + 71px + env(safe-area-inset-bottom))}
@media(max-width:760px){:root{--salon-links-height:101px}.salon-game-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.salon-game-links a{font-size:12px;min-height:44px;padding:2px 3px}}

@media(max-width:760px){:root{--salon-links-height:101px}.salon-game-links{grid-template-columns:repeat(5,minmax(0,1fr))}.salon-game-links a{font-size:11px}}
body.salon-home .layout{display:none}body.salon-home #salon-help,body.salon-home #salon-scores{display:none}#salon-home{padding:36px 12px 28px;max-width:980px;margin:auto}#salon-home[hidden]{display:none}.home-label{color:#c8ad7d;letter-spacing:2px;font-size:12px}#home-title{font-size:clamp(25px,4vw,38px);font-weight:600;letter-spacing:-1px;margin:8px 0 28px}#home-games{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.home-game{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:144px;padding:15px 9px;color:#f5e8cc;border:1px solid #665544;background:#292326;border-radius:12px;cursor:pointer;text-align:center}.home-game:hover{background:#3d3029;border-color:#d6ad68;transform:translateY(-2px)}.home-game:focus-visible{outline:3px solid #f0cf8d;outline-offset:3px}.home-game .game-icon{display:block;font-size:32px;width:auto;height:auto}.home-game .game-copy{display:block}.home-game .game-copy strong{display:block;font-size:14px;text-align:center;white-space:normal}.home-game .game-copy small{display:block;font-size:12px;color:#c1b1a0;margin-top:6px;line-height:1.4}@media(max-width:760px){#salon-home{padding:14px 5px 20px}#home-title{margin:8px 0 18px}#home-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-game{min-height:104px;flex-direction:row;justify-content:flex-start;gap:10px;padding:12px}.home-game .game-icon{font-size:27px;flex-shrink:0}.home-game .game-copy strong{text-align:left;font-size:13px}.home-game .game-copy small{text-align:left;font-size:11px}.home-label{font-size:11px}}

@media(max-width:760px){.salon-game-links{grid-template-columns:repeat(7,minmax(0,1fr))}.salon-game-links a{overflow-wrap:anywhere}}

.hool-menu-sprite{background-image:url(/hool-man/sprites.png);background-size:300% 200%;background-position:0 0;image-rendering:pixelated}
.home-game .game-icon.hool-menu-sprite{width:46px;height:46px;flex-shrink:0}.games-dialog .game-icon.hool-menu-sprite{width:38px;height:38px;flex:0 0 38px}

.home-game .game-icon.golm-menu-photo{width:46px;height:46px;object-fit:cover;object-position:center 35%;border:2px solid #e8bd70;border-radius:50%;flex-shrink:0}.games-dialog .game-icon.golm-menu-photo{width:38px;height:38px;object-fit:cover;object-position:center 35%;border-radius:50%;flex:0 0 38px}
.home-game{text-decoration:none}.home-intro,.home-note{color:#cbbfaa;line-height:1.6;max-width:720px}.home-intro{margin:-12px 0 24px}.home-note{font-size:13px;margin-top:22px}.salon-game-links{grid-template-columns:repeat(10,minmax(0,1fr))}@media(max-width:760px){.salon-game-links{grid-template-columns:repeat(5,minmax(0,1fr))}.salon-game-links a{overflow-wrap:normal}.topbar .wordmark{font-size:14px}}
