.intro-row h1 {
  letter-spacing: -0.035em;
  line-height: 0.94;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .intro-row {
    align-items: flex-start;
  }

  .intro-row h1 {
    font-size: clamp(2.6rem, 4.7vw, 4rem);
    letter-spacing: -0.025em;
  }

  .updated {
    padding-top: 8px;
  }
}

.maplibre-host {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #071820;
}

.maplibregl-map {
  font-family: inherit;
  background: #071820;
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(3, 9, 13, 0.35);
}

.map-preview {
  z-index: 800;
  width: min(300px, calc(100% - 28px));
  left: 14px;
  bottom: 14px;
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: opacity .16s ease, transform .16s ease;
}

.map-preview[hidden] {
  display: none;
}

.map-preview .map-preview-inner {
  grid-template-columns: 88px 1fr;
}

.map-preview img {
  width: 88px;
  height: 104px;
}

.map-preview .map-preview-copy {
  padding: 11px 13px;
}

.map-preview .map-preview-copy h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.map-preview .map-preview-copy p {
  margin: 3px 0;
  font-size: .74rem;
}

.map-key {
  position: absolute;
  z-index: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.map-key-mini {
  top: 14px;
  left: 14px;
}

.map-key-full {
  top: 18px;
  left: 18px;
}

.map-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.map-key b,
.map-key small {
  font-size: .72rem;
  line-height: 1;
}

.map-key b {
  font-weight: 750;
}

.map-key small {
  color: var(--muted);
}

.map-key-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #f5f0e6;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
}

.map-key-route {
  width: 22px;
  height: 0;
  border-top: 3px solid var(--orange);
  border-radius: 99px;
}

.map-key-selected {
  width: 11px;
  height: 11px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: #082e36;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
}

.maplibregl-ctrl-bottom-right {
  z-index: 600;
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  background: transparent !important;
}

.maplibregl-ctrl-group button {
  width: 40px !important;
  height: 38px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: color-mix(in srgb, var(--panel) 94%, transparent) !important;
  color: var(--text) !important;
  backdrop-filter: blur(12px);
}

.maplibregl-ctrl-group button:last-child {
  border-bottom: 0 !important;
}

.maplibregl-ctrl button .maplibregl-ctrl-icon {
  filter: invert(1) brightness(1.6);
}

.maplibregl-ctrl-attrib {
  padding: 2px 6px !important;
  background: color-mix(in srgb, var(--panel) 76%, transparent) !important;
  color: var(--muted) !important;
  font-size: 10px !important;
  backdrop-filter: blur(8px);
}

.maplibregl-ctrl-attrib a {
  color: var(--muted) !important;
}

.venue-map-marker {
  position: relative;
  width: 34px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.marker-shape {
  position: absolute;
  left: 5px;
  top: 4px;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(235, 255, 255, 0.92);
  border-radius: 50% 50% 50% 0;
  background: var(--cyan);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
  transform: rotate(-45deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.marker-shape i {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #082e36;
}

.venue-map-marker.selected .marker-shape {
  transform: rotate(-45deg) scale(1.2);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--cyan) 20%, transparent), 0 8px 22px rgba(0, 0, 0, 0.5);
}

.venue-map-marker:hover .marker-shape {
  transform: rotate(-45deg) scale(1.12);
}

html[data-theme="light"] .map-canvas::after {
  box-shadow: inset 0 0 70px rgba(44, 57, 60, 0.12);
}

html[data-theme="light"] .maplibre-host,
html[data-theme="light"] .maplibregl-map {
  background: #e8ece7;
}

html[data-theme="light"] .maplibregl-ctrl button .maplibregl-ctrl-icon {
  filter: none;
}

html[data-theme="light"] .results-rail {
  background: var(--panel);
}

.brand b {
  color: inherit;
}

.moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }
#themeToggle:disabled { cursor: wait; opacity: .65; }

.saved-button b {
  background: var(--cyan);
  color: #06242a;
}

.maplibre-host,
.maplibregl-map {
  background:
    radial-gradient(circle at 63% 43%, rgba(32, 88, 102, 0.13), transparent 35%),
    #071820;
}

