html,body{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#0d1117;height:100%;margin:0;overflow:hidden}#app{position:fixed;inset:0}canvas{display:block}canvas[hidden]{display:none}.stick-layer,canvas{cursor:crosshair}.stick-layer{z-index:1;touch-action:none;position:absolute;inset:0}.stick-base{pointer-events:none;background:#ffffff0f;border:2px solid #ffffff59;border-radius:50%;width:120px;height:120px;margin:-60px 0 0 -60px;position:absolute;top:0;left:0}.stick-knob{background:#ffffff73;border-radius:50%;width:52px;height:52px;margin:-26px 0 0 -26px;position:absolute;top:50%;left:50%}.stick-knob.firing{background:#ff5a5ab3}.stick-ring{box-sizing:border-box;border:2px dashed #ff78788c;border-radius:50%;position:absolute;top:50%;left:50%}.touch-button{z-index:2;color:#e4e9ef;touch-action:none;background:#141c26b3;border:2px solid #ffffff80;border-radius:50%;width:72px;height:72px;font:600 13px system-ui,sans-serif;display:none;position:absolute}.touch-ui .touch-button{display:block}#btn-reload{right:calc(24px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom))}#btn-swap{right:calc(24px + env(safe-area-inset-right));bottom:calc(108px + env(safe-area-inset-bottom))}#btn-interact{right:calc(108px + env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom))}#btn-dash{right:calc(108px + env(safe-area-inset-right));bottom:calc(108px + env(safe-area-inset-bottom))}.touch-ui .touch-button[hidden]{display:none}#btn-dash.available{color:#7ee0ff;border-color:#7ee0ff}#btn-interact.available{color:#5cc896;border-color:#5cc896}#btn-interact.held{background:#5cc89659}body:not(.in-breach) .stick-layer,body:not(.in-breach) .touch-button{display:none}.screen{z-index:6;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));box-sizing:border-box;color:#e4e9ef;background:#0d1117;flex-direction:column;justify-content:safe center;align-items:center;gap:12px;font:16px system-ui,sans-serif;display:flex;position:fixed;inset:0;overflow-y:auto}.screen .screen{background:0 0;padding:0;position:static}.screen-title{text-align:center;margin:0;font-size:22px;font-weight:700}.screen-hint{color:#9aa6b5;text-align:center;margin:0;font-size:14px}.class-name{color:#ffc857;margin-left:10px;font-size:15px;font-weight:600}.screen button,.breach-buttons button{color:#fff;background:#4f86ff;border:0;border-radius:8px;min-height:44px;padding:0 18px;font:600 16px system-ui,sans-serif}.screen button:disabled{opacity:.45}.screen button.on{background:#5cc896}.screen-actions{align-items:center;gap:12px;display:flex}.player-list,.loadout-list{flex-direction:column;gap:6px;min-width:min(360px,90vw);margin:0;padding:0;list-style:none;display:flex}ol.player-list{list-style:inside decimal}.player-list li{background:#161e28;border-radius:8px;padding:8px 12px}.player-list li.ready{box-shadow:inset 3px 0 #5cc896}.badge{color:#9aa6b5;text-transform:uppercase;background:#2a3442;border-radius:4px;margin-left:8px;padding:1px 6px;font-size:12px}.countdown{top:env(safe-area-inset-top);background:#1b2230;height:4px;position:absolute;left:0;right:0}.countdown-fill{background:#f07088;height:100%}.perk-row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.perk-card{color:#e4e9ef;text-align:left;background:#161e28;border:3px solid;border-radius:10px;flex-direction:column;gap:4px;width:min(220px,28vw);min-height:120px;padding:10px 12px;font:14px system-ui,sans-serif;display:flex}.screen button.perk-card{background:#161e28;min-height:120px;padding:10px 12px;font:14px system-ui,sans-serif}.perk-card.selected,.screen button.perk-card.selected{background:#243047;box-shadow:0 0 0 3px #e4e9ef}.perk-rarity{color:#9aa6b5;text-transform:uppercase;font-size:11px}.perk-name{font-size:16px}.perk-description{color:#c3ccd8}.tally{color:#ffc857;min-height:1.2em;font-size:13px}.loadout-list li{background:#161e28;border-radius:8px;flex-direction:column;gap:2px;padding:8px 12px;display:flex}.loadout-name{font-weight:700}.loadout-perk{color:#c3ccd8;font-size:14px}.loadout-perk.curse strong{color:#f07088}.breach-buttons{z-index:3;right:calc(16px + env(safe-area-inset-right));top:calc(8px + env(safe-area-inset-top));gap:8px;display:flex;position:fixed}.breach-buttons button{background:#141c26b3;border:2px solid #ffffff59;min-height:40px;font-size:14px}.breach-buttons button.on{background:#243047}#perks-sheet{z-index:4;top:calc(56px + env(safe-area-inset-top));right:calc(16px + env(safe-area-inset-right));color:#e4e9ef;background:#0d1117eb;border-radius:10px;max-width:min(420px,90vw);max-height:70vh;padding:10px;font:14px system-ui,sans-serif;position:fixed;overflow-y:auto}#hud-status{color:#ff9f43}#hud-statuses{color:#7ee0ff}#hud{z-index:2;left:calc(16px + env(safe-area-inset-left));top:calc(12px + env(safe-area-inset-top));color:#e4e9ef;pointer-events:none;gap:16px;font:600 16px ui-monospace,monospace;display:flex;position:fixed}#hud[hidden]{display:none}#lobby{z-index:5;color:#e4e9ef;background:#0d1117;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:16px;font:16px system-ui,sans-serif;display:flex;position:fixed;inset:0}#lobby h1{margin:0 0 8px;font-size:32px}#lobby h1 em{color:#f07088}#lobby button,#lobby input{border-radius:8px;min-height:48px;font:600 18px system-ui,sans-serif}#lobby button{color:#fff;background:#4f86ff;border:0;min-width:160px}#lobby button:disabled{opacity:.5}#join-form{gap:8px;display:flex}#input-code{color:#e4e9ef;letter-spacing:.15em;text-transform:uppercase;background:#161e28;border:2px solid #5a6678;width:9ch;padding:0 12px}#lobby-error{color:#f07088;min-height:1.4em;margin:0}#build-label{right:calc(12px + env(safe-area-inset-right));bottom:calc(8px + env(safe-area-inset-bottom));color:#5a6678;margin:0;font:12px ui-monospace,monospace;position:absolute}#install-hint{color:#9aa6b5;font-size:14px}#install-hint[hidden]{display:none}#lobby #btn-install{color:#e4e9ef;background:0 0;border:2px solid #5a6678;min-height:40px;font-size:15px}#rotate-overlay{z-index:10;color:#e4e9ef;background:#0d1117;place-items:center;font:600 20px system-ui,sans-serif;display:grid;position:fixed;inset:0}#rotate-overlay[hidden]{display:none}.class-picker{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.class-button{color:#e4e9ef;background:#141c26b3;border:2px solid #ffffff59;border-radius:8px;padding:8px 16px;font-size:14px}.class-button.selected{color:#7ee0ff;border-color:#7ee0ff}.perk-search{color:#e4e9ef;background:#0c121acc;border:1px solid #ffffff40;border-radius:8px;align-self:center;width:min(320px,80vw);padding:8px 12px}.practice-lists{justify-content:center;align-items:flex-start;gap:16px;width:100%;min-height:0;display:flex}.practice-list{flex-direction:column;flex:1 1 0;gap:4px;min-width:0;max-width:420px;display:flex}.perk-scroll{flex-direction:column;gap:6px;max-height:40vh;padding-right:4px;display:flex;overflow-y:auto}#match-screen[data-phase=PRACTICE_SETUP] .perk-card,#match-screen[data-phase=PRACTICE_SETUP] button.perk-card{border-width:2px;gap:2px;width:100%;min-height:0;padding:6px 10px}#match-screen[data-phase=PRACTICE_SETUP] .perk-scroll>*{flex-shrink:0}#match-screen[data-phase=PRACTICE_SETUP] .perk-rarity{font-size:10px}#match-screen[data-phase=PRACTICE_SETUP] .perk-name{font-size:14px}#match-screen[data-phase=PRACTICE_SETUP] .perk-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}#match-screen[data-phase=PRACTICE_SETUP] .screen-actions{background:#0d1117;justify-content:center;align-self:stretch;padding:8px 0;position:sticky;bottom:0;box-shadow:0 -8px 12px #0d1117}#match-screen[data-phase=PRACTICE_SETUP] .practice-lists,#match-screen[data-phase=PRACTICE_SETUP] .player-list,#match-screen[data-phase=PRACTICE_SETUP] .screen-actions{flex-shrink:0}#match-screen[data-phase=PRACTICE_SETUP] .player-list{max-height:14vh;font-size:13px;overflow-y:auto}button.secondary{background:#141c26b3}
