body.wide-game .salon{max-width:1480px}body.wide-game .layout{display:block;margin-top:22px}body.wide-game .game-menu>.section-label,body.wide-game .menu-bottom{display:none}body.wide-game .game-menu nav{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px}body.wide-game .game-choice{min-width:142px;width:auto;min-height:61px;flex-direction:row;padding:9px 10px;gap:7px}body.wide-game .game-icon{font-size:25px;width:28px}body.wide-game .game-copy strong{font-size:13px}body.wide-game .game-copy small{display:none}body.wide-game .machine{margin-top:16px}body.wide-game .machine-top,body.wide-game .control-deck,body.wide-game .machine-foot{display:none}body.wide-game .game-area{display:block;padding:0 24px 22px}body.wide-game .screen-heading{padding:23px 24px}body.wide-game .screen-heading h1{font-size:40px;margin:6px 0 9px}body.wide-game .screen-eyebrow{font-size:12px}body.wide-game .screen-heading p{font-size:14px}.spider-mode .play-screen{background:radial-gradient(ellipse at top,#235744,#153a30 80%);border-color:#648c72}.empire-mode .play-screen{background:#202b29;border-color:#7c7961}.empire-mode .screen-heading h1{font-family:Georgia,serif;color:#f8df94}.game-action{padding:11px 15px;border:1px solid #a9b2926b;background:#2d4738;color:#f2e3b3;border-radius:5px;min-height:42px;font-size:14px;font-weight:600;white-space:nowrap}.game-action.prominent{background:#dec074;color:#272216;border-color:#fae3a4}.longgame-toolbar{display:flex;align-items:center;gap:30px;padding:15px 18px;border:1px solid #d3ce9970;background:#102f2777;border-radius:9px;margin-bottom:18px;flex-wrap:wrap}.longgame-toolbar label{font-size:12px;letter-spacing:1.2px;color:#c8d2b7}.longgame-toolbar select{display:block;margin-top:5px;border:1px solid #8fa981;background:#203d31;color:#f2e2ba;padding:8px 9px;border-radius:4px;font-size:14px;min-width:155px}.game-stat{display:flex;flex-direction:column;gap:6px}.game-stat>span{font-size:12px;letter-spacing:1.5px;color:#b9c8ab}.game-stat>b{font:700 26px 'Courier New',monospace;color:#f7df9a}.longgame-toolbar>.game-action{margin-left:auto}.spider-top{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:0 2px 19px}.spider-foundations{display:flex;gap:9px}.spider-foundations span{display:grid;place-items:center;width:45px;height:59px;border:1px solid #8aaf8355;border-radius:6px;background:#133a2b;color:#8fab7477;font:700 26px Georgia,serif}.spider-foundations .foundation-done{background:#e4d395;color:#244235;border-color:#f4e3a8;box-shadow:0 0 9px #ebdd7c22}.spider-stock{display:flex;align-items:center;gap:14px;background:none;border:0;color:#ecdeae;padding:0;font-size:14px}.spider-stock>b{display:grid;place-items:center;width:48px;height:63px;border:3px solid #dbc393;border-radius:6px;background:repeating-linear-gradient(45deg,#d9b84f25 0 2px,transparent 2px 7px),#372b46;color:#e2c886;font-size:28px;box-shadow:4px 0 #9c875f,7px 0 #534736}.spider-scroll{overflow:auto;padding:5px 3px 12px;border-bottom:1px solid #8aa07544;scrollbar-color:#829874 #153a30}.spider-tableau{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px;min-width:700px;min-height:280px}.spider-column{position:relative;min-width:0}.spider-empty{position:absolute;top:0;width:100%;height:100px;border:1px solid #b5c8a655;border-radius:6px;background:#173b2b;color:#adc69a66;font:italic 22px Georgia,serif}.spider-card{position:absolute;left:0;right:0;width:100%;height:100px;border:1px solid #bcb49b;border-radius:6px;background:#fcf5df;color:#1d2822;box-shadow:0 2px 5px #0005;padding:4px 5px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;touch-action:pan-y}.spider-card>span{text-align:left;font:700 21px/1.1 Georgia,serif;white-space:nowrap}.spider-card>span b{font-size:20px}.spider-card>strong{font:700 34px/1 Georgia,serif;margin:auto}.spider-card.red-card{color:#af3045}.spider-card.face-down{background:repeating-linear-gradient(45deg,#ceb67c30 0 1px,transparent 1px 5px),#40344b;border:2px solid #d6c7a4;opacity:1}.spider-card.face-down>span{display:block;text-align:center;color:#cab981;font-size:22px;margin:auto}.spider-card.selected-card{outline:3px solid #ffe06e;outline-offset:-2px;background:#fff0b9}.spider-column.hint-destination:after{content:'';position:absolute;inset:0;bottom:auto;height:100%;min-height:130px;border:3px dashed #f5dc6b;border-radius:7px;pointer-events:none;z-index:110}.longgame-bottom{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:18px}.save-status{background:none;border:0;color:#b8c6a8;font-size:12px;text-align:left;margin-left:auto;padding:8px;max-width:350px}.save-status.save-error{color:#ffd58c;text-decoration:underline}.game-help{color:#bfccb2;font-size:14px;line-height:1.5;margin:13px 0 0}.longgame-loading{padding:90px 20px;text-align:center;font-size:17px;color:#dcd8b6}.game-victory{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:22px;margin-bottom:20px;border:1px solid #f1d888;background:#dcbf6322;color:#f6df94;border-radius:9px}.game-victory>b{font:italic 28px Georgia,serif}.game-victory>span{font-size:15px}.game-victory button{margin-left:auto;background:#ecd482;color:#352b17;border:0;border-radius:5px;padding:11px 15px;font-size:14px}.highscore-table>div{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #55483b}.highscore-table>div>b{color:#dcc075}.highscore-table span{font-size:16px}.highscore-table small{display:block;font-size:12px;color:#b7a999;margin-top:5px}.highscore-table strong{color:#f5d382;font:700 21px 'Courier New',monospace}.confirm-actions{display:flex;gap:12px}.confirm-actions button{flex:1}.confirm-actions .dialog-done{width:auto;margin-top:0}.confirm-actions>.game-action{background:#403b36}.emp-layout{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:21px}.emp-main{min-width:0}.emp-floor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#182322;border:1px solid #978050;padding:15px 18px;border-radius:10px 10px 0 0;color:#e9cf88}.emp-floor-heading>span{font:700 17px Georgia,serif;letter-spacing:2px}.emp-floor-heading>b{color:#f4d47c;font-size:20px;letter-spacing:3px}.emp-floor-heading>small{font-size:13px;color:#c1c1a3}.emp-floor-scroll{overflow:auto;border:1px solid #988457;border-top:0;background:#512734}.emp-floor{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(6,1fr);min-width:500px;aspect-ratio:8/6;padding:3px;background:repeating-conic-gradient(#743845 0 25%,#69313c 0 50%) 0/40px 40px;box-shadow:inset 0 0 30px #190d12}.emp-tile{border:1px solid #a76a4833;border-radius:2px;position:relative;background:none;padding:0;min-width:0;aspect-ratio:1;overflow:visible;color:#e8bf79;isolation:isolate}.emp-tile:not(:disabled):hover{background:#e9c16d2c;filter:none}.emp-tile.emp-selected{outline:2px solid #ffe19a;outline-offset:-3px;background:#e3c56f25;z-index:2}.emp-tile.emp-inaccessible{background:#ae393c55}.emp-tile:disabled{opacity:1}.emp-door{background:#aa7f4966;border:2px solid #e5c47d;grid-row:6}.emp-door>span{font-size:12px;font-weight:700;letter-spacing:.5px}.emp-build-plus{font-size:25px;opacity:0}.emp-tile:hover .emp-build-plus{opacity:.7}.emp-sprite{display:block;width:100%;aspect-ratio:1;background-image:url('casino-sprite-atlas.png');background-size:300% 300%;background-position:var(--sprite-x) var(--sprite-y);background-repeat:no-repeat;pointer-events:none}.emp-tile>.emp-sprite{position:absolute;inset:0;filter:drop-shadow(0 5px 2px #10030766);z-index:1}.emp-tile-level{position:absolute;bottom:1px;right:3px;z-index:2;font-size:12px;color:#fff09e;letter-spacing:0;background:#1f2c278c;padding:1px 3px;border-radius:3px}.emp-broken{position:absolute;left:4px;top:3px;z-index:3;background:#b92e2e;color:#fff;padding:3px 8px;border-radius:50%;font-weight:bold}.emp-guest{position:absolute;left:var(--from-x);top:var(--from-y);width:clamp(48px,5.4vw,68px);aspect-ratio:1;pointer-events:none;z-index:4;transform:translate(-50%,-82%);animation:guest-stroll var(--guest-duration) ease-in-out infinite;animation-delay:var(--guest-delay)}.emp-person{display:block;width:100%;height:100%;background:url('casino-people.png') no-repeat;background-size:400% 300%;background-position:var(--person-x) var(--person-y);filter:drop-shadow(0 3px 2px #10030777)}.emp-high-roller{z-index:5}.emp-high-roller .emp-person{filter:drop-shadow(0 1px 2px #f7cc7177)}.emp-vip-badge{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);padding:1px 4px;border-radius:3px;border:1px solid #ffdf8b;background:#473217;color:#ffe7a1;font:700 12px/1.2 Arial,sans-serif;box-shadow:0 1px 3px #0009}@keyframes guest-stroll{0%,15%,100%{left:var(--from-x);top:var(--from-y)}45%,65%{left:var(--to-x);top:var(--to-y)}}@media(prefers-reduced-motion:reduce){.emp-guest{animation:none}}.emp-floor-legend{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 15px;font-size:12px;color:#b3bba9}.emp-build-menu{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.emp-build-choice{display:flex;flex-direction:column;align-items:center;background:#263930;border:1px solid #807b5166;border-radius:7px;padding:6px 5px 9px;min-width:0;color:#ede2b5}.emp-build-choice .emp-sprite{max-width:84px}.emp-build-choice>b{font-size:13px;line-height:1.3}.emp-build-choice>small{font-size:12px;color:#cec08e;margin-top:4px}.emp-build-choice.emp-tool-active{background:#6e5b32;border-color:#f1d382;box-shadow:0 0 0 1px #f1d382}.emp-build-choice:disabled{opacity:.43}.emp-running{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:18px}.emp-running>span{font-size:12px;color:#b6c3ab}.emp-ledger{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;padding:14px 8px;border-top:1px solid #67795466;border-bottom:1px solid #67795466}.emp-ledger>div{display:flex;flex-direction:column;gap:5px}.emp-ledger span{font-size:12px;letter-spacing:.7px;color:#b8c3a5}.emp-ledger b{font:700 22px 'Courier New',monospace;color:#c7dbaa}.emp-ledger b.negative{color:#f2a290}.emp-management{display:flex;flex-direction:column;gap:12px}.emp-panel{padding:16px 14px;background:#172824;border:1px solid #78836c55;border-radius:8px}.emp-panel h3{font:700 16px Georgia,serif;color:#e6d19c;margin:0 0 14px}.emp-panel p{font-size:13px;color:#bcc6af;line-height:1.6;margin:10px 0}.emp-panel>button,.emp-object-actions>button{display:block;width:100%;border:1px solid #9a99685e;background:#354538;color:#e9d895;padding:9px;font-size:13px;border-radius:4px}.emp-object-actions{display:flex;flex-direction:column;gap:7px}.emp-panel progress{appearance:none;width:100%;height:5px;margin:0 0 13px}.emp-panel progress::-webkit-progress-bar{background:#324734;border-radius:5px}.emp-panel progress::-webkit-progress-value{background:#c8b66c;border-radius:5px}.emp-staff-row{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:14px}.emp-staff-row>span{font-size:14px;color:#e1dfbf}.emp-staff-row small{display:block;color:#9da994;font-size:12px;margin-top:4px}.emp-staff-row>div{display:flex;align-items:center;gap:8px}.emp-staff-row button{padding:3px 7px;min-width:27px;min-height:32px;border:1px solid #6e8364;background:#2c4334;color:#eddb99;border-radius:4px;font-size:19px}.emp-staff-row b{font:700 17px 'Courier New',monospace;color:#e3cb83}.emp-panel label{font-size:13px;color:#cbd0b6}.emp-panel select{display:block;max-width:100%;width:100%;background:#2b3b30;color:#e7ddb7;border:1px solid #849270;padding:9px 4px;border-radius:4px;font-size:13px;margin-top:7px}.emp-panel .emp-check{display:flex;align-items:center;gap:9px;margin-top:17px;line-height:1.5}.emp-check input{width:17px;height:17px;accent-color:#e6cd77}.emp-notices{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.emp-notices>span{color:#e6cb91;font-size:13px;background:#af864118;padding:8px 10px;border-radius:5px;line-height:1.4}.emp-journal{margin-top:17px;border-top:1px solid #61725a66;padding-top:14px;color:#bbcaaf;font-size:14px}.emp-journal summary{cursor:pointer;font-weight:700;color:#ddd3ac}.emp-journal p{margin:10px 0;font-size:13px;line-height:1.5}.emp-player{font-size:12px;color:#b8c3a8}.emp-player input{display:block;background:#182e25;border:1px solid #82946c;border-radius:4px;color:#f2deb0;font-size:14px;padding:8px 10px;margin-top:5px;width:150px}.empire-toolbar{background:#121e18}.empire-mode .screen-heading{align-items:center}.empire-mode .screen-heading p{color:#c8c3a6}
@media(max-width:1050px){.emp-layout{grid-template-columns:minmax(0,1fr) 220px;gap:15px}.emp-build-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.emp-build-choice .emp-sprite{max-width:65px}.longgame-toolbar{gap:19px}.emp-floor-heading{padding:12px}.emp-floor-heading>span{font-size:14px;letter-spacing:1px}}
@media(max-width:760px){body.wide-game .salon{padding:15px 10px}body.wide-game .layout{margin-top:16px}body.wide-game .machine{padding:9px}body.wide-game .screen-heading{padding:19px 14px}body.wide-game .screen-heading h1{font-size:31px}body.wide-game .screen-heading p{font-size:12px}body.wide-game .game-area{padding:0 10px 18px}body.wide-game .game-choice{min-width:127px;min-height:55px;grid-column:auto}body.wide-game .game-copy strong{font-size:12px}body.wide-game .game-choice[data-game=classic] .game-copy small{display:none}.longgame-toolbar{gap:14px;padding:12px;margin-bottom:16px}.longgame-toolbar label{flex:1 1 140px}.game-stat>b{font-size:21px}.game-stat>span{font-size:12px;letter-spacing:.6px}.longgame-toolbar>.game-action{margin-left:0;flex:1}.spider-foundations{gap:5px;flex-wrap:wrap;max-width:200px}.spider-foundations span{width:33px;height:42px;font-size:20px}.spider-stock{gap:8px;flex-direction:column;font-size:12px}.spider-stock>b{height:49px;width:36px;font-size:23px}.spider-tableau{min-width:670px;gap:6px}.spider-card>span{font-size:19px}.spider-scroll{margin:0 -5px}.longgame-bottom>.game-action{font-size:13px;padding:10px}.save-status{margin-left:0;text-align:left;flex:1 1 100%;padding-left:0}.game-help{font-size:13px}.emp-layout{grid-template-columns:1fr}.emp-management{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emp-panel{padding:13px 10px}.emp-staff-row{flex-wrap:wrap;gap:9px}.emp-staff-row>span{font-size:13px}.emp-panel h3{font-size:15px}.emp-build-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.emp-build-choice .emp-sprite{max-width:76px}.emp-build-choice>b{font-size:13px}.emp-floor{min-width:480px}.emp-floor-heading{gap:9px;flex-wrap:wrap}.emp-floor-heading>span{font-size:14px}.emp-floor-heading>b{font-size:16px;letter-spacing:1px}.emp-floor-legend{font-size:12px}.emp-running>.game-action{font-size:13px;padding:10px}.emp-ledger{gap:7px;padding:12px 0}.emp-ledger span{font-size:12px;letter-spacing:0}.emp-ledger b{font-size:19px}.game-victory{gap:13px;padding:16px}.game-victory>b{font-size:25px}.game-victory button{margin-left:0}.emp-notices>span{font-size:12px}.emp-player{width:100%}.emp-player input{width:100%}}
@media(prefers-reduced-motion:reduce){.emp-guest{animation:none}}