.map-error {
  padding: 18px;
  color: var(--muted);
}

.full-map-view {
  grid-template-columns: clamp(440px, 28vw, 500px) minmax(0, 1fr);
}

.results-rail {
  background: #091820;
}

.rail-controls {
  position: sticky;
  z-index: 9;
  top: -26px;
  margin: -26px -20px 0;
  padding: 26px 20px 10px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, #091820 96%, transparent);
  backdrop-filter: blur(16px);
}

.full-map-view:not(.route-mode) .rail-item {
  grid-template-columns: 66px 1fr;
  gap: 10px;
  padding: 10px 0;
}

.full-map-view:not(.route-mode) .rail-item img {
  width: 66px;
  height: 60px;
}

.full-map-view:not(.route-mode) .rail-item h3 {
  margin: 0 0 3px;
  font-size: .94rem;
}

.rail-rating .venue-rating {
  gap: 5px;
  margin: 3px 0 4px;
  font-size: .68rem;
}

.rail-rating .venue-rating i {
  display: none;
}

.full-map-view .map-filters .filter.active {
  border-color: color-mix(in srgb, var(--cyan) 70%, var(--line));
  background: color-mix(in srgb, var(--cyan) 8%, transparent);
}

.full-map-view + .mobile-nav button.active,
body:has(.full-map-view:not(.hidden)) .mobile-nav button.active {
  color: var(--cyan);
}

@media (min-width: 761px) and (max-width: 1050px) {
  .full-map-view { grid-template-columns: minmax(340px, 42vw) minmax(0, 1fr); }
}

.map-preview-full {
  left: 18px;
  right: auto;
  top: auto;
  bottom: 18px;
  width: min(340px, calc(100% - 36px));
}

.map-preview-full .map-preview-inner {
  grid-template-columns: 104px 1fr;
}

.map-preview-full img {
  width: 104px;
  height: 112px;
}

.map-preview-full .map-preview-copy {
  padding: 12px 14px;
}

.map-preview-full .map-preview-copy h3 {
  font-size: 1.08rem;
}

.map-preview-full .map-preview-copy p {
  margin: 4px 0;
  font-size: .78rem;
}

.map-preview-full .map-preview-copy button {
  padding-top: 7px;
}

