.county-place { padding-block:1.1rem 4rem; }
.county-heading { max-width:78ch; padding-block:clamp(1.2rem,4vw,3.8rem) 1.2rem; }
.county-heading h1 { font:500 clamp(2.4rem,6vw,5rem)/1.13 var(--serif); overflow-wrap:anywhere; margin:.2em 0; }
.county-heading > p:last-child { color:var(--sub); font-size:1.13rem; }
.county-plates { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:1rem; }
.county-plates figure { min-width:0; margin:0; }
.county-plates img { width:100%; height:clamp(235px,36vw,440px); object-fit:contain; background:#e9e8dc; border-radius:4px; }
.county-plates .relief-plate img { object-fit:contain; background:#d7dfca; }
.county-plates figcaption,.terrain-credit,.field-citations { color:var(--sub); font-size:.8rem; }
.county-place h2 { font:500 clamp(1.6rem,3.8vw,2.75rem)/1.2 var(--serif); margin:.3rem 0 1rem; }
.county-model,.county-place #field-notes,.county-quiz,.county-links,.county-sources { margin-top:1.7rem; border-top:1px solid var(--line); padding-top:1.35rem; }
.county-place details summary { cursor:pointer; min-height:36px; }
.county-model summary { font-weight:650; color:var(--green); }
.county-model canvas { width:100%; display:block; height:clamp(240px,38vw,430px); touch-action:none; border-radius:4px; }
.county-model [hidden],.county-choices[hidden] { display:none; }
.terrain-tools,.county-choices,.county-links > div { display:flex; flex-wrap:wrap; gap:.5rem; margin-block:.7rem; }
.terrain-tools button,.county-choices button,.county-links > div a { background:transparent; border:1px solid #a7b19d; border-radius:4px; min-height:44px; padding:.55rem .85rem; color:var(--ink); text-align:start; cursor:pointer; }
.county-choices button[aria-pressed=true] { background:var(--green); color:white; }
.county-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem 2.5rem; }
.county-notes h3 { font:600 1.32rem var(--serif); margin:.55rem 0; }
.county-notes p { margin:.45rem 0; }
.county-quiz { max-width:78ch; }
.county-sources { color:var(--sub); font-size:.86rem; }
@media(max-width:650px){.county-notes{grid-template-columns:1fr}.county-plates:has(figure:nth-child(2)) img{height:auto}.county-heading>p:last-child{font-size:1rem}}
.county-inset { max-width:800px; }
.county-inset figcaption { margin-top:.55rem; }
.county-inset{margin:1.25rem 0}
.county-model{margin:0;border:0;padding:0;min-width:0}
.county-model canvas,.terrain-fallback img{width:100%;height:auto;aspect-ratio:1.55;max-height:460px}
.terrain-fallback{margin:0}.terrain-fallback img{object-fit:contain;background:#edece1}
.terrain-presets,.terrain-orbit{display:flex;gap:.35rem;flex-wrap:wrap}
.terrain-tools{justify-content:space-between}.terrain-presets button[aria-pressed=true]{background:var(--green);color:white}
.terrain-tools button,.county-place .field-guide button{min-height:44px}
.terrain-orbit button{min-width:44px;text-align:center}
.terrain-hint,.terrain-credit{margin:.45rem 0;line-height:1.5}
.terrain-frame{position:relative}.terrain-compass{position:absolute;right:.55rem;top:.55rem;display:grid;justify-items:center;padding:.25rem .45rem;background:#fffdf1e8;color:#244032;line-height:1}.terrain-compass i{font-size:1.3rem;font-style:normal;transform:rotate(var(--bearing,0rad))}.terrain-compass b{font-size:.64rem;margin-top:.15rem}
.terrain-key{margin:.3rem 0;color:var(--ink);font-size:.83rem;font-variant-numeric:tabular-nums}
.terrain-retry{margin:0 0 .65rem;min-height:44px;padding:.45rem .85rem;border:1px solid #809184;border-radius:4px;background:var(--paper);color:var(--green);font:inherit;cursor:pointer}
.county-model[data-terrain] canvas{touch-action:pan-y pinch-zoom;cursor:grab}
.county-model[data-terrain] canvas:active{cursor:grabbing}
