:root{color:#e8e5d2;background:#1c2d29;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--ink: #263c34;--paper: #eee9d7;--muted: #839488;--gold: #d4b878;--dark: #1c302b}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{-webkit-user-select:none;user-select:none}[hidden]{display:none!important}button{font:inherit;cursor:pointer}button:focus-visible,[role=button]:focus-visible{outline:3px solid #e9c978;outline-offset:4px}button:disabled{cursor:not-allowed}#game-viewport{position:absolute;inset:0;outline:none;overflow:hidden;background:#263e38}#game-viewport canvas{display:block;width:100%;height:100%}#overlay{position:absolute;inset:0;pointer-events:none;z-index:20}#overlay>*{pointer-events:auto}.loading,.fatal-error{padding:48px;font-family:Georgia,serif}.fatal-error{max-width:760px;line-height:1.6}.title-screen{display:flex;width:100%;height:100%;min-height:480px;background:#1c302b}.title-content{position:relative;display:flex;flex-direction:column;width:55%;max-width:840px;padding:clamp(40px,6vw,88px) clamp(40px,7vw,104px) 32px;overflow:auto}.title-art{position:relative;width:45%;order:2;overflow:hidden;background:#79958a}.title-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1c302b 0%,transparent 25%),linear-gradient(0deg,#1c302b88,transparent 40%);pointer-events:none}.title-art svg{height:100%;width:100%;object-fit:cover;display:block}.art-caption{position:absolute;right:35px;bottom:35px;z-index:1;color:#e9e4cd;font-size:9px;font-weight:700;letter-spacing:.22em}.eyebrow,.card-topline{display:flex;align-items:center;gap:14px;color:#a9b9aa;font-size:10px;font-weight:750;letter-spacing:.2em}.small-diamond{color:var(--gold);font-size:13px}.eyebrow-line{width:44px;height:1px;background:#9bb1a28a}.title-overline{margin:auto 0 12px;color:#d1bd8c;font:italic 21px Georgia,serif}.title-content h1{margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(48px,6.8vw,94px);line-height:.91;letter-spacing:-.055em;font-weight:400}.title-content h1 strong{color:#eee9d7;font-weight:400}.title-description{max-width:350px;margin:25px 0 29px;color:#bdc8b8;font:16px/1.65 Georgia,serif}.title-nav{width:min(350px,100%)}.menu-choice{width:100%;display:flex;align-items:center;gap:20px;min-height:58px;padding:0 16px;border:0;border-top:1px solid #6a7f70;color:#ece9d8;background:transparent;text-align:left;font-family:Georgia,serif;font-size:18px;transition:background .15s,color .15s}.menu-choice:last-child{border-bottom:1px solid #6a7f70}.menu-choice span{color:#a5b5a5;font:10px ui-sans-serif,sans-serif;letter-spacing:.13em}.menu-choice b{margin-left:auto;color:#d8bd82;font-size:18px;font-weight:400}.menu-choice:hover:not(:disabled),.menu-choice:focus-visible{background:#365045}.menu-choice:disabled{color:#849188;opacity:.62}.menu-choice:disabled b{color:#849188}.storage-warning{color:#efcf9d;max-width:420px;font-size:12px;line-height:1.5}.title-footer{display:flex;justify-content:space-between;gap:15px;margin-top:auto;padding-top:30px;color:#91a69a;font-size:9px;letter-spacing:.15em;font-weight:700}#hud{position:absolute;inset:0;pointer-events:none;z-index:5}.hud-top,.hud-bottom{position:absolute;left:28px;right:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hud-top{top:24px}.hud-bottom{bottom:24px;align-items:flex-end}.location-tag,.clock,.hud-button,.control-reminder,.interaction-prompt,.quiet-prompt{background:#1c302ce8;color:#edead8;box-shadow:0 3px 16px #1a2c2840}.location-tag{display:flex;align-items:center;min-width:205px;gap:13px;padding:12px 18px;border-left:3px solid #d4b878}.location-tag strong,.clock strong{display:block;font:18px Georgia,serif}.hud-symbol{color:#ddc485;font-size:24px}.hud-label{display:block;margin-bottom:3px;color:#b3c0ae;font-size:9px;font-weight:800;letter-spacing:.15em}.hud-right{display:flex;gap:6px;align-items:stretch}.clock{min-width:116px;padding:11px 15px}.clock strong{font-size:15px;white-space:nowrap}.hud-button{min-height:55px;padding:0 15px;border:0;color:#e7e4d0;font-size:10px;letter-spacing:.12em;font-weight:800;pointer-events:auto}.hud-button:hover{background:#496457}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:23px;padding:0 5px;border:1px solid currentColor;border-radius:3px;font:700 10px ui-sans-serif,sans-serif}.hud-button kbd{margin-left:6px;color:#c5d0be;font-size:9px}.control-reminder{padding:12px 16px;color:#b6c2b2;font-size:9px;font-weight:750;letter-spacing:.11em}.control-reminder span{color:#f1dfae}.control-reminder i{display:inline-block;width:1px;height:12px;margin:0 8px -3px;background:#86988b}.interaction-prompt{display:flex;align-items:center;gap:12px;min-width:195px;padding:10px 14px;border-right:3px solid #d4b878}.interaction-prompt kbd{width:34px;height:34px;color:#1f3930;background:#dfca94;border:0;font-size:14px}.interaction-prompt small{display:block;color:#c6d0bc;font-size:9px;font-weight:800;letter-spacing:.13em}.interaction-prompt strong{display:block;margin-top:2px;font:15px Georgia,serif}.quiet-prompt{padding:12px 16px;color:#d6d9c6;font:italic 13px Georgia,serif}#toast{position:absolute;z-index:19;left:50%;bottom:86px;transform:translate(-50%,8px);padding:10px 16px;color:#f0ead2;background:#20352feb;border-bottom:2px solid #c8b078;font-size:12px;opacity:0;transition:opacity .18s,transform .18s;pointer-events:none}#toast.visible{opacity:1;transform:translate(-50%)}#debug{position:absolute;z-index:30;top:105px;left:28px;padding:12px;background:#0f1917e8;color:#bce7bb;font:11px/1.5 monospace;pointer-events:none}.modal-shade,.dialogue-shade{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;padding:24px;background:#10221bb8}.dialogue-shade{align-items:flex-end;padding-bottom:34px;background:linear-gradient(0deg,#10221bbb,#10221b22 68%)}.card{position:relative;width:min(600px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:32px 36px;color:var(--ink);background:var(--paper);border:1px solid #f8f4e0;box-shadow:0 18px 70px #10221b80,inset 0 0 0 6px #dcd8c2}.card-topline{justify-content:space-between;color:#708174;font-size:9px}.rule{height:1px;margin:17px 0 22px;background:#b7bca8}.kicker{margin:0 0 8px;color:#6a806f;font-size:10px;letter-spacing:.18em;font-weight:800}.card h2,.map-header h2{margin:0;color:#263e34;font:36px/1.1 Georgia,serif;letter-spacing:-.035em}.large-copy{color:#4e6256;font:17px/1.7 Georgia,serif}.intro-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:24px 0;color:#556b5c;font-size:9px;font-weight:800;letter-spacing:.09em}.intro-controls kbd{margin-right:2px;color:#465c4e}.action-button,.text-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;padding:0 18px;border:0;text-align:left}.action-button{background:#385649;color:#f6f1db;font:16px Georgia,serif}.action-button:hover,.action-button:focus-visible{background:#50705d}.action-button span,.text-button span{color:#d4b878;font:20px Georgia,serif}.pause-card{width:min(450px,100%)}.pause-actions{margin-top:24px}.text-button{border-bottom:1px solid #c9cbb8;background:transparent;color:#304a3c;font:16px Georgia,serif}.text-button:hover,.text-button:focus-visible{background:#d8dfc9}.text-button span{color:#667f69}.save-status{min-height:31px;margin:18px 0 0;color:#526b5b;font-size:12px;line-height:1.5}.hint{margin:20px 0 0;color:#738579;font-size:9px;letter-spacing:.12em;font-weight:800}.dialogue-card{width:min(760px,100%);padding:25px 32px}.dialogue-heading{display:flex;align-items:center;justify-content:space-between}.dialogue-heading h2{font-size:28px}.seal,.portrait{display:grid;place-items:center;width:46px;height:46px;border:1px solid #a4af9b;border-radius:50%;color:#69806c;font:22px Georgia,serif}.portrait{color:#e8dfc2;background:#61786a}.dialogue-card .rule{margin:13px 0 16px}.dialogue-copy{margin:0 0 19px;color:#374d40;font:17px/1.65 Georgia,serif}.dialogue-option{display:flex;width:100%;align-items:center;gap:13px;min-height:40px;padding:8px 11px;border:0;border-top:1px solid #c5cbb8;background:transparent;color:#314b3c;text-align:left;font:15px/1.3 Georgia,serif}.dialogue-option:hover,.dialogue-option:focus-visible{background:#d6dfcb}.option-index{color:#80917f;font:700 10px ui-sans-serif,sans-serif}.option-arrow{margin-left:auto;color:#607b62}.dialogue-card .hint{margin-top:12px}.map-sheet{display:flex;flex-direction:column;width:min(1080px,100%);max-height:calc(100vh - 40px);padding:22px 26px 18px;color:#2d4439;background:#eee9d7;border:1px solid #fcf8e7;box-shadow:0 18px 70px #10221b90,inset 0 0 0 6px #dcd8c2}.map-header{display:flex;justify-content:space-between;align-items:center;padding:0 2px 15px}.map-header h2{font-size:30px}.close-button{width:40px;height:40px;border:1px solid #a7b1a0;background:transparent;color:#425c4c;font:30px/1 Georgia,serif}.close-button:hover{background:#d4deca}.map-body{min-height:0;overflow:auto;border:1px solid #a5b7a3;background:#b9cfbf}.county-map{display:block;width:100%;max-height:min(57vh,570px)}.island-shadow{fill:#829e8d;opacity:.5}.island{fill:#d4d3a8;stroke:#718d76;stroke-width:3;stroke-linejoin:round}.island-label{fill:#758d72;font:700 14px ui-sans-serif,sans-serif;letter-spacing:.2em}.map-water-label{fill:#6c9289;font:italic 18px Georgia,serif;letter-spacing:.12em}.marker-label{fill:#3a5142;stroke:#d4d3a8;stroke-width:5px;paint-order:stroke;stroke-linejoin:round;font:700 22px Georgia,serif}.map-marker{cursor:pointer}.map-marker circle{fill:#718b77;stroke:#f0ebd5;stroke-width:2}.map-marker.available circle{fill:#926d34;stroke:#fff2c6;stroke-width:3}.map-marker circle.marker-centre{fill:#f9efd1;stroke:none}.map-marker:hover .marker-label,.map-marker:focus .marker-label{fill:#8d552e}.compass path{fill:#4b6e5c}.compass text{fill:#4b6e5c;font:700 12px ui-sans-serif,sans-serif;text-anchor:middle}.map-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;padding:13px 2px 0}.map-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:9px;font-weight:800;letter-spacing:.08em}.legend-dot{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%;background:#718b77}.legend-dot.current{background:#a6773f}.map-footer p{flex:1 1 300px;margin:0;color:#5d7162;font:12px/1.4 Georgia,serif}.map-close-hint{margin-left:auto;color:#718576;font-size:9px;font-weight:800;letter-spacing:.1em;white-space:nowrap}@media(max-width:850px){.title-content{width:65%;padding:40px}.title-art{width:35%}.title-content h1{font-size:clamp(43px,7vw,68px)}.hud-top,.hud-bottom{left:14px;right:14px}.hud-top{top:14px}.hud-bottom{bottom:14px}.control-reminder{display:none}.hud-bottom{justify-content:flex-end}.map-sheet{padding:18px}}@media(max-width:600px){.title-content{width:100%;padding:32px}.title-art{position:absolute;inset:0;width:100%;opacity:.16}.title-content{z-index:1}.location-tag{min-width:auto}.clock{min-width:90px}.hud-button{padding:0 9px}.hud-button kbd{display:none}.dialogue-shade{padding:12px}.card{padding:24px}.county-map{min-width:700px;max-height:none}}
