:root {
  --pine-950: #102c26;
  --pine-900: #17382f;
  --pine-800: #22503f;
  --pine-700: #2f6b50;
  --pine-100: #dce9de;
  --mist: #f2f2f4;
  --paper: #f5f5f7;
  --paper-strong: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.09);
  --clay: #cf6f5d;
  --stream: #4f8ea3;
  --sun: #e6bd59;
  --white: #fff;
  --glass: rgba(255, 255, 255, 0.88);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --control-fill: rgba(242, 242, 244, 0.92);
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.12);
  --shadow-raised: 0 18px 50px rgba(0, 0, 0, 0.16);
  --topbar-height: 64px;
  --drawer-width: 350px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  background: var(--pine-950);
}

body {
  overflow: hidden;
  color: var(--ink);
  background: var(--mist);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(10, 132, 255, .62);
  outline-offset: 2px;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: 100%;
  height: 100dvh;
  min-height: 520px;
}

.topbar {
  position: relative;
  z-index: 1500;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background: rgba(248, 248, 250, .88);
  box-shadow: 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-seal {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pine-900);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 2px 7px rgba(16,44,38,.16);
  font-family: "Songti SC", STSong, serif;
  font-size: 18px;
  font-weight: 600;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--pine-950);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
}

.topbar-actions,
.season-switch {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: 8px;
}

.season-switch {
  gap: 1px;
  padding: 3px;
  border: 0;
  border-radius: 12px;
  background: rgba(118,118,128,.12);
}

.season-button {
  width: 35px;
  height: 29px;
  border: 0;
  border-radius: 999px;
  color: #3a3a3c;
  background: transparent;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.season-button:hover {
  color: var(--pine-800);
}

.season-button.active {
  color: var(--pine-900);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.16), 0 0 0 .5px rgba(0,0,0,.04);
}

