:root{color-scheme:dark;--ink: #f6edd8;--muted: #cbb892;--wood: #24170f;--wood-2: #342216;--gold: #e0c48a;--line: rgba(224, 196, 138, .55);--bg: #100c09;--bad: #f0c2b4;font-family:Palatino,Palatino Linotype,Iowan Old Style,Georgia,serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}button,input,select{font:inherit;color:inherit}button{min-height:44px;border:1px solid var(--line);background:#3b291c;border-radius:10px;padding:.4rem .75rem;cursor:pointer}button.primary{background:#8d6430;color:#1a120c;font-weight:700}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #f6edd8;outline-offset:2px}.mark{width:28px;height:28px;flex:none}.muted{color:var(--muted)}.row{display:flex;flex-wrap:wrap;gap:.5rem}.panel{background:linear-gradient(180deg,rgba(255,236,196,.06),transparent 28%),var(--wood);border:1px solid var(--line);border-radius:16px;padding:1rem;box-shadow:0 16px 40px #00000059}.panel.tight{padding:.75rem}.panel h1,.panel h2{font-weight:600;margin:0 0 .4rem}.panel p,.panel li{line-height:1.35}.disclosure{font-size:.92rem;color:var(--muted)}.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;color:var(--gold);margin:0}.intro,.setup-screen{min-height:100%;display:grid;place-items:center;padding:1.25rem;position:relative}.intro img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.05)}.intro-card,.setup-screen .panel{position:relative;max-width:40rem}.intro-card{background:#140c08e0}.intro-card.host-card{max-width:48rem}.host-row{display:flex;gap:1.1rem;align-items:flex-start;margin:.7rem 0 .3rem}.host-figure{margin:0;flex:0 0 auto;text-align:center}.intro-card .host-portrait{position:relative;inset:auto;width:118px;height:134px;object-fit:cover;border-radius:14px;border:2px solid var(--gold);box-shadow:0 10px 24px #00000080}.host-figure figcaption{display:grid;margin-top:.45rem;line-height:1.2}.host-figure figcaption strong{color:var(--gold);font-size:.95rem}.host-figure figcaption span{color:var(--muted);font-size:.8rem}.host-speech{border-left:3px solid var(--gold);padding-left:.95rem}.host-speech p{margin:0 0 .55rem}.host-speech p:last-child{margin-bottom:0}@media(max-width:640px){.host-row{flex-direction:column}.host-figure{display:flex;align-items:center;gap:.7rem;text-align:left}.intro-card .host-portrait{width:84px;height:96px}.host-figure figcaption{margin-top:0}}.seat-grid{display:grid;gap:.6rem;margin:.8rem 0}.seat,.seed,.town-picker,.file{display:grid;gap:.25rem}.seat{grid-template-columns:auto 1fr;align-items:center;gap:.6rem}.seat input,.seed input,.town-picker select,.file input{grid-column:1 / -1}input,select{min-height:44px;border-radius:10px;border:1px solid var(--line);background:#140e0a;padding:.4rem .6rem}.app{height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr)}.topbar,.firms{display:flex;gap:.75rem;align-items:center;padding:.45rem .7rem;background:#1b120c;border-bottom:1px solid var(--line);flex-wrap:wrap}.brand,.who,.firm-chip,.purse,.ap{display:flex;align-items:center;gap:.55rem}.ap .pip,.gate-chip .pip{width:18px;height:18px;border-radius:50%;border:2px solid var(--gold);display:inline-block}.ap .pip.on{background:var(--gold)}.firm-chip{border:1px solid transparent;border-radius:999px;padding:.15rem .55rem .15rem .15rem}.firm-chip.current{border-color:var(--gold);background:#e0c48a14}.firm-chip span,.who span{display:grid}.menu{position:absolute;right:.7rem;top:3.2rem;z-index:5;display:grid;gap:.4rem}.stage{display:grid;grid-template-columns:minmax(0,1fr) 380px;min-height:0}.side{overflow:auto;padding:.6rem;display:grid;align-content:start;gap:.55rem;background:#160f0b}.board-viewport{position:relative;overflow:hidden;background:#0c0907;touch-action:none;min-height:0}.board-world{position:absolute;width:1024px;height:576px;transform-origin:0 0}.board-world img,.board-svg{position:absolute;inset:0;width:1024px;height:576px}.board-svg{overflow:visible}.zoom-controls{position:absolute;left:.6rem;bottom:.6rem;display:flex;gap:.35rem}.zoom-controls button{min-width:44px;background:#140c08e0}.town circle{fill:transparent;stroke:transparent;stroke-width:1.5}.town.reachable circle{stroke:#f6edd8d9}.town.selected circle{stroke:#f3d48a;stroke-width:2.6;filter:drop-shadow(0 0 6px rgba(243,212,138,.95))}.town.selected circle.town-halo{stroke:none;filter:none}.town.selected circle.town-ring{filter:none}.town-halo{fill:#f3d48a29;stroke:none;animation:halo-pulse 1.6s ease-in-out infinite}.town-ring{fill:none;stroke:#f3d48a;stroke-width:2;animation:ring-pulse 1.6s ease-in-out infinite}.town-reach{fill:none;stroke:#f6edd8d9;stroke-width:1.5;stroke-dasharray:3.5 3;animation:reach-pulse 2.2s ease-in-out infinite}@keyframes halo-pulse{50%{opacity:.4}}@keyframes ring-pulse{50%{opacity:.55}}@keyframes reach-pulse{50%{opacity:.35}}.boat,.wagon{transition:transform 1.05s cubic-bezier(.4,.05,.3,1)}.boat{cursor:pointer}.boat-glow{fill:#f3d48a4d;animation:halo-pulse 1.8s ease-in-out infinite}.town-record{pointer-events:none}.legend p,.seal-list{margin:.28rem 0}.seal-list{list-style:none;padding:0;display:grid;gap:.15rem}.waterway{pointer-events:none}.waterway path{fill:none;stroke-linecap:round;stroke-linejoin:round}.water-bank{stroke:#54482e42;stroke-width:34}.water-body{stroke:#6d9a9e;stroke-width:30;opacity:.94}.water-sheen{stroke:#b2cdc829;stroke-width:21}.route{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.route.water{stroke:#f6edd8eb}.route.road{stroke:#d2a454f2}.gate-chip rect{fill:#2a1c12;stroke:#e0c48a;stroke-width:.6}.gate-chip text{fill:#f6edd8;font-size:7px;font-family:Palatino,Georgia,serif}.gate-chip .pip.open{fill:#e0c48a}.gate-chip .pip.shut{fill:#4a3b2e}.boat-name{fill:#f6edd8;stroke:#1a120c;stroke-width:.45;paint-order:stroke}.jobs{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.job{display:grid;text-align:left;min-height:72px;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}.job.selected{border-color:var(--gold);background:#4a321c;box-shadow:0 0 0 2px #e0c48a8c,0 0 18px #e0c48a59;transform:translateY(-1px)}.firm-chip.current{box-shadow:0 0 12px #e0c48a59}.locks{display:flex;flex-wrap:wrap;gap:.35rem .7rem;font-size:.92rem}.actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.card,.builder,.confirm,.hint,.error{margin:0}.card{border-top:1px solid var(--line);padding-top:.4rem}.hint{color:var(--muted)}.error{color:var(--bad)}.confirm{position:sticky;bottom:0}.check{display:flex;gap:.4rem;align-items:center;min-height:36px}.log ul{list-style:none;padding:0;margin:.4rem 0 0;display:grid;gap:.3rem}.log li{font-size:.92rem}.private{border-color:#e0c48a}.overlay{position:fixed;inset:0;background:#080503eb;display:grid;place-items:center;padding:1rem;z-index:40}.overlay.front{z-index:80}.coach-ring{position:fixed;z-index:60;pointer-events:none;border:3px solid #f3d48a;border-radius:14px;box-shadow:0 0 0 7px #f3d48a59,0 0 16px #f3d48ad9;animation:coach-pulse 1.3s ease-in-out infinite}.coach-tip{position:fixed;z-index:61;background:#2a1c12;color:#f6edd8;border:1px solid #e0c48a;border-radius:14px;padding:.75rem .85rem;box-shadow:0 10px 28px #00000073}.coach-tip p{margin:.25rem 0 .5rem;line-height:1.35}.coach-count{margin:0;color:#e0c48a;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase}.coach-bar{position:fixed;z-index:62;left:50%;bottom:.6rem;transform:translate(-50%);display:flex;gap:.4rem;background:#140c08eb;border:1px solid rgba(224,196,138,.55);border-radius:999px;padding:.3rem}.coach-bar button{min-height:40px}[data-coach]{scroll-margin:90px}@keyframes coach-pulse{50%{box-shadow:0 0 0 12px #f3d48a1f,0 0 22px #f3d48af2}}.overlay .panel{max-width:38rem;width:min(38rem,100%)}.endgame ol{list-style:none;padding:0;display:grid;gap:.45rem}.endgame li{display:flex;gap:.5rem;align-items:center}.rules{max-height:min(80dvh,40rem);overflow:auto}.rules ul{padding-left:1.1rem}@media(max-width:860px){.stage{grid-template-columns:1fr;grid-template-rows:minmax(200px,36dvh) minmax(0,1fr)}.topbar .purse{display:none}.coach-bar{top:4.5rem;bottom:auto}.coach-tip{top:7.6rem!important;left:8px!important;right:8px;max-width:none!important}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.coach-ring{animation:none}}.sound-toggle{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);right:10px;z-index:70;width:42px;height:42px;border-radius:50%;border:1px solid rgba(243,212,138,.65);background:#18110ac7;font-size:19px;line-height:1;cursor:pointer;display:grid;place-items:center}.sound-toggle.inbar{position:static;width:38px;height:38px;flex:none}.hear-amos{display:block;width:100%;margin:.9rem 0 .2rem;padding:.65rem 1rem;border-radius:10px;border:1px solid rgba(243,212,138,.65);background:#f3d48a24;color:inherit;font-size:1rem;font-weight:600;cursor:pointer}.hear-amos:hover{background:#f3d48a3d}.job-main{background:none;border:none;padding:0;font:inherit;color:inherit;text-align:left;display:flex;flex-direction:column;gap:2px;cursor:pointer;width:100%}.job-take{margin-top:6px;align-self:flex-start}
