/* Touren & Umgebung (umgebung.html and its /en/ /es/ /fr/ copies).
   Built on css/home.css: same palette, type, nav and footer. This file holds only what the map
   workspace adds. Dark mode follows home.css (system dark unless the visitor chose light, or an
   explicit [data-theme="dark"]). */

:root {
  --xsea: #d4e6e9;          /* the sea on the schematic map */
  --xland: #f3eadb;         /* the island */
  --xcoast: #b9a98f;
  --xtool-h: 112px;         /* measured by umgebung.js */
  --xpin-beach: #0f4a5a;
  --xpin-hike: #b4532a;
  --xpin-bike: #8f3b1c;
  --xpin-daytrip: #5f6b3a;
  --xpin-family: #7a5a8c;
  --xpin-food: #a8681f;
  --xpin-practical: #53626b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --xsea: #0c2229; --xland: #232d32; --xcoast: #46555c;
    --xpin-beach: #2f8ea6; --xpin-hike: #d9743f; --xpin-bike: #e08a5a; --xpin-daytrip: #8d9a5b;
    --xpin-family: #a883bb; --xpin-food: #d79a4a; --xpin-practical: #8497a1;
  }
}
:root[data-theme="dark"] {
  --xsea: #0c2229; --xland: #232d32; --xcoast: #46555c;
  --xpin-beach: #2f8ea6; --xpin-hike: #d9743f; --xpin-bike: #e08a5a; --xpin-daytrip: #8d9a5b;
  --xpin-family: #a883bb; --xpin-food: #d79a4a; --xpin-practical: #8497a1;
}

/* ---------- page head ---------- */
.xhead { padding: clamp(36px, 6vw, 72px) 0 clamp(22px, 3.5vw, 40px); background-color: var(--sand); position: relative; isolation: isolate; }
.xhead::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--tex-mares), var(--tex-grain); opacity: calc(.9 * var(--texture-strength)); mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xhead::before { mix-blend-mode: screen; } }
:root[data-theme="dark"] .xhead::before { mix-blend-mode: screen; }
.xhead h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); margin-bottom: .3em; }
.xlead { text-wrap: pretty; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 66ch; margin: 0; }