@media (max-width: 760px) {
  .rail-controls {
    position: static;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .maplibregl-ctrl-attrib {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .map-preview-full {
    top: 82px;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .map-preview-full .map-preview-inner {
    grid-template-columns: 90px 1fr;
  }

  .map-preview-full img {
    width: 90px;
    height: 118px;
  }

  .map-key-mini {
    display: none;
  }

  .map-key-full {
    top: 82px;
    left: 12px;
    right: 12px;
    max-width: none;
    justify-content: center;
  }

  .map-key-full small {
    display: none;
  }
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 2px 10px;
  color: var(--muted);
  font-size: .78rem;
}

.filter:hover,
.filter.active {
  border-color: color-mix(in srgb, var(--cyan) 70%, var(--line));
  background: color-mix(in srgb, var(--cyan) 9%, transparent);
  color: var(--text);
}

.decision-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.decision-filters::-webkit-scrollbar { display: none; }

.area-control {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel2);
}

.area-control span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.area-control select {
  min-width: 150px;
  height: 34px;
  padding: 0 27px 0 7px;
  border: 0;
  color: var(--text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239aa8ae' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 6px center;
  appearance: none;
  font-size: .875rem;
  font-weight: 750;
  cursor: pointer;
}

.smart-filter,
.clear-filters {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.smart-filter:hover,
.smart-filter.active {
  border-color: color-mix(in srgb, var(--cyan) 70%, var(--line));
  color: var(--text);
  background: color-mix(in srgb, var(--cyan) 9%, transparent);
}

.clear-filters {
  border-color: transparent;
  color: var(--orange);
}

.decision-filters-rail {
  flex-wrap: wrap;
  margin: -4px 0 10px;
  overflow: visible;
}

.decision-filters-rail .area-control {
  width: 100%;
  justify-content: space-between;
}

.decision-filters-rail .area-control select {
  min-width: 0;
  width: 100%;
}

.venue-live,
.dialog-live,
.preview-live,
.rail-live {
  color: var(--muted);
  font-weight: 750;
}

.venue-live {
  width: fit-content;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1;
}

.venue-live-open,
.dialog-live-open,
.preview-live-open,
.rail-live-open {
  color: var(--green);
}

.venue-live-open {
  border-color: color-mix(in srgb, var(--green) 54%, var(--line));
  background: color-mix(in srgb, var(--green) 8%, transparent);
}

.venue-live-closed,
.dialog-live-closed,
.preview-live-closed,
.rail-live-closed {
  color: color-mix(in srgb, var(--muted) 85%, var(--text));
}

.venue-live-unknown,
.dialog-live-unknown,
.preview-live-unknown,
.rail-live-unknown {
  color: var(--orange);
}

.dialog-live {
  margin: 12px 0 20px;
  font-size: .92rem;
}

.preview-live {
  margin: 5px 0 !important;
}

.rail-live {
  margin-bottom: 5px !important;
  font-size: .72rem !important;
}

.language-picker select {
  height: 42px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239aa8ae' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  font-weight: 800;
  cursor: pointer;
}

.google-map-block {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel2);
}

.google-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.google-map-head strong { font-size: .9rem; }
.google-map-head span { color: var(--muted); font-size: .75rem; }

.google-map-frame {
  display: block;
  width: 100%;
  height: 290px;
  border: 0;
  background: #0b1c24;
}

.catalog-meta span:first-child {
  color: var(--text);
  font-weight: 750;
}


.photo-wrap,
.dialog-photo,
.map-preview-photo,
.rail-photo {
  position: relative;
  min-width: 0;
}

.map-preview-photo,
.rail-photo {
  margin: 0;
}

.photo-credit {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  max-width: calc(100% - 14px);
  padding: 3px 6px;
  overflow: hidden;
  color: rgba(255,255,255,.92);
  background: rgba(4,8,10,.68);
  border-radius: 6px;
  font-size: .58rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.photo-credit[hidden] { display: none; }

.rail-photo .photo-credit {
  right: 4px;
  bottom: 4px;
  max-width: calc(100% - 8px);
  padding: 2px 4px;
  font-size: .48rem;
}

.route-photo-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 3px 6px;
  overflow: hidden;
  color: rgba(255,255,255,.82);
  background: rgba(4,8,10,.58);
  border-radius: 6px;
  font-size: .56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

[data-photo-id] {
  transition: opacity .22s ease, filter .22s ease;
}

[data-photo-id].photo-swapping {
  opacity: .72;
  filter: blur(4px) saturate(.8);
}

.photo-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px;
  color: #fff;
  background: rgba(4,8,10,.58);
  backdrop-filter: blur(10px);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.featured .photo-wrap {
  height: 100%;
}

.card-type {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cue-warn {
  border-color: color-mix(in srgb,var(--orange) 70%,var(--line));
  color: var(--orange);
}

.load-more {
  display: block;
  width: min(340px,100%);
  margin: 28px auto 0;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--panel2);
  font-weight: 800;
  cursor: pointer;
}

.load-more:hover {
  border-color: var(--orange);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 22px 0;
}

.detail-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel2);
}

.detail-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.detail-grid strong,
.detail-grid a {
  color: var(--text);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.hours-detail strong {
  display: block;
  margin-bottom: 8px;
}

.schedule-toggle {
  display: inline-flex;
  padding: 0;
  border: 0;
  color: var(--orange);
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}

.schedule-details {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.schedule-details small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.schedule-details[hidden] {
  display: none;
}

.visit-costs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.visit-costs[hidden] {
  display: none;
}

.visit-costs > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel2) 88%, transparent);
}

.visit-costs span,
.visit-costs strong,
.visit-costs small {
  display: block;
}

.visit-costs span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visit-costs strong {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.35;
}

.visit-costs small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
}

.rating-star {
  color: var(--orange);
}

.google-attribution {
  display: inline !important;
  color: var(--muted);
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: underline;
  text-transform: none;
  white-space: nowrap;
}

.venue-rating {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: 10px;
  color: var(--muted);
  font-size: .72rem;
  text-decoration: none;
}

