/* Travel map maker (/gifts/travel/): on top of the shared maker look (/gifts/globes/maker.css). */

.tv [hidden] { display: none !important; }
.tv .wm-seg button { padding: 6px 8px; white-space: normal; line-height: 1.25; }
.tv .wm-seg + .wm-seg { margin-top: 8px; }
.tv-scopes .wm-chip, .tv-colours .wm-chip, .tv-cchips .wm-chip { font-size: 0.76rem; padding: 5px 10px; }
.tv-country { margin-top: 10px; }
.tv-cchips { margin: 0 0 8px; }
.tv-label { margin: 12px 0 6px; font-size: 0.8rem; color: var(--muted); }
.tv .wm-check-inline { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 0.86rem; cursor: pointer; }
.tv .wm-check-inline input { accent-color: var(--gold); }

/* the map you click */
.tv-mapwrap { position: relative; margin-top: 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 1.8; background: #1b2433; box-shadow: inset 0 0 0 1px var(--rule); }
.tv-map { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.tv-map.is-drag { cursor: grabbing; }
.tv-map .tv-sea { fill: var(--tv-sea, #22344f); }
.tv-map .tv-p { fill: var(--tv-land, #ece4d2); cursor: pointer; transition: fill 0.12s; }
.tv-map .tv-p:hover { fill: color-mix(in srgb, var(--tv-land, #ece4d2) 80%, #000); }
.tv-map .tv-p.is-on { fill: var(--tv-vis, #d9a441); }
.tv-map .tv-p.is-on:hover { fill: color-mix(in srgb, var(--tv-vis, #d9a441) 82%, #000); }
.tv-map .tv-off { cursor: default; fill: color-mix(in srgb, var(--tv-land, #ece4d2) 88%, #000); }
.tv-map .tv-b { fill: none; stroke: var(--tv-line, #8a8273); stroke-width: 0.6px; vector-effect: non-scaling-stroke; pointer-events: none; }
.tv-map .tv-lake { fill: var(--tv-sea, #22344f); pointer-events: none; }
.tv-map .tv-dot { fill: var(--tv-land, #ece4d2); stroke: var(--tv-line, #8a8273); stroke-width: 0.8px; vector-effect: non-scaling-stroke; pointer-events: none; }
.tv-map .tv-dot.is-on { fill: var(--tv-vis, #d9a441); stroke: #1d1d1d; }
.tv-map .tv-hit { fill: transparent; stroke: none; cursor: pointer; pointer-events: all; }
.tv-map .tv-inset { fill: none; stroke: var(--tv-land, #ece4d2); stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0.7; pointer-events: none; }
.tv-zoom { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.tv-zoom .wm-btn { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; font-size: 16px; background: rgba(20, 23, 22, 0.82); }
.tv-tip { position: absolute; pointer-events: none; background: rgba(15, 18, 17, 0.92); color: #fff; font-size: 0.76rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; transform: translateX(-10%); z-index: 2; }

.tv-stats { margin: 10px 0 4px; font-size: 0.88rem; line-height: 1.45; color: var(--ink); }
.tv-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tv-row2 { display: grid; grid-template-columns: 0.6fr 1fr; gap: 8px; }
.tv-row2 .wm-field { margin-top: 10px; }

/* the list */
.tv-listhead { margin-top: 12px; }
.tv-filter { width: 100%; background: var(--field); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 0.86rem; }
.tv-filter:focus { outline: none; border-color: var(--accent); }
.tv-list { margin-top: 8px; max-height: 340px; overflow: auto; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule); }
.tv-group { border-bottom: 1px solid var(--rule); }
.tv-group:last-child { border-bottom: 0; }
.tv-group summary { display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; font-size: 0.86rem; list-style: none; position: sticky; top: 0; background: var(--panel); z-index: 1; }
.tv-group summary::-webkit-details-marker { display: none; }
.tv-group summary::before { content: '›'; display: inline-block; width: 10px; color: var(--muted); transition: transform 0.15s; }
.tv-group[open] summary::before { transform: rotate(90deg); }
.tv-count { color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.tv-mini-row { margin-left: auto; display: flex; gap: 4px; }
.tv-mini { background: transparent; border: 1px solid var(--rule); color: var(--ink); font: inherit; font-size: 0.72rem; border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.tv-mini:hover { border-color: var(--accent); }
.tv-items { list-style: none; margin: 0; padding: 2px 10px 8px 28px; columns: 2; column-gap: 12px; }
.tv-items li { break-inside: avoid; }
.tv-items label { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; font-size: 0.82rem; cursor: pointer; }
.tv-items input { accent-color: var(--gold); flex: none; }
.tv-items small { color: var(--muted); font-size: 0.68rem; }

.tv-swatches { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--muted); }
.tv-swatches li { display: flex; align-items: center; gap: 6px; }
.tv-swatches i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.tv-warn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tv-warn:empty { display: none; }
.tv-warn li { font-size: 0.78rem; line-height: 1.4; color: #f3d38a; background: rgba(217, 177, 74, 0.1); border-radius: 8px; padding: 7px 9px; }
.tv-inlay { margin-top: 12px; }
#tvFitBed { margin-top: 10px; }
@media (max-width: 560px) {
    .tv .wm-stagebar .wm-btn span { display: none; }
    .tv-items { columns: 1; }
}
