:root{--stage-background: #E9DFC9;color:#ede4d2;background:#171a1d;font-family:Microsoft YaHei,PingFang SC,sans-serif}*{box-sizing:border-box}html,body{min-width:320px;min-height:100%;margin:0;overflow-x:hidden}button{font:inherit}button:focus-visible,summary:focus-visible{outline:3px solid #F2BE45;outline-offset:2px}[hidden]{display:none!important}.startup-error{margin:auto;padding:24px;color:#3a281d;font-size:17px;text-align:center}:root{--hero-accent: #D89A4E;--hero-fill: #FFD36B}body{background:radial-gradient(circle at 50% -10%,#394044 0,#252a2d 34%,#171a1d 78%)}.bunker-app{width:100%;min-height:100dvh;padding:0 16px 24px}.bunker-header{display:flex;width:min(100%,1280px);height:62px;margin:0 auto;align-items:center;gap:10px;color:#f4e8cf}.bunker-header div{display:grid}.bunker-header strong{letter-spacing:.12em}.bunker-header small{color:#9fa8a8;font-size:11px;letter-spacing:.18em}.bunker-mark{display:grid;width:34px;height:34px;place-items:center;border:1px solid #697173;border-radius:9px;color:var(--hero-fill);background:#202427}.bunker-layout{display:grid;width:min(100%,1280px);margin:0 auto;gap:14px}.play-room{position:relative;min-width:0;height:clamp(340px,52dvh,520px);overflow:hidden;border:1px solid #5D6260;border-radius:20px;background:#e9dfc9;box-shadow:inset 0 0 0 5px #272c2e,0 18px 44px #00000047}.play-room:before{position:absolute;z-index:1;inset:10px 10px auto;height:8px;border-radius:999px;background:repeating-linear-gradient(90deg,#3d4446 0,#3d4446 28px,#202527 28px,#202527 40px);content:"";pointer-events:none;opacity:.7}#stage,#stage canvas{width:100%;height:100%}#stage canvas{display:block;touch-action:none}.control-room{display:grid;min-width:0;align-content:start;gap:12px}.durability-panel,.room-section,.stats-panel{border:1px solid #4C5354;border-radius:14px;background:#1f2426eb;box-shadow:inset 0 1px #ffffff0d}.durability-panel{padding:13px 14px}.durability-copy{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.durability-label{color:#d8d2c4;font-size:13px}.durability-status{color:var(--hero-fill);font-size:14px}.durability-track{height:10px;margin-top:10px;overflow:hidden;border:1px solid #555E5F;border-radius:999px;background:#111516}.durability-track i{display:block;width:100%;height:100%;transform-origin:left;transition:transform .18s ease;background:linear-gradient(90deg,var(--hero-accent),var(--hero-fill))}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-actions button,.completion-card button,.clear-stats{min-height:42px;border:1px solid #667072;border-radius:11px;color:#eee5d4;background:#303638;cursor:pointer}.quick-actions button:hover,.completion-card button:hover{border-color:var(--hero-fill);background:#3b4244}button:disabled{cursor:wait;opacity:.55}.action-status{min-height:14px;margin-top:-7px;color:#aab3b1;font-size:11px;text-align:center}.room-section{padding:12px}.room-section h2{margin:0 0 9px;color:#aeb7b6;font-size:12px;font-weight:600;letter-spacing:.16em}.character-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.room-button{display:grid;min-width:0;min-height:94px;padding:6px;place-items:center;border:2px solid transparent;border-radius:12px;color:#d8d2c4;background:#252a2c;cursor:pointer}.room-button img{width:58px;height:70px;object-fit:contain;filter:drop-shadow(0 5px 5px rgb(0 0 0 / 24%))}.room-button span{max-width:100%;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.room-button[aria-pressed=true]{border-color:var(--hero-accent);color:#fff6e4;background:color-mix(in srgb,var(--hero-accent) 18%,#252A2C)}.stats-panel{overflow:hidden}.stats-panel summary{padding:12px 14px;color:#c8cfcd;cursor:pointer;font-size:13px}.stats-total{display:grid;grid-template-columns:repeat(3,1fr);padding:0 12px 12px;gap:8px}.stats-total span{display:grid;padding:8px 4px;place-items:center;border-radius:9px;background:#272d2f}.stats-total strong{color:var(--hero-fill);font-size:19px}.stats-total small{color:#929c9c;font-size:10px}.stats-heroes{display:grid;padding:0 12px;gap:6px}.stats-heroes section{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #3D4445;font-size:11px}.stats-heroes span{color:#929c9c;text-align:right}.clear-stats{width:calc(100% - 24px);min-height:34px;margin:10px 12px 12px;color:#c7b8aa;font-size:11px}.completion-card{position:absolute;z-index:3;left:50%;bottom:8px;display:grid;width:min(310px,calc(100% - 32px));max-height:30%;padding:9px 12px;transform:translate(-50%);border:1px solid #8C7658;border-radius:14px;color:#f6ecd8;background:#1c1f20f0;box-shadow:0 16px 44px #00000061;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:card-in .22s ease-out}.completion-card>strong{margin-top:2px;color:var(--hero-fill);font-size:18px}.completion-card p{display:none;margin:7px 0 13px;color:#b7bfbc;font-size:12px}.completion-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.completion-card button{min-height:34px}.completion-card small{min-height:14px;margin-top:2px;color:#aab3b1}.completion-card small:empty{display:none}.completion-badge{justify-self:center;padding:3px 9px;border-radius:999px;color:#202425;background:var(--hero-fill);font-size:10px;letter-spacing:.18em}@keyframes card-in{0%{opacity:0;transform:translate(-50%,12px) scale(.97)}}@media(min-width:900px){body{overflow:hidden}.bunker-app{height:100dvh;padding-bottom:16px}.bunker-layout{height:calc(100dvh - 78px);grid-template-columns:minmax(0,1fr) 330px}.play-room{height:100%}.control-room{max-height:100%;overflow-y:auto;padding-right:2px}.room-button{min-height:116px}.room-button img{width:72px;height:86px}.completion-card{bottom:18px;max-height:none;padding:17px;border-radius:16px}.completion-card>strong{margin-top:3px;font-size:21px}.completion-card p{display:block}.completion-card button{min-height:42px}.completion-card small{min-height:16px;margin-top:5px}}