body[data-season="spring"] .season-button.active { color: #557c3f; background: var(--white); }
body[data-season="summer"] .season-button.active { color: var(--pine-800); background: var(--white); }
body[data-season="autumn"] .season-button.active { color: #98542d; background: var(--white); }
body[data-season="winter"] .season-button.active { color: #486b80; background: var(--white); }

.header-button {
  min-width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  color: #2c2c2e;
  background: rgba(118,118,128,.10);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.header-button:hover {
  background: rgba(118,118,128,.16);
  transform: translateY(-1px);
}

.map-mode-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-mode-button[aria-pressed="true"] {
  color: var(--white);
  background: var(--pine-900);
  box-shadow: 0 3px 10px rgba(16,44,38,.18);
}

.language-button {
  min-width: 46px;
  color: var(--paper);
  background: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  letter-spacing: .05em;
}

.button-icon {
  font-size: 16px;
}

.map-workspace {
  position: relative;
  height: calc(100dvh - var(--topbar-height));
  overflow: hidden;
  isolation: isolate;
}

.map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #c8d3c7;
  transition: opacity .32s ease;
}

.illustrated-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #e7f1dd;
  transition: opacity .32s ease, visibility 0s linear .32s;
}

body.illustrated-mode .map-canvas {
  opacity: 0;
  pointer-events: none;
}

body.illustrated-mode .illustrated-map-canvas {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.illustrated-mode .season-lens {
  opacity: 0;
}

body.illustrated-mode .layer-control,
body.illustrated-mode .map-style-button,
body.illustrated-mode .map-note,
body.illustrated-mode .season-switch {
  display: none;
}

.illustrated-map-canvas .leaflet-image-layer {
  user-select: none;
}

.illustrated-map-canvas .leaflet-top.leaflet-left {
  top: auto;
  right: 18px;
  bottom: 18px;
  left: auto;
}

.illustrated-map-canvas .leaflet-control-zoom {
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.illustrated-map-canvas .leaflet-control-zoom a {
  width: 42px;
  height: 40px;
  border-color: var(--line);
  color: var(--pine-900);
  background: rgba(255,255,255,.94);
  font: 22px/40px -apple-system, BlinkMacSystemFont, sans-serif;
}

.illustrated-pin-shell {
  border: 0;
  background: transparent;
}

.illustrated-pin {
  position: relative;
  width: 30px;
  height: 38px;
  color: var(--pin-color);
  filter: drop-shadow(0 4px 4px rgba(45,50,35,.22));
}

.illustrated-pin-shape {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 7px;
  background: currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}

.illustrated-pin-shape i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
}

.illustrated-pin-label {
  position: absolute;
  top: -2px;
  left: 29px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 9px;
  color: var(--pine-950);
  background: rgba(255,255,247,.94);
  box-shadow: 0 4px 14px rgba(39,72,35,.13);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.illustrated-pin.is-active .illustrated-pin-shape,
.illustrated-pin:hover .illustrated-pin-shape {
  transform: rotate(-45deg) scale(1.16);
}

.cartoon-marker {
  background: none;
  border: 0;
  display: grid;
  place-items: center;
}
.cartoon-dot {
  width: 13px;
  height: 13px;
  border: 2px solid #fffaf1;
  border-radius: 50%;
  background: var(--pin-color);
  box-shadow: 0 1px 3px #253b3140;
}
.cartoon-label {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 132px;
  padding: 4px 8px;
  border-radius: 12px 8px 12px 7px;
  background: #186b86;
  color: #fffaf1;
  font: 600 11px/1.35 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  text-align: center;
  box-shadow: 0 1px 2px #284c3520;
}
.cartoon-marker:focus-visible { outline: 3px solid #186b86; border-radius: 50%; }
.cartoon-notice { display: none; }
body.cartoon-mode .illustrated-map-canvas { background: #fff3e5; }
body.cartoon-mode .cartoon-notice {
  display: block;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 405;
  padding: 4px 9px;
  border-radius: 9px;
  background: #fffaf1e8;
  color: #4b6351;
  font-size: 10px;
  white-space: nowrap;
  pointer-events: none;
}
#cartoonMapButton { white-space: nowrap; background: #e4efdb; color: #244c36; }
#cartoonMapButton[aria-pressed="true"] { background: #244c36; color: white; }
body.cartoon-mode .illustrated-map-canvas .leaflet-top.leaflet-left { right: 90px; }
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; height: auto; min-height: 64px; }
  .topbar-actions { gap: 5px; }
  #cartoonMapButton { width: auto; font-size: 12px; padding: 0 10px; min-height: 38px; }
  .topbar .brand-copy strong { max-width: 86px; }
  .topbar .brand-copy { display: none; }
  body.cartoon-mode .map-intro { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .illustrated-map-canvas { transition: none; }
}
.illustrated-route-line {
  filter: drop-shadow(0 1px 2px rgba(45,85,43,.65));
}

.season-lens {
  position: absolute;
  inset: 0;
  z-index: 410;
  pointer-events: none;
  transition: background .65s ease, opacity .65s ease;
}

body[data-season="spring"] .map-canvas .leaflet-tile-pane { filter: saturate(1.08) hue-rotate(5deg) brightness(1.04); }
body[data-season="summer"] .map-canvas .leaflet-tile-pane { filter: saturate(1.16) brightness(1.01); }
body[data-season="autumn"] .map-canvas .leaflet-tile-pane { filter: sepia(.22) saturate(1.24) hue-rotate(-10deg) brightness(1.01); }
body[data-season="winter"] .map-canvas .leaflet-tile-pane { filter: saturate(.64) brightness(1.08) contrast(.94) hue-rotate(7deg); }
body[data-season="spring"] .season-lens { background: rgba(156, 199, 107, .11); mix-blend-mode: soft-light; }
body[data-season="summer"] .season-lens { background: rgba(36, 122, 75, .07); mix-blend-mode: soft-light; }
body[data-season="autumn"] .season-lens { background: rgba(215, 133, 47, .13); mix-blend-mode: soft-light; }
body[data-season="winter"] .season-lens { background: rgba(162, 193, 213, .14); mix-blend-mode: soft-light; }

.map-intro {
  position: absolute;
  z-index: 700;
  top: 22px;
  left: calc(var(--drawer-width) + 38px);
  max-width: 440px;
  padding: 15px 18px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  color: var(--ink);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
}

.map-intro-toggle {
  display: none;
}

.map-intro-content {
  display: block;
}

.map-intro-eyebrow,
.drawer-kicker,
.section-title span,
.detail-meta > span {
  display: block;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-intro-eyebrow {
  color: var(--pine-700);
}

.map-intro h1 {
  margin: 6px 0 3px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.map-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.place-drawer {
  position: absolute;
  z-index: 800;
  inset: 18px auto 18px 18px;
  width: var(--drawer-width);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-raised);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.drawer-grip {
  display: none;
}

.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 18px 12px;
}

.drawer-kicker {
  color: var(--pine-700);
}

.drawer-heading h2 {
  margin: 4px 0 0;
  color: var(--pine-950);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.15;
}

.place-count {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--pine-900);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 650;
}

.drawer-body {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.search-box {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 14px 11px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 15px;
  background: rgba(118,118,128,.08);
}

.search-box:focus-within {
  border-color: rgba(47,107,80,.48);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(47,107,80,.1);
}

.search-box svg {
  width: 17px;
  fill: none;
  stroke: #636366;
  stroke-width: 1.7;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #9aa29d;
}

.category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 15px 12px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #3a3a3c;
  background: rgba(118,118,128,.09);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.category-tab.active {
  color: var(--pine-900);
  border-color: var(--pine-800);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.place-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 2px 12px 18px;
  overscroll-behavior: contain;
}

.place-list::-webkit-scrollbar,
.detail-scroll::-webkit-scrollbar {
  width: 7px;
}

.place-list::-webkit-scrollbar-thumb,
.detail-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(47,107,80,.28);
  background-clip: padding-box;
}

.place-card {
  width: 100%;
  display: grid;
  grid-template-columns: 68px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease;
}

.place-card:hover,
.place-card.active {
  background: rgba(118,118,128,.09);
}

.place-card-image {
  width: 68px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--pine-100);
}

.place-card-copy {
  min-width: 0;
}

.place-card-category {
  display: block;
  margin-bottom: 3px;
  color: var(--clay);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.place-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-card small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-card-arrow {
  color: var(--pine-700);
  font-size: 18px;
}

.empty-list {
  padding: 30px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.map-tools {
  position: absolute;
  z-index: 700;
  right: 18px;
  bottom: 54px;
  display: grid;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 20px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.map-tools button {
  min-width: 86px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  color: #2c2c2e;
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.map-tools button:hover {
  background: rgba(118,118,128,.10);
}

.map-tools button[aria-pressed="true"] {
  color: var(--white);
  background: var(--pine-900);
}

.map-tools svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-control {
  position: absolute;
  z-index: 900;
  top: 18px;
  right: 72px;
}

.layer-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 16px;
  color: #2c2c2e;
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.layer-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-button[aria-expanded="true"] {
  color: var(--white);
  border-color: var(--pine-900);
  background: var(--pine-900);
}

.layer-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 244px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-raised);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.layer-menu[hidden] {
  display: none;
}

.layer-menu-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
}

.layer-menu-heading span {
  color: var(--pine-950);
  font-size: 17px;
  font-weight: 650;
}

.layer-menu-heading small,
.layer-menu > p {
  color: var(--muted);
  font-size: 8px;
}

.layer-menu > p {
  margin: 10px 3px 1px;
  line-height: 1.6;
}

.layer-option {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.layer-option-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 650;
}

.layer-option-icon.toilet { color: #31768b; background: rgba(79,142,163,.14); }
.layer-option-icon.food { color: #a94f40; background: rgba(207,111,93,.14); }

.layer-option strong,
.layer-option small {
  display: block;
}

.layer-option strong {
  color: var(--ink);
  font-size: 11px;
}

.layer-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.layer-option i {
  position: relative;
  width: 28px;
  height: 17px;
  border-radius: 999px;
  background: #cdd5cf;
  transition: background .2s ease;
}

.layer-option i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(16,44,38,.25);
  transition: transform .2s ease;
}

.layer-option[aria-pressed="true"] i { background: #34c759; }
.layer-option[aria-pressed="true"] i::after { transform: translateX(11px); }

.amenity-pin-shell {
  background: none !important;
  border: 0 !important;
}

.amenity-pin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 12px 12px 12px 3px;
  color: var(--white);
  background: var(--stream);
  box-shadow: 0 7px 16px rgba(16,44,38,.3);
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.amenity-pin.food { background: var(--clay); }
.amenity-pin span { transform: rotate(45deg); }

.amenity-popup strong,
.amenity-popup small {
  display: block;
}

.amenity-popup strong {
  color: var(--pine-950);
  font-size: 13px;
}

.amenity-popup p {
  max-width: 210px;
  margin: 6px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.amenity-popup small {
  color: var(--pine-700);
  font-size: 8px;
}

.map-note {
  position: absolute;
  z-index: 700;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(16,44,38,.78);
  font-size: 9px;
  backdrop-filter: blur(10px);
}

.map-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
}

.leaflet-control-zoom {
  margin-top: 18px !important;
  margin-right: 18px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-soft) !important;
}

.leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  border-bottom-color: var(--line) !important;
  color: #2c2c2e !important;
  background: var(--glass-strong) !important;
  font-size: 20px !important;
  line-height: 38px !important;
}

.leaflet-control-attribution {
  padding: 2px 5px !important;
  color: rgba(36,49,43,.74) !important;
  background: rgba(255,255,255,.72) !important;
  font-size: 8px !important;
}

.leaflet-marker-pane,
.leaflet-overlay-pane,
.leaflet-control-container {
  filter: none !important;
}

.map-pin-shell {
  background: none !important;
  border: 0 !important;
}

.map-pin {
  position: relative;
  width: 30px;
  height: 38px;
  display: grid;
  place-items: start center;
  transform-origin: 50% 9px;
  transition: transform .2s ease;
}

.map-pin:hover,
.map-pin.is-active {
  transform: scale(1.16);
}

.map-pin-shape {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background: var(--pin-color, var(--pine-700));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.32),
    0 2px 6px rgba(16,44,38,.35);
}

.map-pin-shape::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  content: "";
  transform: translate(-50%, -50%);
}

.map-pin.is-active .map-pin-shape {
  box-shadow:
    0 0 0 3px rgba(255,255,255,.48),
    0 3px 8px rgba(16,44,38,.4);
}

.map-pin-label {
  position: absolute;
  top: 24px;
  left: 50%;
  max-width: 132px;
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 9px;
  color: var(--ink);
  background: var(--glass-strong);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
  backdrop-filter: saturate(180%) blur(14px);
}

.map-zoomed-out .map-pin-label {
  display: none;
}

.map-zoomed-out .map-pin.is-active .map-pin-label {
  display: block;
}

.route-line {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(16,44,38,.35));
  animation: route-flow 22s linear infinite;
}

@keyframes route-flow {
  to { stroke-dashoffset: -100; }
}

.panel-mask {
  position: fixed;
  z-index: 2100;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,.26);
  backdrop-filter: blur(5px);
  transition: opacity .28s ease;
}

.panel-mask.show {
  opacity: 1;
  pointer-events: auto;
}

.detail-panel {
  position: fixed;
  z-index: 2200;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(470px, 94vw);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: -18px 0 54px rgba(0,0,0,.22);
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
}

.detail-panel.open {
  transform: translateX(0);
}

.detail-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(28,28,30,.64);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: saturate(180%) blur(16px);
}

.detail-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-hero {
  position: relative;
  height: 310px;
  margin: 0;
  overflow: hidden;
  background: var(--pine-100);
}

.detail-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(10,29,24,.18) 55%, rgba(10,29,24,.88));
}

