* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: #0b0e17; color: #fff; overflow: hidden; font: 18px/1.35 system-ui, sans-serif; }
[hidden] { display: none !important; }
button, input { font: inherit; border-radius: 8px; border: 1px solid #888; }
.wrap { position: relative; }
.battle-log { background: #fff; color: #111; overflow: auto; }
.win { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(8,10,20,.8); z-index: 200; }
.win h2 { font-size: 72px; color: #ffd23a; }
.win p { font-size: 44px; font-weight: 800; }
.win i { position: absolute; top: -20px; width: 12px; height: 20px; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(1000px) rotate(540deg); } }
