*{box-sizing:border-box;margin:0;padding:0}html,body{background:#1f2633;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;position:fixed;top:0;bottom:0;left:0;right:0}#game{touch-action:none;width:100%;height:100%;display:block}.shop-open-button{left:calc(14px + env(safe-area-inset-left,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:5;color:#4fc3f7;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;background:#1b2331d1;border:1px solid #4fc3f799;border-radius:23px;min-width:62px;height:46px;padding:0 16px;font-family:inherit;font-size:15px;font-weight:700;position:fixed}.shop-open-button:active{background:#2c3850f2}.shop-open-button.is-locked,.shop-open-button:disabled{color:#6b7a94;cursor:default;background:#1b233180;border-color:#ffffff1f}.mute-button{right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:20;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;background:#1b2331b8;border:1px solid #ffffff2e;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;padding:0;font-family:inherit;font-size:20px;line-height:1;display:flex;position:fixed}.mute-button:active{background:#2c3850e6}.mute-button.is-muted{opacity:.55}.overlay{z-index:10;-webkit-overflow-scrolling:touch;background:#080c14b8;justify-content:center;padding:24px;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.overlay.hidden{display:none}.overlay-panel{text-align:center;background:#232c3d;border:1px solid #3a4864;border-radius:16px;width:100%;max-width:320px;margin:auto;padding:28px 24px;box-shadow:0 12px 40px #00000073}.overlay-title{color:#fff;margin-bottom:8px;font-size:26px;font-weight:700}.overlay-subtitle{color:#9fb0cc;margin-bottom:22px;font-size:14px}.overlay-button{color:#0b2233;cursor:pointer;-webkit-appearance:none;appearance:none;background:#4fc3f7;border:none;border-radius:10px;width:100%;min-height:46px;font-family:inherit;font-size:17px;font-weight:700}.overlay-button:active{background:#3aa9d8}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px;display:grid}.stat-grid--single{grid-template-columns:1fr}.stat{background:#1b2331;border-radius:10px;padding:10px 8px}.stat-label{color:#8b9bb4;margin-bottom:4px;font-size:12px;display:block}.stat-value{color:#fff;font-size:20px;font-weight:700;display:block}.overlay-button--ghost{color:#9fb0cc;background:0 0;border:1px solid #4a5a78}.overlay-button--ghost:active{background:#2c3850}.shop-panel{max-width:360px}.shop-list{flex-direction:column;gap:10px;margin-bottom:18px;display:flex}.shop-card{color:#fff;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none;background:#1b2331;border:1px solid #3a4864;border-radius:12px;width:100%;padding:14px 16px;font-family:inherit;display:block}.shop-card-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.shop-card-name{font-size:17px;font-weight:700}.shop-card-price{color:#ffd166;flex:none;font-size:16px;font-weight:700}.shop-card-price:before{content:"◆ ";font-size:12px}.shop-card-desc{color:#9fb0cc;margin-top:4px;font-size:13px;display:block}.shop-card-level{color:#ffd166;margin-top:6px;font-size:12px;font-weight:700;display:block}.shop-card-state{margin-top:8px;font-size:13px;font-weight:700;display:block}.shop-card.is-buyable{border-color:#4fc3f7}.shop-card.is-buyable .shop-card-state{color:#4fc3f7}.shop-card.is-buyable:active{background:#24344a}.shop-card.is-owned{opacity:.5;cursor:default}.shop-card.is-owned .shop-card-state{color:#6ee7a8}.shop-card.is-owned .shop-card-state:before{content:"✓ "}.shop-card.is-locked{opacity:.4;cursor:default}.shop-card.is-locked .shop-card-state{color:#8b9bb4}.shop-card:disabled{cursor:default}