.venue-rating b {
  color: var(--orange);
  font-size: .84rem;
}

.venue-rating i {
  color: var(--muted);
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.route-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: 14px;
  color: #17110c;
  background: var(--orange);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--orange) 18%, transparent);
}

.venue-dialog .dialog-live {
  display: none;
}

.venue-card.featured .primary-button {
  margin-top: 28px;
}

.facts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.facts-list span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: .8rem;
}

.facts-list b { color: var(--text); }

.source-note {
  color: var(--muted);
  font-size: .8rem;
}

.dialog-actions {
  align-items: stretch;
  flex-wrap: wrap;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: var(--panel2);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 750;
}

.detail-link:first-child {
  border-color: var(--orange);
  color: #16110c;
  background: var(--orange);
}

.rail-note {
  padding: 18px 0;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.decision-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--orange) 65%, var(--line));
  border-radius: 14px;
  color: #17110c;
  background: var(--orange);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--orange) 18%, transparent);
}

.decision-button small {
  padding-left: 14px;
  border-left: 1px solid rgba(0,0,0,.22);
  font-size: .75rem;
  font-weight: 750;
  opacity: .72;
}

.collection-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-card,
.collection-card-large {
  min-height: 210px;
  border: 1px solid color-mix(in srgb, var(--cyan) 18%, var(--line));
  background-image:
    linear-gradient(180deg, rgba(3,8,11,.06) 12%, rgba(3,8,11,.92) 100%),
    var(--collection-photo, var(--collection-fallback));
  background-position: center;
  background-size: cover;
}

.route-card {
  position: relative;
  --collection-fallback: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?q=85&w=1200&auto=format&fit=crop');
}
.route-card-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 850;
}
.route-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.collection-open {
  --collection-fallback: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=85&w=1200&auto=format&fit=crop');
}

.collection-late {
  --collection-fallback: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?q=85&w=1200&auto=format&fit=crop');
}

.collection-old {
  --collection-fallback: url('https://images.unsplash.com/photo-1506157786151-b8491531f063?q=85&w=1200&auto=format&fit=crop');
}

.collection-terrace {
  --collection-fallback: url('https://images.unsplash.com/photo-1572116469696-31de0f17cc34?q=85&w=1200&auto=format&fit=crop');
}

.decision-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.decision-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.decision-dialog-body { padding: 34px; }
.decision-dialog h2 { margin: 0; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.05em; }
.decision-copy { max-width: 560px; margin: 10px 0 28px; color: var(--muted); }
.decision-dialog fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.decision-dialog legend { margin-bottom: 11px; font-weight: 850; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span {
  display: block;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--panel2);
  font-size: .9rem;
  font-weight: 750;
}
.choice-row input:checked + span { border-color: var(--cyan); color: var(--text); background: color-mix(in srgb, var(--cyan) 10%, var(--panel2)); }
.wizard-select select {
  width: min(360px, 100%);
  height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: var(--panel2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239aa8ae' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  font-weight: 750;
}
.decision-submit { width: 100%; margin-top: 2px; }
.decision-results { display: grid; gap: 9px; margin-top: 22px; }
.decision-result {
  display: grid;
  grid-template-columns: 32px 68px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: var(--panel2);
  text-align: left;
  cursor: pointer;
}
.decision-result:hover { border-color: var(--cyan); }
.decision-result img { width: 68px; height: 62px; border-radius: 10px; object-fit: cover; }
.decision-result b, .decision-result small { display: block; }
.decision-result small { margin-top: 2px; color: var(--muted); }
.decision-rank { color: var(--cyan); font-size: 1.1rem; font-weight: 900; text-align: center; }
.decision-live-open { color: var(--green) !important; }
.decision-live-unknown { color: var(--orange) !important; }
.decision-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }

.saved-route-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin: 16px 0 0;
  padding: 13px 16px;
  border: 1px solid var(--orange);
  border-radius: 14px;
  color: #17110c;
  background: var(--orange);
  font-weight: 850;
  cursor: pointer;
}

