:root{--ink:#213d32;--muted:#7a8277;--green:#267e53;--lime:#dceba0;--paper:#f8f7f1;--line:#e3e5da;--mono:ui-monospace,Consolas,monospace}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans JP',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #87b85b;outline-offset:4px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.header{height:96px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;max-width:1392px;margin:auto;padding:0 48px}.brand{display:flex;align-items:center;gap:5px;font-size:22px;letter-spacing:-1px;font-weight:500}.brand b{font-weight:800}.brand-mark{font-size:36px;margin-right:8px;line-height:1}.brand-dot{width:6px;height:6px;background:var(--green);border-radius:50%;align-self:flex-start;margin-top:7px;margin-left:1px}.header-note{font-size:12px;letter-spacing:.12em;color:var(--muted)}.text-button{border:0;background:none;padding:6px 0;color:var(--ink);font-size:12px}.text-button:hover{color:var(--green)}.text-button span{margin-left:16px}main{max-width:1392px;margin:auto;padding:0 48px}.intro{padding:61px 0 43px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-family:var(--mono);font-size:10px;letter-spacing:.13em;font-weight:600;margin:0 0 18px;color:var(--green)}.intro .eyebrow{display:flex;align-items:center;gap:8px}.eyebrow>span{height:6px;width:6px;background:var(--green);border-radius:50%}h1{font-size:clamp(30px,3.5vw,47px);line-height:1.55;font-weight:800;letter-spacing:-.06em;margin:0 0 12px}h1>span{color:var(--green)}.lead{font-size:13px;color:#69746a;line-height:1.9;margin:0;letter-spacing:.02em}.mobile-break{display:none}.edition{display:flex;flex-direction:column;border-left:1px solid #d5dacb;padding:0 0 0 27px;margin-top:22px;gap:6px}.edition span,.edition small{font-family:var(--mono);font-size:9px;letter-spacing:.1em;color:var(--muted)}.edition strong{font-size:30px;font-weight:500;letter-spacing:-.06em}.game-shell{border:1px solid #d9dfd1;border-radius:18px;overflow:hidden;background:#fffefa;position:relative;box-shadow:0 8px 32px #243e2c04}.game-top{height:82px;background:#fffefa;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 28px;gap:24px}.live-label{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:10px;letter-spacing:.09em;flex:1}.live-label>span:first-child{width:7px;height:7px;border-radius:50%;background:var(--green)}.stats{display:flex;gap:47px}.stats>div{min-width:66px;display:flex;flex-direction:column;gap:4px}.stats span{font-size:9px;color:var(--muted);font-family:var(--mono);letter-spacing:.12em}.stats strong{font-family:var(--mono);font-size:24px;line-height:1.1;letter-spacing:-.05em;font-weight:500}.stats small{font-size:12px;margin-left:4px;color:var(--muted)}.icon-button{background:#f0f2e9;border:1px solid var(--line);border-radius:6px;color:var(--ink);width:32px;height:32px}.play-area{display:grid;grid-template-columns:minmax(0,1fr) 326px;min-height:476px}.map-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;background:#eef1e7;min-height:476px}.map-label{position:absolute;top:25px;left:25px;right:25px;display:flex;justify-content:space-between;gap:15px;font-family:var(--mono);color:#7d8b7b;font-size:8px;letter-spacing:.08em;z-index:1;pointer-events:none}.map-label>span:last-child{color:var(--green)}#worldMap{display:block;width:100%;height:auto;max-height:400px}#mapCountries [data-country]{fill:#d4ddcc;stroke:#eff2e7;stroke-width:1;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:fill .3s}#mapCountries [data-country].active{fill:var(--green);stroke:#174c35;stroke-width:1.3}#mapCountries [data-country].visited{fill:#b0c59a}#mapCountries [data-country].visited.active{fill:var(--green)}.pin-halo{fill:#64a66c;opacity:.18;stroke:#277e52;stroke-width:1}.pin-core{fill:#eff7ce;stroke:#246344;stroke-width:2}.map-footer{position:absolute;bottom:22px;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#6a7e68}.map-footer>span{display:flex;align-items:center;gap:6px}.map-footer i{height:7px;width:7px;background:var(--green);border-radius:50%}.map-zoom{padding:8px 10px;background:#f9faf3bb;border:1px solid #d8dfcf;border-radius:5px;font-size:10px;color:var(--ink)}.compass{position:absolute;bottom:70px;left:29px;font-size:25px;line-height:1;opacity:.4;display:flex;flex-direction:column;align-items:center;pointer-events:none}.compass span{font:8px var(--mono);margin-bottom:5px}.side-panel{padding:28px;border-left:1px solid var(--line);background:#fffefa}.side-panel .eyebrow{font-size:9px;margin-bottom:13px}h2{font-size:28px;font-weight:800;line-height:1.55;letter-spacing:-.04em;margin:0}.side-description{font-size:11px;color:var(--muted);line-height:1.9;margin:10px 0 20px}.mode-select{padding:0;border:0;margin:0 0 16px;display:grid;gap:8px}.mode-select legend{position:absolute;clip:rect(0,0,0,0)}.mode-select label{padding:12px;border:1px solid var(--line);border-radius:7px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.mode-select label:has(input:checked){background:#eef3de;border-color:#a9bf83}.mode-select input{position:absolute;opacity:0}.mode-select label:has(input:focus-visible){outline:3px solid #87b85b}.mode-select b{font-size:12px;font-weight:600;display:block}.mode-select small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.radio-dot{width:13px;height:13px;border:1px solid #bfc8b5;border-radius:50%}.mode-select input:checked~.radio-dot{border:4px solid var(--green);background:#f4f8e9}.region-label{font-size:10px;color:var(--muted);display:block;margin:0 0 6px}select{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:#fffefa;color:var(--ink);font-size:11px}.quiz-toggle{display:flex;align-items:center;gap:5px;font-size:10px;margin:13px 0 18px;color:#69746a;cursor:pointer}.quiz-toggle input{accent-color:var(--green);width:13px;height:13px}.primary{border:0;background:var(--ink);color:#f4f6e6;padding:14px 16px;width:100%;border-radius:6px;text-align:left;font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.primary:hover{background:var(--green)}.primary span{font-size:17px;font-weight:400}.keyboard-note{font-size:9px;text-align:center;color:#969c8d;margin:12px 0 0}.game-bottom{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.game-bottom>span:first-child{font-family:var(--mono);letter-spacing:.09em}.game-bottom b{color:var(--green);font-weight:500}.notes{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:32px;padding:52px 0 48px;border-bottom:1px solid var(--line)}.note-title .eyebrow{font-size:8px;margin:0 0 12px}.note-title h2{font-size:20px;line-height:1.7}.step{font-family:var(--mono);font-size:9px;letter-spacing:.1em;color:var(--green)}.notes h3{font-size:14px;font-weight:600;margin:17px 0 12px}.notes p{font-size:11px;color:var(--muted);line-height:1.9;margin:0}footer{padding:28px 0 36px;display:flex;align-items:center;gap:32px}footer .brand{font-size:15px;white-space:nowrap}footer p{font-size:10px;color:var(--muted);line-height:1.8;margin:0;flex:1}footer p span,footer p a{display:block;font-size:8px}footer p a{text-decoration:underline}.footer-tag{font-family:var(--mono);font-size:8px;color:var(--muted);letter-spacing:.05em}.question-heading{display:flex;justify-content:space-between;align-items:baseline}.question-prompt{font-size:11px;color:var(--muted);margin:24px 0 8px}.playing h2{font-size:29px;overflow-wrap:anywhere}.kana{font-size:12px;color:var(--muted);margin:8px 0 26px}.typing-word{font-family:var(--mono);font-size:22px;line-height:1.7;letter-spacing:.02em;overflow-wrap:anywhere;margin-bottom:16px;min-height:38px;color:#99a28d}.typing-word .done{color:var(--green)}.typing-word .next{color:var(--ink);border-bottom:2px solid var(--green)}.typing-input{width:100%;border:1px solid #bccdaa;border-radius:5px;background:#f8faef;padding:12px;color:var(--ink);font-family:var(--mono);font-size:14px;outline:none}.typing-input:focus{border-color:var(--green);box-shadow:0 0 0 2px #267e5315}.typing-input.error{border-color:#c07149;background:#fff1e7}.input-help{font-size:10px;line-height:1.7;min-height:17px;color:var(--muted);margin:9px 0 22px}.last-fact{background:#f3f4eb;padding:14px;border-radius:6px;min-height:88px}.last-fact>span{font-family:var(--mono);font-size:8px;letter-spacing:.1em;color:var(--green)}.last-fact p{font-size:11px;line-height:1.9;margin:7px 0 0}.play-actions{display:flex;justify-content:space-between;margin-top:18px}.play-actions .text-button{font-size:10px}.results h2{font-size:25px}.result-score{display:flex;align-items:baseline;gap:10px;margin:15px 0 22px}.result-score strong{font:54px var(--mono);letter-spacing:-.09em}.result-score span{font:9px var(--mono);color:var(--muted)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 15px;margin-bottom:18px}.result-grid div{display:flex;flex-direction:column;gap:4px}.result-grid strong{font:23px var(--mono)}.result-grid span{font-size:10px;color:var(--muted)}.best{font-size:10px;color:var(--green);margin:18px 0}.back{display:block;margin:12px auto 0}.review-section{padding:38px 0;border-bottom:1px solid var(--line)}.review-section h2{font-size:22px}.review-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.review-item{border:1px solid var(--line);border-radius:8px;padding:14px;font-size:12px}.review-item span{display:block;font-size:10px;color:var(--muted);margin-top:7px}.review-item small{display:block;color:var(--green);font-size:9px;margin-bottom:8px}.pause-cover{position:absolute;inset:82px 0 0;z-index:4;background:#f8f7f1ed;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center}.pause-cover p{font-size:12px;color:var(--muted);margin:15px 0 28px}.pause-cover .primary{max-width:260px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.map-error{position:absolute;inset:40%;width:80%;left:10%;font-size:12px;text-align:center;background:#fffefa;padding:18px;border-radius:5px}.time-low{color:#b1643c!important}
@media(min-width:1450px){.intro{padding-top:72px;padding-bottom:52px}.play-area,.map-panel{min-height:520px}.side-panel{padding:35px 28px}.notes{padding-top:60px;padding-bottom:58px}}
@media(max-width:1000px){main{padding:0 25px}.header{padding:0 25px}.play-area{grid-template-columns:minmax(0,1fr) 295px}.side-panel{padding:24px}.stats{gap:22px}.map-label{font-size:7px;left:16px;right:16px}.map-label>span:first-child{max-width:110px;line-height:1.5}.notes{gap:20px}.notes p br{display:none}.footer-tag{display:none}.edition{display:none}h1{font-size:38px}}
@media(max-width:700px){.header{height:74px;padding:0 20px}.header-note{display:none}.brand{font-size:20px}.brand-mark{font-size:30px}main{padding:0 16px}.intro{padding:35px 3px 28px}.intro .eyebrow{font-size:8px;letter-spacing:.06em;margin-bottom:14px}h1{font-size:clamp(26px,6.5vw,38px);letter-spacing:-.06em;margin-bottom:12px}.lead{font-size:11px}.mobile-break{display:block}.game-shell{border-radius:12px}.game-top{height:72px;padding:0 16px;gap:10px}.live-label{font-size:7px;letter-spacing:0;max-width:105px}.live-label>span:first-child{width:5px;height:5px;flex-shrink:0}.stats{gap:14px;margin-left:auto}.stats>div{min-width:40px}.stats strong{font-size:19px}.stats span{font-size:7px}.stats small{font-size:9px}.play-area{display:flex;flex-direction:column;min-height:0}.map-panel{min-height:245px;height:245px}.map-label{top:15px;font-size:7px;left:16px;right:16px}.map-label>span:first-child{max-width:none}.map-footer{left:16px;right:16px;bottom:13px;font-size:9px}.map-zoom{font-size:9px;padding:6px 9px}.compass{display:none}#worldMap{max-height:210px}.side-panel{border-left:0;border-top:1px solid var(--line);padding:24px}.side-panel h2 br{display:none}.side-panel h2{font-size:24px}.side-description br{display:none}.side-description{margin-bottom:16px}.mode-select{grid-template-columns:1fr 1fr;gap:8px}.mode-select label{padding:12px 10px;gap:5px}.mode-select b{font-size:11px}.mode-select small{font-size:9px}.radio-dot{flex-shrink:0}.side-panel>.eyebrow{margin-bottom:10px}.keyboard-note{font-size:9px}.game-bottom{padding:14px 16px}.game-bottom>span:last-child{display:none}.notes{grid-template-columns:1fr;gap:25px;padding:33px 8px}.note-title h2 br{display:none}.notes>div:not(:first-child){padding-left:46px;position:relative}.step{font-size:8px}.notes h3{margin:8px 0;font-size:13px}.notes p{font-size:11px}.notes p br{display:none}.notes>div:not(:first-child):before{content:'↗';position:absolute;left:7px;top:16px;font-size:22px;color:#9bae86}footer{align-items:flex-start;padding:24px 4px;gap:14px;flex-direction:column}footer p{font-size:9px}footer p span{font-size:8px;max-width:340px}.playing .question-prompt{margin-top:8px}.playing .kana{margin:6px 0 15px}.typing-word{margin-bottom:12px}.input-help{margin-bottom:16px}.last-fact{min-height:70px}.last-fact p br{display:none}.pause-cover{inset:72px 0 0}.review-list{grid-template-columns:repeat(2,1fr)}.result-grid{grid-template-columns:repeat(4,1fr);gap:10px}.result-grid strong{font-size:20px}.result-grid span{font-size:9px}.result-score{margin:10px 0 18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.visibility-label{margin-top:13px}.coverage-note{font-size:9px;line-height:1.8;color:var(--muted);margin:11px 0 16px}.playing h2.long-name{font-size:20px;line-height:1.6}.pin-core{fill:#267e53;stroke:#f3f8d9}.question-heading .text-button{font-size:10px}#mapCountries .small-country{vector-effect:non-scaling-stroke}#countryKana{overflow-wrap:anywhere}.question-heading{gap:12px}

.game-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.stop-button{border:1px solid #c5cdb9;background:#f0f2e8;color:var(--ink);border-radius:6px;padding:8px 13px;font-size:11px;white-space:nowrap}.stop-button:hover,.secondary-button:hover{background:#e5ead9}.secondary-button{border:1px solid #bdc8ae;background:#f5f6ef;color:var(--ink);border-radius:6px;padding:12px 14px;font-size:11px;text-align:center}.play-actions{flex-wrap:wrap;gap:12px}.play-actions .secondary-button{width:100%}.pause-quit{width:100%;max-width:260px;margin-top:12px}.autozoom-setting{display:flex;align-items:center;gap:5px;margin:12px 0 0;font-size:10px;line-height:1.7;color:#69746a;cursor:pointer}.autozoom-setting input{accent-color:var(--green);width:13px;height:13px}.gdp-note{font-size:9px;line-height:1.8;color:var(--muted);margin:0 0 15px}.gdp-note a{text-decoration:underline;text-underline-offset:2px}.is-playing .game-top{gap:16px}.is-playing .stats{gap:28px}.is-playing .live-label{min-width:0}
@media(max-width:700px){.is-playing .game-top .live-label{display:none}.is-playing .game-top{gap:8px}.is-playing .stats{gap:14px;margin:0 auto 0 0}.is-playing .game-controls{gap:6px}.stop-button{font-size:10px;padding:8px 10px}.is-playing .icon-button{width:28px;height:30px}.is-playing .stats>div{min-width:36px}}

.mode-select{grid-template-columns:1fr 1fr;gap:7px}.mode-select label{padding:11px 9px;gap:5px;align-items:flex-start}.mode-select b{font-size:10px}.mode-select small{font-size:9px;line-height:1.7}.radio-dot{flex-shrink:0}.daily-note{font-size:10px;line-height:1.8;background:#edf3df;border-radius:6px;padding:12px;color:var(--green)}.question-mode{font-size:10px;line-height:1.7;color:var(--muted);margin:0 0 12px}.answer-button{width:100%;border:1px solid #a7bd87;background:#edf3df;color:var(--ink);padding:11px;border-radius:6px;font-size:11px;margin-bottom:14px}.answer-feedback{padding:14px;border-radius:6px;background:#f2f4e7;line-height:1.9;font-size:12px;margin-bottom:14px;white-space:pre-line}.answer-feedback.wrong{background:#fcf0e7}.geo-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 15px}.geo-result div{display:flex;flex-direction:column;gap:6px}.geo-result strong{font:22px var(--mono)}.geo-result span{font-size:9px;color:var(--muted)}.result-comparison{font-size:10px;line-height:1.9;color:var(--green)}.review-launch{border-top:1px solid var(--line);padding-top:13px;margin-bottom:16px}.review-launch label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.review-launch button{width:100%;margin-top:9px}.focus-mode .intro,.focus-mode .learning-hub,.focus-mode .notes,.focus-mode footer,.focus-mode #reviewSection{display:none!important}.focus-mode .game-shell{margin-top:22px;overflow:clip}.focus-mode .game-top{position:sticky;top:0;z-index:5}.focus-mode .header{height:70px}.learning-hub{padding:48px 0;border-bottom:1px solid var(--line)}.hub-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.hub-heading h2{font-size:25px}.hub-heading .eyebrow{margin-bottom:12px}.storage-notice{font-size:10px;line-height:1.7;color:var(--muted);max-width:320px}.learning-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:25px 0}.learning-summary>div{display:flex;flex-direction:column;gap:9px}.learning-summary strong{font-size:25px;letter-spacing:-.04em}.learning-summary span{font-size:10px;color:var(--muted)}.mastery-legend{display:flex;gap:20px;font-size:10px;color:var(--muted);margin:15px 0}.mastery-legend span{display:flex;align-items:center;gap:6px}.mastery-legend i{height:9px;width:9px;border-radius:50%}.level0{fill:#d8dfd1;background:#d8dfd1}.level1{fill:#b2cc87;background:#b2cc87}.level2{fill:#267e53;background:#267e53}.progress-map{display:block;width:100%;max-height:400px;border:1px solid var(--line);border-radius:12px;background:#eef1e7}.progress-map [data-country]{stroke:#f5f7ef;stroke-width:.7;vector-effect:non-scaling-stroke}.region-goals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.region-goal{font-size:11px;border:1px solid var(--line);border-radius:7px;padding:12px;display:flex;justify-content:space-between;gap:8px}.region-goal.complete{background:#e8f0d9;border-color:#abc38b}.badges{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}.badge{font-size:10px;border:1px solid var(--line);color:#8b9483;padding:8px 11px;border-radius:20px}.badge.earned{border-color:#abc38b;background:#e8f0d9;color:var(--green)}.hub-bottom{display:grid;grid-template-columns:1fr 1.5fr;gap:22px}.weak-card,.trend-card{background:#fffefa;border:1px solid var(--line);border-radius:10px;padding:23px}.hub-bottom h3{font-size:16px;margin:0 0 12px}.hub-bottom p:not(.eyebrow){font-size:11px;line-height:1.8;color:var(--muted)}.weak-card button{width:100%;margin-top:10px}.trend-card svg{width:100%;height:160px;display:block}.trend-entries{font-size:9px;display:flex;gap:12px;flex-wrap:wrap;color:var(--muted)}.review-item em{display:block;font-style:normal;font-size:10px;color:#a16e43;margin-top:8px}.input-help{min-height:32px}.playing .last-fact{min-height:70px}.playing .input-help{margin-bottom:12px}.playing .kana{margin-bottom:15px}
@media(max-width:700px){.focus-mode .header{height:60px}.focus-mode .game-shell{margin-top:12px}.hub-heading{align-items:start;flex-direction:column;gap:8px}.learning-summary{grid-template-columns:1fr 1fr;gap:24px}.learning-summary strong{font-size:22px}.mastery-legend{gap:11px;font-size:8px}.region-goals{grid-template-columns:1fr 1fr;gap:7px}.region-goal{font-size:10px;padding:10px}.hub-bottom{grid-template-columns:1fr}.hub-heading h2{font-size:22px}.learning-hub{padding-top:34px}.geo-result{gap:10px}.focus-mode .map-panel{height:215px;min-height:215px}.focus-mode #worldMap{max-height:190px}.mode-select b{font-size:11px}.trend-card,.weak-card{padding:20px}}
.site-guide{padding:32px 0 48px;border-top:1px solid var(--line)}.site-guide h2{font-size:22px}.site-guide p{font-size:12px;line-height:2;color:var(--muted);max-width:850px}.site-guide details{border-top:1px solid var(--line);padding:16px 0}.site-guide summary{cursor:pointer;font-size:13px;line-height:1.8}.site-guide details div{padding:4px 16px}.focus-mode .site-guide{display:none!important}

h1 .intro-tagline{display:block;font-size:clamp(19px,2.2vw,29px);line-height:1.7;letter-spacing:-.03em;margin-top:4px}.brand{letter-spacing:-.04em;white-space:nowrap}@media(max-width:700px){.brand{font-size:19px}.brand-mark{margin-right:3px}h1 .intro-tagline{font-size:20px}.lead{font-size:11px}}
