:root{color-scheme:dark;--navy:#081a2a;--panel:#102b40;--sea:#153f60;--cream:#f8e8c7;--gold:#e6ba74;--orange:#ed8738;--ink:#122d3c}*{box-sizing:border-box}body{margin:0;background:var(--navy);color:#f6e8cd;font-family:Georgia,'Times New Roman',serif}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffd166;outline-offset:3px}.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}.brand-banner{min-height:88px;display:flex;align-items:center;gap:24px;padding:12px 28px;background:linear-gradient(100deg,#061625,#113c54 80%,#0a2539);border-bottom:2px solid #a67c47}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{font-size:45px;line-height:1;color:#eac783}.brand b{font-size:clamp(21px,2.3vw,34px);letter-spacing:.03em;line-height:1}.brand em{color:#efb869;font-style:normal}.brand small{display:block;font:700 10px system-ui;letter-spacing:.2em;margin-top:6px;color:#d9be91}.banner-note{margin-left:auto;color:#e1c392;font-style:italic}.menu-toggle{display:none}.shell{display:grid;grid-template-columns:200px minmax(820px,1000px) minmax(450px,1fr);gap:20px;max-width:2000px;padding:20px 24px;margin:auto;align-items:start}.left-nav{min-height:650px;padding:20px 10px;background:#0c283b;border:1px solid #365166;border-radius:12px}.nav-heading{margin:6px 10px 12px;font:700 10px system-ui;letter-spacing:.13em;color:#a9bdc6}.left-nav a,.left-nav button{width:100%;min-height:48px;padding:10px;display:flex;align-items:center;gap:13px;border:1px solid transparent;background:transparent;color:#f2e6cb;text-align:left;text-decoration:none;border-radius:7px;font-weight:bold}.left-nav a:hover,.left-nav button:not(:disabled):hover{background:#193b50}.left-nav button:disabled{opacity:.48}.left-nav .active{background:#bb5c23;border-color:#ecaf6b}.left-nav a>span:first-child,.left-nav button>span:first-child{width:24px;text-align:center;font:700 22px system-ui}.left-nav small{font:700 9px system-ui;color:#ffe0a6}.left-nav hr{border:0;border-top:1px solid #596465;margin:16px 8px}.nav-note{margin:58px 10px 0;color:#b99d70;line-height:1.5;font-style:italic}.nav-note span{display:block;font-size:35px}.game-column{min-width:0}.game-toolbar{min-height:48px;padding:0 12px 8px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #9f875e;font:700 13px system-ui;letter-spacing:.14em}.utilities{display:flex;gap:8px}.utilities button,.zoom button{min-height:44px;color:#f8e9c7;background:#0b2a3e;border:1px solid #ba9664;border-radius:7px;padding:8px 12px;font:600 13px system-ui}.preview-strip{display:flex;gap:10px;align-items:center;padding:10px 12px;font:12px system-ui;color:#d7d8c7}.preview-strip strong{color:#ffd18a;font-size:10px;letter-spacing:.12em}.game-frame{padding:10px;border:2px solid #c9a164;border-radius:14px;background:#0b304a;box-shadow:inset 0 0 0 3px #16415a}.status-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:7px 14px;background:#0d3954;border-radius:7px}.eyebrow,.paper-label{font:700 10px system-ui;letter-spacing:.14em;color:#c6af86}.status-bar strong{font-size:17px}.score strong{color:#ffca79}.score span:last-child{font-size:13px;color:#c8d3ce}.dot{display:inline-block;width:10px;height:10px;border:1px solid #dfc69b;border-radius:50%;margin:0 3px}.dot.done{background:#e88c3f}.dot.current{box-shadow:0 0 0 3px #bd7c3d}.question{display:flex;gap:15px;align-items:center;min-height:100px;padding:14px 20px;margin:10px 0;background:linear-gradient(115deg,#edd5a9,#fff1cf 60%,#e9c996);border:2px solid #dfbd81;border-radius:8px;color:var(--ink)}.question-icon{font-size:35px;color:#b87b38}.paper-label{color:#91643d}.question h2{margin:4px 0;font-size:clamp(19px,2vw,25px);line-height:1.2}.question p{margin:0;font-size:14px;font-style:italic}.map{position:relative;height:clamp(285px,30vw,405px);overflow:hidden;border:2px solid #cda76f;border-radius:9px;background:#174763}.map svg{width:100%;height:100%;display:block;cursor:grab;touch-action:pan-y}.map svg:active{cursor:grabbing}.country{fill:#e4d1a7;stroke:#967f60;stroke-width:.7;vector-effect:non-scaling-stroke;cursor:pointer}.country:hover{fill:#f6dfac}.country.selected{fill:#ffd166;stroke:#fef5d1;stroke-width:2}.country.unavailable{fill:#a4a8a1;cursor:not-allowed}.map-caption{position:absolute;bottom:10px;left:12px;padding:6px 8px;background:#08283dc9;border-radius:4px;font:700 10px system-ui;letter-spacing:.1em;pointer-events:none}.zoom{display:flex;gap:5px;position:absolute;top:10px;right:10px}.zoom button{min-width:40px;padding:5px;font-size:18px}.selection{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px;background:#092a40;border-radius:8px}.selected{display:flex;flex-direction:column;gap:4px;min-width:160px;flex:1}.selected strong{color:#f8ca80;font-size:15px}.search-wrap{position:relative;flex:1 1 180px}.search-wrap input{width:100%;min-height:44px;padding:9px 12px;border:1px solid #b99c6b;border-radius:6px;background:#f8edda;color:#122d3c;font:14px system-ui}.search-results{position:absolute;bottom:100%;z-index:5;width:100%;max-height:240px;overflow:auto;background:#fff3df;color:#102a3a;box-shadow:0 2px 15px #0018;border-radius:6px}.search-results button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e4d5bb;background:transparent;color:#102a3a;padding:10px;font:14px system-ui}.search-results button:hover,.search-results button:focus{background:#e8d2a8}.primary,.secondary{min-height:44px;padding:10px 16px;border-radius:6px;font-weight:bold}.primary{color:white;background:#bc5b21;border:1px solid #ffc477;box-shadow:0 3px 0 #693014}.primary:disabled{opacity:.45}.secondary{background:#173f56;border:1px solid #c5a26f;color:#fff0d3}.text-button,.mode-bar button{background:none;border:0;color:#f4cf93;text-decoration:underline;min-height:44px}.message{margin:8px 12px;color:#d9e3df;font:13px/1.5 system-ui}.mode-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #416078;padding:3px 8px;color:#edcf9f;font:12px system-ui}.reveal{margin:8px;padding:16px;background:#f7e6c4;border-radius:8px;color:#183446}.reveal h2{margin:0 0 8px}.reveal p{line-height:1.5}.reveal ul{padding-left:22px;columns:2}.reveal li{margin-bottom:5px}.reveal .primary{margin-top:8px}.route{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;margin-top:14px;border:1px solid #567084;border-radius:10px;background:#0c2b40}.route h2{font-size:20px;margin:3px 0}.route p{font-size:13px;margin:0;color:#c7cfca}.route-stops{display:flex;gap:7px;flex-wrap:wrap}.stop{min-width:35px;height:35px;display:grid;place-items:center;border:1px dashed #c7a978;border-radius:50%;color:#ebc18a;font-weight:bold}.stop.done{border-style:solid;background:#b7622e;color:white}footer{font:12px/1.6 system-ui;color:#a6bac1;padding:18px 4px 30px}footer div{display:flex;flex-wrap:wrap;gap:14px}footer a{color:#dfc499}.ad-rail{margin-left:130px;padding-top:32px;width:300px}.ad-label{font:700 10px system-ui;text-align:center;letter-spacing:.17em;color:#aab9b6;margin-bottom:8px}.ad-slot{width:300px;height:250px;border:1px dashed #768a8d;background:#0d2939;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#a6b0a9;font:11px system-ui;letter-spacing:.14em}.ad-slot small{letter-spacing:0}.rail-stamp{text-align:center;margin-top:65px;color:#a9804b;font-size:65px;opacity:.7}.rail-stamp small{display:block;font:10px system-ui;letter-spacing:.2em}dialog{max-width:min(560px,calc(100% - 32px));padding:28px;border:2px solid #bd9561;border-radius:12px;background:#f7e7c7;color:#163446;box-shadow:0 20px 80px #0009}dialog::backdrop{background:#00121ddd}dialog h2{margin:6px 0 12px}dialog p{line-height:1.55}dialog .close{float:right;border:0;background:transparent;color:#17374a;font-size:28px}.mode-choices{display:flex;gap:10px;flex-wrap:wrap}.mode-choices button{flex:1;min-width:160px}.mode-choices small{display:block;font:12px system-ui;margin-top:5px}
@media(max-width:1699px){.shell{grid-template-columns:160px minmax(820px,1000px) minmax(450px,1fr);gap:16px;padding:16px}.ad-rail{margin-left:134px}}@media(max-width:1519px){.shell{grid-template-columns:72px minmax(0,960px);justify-content:center}.ad-rail{display:none}.left-nav{padding:12px 6px}.left-nav a,.left-nav button{justify-content:center}.left-nav a>span:nth-child(2),.left-nav button>span:nth-child(2),.nav-heading,.nav-note{display:none}}@media(max-width:767px){.brand-banner{min-height:67px;padding:8px 12px;gap:10px}.brand-mark{font-size:32px}.brand b{font-size:19px}.brand small{font-size:8px}.banner-note{display:none}.menu-toggle{display:block;color:#fff;background:#173a50;border:1px solid #aa8c62;border-radius:6px;min-width:44px;min-height:44px}.shell{display:block;padding:10px}.left-nav{display:none;position:absolute;z-index:10;top:67px;left:10px;width:min(280px,calc(100vw - 20px));min-height:0;box-shadow:0 10px 30px #000a}.left-nav.open{display:block}.left-nav a,.left-nav button{justify-content:flex-start}.left-nav a>span:nth-child(2),.left-nav button>span:nth-child(2),.nav-heading{display:block}.game-toolbar{padding-left:4px;font-size:11px;letter-spacing:.08em}.utilities button{padding:8px}.preview-strip{padding:8px 4px}.status-bar{padding:7px;font-size:13px}.status-bar strong{font-size:14px}.status-bar .eyebrow{display:none}.dot{margin:0 2px}.question{padding:12px;min-height:95px}.question-icon{display:none}.question h2{font-size:19px}.map{height:clamp(260px,44svh,400px)}.map-caption{font-size:9px}.selection{padding:10px;align-items:stretch}.selected{flex-basis:100%}.search-wrap{flex:1 1 100%}.search-results{position:fixed;bottom:0;left:0;right:0;width:100%;max-height:45svh;padding-bottom:env(safe-area-inset-bottom);border-radius:12px 12px 0 0}.selection .primary{flex:1}.mode-bar{align-items:flex-start}.route{align-items:flex-start;flex-direction:column}.reveal ul{columns:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
[hidden]{display:none!important}
#records-dialog{width:min(600px,calc(100% - 32px));max-height:min(85vh,800px);overflow:auto}#records-list{display:grid;gap:8px}.record-card{padding:12px;border:1px solid #c8ab7c;border-radius:7px;background:#fff4df}.record-card h3{font-size:16px;margin:0 0 6px}.record-card p{margin:4px 0;font:14px/1.5 system-ui}.record-actions{display:flex;gap:8px;flex-wrap:wrap}.record-actions button{flex:1 1 140px}.danger{min-height:44px;padding:10px 16px;border:1px solid #a13e2e;border-radius:6px;background:#8c382d;color:white;font-weight:bold}.record-help{font:12px/1.5 system-ui;color:#3f5260}#records-message,#share-message{min-height:1.4em;font:13px/1.4 system-ui}#share-dialog label{display:block;font:700 13px system-ui;margin-bottom:6px}#share-text{width:100%;padding:10px;margin-bottom:6px;resize:vertical;border:1px solid #bd9b69;border-radius:6px;background:#fffbf1;color:#102c3c;font:14px/1.5 system-ui}

/* V2 travel-chart presentation. The game and ad remain separate columns. */
body{background:#071b2c;color:#f8ebd2;background-image:radial-gradient(ellipse at 20% 0%,#12344b 0%,transparent 50%),repeating-linear-gradient(28deg,#ffffff02 0 1px,transparent 1px 5px)}
.brand-banner{min-height:94px;position:relative;background-color:#0a2941;background-image:url('/public/decor/banner-route.svg'),linear-gradient(100deg,#07192b,#0e354d);background-position:right center,center;background-repeat:no-repeat;background-size:auto 100%,cover;border-bottom:2px solid #b08c53}
.brand{position:relative;z-index:1;gap:12px;flex:none}.brand-mark{display:block;font-size:0;width:56px;height:56px;background:url('/public/decor/compass.svg') center/contain no-repeat}.brand b{font-size:clamp(27px,2.75vw,42px);letter-spacing:-.025em;font-weight:700;white-space:nowrap;color:#f5e7c9}.brand em{font-style:normal;color:inherit}.brand small{display:none}.banner-note{position:relative;z-index:1;margin:0 0 0 12px;padding-left:24px;border-left:1px solid #cba46d;color:#f3dfb6;font:700 11px/1.5 system-ui;letter-spacing:.18em;font-style:normal}
.shell{grid-template-columns:160px minmax(0,1fr) 340px;gap:16px;max-width:2200px;padding:12px 16px;margin:auto}.left-nav{min-height:calc(100vh - 118px);padding:14px 8px;border:1px solid #74818a;border-radius:14px;background:linear-gradient(145deg,#102b40,#071d31);box-shadow:inset 0 0 0 1px #bda16d33}.nav-heading{margin:4px 8px 8px;font-size:9px;color:#c4c9be}.left-nav a,.left-nav button{min-height:48px;padding:8px 7px;gap:9px;font-size:15px}.left-nav button:disabled{opacity:1;color:#bbc3bd}.left-nav button:disabled small{font-size:8px;color:#d8bc8a}.left-nav .active{background:linear-gradient(#ec8c36,#bc511a);border:1px solid #f1bb69;color:#fff1d8;box-shadow:0 2px 0 #582c1c}.left-nav hr{border-top:1px solid #b5935f;margin:12px 8px}.nav-note{margin:38px 8px 0;color:#d2b786;font-size:13px}
.game-toolbar{min-height:44px;padding:0 10px 5px;border-color:#af9263;font:700 14px Georgia,serif;letter-spacing:.15em}.utilities button,.zoom button{font:700 14px Georgia,serif;border-color:#dbb567;color:#f9e9c7;background:#0a2b41}.preview-strip{min-height:24px;padding:4px 10px;font-size:11px;color:#e1e3d5}.game-frame{padding:7px;border-color:#dfb46c;border-radius:13px;background:linear-gradient(#0d3b58,#092941);box-shadow:inset 0 0 0 2px #2a566b}.status-bar{min-height:43px;padding:5px 14px;border:1px solid #315b71;background:linear-gradient(90deg,#0d4567,#092a45);font-size:16px}.dot{width:13px;height:13px;border-width:2px;margin:0 3px}.dot.current{border-color:#f5c675;box-shadow:none;background:#e89536}.dot.done{background:#ef9a35}
.question{min-height:94px;padding:12px 18px;margin:8px 0;background:radial-gradient(ellipse at 50% 20%,#fff2d3,#e9cd9f 78%,#d9b987);border:2px solid #dcbb83;border-radius:9px;box-shadow:inset 0 0 0 2px #fff7df55}.question h2{font-size:clamp(20px,2vw,27px)}.question p{font-size:14px}.question-icon{color:#a96828;font-size:29px}
.map{height:clamp(300px,29vw,405px);border-color:#e3b86d;border-radius:9px;background:radial-gradient(ellipse at center,#225c75,#103a58);box-shadow:inset 0 0 20px #00162566}.map::after{content:'';position:absolute;z-index:1;left:12px;bottom:31px;width:72px;height:72px;background:url('/public/decor/compass.svg') center/contain no-repeat;opacity:.85;pointer-events:none}.map svg{position:relative;z-index:0}.country{fill:#eed9b0;stroke:#6e6454}.country:hover{fill:#fff0c9}.country.selected{fill:#ffd166}.country.unavailable{fill:#9ea8a5}.map-caption{z-index:2;left:10px;bottom:6px;background:#08283dbb}.zoom{z-index:2}.zoom button{min-height:38px;min-width:38px}
.selection{gap:8px;padding:8px 10px;background:#082d48;border:1px solid #365b70}.selected{min-width:155px}.selected strong{color:#ffd274}.search-wrap input{background:#f1e6d5}.primary{background:linear-gradient(#ee8734,#c95a1b);border-color:#f5c073;color:#fff5df}.primary:disabled{opacity:1;background:#6f574b;border-color:#a1826d;color:#e1c7ad}.text-button{min-height:44px}.message{margin:5px 10px;font-size:12px}.mode-bar{padding:1px 8px;border-color:#466979}.mode-bar button{min-height:36px}
.route{min-height:86px;margin-top:10px;padding:12px 20px;color:#183444;border:2px solid #d4ac72;border-radius:9px;background:radial-gradient(ellipse at 50% 10%,#fff0d0,#ead1a8 80%,#d5b586);box-shadow:inset 0 0 0 2px #fff4d755}.route .eyebrow{color:#855f3c}.route h2{font-size:21px;margin:2px 0;color:#122c3c}.route p{color:#394b4b;font-size:12px}.route-stops{gap:18px;position:relative;align-items:center}.route-stops::before{content:'';position:absolute;left:18px;right:18px;top:50%;border-top:2px dashed #9a7f59}.stop{position:relative;z-index:1;width:36px;min-width:36px;height:36px;background:#f6e4c0;color:#24353a;border:2px solid #6e5b43}.stop.done{background:#c56528;color:white;border-color:#7c401d}
.ad-rail{width:300px;margin-left:40px;padding-top:31px}.ad-label{margin-bottom:9px;color:#f1dfbf;font:700 12px Georgia,serif;letter-spacing:.1em}.ad-slot{background:#bec0bd;color:#4d5656;border:0;outline:8px solid #f0dfbf;border-radius:2px;font-size:11px;letter-spacing:.14em}.ad-slot small{color:#4d5656}.rail-stamp{color:#b9965e}
@media(max-width:1399px){.shell{grid-template-columns:72px minmax(0,960px);justify-content:center}.ad-rail{display:none}.left-nav{padding:12px 6px}.left-nav a,.left-nav button{justify-content:center}.left-nav a>span:nth-child(2),.left-nav button>span:nth-child(2),.nav-heading,.nav-note{display:none}}
@media(max-width:767px){.brand-banner{min-height:67px;padding:8px 12px;gap:10px;background-size:auto 100%,cover}.brand-mark{width:34px;height:34px}.brand b{font-size:19px;letter-spacing:-.02em}.banner-note{display:none}.shell{display:block;padding:10px}.left-nav{display:none;min-height:0;position:absolute;z-index:10;top:67px;left:10px;width:min(280px,calc(100vw - 20px));box-shadow:0 10px 30px #000a}.left-nav.open{display:block}.left-nav a,.left-nav button{justify-content:flex-start}.left-nav a>span:nth-child(2),.left-nav button>span:nth-child(2),.nav-heading{display:block}.game-toolbar{font-size:11px}.preview-strip{padding:5px 4px}.question{padding:12px;min-height:95px}.question h2{font-size:19px}.map{height:clamp(260px,44svh,400px)}.map::after{width:50px;height:50px;bottom:30px;left:8px}.selection{padding:9px}.route{align-items:flex-start;flex-direction:column}.route-stops{gap:12px}}
@media (min-width:1400px){.ad-rail{display:block}.left-nav a,.left-nav button{justify-content:flex-start}.left-nav a>span:nth-child(2),.left-nav button>span:nth-child(2),.nav-heading,.nav-note{display:block}}
@media (min-width:768px){.brand-banner{background-image:url('/public/decor/banner-illustration-1200.png'),linear-gradient(100deg,#07192b,#0e354d);background-position:right bottom,center;background-size:auto 115%,cover}}
@media (min-width:1400px){.ad-rail{margin-left:35px}}

/* Postage details are decorative; the game and its text stay fully interactive. */
@media (min-width:1000px){
  .question{position:relative;padding-right:126px}
  .question::after{content:"";position:absolute;right:18px;top:50%;width:85px;height:57px;transform:translateY(-50%) rotate(5deg);border:5px dotted #fff3d6;background:#31566b url('/public/decor/banner-illustration-1200.png') center 76%/145% auto no-repeat;box-shadow:0 1px 4px #6d4b2a66;pointer-events:none}
  .nav-note::after{content:"";display:block;width:96px;height:68px;margin:18px 4px 0;border:6px dotted #f8e6bd;background:#31566b url('/public/decor/banner-illustration-1200.png') center 75%/160% auto no-repeat;transform:rotate(-7deg);box-shadow:0 2px 4px #0006;pointer-events:none}
}
.zoom button{min-width:44px;min-height:44px}
.brand-mark,.map::after{filter:brightness(1.35)}
@media (min-width:768px){.brand-banner{background-size:auto 95%,cover}}
@media (max-width:767px){.map{height:clamp(260px,65vw,330px)}}

/* Use lining serif numerals without changing the surrounding Georgia lettering. */
@font-face{font-family:'Farflung Lining Numerals';src:url('/public/fonts/roboto-slab-digits.woff2') format('woff2'),local('Times New Roman'),local('Liberation Serif'),local('Arial');font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+0030-0039}
body,.question,.score{font-family:'Farflung Lining Numerals',Georgia,serif;font-variant-numeric:lining-nums tabular-nums}
.score,.score strong,.score span:last-child{font-size:17px}
@media(max-width:767px){.score,.score strong,.score span:last-child{font-size:14px}}

/* Daily and chapter selectors reuse the existing field-guide dialogs. */
#daily-dialog,#chapters-dialog,#archive-dialog{width:min(600px,calc(100% - 32px));max-height:min(85vh,800px);overflow:auto}.challenge-list{display:grid;gap:10px}.challenge-card{padding:12px;border:1px solid #c8ab7c;border-radius:7px;background:#fff4df}.challenge-card h3{margin:0 0 6px;font-size:17px}.challenge-card p{font:14px/1.5 system-ui;margin:6px 0}.challenge-card button{margin-top:4px}#daily-error{min-height:1.3em;font:13px/1.4 system-ui}#abandon-current{margin-top:14px}.status-bar>div:first-child{min-width:0}.status-bar #mode-label{overflow-wrap:anywhere}@media(max-width:767px){.status-bar{flex-wrap:wrap}.status-bar>div:first-child{flex:1 1 auto}#mode-label{font-size:13px}}

#chapters-dialog label{display:block;margin-bottom:5px;font:700 13px system-ui}#chapter-search{width:100%;min-height:44px;margin-bottom:12px;padding:9px 12px;border:1px solid #a98759;border-radius:6px;background:#fffaf0;color:#102c3c;font:14px system-ui}

/* Concise guide below the game; longer instructions scroll within the dialog. */
.game-guide{margin-top:14px;padding:16px 20px;border:1px solid #567084;border-radius:10px;background:#0c2b40;color:#f6e8cd}.game-guide h2{font-size:20px;margin:5px 0 8px}.game-guide p{margin:8px 0;color:#d4e0df;font:14px/1.6 system-ui}.game-guide a{color:#f4cf93}#help-dialog{width:min(600px,calc(100% - 32px));max-height:min(85vh,800px);overflow:auto}#help-dialog h3{margin:20px 0 6px;font-size:18px}#help-dialog ol{padding-left:22px;line-height:1.55}#help-dialog li{margin:6px 0}#help-dialog .help-links{border-top:1px solid #d0b181;padding-top:14px}#help-dialog a{color:#183e55;text-decoration:underline}
#daily-previous:not(:empty){display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.challenge-card button+button{margin-left:8px}

/* Markers and a compact map key make countries too small for the overview selectable. */
.country.small-country-marker{fill:#f4d09a;stroke:#0c3044;stroke-width:1.3;cursor:pointer}.country.small-country-marker:hover,.country.small-country-marker.selected{fill:#ffd166;stroke:#fff2c8;stroke-width:1.8}.small-country-key{position:absolute;z-index:3;top:10px;left:10px;font:600 12px system-ui;color:#fff0d3}.small-country-key summary{min-height:38px;display:flex;align-items:center;padding:7px 10px;border:1px solid #ba9664;border-radius:7px;background:#0b2a3e;cursor:pointer;list-style:none}.small-country-key summary::-webkit-details-marker{display:none}.small-country-key summary::after{content:' ▾'}.small-country-key[open] summary::after{content:' ▴'}.small-country-list{position:absolute;top:100%;left:0;width:min(235px,calc(100vw - 70px));max-height:min(250px,55vh);overflow:auto;margin-top:4px;border-radius:7px;border:1px solid #ba9664;background:#f7e7c7;box-shadow:0 5px 16px #0019}.small-country-list button{display:block;width:100%;min-height:38px;padding:8px 10px;border:0;border-bottom:1px solid #e2d0af;background:transparent;color:#163446;text-align:left;font:14px system-ui}.small-country-list button:hover,.small-country-list button:focus-visible{background:#e5cea5}@media(max-width:767px){.small-country-key{top:8px;left:8px;font-size:11px}.small-country-key summary{min-height:36px;padding:6px 8px}.small-country-list{max-height:190px}}