.detail-hero figcaption {
  position: absolute;
  inset: auto 26px 25px;
  color: var(--white);
}

.detail-category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.detail-hero h2 {
  margin: 10px 0 6px;
  font-size: clamp(29px, 4vw, 40px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.detail-hero p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  line-height: 1.6;
}

.detail-content {
  padding: 24px 27px max(30px, env(safe-area-inset-bottom));
}

.detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
}

.detail-meta > span {
  color: var(--muted);
}

.detail-meta strong {
  color: var(--pine-800);
  font-size: 12px;
}

.detail-copy {
  margin: 22px 0 0;
  color: #4e5d55;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.detail-gallery {
  margin-top: 32px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.point-journey {
  margin-top: 32px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.point-journey .section-title h3 {
  margin-bottom: 14px;
}

.journey-mode-strip {
  display: block;
}

.journey-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  border-radius: 15px;
  background: #f2f2f4;
}

.journey-mode-mini {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 0;
  border-radius: 11px;
  color: #636366;
  background: transparent;
  cursor: pointer;
}

.journey-mode-mini svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-mode-mini span {
  font-size: 10px;
  font-weight: 600;
}

.journey-mode-mini.active {
  color: var(--pine-900);
  background: var(--white);
  box-shadow: 0 1px 5px rgba(0,0,0,.13);
}

.journey-mode-result {
  position: relative;
  margin-top: 9px;
  padding: 13px 70px 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7f7f9;
}

.journey-mode-result span,
.journey-mode-result strong {
  display: block;
}

.journey-mode-result span {
  color: var(--muted);
  font-size: 9px;
}

.journey-mode-result strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.journey-mode-result small {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--pine-700);
  font-size: 11px;
  font-weight: 600;
  transform: translateY(-50%);
}

