:root{--fg: #e8eef7;--dim: #7f8da3;--panel: rgba(10, 14, 22, .66);--border: rgba(255, 255, 255, .12)}*{box-sizing:border-box}html,body{margin:0;height:100%;background:#05070c;color:var(--fg);font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}#globe{display:block;width:100%;height:100%;cursor:grab}#globe:active{cursor:grabbing}#city-labels{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.cities-panel{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}#cities-status:empty{display:none}#map-sidebar button{color:var(--fg);background:transparent;border:1px solid transparent;border-radius:6px;padding:8px 12px;font:inherit;font-size:14px;cursor:pointer}#map-sidebar button[aria-pressed=true]{background:#29475f;border-color:#658ba6}#map-sidebar button:hover{background:#34536a}#map-sidebar button:focus-visible{outline:2px solid #b8dcff;outline-offset:2px}#map-status{flex-basis:100%;font-size:12px;padding:4px 0;overflow-wrap:anywhere}#map-status:empty{display:none}#country-selection{min-width:0}#country-name{display:block;margin-bottom:10px;color:#ffd784;font-size:14px;overflow-wrap:anywhere}#globe.country-locked{cursor:default}@media(max-width:650px){#help{width:calc(100% - 24px)}}#hud{position:fixed;top:16px;left:16px;padding:20px 24px;width:340px;max-width:calc(100% - 32px);display:grid;gap:8px;background:var(--panel);border:1px solid var(--border);border-radius:10px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}#hud .row{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:baseline;gap:16px}#hud .row>:last-child{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}#hud .label{color:var(--dim);text-transform:uppercase;letter-spacing:.08em;font-size:11px}#help{position:fixed;text-align:center;bottom:12px;left:50%;transform:translate(-50%);color:var(--dim);font-size:11px;pointer-events:none}#help .note{margin-top:4px;opacity:.6;font-size:10px}kbd{border:1px solid var(--border);border-radius:4px;padding:0 4px}@media(max-width:650px){#hud{top:12px;left:12px;padding:16px 18px;max-width:calc(100% - 24px)}}#location-search{min-width:0}#location-search summary{cursor:pointer;padding:4px 0}#location-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}#location-form label{min-width:0;color:var(--fg);font-size:12px}#location-form input{width:100%;margin-top:6px;padding:8px;border:1px solid var(--border);border-radius:6px;background:#121c2a;color:var(--fg);font:inherit}#location-form button{grid-column:1 / -1;border-color:var(--border)}#imagery-credit{position:fixed;bottom:68px;left:16px;max-width:min(440px,calc(100% - 32px));padding:10px 14px;background:var(--panel);border-radius:8px;font-size:11px}#imagery-credit a{color:#bdcce0}#imagery-status{display:block;margin-bottom:4px}#imagery-status:empty{display:none}#help{width:min(900px,calc(100% - 32px))}@media(max-width:650px){#imagery-credit{bottom:78px;left:12px;max-width:calc(100% - 24px)}#hud{font-size:11px;gap:4px}}#help{padding:8px 12px;border-radius:8px;background:var(--panel);color:#bdcce0}#country-selection label{display:block;margin:8px 0;font-size:14px}#subdivision-select{width:100%;min-width:0;padding:8px;background:#121c2a;color:var(--fg);border:1px solid var(--border);border-radius:6px;font:inherit;font-size:14px}#subdivision-status{font-size:12px;color:var(--dim);margin:8px 0 12px}[hidden]{display:none!important}#map-sidebar{position:fixed;z-index:10;inset:0 0 0 auto;width:min(360px,100%);overflow-y:auto;overscroll-behavior:contain;background:#0a111bf5;border-left:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding-bottom:env(safe-area-inset-bottom,16px)}#sidebar-toggle{position:fixed;z-index:11;top:max(16px,env(safe-area-inset-top));right:16px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:#abb9cc;cursor:pointer}#sidebar-toggle:hover{background:#29475f;color:var(--fg)}#sidebar-toggle[aria-expanded=true]{background:transparent;border-color:transparent}#sidebar-toggle[aria-expanded=true]:hover{background:#29475f}#sidebar-toggle[aria-expanded=true] .sidebar-open-icon,#sidebar-toggle[aria-expanded=false] .sidebar-close-icon{display:none}#sidebar-toggle:focus-visible,#map-sidebar :focus-visible{outline:2px solid #b8dcff;outline-offset:3px}.sidebar-header{position:relative;padding:24px 64px 24px 24px}.sidebar-header h1{margin:4px 0;font-size:25px;font-weight:500}.sidebar-header p,#place-description{color:#abb9cc;font-size:14px;margin:8px 0 0}.eyebrow{color:#9eb5cc;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.sidebar-section{padding:22px 24px;border-top:1px solid var(--border)}.sidebar-section h2{margin:0 0 12px;font-size:16px;font-weight:500}#place-title{font-size:23px;margin:5px 0 10px;overflow-wrap:anywhere}.place-path{display:flex;flex-wrap:wrap;gap:4px;margin:-6px -10px 20px}#map-sidebar .place-path button{color:#b8dcff;text-align:left;font-size:13px}.place-stats{margin:20px 0 0}.place-stats div{display:grid;grid-template-columns:1fr 1.25fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px}.place-stats dt{color:#9eafc5}.place-stats dd{margin:0;text-align:right;overflow-wrap:anywhere}.source-note{color:#9eafc5;font-size:12px;margin:16px 0 0}@media(max-width:760px){#map-sidebar{width:min(360px,calc(100% - 32px))}}#biome-list{list-style:none;padding:0;font-size:13px}#biome-list li{display:flex;align-items:center;gap:8px;margin:8px 0}.biome-swatch{width:14px;height:14px;flex-shrink:0;border:1px solid #ffffff55;border-radius:3px}#ecology-legend{margin-top:12px}#ecology-legend a,#marine-note a{color:#b8dcff}#imagery-credit[hidden]{display:none}.layer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#map-sidebar .layer-card{position:relative;display:grid;justify-items:start;gap:5px;min-width:0;padding:13px 12px;text-align:left;border:1px solid #263647;background:#101d2a;border-radius:10px;transition:background .15s,border-color .15s}#map-sidebar .layer-card:hover{background:#192d3d;border-color:#577484}#map-sidebar .layer-card[aria-pressed=true]{background:#183b40;border-color:#83c6bc;box-shadow:inset 0 0 0 1px #83c6bc33}#map-sidebar .layer-card[aria-pressed=true]:after{content:"✓";position:absolute;top:10px;right:11px;color:#a4e2d7;font-size:14px}.layer-card svg{width:21px;height:21px;color:#91b7c5;margin-bottom:3px}.layer-card[aria-pressed=true] svg{color:#a4e2d7}.layer-title{font-size:14px;line-height:1.3}.layer-caption{font-size:12px;line-height:1.4;color:#9eb0c1}.period-panel{margin-top:16px;padding:14px;border:1px solid #3c555b;border-radius:10px;background:#11242d}.period-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;margin-bottom:10px}#history-current,#paleo-current{color:#a4e2d7;font-variant-numeric:tabular-nums}#history-period,#paleo-period{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;border:1px solid #526d7b;border-radius:6px;padding:10px 32px 10px 12px;background:#0d1a24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23b8dcff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;color:var(--fg);font:inherit;font-size:16px}.period-navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}#map-sidebar .period-navigation button{border:1px solid #344c5b;background:#172b38}#map-sidebar button:disabled{opacity:.4;cursor:default}.period-note,.history-about{font-size:12px;color:#a8bdc9;line-height:1.6}.period-note{margin:12px 0 0}.history-about{margin-top:8px}.history-about summary{cursor:pointer}.history-about a{color:#b8dcff}@media(prefers-reduced-motion:reduce){#map-sidebar .layer-card{transition:none}}#map-sidebar #seas-style{grid-column:1 / -1;grid-template-columns:24px 1fr;align-items:center;column-gap:12px}#seas-style svg{grid-row:span 2;margin:0}.paleo-scale{margin-top:14px}.paleo-gradient{height:10px;border-radius:4px;background:linear-gradient(to right,#0a1731,#205b7d 25%,#87c6c1 48%,#77a470 49%,#bfb287 72%,#f4f1e5)}.paleo-scale>div:last-child{display:flex;justify-content:space-between;gap:8px;margin-top:5px;font-size:11px;color:#a8bdc9}#exchange-markers{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none}.exchange-marker{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:32px;height:32px;border:1px solid #a5c4dc;border-radius:50%;color:#c1def6;background:#10273bef;cursor:pointer;box-shadow:0 2px 8px #0009;font:700 13px system-ui}.exchange-marker[data-state=open]{color:#8cf0ba;border-color:#8cf0ba}.exchange-marker[data-state=break]{color:#ffd784;border-color:#ffd784}.exchange-marker[data-state=closed]{color:#bdc3cd;border-color:#bdc3cd}.exchange-marker:hover,.exchange-marker:focus-visible{outline:2px solid white;outline-offset:3px}#exchange-tooltip{position:fixed;bottom:90px;left:50%;transform:translate(-50%);max-width:min(85vw,520px);padding:10px 14px;border:1px solid var(--border);border-radius:8px;background:#101d2af5;pointer-events:none;z-index:5}#exchange-search{box-sizing:border-box;width:100%;margin-top:8px;padding:10px;background:#101d2a;color:var(--fg);border:1px solid #577484;border-radius:6px}#exchange-list{max-height:230px;overflow-y:auto;margin:10px 0}#map-sidebar .exchange-result,.exchange-result{display:block;width:100%;text-align:left;padding:10px;margin-bottom:4px;color:var(--fg);background:#172c3b;border:1px solid #314859;border-radius:6px;cursor:pointer}#exchange-dialog{width:min(520px,calc(100vw - 48px));max-height:80vh;padding:24px;border:1px solid #577484;border-radius:14px;color:var(--fg);background:#101d2a}#exchange-dialog::backdrop{background:#020813aa}#exchange-dialog h2{padding-right:70px;line-height:1.4}#exchange-dialog a{color:#a4e2d7}#exchange-dialog button{color:var(--fg);background:#213b4a;border:1px solid #577484;border-radius:6px;padding:8px 12px;cursor:pointer}#exchange-close{float:right}.exchange-status{font-weight:700;color:#c1def6}.exchange-status.open{color:#8cf0ba}.exchange-status.break{color:#ffd784}.exchange-status.closed{color:#bdc3cd}.transport-panel{margin-top:18px;padding-top:16px;border-top:1px solid rgba(160,190,210,.16)}.transport-panel h3{margin:0 0 10px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;color:#9baebc}.transport-toggle{display:flex;align-items:center;gap:9px;width:100%;padding:11px 12px;border:1px solid #33444f;border-radius:8px;background:#12202ba6;color:#d3e2eb;text-align:left;cursor:pointer}.transport-toggle[aria-pressed=true]{border-color:#46b8bd;background:#1d656e3d}.transport-dot{width:7px;height:7px;border-radius:50%;background:#61737f}.transport-toggle[aria-pressed=true] .transport-dot{background:#66e3d8;box-shadow:0 0 9px #66e3d866}.transport-badge{margin-left:auto;color:#93abb9;font-size:10px}.shipping-gradient{height:5px;border-radius:3px;background:linear-gradient(90deg,#237091,#2ac6cd,#83eada,#ffd98b);margin-top:12px}.transport-scale{display:flex;justify-content:space-between;margin-top:5px;color:#9baebc;font-size:10px}.transport-intensity{display:flex;align-items:center;gap:14px;font-size:11px;color:#b9cbd5;margin:14px 0}.transport-intensity input{flex:1;min-width:0;accent-color:#66d2ce}.freight-panel{margin-top:10px;padding-top:0;border-top:0}.freight-panel .transport-toggle[aria-pressed=true]{border-color:#d7a76a;background:#80562540}.freight-panel .transport-toggle[aria-pressed=true] .transport-dot{background:#ffda9c;box-shadow:0 0 9px #ffda9c66}#freight-controls>label,.freight-filters label{display:block;margin:12px 0 6px;font-size:11px;color:#b9cbd5}#freight-controls select{width:100%;min-width:0;padding:8px;border:1px solid #344551;border-radius:6px;background:#101c27;color:#d3e2eb;font:inherit;font-size:11px}.freight-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.freight-filters>div{min-width:0}#freight-view{margin:12px 0 0;width:100%}#freight-routes{list-style:none;padding:0;margin:12px 0;font-size:11px}#freight-routes li{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #ffffff0b}#freight-routes li span:last-child{color:#e9bf85}