/* ---------- toolbar ---------- */
.xapp { background: var(--paper); border-top: 1px solid var(--line); }
.xtoolbar { position: sticky; top: 70px; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.xtoolbar-inner { width: min(1480px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 12px 18px; padding: 10px 0 6px; }
.xtoolbar-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-ink); white-space: nowrap; }
.xchips { display: flex; flex-wrap: wrap; gap: 6px 6px; flex: 1; min-width: 0; padding: 4px 2px; }
.xchip { flex: none; display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.xbtn-share { min-width: 9rem; justify-content: center; }
.xcard-caution { display: flex; align-items: baseline; gap: .5em; margin-top: 3px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--sun-ink); }
.xcard-caution::before { content: "!"; flex: none; align-self: flex-start; width: 1.25em; height: 1.25em; margin-top: .05em; display: inline-grid; place-items: center; border-radius: 50%; background: var(--sun-ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.xchip .ico { width: 1.15em; height: 1.15em; color: var(--sea-ink); }
.xchip:hover { border-color: var(--sea-ink); }
.xchip[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.xchip[aria-pressed="true"] .ico { color: #fff; }
.xchip-n { font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: .8; }
.xchip-n:empty { display: none; }
.xchip.is-empty { opacity: .5; }
.xcount-line { width: min(1480px, 100% - 32px); margin: 0 auto; padding: 0 0 8px; font-size: 13.5px; color: var(--ink-soft); min-height: 1.6em; }
.xviewbar { display: none; }
.xview { display: inline-flex; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.xview-btn { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0; cursor: pointer; }
.xview-btn[aria-pressed="true"] { background: var(--sea); color: #fff; }
html:not(.js) .xtoolbar, html:not(.js) .xmapcol { display: none; }

/* ---------- the workspace ---------- */
.xbody { width: min(1480px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(380px, 470px) minmax(0, 1fr); gap: 0 24px; height: calc(100svh - 70px - var(--xtool-h)); min-height: 560px; }
html:not(.js) .xbody { display: block; height: auto; }
.xlist { position: relative; overflow-y: auto; padding: 18px 10px 48px 2px; overscroll-behavior: contain; scrollbar-width: thin; }
html:not(.js) .xlist { overflow: visible; padding: 24px 0; }
.xmapcol { position: relative; z-index: 1; isolation: isolate; padding: 18px 0 24px; min-height: 0; }
.xmap { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--xsea); box-shadow: var(--shadow-sm); }
.xmap-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--ink-soft); z-index: 5; pointer-events: none; }
.xmap.is-ready .xmap-status { display: none; }
.xmap.is-failed .xmap-status { pointer-events: auto; color: var(--ink); }

/* ---------- groups and cards ---------- */
.xgroup { margin: 0 0 34px; }
.xgroup[hidden] { display: none; }
.xgroup-head h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin: 0 0 .1em; }
.xgroup-head p { margin: 0 0 14px; font-size: .96rem; color: var(--ink-soft); }
.xcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xcard[hidden], .xcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 12px; }
.xcard:hover { border-color: color-mix(in srgb, var(--sea-ink) 45%, var(--line)); }
.xcard.is-selected { border-color: var(--sea-ink); box-shadow: 0 0 0 1px var(--sea-ink), var(--shadow-sm); }
.xcard-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 12px 14px; font: inherit; color: inherit; text-align: left; background: none; border: 0; border-radius: 14px; cursor: pointer; }
.xcard-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--sea-ink); background: color-mix(in srgb, var(--sea) 11%, var(--card)); }
.xcard-ico .ico { width: 25px; height: 25px; stroke-width: 1.5; }
.xcard-tour .xcard-ico { color: var(--sun-ink); background: color-mix(in srgb, var(--sun) 11%, var(--card)); }
.xsil { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.xcard-titles { min-width: 0; flex: 1; }
.xcard-title { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.22; letter-spacing: -.005em; }
.xcard-meta { display: block; margin-top: 3px; font-size: .88rem; color: var(--ink-soft); }
.xcard-chev { flex: none; width: 1.3em; height: 1.3em; color: var(--ink-soft); transition: transform .25s; }
.xcard-head[aria-expanded="true"] .xcard-chev { transform: rotate(180deg); }
.xcard-body { padding: 2px 16px 18px 72px; font-size: .97rem; }
.xcard-body p { margin: 0 0 .8em; }
.js .xcard:not(.is-open) .xcard-body { display: none; }
.xtags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 .9em; padding: 0; }
.xtags li { font-size: 12.5px; padding: .22em .75em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.xbadge { display: inline-block; font-size: 12.5px; font-weight: 600; padding: .22em .75em; border-radius: 999px; background: color-mix(in srgb, var(--sea) 12%, var(--card)); color: var(--sea-ink); margin: 0 4px 4px 0; }
.xbadge-hike, .xbadge-bike { background: color-mix(in srgb, var(--sun) 13%, var(--card)); color: var(--sun-ink); }
.xbadge-level-2 { background: color-mix(in srgb, #8a2a1a 14%, var(--card)); color: #8a2a1a; }
:root[data-theme="dark"] .xbadge-level-2 { color: #ffb59c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xbadge-level-2 { color: #ffb59c; } }
.xfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; margin: 0 0 1em; padding: .8em 0; border-block: 1px solid var(--line); }
.xfacts div { min-width: 0; }
.xfacts > div:last-child { grid-column: 1 / -1; }   /* the start line is the longest: it gets the full width */
.xfacts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.xfacts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.xlabel { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.xprofile-wrap { margin-bottom: 1em; }
.xprofile { display: block; width: 100%; height: 64px; }
.xprofile-line { fill: none; stroke: var(--sun); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.xprofile-base { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.xphotos { margin-bottom: 1em; }
.xphotos ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0 0 6px; overflow-x: auto; scrollbar-width: thin; }
.xphotos li { flex: none; }
.xphotos a { display: block; border-radius: 10px; overflow: hidden; }
.xphotos img { height: 120px; width: auto; max-width: none; object-fit: cover; transition: transform .4s; }
.xphotos a:hover img { transform: scale(1.04); }
.xactions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 .6em; }
.xbtn { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 18px; font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; color: #fff; background: var(--sea); border: 1.5px solid var(--sea); border-radius: 999px; cursor: pointer; transition: background .2s, transform .2s; }
.xbtn:hover { background: var(--sea-deep); transform: translateY(-1px); }
.xbtn .ico { width: 1.15em; height: 1.15em; }
.xbtn-quiet { color: var(--sea-ink); background: transparent; border-color: var(--line); }
.xbtn-quiet:hover { background: color-mix(in srgb, var(--sea) 8%, var(--card)); border-color: var(--sea-ink); }
.xbtn-map { display: none; }
.xnote { font-size: .85rem; color: var(--ink-soft); }
.btn-quiet { color: var(--sea-ink); background: transparent; border-color: var(--line); }
.btn-quiet:hover { border-color: var(--sea-ink); }

.xmore { display: block; width: 100%; margin-top: 10px; min-height: 48px; font: inherit; font-weight: 600; color: var(--sea-ink); background: transparent; border: 1.5px dashed var(--line); border-radius: 14px; cursor: pointer; }
.xmore:hover { border-color: var(--sea-ink); }
.xmore[hidden] { display: none; }
.xempty { padding: 28px 0; color: var(--ink-soft); }
.xgm { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--sea) 5%, var(--card)); }
.xgm p { margin: 0 0 .7em; font-size: .88rem; color: var(--ink-soft); }
.xgm iframe { display: block; width: 100%; height: 260px; border: 0; border-radius: 8px; margin-bottom: 8px; }
.xgm-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- map furniture ---------- */
.xmap .leaflet-container, .xmap.leaflet-container { background: var(--xsea); font-family: var(--sans); }
.xland { fill: var(--xland); fill-opacity: 1; stroke: var(--xcoast); stroke-width: 1.2; }
.xmap-tools { position: absolute; top: 30px; right: 12px; z-index: 600; display: grid; gap: 8px; justify-items: end; }
.xmap-tools[hidden] { display: none; }
.xmap-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer; }
.xmap-btn:hover { border-color: var(--sea-ink); }
.xmap-btn[aria-pressed="true"] { background: var(--sea); color: #fff; border-color: var(--sea); }
.xmap-btn .ico { width: 1.15em; height: 1.15em; }
.xconsent { position: absolute; left: 12px; right: 12px; bottom: 36px; z-index: 700; max-width: 440px; margin-inline: auto; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.xconsent[hidden] { display: none; }
.xconsent p { margin: 0 0 .9em; font-size: .92rem; }
.xconsent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.xconsent .btn { padding: .7em 1.3em; font-size: 14.5px; min-height: 44px; }
.xmapcol .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; color: var(--ink); background: var(--card); }
.xmapcol .leaflet-bar { border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 12px; overflow: hidden; }
.xmapcol .leaflet-bar a { border-bottom-color: var(--line); }
.xmapcol .leaflet-control-attribution { font-size: 11px; background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink-soft); }
.xmapcol .leaflet-control-attribution a { color: var(--sea-ink); }
.xmap .leaflet-container:focus-visible, .xmap:focus-visible { outline: 3px solid #f0a57f; outline-offset: -3px; }

.xpin { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--xpin, var(--xpin-beach)); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.xpin .ico { width: 17px; height: 17px; stroke-width: 1.9; }
.xpin-beach { --xpin: var(--xpin-beach); } .xpin-hike { --xpin: var(--xpin-hike); } .xpin-bike { --xpin: var(--xpin-bike); }
.xpin-daytrip { --xpin: var(--xpin-daytrip); } .xpin-family { --xpin: var(--xpin-family); } .xpin-food { --xpin: var(--xpin-food); } .xpin-practical { --xpin: var(--xpin-practical); }
.xpin.is-selected { transform: scale(1.35); box-shadow: 0 0 0 4px color-mix(in srgb, var(--xpin) 35%, transparent), 0 4px 14px rgba(0, 0, 0, .45); }
.xpin-tour { width: 22px; height: 22px; }
.xpin-tour .ico { width: 12px; height: 12px; }
.xpin-tour.is-selected { transform: scale(1.5); }
.xvilla { display: flex; align-items: center; gap: 8px; width: max-content; transform: translate(-16px, -16px); }
.xvilla-dot { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--sun); border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
.xvilla-dot .ico { width: 18px; height: 18px; stroke-width: 1.9; }
.xvilla-label { padding: .15em .65em; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.xline { fill: none; stroke: var(--xpin-hike); stroke-width: 3.2; stroke-opacity: .72; stroke-linecap: round; stroke-linejoin: round; transition: stroke-opacity .2s, stroke-width .2s; cursor: pointer; }
.xline-bike { stroke: var(--xpin-bike); stroke-dasharray: 1 7; stroke-width: 4; }
.xline.is-selected { stroke-opacity: 1; stroke-width: 6; stroke-dasharray: none; }
.xline-case { fill: none; stroke: #fff; stroke-width: 9; stroke-opacity: .85; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.xline-gap { fill: none; stroke: var(--ink-soft); stroke-width: 2px; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .75; }
.xpeek { position: absolute; left: 12px; right: 12px; bottom: 36px; z-index: 650; display: flex; align-items: stretch; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.xpeek[hidden] { display: none; }
.xpeek-main { flex: 1; min-width: 0; padding: 8px 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.xpeek-title { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.xpeek-meta { display: block; margin-top: 2px; font-size: .88rem; color: var(--ink-soft); }
.xpeek-go { display: flex; align-items: center; gap: 2px; margin-top: 4px; font-size: .85rem; font-weight: 600; color: var(--sea-ink); }
.xpeek-go .ico { width: 1em; height: 1em; transform: rotate(-90deg); }
/* how many of the entries on show have a point on the map */
.xmapnote { position: absolute; left: 10px; right: 10px; bottom: 30px; z-index: 640; margin: 0; width: fit-content; max-width: calc(100% - 20px); padding: 6px 12px; border-radius: 10px; font-size: 13px; line-height: 1.35; color: var(--ink); background: color-mix(in srgb, var(--card) 94%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm); pointer-events: none; }
.xmapnote[hidden] { display: none; }
.xmapcol:has(.xpeek:not([hidden])) .xmapnote { display: none; }
.xpeek-close { flex: none; width: 48px; display: grid; place-items: center; color: var(--ink-soft); background: none; border: 0; cursor: pointer; }
.xpeek-close .ico { width: 20px; height: 20px; }

/* ---------- closing band ---------- */
.xclosing { padding: clamp(40px, 6vw, 72px) 0; background: var(--sand); border-top: 1px solid var(--line); }
.xclosing-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.xclosing h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.xclosing p { margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* up to 1560 px the label gives its room to the chips, so all nine stay in view on one row at 1280 px */
@media (min-width: 900px) and (max-width: 1559px) {
  .xtoolbar-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- phones and tablets: one pane at a time ---------- */
@media (max-width: 899px) {
  .xtoolbar-label, .xcount-line { display: none; }
  .xtoolbar-inner { padding: 8px 0; }
  .xbody { display: block; height: auto; min-height: 0; }
  .xlist { overflow: visible; padding: 18px 0 96px; }
  .xmapcol { height: calc(100svh - 70px - var(--xtool-h)); min-height: 420px; padding: 10px 0 12px; }
  .xapp[data-view="list"] .xmapcol { display: none; }
  .xapp[data-view="map"] .xlist { display: none; }
  .xcard-body { padding: 2px 14px 16px 14px; }
  .xbtn-map { display: inline-flex; }
  /* two parts: the list/map switch sticks under the menu, the chips are an ordinary row that wraps (all of them
     visible, none hidden off to the side) and scrolls away with the page */
  .xviewbar { display: block; position: sticky; top: 70px; z-index: 31; padding: 8px 16px; background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
  .xview { display: flex; width: 100%; max-width: 420px; margin-inline: auto; }
  .xview-btn { flex: 1; justify-content: center; }
  .xtoolbar { position: static; backdrop-filter: none; background: var(--paper); }
  .xtoolbar-inner { padding: 10px 0 12px; }
  .xchips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; }
  .xcard { scroll-margin-top: calc(70px + var(--xview-h, 60px) + 12px); }
  /* over the map the chips go back to one row, so the map keeps the room */
  .xapp[data-view="map"] .xchips { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .xapp[data-view="map"] .xtoolbar-inner { padding: 6px 0; }
  .xmap-tools { top: 10px; right: 10px; }
  .xmap-tools .xmap-btn { font-size: 13px; padding: 0 12px; }
  #xmap-home span { display: none; }
  #xmap-home { padding: 0; width: 44px; justify-content: center; }
  .xpeek, .xconsent { bottom: 28px; }
  .xmapcol { padding-bottom: 12px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .xbody { grid-template-columns: minmax(340px, 400px) minmax(0, 1fr); gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .xcard, .xpin, .xline, .xbtn, .xchip, .xcard-chev, .xphotos img { transition: none; }
}

/* ---------- later additions ---------- */
.xreading { margin: 0 0 14px; font-size: .9rem; color: var(--ink-soft); }
.xreading summary { cursor: pointer; min-height: 32px; padding: 4px 0; font-weight: 600; color: var(--sea-ink); }
.xreading p { margin: .4em 0 0; max-width: 62ch; }
.xprofile-axis { display: flex; justify-content: space-between; margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.xcluster { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 700 15px/1 var(--sans); color: #fff; background: var(--sea); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); cursor: pointer; transition: transform .2s; }
.xcluster:hover { transform: scale(1.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xcluster { background: #2f8ea6; } }
:root[data-theme="dark"] .xcluster { background: #2f8ea6; }
.xtown { display: block; width: max-content; transform: translate(-50%, 9px); font: 600 12px/1 var(--sans); letter-spacing: .02em; color: color-mix(in srgb, var(--ink) 72%, var(--xland)); text-shadow: 0 0 3px var(--xland), 0 0 3px var(--xland), 0 0 5px var(--xland); pointer-events: none; white-space: nowrap; }
.xtown-range { font-style: italic; letter-spacing: .18em; text-transform: uppercase; font-size: 11px; opacity: .8; }

/* tablets held upright: the list has room for two columns */
@media (min-width: 640px) and (max-width: 899px) {
  .xcards { grid-template-columns: 1fr 1fr; align-items: start; }
  }

.xprofile-box { position: relative; padding-left: 46px; }
.xprofile-y { position: absolute; left: 0; width: 42px; font-size: 11.5px; line-height: 1; color: var(--ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.xprofile-ymax { top: 2px; }
.xprofile-ymin { bottom: 2px; }
.xprofile-axis { padding-left: 46px; }
