.app-window[data-app="gold-miner"] .window-body{padding:0;overflow:auto;background:#ead5a8}.app-window[data-app="gold-miner"] .window-description{display:none}.app-window[data-app="gold-miner"] .app-content{height:100%;min-height:0}.gm-game{--gm-ink:#54331b;--gm-gold:#f4c34f;box-sizing:border-box;min-height:100%;padding:14px 18px 10px;background:radial-gradient(ellipse at 50% 0,#fff4d9,#f0d7a3 65%,#dfbe87);color:var(--gm-ink);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;container-type:inline-size;outline:none}.gm-game *{box-sizing:border-box}.gm-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:1100px;margin:0 auto 12px}.gm-brand{display:flex;align-items:center;gap:8px;font-weight:850;font-size:20px;letter-spacing:1px;line-height:1.1}.gm-brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:#987346;margin-top:5px}.gm-brand-mark{font-size:31px;color:#b67818;text-shadow:0 1px #fff6d2}.gm-utilities{display:flex;gap:5px}.gm-utilities button{border:1px solid #b99a6660;border-radius:8px;padding:6px 9px;background:#fff6dd80;font-size:11px;font-weight:600;color:#775332;cursor:pointer;white-space:nowrap}.gm-game button:focus-visible,.gm-stage:focus-visible{outline:3px solid #9e5f17;outline-offset:3px}.gm-hud{display:grid;grid-template-columns:1.2fr 1.2fr 1fr .65fr;max-width:1100px;margin:0 auto;background:linear-gradient(#fff0bc,#ecc465);border:2px solid #a37333;border-bottom:0;border-radius:13px 13px 0 0;box-shadow:inset 0 2px #fff9df;overflow:hidden}.gm-hud>div{padding:8px 12px;border-right:1px solid #bb8a3945;display:flex;flex-direction:column;gap:2px}.gm-hud>div:last-child{border-right:0}.gm-hud span{font-size:10px;font-weight:650;letter-spacing:1px;color:#8c6030}.gm-hud strong{font-variant-numeric:tabular-nums;font-size:22px;line-height:1.15;font-weight:850;color:#70431c}.gm-hud>div:first-child strong{color:#7b4d12}.gm-hud strong small{font-size:11px;margin-left:4px;font-weight:600}.gm-hud .is-urgent strong{color:#b53e25}.gm-stage{position:relative;width:100%;max-width:1100px;aspect-ratio:11/8;margin:auto;overflow:hidden;border:2px solid #a37333;border-top:0;border-radius:0 0 11px 11px;box-shadow:0 5px 13px #673b2026;isolation:isolate;outline:none;background:#c78d42}.gm-canvas{display:block;width:100%;height:100%;touch-action:manipulation}.gm-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:16px;background:#301b0b42;backdrop-filter:blur(2px);overflow:auto}.gm-overlay[hidden]{display:none}.gm-panel{width:min(100%,390px);max-height:100%;overflow:auto;background:linear-gradient(150deg,#fff8df,#f5e2b5);border:2px solid #bd8844;border-radius:17px;padding:25px 24px;box-shadow:0 9px 0 #603d1926,0 15px 40px #331a153d;text-align:center}.gm-panel h2{margin:6px 0 12px;font-size:28px;line-height:1.2;font-weight:900;letter-spacing:1px;color:#744821}.gm-panel p{font-size:12px;line-height:1.8;margin:10px 0 16px;color:#85613b}.gm-panel small{display:block;font-size:10px;color:#997348;margin-top:13px}.gm-overline{font-size:10px;letter-spacing:3px;color:#aa793a;font-weight:650}.gm-welcome h2{font-size:43px;text-shadow:0 2px #fff,0 3px #d5aa63;margin:10px 0 14px}.gm-next-goal{font-size:12px;padding:12px 10px;background:#e8c98a55;border-radius:9px;margin:18px 0}.gm-next-goal strong{font-size:20px;margin-left:12px}.gm-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid #a66a22;border-bottom:3px solid #9c5c1a;border-radius:9px;padding:11px 20px;background:linear-gradient(#ffe092,#efbd4f);color:#603b17;box-shadow:inset 0 1px #fff1bf,0 2px 0 #8e5d1720;font-size:14px;font-weight:800;cursor:pointer;min-height:44px;transition:filter .12s,transform .12s;touch-action:manipulation}.gm-button:hover:not(:disabled){filter:brightness(1.05)}.gm-button:active:not(:disabled){transform:translateY(1px)}.gm-button:disabled{opacity:.5;cursor:default}.gm-secondary{background:linear-gradient(#fff6df,#ead6ad);border-color:#b89766;color:#84643f}.gm-panel-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.gm-controls{display:flex;gap:8px;width:100%;max-width:1100px;margin:11px auto 0}.gm-controls .gm-launch{flex:1.7}.gm-controls .gm-bomb{flex:1}.gm-controls .gm-secondary{padding-left:15px;padding-right:15px;font-size:12px}.gm-controls kbd{font-family:inherit;font-size:10px;font-weight:500;opacity:.65;white-space:nowrap}.gm-bomb b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;margin-left:6px;font-size:11px;background:#8e572622;color:#864822;border-radius:5px;padding:2px 5px}.gm-foot{display:flex;justify-content:space-between;gap:12px;max-width:1100px;margin:9px auto 0;font-size:10px;line-height:1.6;color:#947149}.gm-save-note{white-space:nowrap;opacity:.8}.gm-help{text-align:left}.gm-help h2{font-size:24px}.gm-help ul{padding-left:18px;font-size:11px;line-height:1.8;color:#775733}.gm-help li+li{margin-top:7px}.gm-help .gm-button{display:flex;margin:18px auto 0}.gm-help .gm-help-note{font-size:10px;border-top:1px solid #c9a67160;padding-top:12px}.gm-result-values{display:flex;justify-content:center;gap:24px;margin:18px 0 22px}.gm-result-values span{font-size:11px;color:#947049}.gm-result-values strong{display:block;font-size:25px;color:#79501f;margin-top:5px}.gm-shop{width:min(100%,650px);text-align:left;padding:20px}.gm-shop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.gm-shop h2{font-size:23px;margin-bottom:0}.gm-shop .gm-purse{font-size:10px;color:#9d743d;text-align:right;white-space:nowrap}.gm-shop .gm-purse strong{display:block;font-size:22px;color:#7a5019;margin-top:5px}.gm-shop>p{margin:9px 0 12px;font-size:10px}.gm-shop-items{display:grid;grid-template-columns:1fr;gap:7px}.gm-shop-item{display:flex;align-items:center;gap:10px;min-height:66px;text-align:left;border:1px solid #caa56d99;border-radius:9px;background:#fff8e7;padding:6px 10px;cursor:pointer;color:#6f4a21}.gm-shop-item canvas{width:54px;height:45px;flex:none}.gm-shop-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.gm-shop-copy strong{font-size:12px}.gm-shop-copy>span{font-size:10px;line-height:1.45;color:#91724e}.gm-shop-copy small{font-size:9px;margin:0;color:#a07c4f}.gm-shop-item>b{font-size:15px;white-space:nowrap}.gm-shop-item:disabled{opacity:.56;cursor:default}.gm-shop-item.is-bought{opacity:.65;background:#e6dfc7}.gm-next{display:flex;width:100%;margin-top:13px}.gm-sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.app-icon-gold-miner{background:linear-gradient(145deg,#ffe39a,#b67427)}
@container (max-width:540px){.gm-game{padding:10px}.gm-topline{margin-bottom:9px}.gm-brand{font-size:17px}.gm-brand-mark{font-size:26px}.gm-brand small{font-size:8px;letter-spacing:1px}.gm-utilities button{font-size:10px;padding:5px 7px}.gm-hud>div{padding:7px 9px}.gm-hud strong{font-size:19px}.gm-controls{gap:6px}.gm-controls .gm-button{font-size:12px;padding:9px 10px}.gm-controls kbd{display:none}.gm-controls .gm-secondary{padding:9px 10px}.gm-foot{font-size:9px}.gm-overlay{padding:10px}.gm-panel{padding:18px}.gm-panel h2{font-size:24px}.gm-welcome h2{font-size:34px}.gm-panel p{font-size:11px;margin-bottom:11px}.gm-next-goal{margin:12px 0;padding:9px}.gm-shop{padding:12px}.gm-shop h2{font-size:19px}.gm-shop-item{min-height:58px;padding:5px 7px;gap:7px}.gm-shop-item canvas{width:42px;height:35px}.gm-shop-copy>span{font-size:9px}.gm-shop-copy small{display:none}.gm-shop-item>b{font-size:13px}}
@container (max-width:340px){.gm-brand small{display:none}.gm-brand-mark{display:none}.gm-utilities button{padding:5px;font-size:9px}.gm-hud strong{font-size:16px}.gm-hud span{font-size:9px;letter-spacing:0}.gm-hud>div{padding:6px}.gm-overlay{padding:7px}.gm-panel{padding:13px}.gm-panel h2{font-size:22px}.gm-welcome h2{font-size:30px}.gm-panel small{margin-top:8px;font-size:9px}.gm-panel p{font-size:10px}.gm-button{font-size:12px;min-height:40px;padding:8px 14px}.gm-next-goal{font-size:10px;margin:8px 0}.gm-next-goal strong{font-size:17px}.gm-controls{flex-wrap:wrap}.gm-controls .gm-launch,.gm-controls .gm-bomb{flex:1 1 37%}.gm-controls .gm-secondary{flex:1}.gm-foot{gap:7px}.gm-shop h2{font-size:17px}.gm-shop .gm-purse strong{font-size:17px}.gm-shop-item canvas{width:35px;height:30px}.gm-shop-copy strong{font-size:11px}.gm-shop-copy>span{display:none}.gm-shop-item{min-height:46px}.gm-next{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.gm-game *{transition:none!important}}
.app-window[data-app="gold-miner"]{overflow:clip}.app-window[data-app="gold-miner"] .window-body{display:flex;overflow:hidden;container-type:normal}.app-window[data-app="gold-miner"] .app-content{flex:1;min-width:0}.gm-game{height:100%;min-height:0;overflow:auto}.gm-topline,.gm-hud,.gm-stage,.gm-controls,.gm-foot{max-width:var(--gm-board-width,1100px)}
.gm-game{position:relative}@container(max-width:540px){.gm-stage:has(>.gm-overlay.is-shop){position:static;isolation:auto;overflow:visible}.gm-overlay.is-shop{inset:65px 10px 72px;z-index:2;border-radius:12px}}
