:root{--brand:#ff8a3d;--ink:#573c2a;--paper:#fffaf2}
html,body{background:#f4eadb;color:var(--ink)}
#viewport{inset:0}
#stage{background:#eee3cd}
#game{background:url('images/gen/gptimg_1795603600_look.png') center/100% 100% no-repeat;border-radius:0}
.ui-vignette{background:none}
.hud{top:20px;left:24px;right:24px}
.pill,.round-btn{background:rgba(255,250,242,.96);border:2px solid #fff!important;box-shadow:0 4px 16px #573c2a20;color:var(--ink)}
.pill{height:60px;border-radius:20px;padding-right:20px;gap:10px}
.pill-val{font-size:30px}.wave-txt{font-size:26px}
.pill-ico{box-shadow:none;width:40px;height:40px}.coin-ico,.wave-ico{background:var(--brand)}.life-ico{background:#ed7783}
.round-btn{border-radius:18px;width:64px;height:60px}
.dock{bottom:16px;padding:12px;gap:24px;border:2px solid #fff;border-radius:24px;background:rgba(255,250,242,.97);box-shadow:0 8px 26px #573c2a24;height:112px}
.dock::before{display:none}.tower-cards{gap:10px}
.tower-card{background:#fffdf9;border:2px solid #eadccb!important;box-shadow:none;border-radius:16px;width:188px;height:82px}
.tower-card .thumb-wrap{background:#fff0df;border:0;box-shadow:none;border-radius:12px}
.tower-card.selected{background:#fff1e5;border-color:var(--brand)!important;box-shadow:0 0 0 2px #ff8a3d22;transform:none}
.tname{font-size:25px;font-weight:800}.tcost{font-size:22px}.tower-card.poor{opacity:.55}
.start-btn{background:var(--brand);border:2px solid #ffb783!important;box-shadow:0 4px 10px #f0783226;border-radius:16px;font-size:28px;text-shadow:none}
.start-btn.ready,.wave-dots i.now,.pill.bump{animation:none}
.start-btn.disabled{box-shadow:none}.wave-hint{font-weight:500;font-size:20px}
.tower-panel,.modal-card{background:var(--paper);border:2px solid #fff;border-radius:24px;box-shadow:0 12px 36px #573c2a30}
.toast{background:#573c2aee;border:0;box-shadow:0 4px 12px #573c2a20;font-weight:500}
#entities{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.entity{position:absolute;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);color:#fff;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 8px #573c2a30}
.entity .mp-icon{width:36px;height:36px}.enemy{width:48px;height:48px;background:#9577b9}.tower{width:66px;height:66px;background:var(--brand);pointer-events:auto;cursor:pointer}.enemy small{position:absolute;bottom:-10px;left:0;height:5px;background:#7eb864;border-radius:4px;max-width:100%}
.build-slot{position:absolute;width:64px;height:64px;transform:translate(-50%,-50%);border:2px dashed #fff!important;border-radius:18px;background:#fff9;pointer-events:auto!important;color:#a46e45;font-size:32px}
.build-slot:focus-visible,.tower:focus-visible,#ui button:focus-visible{outline:4px solid #c65a1c;outline-offset:4px}
.modal-card{text-align:center;padding:36px;min-width:440px;color:var(--ink)}.modal-card h2{font-size:36px;margin:0 0 16px}.modal-card p{font-size:24px;line-height:1.6}.modal-card button{display:block;margin:14px auto 0;min-width:280px;min-height:62px;border-radius:16px;background:var(--brand);color:#fff;font-size:26px;padding:12px 24px}.overlay{background:#35251966}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
