:root{--bg:#17120e;--panel:#241c15;--panel-2:#2e241b;--line:#4a3b2c;--text:#eadfc8;--muted:#a8977c;--brass:#d4a93c;--rust:#b5562f;--sage:#7f9a6a;--water:#1d2a28;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1,h2,h3{letter-spacing:.02em;margin:0 0 .5em;font-family:Georgia,Times New Roman,serif}a{color:var(--brass)}button,input,select{font:inherit;color:var(--text);background:var(--panel-2);border:1px solid var(--line);border-radius:4px;padding:.35em .7em}button{cursor:pointer}button:hover{border-color:var(--brass)}button.primary{background:var(--brass);color:#1b140c;border-color:var(--brass);font-weight:600}button.small{padding:.15em .5em;font-size:.8em}button.small.active{border-color:var(--brass);color:var(--brass)}input:disabled,select:disabled{opacity:.6}.hint,.muted{color:var(--muted);font-size:.9em}.error{color:#ff8a65}.lobby{max-width:960px;margin:0 auto;padding:24px 16px 64px}.lobby-title h1{color:var(--brass);font-size:2.6em}.card{background:var(--panel);border:1px solid var(--line);border-radius:8px;margin:16px 0;padding:16px 20px}.row{flex-wrap:wrap;gap:16px;margin-bottom:12px;display:flex}.row label{flex-direction:column;gap:4px;font-size:.9em;display:flex}.row input[type=number]{width:6em}.team-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.team-draft{border:1px solid var(--line);border-left:5px solid;border-radius:6px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.seat-draft{gap:6px;display:flex}.seat-draft input{flex:1;min-width:0}details{margin:12px 0}details label{margin:8px 0;display:block}.check{align-items:center;gap:8px;display:flex}.links{padding:0;list-style:none}.links li{margin:6px 0}.loading{padding:40px;font-size:1.2em}.match{grid-template-rows:auto auto 1fr;height:100vh;display:grid}.match-header{background:var(--panel);border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:8px 16px;font-size:.9em;display:flex}.match-header .home{font-family:Georgia,serif;font-weight:700;text-decoration:none}.status.open{color:var(--sage)}.status.reconnecting,.notice{color:#ff8a65}.tick-track{background:var(--panel-2);border-bottom:1px solid var(--line);width:100%;height:74px}.track-line{stroke:var(--line);stroke-width:2px}.track-elapsed{fill:var(--brass);opacity:.35}.track-tick{stroke:var(--muted)}.track-label{fill:var(--muted);text-anchor:middle;font-size:10px}.track-event{stroke:var(--rust);stroke-dasharray:3 3}.track-event-label{fill:var(--rust);font-size:10px}.track-team{stroke:#000}.track-team.mine{stroke:#fff;stroke-width:2px}.track-team-label{text-anchor:middle;fill:#000;pointer-events:none;font-size:8px;font-weight:700}.track-next{fill:none;stroke:var(--brass);stroke-width:2px}.match-main{grid-template-columns:1fr 360px;min-height:0;display:grid}.board-col{flex-direction:column;min-height:0;display:flex}.tabs{gap:4px;padding:6px 8px 0;display:flex}.tab{border-bottom-right-radius:0;border-bottom-left-radius:0;font-size:.85em}.tab.active{background:var(--brass);color:#1b140c}.map-wrap{flex:1;min-height:0;padding:8px;display:flex}.fight-wrap{flex-direction:column;width:100%;min-height:0;display:flex}.fight-title{padding:0 4px 6px;font-size:.9em}.fight-board{flex:1;width:100%;min-height:0}.coord{fill:var(--muted);text-anchor:middle;font-size:10px}.cell{stroke:#0003;stroke-width:.5px}.cell.yard{fill:#5c4d36}.cell.brush{fill:#3f5a32}.cell.wall{fill:#1c1610}.cell.window{fill:#6f93a3}.cell.door{fill:#a07a45}.cell.door-closed{fill:#6b4a22}.cell.door-locked{fill:#8b2e1a}.cell.floor{fill:#7a6649}.cell.crate{fill:#3a2814}.contact rect{fill-opacity:.18}.contact-label{text-anchor:middle;paint-order:stroke;stroke:var(--bg);stroke-width:3px;font-size:12px;font-weight:700}.move-dot{fill:var(--brass)}.run-ring{fill:none;stroke:var(--brass);stroke-width:1.5px;opacity:.7}.door-hint,.kick-hint{fill:none;stroke:#9fc9e6;stroke-width:2px;stroke-dasharray:3 2}.kick-hint{stroke:#ff8a65}.selected-square{fill:none;stroke:#fff;stroke-width:3px}.fighter circle{stroke:#000;stroke-width:1.5px}.fighter.mine circle{stroke:#fff;stroke-width:2px}.fighter.mine.active circle{stroke:var(--brass);stroke-width:4px}.fighter.spotted circle{stroke:#ff5252;stroke-width:3px}.fighter.target{cursor:pointer}.fighter.target circle{animation:1.2s ease-in-out infinite pulse}.fighter-label{text-anchor:middle;fill:#000;pointer-events:none;font-size:10px;font-weight:700}.target-choice{border-top:1px solid var(--line);padding-top:6px}.icon.fight-icon{fill:#ff8a65;font-size:18px}.icon.body-icon{fill:#ccc;font-size:14px}.bayou-map{width:100%;height:100%}.side{border-left:1px solid var(--line);background:var(--panel);flex-direction:column;min-height:0;display:flex}.panel-section{border-bottom:1px solid var(--line);padding:12px 14px}.panel-section.grow{flex:1;min-height:0;overflow-y:auto}.your-turn{background:#2f2614}.choice{margin:8px 0}.buttons{flex-wrap:wrap;gap:6px;margin:6px 0;display:flex}.decoy-plan{margin:6px 0;padding-left:1.2em;font-size:.9em}.teams{margin:0;padding:0;font-size:.9em;list-style:none}.teams li{margin:6px 0}.teams li.out{opacity:.45}.swatch{border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.hunters{color:var(--muted);padding-left:16px;font-size:.9em}.gear{opacity:.85;font-size:.85em}.spot{flex-direction:column;align-items:flex-start;gap:3px;margin:6px 0;display:flex}.warn{color:#ff8a65}.boss-card{border:1px solid var(--rust);border-radius:6px;margin-bottom:8px;padding:8px 10px;font-size:.9em}.facts{margin:0;padding:0;font-size:.9em;list-style:none}.facts li{margin:3px 0}.hunter.dead{text-decoration:line-through}.event-log{margin:0;padding:0;font-size:.85em;list-style:none}.event-log li{border-left:3px solid #0000;margin-bottom:2px;padding:3px 6px}.event-log li.secret{background:#2c2418}.event-log .tick{color:var(--muted);font-variant-numeric:tabular-nums}.badge{color:var(--brass);border:1px solid var(--brass);border-radius:3px;margin-left:6px;padding:0 4px;font-size:.75em}.zone{fill:var(--water)}.zone.alt{fill:#212f2b}.zone-label{fill:#5f7569;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.noise{fill-opacity:.12;stroke-width:3px;stroke-dasharray:8 6}.noise-label{paint-order:stroke;stroke:var(--bg);stroke-width:3px;font-size:12px;font-weight:700}.edge{stroke:#6b5a43;stroke-width:3px;stroke-linecap:round}.space{cursor:default}.space.target,.space.far-target{cursor:pointer}.swamp{fill:#3b4a36;stroke:#8a9a74;stroke-width:2px}.compound{fill:#5a4630;stroke:#c9a46a;stroke-width:2px}.compound.lair{stroke:var(--rust);stroke-width:3px}.compound.lair.boss{stroke:#ff5252;stroke-width:4px;fill:#6b2a1f}.compound.lair.ruled-out{stroke:#6b5a43;stroke-width:2px}.lair-icon.ruled-out{opacity:.3}.lair-icon.boss{fill:#ffb4a8}.icon.hazard{fill:#c9b27a;font-size:14px;font-weight:700}.marker.known-real circle:first-of-type{stroke:#ff5252;stroke-width:3px;stroke-dasharray:4 2}.marker.known-decoy{opacity:.35}.icon.monster{fill:#e0603a;font-size:16px}.bounty-icon circle{fill:var(--brass);stroke:#000}.ammo-box rect{fill:#5b6b3c;stroke:#1b140c}.ammo-box text{text-anchor:middle;fill:var(--brass);font-size:10px}.ammo-box.used{opacity:.35}.bounty-icon text{text-anchor:middle;fill:#000;pointer-events:none;font-size:12px;font-weight:700}.pulse{fill:var(--brass);fill-opacity:.08;stroke:var(--brass);stroke-width:2px;stroke-dasharray:2 5}.pulse-label{fill:var(--brass);paint-order:stroke;stroke:var(--bg);stroke-width:3px;font-size:12px;font-weight:700}.space-name{fill:var(--text);text-anchor:middle;paint-order:stroke;stroke:var(--bg);stroke-width:3px;font-size:11px}.space-id{fill:#c8d2b8;text-anchor:middle;pointer-events:none;font-size:9px}.icon{text-anchor:middle;pointer-events:none;fill:var(--text);font-size:14px}.icon.extraction{fill:var(--sage);font-size:18px}.icon.extraction.closed{fill:#666}.icon.clue{fill:var(--brass);font-size:12px}.icon.clue.read{opacity:.35}.target-ring{fill:var(--brass);fill-opacity:.15;stroke:var(--brass);stroke-width:2px;animation:1.4s ease-in-out infinite pulse}.far-ring{fill:none;stroke:var(--brass);stroke-width:1.5px;stroke-dasharray:4 3;stroke-opacity:.7}.decoy-target .target-ring{fill:#56b4e9;stroke:#56b4e9}@keyframes pulse{50%{stroke-opacity:.35}}.marker circle{stroke:#000;stroke-width:1.5px}.marker.real circle:first-of-type{stroke:#fff;stroke-width:3px}.marker.yours circle:first-of-type{stroke:var(--brass);stroke-width:4px}.marker.decoy circle:first-of-type{stroke:#fff;stroke-width:2px;stroke-dasharray:3 2;cursor:pointer}.marker.selected circle:first-of-type{stroke:#56b4e9;stroke-width:4px;stroke-dasharray:none}.marker-label{text-anchor:middle;fill:#000;pointer-events:none;font-size:10px;font-weight:700}.revealed-ring{fill:none;stroke:#ff5252!important;stroke-width:2.5px!important}.plan{stroke:#56b4e9;stroke-width:3px;stroke-dasharray:6 4}.plan.real{stroke:var(--brass)}.arrowhead{fill:#9fc9e6}.cell.breach{fill:#8a7350}.cell.puddle{fill:#3b5f6b}.fire{fill:#ff6d1f;fill-opacity:.55}.cloud.smoke{fill:#d8d4cc;fill-opacity:.55}.cloud.poison{fill:#7ccf3a;fill-opacity:.4}.hold-cell{fill-opacity:.3;stroke-opacity:.5;stroke-width:.5px}.hold-line{stroke-width:2px;stroke-dasharray:5 4}.hold-preview{fill:#fff;fill-opacity:.12}.throw-preview{fill:none;stroke:#ffcc80;stroke-width:1.5px;stroke-dasharray:2 2}.dynamite circle{fill:#c62828;stroke:#000}.dynamite text{text-anchor:middle;fill:#fff;font-size:12px;font-weight:700}.fighter .status-ring{fill:none;stroke-width:2.5px;pointer-events:none}.fighter.dark-sight .status-ring{stroke:#b388ff}.fighter.burning .status-ring{stroke:#ff6d1f}button.danger{background:var(--rust);border-color:var(--rust)}.help-link{width:1.5em;height:1.5em;color:var(--muted);vertical-align:middle;border-radius:50%;padding:0;font-family:system-ui,sans-serif;font-size:.75em;line-height:1}.help-link:hover{color:var(--brass)}.rules-drawer{z-index:20;background:var(--panel);border-left:1px solid var(--line);width:min(760px,100vw);display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-12px 0 32px #00000073}.rules-book{flex-direction:column;width:100%;min-height:0;display:flex}.rules-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 16px;display:flex}.rules-head h2{color:var(--brass);margin:0}.rules-head input{flex:1;min-width:0}.rules-cols{flex:1;grid-template-columns:180px 1fr;min-height:0;display:grid}.rules-toc{border-right:1px solid var(--line);flex-direction:column;padding:12px 8px 12px 16px;font-size:.9em;display:flex;overflow-y:auto}.rules-toc a{padding:4px 0;text-decoration:none}.rules-toc a:hover{text-decoration:underline}.rules-body{padding:4px 20px 48px;line-height:1.5;overflow-y:auto}.rules-body section{padding-top:16px;scroll-margin-top:8px}.rules-body section+section{border-top:1px solid var(--line);margin-top:16px}.rules-body h3{color:var(--brass)}.rules-body h4{margin:1em 0 .3em}.rules-body ul,.rules-body ol{padding-left:1.3em}.rules-body li+li{margin-top:.3em}.rules-table{border-collapse:collapse;width:100%;margin:.8em 0;font-size:.9em}.rules-table th,.rules-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:4px 8px}.rules-table th{color:var(--muted);font-weight:600}.rules-page{background:var(--panel);border-left:1px solid var(--line);border-right:1px solid var(--line);flex-direction:column;max-width:1100px;height:100vh;margin:0 auto;display:flex}.rules-page>.home{padding:10px 16px 0;font-family:Georgia,serif;text-decoration:none}.rules-page .rules-book{flex:1;min-height:0}@media (width<=700px){.rules-cols{grid-template-rows:auto 1fr;grid-template-columns:1fr}.rules-toc{border-right:none;border-bottom:1px solid var(--line);flex-flow:wrap;gap:4px 12px;max-height:30vh}.rules-body{padding:4px 16px 48px}}.loadout-screen{min-height:100vh}.loadout-main{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px;max-width:1200px;margin:0 auto;padding:20px 16px 64px;display:grid}.loadout-builder h2{color:var(--brass)}.loadout-builder h3{margin-top:1.4em}.examples{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;display:grid}.example{text-align:left;background:var(--panel);grid-template-columns:1fr auto;gap:4px 8px;padding:10px 12px;display:grid}.example .muted{grid-column:1/-1;font-size:.85em}.example.active{border-color:var(--brass);box-shadow:inset 0 0 0 1px var(--brass)}.price{color:var(--brass);font-variant-numeric:tabular-nums}.catalogue{border-collapse:collapse;width:100%;font-size:.9em}.catalogue th,.catalogue td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:6px 8px}.catalogue th{color:var(--muted);font-weight:600}.catalogue td:first-child{white-space:nowrap}.catalogue td:last-child{text-align:right;white-space:nowrap}.catalogue .effect{color:var(--muted)}.stepper{align-items:center;gap:8px;display:inline-flex}.stepper span{text-align:center;font-variant-numeric:tabular-nums;min-width:1.5em}.loadout-side{flex-direction:column;gap:16px;display:flex;position:sticky;top:16px}.loadout-summary,.loadout-players{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px 16px}.loadout-summary.locked{border-color:var(--sage)}.loadout-summary button{width:100%;margin-top:8px}.budget{font-variant-numeric:tabular-nums;align-items:center;gap:10px;display:flex}.budget-bar{background:var(--panel-2);border:1px solid var(--line);border-radius:5px;flex:1;height:10px;overflow:hidden}.budget-bar>div{background:var(--brass);height:100%}.budget-bar>div.over{background:#ff8a65}.slots{margin:12px 0;padding:0;list-style:none}.slots li{border-bottom:1px dashed var(--line);justify-content:space-between;align-items:center;padding:5px 0;display:flex}.slots li.empty{color:var(--muted);font-style:italic}.loadout-summary .slots button.remove{width:auto;margin:0}.ready{color:var(--sage)}.loadout-players .team{margin-top:10px}.loadout-players .seat{padding:3px 0 3px 8px;font-size:.9em}@media (width<=900px){.loadout-main{grid-template-columns:1fr}.loadout-side{position:static}}@media (width<=600px){.catalogue{display:block;overflow-x:auto}}.map-legend{background:var(--panel);border:1px solid var(--line);border-radius:6px;margin:0 8px 8px;padding:8px 12px;font-size:.85em}.map-legend summary{cursor:pointer;color:var(--brass);font-family:Georgia,serif}.legend-cols{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:4px 24px;display:grid}.map-legend h4{margin:8px 0 4px}.map-legend p{margin:0 0 6px}.map-legend ul{margin:0;padding:0;list-style:none}.map-legend li{padding:2px 0}.legend-icon{text-align:center;min-width:1.4em;font-weight:700;display:inline-block}.legend-icon.monster{color:#e0603a}.legend-icon.clue{color:var(--brass)}.legend-icon.lair{color:#ff8a65}.legend-icon.extraction{color:var(--sage)}.legend-icon.fight{color:#ff8a65}.legend-icon.body{color:#ccc}.legend-icon.bounty{color:var(--brass)}.board-art-toggle{margin-left:10px}.fight-board.pixel .cell{stroke:none}.pixel-grid{fill:none;stroke:#0000003d;stroke-width:.5px}.wall-shade{fill:#0d0a07;fill-opacity:.6}.flicker{animation:.5s step-end infinite flicker}.flicker.late{animation-delay:-.25s}@keyframes flicker{0%{opacity:1}50%{opacity:0}}.art-cloud.smoke{opacity:.8}.art-cloud.poison{opacity:.6}.fighter ellipse{stroke:#000;stroke-width:1px;fill-opacity:.85}.fighter.mine ellipse{stroke:#fff;stroke-width:1.5px}.fighter.mine.active ellipse{stroke:var(--brass);stroke-width:3px}.fighter.spotted ellipse{stroke:#ff5252;stroke-width:2px}.fighter.target ellipse{animation:1.2s ease-in-out infinite pulse}.fighter.dead .fighter-sprite{filter:grayscale()brightness(.6)}.fighter-tag{text-anchor:middle;fill:#fff;paint-order:stroke;stroke:#000;stroke-width:2px;pointer-events:none;font-size:7px;font-weight:700}.dynamite.pixel text{paint-order:stroke;stroke:#000;stroke-width:3px}
