*{box-sizing:border-box;margin:0;padding:0}html,body{color:#fff;-webkit-user-select:none;user-select:none;background:#1d1b26;width:100%;height:100%;font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}#game{width:100%;height:100%;display:block}#ui{pointer-events:none;position:fixed;inset:0}.screen{pointer-events:auto;text-align:center;background:#14121e99;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}.screen.menu{text-align:left;background:linear-gradient(90deg,#14121ebf 0%,#14121e59 40%,#14121e00 60%);align-items:flex-start;padding-left:7vw}.screen.menu .logo{transform-origin:0}.screen h1{letter-spacing:2px;text-shadow:0 6px #000;font-size:72px;font-weight:900}.screen h1.logo{color:#ffd84d;text-shadow:0 8px #000,0 0 40px #ff8c1a99;font-size:120px;transform:rotate(-3deg)}.tagline{text-shadow:0 2px #000;font-size:22px;font-weight:700}.status{font-size:26px;font-weight:700}.buttons{flex-direction:column;gap:12px;margin-top:8px;display:flex}.buttons.row{flex-direction:row}.screen button{min-width:260px;font:inherit;letter-spacing:1px;color:#fff;cursor:pointer;background:#3d5a99;border:4px solid #000;border-radius:14px;padding:14px 28px;font-size:24px;font-weight:900;transition:transform 80ms;box-shadow:0 6px #000}.screen button.primary{background:#e8584f}.screen button:hover{transform:translateY(-2px)scale(1.03)}.screen button:active{transform:translateY(4px);box-shadow:0 2px #000}.screen button:disabled{opacity:.5;cursor:default;transform:none}.panel{text-align:left;background:#0000008c;border:3px solid #000;border-radius:14px;max-width:560px;padding:18px 24px;font-size:17px;line-height:1.5}.panel ul{margin-bottom:10px;padding-left:20px}.controls{opacity:.85;font-size:16px}.error{color:#ffb3b3;font-weight:700}.hidden{display:none!important}#hud{text-shadow:0 3px #000;justify-content:space-between;align-items:flex-start;font-weight:900;display:flex;position:absolute;top:16px;left:20px;right:20px}#lives{letter-spacing:4px;color:#ff4d5e;font-size:40px}#lives .lost{color:#ffffff40}#timer{text-align:center;min-width:120px;font-size:56px}#timer.urgent{color:#ffd84d}#round{font-size:28px}#center{flex-direction:column;align-items:center;gap:6px;display:flex}#meter{flex-direction:column;align-items:center;gap:4px;display:flex}#meter-label{font-size:18px;font-weight:800}#meter-bar{background:#00000073;border:3px solid #000;border-radius:9px;width:260px;height:18px;overflow:hidden}#meter-fill{background:#4dc3ff;width:50%;height:100%}#meter.warn #meter-bar{animation:.35s steps(2,end) infinite blink}@keyframes blink{50%{border-color:#ff3b3b}}#banner{text-align:center;text-shadow:0 5px #000;animation:.35s ease-out pop;position:absolute;top:22%;left:0;right:0}#banner-small{letter-spacing:3px;font-size:32px;font-weight:800}#banner-big{font-size:72px;font-weight:900}@keyframes pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}#hit-flash{opacity:0;transition:opacity .4s ease-out;position:absolute;inset:0;box-shadow:inset 0 0 160px 40px #ff1e1ed9}#hit-flash.on{opacity:1;transition:none}.shop-coins{color:#ffd84d;text-shadow:0 3px #000;font-size:30px;font-weight:900}.shop-items{flex-wrap:wrap;justify-content:center;gap:14px;margin:6px 0;display:flex}#screen-shop{gap:10px}.forecast{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.forecast-card{background:#0000008c;border:3px solid #000;border-radius:14px;flex-direction:column;align-items:center;gap:4px;width:220px;padding:12px 14px;display:flex}.forecast-card .what{opacity:.75;font-size:13px;font-weight:800}.forecast-card .title{color:#ffd84d;font-size:20px;font-weight:900}.forecast-card .bar{background:#ffffff26;border-radius:5px;width:100%;height:10px;margin-top:4px;overflow:hidden}.forecast-card .bar span{background:#4dc3ff;height:100%;display:block}.forecast-card .pct{font-size:22px;font-weight:900}.screen .item-card{letter-spacing:0;background:#2b2840;flex-direction:column;align-items:center;gap:4px;width:170px;min-width:0;padding:14px 10px 10px;font-size:16px;font-weight:700;display:flex;position:relative}.item-card .key{opacity:.6;font-size:14px;position:absolute;top:8px;left:10px}.item-card .icon{font-size:40px}.item-card .name{font-size:22px;font-weight:900}.item-card .desc{opacity:.85;min-height:40px;font-size:14px;font-weight:600}.item-card .price{color:#ffd84d;font-size:20px;font-weight:900}.item-card .tag{min-height:18px;font-size:14px;font-weight:900}.screen .item-card.owned{background:#2f7d4a;box-shadow:0 6px #000,0 0 0 4px #7fe0a0}.screen .item-card.poor{opacity:.45}#right{flex-direction:column;align-items:flex-end;gap:4px;display:flex}#coins{color:#ffd84d;font-size:24px}#coins.pulse{animation:.3s ease-out pop}#item-slot{text-shadow:0 2px #000;background:#00000080;border:3px solid #000;border-radius:12px;padding:8px 14px;font-size:20px;font-weight:900;position:absolute;bottom:18px;right:20px}#item-slot.used{opacity:.45;text-decoration:line-through}#item-slot.pulse{animation:.35s ease-out pop}#banner-sub{color:#ffd84d;margin-top:6px;font-size:28px;font-weight:900}#lobby-hint{text-align:center;text-shadow:0 3px #000;font-size:26px;font-weight:900;position:absolute;top:24px;left:0;right:0}#fade{opacity:0;background:#fff;transition:opacity .6s ease-out;position:absolute;inset:0}#fade.on{opacity:1;transition:none}#crosshair{opacity:.85;background:#fff;border-radius:50%;width:8px;height:8px;margin:-4px 0 0 -4px;position:absolute;top:50%;left:50%;box-shadow:0 0 0 2px #000}#shiftlock-state{margin-top:4px;font-weight:800}#hud-hint{opacity:.7;text-shadow:0 1px 2px #000;font-size:14px;position:absolute;bottom:16px;left:16px}
