html,body,#root{background:#1b1512;height:100%;margin:0}.hud-bar,.hud-panel,.hud-toast{z-index:30;color:#f5ecd9;font:14px/1.4 system-ui,sans-serif;position:fixed}.hud-bar{background:#1b1512e0;border-bottom:1px solid #5a4330;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex;top:0;left:0;right:0}.hud-panel{background:#2b211b;border:1px solid #6b5038;border-radius:10px;padding:16px 20px;box-shadow:0 10px 30px #00000080}.hud-panel h1,.hud-panel h2{margin:0 0 10px;font-size:20px}.hud-panel h1{font-size:28px}.hud-center{text-align:center;flex-direction:column;align-items:center;gap:12px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}.hud-dialog{flex-direction:column;gap:10px;width:min(340px,100vw - 32px);display:flex;bottom:16px;right:16px}.hud-toast{cursor:pointer;background:#6b2a1a;border:1px solid #c0634a;border-radius:8px;max-width:min(520px,100vw - 32px);padding:8px 14px;bottom:16px;left:50%;transform:translate(-50%)}.hud-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hud-spacer{flex:1}.hud-hint{opacity:.9}.hud-chip{color:#fff;text-shadow:0 1px 2px #0009;border-radius:10px;padding:2px 8px;font-weight:600;display:inline-block}.hud-step{opacity:.55;border-radius:6px;padding:2px 8px}.hud-step-on{opacity:1;background:#5a4330;font-weight:600}.hud-bar button,.hud-panel button{font:inherit;color:#f5ecd9;cursor:pointer;background:#3d2f25;border:1px solid #8a6a4a;border-radius:6px;min-height:32px;padding:4px 12px}.hud-bar button:disabled,.hud-panel button:disabled{opacity:.4;cursor:default}button[aria-pressed=true]{color:#1b1512;background:#c9a35a;border-color:#f0d58c}.hud-bar .hud-primary,.hud-panel .hud-primary{background:#b5452f;border-color:#e0806a;font-weight:600}.hud-panel input[type=number]{font:inherit;color:#f5ecd9;background:#3d2f25;border:1px solid #8a6a4a;border-radius:6px;width:4em;min-height:32px;padding:4px 6px}.hud-toast:focus-visible,.hud-bar button:focus-visible,.hud-panel button:focus-visible,.hud-panel input:focus-visible{outline-offset:2px;outline:2px solid #ffd47a}.hud-close{position:absolute;top:8px;right:8px;min-height:28px!important;padding:0 8px!important}.hud-versus{justify-content:space-between;align-items:center;gap:8px;display:flex}.hud-side{flex-direction:column;align-items:center;gap:4px;display:flex}.hud-side strong{font-size:22px}.hud-dice{justify-content:center;align-items:center;gap:12px;display:flex}.hud-dice-row{gap:6px;display:flex}.hud-die{border-radius:7px;place-items:center;width:34px;height:34px;font:700 20px/1 system-ui,sans-serif;display:grid}.hud-die-attack{color:#fff;background:#c0392b}.hud-die-defend{color:#1b1512;background:#f5ecd9}.hud-cards{flex-wrap:wrap;gap:6px;display:flex}.hud-card{text-align:left;flex-direction:column;align-items:flex-start;width:96px;display:flex}.hud-card span{font-size:12px}.fight-bar{pointer-events:none}.fight-fps{font-variant-numeric:tabular-nums;opacity:.8}.fight-warn{color:#ffb4a0;max-width:420px}.fight-crosshair{z-index:30;pointer-events:none;filter:drop-shadow(0 0 1px #000);background:linear-gradient(#fff,#fff) 50%/2px 100% no-repeat,linear-gradient(#fff,#fff) 50%/100% 2px no-repeat;width:18px;height:18px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.fight-hitmarker{background:linear-gradient(45deg,#0000 45%,#ff4a2a 45% 55%,#0000 55%),linear-gradient(-45deg,#0000 45%,#ff4a2a 45% 55%,#0000 55%);animation:.2s ease-out both fight-hit;position:absolute;inset:-6px}@keyframes fight-hit{0%{opacity:1}to{opacity:0}}.fight-keys{flex-wrap:wrap;justify-content:center;gap:4px 14px;max-width:420px;display:flex}.fight-keys span{white-space:nowrap}.fight-keys kbd{background:#3d2f25;border:1px solid #8a6a4a;border-radius:4px;padding:2px 5px;font:600 12px/1 system-ui,sans-serif}.fight-att{color:#9dbdf0}.fight-def{color:#f4a99b}.fight-clock{font-variant-numeric:tabular-nums;font-size:16px}.fight-survivors{flex-direction:column;gap:4px;font-size:16px;display:flex}.fight-down{pointer-events:none;font-size:18px;top:30%;left:50%;transform:translate(-50%)}.fight-hurt{z-index:29;pointer-events:none;background:radial-gradient(#0000 55%,#c81e1459);animation:.35s ease-out both fight-hit;position:fixed;inset:0}.dive{z-index:40;cursor:pointer;position:fixed;inset:0}.dive:before{content:"";background:var(--dive-sky);animation:dive-fade var(--dive-ms) ease-in both;position:absolute;inset:0}@keyframes dive-fade{0%,55%{opacity:0}to{opacity:1}}.dive-where{text-align:center;color:#fffaf0;text-shadow:0 2px 8px #000c;width:100%;margin:0;font:700 30px/1.2 system-ui,sans-serif;position:absolute;top:18%}.dive-skip{padding:8px;bottom:16px;right:16px}.hud-settings{z-index:40;inset:64px auto auto 16px}.hud-settings input[type=range]{flex:1}.hud-warn{cursor:default;bottom:64px}.hud-settings label:has(>input[type=checkbox]){flex-wrap:nowrap}
