/* The town map (/ElkhornNE/map): an illustrated street map with a pin for every place. */
.tm-hero { background: #1E2B22; color: #F6F1E4; padding: clamp(32px, 6vw, 64px) 0 clamp(20px, 4vw, 36px); }
.tm-hero .eyebrow, .tm-hero .eyebrow a { color: #E3C26B; }
.tm-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; font-size: clamp(52px, 10vw, 108px); margin: 8px 0 0; }
.tm-hero h1 span { display: inline-block; color: #1E2B22; background: #E3C26B; padding: 0 .08em; }
.tm-hero .lede { color: #F6F1E4; max-width: 46ch; }
.tm-tools { margin: 20px 0 10px; }
.tm-tools input { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); box-sizing: border-box; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font: 700 14px var(--body, system-ui); cursor: pointer; }
.tm-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tm-chip span { font-size: 12px; font-weight: 800; opacity: .7; }
.tm-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
/* On a phone the ten chips took five rows and pushed the map below the first screen: smaller chips, three rows. */
@media (max-width: 520px) { .tm-chips { gap: 6px; } .tm-chip { min-height: 34px; padding: 4px 10px; gap: 5px; font-size: 13px; } .tm-chip span { font-size: 11px; } }
.tm-frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid #D8C9A6; box-shadow: 0 6px 24px rgba(40, 30, 10, .12); background: #FBF5EA; }
.tm-view { height: min(72vh, 640px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; cursor: grab; scrollbar-width: none; }
.tm-view::-webkit-scrollbar { display: none; }
.tm-view.is-drag { cursor: grabbing; }
.tm-view svg { display: block; height: auto; max-width: none; }
.tm-loading { padding: 40px; text-align: center; color: #7A6A55; }
.tm-zoom { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.tm-zoom button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid #D8C9A6; background: #FFFDF7; color: #3B3326; font: 800 22px/1 var(--body, system-ui); box-shadow: 0 2px 6px rgba(0,0,0,.12); cursor: pointer; }
.tm-art .tm-st { font: 700 15px var(--body, system-ui); fill: #6E5D43; paint-order: stroke; stroke: #FFFDF6; stroke-width: 4px; letter-spacing: .04em; }
.tm-art .tm-mark { font: italic 700 22px Georgia, serif; fill: #6B4A2E; text-anchor: middle; paint-order: stroke; stroke: #FBF5EA; stroke-width: 5px; }
.tm-art .tm-credit { font: 13px var(--body, system-ui); fill: #7A6A55; }
.tm-art .cart { font-family: var(--display); font-weight: 900; text-transform: uppercase; fill: #3B3326; }
.tm-art .cart-s { font: italic 600 26px Georgia, serif; fill: #6E5D43; }
.tm-pin { cursor: pointer; }
.tm-pin .hit { fill: transparent; }
.tm-pin.is-on path { stroke: #15202B; stroke-width: 3.4; }
.tm-pin.is-hidden { display: none; }
.tm-note { margin: 10px 2px 0; }
.tm-list { margin: 28px 0 40px; }
.tm-list h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 4vw, 32px); margin: 24px 0 8px; display: flex; align-items: center; gap: 10px; }
.tm-list h2 i { width: 14px; height: 14px; border-radius: 50%; }
.tm-list ul { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 28px; }
.tm-list li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--line); }
.tm-list li button { all: unset; cursor: pointer; font-weight: 700; color: var(--ink); }
.tm-list li a { font-size: 14px; margin-left: 6px; }
.tm-list li.is-hidden { display: none; }
.tm-card { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 520px; margin: 0 auto; background: var(--paper-2); color: var(--ink); border-radius: 18px; padding: 16px 18px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.tm-card h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 2px 40px 6px 0; }
.tm-kind { font: 800 12px var(--label); text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.tm-addr { margin: 0 0 12px; color: var(--ink-2); }
.tm-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-acts a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid var(--line); color: var(--ink); }
.tm-acts a.go { background: #E3B23C; border-color: #E3B23C; color: #2A2011; }
.tm-x { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; color: var(--ink); cursor: pointer; }
