:root{--bg-deep: #140f0c;--bg: #1a1410;--bg-panel: #241c16;--bg-raised: #2e241c;--ink: #e8dcc8;--ink-dim: #a89880;--accent: #c4a35a;--accent-hot: #d4653a;--accent-cool: #3d7a6a;--danger: #a33a3a;--ok: #5a8f4a;--pixel: 4px;--font-display: "Press Start 2P", monospace;--font-body: "IBM Plex Sans", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:radial-gradient(ellipse at 20% 0%,#2a1f18 0%,transparent 50%),radial-gradient(ellipse at 80% 100%,#1e2a24 0%,transparent 45%),var(--bg-deep);color:var(--ink);font-family:var(--font-body)}button,select,input{font:inherit;color:inherit}button{cursor:pointer;background:var(--bg-raised);border:2px solid var(--accent);color:var(--ink);padding:.45rem .75rem;image-rendering:pixelated}button:hover:not(:disabled){background:#3a2e24;border-color:#e0c070}button:disabled{opacity:.4;cursor:not-allowed}button.danger{border-color:var(--danger)}button.primary{background:#3a3020;border-color:var(--accent-hot)}.app-shell{max-width:1100px;margin:0 auto;padding:1rem;min-height:100vh;display:flex;flex-direction:column;gap:.75rem}.topbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between;border-bottom:3px solid var(--accent);padding-bottom:.75rem}.brand{font-family:var(--font-display);font-size:.7rem;letter-spacing:.04em;color:var(--accent);line-height:1.5}.brand small{display:block;color:var(--ink-dim);font-size:.45rem;margin-top:.35rem}.nav{display:flex;flex-wrap:wrap;gap:.35rem}.nav button.active{background:var(--accent);color:var(--bg-deep)}.stats-strip{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.85rem;color:var(--ink-dim)}.stats-strip strong{color:var(--accent);font-weight:600}.panel{background:linear-gradient(180deg,var(--bg-panel),#1c1612);border:2px solid #3a2e24;padding:.9rem}.panel h2{font-family:var(--font-display);font-size:.55rem;color:var(--accent);margin:0 0 .75rem;line-height:1.6}.grid-2{display:grid;grid-template-columns:1fr;gap:.75rem}@media(min-width:800px){.grid-2{grid-template-columns:1fr 1fr}}.card{background:var(--bg-raised);border:2px solid #4a3a2a;padding:.55rem;font-size:.85rem}.card.hand{min-width:110px;max-width:140px;cursor:pointer}.card.hand:hover{border-color:var(--accent)}.card .name{font-family:var(--font-display);font-size:.4rem;color:var(--accent);margin-bottom:.35rem;line-height:1.4}.muted{color:var(--ink-dim);font-size:.8rem}.list{display:flex;flex-direction:column;gap:.4rem;max-height:320px;overflow:auto}.row{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;justify-content:space-between}.hand-row{display:flex;flex-wrap:wrap;gap:.4rem}.battle-log{font-size:.8rem;max-height:180px;overflow:auto;background:#120e0b;padding:.5rem;border:1px solid #3a2e24}.battle-log div{margin-bottom:.25rem}.pixel-banner{height:72px;background:repeating-linear-gradient(90deg,#2a1c14 0 8px,#1e1612 8px 16px),linear-gradient(180deg,#3d2b1f,#1a1410);border:3px solid #4a3a2a;image-rendering:pixelated;position:relative;overflow:hidden}.pixel-banner:after{content:"";position:absolute;inset:18px 30% auto;height:28px;background:#6b4a32;box-shadow:12px 10px #3d2b1f,-16px 14px #2a6b4f}.tag{display:inline-block;font-size:.7rem;padding:.1rem .35rem;border:1px solid var(--ink-dim);color:var(--ink-dim)}.tag.hot{border-color:var(--accent-hot);color:var(--accent-hot)}.tag.ok{border-color:var(--ok);color:var(--ok)}select{background:var(--bg-raised);border:2px solid #4a3a2a;padding:.3rem}.boot{min-height:100vh;display:grid;place-items:center;text-align:center;padding:1.5rem}.boot h1{font-family:var(--font-display);font-size:1rem;color:var(--accent);line-height:1.6}.flash{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.65}}.help-list{margin:.35rem 0 0;padding-left:1.2rem;line-height:1.55;font-size:.92rem}.help-list li{margin-bottom:.45rem}.help-list strong{color:var(--accent)}
