.earth-story{display:grid;gap:.7rem;min-width:0;color:#faeacb}
.earth-story :is(h2,h3,p){margin:.27rem 0}
.earth-head{display:flex;justify-content:flex-start;align-items:center;gap:.72rem;border:1px solid #bca16a;border-radius:12px;padding:clamp(.7rem,2vw,1.4rem);background:radial-gradient(ellipse at top right,#495c48,#253a2f 74%)}
.earth-emblem{display:flex;align-items:center;padding:.28rem;gap:.14rem;flex:none;border:1px solid #ad955c;border-radius:9px;color:#f3d595}
.earth-emblem svg{width:clamp(23px,5vw,40px);height:clamp(23px,5vw,40px)}
.earth-head h2{color:#ffedc1;font:750 clamp(1.75rem,5vw,3.5rem)/.97 Georgia,serif}
.earth-kicker,.earth-tag{font:750 .69rem/1.25 system-ui;letter-spacing:.10em;text-transform:uppercase;color:#edcf8e}
.earth-tag{letter-spacing:.05em;text-align:right}
.earth-mapblock,.earth-card{background:#223b30;border:1px solid #a88c58;border-radius:11px;padding:.58rem;min-width:0}
.earth-controls,.earth-toggle,.earth-actions,.earth-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.earth-controls{justify-content:space-between;margin-bottom:.37rem;gap:.28rem}
.earth-story button,.earth-story a{min-height:44px}
#detail .earth-story button{margin:0;padding:.35rem .54rem;font-weight:650}
.earth-story button svg,.earth-launch svg{width:19px;height:19px;flex:none}
.earth-controls button,.earth-story .earth-chip,.earth-park-button{display:inline-flex;align-items:center;gap:.25rem}
.earth-controls button[aria-pressed=true],.earth-story button.earth-primary{background:#efd191;color:#263529;border-color:#f8dda3;font-weight:800}
.earth-story button:disabled{opacity:.57;cursor:not-allowed}
.earth-story button:focus-visible,.earth-pin:focus-visible,.earth-launch:focus-visible{outline:2px solid #fff0b3;outline-offset:2px}
.earth-map{height:clamp(355px,53svh,580px);background:#dfcda4;border:2px solid #987746;border-radius:7px;overflow:hidden}
.earth-map .leaflet-control-zoom a{min-height:0;color:#382820;background:#f6e6bf}
.earth-map .earth-pin{display:grid!important;place-items:center;border:0;background:none}
.earth-pin span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#322316;background:#f1d395;border:2px solid #563a25;font:800 .9rem/1 system-ui;box-shadow:0 2px 3px #3b292391}
.earth-pin.earth-selected span{color:#fff0c0;background:#532e24;border-color:#f5dfaa;outline:2px solid #5c3b2a;outline-offset:1px}
.earth-overlay .earth-active-shape{stroke:#2f251b;stroke-width:1.7;stroke-opacity:.96}
.earth-story .earth-readout{min-height:2.6rem;font:680 .88rem/1.25 system-ui;color:#ffeabb;padding:.30rem 0 .05rem}
.earth-chips{gap:.27rem}
#detail .earth-chip{font:650 .76rem/1.17 system-ui;margin:0;padding:.28rem .42rem}
.earth-swatch{width:.83rem;height:.83rem;border:1px solid #f5dfad;border-radius:3px;flex:none}
.earth-story .earth-muted{color:#ecdbc0;font:.78rem/1.42 system-ui}
.earth-card{padding:.74rem;background:#284236}
.earth-card-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem}
.earth-card h3{font:750 clamp(1.38rem,4vw,2.2rem)/1.1 Georgia,serif;color:#ffedbf}
.earth-park{font:750 .84rem/1.3 system-ui;color:#e6cf9e}
.earth-lens{font-size:1.03rem}
.earth-clue{display:flex;align-items:flex-start;gap:.40rem;padding:.45rem;border:1px solid #84714c;border-radius:7px;background:#21382e;color:#ffe8b2}
.earth-clue svg{width:21px;height:21px;flex:none;color:#e6c176}
.earth-actions{margin-top:.55rem}
.earth-jump,.earth-sources{background:#20392d;border:1px solid #9c8255;border-radius:8px;padding:0 .65rem}
.earth-jump summary,.earth-sources summary{min-height:44px;padding:.68rem .14rem;color:#f4dfae;cursor:pointer}
.earth-jump-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;padding:0}
.earth-jump-button{width:100%;text-align:left}
.earth-jump-button[aria-current=step]{border-color:#f7d693;color:#ffe6a8}
.earth-source-links{display:flex;flex-direction:column;align-items:start;padding-bottom:.4rem}
.earth-source-links a{display:inline-flex;align-items:center;color:#f6dfa5;text-underline-offset:.15rem}
#treasure-map .earth-launch{width:100%;min-height:48px;margin:.44rem 0;padding:.35rem .60rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;text-align:left;background:#2a4338;border:1px solid #b69d68;border-radius:9px;color:#f5e2b2;font-weight:750}
.earth-launch small{margin-left:auto;font:570 .74rem/1.2 system-ui;color:#e5d3a5}
@media(max-width:690px){.earth-map{height:clamp(248px,46svh,335px)}.earth-controls{font-size:.83rem}.earth-toggle{gap:.20rem}}
@media(max-width:345px){.earth-jump-list{grid-template-columns:minmax(0,1fr)}.earth-emblem svg{width:20px}}
