@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#efe6d9;--ink:#3e2e24;--muted:#7b7063;--line:#d5c9b9;--gold:#e8b766;--green:#315e51}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,#globe:focus-visible{outline:3px solid #b17834;outline-offset:3px}button{border:0;color:inherit;background:none}button:hover:not(:disabled){filter:brightness(.93)}.topbar{height:88px;max-width:1440px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;text-decoration:none;align-items:center;font-size:12px;letter-spacing:2px;font-weight:700}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;color:var(--muted)}.brandmark{font-size:37px;color:#8b6746}.home{font-size:12px;text-decoration:none}main{max-width:1440px;margin:auto;padding:37px 5% 0}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#8e755d;margin:0 0 12px}h1{font:58px/.98 'Libre Caslon Display',Georgia,serif;letter-spacing:-1.2px;margin:0}h1 em{font-weight:400;color:#816448}.intro{font-size:14px;color:var(--muted);margin:13px 0 0}.passport{display:flex;gap:15px;align-items:center;border:1px solid #b8a48b;padding:15px 22px;transform:rotate(3deg);font-size:9px;letter-spacing:2px;color:#8b6b4b}.passport strong{display:block;margin-top:8px;font-family:Georgia,serif;font-style:italic;font-size:16px;letter-spacing:0;font-weight:400}.compass{font-size:39px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px}.modes{display:flex;padding:4px;background:#e5dbcd;border-radius:9px;gap:4px}.modes button{padding:10px 22px;font-size:13px;border-radius:6px;color:#7c6d60}.modes .active{background:#fffaf2;box-shadow:0 2px 5px #3523140a;color:var(--ink)}.region-label{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}select{border:1px solid var(--line);background:#f6efe5;border-radius:6px;padding:10px 27px 10px 12px;color:var(--ink);max-width:170px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.map-panel{position:relative;min-height:530px;border-radius:13px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#233d3e 0,#15292b 55%,#102022 100%);color:#e4e8d9;box-shadow:0 14px 30px #3f2c1710}.map-top{position:absolute;left:24px;right:24px;top:22px;display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.6px;z-index:2;pointer-events:none;color:#abbab1}.live-dot{width:5px;height:5px;background:#c3ad7e;border-radius:50%}.edition{margin-left:auto;color:#899e96}.map-panel:after{content:'';position:absolute;inset:12px;border:1px solid #d5ddc70a;border-radius:5px;pointer-events:none}#globe{width:100%;height:100%;min-height:530px;position:absolute;inset:0;touch-action:none;cursor:grab}#globe:active{cursor:grabbing}#globe canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:45% 20px auto;text-align:center;color:#dbc8a5;font-size:13px;line-height:1.6}.map-overlay{position:absolute;right:20px;top:75px;bottom:80px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.north{text-align:center;font-size:11px;line-height:1.7;color:#b7c5b7}.map-controls{display:grid;background:#132b2a;border:1px solid #abbba32b;border-radius:7px;pointer-events:auto}.map-controls button{color:#d4dfce;font-size:20px;line-height:1;width:38px;height:38px}.map-controls button+button{border-top:1px solid #abbba31a}.map-bottom{position:absolute;bottom:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9faea6;gap:8px}.map-bottom i{padding:0 6px;font-style:normal}.map-bottom button{color:#d7dcc7;border:1px solid #abbba32b;border-radius:5px;padding:8px;font-size:10px;white-space:nowrap}.answer-card{background:#fffaf3;border:1px solid #e0d5c5;border-radius:13px;padding:25px 23px 19px;display:flex;flex-direction:column;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:center}.card-top .eyebrow{font-size:8px;margin:0;letter-spacing:1.6px}.step{font:18px Georgia,serif;color:#baa68c}h2{font:32px/1.12 'Libre Caslon Display',Georgia,serif;margin:21px 0 10px}#instruction{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 14px;min-height:38px}.selection-note{display:flex;align-items:center;gap:8px;font-size:9px;color:#8a7054;margin-bottom:20px}.gold-dot{width:7px;height:7px;border-radius:50%;background:#ce9b4b;flex-shrink:0}.search-wrap{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding:0 10px;background:#f8f2e9;gap:8px}.search-wrap span{font-size:24px;color:#94816b}input{width:100%;border:0;background:transparent;min-width:0;padding:12px 0;font-size:11px;color:var(--ink);outline:none}#country-list{overflow:auto;overscroll-behavior:contain;height:175px;margin:8px 0 13px;scrollbar-width:thin;scrollbar-color:#c7b7a0 transparent}#country-list button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:10px 12px;border-radius:5px;font-size:12px;min-height:38px}#country-list button:after{content:'';border:1px solid #d5c5af;border-radius:50%;width:12px;height:12px;flex-shrink:0}#country-list button.selected{background:#eee2cf;font-weight:600}#country-list button.selected:after{background:#8c6942;box-shadow:inset 0 0 0 3px #eee2cf}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--ink);color:#fff8ed;padding:14px 17px;border-radius:6px;font-size:12px}.primary span{font-size:18px;line-height:1}.card-actions{display:flex;justify-content:space-between;margin-top:auto;padding-top:17px;gap:8px}.card-actions button{font-size:10px;padding:6px 0;color:#82664b}.card-actions button+button{color:var(--ink)}#feedback{padding:20px;background:#edf1e7;border:1px solid #d5dec8;border-radius:8px;line-height:1.6;font-size:13px;margin:8px 0 15px}#feedback.wrong{background:#f5e8d9;border-color:#e8d0b6}#feedback strong{font:28px 'Libre Caslon Display',Georgia,serif;display:block;margin:5px 0}#feedback small{display:block;color:#68705b}#feedback button{margin-top:16px}#study-details{padding:15px 0}#study-details .flag{font-size:48px}#study-details p{color:var(--muted);line-height:1.7}.journey{display:flex;align-items:center;margin-top:22px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:28px}.journey-title{flex:1}.journey-title .eyebrow{display:block;font-size:8px;margin-bottom:8px}.journey-title strong{font-size:13px;font-weight:500}.stat{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:62px}.stat strong{font:26px Georgia,serif}.stat span{font-size:8px;letter-spacing:1.2px;color:#927b64}.mastery{width:180px;border-left:1px solid var(--line);padding-left:25px;margin-left:8px;font-size:11px;color:#7c6a56}.mastery b{color:var(--ink)}.mastery small{font-size:8px;color:#9a8976}.progress{height:4px;background:#dacebb;margin:10px 0 5px;border-radius:3px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:#6b826d;transition:width .4s}footer{display:flex;justify-content:space-between;padding:23px 0;color:#8b7966;font-size:10px}footer>span{font-family:Georgia,serif;font-style:italic}footer button{font-size:10px}dialog{max-width:520px;width:calc(100% - 35px);background:#fffaf3;border:1px solid var(--line);border-radius:13px;padding:35px;color:var(--ink);box-shadow:0 25px 100px #0005}dialog::backdrop{background:#102022a8;backdrop-filter:blur(4px)}dialog h2{margin:12px 0 20px}dialog p{font-size:13px;line-height:1.7}.fine{font-size:10px!important;color:#82715e}.close{position:absolute;top:10px;right:13px;font-size:25px}[hidden]{display:none!important}@media(min-width:1450px){.map-panel,#globe{min-height:600px}.answer-card{padding:30px}#country-list{height:230px}}@media(max-width:1000px){main{padding:30px 4% 0}.topbar{padding:0 4%}.game-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}h1{font-size:49px}.passport{display:none}.map-bottom>span{max-width:180px;line-height:1.8}.journey{gap:16px}.mastery{width:150px;padding-left:16px}}@media(max-width:720px){.topbar{height:68px}.brand{font-size:10px}.brandmark{font-size:29px}.brand small{font-size:6px}.home{font-size:10px}main{padding:27px 4% 0}h1{font-size:43px}.heading{margin-bottom:23px}.intro{font-size:12px}.eyebrow{font-size:8px}.toolbar{align-items:center}.modes button{padding:10px 13px;font-size:11px}.region-label{font-size:0;gap:0}.region-label select{font-size:10px;max-width:132px;padding:10px 5px}.game-layout{grid-template-columns:1fr;gap:14px}.map-panel,#globe{height:360px;min-height:360px}.map-top{font-size:7px;left:18px;right:18px;top:18px}.map-bottom{left:18px;right:18px;bottom:17px;font-size:8px}.map-bottom>span{max-width:240px}.map-controls button{width:32px;height:34px}.map-overlay{top:60px;bottom:65px;right:14px}.answer-card{padding:22px}.answer-card h2{margin-top:15px;font-size:32px}#instruction{min-height:0;margin-bottom:10px}.selection-note{margin-bottom:13px}#country-list{height:160px}input{font-size:12px}.card-actions button{font-size:12px;padding:8px 0}.journey{flex-wrap:wrap;gap:20px;justify-content:space-between}.journey-title{flex-basis:100%}.stat{min-width:52px}.mastery{width:130px;margin-left:0}.stat strong{font-size:24px}footer{gap:15px;line-height:1.5}.edition{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
