.results-section { padding: 0 0 34px; }
.fare-map-shell { position: relative; min-height: 610px; overflow: hidden; border-radius: 30px; background: #173936; box-shadow: var(--shadow); }
#fare-map { position: absolute; inset: 0; z-index: 0; min-height: 610px; background: #173936; }
#fare-map .leaflet-tile-pane { filter: saturate(.52) sepia(.12) hue-rotate(112deg) brightness(.72); }
#fare-map .leaflet-control-zoom { overflow: hidden; margin: 0 18px 18px 0; border: 0; border-radius: 14px; box-shadow: 0 8px 25px rgba(0,0,0,.24); }
#fare-map .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; border: 0; background: var(--forest); color: white; }
.fare-marker-wrap { background: none; border: 0; }
.fare-map-marker { position: relative; width: 106px; min-height: 64px; display: grid; align-content: center; padding: 8px 12px 10px; border: 2px solid rgba(255,255,255,.88); border-radius: 16px 16px 16px 4px; background: var(--forest); color: white; box-shadow: 0 10px 26px rgba(0,0,0,.3); text-align: left; transition: transform .2s ease; }
.fare-map-marker:hover { transform: translateY(-3px) scale(1.03); }
.fare-map-marker small { color: var(--lime); font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.fare-map-marker strong { margin: 1px 0; font-size: 1.35rem; line-height: 1; letter-spacing: -.04em; }
.fare-map-marker > span { color: rgba(255,255,255,.65); font-size: .62rem; font-weight: 800; }
.fare-map-marker::after { content: ""; position: absolute; left: -2px; bottom: -9px; width: 12px; height: 12px; border-left: 2px solid white; background: var(--forest); clip-path: polygon(0 0, 100% 0, 0 100%); }
.map-status { position: absolute; z-index: 500; left: 18px; bottom: 18px; margin: 0; padding: 9px 12px; border-radius: 10px; background: rgba(7,27,25,.88); color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.map-credit { position: absolute; z-index: 500; right: 14px; top: 14px; padding: 6px 8px; border-radius: 8px; background: rgba(7,27,25,.75); color: rgba(255,255,255,.62); font-size: .56rem; }

.top-deals { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 0; }
.top-deal { min-width: 0; min-height: 118px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.top-deal:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(7,27,25,.1); }
.deal-rank { color: rgba(19,35,31,.28); font-size: .72rem; font-weight: 900; }
.top-deal-place, .top-deal-value { min-width: 0; display: grid; gap: 4px; }
.top-deal-place strong { overflow: hidden; font-size: clamp(1.1rem, 2vw, 1.55rem); letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.top-deal-place small { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; }
.top-deal-value { justify-items: end; }
.top-deal-value strong { color: var(--teal); font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.05em; }
.top-deal-value small { color: var(--muted); font-size: .78rem; font-weight: 800; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 40px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); text-align: center; }
.skeleton { position: relative; overflow: hidden; background: #dfe5de; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.5) 50%, transparent 80%); animation: shimmer 1.25s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.deal-dialog { width: min(500px, calc(100% - 28px)); padding: 34px; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.deal-dialog::backdrop { background: rgba(7,27,25,.78); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf0e8; font-size: 1.4rem; cursor: pointer; }
.deal-dialog h2 { margin: 0 0 24px; padding-right: 30px; font-size: clamp(2rem, 8vw, 3.5rem); line-height: .95; letter-spacing: -.055em; }
.dialog-route { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-radius: 16px; background: var(--forest); color: white; letter-spacing: .12em; }
.dialog-price { margin: 24px 0 0; color: var(--teal); font-size: 3.5rem; font-weight: 900; letter-spacing: -.07em; }
.dialog-note, .fare-disclaimer { color: var(--muted); line-height: 1.55; }
.fare-disclaimer { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; }

@media (max-width: 800px) {
    .fare-map-shell, #fare-map { min-height: 560px; }
    .top-deals { grid-template-columns: 1fr; }
    .top-deal { min-height: 100px; }
}

@media (max-width: 600px) {
    .site-header { padding-bottom: 12px; }
    .fare-map-shell { margin: 0 -14px; border-radius: 0; }
    .fare-map-shell, #fare-map { min-height: calc(100dvh - 225px); }
    .map-status { left: 12px; bottom: 12px; }
    .fare-map-marker { width: 94px; padding-inline: 9px; }
    .fare-map-marker strong { font-size: 1.18rem; }
    .top-deals { margin-top: 10px; }
    .top-deal { padding: 16px; border-radius: 17px; }
}

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