:root{font-family:Hiragino Sans,Noto Sans CJK JP,Meiryo,sans-serif;color:#263a32;background:#f6f4eb;font-synthesis:none;--ink: #263a32;--green: #2e5142;--muted: #56685e;--line: #dcded0;--paper: #fffefa}*,*:before,*:after{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,svg:focus-visible,.map-marker:focus-visible{outline:3px solid #945224;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0}.shell{width:min(100% - 32px,1200px);margin-inline:auto}.site-header{border-bottom:1px solid #e1e1d5;background:#faf9f2}.header-inner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:10px;align-items:center;color:var(--green);font-weight:800;text-decoration:none;line-height:1.22;letter-spacing:.05em}.brand small{display:block;font-weight:500;font-size:9px;letter-spacing:.08em;margin-top:3px}.source-link{font-size:13px;font-weight:700;text-underline-offset:4px;display:flex;align-items:center;gap:5px;min-height:44px}.intro{padding-block:34px 24px}.eyebrow,.map-kicker,.story-number,.control-caption{color:var(--green);font-size:13px;font-weight:800;letter-spacing:.07em}.eyebrow{display:flex;align-items:center;gap:8px}.eyebrow>span[aria-hidden]{width:8px;height:8px;border-radius:100%;background:#a3573b}h1,.story h2{font-family:Hiragino Mincho ProN,"Noto Serif CJK JP",Yu Mincho,serif;font-weight:800;letter-spacing:-.035em}h1{font-size:clamp(1.9rem,5.1vw,3.75rem);margin:9px 0;line-height:1.28}rt{font-family:Hiragino Sans,Noto Sans CJK JP,sans-serif;font-size:.6em;letter-spacing:0}.intro>p:last-child{color:var(--muted);font-size:clamp(.94rem,2.3vw,1.07rem);line-height:1.7}.timeline{scroll-margin-top:10px;margin-bottom:19px;padding:8px;background:#eceee3;border:1px solid #dce1d4;border-radius:16px}.timeline ol{padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);list-style:none;gap:4px}.timeline button{display:grid;justify-items:center;align-content:center;gap:2px;width:100%;height:100%;min-height:64px;border:0;border-radius:10px;background:transparent;white-space:nowrap}.timeline button:hover{background:#e0e6d8}.timeline button[aria-current]{background:var(--green);color:#fff}.timeline strong{font-size:19px;line-height:1.05;font-variant-numeric:tabular-nums}.timeline small{font-size:10px;line-height:1.5}.timeline-dot{width:6px;height:6px;border-radius:50%;background:#809282;margin-bottom:3px}.timeline [aria-current] .timeline-dot{background:#fad1a1}.lesson-grid{display:grid;gap:16px;align-items:start}.map-card,.story,.quiz,.sources{border:1px solid var(--line);border-radius:18px;background:var(--paper)}.map-card{min-width:0}.map-header{padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}.map-header h2{font-size:20px;margin-top:3px}.map-window{position:relative;background:#dcebea}.history-map{display:block;width:100%;aspect-ratio:760/430;overflow:hidden;background:#dcebea;touch-action:pan-y}.history-map.is-zoomed{cursor:grab;touch-action:none}.history-map.is-zoomed:active{cursor:grabbing}.land{fill:#edf0da;stroke:#9caf96;stroke-width:1}.graticule{fill:none;stroke:#a9c6bc;stroke-width:.6;stroke-dasharray:3 4;opacity:.8;pointer-events:none}.ocean-label{fill:#4e7777;font-size:15px;font-weight:700;letter-spacing:.2em}.route{fill:none;stroke:#544777;stroke-width:2;stroke-dasharray:7 4;animation:travel .85s ease-out backwards}@keyframes travel{0%{stroke-dashoffset:24;opacity:0}}.map-marker{cursor:pointer}.marker-hit{fill:transparent}.marker-leader{pointer-events:none;fill:#52635a;stroke:#52635a;stroke-width:1}.colonial-area{fill:#d0e2ea;stroke:#47768d;stroke-width:1}.marker-label,.marker-symbol{font-weight:800;pointer-events:none}.marker-label{font-size:16px;fill:#21362e;paint-order:stroke;stroke:#fbfbef;stroke-width:3;stroke-linejoin:round}.marker-symbol{font-size:11px;fill:#fff}.marker-shape{fill:#2c6850;stroke:#fffdf2;stroke-width:1.5}.rule .marker-shape{fill:#225e85}.rule.france .marker-shape{fill:#82641b}.rule-ring{fill:#82b4d2;fill-opacity:.35;stroke:#225e85;stroke-width:1.25}.france .rule-ring{fill:#e4cf81;stroke:#82641b}.occupation .marker-shape{fill:url(#occupation-pattern);stroke:#884434}.resources .marker-shape{fill:#845415}.selection-ring{fill:#fff;fill-opacity:.72;stroke:#302f26;stroke-width:2;stroke-dasharray:3 2}.zoom{position:absolute;right:8px;bottom:8px;display:flex;background:var(--paper);border:1px solid #aebfb2;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #263a3220}.zoom button{width:44px;height:44px;background:none;border:0;font-size:21px;line-height:1}.zoom button+button{border-left:1px solid #dce3dc}.zoom button:disabled{color:#777e75;background:#f0f1e9}.zoom button:focus-visible{outline-offset:-4px}.map-controls{padding:12px 15px 9px}.layer-buttons,.marker-list>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.pill,.segments button{border:1px solid #d7ded2;border-radius:8px;background:#f8faf4;min-height:44px;padding:5px 9px;font-size:12px;font-weight:700}.pill{display:inline-flex;align-items:center;gap:6px}.pill[aria-pressed=false]:not(:disabled){background:#fff;color:#475750}.pill[aria-pressed=false] .legend{opacity:.45}.pill:disabled{opacity:.53}.legend{width:10px;height:10px;border-radius:50%;background:#2c6850;flex:none}.rule .legend{background:#225e85;box-shadow:0 0 0 2px #cce4f3}.occupation .legend{border-radius:1px;border:1px solid #884434;background:repeating-linear-gradient(135deg,#f9ddd3 0 2px,#a34b3b 2px 3px)}.resources .legend{background:#845415}.routes .legend{width:13px;height:0;border-radius:0;border-top:2px dashed #544777;background:none}.power-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:10px;font-size:12px;font-weight:700}.segments{display:flex;gap:2px;border:1px solid #d7ded2;border-radius:10px;padding:2px;background:#f2f5ed}.segments button{border-color:transparent;background:transparent;padding-inline:8px}.segments button[aria-pressed=true]{background:var(--green);color:#fff}.map-note{font-size:11px;color:#536258;line-height:1.65;margin-top:9px}.marker-detail{padding-inline:15px}.map-prompt{display:flex;gap:8px;align-items:center;background:#eef3e9;border-radius:9px;padding:8px 10px;font-size:13px;font-weight:700}.map-prompt>span[aria-hidden]{font-size:19px;color:#3c654c}.detail-card{display:flex;align-items:start;justify-content:space-between;gap:6px;background:#eef3e9;border-radius:10px;padding:12px}.detail-card h3{margin-block:3px 6px}.detail-card p:last-child{line-height:1.75;font-size:16px}.close{border:1px solid #ced8ca;background:#fff;border-radius:8px;min-width:44px;height:44px;font-size:20px}.marker-list{margin:3px 15px 13px;font-size:13px}.marker-list summary,.sources summary{cursor:pointer;min-height:44px;padding:11px 0;font-weight:700}.story{padding:20px;background:#fdfaf1}.story-number span{color:#a25740;padding-inline:5px}.story h2{font-size:clamp(1.65rem,3vw,2.3rem);margin:10px 0 13px;line-height:1.38}.story>p:not(.story-number){font-size:16px;line-height:1.95;margin-bottom:12px}.story-summary{font-weight:800;border-left:3px solid #b76a4d;padding-left:11px}.chapter-nav{border-top:1px solid #e4dfd1;margin-top:17px;padding-top:13px;display:flex;gap:8px}.chapter-nav button,.events button,.answers button{font-weight:700;border:1px solid #ced8cb;background:#fffdf8;border-radius:9px;min-height:44px;padding:8px 11px;font-size:14px}.chapter-nav .next{margin-left:auto;background:var(--green);color:#fff;border-color:var(--green)}.events{padding:0;list-style:none;display:grid;gap:5px}.events button{width:100%;display:flex;align-items:center;gap:10px;text-align:left}.events button>span[aria-hidden]{margin-left:auto}.events strong{color:#8a4134}.quiz{display:flex;gap:12px;padding:17px;margin-top:16px;background:#eef1e6}.question-icon{flex:0 0 36px;height:36px;border-radius:10px;background:#d9e4d2;color:#315343;display:grid;place-items:center;font-size:20px;font-weight:800}.quiz h2{font-size:clamp(1.05rem,2.5vw,1.35rem);line-height:1.5;margin-top:4px}.answers{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.answers button,.events button{text-align:left}.answers button[aria-pressed=true],.events button[aria-pressed=true]{background:#dce9d8;border-color:#638473}.hint{margin-top:10px;line-height:1.7}.sources{margin-top:20px;padding:0 15px;font-size:14px}.sources>ul{padding-left:22px}.sources li{line-height:1.7}.sources>ul>li{margin-block:12px}.footer{padding-block:23px;color:var(--muted);font-size:12px}@media(min-width:580px){.timeline ol{grid-template-columns:repeat(7,1fr)}.timeline small{font-size:11px}.map-header,.map-controls{padding-inline:18px}}@media(min-width:850px){.shell{width:min(100% - 64px,1200px)}.intro{padding-top:43px;padding-bottom:30px}.lesson-grid{grid-template-columns:minmax(0,1.85fr) minmax(285px,1fr);gap:20px}.story{padding:25px}.timeline{margin-bottom:22px}.timeline button{min-height:72px}.timeline strong{font-size:23px}.quiz{padding:21px}}@media(max-width:580px){.history-map .marker-label{font-size:20px}.zoom{position:static;margin-left:auto;width:max-content}.map-window{display:grid}.zoom button:disabled{background:#f0f1e9}}@media(max-width:420px){.map-header h2{font-size:17px}.segments button,.pill{font-size:11px}}@media(prefers-reduced-motion:reduce){.route{animation:none}}h1 rt{font-size:.38em}.timeline small rt,.pill rt,.segments rt{font-size:max(.62em,8px)}.story>p:not(.story-number),.detail-card p:last-child,.hint{line-height:2.05}.events button{display:grid;grid-template-columns:max-content 1fr auto}.map-guide{background:#fcf1d8;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;border-block:1px solid #ead5a7}.guide-copy{font-size:14px;line-height:1.65}.guide-copy strong{font-size:16px}.guide-actions{display:flex;flex-wrap:wrap;gap:7px}.guide-actions button{min-height:44px;padding:6px 12px;border-radius:9px;font-size:13px;font-weight:700}.guide-open{background:#794521;color:#fff;border:1px solid #794521}.guide-skip{border:1px solid #cbb383;background:#fffbf0}.map-marker.is-subdued{opacity:.48}.guide-ring{fill:#ffdf8f;fill-opacity:.8;stroke:#945323;stroke-width:3;pointer-events:none}.history-map .is-guided .marker-label{font-size:24px}.marker-detail:not(:empty){padding-top:9px}