.saved-route-button small { font-size: .72rem; opacity: .7; }
.saved-route-actions { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 8px; margin-top: 16px; }
.saved-route-actions[hidden] { display: none; }
.saved-route-actions .saved-route-button { margin: 0; }
.saved-route-rail { margin: 4px 0 12px; }
.share-route-button {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--panel2);
  font-weight: 800;
  cursor: pointer;
}

.route-order {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #17110c;
  background: var(--orange);
  font-size: .72rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .decision-filters {
    margin-right: -16px;
    padding-right: 16px;
  }

  .decision-filters-rail {
    flex-wrap: nowrap;
    margin-right: 0;
    padding-right: 0;
    overflow-x: auto;
  }

  .decision-filters-rail .area-control {
    width: auto;
    min-width: 210px;
  }

  .catalog-meta {
    display: block;
  }

  .catalog-meta span {
    display: block;
    margin-top: 4px;
  }

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

  .visit-costs {
    grid-template-columns: 1fr;
  }

  .dialog-actions .detail-link,
  .dialog-actions .secondary-button {
    width: 100%;
  }

  .language-picker select {
    width: 52px;
    padding-left: 9px;
    padding-right: 22px;
  }

  .mobile-nav i {
    font-style: normal;
  }

  .google-map-frame { height: 230px; }

  .quality-stats span:first-child { border-left: 0; }
  .saved-route-actions { grid-template-columns: 1fr; }

  .decision-button { width: 100%; justify-content: space-between; }
  .decision-dialog-body { padding: 25px 18px; }
  .choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-row span { text-align: center; }
  .decision-result { grid-template-columns: 28px 56px 1fr; }
  .decision-result img { width: 56px; height: 56px; }
}

