/* Marsh Hunt (arcade-marsh.js): phone-first, dark Forge theme. Every class is prefixed marsh- */
.marsh-root{position:relative;margin:12px 0;padding:12px;border:1px solid #cb590388;border-radius:18px;background:radial-gradient(120% 80% at 50% 0,#1d140c 0,#0d0a07 70%);color:#f6ead8;font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow:hidden}
.marsh-root [hidden]{display:none!important}
.marsh-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.marsh-title{margin:0;font:800 20px/1.2 Georgia,serif;color:#ffd27a}
.marsh-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:99px;background:#ffffff10;border:1px solid #ffffff1f;font:700 14px/1.2 system-ui,sans-serif;white-space:nowrap;color:#f6ead8}
.marsh-score{background:#cb590333;border-color:#CB5903;color:#ffd27a}
.marsh-kicker{margin:0;color:#ffd27a;font:800 12px/1.4 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.marsh-h{margin:4px 0 8px;font:800 21px/1.25 Georgia,serif;color:#fff3dc}
.marsh-p{margin:8px 0;line-height:1.5}
.marsh-small{margin:6px 0;font-size:14px;color:#d9c7ae}
.marsh-quip{margin:8px 0;padding:8px 12px;border-left:3px solid #CB5903;background:#ffffff08;border-radius:0 10px 10px 0;font-style:italic;color:#f3dcc4}
.marsh-rules,.marsh-stats{list-style:none;margin:10px 0;padding:0;display:grid;gap:6px}
.marsh-rules li,.marsh-stats li{padding:9px 12px;border-radius:12px;background:#ffffff0a;border:1px solid #ffffff12}
.marsh-party{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}
.marsh-load-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.marsh-dots{display:flex;gap:6px}
.marsh-dot{width:11px;height:11px;border-radius:50%;background:#ffffff22}
.marsh-d-ok{background:#3ecf7a}.marsh-d-bad{background:#ff6b6b}.marsh-d-now{background:#ffd27a;box-shadow:0 0 0 3px #ffd27a33}
.marsh-loadbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:6px 0 2px}
.marsh-q{margin:10px 0 12px;font:700 19px/1.4 system-ui,sans-serif;color:#fff}
.marsh-choices{display:grid;gap:8px}
.marsh-root .marsh-choice{display:block;width:100%;min-height:52px;margin:0;padding:12px 14px;border:1px solid #ffffff26;border-radius:14px;background:#1b140d;color:#f6ead8;font:600 16px/1.35 system-ui,sans-serif;text-align:left;cursor:pointer;box-shadow:none;transition:transform .08s,background-color .15s,border-color .15s;-webkit-tap-highlight-color:transparent}
.marsh-root .marsh-choice:hover:not([disabled]){border-color:#ffd27a99;background:#241a10}
.marsh-root .marsh-choice:active:not([disabled]){transform:scale(.98)}
.marsh-root .marsh-choice[disabled]{cursor:default;opacity:.75}
.marsh-root .marsh-choice.marsh-ok{opacity:1;background:#123a22;border-color:#3ecf7a;color:#dcffe8}
.marsh-root .marsh-choice.marsh-bad{opacity:1;background:#3a1515;border-color:#ff6b6b;color:#ffe1e1}
.marsh-root button:focus-visible,.marsh-canvas:focus-visible{outline:3px solid #ffd27a;outline-offset:2px}
.marsh-fb{margin:10px 0 0;padding:10px 12px;border-radius:12px;font-size:15px;line-height:1.45}
.marsh-fb-ok{background:#123a2299;border:1px solid #3ecf7a66;color:#dcffe8;font-weight:700}
.marsh-fb-bad{background:#3a151599;border:1px solid #ff6b6b66}
.marsh-fb-t{margin:0 0 4px;font-weight:700}.marsh-fb-why{margin:0 0 6px;color:#f3dcc4}
.marsh-timer{height:4px;margin:6px 0 8px;border-radius:99px;background:#ffffff18;overflow:hidden}
.marsh-timer span{display:block;width:100%;height:100%;background:#ffd27a;transition-property:width;transition-timing-function:linear}
.marsh-root .marsh-go,.marsh-root .marsh-ghost{display:block;width:100%;min-height:56px;margin:12px 0 0;padding:12px 16px;border:0;border-radius:14px;background:linear-gradient(180deg,#e8721a,#CB5903);color:#fff;font:800 18px/1.2 system-ui,sans-serif;cursor:pointer;box-shadow:0 4px 0 #6e3002;transition:transform .08s}
.marsh-root .marsh-go:active{transform:translateY(3px);box-shadow:0 1px 0 #6e3002}
.marsh-root .marsh-ghost{min-height:48px;margin-top:4px;background:#ffffff12;border:1px solid #ffd27a66;color:#ffd27a;font-size:16px;box-shadow:none}
.marsh-belt{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:26px}
.marsh-belt-big{margin:6px 0 4px;gap:6px}.marsh-belt-big .marsh-shell{width:14px;height:30px}
.marsh-shell{display:inline-block;width:10px;height:22px;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#e04a32 0,#b83420 60%,#d8b25a 60%,#a8822e 100%);box-shadow:inset -2px 0 0 #0004}
.marsh-shell.marsh-gold{background:linear-gradient(180deg,#fff0b8 0,#ffd27a 60%,#c8962e 60%,#8a6418 100%);box-shadow:0 0 8px #ffd27acc}
.marsh-shell.marsh-next{outline:2px solid #fff;outline-offset:2px}
.marsh-shell.marsh-pop{animation:marshPop .4s ease both}
.marsh-empty{font-size:13px;color:#a89780}
.marsh-field{position:relative;margin:0 -2px}
.marsh-hud{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 6px}
.marsh-field>.marsh-belt{margin:0 0 8px}
.marsh-canvas{display:block;width:100%;border-radius:14px;background:#1a1424;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;box-shadow:0 0 0 1px #ffffff14,0 10px 30px #0008}
.marsh-status{min-height:1.5em;margin:8px 2px 0;font:600 15px/1.4 system-ui,sans-serif;color:#f3dcc4}
.marsh-board{list-style:none;margin:8px 0;padding:0;display:grid;gap:6px}
.marsh-row{display:grid;grid-template-columns:22px 28px 1fr auto auto;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;background:#ffffff0b;border:1px solid #ffffff14}
.marsh-row.marsh-you{background:#cb590333;border-color:#CB5903}
.marsh-rank{font:800 16px system-ui,sans-serif;color:#ffd27a}
.marsh-ico{font-size:20px;line-height:1}
.marsh-nm{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marsh-plus{font-size:13px;color:#9fe3b5}
.marsh-tot{min-width:46px;text-align:right;font:800 16px system-ui,sans-serif;color:#fff3dc}
.marsh-podium{display:grid;grid-template-columns:repeat(3,1fr);align-items:end;gap:8px;margin:14px 0 8px}
.marsh-step{text-align:center;min-width:0}
.marsh-who{font-size:30px;line-height:1.1}
.marsh-pnm{margin:4px 0 2px;font:700 13px/1.25 system-ui,sans-serif;overflow-wrap:anywhere}
.marsh-sc{margin:0 0 6px;font:800 15px system-ui,sans-serif;color:#ffd27a}
.marsh-block{display:flex;justify-content:center;padding-top:8px;height:58px;border-radius:12px 12px 4px 4px;border:1px solid #cb590366;background:linear-gradient(#3a2614,#1d130a);font:900 24px Georgia,serif;color:#ffd27a}
.marsh-p1 .marsh-block{height:104px;background:linear-gradient(#a8661c,#4a2a0c);border-color:#ffd27a}
.marsh-p2 .marsh-block{height:78px}
.marsh-step.marsh-you .marsh-pnm{color:#ffd27a}
.marsh-step.marsh-you .marsh-block{box-shadow:0 0 0 2px #CB5903,0 0 18px #cb590388}
.marsh-btns{display:grid;gap:8px}
.marsh-panel>*{animation:marshIn .25s ease both}
@keyframes marshPop{0%{transform:scale(.2) translateY(8px);opacity:0}70%{transform:scale(1.25)}100%{transform:none;opacity:1}}
@keyframes marshIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (min-width:640px){.marsh-choices{grid-template-columns:1fr 1fr}.marsh-root{padding:16px}}
@media (prefers-reduced-motion:reduce){.marsh-root *{animation:none!important;transition:none!important}}
