@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root{--paper:#f6f4ed;--ink:#263e35;--muted:#7b8073;--line:#dedfd3;--green:#244d3f;--forest:#5b8764;--village:#b96950;--farm:#d4ad57;--water:#73a3b1;--monster:#8a7296;--mountain:#a6aaa0;--serif:'Libre Baskerville',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #ba852b;outline-offset:3px}button{touch-action:manipulation}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}.masthead{max-width:1440px;padding:28px 5%;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;font-size:20px;letter-spacing:3px}.brand svg{width:37px;fill:none;stroke:var(--green);stroke-width:1.6}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:5px}.masthead nav{display:flex;align-items:center;gap:26px}.save-status{font-size:11px;color:var(--muted)}.save-status:before{content:' ';display:inline-block;width:5px;height:5px;background:#73916b;border-radius:50%;margin-right:7px}.text-button{border:0;background:none;padding:8px 0;font-size:12px}.text-button:hover{text-decoration:underline}.new-button{background:transparent;border:1px solid #b5bead;border-radius:5px;padding:11px 15px;font-size:12px}.new-button span{margin-left:17px}main{max-width:1280px;margin:auto;padding:42px 40px 0}.journey-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:var(--muted)}.eyebrow span{margin-left:10px;color:#aaa998;font-size:9px}h1{font-size:36px;letter-spacing:-1.4px;margin:11px 0 12px}.subtitle{color:var(--muted);font-size:13px}.total-score{display:flex;gap:16px;align-items:center}.total-score>span{font-family:var(--serif);font-size:52px}.total-score>div{font-size:10px;letter-spacing:1.6px}.total-score small{display:block;color:var(--muted);letter-spacing:0;font-size:10px;margin-top:7px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.map-panel{background:#eeeee3;border:1px solid #d8ddcb;border-radius:9px;padding:23px 30px 20px;position:relative;box-shadow:0 3px 0 #e5e6d9,0 10px 30px #344e3410;background-image:radial-gradient(ellipse at 0 100%,#d5dbbf38,transparent 65%)}.map-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.small-label{font-size:8px;letter-spacing:2.2px;color:#878b75}.map-topline h2{font-size:23px;margin-top:7px}.compass{height:52px;width:42px;stroke:#8a927a;fill:none;stroke-width:1}.compass text{font:9px var(--serif);fill:#79846d;stroke:none}.map-wrap{padding:15px 0 0 16px;position:relative}.col-labels{position:absolute;top:0;left:16px;right:0;display:grid;grid-template-columns:repeat(11,1fr)}.row-labels{position:absolute;top:15px;bottom:0;left:0;width:16px;display:grid;grid-template-rows:repeat(11,1fr);align-items:center}.col-labels span,.row-labels span{text-align:center;font-size:8px;color:#8c927e}.board{display:grid;grid-template-columns:repeat(11,1fr);aspect-ratio:1;border:1.5px solid #9da88c;background:#d0d5bf;gap:1px;touch-action:manipulation}.cell{min-width:0;padding:0;border:0;border-radius:0;position:relative;background:#f6f5e9;aspect-ratio:1;display:grid;place-items:center;color:#858e73;transition:background .15s}.cell:nth-child(3n){background:#f3f2e5}.cell svg{width:78%;height:78%;pointer-events:none}.cell.empty:hover{background:#e1e6cd;box-shadow:inset 0 0 0 2px #8b9d79}.cell .ruin-mark{position:absolute;inset:0;display:grid;place-items:center;font-size:22px;pointer-events:none;color:#b0a77d}.cell.forest,.forest{background:#b5caaa}.cell.village,.village{background:#dcb29a}.cell.farm,.farm{background:#ead39a}.cell.water,.water{background:#b5d1d1}.cell.monster,.monster{background:#c4b3ce}.cell.mountain,.mountain{background:#d5d6c5}.cell.chasm{background:#a8aa97;background-image:repeating-linear-gradient(45deg,transparent,transparent 4px,#848d7922 4px,#848d7922 5px)}.cell.selected{box-shadow:inset 0 0 0 2px var(--green);z-index:1}.cell.selected:after{content:'';position:absolute;right:3px;top:3px;width:4px;height:4px;background:var(--green);border-radius:50%}.cell.hinted{box-shadow:inset 0 0 0 2px #bb933d;animation:pulse 1.4s ease-in-out infinite}.cell.claimed:after{content:'●';font-size:8px;color:#b68a2f;position:absolute;top:1px;right:3px}.cell.new-monster{box-shadow:inset 0 0 0 2px #81608d}.map-bottomline{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#7f876e;padding:10px 0 8px 16px}.map-bottomline .text-button{font-size:10px}.map-note{font-style:italic;font-family:var(--serif)}.legend{display:flex;justify-content:center;gap:18px;padding-top:14px;border-top:1px solid #d8ddcb;color:#788068;font-size:9px}.legend span{display:flex;align-items:center;gap:5px}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px}.play-panel{display:flex;flex-direction:column;gap:16px}.season-panel{background:#e7ecdf;border:1px solid #dbe2d1;border-radius:8px;padding:20px 22px}.season-title{display:flex;justify-content:space-between;align-items:center}.season-title h2{font-size:27px;margin-top:9px}.season-mark{font-size:47px;color:#859a71;font-family:Georgia}.season-track{display:flex;gap:5px;margin:19px 0 9px}.season-track span{height:5px;background:#d0d8c4;border-radius:2px;flex:1}.season-track span.done{background:#577b55}.time-line{font-size:10px;color:#6f7e62;display:flex;justify-content:space-between}.exploration{border:1px solid var(--line);background:#fcfbf5;border-radius:8px;padding:22px}.exploration .eyebrow{display:flex;justify-content:space-between;font-size:9px}.day-badge{letter-spacing:0;color:#90917d;font-weight:400}.exploration h2{font-size:22px;line-height:1.4;margin:14px 0 5px}.exploration .intro{font-size:11px;color:#838572;line-height:1.6}.step-label{display:flex;gap:8px;align-items:center;margin:23px 0 11px;font-size:10px;color:#7b806d}.step-label b{display:grid;place-items:center;background:#eeeede;border:1px solid #e0e2d2;width:18px;height:18px;border-radius:50%;font-size:9px;font-weight:500}.terrain-choices{display:flex;gap:8px}.terrain-option{flex:1;border:1px solid #dce0d1;border-radius:5px;background:#f7f7ee;padding:9px 5px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px}.terrain-option svg{width:25px;height:25px}.terrain-option.active{border-color:#57795b;background:#e8eddf;box-shadow:0 0 0 1px #57795b}.shape-options{display:flex;gap:9px}.shape-option{min-height:72px;flex:1;border:1px solid #e1e2d5;background:#f9f8f0;border-radius:5px;padding:10px;display:flex;align-items:center;justify-content:center;gap:15px}.shape-option.active{border-color:#57795b;background:#edf0e4;box-shadow:0 0 0 1px #57795b}.shape-grid{display:grid;gap:3px;grid-template-columns:repeat(var(--w),12px);grid-template-rows:repeat(var(--h),12px)}.shape-grid i{width:12px;height:12px;background:#708e65;border-radius:1px}.shape-meta{font-size:10px;color:#7e846c;line-height:1.6}.coin{color:#b19045}.draw-hint{font-size:11px;line-height:1.7;color:#7f8371;margin:13px 0 16px;min-height:36px}.draw-hint.error{color:#a45d40}.primary{width:100%;background:var(--green);color:#f6f5e8;border:0;border-radius:5px;padding:14px;font-size:12px;display:flex;align-items:center;justify-content:space-between;transition:background .15s}.primary:hover{background:#34634f}.primary:disabled{background:#b2bca9;opacity:1;color:#f7f7ee}.draw-tools{display:flex;justify-content:space-between;margin-top:8px}.draw-tools button{font-size:10px;color:#818773}.field-note{padding:1px 10px;font-size:11px;line-height:1.7;color:#7e8471}.field-note strong{font-weight:500;color:#4f6955}.mini-stats{display:flex;gap:16px;flex-wrap:wrap}.mini-stats b{color:#586c51;font-weight:500}.event{margin-top:10px;color:#89658f;font-size:10px}.objectives-section{margin-top:35px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:19px}.section-heading h2{font-size:21px;margin-top:8px}.goals{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.goal{padding:17px 19px 15px;background:#f2f1e8;border:1px solid #e0e1d4;border-radius:6px;position:relative}.goal.active{background:#fcfbf5;border-color:#a4b292}.goal-top{display:flex;justify-content:space-between;align-items:center}.goal-letter{font-size:11px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#e2e7d9;color:#5b7152}.goal.active .goal-letter{background:#456642;color:#faf8ed}.goal-state{font-size:8px;letter-spacing:1.2px;color:#919783}.goal.active .goal-state{color:#648257}.goal h3{font-size:14px;margin:15px 0 9px}.goal p{font-size:11px;line-height:1.65;color:#858573;min-height:53px}.goal-bottom{margin-top:14px;border-top:1px solid #e3e5d7;padding-top:11px;display:flex;justify-content:space-between;align-items:center;color:#929780;font-size:9px}.goal-score{font-size:20px;color:#597050;font-family:var(--serif)}.goal-score small{font:9px var(--sans);color:#8f957e}footer{border-top:1px solid var(--line);margin-top:34px;display:flex;justify-content:space-between;padding:20px 0 25px;font-size:9px;color:#929683}dialog{color:var(--ink);background:var(--paper);border:1px solid #d5dbca;border-radius:12px;padding:34px;max-width:550px;width:calc(100% - 32px);max-height:85dvh;box-shadow:0 20px 80px #18362933}dialog::backdrop{background:#1f352966;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:13px;top:10px;border:0;background:none;font-size:26px;color:#8a927e}.dialog-title{font-size:29px;margin:10px 0 18px}.dialog-copy{font-size:13px;line-height:1.8;color:#78816e}.dialog-copy p{margin:12px 0}.dialog-copy strong{color:#3c5845;font-weight:600}.dialog-copy ol{padding-left:20px}.dialog-copy li{margin:11px 0}.dialog-copy h3{font-size:16px;margin-top:22px;color:var(--ink)}.map-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.map-option{background:#efefe2;border:1px solid #d6ddca;border-radius:6px;padding:15px 8px;font-size:11px;text-align:center}.map-option.active{border:2px solid #66815b;padding:14px 7px;background:#e7ecdb}.map-option svg{width:65px;height:65px;display:block;margin:0 auto 10px}.map-option small{display:block;font-size:9px;color:#8c937b;margin-top:7px}.form-label{display:block;font-size:11px;margin:16px 0 9px;color:#7c876e}.seed-input{width:100%;padding:13px;background:#fcfcf5;border:1px solid #cdd5bf;border-radius:5px;color:#455c3d}.seed-tip{font-size:10px;color:#8a937d;margin:8px 0 22px;line-height:1.7}.score-table{width:100%;border-collapse:collapse;font-size:11px;margin:20px 0}.score-table th{text-align:left;font-weight:500;color:#859074;padding:10px 5px;border-bottom:1px solid #dce1d3}.score-table td{padding:12px 5px;border-bottom:1px solid #e2e5d9}.score-table td:last-child{font-weight:700;color:#49643b}.result-score{font:64px var(--serif);text-align:center;margin:24px 0 10px}.result-subtitle{text-align:center;color:#7c8c6b;font-size:12px;margin-bottom:25px}.result-breakdown{display:flex;justify-content:space-between;gap:10px;margin:20px 0 26px}.result-breakdown span{font-size:10px;color:#8a947e;text-align:center;flex:1}.result-breakdown b{display:block;font:24px var(--serif);color:#4e6642;margin-bottom:7px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:#274d3f;color:#fffef2;padding:12px 22px;border-radius:7px;font-size:12px;z-index:5;opacity:0;transition:all .2s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}@keyframes pulse{50%{box-shadow:inset 0 0 0 3px #d6b65c}}@media(min-width:1250px){.workspace{grid-template-columns:minmax(0,1fr) 350px;gap:36px}.map-panel{padding:25px 40px 22px}.exploration{padding:25px}.play-panel{gap:20px}}@media(max-width:1000px){main{padding:30px 25px 0}.workspace{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.map-panel{padding:20px 16px 16px}.legend{gap:10px}.map-note{display:none}.save-status{display:none}.masthead{padding:22px 25px}.masthead nav{gap:18px}.goal{padding:15px}.goals{gap:10px}h1{font-size:32px}}@media(max-width:760px){.masthead{padding:18px 18px;gap:10px}.brand{font-size:16px;letter-spacing:2px;gap:8px}.brand svg{width:28px}.brand small{font-size:6px;letter-spacing:1.6px}.masthead nav{gap:12px}.masthead .text-button{font-size:10px}.masthead .text-button span{display:none}.new-button{padding:9px 10px;font-size:10px}.new-button span{display:none}main{padding:25px 16px 0}.journey-heading{margin-bottom:23px;gap:10px}h1{font-size:27px;letter-spacing:-1px;margin:9px 0}.subtitle{font-size:11px;line-height:1.6;max-width:250px}.eyebrow{font-size:8px;letter-spacing:1.5px}.eyebrow span{display:none}.total-score{display:block;text-align:right}.total-score>span{font-size:38px}.total-score>div{font-size:7px;letter-spacing:1px}.total-score small{display:none}.workspace{display:flex;flex-direction:column;gap:16px}.map-panel{width:100%;padding:16px 16px 12px}.map-topline{margin-bottom:8px}.map-topline h2{font-size:20px}.small-label{font-size:7px}.compass{height:38px}.map-wrap{padding-left:13px}.col-labels{left:13px}.row-labels{width:13px}.legend{gap:12px;font-size:8px;flex-wrap:wrap;padding-top:10px}.legend i{width:7px;height:7px}.map-bottomline{padding:7px 0 4px 13px}.cell .ruin-mark{font-size:17px}.play-panel{width:100%;gap:12px}.season-panel{padding:14px 18px}.season-title{align-items:center}.season-title h2{font-size:22px;margin:4px 0 0}.season-mark{font-size:32px}.season-track{margin:12px 0 8px}.exploration{padding:19px}.exploration h2{font-size:23px;margin-top:10px}.step-label{margin-top:17px}.shape-option{min-height:65px}.shape-grid{grid-template-columns:repeat(var(--w),14px);grid-template-rows:repeat(var(--h),14px)}.shape-grid i{width:14px;height:14px}.draw-hint{margin:12px 0;min-height:0}.primary{padding:16px}.terrain-option{padding:12px}.draw-tools button{padding:11px 0}.field-note{padding:4px}.goals{grid-template-columns:1fr 1fr;gap:10px}.goal h3{font-size:14px}.goal p{font-size:11px;min-height:60px}.section-heading h2{font-size:20px}.section-heading .text-button{font-size:10px}.objectives-section{margin-top:25px}footer{font-size:8px;gap:15px;line-height:1.6}dialog{padding:28px 23px}.dialog-title{font-size:25px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:761px) and (max-width:880px){.legend{gap:8px;font-size:8px}.goal p{min-height:85px}}
/* Keep the drawing tools in reach while the map is being tapped on a phone. */
@media(max-width:760px){body{padding-bottom:230px}.exploration:has(#confirm-button){position:fixed;bottom:0;left:0;right:0;z-index:3;border-radius:14px 14px 0 0;border-color:#cbd5bd;padding:12px 16px max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;box-shadow:0 -6px 25px #344c2915}.exploration:has(#confirm-button) .eyebrow{display:none}.exploration:has(#confirm-button) h2{grid-column:1/-1;font-size:16px;line-height:1.3;margin:0}.exploration:has(#confirm-button) .intro,.exploration:has(#confirm-button) .step-label{display:none}.exploration:has(#confirm-button) .terrain-choices{gap:5px;align-items:stretch}.exploration:has(#confirm-button) .terrain-option{padding:6px 3px;gap:4px;font-size:10px;flex-direction:column}.exploration:has(#confirm-button) .terrain-option svg{width:19px;height:19px}.exploration:has(#confirm-button) .shape-options{gap:6px}.exploration:has(#confirm-button) .shape-option{min-height:51px;padding:7px 5px;gap:5px}.exploration:has(#confirm-button) .shape-grid{grid-template-columns:repeat(var(--w),9px);grid-template-rows:repeat(var(--h),9px);gap:2px}.exploration:has(#confirm-button) .shape-grid i{width:9px;height:9px}.exploration:has(#confirm-button) .shape-meta{font-size:8px}.exploration:has(#confirm-button) .draw-hint{grid-column:1/-1;font-size:10px;line-height:1.4;margin:0;min-height:14px}.exploration:has(#confirm-button) .primary{padding:12px 10px;font-size:11px}.exploration:has(#confirm-button) .draw-tools{gap:10px;margin:0;align-items:center}.exploration:has(#confirm-button) .draw-tools button{font-size:9px;padding:7px 0}.play-panel{display:contents}.season-panel{order:-1;width:100%;padding:10px 15px}.season-title h2{font-size:18px}.season-title .eyebrow{font-size:7px}.season-mark{font-size:27px}.season-track{margin:8px 0 5px}.time-line{font-size:9px}.journey-heading{margin-bottom:16px}.field-note{width:100%}.map-panel{padding:12px}.map-topline{margin-bottom:5px}.map-topline h2{font-size:18px}.small-label{font-size:6px}.legend{gap:10px;font-size:7px}.goal p{min-height:0}}

/* Illustrated ambitions share the map's terrain vocabulary. */
.goal{display:flex;flex-direction:column}.goal-example{margin:16px 0 0;padding:12px 0 0;border-top:1px solid #e3e5d7}.example-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:8px;letter-spacing:1px;color:#7b846d}.example-heading strong{font-size:11px;letter-spacing:0;font-weight:600;color:#456642;white-space:nowrap}.example-map{display:block;width:100%;height:140px;margin:9px auto}.goal-example figcaption{font-size:10px;line-height:1.65;color:#69745e;min-height:66px}.goal-bottom{margin-top:auto;padding-top:11px}.goal-example+.goal-bottom{margin-top:14px}.goal h3{line-height:1.45}@media(max-width:600px){.goal{padding:14px 12px}.example-heading{font-size:7px;letter-spacing:.5px}.example-map{height:126px}.goal-example figcaption{min-height:0}}

.example-key{font-size:10px;line-height:1.6;color:#7b8073;margin:-7px 0 17px;max-width:540px}
/* Explicit rules and event feedback, including the compact phone dock. */
.ruin-status{padding:9px;border:1px solid #c5cbb7;border-radius:5px;margin:9px 0;font-size:11px;background:#eeeee2;grid-column:1/-1}.ruin-status.required{background:#f7e6ae;border:2px solid #9b7020;color:#604407;font-weight:700}.ruin-status small{display:block;font-weight:400;margin-top:4px}.cell.required-ruin{outline:3px dashed #9b7020;outline-offset:-4px;background:#f8e2a0}.attack-notice{background:#eee0ee;border:2px solid #80518b;padding:12px;border-radius:6px;color:#61376b;font-weight:700}.attack-cell{animation:attack-arrival .7s ease-out 3;outline:3px solid #80518b;outline-offset:-3px}@keyframes attack-arrival{50%{transform:scale(.8);background:#e7a8b8}}@media(max-width:760px){.exploration:has(#confirm-button) .ruin-status{margin:0;padding:5px 8px;font-size:10px}body:has(#confirm-button){padding-bottom:300px}}
/* Count directly on the playing map; feedback never intercepts placement taps. */
.cell{position:relative}.threat-mark{position:absolute;right:1px;bottom:1px;font-size:clamp(9px,1.2vw,14px);font-weight:700;line-height:1.2;color:#8c333b;background:#fff3e5e6;border-radius:3px;padding:1px 2px;pointer-events:none}.cell.scoring-cell{outline:3px dashed #3e762d;outline-offset:-3px;background:#c5dfa9}.cell.penalty-cell{outline:2px dashed #a23b43;outline-offset:-2px}.point-pop{position:absolute;z-index:6;left:50%;top:15%;font-size:16px;font-weight:700;color:#244d3f;background:#ffffefed;border-radius:5px;padding:2px 4px;pointer-events:none;white-space:nowrap;animation:point-fade 1.4s ease-out forwards}.map-wrap{position:relative}.score-message{position:absolute;z-index:7;top:45%;left:50%;transform:translate(-50%,-50%);padding:15px 22px;border-radius:8px;background:#244d3fee;color:#fffef2;font-size:18px;text-align:center;max-width:90%;width:max-content;pointer-events:none;animation:message-fade 2s ease-out forwards}#scoring-banner{position:sticky;top:8px;z-index:8;background:#f9f7ea;border:1px solid #adbda1;border-radius:6px;padding:10px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;line-height:1.5}#scoring-banner button{white-space:nowrap;font-size:10px}.map-panel{scroll-margin-top:12px}@keyframes point-fade{0%{opacity:0;transform:translate(-50%,8px)}20%{opacity:1}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-20px)}}@keyframes message-fade{0%{opacity:0}15%,70%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.point-pop{transform:translateX(-50%)}}

.score-symbols{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-variant-numeric:tabular-nums}.score-symbols svg{width:32px;height:32px}.coin-symbol{font-size:30px;line-height:1;color:#e8c56c}#scoring-banner .score-symbols svg{width:24px;height:24px}#scoring-banner .coin-symbol{font-size:24px;color:#957018}
/* Share section heights across each row of ambition cards. */
@supports (grid-template-rows:subgrid){
 .goal{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0}
 .goal>p{min-height:0}
 .goal-example{align-self:stretch}
 .goal-example+.goal-bottom{align-self:end}
}

/* Keep the time cost beside the discovery name, including in the mobile dock. */
.exploration-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:14px 0 8px}.exploration .exploration-heading h2{margin:0;flex:1 1 150px}.time-cost{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:0;color:#4b604b;font-size:13px;font-weight:500}.time-cost>span{font-size:16px;line-height:1}@media(max-width:760px){.exploration:has(#confirm-button) .exploration-heading{grid-column:1/-1;margin:0;gap:6px}.exploration:has(#confirm-button) .exploration-heading h2{font-size:16px;flex-basis:140px}.time-cost{font-size:12px;padding:0}}

.exploration .eyebrow .time-cost{margin-left:auto;color:#4b604b;font-size:13px;letter-spacing:0;font-weight:500}.exploration .eyebrow .time-cost>span{margin:0;color:inherit;font-size:16px;letter-spacing:0}@media(max-width:760px){.exploration:has(#confirm-button)>.eyebrow{display:flex;grid-column:1/-1;align-items:center}.exploration .eyebrow .time-cost{display:inline-flex;font-size:12px}.exploration .eyebrow .time-cost>span{display:inline}}

.cell .ruin-mark.covered-ruin{inset:auto;left:1px;bottom:1px;width:clamp(12px,1.5vw,18px);height:clamp(12px,1.5vw,18px);z-index:2}

.cell .ruin-mark .ruin-icon{width:clamp(17px,2vw,24px);height:clamp(17px,2vw,24px);overflow:visible}.cell .covered-ruin .ruin-icon{width:100%;height:100%}

/* Compact, text-first result sharing. */
dialog:has(.share-panel){max-width:420px;padding:26px}.share-panel .dialog-title{font-size:23px;margin:0 0 18px}.share-message{width:100%;height:145px;resize:none;padding:15px;border:1px solid #d5dbca;border-radius:6px;background:#eeeee3;color:var(--ink);font:13px/1.7 var(--sans)}.share-status{font-size:11px;color:var(--muted);margin:10px 0 18px;min-height:16px}.share-actions{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0}.share-actions button{font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Guided field tour: the spotlight reveals the real, unchanged game beneath it. */
dialog.tour{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;box-shadow:none;color:var(--ink)}
dialog.tour::backdrop{background:transparent;backdrop-filter:none}
.tour-spotlight{position:fixed;border:2px solid #e4c47f;border-radius:10px;box-shadow:0 0 0 200vmax #132b23bc,0 0 0 5px #e4c47f30;pointer-events:none}
.tour-intro{background:#132b23bc!important}
.tour-card{position:fixed;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;background:var(--paper);border:1px solid #d4dcc8;border-radius:12px;box-shadow:0 16px 60px #10251d40}
.tour-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.tour-top .eyebrow{font-size:8px;letter-spacing:1.4px}.tour-top button{white-space:nowrap;color:#647260;font-size:11px}
.tour-card h2{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin-bottom:14px}.tour-card p{font-size:13px;line-height:1.75;color:#596757}
.tour-progress{display:flex;gap:5px;margin:22px 0 18px}.tour-progress span{flex:1;height:3px;border-radius:3px;background:#dbe0d2}.tour-progress .done{background:#66835c}
.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:20px}.tour-actions .primary{width:auto;margin:0;padding:13px 18px;font-size:12px}.tour-rules{display:block;margin:13px auto -5px;color:#647260;font-size:11px}
body.tour-open{overflow:hidden}
@media(max-width:760px){.tour-card{padding:18px}.tour-top{margin-bottom:10px}.tour-card h2{font-size:22px;margin-bottom:10px}.tour-card p{font-size:12px;line-height:1.6}.tour-progress{margin:15px 0 12px}.tour-rules{margin-top:8px}}

/* The season schedule groups each scoring pair with its deadline. */
.scoring-explainer{max-width:800px;color:#66745f;font-size:13px;line-height:1.7;margin:12px 0 16px}.season-end-note{font-size:10px;color:#596d4e;margin-top:10px}.time-line a{text-underline-offset:3px}.cell.claimed:after{display:none}.mountain-coin{position:absolute;right:2px;top:2px;width:clamp(11px,1.3vw,17px);height:clamp(11px,1.3vw,17px);border-radius:50%;display:grid;place-items:center;background:#f6e3a6;border:1px solid #b18a32;color:#9c721b;font-size:clamp(9px,1vw,13px);line-height:1;box-shadow:0 1px 3px #543e2730;pointer-events:none}.mountain-coin.collected{background:#57754d;border-color:#45683f;color:white;font-size:10px}
.tour-map-demo{position:absolute;left:50%;top:20px;transform:translateX(-50%);width:240px;padding:12px;border:1px solid #cbd4bd;border-radius:8px;background:var(--paper);box-shadow:0 5px 20px #273e3530;z-index:4}.demo-caption{font-size:8px;letter-spacing:1px;color:#69765e;text-align:center;margin-bottom:9px}.demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#d0d5bf;border:1px solid #a5b296}.demo-grid .cell{aspect-ratio:1}.demo-grid .mountain-coin{width:22px;height:22px;font-size:17px}.demo-grid .ruin-icon{width:35px!important;height:35px!important}.tour-map-demo p{font-size:10px;text-align:center;margin-top:9px;color:#53654b;line-height:1.5}.demo-fill{font-size:11px;color:#6e7a53}.demo-threat{outline:2px dashed #98739d;outline-offset:-4px}.demo-action{border:1px solid #98ab85;background:#e7eddd;border-radius:5px;padding:10px 12px;margin-top:14px;font-size:11px;width:100%}.demo-action[hidden]{display:none}
@media(max-width:760px){.tour-map-demo{width:205px;padding:10px}.demo-caption{font-size:7px}.tour-open .exploration{pointer-events:none}}
@media(max-width:760px) and (max-height:740px){.tour:not(.tour-intro) .tour-card{max-height:calc(50dvh - 24px)}.tour-card h2{font-size:20px}.tour-card p{line-height:1.5}.tour-map-demo{width:180px}.demo-caption{font-size:6px}}

/* Adjacent scoring pairs over an always-visible A–B–C–D row. */
.ambition-schedule{margin-top:24px}.season-timeline{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;margin:0 0 12px}.season-marker{display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 8px 0;color:#79816f}.season-marker strong{font:20px var(--serif)}.season-marker small{font-size:10px;text-align:center}.season-marker.current{color:#284e37;background:#e5ecdd;border-radius:8px 8px 0 0}.season-marker.current strong:after{content:' · now';font:10px var(--sans)}.season-dots{display:flex;gap:4px}.season-dots i{height:7px;width:7px;border:1px solid #9da98e;border-radius:50%}.season-dots .filled{background:#628356;border-color:#628356}.season-bracket{width:100%;border:1px solid #acb79f;border-bottom:0;border-radius:4px 4px 0 0;text-align:center;margin-top:3px;padding:5px 0;font-size:10px;letter-spacing:2px}.current .season-bracket{border-color:#426a49;border-width:2px}.ambition-row{display:block}.objectives-section .goals{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.objectives-section .goal-state{font-size:8px}.objectives-section .goal-bottom{flex-wrap:wrap;gap:10px}.objectives-section .goal-score small{font-size:9px}.objectives-section .goal h3{font-size:17px}
@media(max-width:760px){.season-timeline{width:100%;margin-left:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.season-marker strong{font-size:18px}.ambition-row{display:block}.objectives-section .goals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.objectives-section .goal h3{font-size:14px}.season-bracket{padding:5px 0}}

/* Winter's split bracket continues across the outer edges without an extra card. */
.winter-marker{padding-left:8px;padding-right:0}.winter-marker .season-bracket{border-right:0;border-top-right-radius:0}.winter-continuation{position:absolute;bottom:0;left:0;width:calc(12.5% - 8px);height:26px;border-top:1px solid #acb79f;border-right:1px solid #acb79f;border-radius:0 4px 0 0;text-align:center;padding:5px 0;font-size:10px;color:#79816f;letter-spacing:1px}.winter-continuation.current{border-color:#426a49;border-width:2px;color:#284e37}
@media(max-width:760px){.season-marker{grid-column:auto!important}.winter-marker{padding-right:8px}.winter-continuation{display:none}.winter-marker .season-bracket{border-right:1px solid #acb79f;border-top-right-radius:4px}.winter-marker.current .season-bracket{border-right:2px solid #426a49}}

.tour-shade{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.tour-holes rect{fill:black}.tour-outlines rect{fill:none;stroke:#e4c47f;stroke-width:2}.tour-shade[hidden]{display:none}
@media(max-width:760px){body.tour-pair .exploration:has(#confirm-button){visibility:hidden}}
