/* The winter atlas: ink at blue hour, brass for actions, oxblood for the journal. */
.adventure {
 --night: #10202c;
 --night-light: #203748;
 --night-deep: #0b1721;
 --brass: #efc982;
 --brass-line: #a48758;
 --starlight: #fff0d6;
 --frost: #c5d5dd;
 --wine: #602c34;
 --shadow: 0 10px 28px #060e1780;
 color: var(--starlight);
 background: radial-gradient(ellipse at 50% 46rem, #253c4c 0, var(--night) 65rem, var(--night-deep) 100%);
}
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.ornament { width: 1.3rem; height: 1.3rem; flex: none; vertical-align: middle; }
.adventure .skip-link { color: var(--night); z-index: 10; }
.adventure :focus-visible { outline: 3px solid #df9850; outline-offset: 3px; }

.adventure .hero {
 position: relative; isolation: isolate; border: 0; background: var(--night); color: var(--starlight);
}
.hero-landscape, .hero-landscape img, .adventure .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-landscape img { object-fit: cover; object-position: center 54%; }
.adventure .hero::after {
 content: ""; pointer-events: none;
 background: linear-gradient(0deg, #192c3a 0%, #192c3a00 26%),
 linear-gradient(90deg, #0b1824ed, #0b1824c4 26%, #0b18244d 49%, transparent 72%);
}
.adventure .hero-inner { position: relative; z-index: 1; min-height: clamp(460px, 43vw, 650px); }
.adventure .hero-copy { padding: 4.2rem 0 4.7rem; width: min(100%, 32rem); }
.adventure .hero h1 { margin: .14em 0 .23em; font-size: clamp(4.3rem, 8.1vw, 8.15rem); line-height: .87; letter-spacing: -.061em; text-wrap: balance; }
.adventure .hero h1 em { color: var(--brass); }
.adventure .hero .eyebrow { color: var(--brass); letter-spacing: .17em; }
.adventure .hero .eyebrow span { margin: 0 .25rem; }
.adventure .hero .lede { color: #fff3de; max-width: 25rem; margin: 0 0 1.35rem; }
.adventure .hero-links .button { min-height: 48px; padding-inline: .95rem; gap: .45rem; }
.adventure .hero .cream { background: #f1ca83; border-color: #ffe4ae; color: #291d19; box-shadow: inset 0 1px #fff5c9, 0 4px 20px #19120966; }
.hero-secondary { border-color: #d1ad735f; background: #122532de; color: var(--starlight); }
.hero-secondary .ornament { color: var(--brass); }

.adventure .journey { padding-bottom: 2rem; }
.adventure #markeder { padding-top: 1.15rem; padding-bottom: 1.9rem; }
.chapter { gap: 1rem; }
.chapter-title { display: flex; align-items: center; gap: .8rem; }
.chapter-emblem {
 display: grid; place-items: center; flex: none; width: 3.3rem; height: 3.3rem;
 border: 1px solid #bc9b65; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #45534e, #1c2b37 75%);
 color: var(--brass); box-shadow: inset 0 0 0 3px #192933, inset 0 0 0 4px #bda47d40;
}
.chapter-emblem .ornament { width: 1.9rem; height: 1.9rem; }
.adventure .chapter .eyebrow { color: var(--brass); margin: 0 0 .16rem; }
.adventure .chapter .eyebrow::before { content: none; }
.adventure .chapter h2 { color: var(--starlight); }
.adventure .guide-heading-tools .suggest-trigger { background: #172a39; border-color: #7f8c8d; color: var(--starlight); }
.adventure .count { background: #253b49; color: var(--frost); border: 1px solid #7a98a258; }

.adventure .guide-search {
 background: linear-gradient(120deg, #243b4a, #182b39);
 border-color: #93a9b078; box-shadow: var(--shadow);
}
.adventure .guide-search :is(input,select) { background: #101f2c; color: var(--starlight); border-color: #829ca7; min-height: 44px; color-scheme: dark; }
.adventure .guide-search input::placeholder { color: #b5c7ce; opacity: 1; }
.adventure .guide-options > summary, .adventure .guide-search .meta { color: var(--frost); }
.adventure .guide-options .radius-form { background: #1b303f; border-color: #6c8694; }
.adventure .guide-options .fine { color: var(--frost); }
.adventure .guide-search button, .adventure .guide-tools button {
 background: #233c4d; color: var(--starlight); border-color: #7e9aa4;
}
.adventure .quick-filters button[aria-pressed=true], .adventure #guide-views button[aria-pressed=true] {
 color: #2c2119; background: #efca83; border-color: #f9da9d; box-shadow: 0 2px 7px #090f1780;
}
.adventure #guide-views { width: fit-content; margin: .28rem 0; background: #122431; border-color: #819aa47f; }
.adventure #guide-views button { min-height: 42px; color: var(--frost); }
.adventure .active-filters button { color: #f8e9cc; background: #344a54; border-color: #9d9f8a; }
#filter-toggle { display: none; }

.adventure .map-frame {
 position: relative; padding: 5px; background: #172934; border-color: #ac8e5c;
 box-shadow: 0 18px 35px #080e18a3, inset 0 0 0 2px #101e2a; border-radius: 15px;
}
.adventure .market-map {
 width: 100%;
 background: radial-gradient(ellipse at 40% 34%, #416375, #27485e 62%, #20394b);
 border-radius: 9px 9px 0 0; border: 1px solid #bbab7d5c;
}
.adventure .market-map svg { border-radius: inherit; }
.adventure .market-map svg .map-grid { fill: none; stroke: #b3d6e4; opacity: .23; stroke-width: .55; }
.adventure .market-map svg .map-shore { fill: none; stroke: #c8d8c3; opacity: .22; stroke-width: 4; }
.adventure .market-map svg .map-land { fill: url(#atlas-land); stroke: #748d84; stroke-width: .65; }
.adventure .market-map svg .map-coast { fill: none; stroke: #f6e4be; opacity: .7; stroke-width: .6; }
.adventure .market-map .map-radius { fill: #f8db7d25; stroke: #ffe098; }
.adventure .market-map .map-center { fill: #922f39; stroke: #fff0c6; stroke-width: .75; }
.atlas-compass {
 position: absolute; top: .8rem; right: .95rem; display: grid; justify-items: center;
 color: #f9dfaa; font: 700 .75rem Georgia, serif; gap: .13rem; pointer-events: none;
 text-shadow: 0 1px 3px #10202c;
}
.atlas-compass .ornament { width: 2.7rem; height: 2.7rem; }
.adventure .map-pin {
 display: grid; place-items: center; width: 39px; min-height: 39px; padding: 0 2px; font-size: .78rem;
 border: 2px solid #ffe4a6; color: #fff0ca; background: #243a3f;
 box-shadow: 0 2px 6px #091b24ba, inset 0 0 0 2px #122a35;
 transition: background-color 120ms, box-shadow 150ms, transform 135ms;
}
.adventure .map-pin .ornament { width: 1.06rem; height: 1.06rem; }
.adventure .map-pin:hover { background: #41565a; }
.adventure .map-pin[aria-pressed=true] {
 background: #6f3037; z-index: 3;
 box-shadow: 0 0 0 3px #f5d38bbd, 0 0 18px #ffcc6799, inset 0 0 0 2px #56272b;
}
.adventure .map-pin:focus-visible { z-index: 4; }
.pin-state {
 position: absolute; right: -5px; bottom: -3px; border-radius: 50%; border: 1px solid #ffedc0;
 width: 18px; height: 18px; display: grid; place-items: center; background: #672e36;
 color: #fff4df; line-height: 1; font-size: .68rem; box-shadow: 0 2px 4px #18242a88;
}
.adventure .map-frame .map-tools { background: #1c303c; border-color: #b7a17560; color: var(--starlight); }
.adventure .map-tools button { background: #253e4c; color: var(--starlight); border-color: #94a8a9; }
.adventure .map-tools #map-search { background: #efca83; border-color: #f9da9d; color: #2c2119; }
.adventure .map-tools #map-search[aria-disabled=true] { background: #304856; color: var(--frost); }
.adventure .map-caption, .adventure #map-scale { color: var(--frost); }
.adventure #map-preview {
 padding: .8rem; background: #132631; border: 1px solid #a38960; box-shadow: var(--shadow); border-radius: 13px;
}
.adventure .map-preview-head h3 { font-weight: 500; font-size: 1.43rem; }
.adventure #map-preview-tools button { background: #263e4c; color: var(--starlight); border-color: #82999f; }
.atlas-nearby { margin: .72rem 0 0; }
.atlas-nearby button {
 width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .65rem; align-items: center;
 text-align: left; padding: .6rem; background: #253b46; border-color: #9ca894; color: var(--starlight);
}
.atlas-nearby .ornament { color: var(--brass); }
.atlas-nearby span span { display: block; font-size: .75rem; color: var(--frost); font-weight: 500; }

.adventure :is(.card,.monthday,.guide-feedback,.suggest-callout,.share-box) { color: #2d2724; }
.adventure :is(.card,.monthday) { background: linear-gradient(135deg,#f6e5c5,#eddbba); border-color: #d3b47f; box-shadow: 0 5px 14px #0b15264d; }
.adventure .card .guide-choice:not(.selected) { background: #612e35; border-color: #612e35; color: #fff2db; }
.adventure .card .choose-day { color: #532b31; }
.adventure .card.focused-market { border-color: #f6d58a; box-shadow: inset 3px 0 #914e43, 0 0 0 1px #e5bb75a8, 0 0 16px #ffd48b27; }
.adventure .card .favorite-button[aria-pressed=true] { background: #753440; border-color: #753440; color: #fff0db; }
.adventure #catalog > .empty { color: var(--frost); background: #1c313d; border: 1px solid #718b95; }
.adventure .suggest-callout { background: #1c303d; border-color: #987e57; color: var(--starlight); }
.adventure .suggest-callout p { color: var(--frost); }
.adventure .suggest-callout button { background: #f0cc88; color: #2c2119; border-color: #ffdea1; }

.adventure #kalender {
 border-color: #ab7e69; background: #391f2a; padding: clamp(.8rem, 2.7vw, 1.85rem); overflow: clip;
 box-shadow: 0 16px 38px #070f1bb0, inset 0 0 0 4px #261c27;
}
.adventure .calendar-chapter {
 padding: clamp(1rem, 3.3vw, 2.45rem); margin: calc(clamp(.8rem, 2.7vw, 1.85rem) * -1);
 margin-bottom: 1.1rem; min-height: clamp(144px, 21vw, 235px); align-items: center;
 border-bottom: 1px solid #b48b62;
 background: linear-gradient(90deg,#351e2a 5%,#351e2ac9 43%,#291e25a3 100%), url("julestue.webp") center 51%/cover, #3b2430;
}
.adventure .calendar-chapter .chapter-emblem { background: radial-gradient(circle at 40% 35%,#9b6462,#552e3a 75%); box-shadow: inset 0 0 0 3px #462532; }
.adventure #kalender :is(#own-tools,.daybody,.shared-box,.empty) { color: #312725; }
.adventure #kalender #own-tools, .adventure .day { background: #f4e3c6; border-color: #bd916a; }
.adventure .dayhead { background: #6a3640; border-color: #d2a170; }
.adventure #kalender > .fine { color: #f2d6c7; }
.adventure #notice:not(:empty) { background: #f6e3ca; }
.adventure .share-box { background: #f3e0be; border: 1px solid #d4a96d; border-top: 4px solid #73353d; }
.adventure .share-box::backdrop { background: #09141ee6; }
.adventure #footer { background: #0f202c; border-color: #8b7553; }

@media (max-width: 720px) {
 .adventure .brand { font-size: 1.13rem; }
 .brand-mark { width: 1.35rem; height: 1.35rem; }
 .adventure .hero-inner { align-items: end; min-height: clamp(425px, 112vw, 530px); }
 .hero-landscape img { object-position: 68% 47%; }
 .adventure .hero::after { background: linear-gradient(0deg,#192c3a 0%,#10202cf2 16%,#10202cb0 48%,#10202c33 73%,transparent 100%); }
 .adventure .hero-copy { padding: 1rem 0 2.1rem; }
 .adventure .hero h1 { font-size: clamp(3.5rem, 12.7vw, 5.4rem); }
 .adventure .hero .lede { max-width: 20rem; margin-bottom: .85rem; }
 .adventure .hero-links { gap: .5rem; }
 .adventure .hero-links .button { padding-inline: .65rem; }
 .adventure .chapter { margin-bottom: .8rem; gap: .65rem; align-items: center; }
 .chapter-emblem { width: 2.65rem; height: 2.65rem; }
 .chapter-emblem .ornament { width: 1.45rem; height: 1.45rem; }
 .adventure .guide-heading-tools { gap: .4rem; }
 .adventure .guide-heading-tools .suggest-trigger { padding: .35rem .52rem; }
 .adventure .guide-search .primary-filters { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
 .adventure .primary-filters label:first-child { grid-column: 1; }
 #filter-toggle { display: block; min-height: 44px; }
 .adventure .quick-filters { margin-bottom: 0; }
 .adventure .map-pin { width: 37px; min-height: 37px; }
 .atlas-compass .ornament { width: 2.15rem; height: 2.15rem; }
}
@media (max-width: 420px) {
 .adventure .map-layout { gap: .55rem; }
 .adventure .quick-filters button { min-height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
 .adventure .navplan b.is-new, .adventure .favorite-button.is-new, .adventure .guide-choice.is-new {
  animation: atlas-settle 300ms cubic-bezier(.24,.84,.38,1) both;
 }
 .adventure .focused-market { animation: atlas-reveal 185ms ease-out both; }
 .adventure .map-pin.is-new[aria-pressed=true]::after,
 .adventure .pin-state.is-new:not([hidden])::after {
  content: ""; position: absolute; inset: -4px; border: 2px solid #ffdfa0;
  border-radius: 50%; pointer-events: none; animation: atlas-lantern-light 280ms ease-out both;
 }
}
@keyframes atlas-lantern-light {
 from { opacity: .9; transform: scale(.9); }
 to { opacity: 0; transform: scale(1.32); }
}
@keyframes atlas-settle {
 0% { transform: scale(.94); }
 45% { transform: scale(1.08); }
 100% { transform: scale(1); }
}
@keyframes atlas-reveal {
 from { opacity: .7; transform: translateY(4px); }
 to { opacity: 1; transform: translateY(0); }
}
.adventure .market-map .ornament { position: static; inset: auto; border-radius: 0; }
.adventure .market-map #atlas-shape { fill: inherit; stroke: inherit; stroke-width: inherit; }
.atlas-nearby:empty { display: none; }
.adventure .atlas-seas {
 font: italic 8px Georgia, serif;
 fill: #d0e1e2; opacity: .76; text-anchor: middle; letter-spacing: .7px;
}
.adventure #kalender .calendar-chapter .eyebrow { color: var(--brass); }
.adventure #kalender .journal-empty {
 display: flex; gap: .65rem 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
 padding: .9rem 1rem; background: #f4e3c6; border: 1px dashed #ad8160;
}
.journal-empty h3 { margin: 0 0 .15rem; font-size: 1.22rem; }
.journal-empty p { margin: 0; }
.journal-empty .button { background: #fff2d8; border-color: #c5a17d; }
@media (max-width: 720px) {
 .adventure .atlas-seas { display: none; }
 .adventure .guide-tools .count { white-space: nowrap; }
}
@media (max-width: 345px) {
 .adventure .chapter h2 { font-size: 1.8rem; }
 .adventure .chapter-emblem { width: 2.25rem; height: 2.25rem; }
}

/* Winter terrain and illustrated signposts. */
.adventure .market-map {
 aspect-ratio: 1.42;
 background: radial-gradient(ellipse at 43% 34%, #467183, #26495e 57%, #193245 100%);
}
.adventure .market-map .atlas-sheet { overflow: visible; }
.adventure .market-map .map-waves { fill: none; stroke: #c5dce0; opacity: .28; stroke-width: .6; }
.adventure .market-map .map-pines { fill: #4b756d; stroke: none; opacity: .47; }
.adventure .market-map .map-snow-dot { fill: #fff3dc; opacity: .55; }
.adventure .market-map .map-texture { fill: url(#atlas-snow); stroke: none; }
.adventure .market-map #atlas-outline path { fill: inherit; stroke: inherit; stroke-width: inherit; }
.adventure #map-layer { transform-origin: top left; }
.adventure .market-map .atlas-landmark {
 width: 59px; min-height: 47px; border: 0; background: transparent;
 box-shadow: none; border-radius: 8px; overflow: visible; padding: 0;
 z-index: 2; filter: drop-shadow(0 2px 2px #10202cbf);
}
.adventure .atlas-landmark .landmark-art {
 position: static; width: 55px; height: 47px; display: block; overflow: visible;
}
.adventure .atlas-landmark .landmark-name {
 position: absolute; left: 50%; top: 95%; transform: translateX(-50%);
 padding: 1px 5px 2px; border: 1px solid #d9b66e; border-radius: 4px;
 background: #1a313d; color: #ffedc3; white-space: nowrap; font-size: .69rem;
 line-height: 1.17; pointer-events: none;
}
.adventure .atlas-landmark:hover, .adventure .atlas-landmark:focus-visible { filter: drop-shadow(0 0 5px #ffe09ac9); z-index: 5; }
.adventure .atlas-landmark[aria-pressed=true] {
 filter: drop-shadow(0 0 6px #ffdb7d); z-index: 4;
}
.adventure .atlas-landmark[aria-pressed=true] .landmark-name {
 background: #ffe09a; color: #38271d;
}
.adventure .atlas-landmark .pin-state { right: 1px; bottom: 0; }
@media (max-width: 720px) {
 .adventure .market-map { aspect-ratio: 1.06; }
 .adventure .market-map .atlas-landmark { width: 45px; min-height: 39px; }
 .adventure .atlas-landmark .landmark-art { width: 45px; height: 39px; }
 .adventure .atlas-landmark .landmark-name { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
 .adventure .map-pin { transition: none; }
}
.adventure .market-map .atlas-leaders path {
 fill: none; stroke: #f6ddb1; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .62;
}
.adventure .market-map .atlas-trail {
 fill: none; stroke: #8f4137; stroke-width: 3px; stroke-dasharray: 2 5;
 stroke-linecap: round; vector-effect: non-scaling-stroke;
 filter: drop-shadow(0 0 1px #ffefd0);
}
.adventure .map-tools #atlas-trail-label:not([hidden]) {
 display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
 max-width: 100%; padding-inline: .65rem; background: #f4dbab; color: #512c2d;
 border-color: #f8e8c9; border-radius: 8px; text-align: left; font-size: .69rem; line-height: 1.25;
}
.adventure #atlas-trail-label::before { content: ''; flex: 0 0 1.3rem; border-top: 3px dotted #8f4137; }
.adventure #atlas-trail-name { display: block; font-size: .79rem; }

/* The atlas is the entrance. The map and its reading rail share one scene. */
.adventure #markeder { padding-top: 0; }
.atlas-scene { position: relative; isolation: isolate; }
.atlas-hud { min-width: 0; }
#guide-title {
 display: flex; align-items: center; gap: .36rem;
 font-size: 1.35rem; margin: 0; white-space: nowrap;
}
#guide-title .ornament { width: 1.22rem; height: 1.22rem; color: var(--brass); }
.adventure .navplan {
 display: inline-flex; align-items: center; gap: .26rem; min-height: 44px; white-space: nowrap;
 padding-inline: .1rem; color: var(--starlight); font-size: .78rem; font-weight: 700; text-decoration: none;
}
.adventure .navplan:hover { color: var(--brass); }
.adventure .navplan .ornament { width: 1.02rem; height: 1.02rem; color: var(--brass); }
.adventure .navplan b { margin: 0; min-width: 1.18rem; height: 1.18rem; background: var(--brass); color: #2a231c; }
.adventure .back-to-atlas {
 display: inline-flex; align-items: center; min-height: 44px; margin: -.35rem 0 .3rem;
 color: var(--brass); font-size: .84rem; font-weight: 700;
}
.adventure .day-route {
 min-height: 44px; padding: .35rem .66rem; border-color: #b89462; background: #f8e8ca;
 color: #463022; white-space: nowrap;
}
.adventure.shared .back-to-atlas { display: none; }
.adventure .atlas-hud .guide-search {
 position: relative; z-index: 8; display: block; padding: 0; background: transparent; border: 0; box-shadow: none;
}
.guide-toolbar-rows {
 display: grid; grid-template-columns: minmax(0,1fr);
 width: fit-content; max-width: 100%; margin-inline: auto;
}
.adventure .atlas-hud .primary-filters {
 display: flex; align-items: center; justify-content: center; gap: .38rem; padding: 0;
}
.adventure .atlas-hud .primary-filters label { flex: 1 1 auto; min-width: 0; width: 400px; }
.adventure .atlas-hud .primary-filters :is(button,select) {
 min-height: 44px; width: auto; padding: .32rem .58rem; font-size: .79rem; font-weight: 700;
 white-space: nowrap;
}
#primary-filters :is(#region,#kind) { text-overflow: ellipsis; }
#primary-filters #region { max-width: 9rem; }
#primary-filters #kind { width: 5rem; }
#primary-filters #search-toggle { display: none; }
#search-toggle .ornament, #primary-filters .toolbar-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#primary-filters :is(#saved-toggle,#near-toggle,#open-taste) { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; }
#primary-filters #open-taste .toolbar-icon { display: none; }
#saved-toggle[data-active=true] svg { fill: currentColor; }
.guide-view-row { display: flex; align-items: center; justify-content: space-between; gap: .3rem; flex-wrap: wrap; }
.guide-filter-summary { display: flex; align-items: center; gap: .3rem; }
.guide-filter-summary #clearfilters { flex: none; margin-bottom: .3rem; }
.adventure .atlas-hud #active-filters:not([hidden]) {
 min-width: 0;
 flex-wrap: nowrap; overflow-x: auto; margin: 0 0 .3rem; padding: .2rem .22rem;
}
.adventure .atlas-hud #active-filters button { flex: 0 0 auto; white-space: nowrap; }
#guide-theme-count:not(:empty)::before { content: ' · '; }
.adventure #guide-views button:not([aria-pressed=true]) { background: transparent; border-color: transparent; }
.atlas-panels {
 position: absolute; inset: 100% auto auto 50%; width: min(100%,34rem); transform: translateX(-50%);
 max-height: min(72dvh,35rem); overflow: auto;
}
#search-options #atlas-search-hit { margin: .3rem 0 0; }
#search-options:not(:has(#search-field,#atlas-search-hit:not([hidden]))) { display: none; }
.adventure #guide-date-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; }
.adventure #guide-date-trigger span { overflow: hidden; text-overflow: ellipsis; }
.adventure #guide-date-trigger .ornament { width: 1rem; height: 1rem; color: var(--brass); }
.adventure .primary-filters :is(button,select):is([aria-expanded=true],[data-active=true]) {
 border-color: var(--brass); background: #3d4b50; color: var(--starlight);
}
.toolbar-panel {
 margin-top: .35rem; padding: .58rem; background: #112633; border: 1px solid #789296; border-radius: 8px;
}
.toolbar-panel .checks { gap: 0 .8rem; }
.toolbar-panel .checks label, .guide-date-past {
 display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
}
.adventure .toolbar-panel .checks input { min-height: 0; }
.guide-date-past { font-size: .84rem; }
.adventure #near-options { margin-top: .3rem; }
.adventure #near-options .radius-form { margin: 0 0 .35rem; }

.adventure .atlas-hud #guide-views button { min-height: 36px; padding-inline: .5rem; }
.adventure .atlas-hud .count { font-size: .75rem; white-space: nowrap; }
.adventure .atlas-hud .guide-feedback span { min-width: 0; flex-basis: 100%; }

.adventure .atlas-map-active .atlas-scene {
 --atlas-edge: clamp(1.05rem,3vw,3.5rem);

 min-height: min(820px,100svh);
 padding: .55rem var(--atlas-edge) .9rem;
 background: radial-gradient(ellipse at 62% 44%,#315868 0%,#1d3c4e 42%,#0e202d 85%);
}
.adventure .atlas-map-active .atlas-scene::before {
 content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
 background: linear-gradient(90deg,#0e222ff5 0%,#0e222f40 31%,#112c3b18 74%,#0b1b26a0),
  linear-gradient(0deg,#0d1f2be8,transparent 31%),
  url("vinterkyst.webp") center 70% / cover;
 opacity: .88;
}

@media (min-width: 951px) {
 .adventure .atlas-map-active .atlas-scene { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; }
 .atlas-map-active .atlas-hud { grid-area: 1 / 1; }
 .atlas-map-active #catalog, .atlas-map-active #map-preview { grid-area: 2 / 1; }
 .atlas-map-active #atlas-feedback-slot { grid-area: 3 / 1; }
 .adventure .atlas-map-active #map-preview {
  position: relative; z-index: 6; align-self: start; justify-self: start;
  width: min(19rem,28%);
 }
}
.adventure .atlas-map-active .map-frame { border: 0; padding: 0; background: none; box-shadow: none; overflow: visible; }
.adventure .atlas-map-active .market-map {
 width: 100%; height: clamp(420px,calc(100svh - 160px),730px);
 border: 0; border-radius: 0; background: transparent;
}
.adventure .atlas-map-active .map-tools {
 width: fit-content; max-width: 100%; padding: .22rem; margin: .15rem 0 0 auto;
 background: #102330e8; border: 1px solid #9d8a60; border-radius: 8px;
}
.adventure .atlas-map-active .map-tools button { min-height: 38px; min-width: 38px; padding: .28rem .5rem; }
.adventure .atlas-map-active #map-scale { min-width: 3.8rem; text-align: center; padding-inline: .32rem; }
.adventure .atlas-map-active .map-caption {
 margin: .42rem 0 0; font-size: .74rem; color: #ccdde1; text-align: right;
}
.adventure .atlas-map-active #map-preview {
 margin: .2rem 0 0; padding: 0; border: 0; background: none; box-shadow: none;
}
.adventure .atlas-map-active #map-preview .map-preview-head { padding: 0; margin-bottom: .46rem; align-items: center; }
#map-preview-title { font-size: 1.32rem; line-height: 1.12; color: #ffe9bb; }
.adventure #map-preview-tools button { font-size: .75rem; padding-inline: .43rem; min-height: 36px; }
.adventure .atlas-map-active #map-preview[data-selected=true] { max-height: min(35rem,70svh); overflow: auto; scrollbar-width: thin; }
.adventure .atlas-map-active .map-pin:not(.atlas-landmark) {
 border-color: #f0c57f; background: #213a45; box-shadow: 0 0 9px #ffc46b4f, inset 0 0 0 2px #112d38;
}
.adventure .atlas-map-active .map-pin:not(.atlas-landmark):is(:hover,:focus-visible,[aria-pressed=true]) {
 background: #6f3037; box-shadow: 0 0 0 2px #f5d38bbd, 0 0 15px #ffcc6799;
}
.adventure .atlas-map-active .atlas-landmark .landmark-name { background: #102432; }
.adventure .atlas-map-active .atlas-landmark[aria-pressed=true] .landmark-name { background: #ffe09a; }
.adventure .atlas-map-active .map-pin:active { transform: translate(-50%,-50%) scale(.94); }
.adventure .atlas-map-active .atlas-compass { top: .55rem; right: 1.25rem; opacity: .9; }
.adventure .atlas-map-active .suggest-callout { margin-top: .75rem; }
.adventure .suggest-callout #start-suggestions { background: #213b48; border-color: #9d8a60; }

@media (max-width: 950px) {
 .adventure .atlas-hud .primary-filters {
  display: flex; gap: .2rem;
 }
 #guide-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .adventure #primary-filters :is(#search-toggle,#guide-date-trigger,#near-toggle,#saved-toggle) { flex: 0 0 2.1rem; padding-inline: 0; }
 .adventure #primary-filters #near-toggle span { display: none; }
 .adventure #primary-filters #region { flex: 0 1 8rem; min-width: 0; padding-inline: .28rem; }
 .adventure #primary-filters #theme-toggle { flex: 0 0 auto; padding-inline: .35rem; }
 .adventure #primary-filters #guide-date-trigger span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
 .adventure #primary-filters #open-taste { padding-inline: .35rem; }
 .adventure #search-field { display: block; }
 .adventure .atlas-map-active #map-preview[data-selected=true] { max-height: none; overflow: visible; }
}
@media (max-width: 540px) {
 .adventure #primary-filters #search-toggle { display: block; }
}
@media (max-width: 720px) {
 .adventure #primary-filters #kind { flex: 0 1 5rem; min-width: 2.7rem; padding-inline: .28rem; }
 .adventure .guide-view-row .navplan { min-width: 1.8rem; justify-content: center; }
 .guide-view-row .navplan span { display: none; }
 .adventure .guide-view-row .guide-tools button { padding-inline: .45rem; }
}
@media (max-width: 420px) {
 #share-list span { display: none; }
 .adventure .guide-view-row .count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .adventure #primary-filters #open-taste { flex: 0 0 2.1rem; padding-inline: 0; }
 .adventure #primary-filters #open-taste .toolbar-icon { display: block; }
 #primary-filters #open-taste span { display: none; }
}
@media (max-width: 355px) {
 .adventure .atlas-hud .primary-filters { gap: .11rem; }
 .adventure #primary-filters :is(#search-toggle,#guide-date-trigger,#near-toggle,#saved-toggle,#open-taste) { flex-basis: 1.56rem; }
 .adventure #primary-filters #theme-toggle { padding-inline: .24rem; }
 .adventure #primary-filters #kind { flex-basis: 2.9rem; }
 .adventure #primary-filters :is(#region,#kind) {
  font-size: .71rem; appearance: none; padding-inline: .18rem .56rem; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23fff0d6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 7px; background-position: right 3px center;
 }
 .adventure #primary-filters #theme-toggle { position: relative; font-size: .73rem; }
 #guide-theme-count:not(:empty) { position: absolute; inset: 0 .17rem auto auto; font-size: .58rem; }
 #guide-theme-count:not(:empty)::before { content: none; }
}
@media (max-width: 720px) {
 .adventure .atlas-map-active .atlas-scene {
  display: block; min-height: 100svh; padding: .5rem .7rem 1rem;
 }
 .adventure .atlas-map-active .atlas-scene::before {
  background: linear-gradient(0deg,#0d1f2bdd,transparent 42%,#0d1f2b80 100%),url("vinterkyst.webp") center bottom / cover;
  opacity: .66;
 }
 .adventure .atlas-map-active .market-map { height: min(100vw,445px); }
 .adventure .atlas-map-active .map-caption { display: none; }
 .adventure .atlas-map-active .map-tools { margin-top: .08rem; }
 .adventure .atlas-map-active #map-preview { margin: .85rem .18rem 0; }
 .adventure .atlas-map-active .atlas-compass { top: .5rem; right: .48rem; }
}
@media (prefers-reduced-motion: reduce) {
 .adventure .atlas-map-active .map-pin:active { transform: translate(-50%,-50%); }
}

.adventure .journey:has(.atlas-map-active) { width: 100%; }
.adventure .journey:has(.atlas-map-active) > :not(#markeder),
.adventure .atlas-map-active > .suggest-callout {
 width: min(1160px,calc(100% - 2rem)); margin-inline: auto;
}
#map-preview[data-selected=true][data-single=true] #map-preview-title { display: none; }
#map-preview[data-selected=true][data-single=true] #map-preview-tools { margin-left: auto; }
#map-preview .card .atlas-nearby { width: 100%; margin: .25rem 0 .35rem; }
#map-preview .card .atlas-nearby button { background: #e6c99d; color: #382a25; border-color: #b39366; padding: .38rem .48rem; }
#map-preview .card .atlas-nearby span span { color: #574035; }
#map-preview .card .atlas-nearby .ornament { color: #794e36; }
#map-preview .card .description { order: 2; }
#map-preview .card .market-details { order: 3; }
#atlas-search-hit { margin: .35rem 0; }
.adventure #atlas-search-hit button {
 width: 100%; display: flex; justify-content: space-between; gap: .5rem;
 text-align: left; background: #304450; border-color: #c4a36e;
}
.adventure .atlas-map-active #catalog { position: relative; }
.adventure .atlas-map-active #catalog > .empty {
 position: absolute; z-index: 5; inset: auto auto 22% 50%; transform: translateX(-50%);
 width: max-content; max-width: min(90%,24rem); text-align: center;
}
.adventure .atlas-named-pin .landmark-name {
 position: absolute; left: 50%; top: 95%; transform: translateX(-50%);
 max-width: 10rem; width: max-content; padding: 2px 5px; border: 1px solid #d9b66e; border-radius: 4px;
 color: #38271d; background: #ffe09a; text-align: center; font-size: .7rem; line-height: 1.2;
 pointer-events: none;
}
.adventure #calendar-tools #export {
 background: #452c36; color: #fff0d6; border-color: #d2a675;
}
.adventure #calendar-tools #export:hover { background: #65434d; }
.adventure header { background: #101f2b; }

/* Shared reading cues for map, list and day view. */
.adventure .score {
 display: inline-flex; flex: none; align-items: center; justify-content: center;
 min-width: 3.15rem; border: 1px solid var(--score-line);
 background: var(--score-bg); color: var(--score-text);
 font-variant-numeric: tabular-nums; white-space: nowrap;
}
.score-high { --score-bg:#dce8d9; --score-text:#214532; --score-line:#a1b69c; }
.score-mid { --score-bg:#f2e1b8; --score-text:#5e4118; --score-line:#ceb178; }
.score-low { --score-bg:#efdbd9; --score-text:#692e35; --score-line:#caa19f; }

.adventure :is(.card,.market-day) .theme-pill {
 background: var(--theme-bg,#eee5d4); color: var(--theme-text,#544739);
}
.theme-craft { --theme-bg:#ebdff0; --theme-text:#55355f; }
.theme-design { --theme-bg:#dce8f0; --theme-text:#284b68; }
.theme-heritage { --theme-bg:#e9e1d2; --theme-text:#57442f; }
.theme-estate { --theme-bg:#efdfcc; --theme-text:#643f27; }
.theme-local { --theme-bg:#deeadf; --theme-text:#315643; }
.theme-lights { --theme-bg:#f4e6bd; --theme-text:#644713; }
.theme-food { --theme-bg:#f5dfd0; --theme-text:#754325; }
.theme-family { --theme-bg:#e9dfec; --theme-text:#68405e; }

.adventure :is(.card,.market-day) .venue-pill {
 background: var(--venue-bg); color: var(--venue-text); border: 1px solid currentColor;
}
.venue-market { --venue-bg:#f4ebdc; --venue-text:#654a33; }
.venue-julestue { --venue-bg:#edd2d7; --venue-text:#663544; }
.venue-popup { --venue-bg:#dedbed; --venue-text:#5a3d66; }
.venue-shop { --venue-bg:#dce9e6; --venue-text:#294f48; }
.venue-seasonal { --venue-bg:#ecdfce; --venue-text:#64482d; }
.venue-hybrid { --venue-bg:linear-gradient(90deg,#edd2d7 50%,#dedbed 50%); --venue-text:#59364e; }

.market-list,.daily-market-list { display: grid; gap: .85rem; }
.adventure .market-row {
 display: grid; grid-template-columns: minmax(0,1.55fr) minmax(15rem,1fr);
 align-items: start; column-gap: clamp(1rem,3vw,2rem); padding: 1rem 1.15rem .65rem;
 background: #f5e7cf; border-color: #cdb68f; border-radius: 9px;
}
.market-identity,.market-visit,.market-heading > div { min-width: 0; }
.market-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.adventure .market-row .market-heading h3 { margin: 0 0 .22rem; font-size: clamp(1.25rem,2.45vw,1.65rem); overflow-wrap: anywhere; }
.adventure .market-row .market-heading .score { font-size: .91rem; }
.adventure .market-row .card-place { margin-bottom: .56rem; }
.adventure .market-row .market-intro { margin: .56rem 0 .25rem; font-size: .9rem; color: #4b4035; }
.market-facts { display: grid; gap: .35rem; margin: 0 0 .55rem; }
.market-facts > div { display: grid; grid-template-columns: 6rem minmax(0,1fr); gap: .35rem; align-items: baseline; }
.market-facts dt { color: #624f3d; font-size: .81rem; }
.market-facts dd,.market-facts .dates { margin: 0; font-weight: 650; font-size: .88rem; }
.adventure .market-row .card-actions { margin: .36rem 0 .45rem; }
.adventure .market-row > .market-details { grid-column: 1/-1; }
.adventure .market-row .market-details .description { margin: .38rem 0 .55rem; }
.adventure .card-duration { margin: 0 0 .5rem; }
.adventure .card .card-place { margin-bottom: .3rem; }

.adventure .market-day { margin: 0; padding: 0; overflow: hidden; border-radius: 9px; background: #f5e7cf; }
.market-day-head {
 display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
 padding: .67rem .95rem; background: #244438; color: #fff2d8; border-bottom: 2px solid #bd9e66;
}
.adventure .market-day .market-day-head h3 { margin: 0; font-size: 1.28rem; }
.market-day-head span { flex: none; font-size: .81rem; color: #f0dec0; }
.market-day-items { margin: 0; padding: 0 .95rem; list-style: none; }
.adventure .market-day .day-option {
 display: grid; grid-template-columns: minmax(0,1.65fr) minmax(7rem,.7fr) auto;
 align-items: center; gap: .65rem 1rem; padding: .66rem 0; border-color: #d8c6a9;
}
.day-market-name > strong { display: block; overflow-wrap: anywhere; }
.day-market-name > .meta,.day-market-time > .meta { display: block; }
.day-market-name .tags { display: flex; flex-wrap: wrap; gap: .28rem; margin-top: .33rem; }
.day-market-time { font-variant-numeric: tabular-nums; }
.day-market-time strong { display: block; font-size: .9rem; }
.day-market-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; }
.adventure .market-day .day-option button { grid-area: auto; white-space: normal; }
.undated-markets { margin: 1rem 0 .6rem; }
@media (max-width: 650px) {
 .adventure .market-row { grid-template-columns: minmax(0,1fr); padding: .85rem .9rem .55rem; row-gap: .42rem; }
 .adventure .market-row .market-visit { padding-top: .5rem; border-top: 1px solid #deccb1; }
 .adventure .market-day .day-option { grid-template-columns: minmax(0,1fr) auto; gap: .42rem .62rem; }
 .day-market-name { grid-column: 1/-1; }
 .day-market-actions { gap: .35rem; }
 .market-day-items { padding-inline: .75rem; }
}
.clock-range { white-space: nowrap; }
@media (max-width: 650px) {
 .market-facts > div { grid-template-columns: 4.65rem minmax(0,1fr); }
 .adventure .market-row .market-intro {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
 }
}

.adventure button.theme-pill {
 border: 1px solid transparent; min-height: 28px; cursor: pointer;
}
.adventure button.theme-pill:hover,
.adventure button.theme-pill[aria-pressed=true] {
 border-color: currentColor;
}
.adventure button.theme-pill[aria-pressed=true] {
 box-shadow: inset 0 0 0 1px currentColor;
}
#guide-theme > .fine { margin: .15rem 0 .4rem; }
.guide-theme-options { display: flex; flex-wrap: wrap; gap: .3rem; }
.guide-theme-options label {
 display: inline-flex; align-items: center; gap: .35rem; min-height: 36px;
 padding: .3rem .5rem; border: 1px solid #789296; border-radius: 6px;
 color: var(--starlight); font-size: .8rem; cursor: pointer;
}
.guide-theme-options label:has(input:checked) { background: #344a54; border-color: #efca83; }
.guide-theme-options input { margin: 0; flex: none; accent-color: #efca83; }

.market-day-summary {
 display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .4rem;
}
.last-market-day {
 display: inline-block; white-space: nowrap; padding: .1rem .42rem; border-radius: 5px;
 border: 1px solid #a83e48; color: #811e2c; background: #f5dcda;
 font-weight: 800; font-size: .76rem;
}
.adventure .card .market-day-summary { margin-bottom: .35rem; }
.adventure .market-facts .market-day-summary { margin-bottom: 0; }
@media (max-width: 650px) {
 .day-market-time .market-day-summary { margin-top: .2rem; }
}

/* Cluster cards keep the current map visible and the entire group within reach. */
.adventure .atlas-cluster-popup {
 position: absolute; z-index: 7; display: flex; flex-direction: column;
 width: min(23rem,calc(100% - 1rem)); max-height: min(29rem,65svh);
 border: 1px solid #c4a36e; border-radius: 10px;
 background: #f5e7cf; color: #2d2724; box-shadow: 0 10px 30px #07121bc7;
}
.atlas-cluster-head,.atlas-cluster-foot { flex: none; padding: .52rem .72rem; }
.atlas-cluster-head {
 display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem;
 background: #244438; color: #fff0d8; border-radius: 9px 9px 0 0;
}
.atlas-cluster-head h2 { flex: 1; min-width: 0; margin: 0; font-size: 1.15rem; line-height: 1.2; }
.atlas-cluster-head button { min-height: 34px; padding: .22rem .5rem; border-color: #ba9b66; background: #2c5044; }
.atlas-cluster-head button[data-act="cluster-close"] { min-width: 36px; font-size: 1.2rem; line-height: 1; }
.atlas-cluster-content { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.atlas-cluster-list { margin: 0; padding: .15rem .6rem; list-style: none; }
.atlas-cluster-list li + li { border-top: 1px solid #d8c6a9; }
.atlas-cluster-list button {
 width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center;
 gap: .45rem; padding: .52rem .28rem; border: 0; background: transparent; text-align: left;
}
@media (hover: hover) { .atlas-cluster-list button:hover { background: #efdbb7; filter: none; } }
.atlas-cluster-list button:focus-visible { outline-offset: -3px; }
.atlas-cluster-list button strong { display: block; font-size: .89rem; line-height: 1.25; overflow-wrap: anywhere; }
.atlas-cluster-list button > span > span { display: block; margin-top: .18rem; font-size: .75rem; color: #5e4f41; }
.atlas-cluster-foot { border-top: 1px solid #d8c6a9; }
.atlas-cluster-foot button { min-height: 36px; }
.adventure .atlas-cluster-content .card { border: 0; border-radius: 0; box-shadow: none; }
.atlas-cluster-content .card h3 { display: none; }
@media (max-width: 720px) {
 .adventure .atlas-cluster-popup {
  position: fixed; left: .55rem !important; right: .55rem; top: auto !important;
  bottom: max(.55rem,env(safe-area-inset-bottom)); width: auto; max-height: min(58dvh,29rem) !important;
 }
}
.atlas-cluster-list button > span > .market-day-summary { display: flex; }

.adventure .guide-date-picker { width: min(25rem,calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem); }
.adventure .guide-date-picker .quick-filters { margin-bottom: .55rem; }
.guide-month-head, .guide-date-actions { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.guide-month-head { margin-bottom: .25rem; color: #254339; }
.guide-month-head button { min-width: 44px; font-size: 1.25rem; padding-block: .2rem; }
.guide-date-picker table { width: 100%; table-layout: fixed; border-spacing: 0 3px; }
.guide-date-picker th { font-size: .72rem; color: #625647; }
.guide-date-picker td { padding: 0; text-align: center; }
.guide-date-picker td button {
 width: 100%; min-height: 39px; padding: .15rem; border-color: transparent; background: transparent;
}
.guide-date-picker td button[aria-current=date] { box-shadow: inset 0 0 0 1px #a9824e; }
.guide-date-picker td button[aria-pressed=true] { border-radius: 0; color: #3f3127; background: #f0dcb8; }
.guide-date-picker td button[data-edge] { border-radius: 6px; color: #fff8e6; background: #245044; }
.guide-date-picker td button:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.guide-date-picker #guide-date-help { min-height: 2.6em; margin: .45rem 0; }
.guide-date-actions { margin-top: .55rem; }



.adventure #open-taste {
 min-height: 44px; padding: .32rem .64rem; color: #ffedc9; background: #285044;
 border-color: #bd9b64; white-space: nowrap; font-size: .78rem;
}
.adventure #open-taste:hover { background: #346456; }
.adventure .taste-dialog {
 width: min(28rem,calc(100% - 1.25rem)); max-height: calc(100dvh - 1.25rem);
 padding: clamp(.85rem,4vw,1.35rem); border: 1px solid #ba9a64; border-top: 4px solid #315b4b;
 background: linear-gradient(155deg,#fff2d7,#f4e4c8);
 box-shadow: 0 18px 65px #060e18a8;
}
.taste-dialog .share-heading { flex-wrap: nowrap; color: #234637; }
.taste-dialog .share-heading h3 { font-size: clamp(1.2rem,5vw,1.5rem); }
.taste-dialog .share-heading .ornament { color: #876332; }
.taste-progress { color: #67553c; font-size: .76rem; font-weight: 750; margin: .8rem 0 .35rem; }
.taste-step { min-height: 10rem; }
.taste-step h4 { margin: 0 0 .35rem; color: #234637; font-size: 1.12rem; }
.taste-step .fine { margin: 0 0 .55rem; }
.taste-dialog #taste-themes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .42rem; }
.taste-dialog #taste-themes label {
 display: flex; align-items: center; min-height: 48px;
 border: 1px solid #c7aa81; border-radius: 9px; padding: .4rem .52rem;
 background: #fff7e8; font-size: .84rem; line-height: 1.25; cursor: pointer;
}
.taste-dialog #taste-themes label:has(input:checked) { background: #dfe9d7; border-color: #44644e; color: #234637; }
.taste-dialog #taste-themes label:focus-within { outline: 2px solid #805b32; outline-offset: 1px; }
.taste-dialog #taste-themes input { flex: none; width: 17px; min-width: 0; height: 17px; margin: 0 .36rem 0 0; }
.taste-dialog :is(#taste-region,#taste-base) { min-height: 44px; margin-top: .35rem; }

.taste-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid #d4bb92; }
.taste-actions #taste-reset { margin-inline-end: auto; }
.taste-actions button { min-height: 44px; }
.taste-actions .primary { background: #285044; border-color: #285044; color: #fff2d7; }
.taste-dialog #taste-error { color: #7b2831; }
.taste-dialog #taste-error:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
 .taste-dialog[open] { animation: taste-appear .16s ease-out; }
 @keyframes taste-appear { from { opacity: .65; transform: translateY(5px); } }
}
.market-row .taste-reason { margin: .25rem 0; color: #2a5644; font-size: .78rem; font-weight: 750; }

/* A proposed day is a container; its numbered markets are the stops inside. */
#picks .pick { padding: 0; overflow: hidden; border: 1px solid #b8aa8c; align-self: start; }
#picks .pick-day-head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: #23483d; color: #fff2d7; border-bottom: 2px solid #d6b577; }
#picks .pick-day-head > div { min-width: 0; }
#picks .pick-day-head h4 { margin: 0; font-size: 1rem; line-height: 1.3; color: inherit; }
#picks .pick-day-meta { margin: .3rem 0 0; font-size: .78rem; color: #e1ddc9; }
#picks .pick-calendar { flex: none; display: grid; place-content: center; text-align: center; width: 48px; min-height: 54px; border: 1px solid #d6b577; border-radius: 7px; background: #fff0ce; color: #23483d; line-height: 1.05; }
#picks .pick-calendar b { font-size: 1.55rem; }
#picks .pick-calendar span { margin-top: .2rem; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
#picks .pick-stops { margin: 0; padding: .15rem 1rem .2rem; list-style: none; counter-reset: pick-stop; }
#picks .pick-stops li { position: relative; padding: .8rem 0 .8rem 2rem; counter-increment: pick-stop; }
#picks .pick-stops li + li { margin: 0; padding-top: .8rem; border-top: 1px solid #dfcfb5; }
#picks .pick-stops li::before { content: counter(pick-stop); position: absolute; top: .85rem; left: 0; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e4e9db; color: #23483d; font-size: .75rem; font-weight: 800; }
#picks .pick-stops strong { font-size: .95rem; line-height: 1.3; }
#picks .pick-stops .meta { margin-top: .25rem; }

#picks-limits:empty { display: none; }
#picks-limits { margin-block: 1rem; }
#picks-limits > h4 { margin: 0 0 .6rem; color: #23483d; }
.pick-limit { border: 1px solid #bba57d; border-left: 4px solid #bda267; background: #fbf2dc; border-radius: 9px; padding: .85rem 1rem; margin-top: .6rem; }
.pick-limit p { font-size: .85rem; margin: .35rem 0 .6rem; color: #535747; }
.pick-limit > div { display: flex; gap: .5rem; flex-wrap: wrap; }
.pick-limit button { min-height: 44px; border-color: #819479; color: #23483d; background: #f7faed; }

/* The same one-tap scale serves both the compass and calendar preferences. */
.rating-field { min-width: 0; margin: 0; padding: .5rem .6rem; border: 1px solid #d1ba94; border-radius: 9px; background: #fff7e8; }
.rating-field legend { max-width: 100%; padding: 0 .15rem; font-size: .88rem; line-height: 1.3; font-weight: 750; color: #2b4336; }
.rating-options { display: flex; gap: 2px; }
.rating-field .rating-choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; flex: 1; min-width: 40px; min-height: 48px; border-radius: 6px; cursor: pointer; color: #685637; }
.rating-field .rating-choice input { position: absolute; inset: 0; opacity: 0; width: 100%; min-width: 0; min-height: 0; height: 100%; padding: 0; margin: 0; cursor: pointer; }
.rating-choice svg,.rating-choice span { pointer-events: none; }
.rating-choice svg { width: 26px; height: 26px; fill: transparent; stroke: #78613e; stroke-width: 1.5; transition: fill .1s,transform .1s; }
.rating-choice span { font-size: .68rem; font-weight: 750; }
.rating-field .rating-choice:has(input:focus-visible) { outline: 3px solid #805b32; outline-offset: -2px; }
.rating-choice:has(input:checked) { box-shadow: inset 0 0 0 1px #9c773f; background: #f7e6bd; }
.rating-field[data-value="1"] .rating-choice:nth-child(-n+1) svg,
.rating-field[data-value="2"] .rating-choice:nth-child(-n+2) svg,
.rating-field[data-value="3"] .rating-choice:nth-child(-n+3) svg,
.rating-field[data-value="4"] .rating-choice:nth-child(-n+4) svg,
.rating-field[data-value="5"] .rating-choice:nth-child(-n+5) svg { fill: #ddb55d; }
@media (hover: hover) { .rating-choice:hover { background: #f6e6c8; } .rating-choice:hover svg { transform: scale(1.08); } }
.rating-choice:active svg { transform: scale(.92); }
.rating-feedback { display: flex; justify-content: space-between; align-items: center; min-height: 30px; font-size: .72rem; color: #67563d; }
.rating-feedback button { min-height: 30px; padding: 0 .3rem; font-size: .72rem; border: 0; background: transparent; color: #345343; text-decoration: underline; }
#ratings { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
#taste-ratings { display: grid; gap: .7rem; }
.adventure .taste-dialog[data-rating-step=true] { width: min(38rem,calc(100% - 1.25rem)); }
@media (min-width: 620px) { #taste-ratings { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.adventure .atlas-hud #clearfilters { background: #263e4c; color: #fff0d5; border: 1px solid #91a5a8; }
.adventure .atlas-hud #clearfilters:hover { background: #365562; color: #fff0d5; }
.adventure .atlas-hud #clearfilters:focus-visible { outline: 3px solid #e7bd76; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rating-choice svg { transition: none; } }

.day-catalog-intro { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding-block: .6rem; color: #fff0d5; }
.adventure .day-catalog-intro button { color: #fff0d5; background: #285044; border-color: #a6b79a; }
/* A quiet Danish Christmas interior: green wood, cream paper and brass stars. */
.adventure .taste-dialog { border: 1px solid #b69760; border-radius: 16px; padding-top: 0; background: radial-gradient(ellipse at top right,#f7dfae55,transparent 60%),#fbefd6; }
.taste-dialog .share-heading { margin: 0 calc(-1 * clamp(.85rem,4vw,1.35rem)) .9rem; padding: .9rem clamp(.85rem,4vw,1.35rem); border-bottom: 2px solid #bd9b61; border-radius: 15px 15px 0 0; background: #214638; color: #fff0cf; }
.taste-dialog .share-heading h3 { color: #fff0cf; }
.taste-dialog .share-heading .ornament { color: #e7c47a; }
.taste-dialog .share-heading button { color: #fff0cf; background: #345648; border-color: #799078; }
.taste-progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; color: #695435; font-size: .76rem; }
.taste-progress-head .taste-progress { margin: 0; }
#taste-meter { display: block; appearance: none; width: 100%; height: 5px; margin: .45rem 0 1rem; border: 0; background: #dfd1b4; border-radius: 4px; overflow: hidden; }
#taste-meter::-webkit-progress-bar { background: #dfd1b4; }
#taste-meter::-webkit-progress-value { background: #43694f; border-radius: 4px; }
#taste-meter::-moz-progress-bar { background: #43694f; }
.adventure .taste-step h4:focus { outline: none; }
.taste-dialog .rating-field { border: 0; border-top: 2px solid #ceb17b; border-radius: 9px; background: linear-gradient(140deg,#fff9e9,#f4e6c9); box-shadow: 0 3px 8px #68532b0c; padding: .6rem .7rem .3rem; }
.taste-dialog .rating-field legend { font-family: Georgia,serif; padding: 0 .25rem; }
.taste-dialog .rating-field:has(input:checked) { border-top-color: #54704b; background: linear-gradient(140deg,#f5f3df,#e9edda); }
.taste-dialog .rating-choice:has(input:checked) { border-radius: 50% 50% 8px 8px; }
.taste-dialog .rating-choice svg { filter: drop-shadow(0 1px 0 #ffffffa0); }
.taste-control-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: .7rem; }
.taste-control-grid label { display: grid; align-content: start; gap: .3rem; font-size: .83rem; font-weight: 700; }
.day-preferences { margin-block: .8rem; }
.weekday-options { display: flex; gap: .3rem; }
.weekday-options label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.weekday-options input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; min-width: 0; margin: 0; cursor: pointer; }
.weekday-options label > span:first-of-type { display: grid; place-items: center; min-height: 44px; border-radius: 8px; border: 1px solid #cbb78f; background: #fff8e9; color: #37513c; font-size: .78rem; font-weight: 750; }
.weekday-options input:checked + span { background: #2d5844; color: #fff0d4; border-color: #2d5844; }
.weekday-options input:focus-visible + span { outline: 3px solid #aa793f; outline-offset: 2px; }
.day-flex { display: block; margin-block: .8rem; font-size: .85rem; }
.day-from { display: grid; gap: .3rem; font-size: .8rem; }
.day-from input { max-width: 15rem; }
.blocked-input { display: flex; gap: .4rem; margin-block: .55rem; }
.blocked-input input { flex: 1; min-width: 0; }
#taste-blocked { display: flex; flex-wrap: wrap; gap: .3rem; }
.origin-search { position: relative; }
.origin-results { list-style: none; padding: .25rem; margin: .3rem 0; max-height: 17rem; overflow: auto; background: #fff9ec; border: 1px solid #ad9367; border-radius: 8px; box-shadow: 0 5px 16px #3e322a22; }
.origin-results li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem; cursor: pointer; font-size: .84rem; }
.origin-results li + li { border-top: 1px solid #e4dac7; }
.origin-results li:hover,.origin-results li[aria-selected=true] { background: #e6eddb; }
.origin-results small { flex: none; font-size: .65rem; color: #5f694f; }
.origin-attribution { font-size: .65rem; color: #6a6556; margin-top: .45rem; }
#taste-must-results { display: grid; gap: .3rem; margin-top: .4rem; }
.must-stop { margin: .7rem 0; border: 1px solid #bca880; border-radius: 9px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: .5rem; padding: .6rem; }
.must-stop legend { font-size: .85rem; font-weight: 750; }
.must-stop label { display: grid; gap: .3rem; font-size: .76rem; }
#refine-proposal { margin: 0 0 .8rem; }
#picks .pick-day-head .pick-home { margin: .3rem 0 0; font-size: .74rem; color: #f6e3bd; }
#picks .pick-times { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: .55rem 0; padding: .45rem .5rem; border-radius: 7px; background: #e9eddf; color: #264735; font-variant-numeric: tabular-nums; }
.pick-times span { display: grid; }
.pick-times small { font-size: .66rem; }
.pick-times b { font-size: 1.05rem; }
.pick-times .pick-duration { font-size: .7rem; text-align: center; }
#picks .pick-leg { color: #56694e; font-size: .74rem; margin: 0 0 .45rem; }
#picks .pick-return { margin: 0; padding: .6rem 1rem; background: #efe4cb; color: #4e5946; font-size: .75rem; border-top: 1px solid #d1bd94; }
.pick-pin { min-height: 34px; margin: .4rem .3rem .2rem 0; padding: .15rem .45rem; font-size: .72rem; }
.pick-pin[aria-pressed=true] { color: #fff3db; background: #2d5844; border-color: #2d5844; }
#picks .visit-edit { display: inline-block; vertical-align: middle; }
#picks .visit-edit[open] { display: block; }
#picks .visit-controls { align-items: end; }
@media (max-width: 440px) { .taste-control-grid,.must-stop { grid-template-columns: 1fr; } .origin-results li { align-items: start; } }
#picks:has(> .pick:only-child) { grid-template-columns: minmax(0,42rem); justify-content: center; }
#picks .pick-stops li:has(.pick-leg)::before { top: 2.2rem; }

.result-score-filter { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; margin: .25rem 0 1rem; color: #284535; font-size: .83rem; }
.result-score-filter select { width: auto; min-width: 10rem; }
.result-score-filter .fine { flex-basis: 100%; }
.taste-blocked { margin-top: .85rem; }
.taste-blocked > p { margin-bottom: .3rem; }

.must-info { grid-column: 1 / -1; color: #405342; font-size: .78rem; }
.must-info p { margin: .25rem 0; }
.must-info .must-hours { font-weight: 750; color: #224a37; }
.must-info .must-dates,.must-info .must-location { color: #606451; }
.must-info a { display: inline-block; margin-top: .25rem; }
