
:root{font-family:Arial,Helvetica,sans-serif;color:#142236;background:#f4f5f0;font-synthesis:none;--navy:#101d2e;--lime:#c5f45b;--muted:#687480;--border:#dce1d8}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--border);border-radius:7px;padding:10px 15px;font-weight:700;background:white;color:var(--navy)}button:disabled{cursor:default;opacity:.4}button:hover:not(:disabled){filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #64a92b;outline-offset:4px}header{min-height:88px;background:var(--navy);color:white;display:flex;align-items:center;padding:18px max(32px,calc((100vw - 1340px)/2));gap:64px}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-size:24px;font-weight:900;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;margin-top:5px;color:#a7b4c4}.lime{color:var(--lime)}nav{display:flex;align-items:center;gap:27px}nav button{border:0;border-radius:0;color:#b4bfca;background:none;font-size:13px;padding:15px 0}nav button.active{color:var(--lime);box-shadow:0 2px var(--lime)}nav button:disabled{opacity:.6}nav small{font-size:8px;display:block;margin-top:5px}.header-tag{font-size:11px;color:#a9b4c1;margin-left:auto}main{max-width:1340px;margin:auto;padding:35px 32px 20px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.9px;color:#65744d;display:flex;justify-content:space-between}.eyebrow>span{color:#88917f}.intro{display:flex;justify-content:space-between;align-items:center;margin:20px 0 32px}h1{font-size:clamp(30px,3.35vw,48px);line-height:1.1;letter-spacing:-1.9px;margin:0;font-weight:900}h1 span{color:#72805f}.intro p{font-size:14px;color:#687480;margin:17px 0 0}.mascot{display:flex;align-items:center;gap:17px;transform:rotate(-5deg);margin-right:25px}.mascot span{font-size:13px;line-height:1.3;font-weight:900;letter-spacing:1.4px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.main-column{min-width:0}.gamebar{display:flex;align-items:center;border-radius:12px 12px 0 0;background:var(--navy);color:white;padding:20px 24px;gap:30px}.stat>span{display:block;color:#9caebf;font-size:9px;font-weight:700;letter-spacing:1.2px;margin-bottom:7px}.stat strong{font-size:30px;font-variant-numeric:tabular-nums;line-height:1}.stat b{color:var(--lime)}.stat i{font-size:18px;font-style:normal;color:#9caebf;font-weight:400}.clock{border-left:1px solid #354153;padding-left:30px}.controls{display:flex;gap:8px;margin-left:auto}.controls button{color:#e2e8ef;background:#263346;border-color:#3b4757;font-size:11px}.clock.urgent strong{color:#ffba94}#answer-form{padding:20px 24px 13px;background:white;border:1px solid var(--border);border-top:0}#answer-form label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.input-row{display:flex;border:1px solid #cbd3c1;border-radius:7px;padding:5px;align-items:center;background:#fcfdf9;box-shadow:0 0 0 3px #f4f6ed}.input-icon{font-size:22px;color:#83926a;padding:0 9px}.input-row input{min-width:0;width:100%;border:0;padding:11px 5px;background:transparent;font-size:16px;color:var(--navy)}.input-row button{border:0;background:var(--lime);font-size:12px;white-space:nowrap}.input-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:35px;font-size:11px;color:#687480}#feedback.good{color:#3d7513}#feedback.error{color:#a44229}#finish{border:0;font-size:10px;padding:8px 0;font-weight:400;text-decoration:underline;white-space:nowrap}.map-card{background:#e9eee5;border:1px solid var(--border);border-top:0;border-radius:0 0 12px 12px;overflow:hidden}.map-heading{display:flex;justify-content:space-between;padding:19px 22px;font-size:9px;font-weight:700;letter-spacing:1px;color:#65725b}.live-dot{display:inline-block;border-radius:50%;background:#7fa741;width:6px;height:6px;margin-right:7px}.map-stage{position:relative;min-height:300px;display:flex;align-items:center;background-image:radial-gradient(#adb9a62e 1px,transparent 1px);background-size:16px 16px}#world-map{width:100%;height:auto;display:block;padding:10px}.land{fill:#c3cdb9;stroke:#e9eee5;stroke-width:.65;stroke-linejoin:round;transition:fill .25s}.land.nonquiz{fill:#d7ddcf}.land.found{fill:#91c941;stroke:#436e30}.land.missed{fill:#dfbc9c}.marker{stroke:#566a45;stroke-width:.7}.map-legend{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 22px;color:#6c7963;font-size:9px}.map-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin:0 4px 0 10px}.legend-found{background:#91c941}.legend-missing{background:#bdc8b2}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:#e9eee5cc;backdrop-filter:blur(2px)}.overlay h2{font-size:28px;letter-spacing:-1px;margin:12px 0 4px}.overlay p{font-size:13px;color:#59664f;line-height:1.7}.overlay small{font-size:9px;color:#65725b;margin:17px 0}.mini-label{font-size:9px;letter-spacing:1.2px;font-weight:800}.primary{background:var(--lime);border:1px solid #acdb46;min-height:44px;padding:12px 24px}.primary span{margin-left:35px}.progress-card{background:white;border:1px solid var(--border);border-radius:12px;padding:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{font-size:16px;letter-spacing:-.4px;margin:0}.section-heading>span{color:#849078;font-size:9px}.continent{margin-top:24px}.continent-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:9px}.continent-top span:last-child{font-variant-numeric:tabular-nums;color:#75816b;font-size:11px}.track{height:5px;background:#edf0e8;border-radius:4px;overflow:hidden}.track>div{height:100%;width:0;background:#a6d852;transition:width .3s}.total-progress{border-top:1px solid #e5e9df;margin-top:26px;padding-top:20px;font-size:10px;color:#77816e}.total-progress .track{margin-top:10px;background:#e0e6d7}.total-progress .track>div{background:#253f2c}.best-card{border:1px solid #d8e2c6;background:#e9efd9;display:flex;align-items:center;padding:21px 18px;gap:15px;border-radius:12px;margin-top:16px}.trophy{font-size:45px;color:#677d3c}.best-card p{margin:6px 0;color:#6d7959;font-size:14px}.best-card strong{font-size:29px;color:var(--navy)}.best-card small{font-size:9px;color:#758261}.field-notes{padding:26px 12px;color:#6e785f}.field-notes h3{color:var(--navy);font-size:17px;letter-spacing:-.5px}.field-notes p,.field-notes div{font-size:11px;line-height:1.8}.field-notes div{border-top:1px solid #dce1d4;padding-top:13px}.answers-section{margin-top:27px}.answers-section h2 span{font-size:11px;margin-left:10px;font-weight:400;color:#7c8575}.subtle{font-size:11px;color:#7b8472}.answer-group{border-top:1px solid var(--border);padding:14px 0}.answer-group h3{font-size:11px;margin:0 0 10px}.answer-chips{display:flex;flex-wrap:wrap;gap:6px}.answer-chip{font-size:11px;background:#e3eccf;color:#3f5a27;padding:7px 10px;border-radius:5px}.answer-chip.missed{background:#f0e4d8;color:#82583b}.empty{font-size:11px;color:#8a9481;padding:6px 0}#missing-control{font-size:11px}.results{padding:24px;background:var(--navy);color:white;border-radius:12px;margin-top:20px}.results .eyebrow{color:var(--lime)}.results h2{font-size:26px;margin-bottom:10px}.results p{font-size:13px;line-height:1.7;color:#c1cbd3}footer{display:flex;justify-content:space-between;align-items:flex-start;border-top:1px solid var(--border);margin-top:36px;padding-top:22px;font-size:10px;color:#7f8977;gap:30px}footer>span{font-weight:900;white-space:nowrap}footer b{font-weight:400;margin-left:15px}footer details{max-width:570px;line-height:1.7}footer summary{cursor:pointer;text-align:right}footer a{color:inherit}dialog{border:1px solid var(--border);border-radius:14px;padding:28px;max-width:440px;width:calc(100% - 40px);color:var(--navy)}dialog::backdrop{background:#101d2e99}dialog h2{font-size:23px}dialog p{font-size:14px;color:var(--muted);line-height:1.5}dialog form>div{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}[hidden]{display:none!important}@media(min-width:1500px){main{padding-top:44px}.intro{margin-bottom:38px}}@media(max-width:1000px){header{gap:30px}.header-tag{display:none}.play-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.gamebar{padding:18px;gap:20px}.clock{padding-left:20px}.controls{gap:5px}.controls button{padding:9px}.controls #restart span{display:none}.map-legend{flex-wrap:wrap}.mascot{margin-right:0}.mascot span{display:none}}@media(max-width:760px){header{padding:16px 20px;flex-wrap:wrap;gap:15px;min-height:0}.brand{font-size:21px}.brand img{width:36px;height:36px}nav{gap:20px;margin-left:auto}nav button{font-size:11px;padding:4px 0}nav small{font-size:7px}.play-layout{grid-template-columns:1fr}main{padding:24px 18px}.eyebrow{font-size:8px;letter-spacing:1.1px}.intro{margin:22px 0 25px}.intro h1{font-size:32px;letter-spacing:-1.2px}.intro p{font-size:12px;max-width:235px;line-height:1.5}.mascot img{width:75px;height:75px}.mascot{margin-left:8px}.gamebar{gap:17px;padding:17px}.stat strong{font-size:27px}.stat>span{font-size:8px}.clock{padding-left:17px}.controls{flex-direction:column;gap:5px}.controls button{font-size:10px;padding:6px 10px}#answer-form{padding:18px 16px 10px}.input-meta{font-size:10px}.map-stage{min-height:245px}#world-map{padding:0}.overlay h2{font-size:24px}.overlay p{font-size:12px;margin:6px 0 15px}.overlay small{margin:12px 0}.map-heading{padding:16px;font-size:8px}.map-legend{padding:13px;font-size:8px}aside{display:grid;grid-template-columns:1fr}.progress-card{padding:20px}#continent-progress{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.continent{margin-top:20px}.field-notes{padding-bottom:0}footer{flex-direction:column;gap:15px}footer summary{text-align:left}.results h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.map-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 12px;color:#59694c;font-size:10px}#world-map{aspect-ratio:1000/445;padding:0;overflow:hidden;touch-action:none;user-select:none;cursor:zoom-in}#world-map.map-zoomed{cursor:zoom-out}#world-map.map-dragging{cursor:grabbing}#world-map:focus-visible{outline:2px solid #759a3d;outline-offset:-3px}.map-stage{overflow:hidden}@media(max-width:760px){.map-navigation{padding:0 13px 10px;flex-wrap:wrap}.map-navigation>span{font-size:10px}}

/* Fixed alphabetical slots: keep blank rows in place while answers arrive. */
#answer-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:start;margin-top:18px}
.answer-group{padding:0;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;min-width:0}
.answer-group-heading{background:var(--navy);color:#fff;min-height:82px;padding:14px 9px 11px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.answer-group h3{font-size:12px;line-height:1.3;margin:0}
.answer-group-heading>div{display:flex;justify-content:space-between;gap:5px;font-size:11px;color:#bdc9b4;font-variant-numeric:tabular-nums}
.answer-group-heading>div>span:last-child{color:var(--lime)}
.answer-progress{height:3px;background:#344432}.answer-progress>div{height:100%;background:var(--lime)}
.answer-group ol{list-style:none;margin:0;padding:0}
.answer-slot{height:64px;display:flex;align-items:center;gap:6px;padding:6px 8px;border-top:1px solid #e0e5d9;font-size:12px;line-height:1.2}
.answer-slot:first-child{border-top:0}.answer-number{flex:0 0 15px;color:#7c8872;font-size:11px;font-variant-numeric:tabular-nums}.answer-name{flex:1;overflow-wrap:anywhere}
.answer-name:empty::after{content:'';display:block;width:32px;height:2px;margin:auto;background:#e0e5d9}
.answer-slot.found{background:#f0f6e5;color:#426825}.answer-slot.missed{background:#f0e4d8;color:#82583b}.answer-slot.review-dimmed{opacity:.4}
.answer-continent-picker{display:none}.answer-continent-picker label{font-size:12px;font-weight:700;display:block;margin-bottom:8px}.answer-continent-picker select{width:100%;padding:12px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--navy);font:inherit;min-height:44px}.answer-continent-picker select:focus-visible{outline:3px solid #64a92b;outline-offset:4px}
@media(max-width:1100px) and (min-width:761px){#answer-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#answer-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.answer-continent-picker{display:block;margin-top:18px}#answer-list{grid-template-columns:1fr;margin-top:12px}.answer-group:not(.selected-continent){display:none}.answer-slot{height:48px;font-size:14px}.answer-group-heading{min-height:74px;padding:14px}.answer-group h3{font-size:14px}.answers-section .section-heading{flex-wrap:wrap}.answer-name:empty::after{width:48px}}


/* Keep the original controls reachable throughout the answer board. */
.sticky-quiz-controls{position:sticky;top:0;z-index:20;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 7px 16px -12px #101d2e80}
.results,.answers-section,.answer-continent-picker{scroll-margin-top:270px}
@media(max-width:760px){.sticky-quiz-controls .gamebar{padding:12px 16px}.sticky-quiz-controls #answer-form{padding-top:12px;padding-bottom:8px}.sticky-quiz-controls .input-meta{min-height:30px}}

/* Continent labels follow the live height of the pinned quiz controls. */
#answer-list{align-items:stretch}
.answer-group{overflow:visible}
.answer-column-label{position:sticky;top:var(--quiz-controls-height,240px);z-index:10;background:var(--navy);border-radius:7px 7px 0 0;box-shadow:0 5px 10px -8px #101d2e80}
.answer-group-heading{border-radius:7px 7px 0 0}
.answer-group ol{border-radius:0 0 7px 7px;overflow:hidden}
.results,.answers-section,.answer-continent-picker{scroll-margin-top:calc(var(--quiz-controls-height,240px) + 16px)}

/* Compact pinned controls leave more room for alphabetical answer slots. */
.sticky-quiz-controls .gamebar{padding:8px 16px;gap:20px}
.sticky-quiz-controls .stat>span{font-size:8px;letter-spacing:.8px;margin-bottom:3px}
.sticky-quiz-controls .stat strong{font-size:24px}
.sticky-quiz-controls .stat i{font-size:14px}
.sticky-quiz-controls .clock{padding-left:20px}
.sticky-quiz-controls .controls button{padding:8px 12px}
.sticky-quiz-controls #answer-form{padding:7px 16px 5px}
.sticky-quiz-controls #answer-form>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sticky-quiz-controls .input-row{padding:3px}
.sticky-quiz-controls .input-row input{padding:7px 5px;font-size:16px}
.sticky-quiz-controls .input-row button{padding:8px 12px}
.sticky-quiz-controls .input-meta{min-height:23px;line-height:1.35}
.sticky-quiz-controls #finish{padding:4px 0}
.answer-group-heading{min-height:46px;padding:8px;flex-direction:row;align-items:center;gap:5px}
.answer-group-heading>div{flex-shrink:0;font-size:11px}
.answer-group-heading>div>span:first-child{display:none}
.answer-group h3{font-size:12px;line-height:1.2}
@media(max-width:760px){.sticky-quiz-controls .gamebar{padding:7px 12px;gap:12px}.sticky-quiz-controls .clock{padding-left:12px}.sticky-quiz-controls .controls{gap:3px}.sticky-quiz-controls .controls button{padding:5px 9px}.sticky-quiz-controls #answer-form{padding:6px 12px 4px}.answer-group-heading{min-height:44px}.answer-group h3{font-size:12px}}
@media(pointer:coarse){.sticky-quiz-controls .controls button,.sticky-quiz-controls .input-row button{min-height:44px}.sticky-quiz-controls #finish{min-height:44px}}

/* Dense answer slots expand naturally for wrapped country names. */
.answer-slot{height:auto;min-height:44px;padding:5px 8px;line-height:16px}
.answer-name{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
@media(max-width:520px){.answer-slot{height:auto;min-height:38px;padding:5px 10px;line-height:18px}}

/* A newly filled slot stands out without shifting the aligned rows. */
.answer-slot.found.just-found{background:#d2f776;color:#20360d;box-shadow:inset 4px 0 #60951d;animation:answer-found-highlight 1.8s ease-out both}
@keyframes answer-found-highlight{0%,40%{background:#d2f776;color:#20360d;box-shadow:inset 4px 0 #60951d}100%{background:#f0f6e5;color:#426825;box-shadow:inset 4px 0 transparent}}
@media(prefers-reduced-motion:reduce){.answer-slot.found.just-found{animation:none}}

header nav{flex-wrap:wrap;row-gap:0;min-width:0}@media(max-width:1200px){header{gap:28px}.header-tag{display:none}}

/* Shared navigation links use the same appearance as menu buttons. */
header nav a,header nav a:visited{color:#b4bfca;text-decoration:none;font-size:13px;font-weight:700;padding:15px 0}
header nav a[aria-current="page"]{color:var(--lime);box-shadow:0 2px var(--lime)}