.journey-elevation {
  margin-top: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #4e5d55;
  background: var(--mist);
  font-size: 10px;
  line-height: 1.6;
}

.journey-open {
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  border: 0;
  border-radius: 14px;
  color: var(--pine-800);
  background: rgba(47,107,80,.10);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.route-panel {
  position: fixed;
  z-index: 2250;
  inset: 0 0 0 auto;
  width: min(500px, 96vw);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: -18px 0 54px rgba(0,0,0,.22);
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
}

.route-panel.open { transform: translateX(0); }

.route-panel-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 50%;
  color: #3a3a3c;
  background: rgba(255,255,255,.86);
  font-size: 25px;
  cursor: pointer;
  backdrop-filter: saturate(180%) blur(16px);
}

.route-panel-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.route-panel-hero {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  padding: 38px 32px 28px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f7f7f9);
}

.route-contours {
  position: absolute;
  inset: 0;
  opacity: .08;
}

.route-contours svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--pine-700);
  stroke-width: 1.2;
}

.route-panel-hero > span,
.route-panel-hero > h2,
.route-panel-hero > p {
  position: relative;
}

.route-panel-hero > span,
.route-section-heading > div > span {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-panel-hero > span { color: var(--pine-700); }

.route-panel-hero h2 {
  margin: 8px 0 7px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.08;
}

.route-panel-hero p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.route-panel-content {
  padding: 23px 27px max(34px, env(safe-area-inset-bottom));
}

.route-selectors {
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  align-items: end;
  gap: 7px;
}

.route-selectors label > span {
  display: block;
  margin: 0 0 6px 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.route-selectors select {
  width: 100%;
  height: 45px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: #f2f2f4;
  font-size: 10px;
  font-weight: 700;
}

.route-selectors select:focus { border-color: var(--pine-700); }

.route-swap {
  width: 38px;
  height: 45px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--pine-700);
  background: #f2f2f4;
  font-size: 18px;
  cursor: pointer;
}

.route-mode-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 16px;
  padding: 4px;
  border-radius: 15px;
  background: #f2f2f4;
}

