/* Elementer illustration, type and controls shared by the map and the family account. */
:root {
  --font-body: var(--elementer-font);
  --font-display: Georgia, "Times New Roman", serif;
  --paper: #fcf8f2;
  --surface: #fffcf8;
  --ink-plum: #372632;
  --coral: var(--elementer-coral);
  --coral-ink: #953d2c;
  --coral-button: #b94e3e;
  --sage-ink: #495a45;
  --warm-edge: #e4dcd1;
  --soft-shadow: 0 3px 12px #6543210b, 0 1px 2px #65432108;
}
body {display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;font-family:var(--font-body);background:var(--paper)}
body > .mast,body > .notices,body > footer {flex:none}
body > main {flex:1 0 auto;min-width:0}
.art-icon,.catalog-check-art {object-fit:contain;vertical-align:middle;flex:none}
button,a,input,select,textarea {touch-action:manipulation}
a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid #365d72;outline-offset:3px}
.mast {background:var(--surface);border-color:var(--warm-edge)}
.mast .add-button,.mast-logout button,.btn,.auth-card .auth-button,.small-button {border-radius:.8rem;font-family:var(--font-body);font-weight:650}
.mast .add-button {border:1px solid #df9a88;background:#fff0e9;color:#823b2c}
.mast .add-button:hover {background:#ffe4d9}
.mast .main-nav .art-icon {width:23px;height:23px}
.btn,.small-button {background:#fffdfa;border-color:#d4cabe;color:#414a41}
.btn.primary,.auth-card .auth-button.coral,.find button {
  background:linear-gradient(175deg,var(--coral) -32%,#bc5040 42%,#b34b3a 100%);border:1px solid #b85543;color:#fff;font-weight:650;
  box-shadow:inset 0 1px 0 #ffffff28,0 2px 4px #76382414;
}
.btn.primary:hover,.auth-card .auth-button.coral:hover,.find button:hover {background:#a24031;border-color:#913629}
.btn:active,.find button:active {box-shadow:inset 0 1px 3px #57281533}
.content h1,.content h2,.auth-card h1,.studio-header h1 {
  font-family:var(--font-display);font-weight:700;letter-spacing:-.032em;color:var(--ink-plum)
}
.auth-shell {--auth-ink:#392d38;--auth-border:#c3b8a8}
.auth-methods {background:#eeeae1;border-color:var(--warm-edge);border-radius:12px}
.auth-methods a,.ops-links a,.source-search input,.area-search,.area-choice {border-radius:9px}
.auth-methods a[aria-current=page] {background:var(--surface);color:var(--coral-ink)}
.edit-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select),
.source-admin .source-search input {border-radius:9px}
.ops-links a {background:var(--surface);border-color:var(--warm-edge)}
.topic-links a,.facts dt {display:inline-flex;align-items:center;gap:7px}
.topic-links a {border-color:var(--warm-edge);border-radius:18px;background:var(--surface);padding:4px 10px 4px 6px}
.topic-links .catalog-art,.facts dt .art-icon {width:24px;height:24px}
.pict:has(.place-art) {background:#f5eee0;border-radius:10px}
.pict .place-art {width:88%;height:88%}
.interest-chips label,.catalog-checks>div>label {
  display:flex;align-items:center;gap:7px;min-height:44px;max-width:100%;cursor:pointer;
  border:1px solid var(--warm-edge);border-radius:10px;background:var(--surface);padding:5px 10px;line-height:1.24
}
.interest-chips label>span {display:inline-flex;align-items:center;gap:7px}
.chosen-interests {display:flex;flex-wrap:wrap;gap:5px;max-width:100%;list-style:none;margin:6px 0;padding:0}
.chosen-interests li {display:inline-flex;align-items:center;gap:5px;background:#f5efe4;border-radius:8px;padding:3px 8px;font-size:.82rem;line-height:1.25}
.chosen-interests .art-icon {width:23px;height:23px}
.interest-chips .catalog-art,.catalog-check-art {width:30px;height:30px}
.catalog-checks {display:flex;flex-wrap:wrap;gap:7px}
.catalog-checks label:has(:checked),.interest-chips label:has(:checked) {background:#ffede3;border-color:#c77f6c;color:#743629}
.catalog-checks label:has(:focus-visible) {outline:3px solid #365d72;outline-offset:2px}
.catalog-checks input {accent-color:var(--coral-ink)}

/* The illustrated controls retain their native select in forms and without scripts. */
.art-picker {position:relative;min-width:0;max-width:100%}
.art-picker>select {position:absolute!important;inset:0;opacity:0;pointer-events:none;margin:0!important;width:100%;height:100%;min-width:0}
.art-trigger {
  display:flex;align-items:center;gap:6px;width:100%;min-width:0;min-height:39px;padding:4px 9px 4px 7px;
  background:#fffdf9;color:#393b37;border:1px solid #cfc4b5;border-radius:8px;text-align:left;font:500 .88rem/1.2 var(--font-body)
}
.art-trigger img {width:26px;height:26px;object-fit:contain;flex:none}
.art-trigger span {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.art-trigger::after {content:"";flex:none;width:6px;height:6px;transform:rotate(45deg);border:solid #5b6054;border-width:0 1.5px 1.5px 0;margin:-3px 2px 0 1px}
.art-trigger:is(:hover,[aria-expanded=true]) {border-color:#a28f77;background:#fff}
.art-trigger[aria-expanded=true]::after {transform:rotate(225deg);margin-top:4px}
.art-menu {
  position:fixed;z-index:150;overflow:auto;overscroll-behavior:contain;padding:4px;background:#fffdf9;
  border:1px solid #d7cbbd;border-radius:12px;box-shadow:0 8px 30px #38283734;
  color:#383b36;font:500 .94rem/1.28 var(--font-body);scrollbar-width:thin
}
.art-menu [role=option] {display:flex;align-items:center;gap:9px;padding:5px 8px;border-radius:7px;min-height:42px;cursor:pointer}
.art-menu img {width:30px;height:30px;object-fit:contain;flex:none}
.art-menu [aria-selected=true]::after {content:"✓";margin-left:auto;flex:none;font-weight:750;color:var(--coral-ink)}
.art-menu .is-active {background:#f5ece2;box-shadow:inset 0 0 0 1px #ddcabb}
.art-menu [aria-disabled=true] {opacity:.5;cursor:default}

/* The panel sits over the real regional panorama like a page of the family guide. */
.atlas-home .places {--gutter:clamp(16px,1.6vw,25px);background:var(--paper);border-color:#d4cec2;scrollbar-color:#c6b9a6 transparent}
.atlas-home .hero:not(.area-hero) {height:clamp(144px,19.5vh,207px)}
.atlas-home .hero>img {object-position:50% 49%;filter:sepia(.13) saturate(1.13) brightness(1.05)}
.hero-shadow {background:linear-gradient(90deg,#241c147d 0%,#3a28132b 65%,transparent),linear-gradient(0deg,#261e1280 0%,transparent 68%)}
.atlas-home .hero-title {left:calc(var(--gutter) + 5px);bottom:34px}
.hero-title>span,.hero-title #atlas-area {font:650 .95rem/1.3 var(--font-body);gap:6px}
.atlas-home .hero h1 {font:700 clamp(2.5rem,3.9vw,3.65rem)/1.03 var(--font-display);letter-spacing:-.042em;margin:4px 0 0}
.atlas-home .photo-info {top:7px;bottom:auto;right:7px;background:#241e1855;border-radius:50%;width:27px;height:27px}
.atlas-home .area-hero {background:#e8ede1;padding-bottom:32px}
.atlas-home .search-block {position:relative;margin-top:-19px;border:0;border-radius:23px 23px 0 0;padding:14px var(--gutter) 0;background:var(--paper)}
.map-modes {position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:3px;border-radius:13px;background:#efeee5;border:1px solid #e5e1d6;margin:0 0 12px}
.map-modes::before {content:"";position:absolute;z-index:-1;inset:3px auto 3px 3px;width:calc(50% - 4px);border-radius:10px;background:#fffaf5;box-shadow:0 1px 5px #6f42252b;pointer-events:none}
.map-modes:has([data-my-interests][aria-current])::before {transform:translateX(calc(100% + 2px))}
@media(prefers-reduced-motion:no-preference){.map-modes::before {transition:transform .32s cubic-bezier(.22,.75,.2,1)}}
.map-interests[hidden] {display:none}
.map-modes a {gap:7px;padding:4px clamp(10px,1.15vw,22px);min-height:37px;border-radius:10px;color:var(--sage-ink);font-size:.95rem}
.map-modes a[aria-current=page] {background:transparent;color:var(--coral-ink);box-shadow:none}
.map-modes a:hover {text-decoration:underline}
.map-modes .icon {width:26px;height:26px}
.find {padding-left:12px;border:1px solid #d9d0c3;background:#fffefa;border-radius:12px;min-height:42px;box-shadow:var(--soft-shadow)}
.find:focus-within {outline:2px solid #a76a54;outline-offset:1px}
.find input {font-size:.97rem;line-height:1.3;color:var(--ink-plum)}
.find button {border-radius:11px;padding:0 17px;font:650 .97rem var(--font-body);box-shadow:inset 0 2px 0 var(--coral),0 1px 3px #76382426}
.find>.icon {color:#5f6b59}
.quick {flex-wrap:wrap;gap:7px;margin:10px 0}
.atlas-home .quick .chip {gap:5px;min-height:37px;padding:3px 11px 3px 8px;border-color:#dcd5c8;color:#485144;background:#fffdf8;font:600 .88rem var(--font-body);box-shadow:0 1px 2px #5c412211}
.quick .chip .art-icon {width:26px;height:26px}
.atlas-home .chip:has(:checked) {background:#ffe8dd;color:#783326;border-color:#ba6a55}
.atlas-home .chip:hover {border-color:#beab97}
.atlas-home .always-filters {margin:10px 0 0;padding:12px 14px 11px;background:#fffaf4;border:1px solid var(--warm-edge);border-radius:13px;box-shadow:var(--soft-shadow)}
.always-filters legend {float:left;width:100%;display:flex;align-items:center;gap:6px;padding:0;margin:0 0 8px;color:var(--ink-plum);font:700 1.28rem/1.1 var(--font-display);letter-spacing:-.02em}
.always-filters legend .icon {width:18px;height:18px;color:var(--sage-ink)}
.always-filters .selects {clear:both;gap:7px 13px;align-items:end;margin:0}
.always-filters .filter-field {min-width:0}
.always-filters .filter-field label {display:block;margin-bottom:3px;font-size:.79rem;color:#565349;font-weight:600}
.always-filters label.timed-check {display:flex;align-items:center;gap:9px;min-height:39px;color:#4a4f43;font:500 .88rem var(--font-body)}
.timed-check input[type=checkbox] {
  appearance:none;position:relative;flex:none;width:33px;height:20px;min-width:0;min-height:0;border:1px solid #bfb7ab;border-radius:12px;
  margin:0;background:#d8d4ca;cursor:pointer;transition:background .16s
}
.timed-check input[type=checkbox]::before {content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fffdf9;box-shadow:0 1px 2px #473b2f40;transition:transform .16s}
.timed-check input:checked {background:var(--coral-button);border-color:#a94d3a}
.timed-check input:checked::before {transform:translateX(13px)}
.atlas-home .result-head {position:relative;isolation:isolate;padding:18px var(--gutter) 2px;gap:6px}
.result-head h2 {position:relative;margin:0;font:700 clamp(1.55rem,2.1vw,2.05rem)/1.13 var(--font-display);letter-spacing:-.04em;color:var(--ink-plum)}
.result-head h2 #result-count {font:650 .84rem/1.2 var(--font-body);color:var(--coral-ink);background:#fde2d7;border-radius:30px;vertical-align:.15em;margin-left:3px;padding:3px 8px}
.result-head a {background:var(--paper);border-radius:4px;z-index:1;color:var(--coral-ink)}
.atlas-home .sort-control {padding:5px var(--gutter) 8px;font-size:.85rem}
.sort-control select {background:#fffdf9;border-color:#d7cdbd;border-radius:7px;min-height:32px;padding:4px 8px}
.result-match-summary {margin:2px var(--gutter) 4px;color:#685847;font:550 .84rem/1.4 var(--font-body);font-variant-numeric:tabular-nums}
.atlas-home .result-list {display:grid;align-content:start;gap:9px;padding:2px max(10px,calc(var(--gutter) - 6px)) 24px}
.match-divider {margin:10px 0 1px;padding-top:12px;border-top:1px solid var(--warm-edge);color:#675137;font:700 1.12rem/1.25 var(--font-display)}
.match-divider:first-child {margin-top:0;padding-top:4px;border-top:0}
.filter-match-note {display:block;margin-top:3px;padding-inline-start:7px;border-inline-start:2px solid #ccab73;color:#70542f;font:500 .8rem/1.35 var(--font-body);overflow-wrap:anywhere}

/* The same listing appears in the map, saved places, venue programme and public profiles. */
.place-row,.venue-shows .place-row,.stack-rows .place-row {
  container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;align-content:start;gap:0 4px;
  padding:7px;background:var(--surface);border:1px solid var(--warm-edge);border-radius:14px;box-shadow:var(--soft-shadow);
}
.place-row.is-selected {background:#fff0e8;border-color:#cf8c72}
.place-row.is-promoted {border-inline-start:3px solid #d27660}
.place-row .row-link {padding:0;display:grid;grid-template-columns:minmax(76px,35%) minmax(0,1fr);gap:clamp(9px,1.05vw,16px);align-items:start;min-width:0}
.row-visual {position:relative;display:block;min-width:0;align-self:stretch;min-height:100px;max-height:148px;background:#f3ebdb;border-radius:9px;overflow:hidden}
.row-visual .row-photo,.row-illustration {display:grid;place-items:center;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;border-radius:0}
.row-visual .thumb-poster {background:#e9e5db}
.row-illustration {background:radial-gradient(ellipse at center,#fffaf0 0,#f1e6d1 100%)}
.row-illustration>.art-icon {width:58%;height:65%;max-width:88px;margin-top:9px}
.row-tag {
  position:absolute;top:5px;left:5px;display:inline-flex;align-items:center;gap:3px;max-width:calc(100% - 10px);margin:0;
  padding:2px 6px 2px 3px;border-radius:12px;background:#fffaf2f5;color:#43493e;box-shadow:0 1px 3px #382b182e;
  font:700 .69rem/1.24 var(--font-body)
}
.row-tag .art-icon {width:18px;height:18px}
.row-tag>span {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.place-row .row-copy {display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:4px 0}
.place-row .row-copy>strong {font:700 clamp(1.03rem,1.28vw,1.28rem)/1.12 var(--font-display);letter-spacing:-.026em;color:var(--ink-plum);overflow-wrap:anywhere}
.row-copy>.row-address {display:flex;align-items:baseline;gap:5px;color:#5c5954;font-size:.84rem;line-height:1.29}
.row-address .icon {width:13px;height:13px;align-self:flex-start;margin-top:1px;color:var(--sage-ink)}
.row-copy>.visit-facts {margin:0;row-gap:2px;column-gap:8px;color:#515649;font-size:.84rem;line-height:1.34}
.visit-facts .age-art,.visit-facts .art-icon {width:16px;height:16px;margin:0}
.visit-facts>span {align-items:flex-start;gap:4px}
.visit-facts .visit-duration .icon {width:13px;height:13px}
.row-copy>.row-price {width:fit-content;padding:2px 7px;background:#fde3d6;color:#8b3725;font-weight:720;font-size:.84rem;border-radius:7px;margin:1px 0 0}
.row-actions {padding:0;gap:3px}
.row-actions .save-icon,.row-actions .row-directions {height:32px;width:32px;border-radius:11px}
.row-actions .row-directions {background:#edefe3;border-color:#e2e5d7;color:#475c45}
.place-row>.card-programme {margin:7px 2px 0;padding:6px 7px 2px 10px}
.venue-shows,.author-entries {gap:10px}
#account-saved-list,#saved-list {display:grid;gap:9px}
.place-row>span.row-link {display:block;align-self:center;padding:5px}
.atlas-home .map-preview {border-radius:14px;background:#fffcf8;border-color:#d4c8b9}
.map-preview h2,.peek-heading h2 {font:700 1.44rem/1.13 var(--font-display);color:var(--ink-plum);letter-spacing:-.027em}
.em-map .em-place-art {position:absolute;width:82%;height:82%;object-fit:contain;pointer-events:none}
.em-map .em-pin.has-place-art {background:#fffaf0;border:2px solid var(--pin);box-shadow:0 0 0 1.5px #fffdf5,0 1px 5px #40302666}
.em-map .em-pin.has-place-art svg {visibility:hidden}
.em-map .em-pin.has-place-art[aria-current=true] {outline:3px solid #b74937;outline-offset:1px}
.em-map :is(.em-action,.em-control,.em-layer-select,.em-light-toggle) {border-radius:10px}
.em-map .em-control,.em-map .em-action,.em-map .em-layer-select,.em-map .em-light-toggle:not([aria-pressed=true]) {
  background:var(--surface);border-color:#ccbeae;color:#4a463e;box-shadow:0 2px 7px #35271a20
}
@container (max-width:355px) {
  .place-row .row-link {grid-template-columns:minmax(70px,32%) minmax(0,1fr);gap:8px}
  .place-row .row-copy>strong {font-size:1.03rem}
  .row-tag {font-size:.64rem}
  .row-actions .save-icon,.row-actions .row-directions {width:29px;height:31px}
}
@media(max-width:700px) {
  .atlas-home .places {--gutter:15px}
  .atlas-home .hero:not(.area-hero) {height:auto;min-height:0;background:var(--paper);padding:0 var(--gutter) 4px}
  .atlas-home .hero-title {position:static}
  .atlas-home .hero h1 {font-size:1.9rem;margin:0;color:var(--ink-plum)}
  .atlas-home .hero-title>span,.atlas-home .hero-title #atlas-area {font-size:.77rem}
  .atlas-home .search-block {margin:0;padding-top:9px;border-radius:0}
  .atlas-home.list-mode .hero:not(.area-hero) {height:clamp(155px,43vw,216px);padding:0}
  .atlas-home.list-mode .hero:not(.area-hero)>img,.atlas-home.list-mode .hero:not(.area-hero)>.hero-shadow {display:block}
  .atlas-home.list-mode .hero:not(.area-hero) .photo-info {display:grid}
  .atlas-home.list-mode .hero:not(.area-hero) .hero-title {position:absolute;bottom:34px;left:calc(var(--gutter) + 4px)}
  .atlas-home.list-mode .hero:not(.area-hero) h1 {color:#fff;font-size:clamp(2.38rem,9.3vw,3.5rem);margin:4px 0 0}
  .atlas-home.list-mode .hero:not(.area-hero) .hero-title span {color:#fff;font-size:.91rem}
  .atlas-home.list-mode .search-block {margin-top:-19px;border-radius:21px 21px 0 0;padding-top:14px}
  .atlas-home .result-list {padding-bottom:80px}
  .art-trigger,.art-menu [role=option] {min-height:43px}
  .art-trigger span {white-space:normal;overflow-wrap:anywhere;line-height:1.18}
  .quick {gap:5px}
  .atlas-home .quick .chip {min-height:40px}
  .row-actions .save-icon,.row-actions .row-directions {width:34px;height:38px}
}
@media(max-width:365px) {
  .atlas-home .places {--gutter:10px}
  .atlas-home .always-filters {padding:11px 8px}
  .always-filters .selects {gap:6px}
  .atlas-home .quick .chip {padding-inline:6px;gap:3px;font-size:.8rem}
  .quick .chip .art-icon {width:23px;height:23px}
  .art-trigger {padding-inline:5px;gap:4px;font-size:.80rem}
  .art-trigger img {width:22px;height:22px}
}
@media(prefers-reduced-motion:reduce) {
  .timed-check input::before,.timed-check input {transition:none}
}
