.state-atlas { padding-top: clamp(2.25rem, 5vw, 4.5rem); padding-bottom: 4rem; }
.atlas-heading { margin-bottom: 2rem; }
.atlas-heading h1 { font: normal clamp(2.75rem, 6.5vw, 6rem)/1.02 Georgia, serif; letter-spacing: -.055em; }
.atlas-heading em { color: #f4c167; white-space: nowrap; }
.atlas-heading p { margin-top: .85rem; color: #e3ccb0; font-size: 1.05rem; }
.atlas-layout { display: grid; align-items: start; gap: clamp(1.2rem, 3vw, 3rem); }
.atlas-sheet { margin: 0; overflow: hidden; background: #f3ecda; color: #332d21; border-radius: .5rem; }
.atlas-key, .atlas-index header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.atlas-key { padding: 1rem clamp(.75rem, 2vw, 1.75rem); border-bottom: 1px solid #c8beaa; font: 1.25rem Georgia, serif; }
.atlas-legend { display: inline-flex; align-items: center; gap: .35rem; font: .8rem/1.4 system-ui, sans-serif; }
.atlas-legend i { width: .8rem; height: .8rem; background: #bb611f; border: 1px solid #874717; border-radius: 2px; }
.atlas-legend i:nth-of-type(2) { background: #c1c4ac; border-color: #8e9279; margin-left: .45rem; }
.atlas-surface { position: relative; margin: .5rem; background-image: linear-gradient(#b8af9630 1px, transparent 1px), linear-gradient(90deg,#b8af9630 1px,transparent 1px); background-size: 2rem 2rem; }
#state-map { display: block; width: 100%; aspect-ratio: 1040 / 630; height: auto; touch-action: manipulation; }
.atlas-tip { position: absolute; pointer-events: none; color: #fff8ea; background: #34291e; padding: .42rem .65rem; border-radius: .3rem; font: .85rem/1.4 system-ui,sans-serif; box-shadow: 0 3px 10px #392c1d30; max-width: 96%; }
.atlas-index header { border-bottom: 1px solid #967140; padding-bottom: .8rem; }
.atlas-index h2 { font: normal 1.8rem Georgia, serif; }
.atlas-index header > span { color: #edc984; font-size: .8rem; font-variant-numeric: tabular-nums; }
.atlas-index li { border-bottom: 1px solid #89643f80; }
.atlas-index a { display: flex; align-items: center; gap: .85rem; padding: .6rem .2rem; min-height: 48px; }
.atlas-index img { width: 2.85rem; height: 2.85rem; border-radius: .3rem; object-fit: cover; }
.atlas-index strong, .atlas-index small { display: block; }
.atlas-index strong { font: 1.15rem Georgia, serif; }
.atlas-index small { color: #e3ccb0; font-size: .8rem; }
.atlas-arrow { margin-left: auto; color: #edc984; }
.atlas-index a:hover strong, .atlas-index a:focus-visible strong { text-decoration: underline; }
.atlas-index a:focus-visible { outline: 2px solid #f3ba58; outline-offset: 2px; }
@media (min-width: 900px) {
    .atlas-layout:has(.atlas-sheet:not([hidden])) { grid-template-columns: minmax(0, 2.55fr) minmax(14rem, 1fr); }
}
@media (max-width: 440px) {
    .atlas-key { flex-wrap: wrap; font-size: 1.05rem; }
    .atlas-legend { font-size: .73rem; }
    .atlas-surface { margin: .25rem; }
}