.route-mode-card {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: #636366;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

.route-mode-card.active {
  color: var(--pine-900);
  background: var(--white);
  box-shadow: 0 1px 5px rgba(0,0,0,.13);
}

.route-mode-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-mode-card span { font-size: 10px; font-weight: 600; }

.route-readout {
  margin-top: 11px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f7f9;
}

.route-readout-top {
  position: relative;
  display: block;
}

.route-readout-summary small,
.route-readout-summary strong,
.route-readout-summary b {
  display: block;
}

.route-readout-summary small {
  color: var(--muted);
  font-size: 9px;
}

.route-readout-summary strong {
  margin-top: 3px;
  color: var(--pine-950);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.route-readout-summary b {
  max-width: calc(100% - 100px);
  margin-top: 4px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-readout-top > span {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--pine-800);
  background: rgba(255,255,255,.7);
  font-size: 8px;
  font-weight: 600;
}

.route-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.route-stat {
  min-height: 62px;
  padding: 10px;
  background: rgba(255,255,255,.8);
}

.route-stat span,
.route-stat strong { display: block; }
.route-stat span { color: var(--muted); font-size: 8px; }
.route-stat strong { margin-top: 5px; color: var(--pine-800); font-size: 11px; line-height: 1.35; }

.route-access-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.all-destinations {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.route-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.route-section-heading > div > span { color: var(--clay); }
.route-section-heading h3 { margin: 4px 0 0; color: var(--pine-950); font-size: 24px; font-weight: 650; }

.route-table-legend {
  display: none;
}

.destination-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-strong);
}

.destination-row {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0;
  padding: 0 8px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.destination-row:last-child { border-bottom: 0; }
.destination-row:hover,
.destination-row.active { background: var(--mist); }

.destination-row strong {
  overflow: hidden;
  padding-right: 8px;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination-row span {
  color: var(--pine-700);
  font-size: 20px;
  text-align: center;
}

.route-data-note {
  margin: 16px 2px 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
}

.analysis-route-line {
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(16,44,38,.4));
}

.section-title span {
  color: var(--clay);
}

.section-title h3 {
  margin: 5px 0 15px;
  color: var(--pine-950);
  font-size: 26px;
  font-weight: 650;
}

.gallery-list {
  display: grid;
  gap: 13px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-strong);
}

.gallery-card img {
  width: 100%;
  height: 185px;
  display: block;
  object-fit: cover;
}

.gallery-card-copy {
  padding: 13px 14px 15px;
}

.gallery-card strong {
  color: var(--pine-800);
  font-size: 17px;
  font-weight: 650;
}

.gallery-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.primary-action {
  color: var(--white);
  background: var(--pine-900);
  box-shadow: 0 5px 14px rgba(16,44,38,.16);
}

.secondary-action {
  border: 0;
  color: var(--pine-800);
  background: #f2f2f4;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 3000;
  left: 50%;
  bottom: 26px;
  max-width: min(380px, calc(100vw - 36px));
  padding: 10px 16px;
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  color: var(--white);
  background: rgba(28,28,30,.94);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  text-align: center;
  transform: translate(-50%, 18px);
  transition: opacity .24s ease, transform .24s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  :root {
    --topbar-height: 64px;
  }

  .topbar {
    padding: 0 13px;
  }

  .brand-seal {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small,
  .map-style-button span:not(.button-icon),
  .map-mode-button span {
    display: none;
  }

  .header-button {
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .season-switch {
    gap: 0;
  }

  .season-button {
    width: 31px;
    height: 30px;
    font-size: 11px;
  }

  .map-intro {
    top: 12px;
    right: auto;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 84px);
    padding: 0;
    border-radius: 16px;
  }

  .map-intro-toggle {
    min-width: 178px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 0;
    border-radius: inherit;
    color: var(--pine-950);
    background: transparent;
    cursor: pointer;
  }

  .map-intro-toggle span {
    font-size: 11px;
    font-weight: 650;
  }

  .map-intro-toggle svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
  }

  .map-intro-content {
    display: none;
    padding: 13px 14px 14px;
    border-top: 1px solid var(--line);
  }

  .map-intro.open {
    width: min(340px, calc(100vw - 84px));
  }

  .map-intro.open .map-intro-content {
    display: block;
  }

  .map-intro.open .map-intro-toggle svg {
    transform: rotate(180deg);
  }

  .map-intro h1 {
    margin: 4px 0 1px;
    font-size: 20px;
  }

  .map-intro p {
    display: none;
  }

  .map-intro.open p {
    display: block;
    margin-top: 6px;
  }

  .map-intro-eyebrow {
    font-size: 8px;
  }

  .place-drawer {
    inset: auto auto max(14px, env(safe-area-inset-bottom)) 12px;
    width: 154px;
    height: 52px;
    border-width: 1px;
    border-radius: 17px;
    box-shadow: 0 8px 26px rgba(0,0,0,.16);
    transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), border-radius .3s ease;
  }

  .place-drawer.open {
    inset: auto 0 0;
    width: auto;
    height: min(71dvh, 640px);
    border-width: 1px 0 0;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 34px rgba(0,0,0,.14);
  }

  .drawer-grip {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .drawer-grip > span:not(.sr-only) {
    display: none;
  }

  .place-drawer.open .drawer-grip {
    position: relative;
    inset: auto;
    height: 22px;
  }

  .place-drawer.open .drawer-grip > span:not(.sr-only) {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(60,60,67,.22);
  }

  .drawer-heading {
    height: 100%;
    padding: 0 11px 0 14px;
    pointer-events: none;
  }

  .drawer-heading h2 {
    margin: 0;
    font-size: 15px;
  }

  .drawer-kicker {
    display: none;
  }

  .place-count {
    min-width: 28px;
    height: 28px;
    font-size: 9px;
  }

  .drawer-body {
    position: relative;
    display: none;
  }

  .place-drawer.open .drawer-heading {
    height: auto;
    padding: 1px 14px 7px;
  }

  .place-drawer.open .drawer-heading h2 {
    margin-top: 2px;
    font-size: 19px;
  }

  .place-drawer.open .place-count {
    min-width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .place-drawer.open .drawer-body {
    display: flex;
  }

  .search-box,
  .category-tabs {
    display: none;
  }

  .place-drawer.open .search-box {
    display: flex;
    flex: 0 0 46px;
    margin-bottom: 8px;
  }

  .place-drawer.open .category-tabs {
    display: flex;
    flex: 0 0 auto;
    padding-bottom: 8px;
  }

  .place-list {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .place-list::-webkit-scrollbar {
    display: none;
  }

  .place-drawer.open .place-list {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    scroll-snap-type: none;
  }

  .place-card {
    min-width: 254px;
    flex: 0 0 254px;
    grid-template-columns: 58px 1fr 17px;
    gap: 9px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f7f7f9;
    scroll-snap-align: start;
  }

  .place-drawer.open .place-card {
    width: 100%;
    min-width: 0;
    margin-bottom: 3px;
    border-width: 0 0 1px;
    background: transparent;
  }

  .place-card-image {
    width: 58px;
    height: 48px;
  }

  .place-card small {
    display: none;
  }

  .place-drawer.open .place-card small {
    display: block;
  }

  .map-tools {
    top: 128px;
    right: 10px;
    bottom: auto;
  }

  body.illustrated-mode .map-tools {
    top: 76px;
  }

  .illustrated-pin-label {
    display: none;
  }

  .illustrated-pin,
  .illustrated-pin-shape {
    width: 18px;
    height: 18px;
  }

  .illustrated-pin-shape {
    border-width: 2px;
    border-radius: 50%;
    transform: none;
  }

  .illustrated-pin-shape i {
    width: 5px;
    height: 5px;
  }

  .illustrated-pin.is-active .illustrated-pin-shape,
  .illustrated-pin:hover .illustrated-pin-shape {
    transform: scale(1.16);
  }

  .map-tools button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .map-tools button span {
    display: none;
  }

  .map-tools svg {
    width: 18px;
  }

  .map-note {
    display: none;
  }

  .layer-control {
    top: 76px;
    right: 10px;
  }

  .layer-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }

  .layer-button span {
    display: none;
  }

  .layer-menu {
    width: min(244px, calc(100vw - 20px));
  }

  .leaflet-control-zoom {
    display: none;
  }

  .leaflet-control-attribution {
    bottom: 4px !important;
    max-width: 68vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .place-drawer.open ~ .leaflet-control-attribution {
    display: none;
  }

  .detail-panel {
    top: auto;
    left: 0;
    width: 100%;
    height: min(86dvh, 820px);
    border-radius: 26px 26px 0 0;
    transform: translateY(105%);
  }

  .detail-panel.open {
    transform: translateY(0);
  }

  .route-panel {
    top: auto;
    left: 0;
    width: 100%;
    height: min(92dvh, 880px);
    border-radius: 26px 26px 0 0;
    transform: translateY(105%);
  }

  .route-panel.open {
    transform: translateY(0);
  }

  .detail-hero {
    height: 280px;
  }

  .detail-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .route-panel-hero {
    min-height: 164px;
    padding: 31px 22px 22px;
  }

  .route-panel-hero h2 {
    font-size: 27px;
  }

  .route-panel-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .toast {
    bottom: 80px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    padding-left: 10px;
    padding-right: 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-copy strong {
    max-width: 100px;
    font-size: 13px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .season-switch {
    padding: 2px;
  }

  .season-button {
    width: 27px;
    height: 28px;
    font-size: 10px;
  }

  .map-style-button {
    display: none;
  }

  .language-button {
    width: 38px;
    min-width: 38px;
  }

  .map-intro {
    right: auto;
  }

  .map-pin-label {
    display: none;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-hero figcaption {
    right: 20px;
    left: 20px;
  }
}

@media (max-height: 650px) and (min-width: 901px) {
  .place-drawer {
    top: 10px;
    bottom: 10px;
  }

  .drawer-heading {
    padding-top: 14px;
  }

  .map-intro {
    top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
