@font-face{font-family:Nunito;src:url('./fonts/nunito-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('./fonts/nunito-extrabold.ttf') format('truetype');font-weight:800;font-display:swap}
:root{color-scheme:light;--ink:#243b35;--muted:#5d6b5e;--paper:#fff9ed;--line:#e4dcc9;--green:#b6db68;--ocean:#b7dfe2;--land:#34855c;--orange:#eead4d;--focus:#9e472d;--primary:#38764b;font-family:Nunito,'Segoe UI',sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{border:0;transition:background .16s,transform .16s,box-shadow .16s}button:active:enabled{transform:translateY(2px)}button:disabled,fieldset:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:4px}::selection{background:var(--green);color:var(--ink)}a{color:inherit;text-underline-offset:3px}
.header{min-height:74px;display:flex;align-items:center;padding:14px 28px;border-bottom:1px solid var(--line);gap:30px}.brand{font-size:32px;font-weight:800;letter-spacing:-.04em;text-decoration:none;display:flex;align-items:center;color:var(--primary)}.brand span{color:#b05b37}.brand svg{width:25px;height:25px;margin:5px 0 0 10px;fill:none;stroke:#b05b37;stroke-width:1.5}.edition{font-weight:800}.edition span{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:2px}.header>.quiet{margin-left:auto;border:1px solid #c8bfa8;border-radius:24px;padding:9px 16px;text-decoration:none}.quiet{background:transparent;color:var(--muted);padding:10px 0;font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px}.quiet:hover{color:var(--ink)}
main{display:grid;grid-template-columns:288px minmax(0,1fr);min-height:calc(100svh - 125px);max-width:1800px;margin:auto}.play-panel{padding:25px 24px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:20px}h1{font-size:34px;line-height:1.1;letter-spacing:-.025em;font-weight:800;margin:0 0 24px}label[for=province],legend{font-size:14px;font-weight:800;display:block;margin:0 0 9px}select{border:1px solid #b6c1aa;border-radius:10px;width:100%;background:#fffdf7;color:var(--ink);padding:11px 10px;margin-bottom:22px;min-height:46px}fieldset{padding:0;margin:0;border:0;min-width:0}.mode{display:flex;gap:10px;align-items:center;padding:11px 10px;margin:0 -10px 5px;border:1px solid transparent;border-radius:12px;cursor:pointer;transition:background .16s,border-color .16s}.mode:has(input:checked){background:#e5efcc;border-color:#b1c77e}.mode:hover{background:#edf2dc}.mode input{accent-color:var(--primary);width:17px;height:17px;margin:0;flex-shrink:0}.mode strong{display:block;font-size:15px;font-weight:800}.mode small{display:block;font-size:13px;color:var(--muted);margin-top:3px}.sidebar-bottom{margin-top:auto}.restart{width:100%;border:1px solid #b7bda9;background:#fffdf7;border-radius:10px;padding:11px;font-size:14px;min-height:44px}.restart:hover{background:#e5efcc}.best{font-size:13px;color:var(--muted);margin:14px 0 0}.storage-note{font-size:12px;color:var(--muted);margin:0;padding-top:16px;line-height:1.5}#reset-confirm{padding:12px 0;font-size:14px}#confirm-reset{background:var(--primary);color:white;padding:10px 12px;border-radius:8px;margin-right:10px}
.map-panel{background:var(--ocean);display:flex;flex-direction:column;position:relative;min-width:0}.map-heading{display:flex;justify-content:space-between;align-items:start;padding:18px 24px;gap:12px}.map-heading h2{font-size:22px;font-weight:800;margin:0}.map-heading p{font-size:14px;color:#425e5f;margin:4px 0 0}.map-tools{display:flex;gap:6px;flex-shrink:0}.map-tools button{background:#eef7e9;color:var(--ink);width:40px;height:40px;font-size:23px;border:1px solid #9fbeb4;border-radius:9px;box-shadow:0 2px 0 #7bada65c}.map-tools button:last-child{font-size:14px;width:48px}.map-tools button:hover{background:#fffdf7}#back-netherlands{color:#304e4a;padding-bottom:0}.scorebar{background:#edf5e8;padding:10px 24px;display:grid;grid-template-columns:auto minmax(50px,1fr) auto;align-items:center;gap:20px;border-top:1px solid #c8d8c6;border-bottom:1px solid #c8d8c6}.score-row{display:flex;align-items:baseline;gap:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.score-row strong{font-size:26px;font-weight:800;display:inline-block}#total{font-size:16px;color:var(--muted)}#percent{font-size:13px;color:var(--muted)}progress{height:8px;width:100%;border:0;display:block;background:#d4e0c7;border-radius:8px;overflow:hidden}progress::-webkit-progress-bar{background:#d4e0c7;border-radius:8px}progress::-webkit-progress-value{background:var(--primary);border-radius:8px;transition:width .3s}progress::-moz-progress-bar{background:var(--primary);border-radius:8px}.stats{display:flex;align-items:center;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;gap:14px}#timer{font-size:16px;font-weight:800;color:var(--ink)}
.map-stage{position:relative;min-height:360px;flex:1;overflow:hidden}#map{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px}#map:active{cursor:grabbing}.territory{fill:var(--land);stroke:#c4e0c4;stroke-width:.85;vector-effect:non-scaling-stroke;fill-rule:evenodd;transition:fill .2s}.territory.outside{pointer-events:none}.territory.solved{fill:var(--green)}.territory.hinted{fill:#dfbf7c}.territory.selected{fill:var(--orange);stroke:#754d20;stroke-width:1.5}.territory.pickable{cursor:pointer}.territory.pickable:hover,.territory.pickable:focus{fill:#65a56e;outline:none;stroke:#fff9ed;stroke-width:2}.territory.pickable.solved:hover,.territory.pickable.solved:focus{fill:#cdeb91}.territory.pickable.selected:hover,.territory.pickable.selected:focus{fill:#f9c66f}.north{position:absolute;right:24px;bottom:24px;text-align:center;color:#496c6b;line-height:1.6;font-size:12px;pointer-events:none}#map-tip{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:#fffdf7;color:var(--ink);padding:9px 18px;font-size:15px;font-weight:800;border-radius:24px;box-shadow:0 4px 14px #23473c24;pointer-events:none;max-width:90%;text-align:center}.map-footer{padding:12px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#3c595b}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:11px;height:11px;display:inline-block;border-radius:3px}.unknown{background:var(--land)}.solved{background:var(--green)}.target{background:var(--orange)}.map-footer p{font-size:12px;color:#425e5f;margin:0}
.round{background:#fffdf7;border-top:1px solid var(--line);padding:20px 24px 16px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,1fr);column-gap:28px;row-gap:4px}.question{grid-column:1;grid-row:1 / span 2}h2#prompt{font-size:23px;line-height:1.25;margin:0 0 8px;font-weight:800;overflow-wrap:anywhere}#answer-form,#learn-controls{grid-column:2;grid-row:1;min-width:0}.answer-box{display:flex;border:2px solid #c0c9b1;background:white;border-radius:12px;overflow:hidden;box-shadow:0 3px 0 #dfe4d4}.answer-box:focus-within{outline:3px solid #38764b22;border-color:var(--primary)}#answer{width:100%;min-width:0;padding:14px 12px;border:0;outline:none!important;color:var(--ink);caret-color:var(--primary)}#answer::placeholder{color:#687366;font-size:14px}#submit{min-width:76px;flex-shrink:0;background:var(--primary);color:white;font-weight:800;padding:0 14px}#submit:hover{background:#285e3a}#feedback{font-size:14px;line-height:1.45;min-height:42px;overflow-wrap:anywhere}#feedback[data-kind=error]{color:#a33232}#feedback[data-kind=success]{color:#2d6b36;font-weight:800}.round-actions{grid-column:2;grid-row:2;display:flex;justify-content:space-between;gap:12px}#learn-position{font-size:14px;color:var(--muted);margin:0 0 10px;line-height:1.5}.learn-navigation{display:flex;gap:10px}.learn-navigation button{flex:1;min-height:44px;border:1px solid #aebba0;border-radius:10px;background:#f5f7ed;color:var(--ink);padding:10px;font-weight:800;box-shadow:0 2px 0 #dfe4d4}.learn-navigation button:hover:enabled{background:#e5efcc}#learn-next{background:var(--primary);color:white}#learn-next:hover:enabled{background:#285e3a}#learn-test{margin-top:4px}
.footer{min-height:51px;display:flex;align-items:center;justify-content:space-between;padding:12px 28px;font-size:12px;color:var(--muted);gap:18px}dialog{background:var(--paper);border:1px solid var(--line);border-radius:16px;max-width:570px;width:calc(100% - 32px);padding:30px;color:var(--ink);line-height:1.6;box-shadow:0 18px 70px #17352255}dialog::backdrop{background:#173522a8}dialog h2{font-size:27px;line-height:1.2;margin-top:40px}dialog p{font-size:16px}.close{float:right;padding:0}#load-error{position:absolute;inset:20%;text-align:center}#retry{padding:12px 18px;background:var(--primary);color:white;border-radius:10px}.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}[hidden]{display:none!important}
@media(max-width:1050px){.map-footer p{display:none}.scorebar{gap:12px}.stats{gap:8px}#round-status{display:none}.round{grid-template-columns:minmax(130px,1fr) minmax(210px,1.2fr);gap:16px}.play-panel{padding:24px 20px}main{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:700px){.header{min-height:65px;padding:10px 16px;gap:16px}.brand{font-size:28px}.brand svg{display:none}.edition{font-size:13px}.edition span{font-size:12px}.header>.quiet{font-size:12px;padding:8px 10px}main{display:flex;flex-direction:column;min-height:0}.play-panel{display:contents}.setup{padding:16px}.setup h1{display:none}.setup select{margin-bottom:14px}.setup legend{margin-bottom:7px}#modes{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mode{margin:0;min-height:44px;padding:10px 8px;gap:8px}.mode strong{font-size:14px}.mode small{display:none}.map-panel{order:1}.map-heading{padding:16px}.map-heading h2{font-size:20px}.map-heading p{font-size:13px}.scorebar{padding:9px 16px;gap:14px}.score-row strong{font-size:23px}#percent,#round-status{display:none}.map-stage{height:clamp(300px,43svh,450px);min-height:300px;flex:none}.map-footer{padding:10px 16px}.legend{gap:12px}.north{right:16px;bottom:16px}.round{display:flex;flex-direction:column;padding:18px 16px;gap:10px}.question{display:contents}h2#prompt{order:0;font-size:21px;text-align:center;margin:0}#answer-form,#learn-controls{order:1}#feedback{order:2;min-height:21px}.round-actions{order:3}#learn-position{text-align:center}#learn-test{width:100%}.sidebar-bottom{order:3;padding:20px 16px;margin:0}.footer{padding:15px 16px;align-items:start;flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}button:active:enabled{transform:none}}
/* Atlas controls and unambiguous answer states. */
:root{--land:#8fae91;--green:#287458;--orange:#795393;--paper:#f6f0df;--line:#cfc5ac;--ocean:#b3d3d0;--right:#287458;--retry-one:#e1c259;--retry-two:#d88d48;--failed:#bd6056;--selected:#795393}
.header{border-bottom:3px double #a69b7f}.brand{letter-spacing:-.025em}.header>.quiet{margin-left:auto}.setup>label{font-size:14px}.play-panel{background:#f6f0df;border-right:3px double #b9ae92}.mode-groups{display:flex;border-bottom:1px solid #b9ae92;gap:16px;margin-bottom:14px}.mode-groups button{background:transparent;padding:10px 4px;font-weight:800;font-size:17px;border-bottom:3px solid transparent;color:#637264}.mode-groups button[aria-pressed=true]{color:var(--ink);border-color:var(--primary)}.mode{border-radius:5px;margin-left:0;margin-right:0}.mode:has(input:checked){background:#e2e8d0;border-color:#aeb88f}.appearance{margin-top:26px;padding-top:22px;border-top:1px solid #cfc5ac}.appearance label{display:block;font-size:14px;font-weight:800;margin-bottom:8px}.appearance select{margin-bottom:8px}#sound{background:transparent;font-size:14px;color:var(--ink);padding:9px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px}.map-panel{border:6px solid #eee6ce;outline:1px solid #afa489;outline-offset:-6px}.map-heading{padding-top:15px;padding-bottom:15px}.map-heading h2{font-size:24px;letter-spacing:.025em}.map-stage{border-top:1px solid #7b989033;border-bottom:1px solid #7b989033}.map-tools button,.learn-navigation button,.answer-box{box-shadow:0 3px 7px #243b3515}.map-tools button{border-radius:5px}.round{background:#faf6e9}.scorebar{background:#edeedc}.footer{justify-content:flex-end;flex-wrap:wrap}.map-footer{padding-top:12px;padding-bottom:12px}.legend{gap:10px 16px}.legend i{border:1px solid #243b3533}.legend .target{background:var(--selected)}.retry-one{background:var(--retry-one)}.retry-two{background:var(--retry-two)}.failed{background:var(--failed)}
#map:focus{outline:none}#map:focus-visible{outline:2px solid #795393;outline-offset:-3px}.territory:focus,.territory:focus-visible{outline:none!important}.territory{fill:var(--land);stroke:#eef0d8}.territory.solved{fill:var(--right)}.territory.legacy{fill:#819a8e}.territory.retry-one{fill:var(--retry-one)}.territory.retry-two{fill:var(--retry-two)}.territory.failed{fill:var(--failed)}.territory.selected{fill:var(--selected);stroke:#442b60;stroke-width:2}.territory.selected.failed{fill:var(--failed);stroke:#442b60;stroke-width:3}.territory.pickable:hover{fill:#b9c9a0;stroke:#334f40;stroke-width:1.5}.territory.pickable.solved:hover{fill:#428969}.territory.pickable.selected:hover{fill:#936eaa}.territory.pickable:focus-visible{stroke:#302344;stroke-width:3}.territory.pickable.selected:focus{fill:var(--selected)}.territory.pickable.retry-one:hover{fill:var(--retry-one)}.territory.pickable.retry-two:hover{fill:var(--retry-two)}.territory.pickable.failed:hover{fill:var(--failed)}
#flash-controls{grid-column:2;grid-row:1}#flash-controls button{padding:12px 18px;min-height:48px;border-radius:8px;background:#e5e7d5;color:var(--ink);font-weight:800}#flash-controls .primary{background:var(--primary);color:white}#flash-reveal{width:100%}#flash-rating{display:flex;gap:10px}#flash-rating button{flex:1}#flash-controls button:hover{filter:brightness(.95)}#layer-status{position:absolute;bottom:10px;left:10px;max-width:80%;background:#faf6e9;padding:6px 10px;font-size:13px;pointer-events:none}#aerial-image{pointer-events:none}#feedback:empty{min-height:0}#learn-position{font-variant-numeric:tabular-nums}
:root[data-map-style=atlas]{--ocean:#9dbfba;--land:#cfcb96}:root[data-map-style=atlas] .map-stage{background-image:linear-gradient(#486d6524 1px,transparent 1px),linear-gradient(90deg,#486d6524 1px,transparent 1px);background-size:64px 64px}:root[data-map-style=atlas] .territory{stroke:#796e50;stroke-width:.8}:root[data-map-style=atlas] .territory.selected{stroke:#442b60;stroke-width:2.5}:root[data-map-style=atlas] .map-heading{border-bottom:3px double #697d6f}:root[data-map-style=atlas] .map-stage{box-shadow:inset 0 0 45px #61583118}
:root[data-map-style=aerial] .map-stage{background:#687e72}:root[data-map-style=aerial] .territory{fill-opacity:.2;stroke:#fff8df;stroke-width:1.2}:root[data-map-style=aerial] .territory:is(.solved,.retry-one,.retry-two,.failed,.selected,.legacy){fill-opacity:.88}:root[data-map-style=aerial] .territory.selected{stroke:#ead4ff;stroke-width:3}:root[data-map-style=aerial] .territory.pickable:hover{fill-opacity:.65}
@media(max-width:700px){.setup{display:grid;grid-template-columns:1fr;gap:0}.mode-groups{margin-bottom:8px}.appearance{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:12px}.appearance label{margin:0}.appearance select{margin:0;flex:1;width:auto;min-width:0}.appearance #sound{white-space:nowrap}.map-panel{border-width:4px;outline-offset:-4px}.map-heading{padding:12px}.map-stage{min-height:300px}.map-footer{padding:10px 12px}.legend{font-size:12px;gap:8px 12px}#flash-controls{order:1}.mode{padding:10px}#modes{grid-template-columns:repeat(2,minmax(0,1fr))}.map-heading h2{font-size:21px}.round{padding:16px 12px}.sidebar-bottom{padding-top:16px}.footer{justify-content:flex-start}.header{min-height:62px}}
.legend .legacy{background:#819a8e}:root[data-map-style=aerial][data-aerial-ready=false] .territory{fill-opacity:1}
:root{--retry-one:#d88d48;--retry-two:#d88d48}
#skip{background:#e5e7d5;color:var(--ink);border:1px solid #b5b79f;border-radius:8px;padding:10px 18px;min-height:44px;text-decoration:none;font-weight:800}#skip:hover{background:#d8dec4}.territory.selected.retry-one{fill:var(--retry-one);stroke:#442b60;stroke-width:3}
/* Atlas texture stays inside land geometry; the sea has fine wave marks. */
#land-grain{display:none;pointer-events:none}:root[data-map-style=atlas] #land-grain{display:block;opacity:.28}
:root[data-map-style=atlas] .map-stage{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0 12Q12 8 24 12T48 12T72 12T96 12M0 36Q12 32 24 36T48 36T72 36T96 36' fill='none' stroke='%23486d65' stroke-opacity='.13' stroke-width='.7'/%3E%3C/svg%3E");background-size:96px 48px}
#spelling-control{margin-top:20px}#spelling-control label{display:block;font-size:14px;font-weight:800;margin-bottom:8px}#spelling-control select{margin-bottom:0}
#answer-home{grid-column:2;grid-row:1;min-width:0}#map-entry{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:min(390px,calc(100% - 32px));z-index:2}#map-entry .answer-box{box-shadow:0 4px 14px #243b3526}:root[data-play-mode=fill] #map-tip{bottom:86px}.map-reset{position:absolute;right:12px;top:12px;z-index:2;display:flex;gap:6px}.map-reset button{background:#fffdf4;color:var(--ink);border:1px solid #b0b79c;border-radius:8px;min-height:40px;padding:8px 12px;font-size:14px;box-shadow:0 2px 7px #243b3517}.map-reset button:hover{background:#e6ecd7}#cancel-map-reset{font-size:12px}
@media(max-width:700px){#answer-home{order:1}#map-entry{bottom:12px;width:calc(100% - 28px)}:root[data-play-mode=fill] #map-tip{bottom:80px}.map-reset{right:10px;top:10px}}
.territory[data-wrong=true]{fill:var(--failed)!important;fill-opacity:1!important;stroke:#7e352f!important;transition:none!important}
/* Click-quiz hover only outlines a shape; it never looks like a correct answer. */
:root[data-play-mode=find] .territory.pickable:hover,:root[data-play-mode=find] .territory.pickable:focus{fill:var(--land);stroke:#334f40;stroke-width:2}
.map-reset button{min-width:78px}

/* Keep the click-round action beside its map label, including on small screens. */
#map-question{display:contents}
:root[data-play-mode=find] #map-question{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);display:flex;align-items:center;gap:8px;z-index:3;pointer-events:none}
:root[data-play-mode=find] #map-tip{position:static;transform:none;max-width:none;min-width:0;overflow-wrap:anywhere}
#map-question #skip{pointer-events:auto;flex-shrink:0;min-height:44px;padding:10px 14px;background:#fffdf7;color:var(--ink);border-radius:24px;font-weight:800;box-shadow:0 4px 14px #23473c24}
#map-question #skip:hover{background:#e6ecd7}
#map-question #skip:focus-visible{outline:3px solid #442b60;outline-offset:3px}

/* The answer stays fixed; a separate compact prompt follows a fine pointer. */
#hover-prompt{position:absolute;z-index:4;pointer-events:none;padding:6px 11px;background:#fffdf7;color:var(--ink);font-size:13px;font-weight:400;line-height:1.25;border-radius:8px;box-shadow:0 3px 9px #23473c20;white-space:nowrap}
#hover-prompt strong{font-weight:800}
#name-hint{margin:4px 0 0;color:var(--ink);font-size:14px;font-weight:700}
.territory[data-review=true]:hover,.territory[data-review=true]:focus-visible{stroke:#442b60;stroke-width:2.5;cursor:help}
:root[data-play-mode=name] #map-entry{bottom:auto;left:50%;top:50%;transform:translate(-50%,calc(-100% - 14px));transition:left .12s ease-out,top .12s ease-out}
:root[data-play-mode=name] #map-entry[data-below=true]{transform:translate(-50%,14px)}
@media(pointer:coarse){#hover-prompt{display:none!important}}
.territory.revealed-target{stroke:#7e352f!important;stroke-width:2.5!important;animation:reveal-target .72s step-end infinite}
@keyframes reveal-target{0%,100%{fill:var(--failed)}50%{fill:#fffdf7}}
@media(prefers-reduced-motion:reduce){.territory.revealed-target{animation:none;fill:var(--failed)!important;stroke-dasharray:4 2}}

/* Compact progress overview. */
.header-actions{margin-left:auto;display:flex;gap:8px}.header-actions .quiet{border:1px solid #c8bfa8;border-radius:24px;padding:9px 16px;text-decoration:none}.progress-dialog{max-width:760px}.progress-table-wrap{overflow:auto;margin-top:20px}.progress-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.progress-table th,.progress-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.progress-table th:first-child,.progress-table td:first-child{text-align:left}.progress-table thead th{font-size:12px;color:var(--muted)}.progress-table tbody th{font-size:14px}.progress-table td strong{font-size:15px}.progress-table td small{display:block;font-size:11px;color:var(--muted)}
@media(max-width:700px){.header-actions{gap:5px}.header-actions .quiet{font-size:12px;padding:8px 10px}.progress-dialog{padding:22px 16px}.progress-table th,.progress-table td{padding:9px 8px}}
@media(max-width:540px){.header{flex-wrap:wrap;gap:0}.header-actions{width:100%;margin-left:0;justify-content:flex-end}.header-actions .quiet{min-height:32px;padding:4px 8px}}

/* Atlas-style map and mode overview. */
.home-screen{min-height:calc(100svh - 125px);padding:34px 28px 42px;background:#f6f0df}.home-inner{max-width:1320px;margin:0 auto}.home-tabs{display:flex;justify-content:center;gap:0;margin:0 auto 28px;width:max-content;border:1px solid #a99e82;border-radius:9px;overflow:hidden;background:#fffaf0;box-shadow:0 3px 8px #243b3514}.home-tabs button{min-width:118px;padding:11px 22px;background:transparent;color:var(--ink);font-weight:800}.home-tabs button[aria-pressed=true]{background:var(--primary);color:#fff}.area-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.area-card{position:relative;min-height:290px;overflow:hidden;border:1px solid #9dafa0;border-radius:14px;background:#a7c8c4;box-shadow:0 8px 20px #294b4220}.area-card.netherlands{grid-column:span 2}.area-card::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 28px #4d655f18}.area-map{position:absolute;inset:0 0 94px;width:100%;height:calc(100% - 94px);padding:14px 20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0 12Q12 8 24 12T48 12T72 12T96 12M0 36Q12 32 24 36T48 36T72 36T96 36' fill='none' stroke='%23486d65' stroke-opacity='.11' stroke-width='.7'/%3E%3C/svg%3E");background-size:96px 48px}.area-map path{fill:#cfcb96;stroke:#796e50;stroke-width:.8;vector-effect:non-scaling-stroke;fill-rule:evenodd}.area-card h2{position:absolute;z-index:2;top:14px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);margin:0;padding:7px 13px;border-radius:6px;background:#304f43;color:#fffaf0;font-size:17px;line-height:1.15;text-align:center;white-space:nowrap;box-shadow:0 3px 8px #243b3533}.home-modes{position:absolute;z-index:2;left:12px;right:12px;bottom:12px;display:grid;gap:6px}.home-mode{--score:0%;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:8px 12px;overflow:hidden;border:1px solid #b8c3b2;border-radius:20px;background:#fffdf7;color:var(--ink);font-size:13px;box-shadow:0 2px 6px #243b351d}.home-mode::before{content:"";position:absolute;z-index:-1;inset:0 auto 0 0;width:var(--score);background:repeating-linear-gradient(-45deg,#dfe9cf,#dfe9cf 7px,#e9efdc 7px,#e9efdc 14px);transition:width .25s}.home-mode:hover{border-color:#596f5e;background:#fff}.home-mode span{font-weight:800;text-align:left}.home-mode strong{font-size:14px;font-variant-numeric:tabular-nums}.home-mode.no-score{justify-content:center}.home-mode.no-score::before{display:none}.home-mode.no-score span{text-align:center}.home-screen[data-group=learn] .area-card{background:#b7cfb4}.home-screen[data-group=learn] .area-map{opacity:.9}
@media(max-width:1100px){.area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.home-screen{padding:24px 16px 34px}.area-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.area-card.netherlands{grid-column:span 2}.area-card{min-height:270px}.area-card h2{font-size:15px}.home-tabs{margin-bottom:20px}}
@media(max-width:480px){.area-grid{grid-template-columns:1fr}.area-card.netherlands{grid-column:auto}.area-card{min-height:285px}.home-tabs{width:100%}.home-tabs button{min-width:0;flex:1}}
.mode>span{display:flex;align-items:center;gap:10px;width:100%;min-width:0}.mode-score{margin-left:auto;color:#4d6759;font-size:13px;font-style:normal;font-weight:800;font-variant-numeric:tabular-nums}

/* Start and finish screens for scored rounds. */
#close-round-result{display:block;margin:14px auto 0;min-width:100px}
.round-screen-layer{position:absolute;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#173522a8}.round-screen-card{width:min(390px,100%);text-align:center;padding:30px 32px 32px;border:3px double #a69b7f;border-radius:12px;background:#f6f0df;box-shadow:0 18px 70px #17352255}.round-screen-context{margin:0;color:var(--muted);font-size:14px;font-weight:800}.round-screen-card h2{margin:8px 0 24px;font-size:34px}.round-primary,.round-finish-actions button{min-height:48px;padding:11px 24px;border:1px solid #2d653f;border-radius:8px;font-weight:800}.round-primary{min-width:150px;background:var(--primary);color:#fff;box-shadow:0 3px 0 #285537}.round-primary:hover{background:#285e3a}.round-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.round-result div{padding:15px 10px;border:1px solid #c9bea3;border-radius:8px;background:#fffaf0}.round-result strong,.round-result span{display:block}.round-result strong{font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}.round-result span{margin-top:5px;color:var(--muted);font-size:12px}.round-finish-actions{display:flex;justify-content:center;gap:10px}.round-finish-actions button:last-child{background:#fffaf0;color:var(--ink);border-color:#afa58d}@media(max-width:480px){.round-screen-layer{padding:14px}.round-screen-card{padding:26px 22px}.round-finish-actions{flex-direction:column}.round-finish-actions button{width:100%}}