/* Mobile product pass: compact, thumb-friendly and fast to scan. */
@media (max-width: 760px) {
  :root { --header: 62px; --mobile-nav-height: 64px; --radius: 18px; }
  html { scroll-padding-top: 122px; }
  body { overflow-x: hidden; padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)); }
  .topbar { height: var(--header); padding: 0 12px; gap: 8px; }
  .brand { gap: 7px; min-height: 44px; font-size: .98rem; }
  .brand-mark { width: 34px; height: 24px; }
  .header-actions { margin-left: auto; gap: 6px; }
  .icon-button { width: 44px; height: 44px; }
  .search-box { top: calc(var(--header) + 9px); left: 12px; right: 12px; height: 46px; padding: 0 13px; border-radius: 14px; }
  .editorial-panel { padding: 76px 12px 30px; }
  .eyebrow { margin-bottom: 8px; font-size: .72rem; }
  .intro-row h1 { max-width: 100%; font-size: clamp(2.55rem, 13vw, 3.35rem); line-height: .92; letter-spacing: -.055em; }
  .lede { margin-top: 16px; font-size: .96rem; line-height: 1.5; }
  .decision-button { min-height: 50px; margin-top: 18px; padding: 12px 16px; }
  .sponsor-slot { margin: 22px 0 18px; min-height: 0; border-radius: 18px; }
  .sponsor-slot figure { min-height: 156px; }
  .sponsor-copy { padding: 18px; }
  .sponsor-copy h2 { margin-top: 6px; font-size: 1.35rem; }
  .sponsor-copy p { margin-bottom: 14px; font-size: .9rem; }
  .filter-bar, .decision-filters, .map-filters { scroll-snap-type: x proximity; overscroll-behavior-inline: contain; -webkit-mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent); mask-image: linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent); }
  .filter-bar { margin-right: -12px; padding: 18px 12px 14px 0; }
  .decision-filters { margin: 0 -12px 12px 0; padding: 0 12px 2px 0; }
  .filter, .smart-filter, .area-control { min-height: 44px; scroll-snap-align: start; }
  .area-control { max-width: 82vw; }
  .area-control select { min-height: 44px; }
  .catalog-meta { margin: 0 2px 9px; font-size: .74rem; }
  .catalog-meta span { margin-top: 2px; }
  .venue-grid { gap: 10px; }
  .venue-card { border-radius: 18px; }
  .venue-card:hover { transform: none; box-shadow: none; }
  .venue-image { height: 148px; }
  .featured .venue-image { height: 218px; }
  .venue-body, .featured .venue-body { padding: 16px; }
  .card-type { font-size: .69rem; letter-spacing: .11em; }
  .venue-head h2 { font-size: 1.5rem; }
  .venue-head h3 { font-size: 1.16rem; }
  .save-icon { width: 44px; height: 44px; margin: -5px -5px 0 0; }
  .venue-live { margin-top: 10px; }
  .venue-meta { margin: 9px 0; gap: 5px; font-size: .82rem; }
  .venue-meta span:last-child { display: none; }
  .venue-reason { display: -webkit-box; margin: 10px 0 12px; overflow: hidden; font-size: .96rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .atmosphere { gap: 5px; }
  .cue { padding: 5px 8px; font-size: .71rem; }
  .venue-card.featured .primary-button { min-height: 48px; margin-top: 18px; }
  .venue-rating { min-height: 44px; margin-top: 2px; padding: 10px 0; }
  .collections { padding-top: 38px; }
  .section-heading { align-items: center; margin-bottom: 14px; }
  .section-heading h2 { font-size: 1.8rem; }
  .collection-strip { gap: 10px; margin-right: -12px; padding-right: 12px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .collection-card { min-width: 79vw; min-height: 190px; padding: 20px; scroll-snap-align: start; }
  .collection-card h3 { font-size: 1.3rem; }
  .site-footer { gap: 18px; padding: 24px 16px 30px; }
  .site-footer nav { gap: 4px 14px; }
  .site-footer button { min-height: 44px; padding: 10px 0; }
  .mobile-nav { height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav button { min-width: 0; }
  .venue-dialog, .decision-dialog, .legal-dialog, .report-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 10px); margin: auto 0 0; border-width: 1px 0 0; border-radius: 22px 22px 0 0; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-hero { height: 220px; }
  .dialog-body { padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); }
  .dialog-body h2 { font-size: 1.7rem; }
  .dialog-actions { margin-top: 18px; gap: 8px; }
  .detail-grid > div { padding: 12px; }
  .legal-dialog article, .report-form { padding: 30px 18px calc(28px + env(safe-area-inset-bottom)); }
  .full-map-view { position: relative; height: calc(100dvh - var(--header) - var(--mobile-nav-height) - env(safe-area-inset-bottom)); overflow: hidden; }
  .results-rail { left: 8px; right: 8px; bottom: 8px; max-height: 35dvh; padding: 12px; border-radius: 18px; }
  .rail-heading h2 { font-size: 1.2rem; }
  .rail-heading .icon-button { width: 44px; height: 44px; }
  .rail-controls { overflow: hidden; }
  .map-filters { padding: 9px 0 7px; }
  .decision-filters-rail { margin-bottom: 4px; }
  .decision-filters-rail .area-control { min-width: 180px; }
  .rail-list { max-height: 142px; }
  .rail-item { grid-template-columns: 58px 1fr; gap: 9px; padding: 8px 0; }
  .rail-item img { width: 58px; height: 52px; }
  .rail-item h3 { margin-bottom: 4px; font-size: .94rem; }
  .rail-item p { font-size: .72rem; }
  .map-key-full { top: 10px; left: 8px; right: 8px; padding: 8px 10px; }
  .map-preview-full { top: 60px; left: 8px; right: 8px; }
  .map-controls { top: 60px; right: 8px; }
  .maplibregl-ctrl-bottom-right { bottom: 6px; }
  .consent-banner { left: 8px; right: 8px; bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 8px); padding: 14px; border-radius: 16px; }
  .consent-banner p { display: -webkit-box; overflow: hidden; font-size: .76rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .consent-actions { margin-top: 10px; }
  .toast { bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 14px); }
}

@media (max-width: 380px) {
  .brand { font-size: .9rem; }
  .brand-mark { width: 30px; }
  .language-picker select { width: 47px; }
  .intro-row h1 { font-size: clamp(2.3rem, 12.5vw, 2.85rem); }
  .decision-button small { display: none; }
  .collection-card { min-width: 84vw; }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .results-rail { max-height: calc(100dvh - 88px); }
  .rail-list { max-height: 110px; }
  .map-preview-full { display: none !important; }
}
