@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #f7f8fa;
  --muted: #a6adb8;
  --soft: #737b87;
  --line: rgba(255,255,255,.12);
  --glass: rgba(13,16,22,.74);
  --glass-strong: rgba(11,14,19,.9);
  --accent: #d8e4ff;
  --blue: #8ab5ff;
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  font-family: Outfit, "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-height: 100%; margin: 0; overflow: hidden; background: #0b0d11; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
.app-shell { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; background: #0b0d11; }
#map { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; background: #6f7d89; }
.leaflet-container { width: 100%; height: 100%; background: #1d252d; font: inherit; }
/* Keep Leaflet's tile grid positioned correctly even if its CDN stylesheet is
   delayed or filtered by a network layer. */
.leaflet-container { overflow: hidden; }
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-map-pane svg, .leaflet-map-pane canvas { position: absolute; left: 0; top: 0; }
.leaflet-map-pane, .leaflet-tile-pane, .leaflet-overlay-pane, .leaflet-shadow-pane, .leaflet-marker-pane, .leaflet-tooltip-pane, .leaflet-popup-pane { position: absolute; left: 0; top: 0; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-tile { max-width: none !important; }
.leaflet-control-attribution { background: rgba(10,12,16,.65) !important; color: #a4acb7 !important; font-size: 9px; }
.leaflet-control-attribution a { color: #cbd4df !important; }
.leaflet-tile { filter: saturate(.78) brightness(.82) contrast(1.04); opacity: .98; }
.map-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 48%, transparent 18%, rgba(3,5,8,.04) 66%, rgba(3,5,8,.28) 100%), linear-gradient(90deg, rgba(8,10,14,.08), transparent 36%, transparent 68%, rgba(8,10,14,.08)); }

/* Local-only entry layer. The live map remains underneath while the entry layer
   creates a centered, cinematic planet-and-stars composition. */
.landing-screen { position: absolute; inset: 0; z-index: 9; display: grid; place-items: start center; overflow: hidden; padding: 0; isolation: isolate; background: #020510; opacity: 1; visibility: visible; transition: opacity .42s ease, visibility .42s ease; }
.landing-screen[hidden] { display: none; }
.landing-screen.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.landing-screen::before { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 17%, rgba(53,110,214,.22), transparent 30%), radial-gradient(circle at 12% 42%, rgba(0,78,142,.22), transparent 30%), radial-gradient(circle at 85% 58%, rgba(47,38,111,.18), transparent 32%), radial-gradient(circle at 6% 5%, rgba(255,255,255,.9) 0 1px, transparent 1.6px), radial-gradient(circle at 21% 18%, rgba(161,205,255,.72) 0 1px, transparent 1.8px), radial-gradient(circle at 42% 7%, rgba(255,255,255,.75) 0 1px, transparent 1.6px), radial-gradient(circle at 69% 19%, rgba(255,255,255,.8) 0 1px, transparent 1.7px), radial-gradient(circle at 89% 7%, rgba(255,255,255,.8) 0 1px, transparent 1.7px), radial-gradient(circle at 78% 42%, rgba(167,218,255,.8) 0 1px, transparent 1.6px), radial-gradient(circle at 16% 67%, rgba(255,255,255,.6) 0 1px, transparent 1.7px), radial-gradient(circle at 92% 77%, rgba(255,255,255,.75) 0 1px, transparent 1.6px), radial-gradient(circle at 58% 48%, rgba(255,255,255,.55) 0 1px, transparent 1.5px), radial-gradient(circle at 33% 39%, rgba(255,255,255,.62) 0 1px, transparent 1.6px), linear-gradient(180deg, rgba(0,0,0,.18), transparent 42%, rgba(0,0,0,.08)); background-size: auto, auto, auto, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, auto; content: ""; pointer-events: none; animation: landing-stars-drift 18s linear infinite alternate; }
.landing-screen::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0 54%, rgba(0,0,0,.2) 73%, rgba(0,0,0,.58) 100%), radial-gradient(ellipse at 50% 107%, rgba(51,136,255,.66), transparent 31%), linear-gradient(110deg, transparent 0 48%, rgba(122,211,255,.1) 48.1%, transparent 48.35% 100%); content: ""; pointer-events: none; }
.landing-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.landing-scene::before { position: absolute; top: 27%; left: 50%; width: min(78vw, 920px); height: min(78vw, 920px); border: 1px solid rgba(93,173,255,.1); border-radius: 50%; box-shadow: 0 0 70px rgba(44,129,255,.12), inset 0 0 44px rgba(44,129,255,.06); content: ""; transform: translate(-50%, -50%) rotate(-18deg) scaleX(.76); animation: landing-orbit-drift 22s ease-in-out infinite alternate; }
.landing-scene::after { position: absolute; top: 27%; left: 50%; width: min(62vw, 760px); height: min(62vw, 760px); border: 1px solid rgba(126,210,255,.08); border-radius: 50%; content: ""; transform: translate(-50%, -50%) rotate(24deg) scaleY(.38); animation: landing-orbit-drift-reverse 16s ease-in-out infinite alternate; }
.landing-earth-video-wrap { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #020510; }
.landing-earth-video-wrap::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,5,14,.38) 0%, rgba(1,5,14,.08) 42%, rgba(1,5,14,.16) 64%, rgba(1,5,14,.76) 100%), radial-gradient(ellipse at 50% 106%, rgba(39,134,255,.45), transparent 34%); content: ""; pointer-events: none; }
.landing-earth-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; opacity: .94; filter: saturate(.95) contrast(1.06) brightness(.88); transform: scale(1.08); animation: landing-earth-video-drift 16s ease-in-out infinite alternate; }
.landing-content { position: relative; z-index: 2; width: min(1100px, calc(100% - 32px)); margin: clamp(148px, 18vh, 224px) auto 0; text-align: center; animation: landing-content-in .95s cubic-bezier(.16, 1, .3, 1) both; }
.landing-brand { display: inline-flex; align-items: center; justify-content: center; gap: 13px; color: rgba(255,255,255,.92); font-family: Outfit, "PingFang SC", sans-serif; font-size: clamp(13px, 1.25vw, 20px); font-weight: 800; letter-spacing: .3em; line-height: 1; }
.landing-brand img { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.48); border-radius: 13px; object-fit: cover; box-shadow: 0 8px 22px rgba(0,0,0,.34); }
.landing-content h1 { width: 100%; margin: clamp(30px, 4.2vh, 56px) auto 0; color: #fff; font-family: Outfit, "PingFang SC", sans-serif; font-size: clamp(58px, 7.9vw, 150px); font-weight: 700; letter-spacing: -.075em; line-height: .96; text-align: center; text-transform: none; text-shadow: 0 4px 28px rgba(0,0,0,.24); text-wrap: balance; }
.landing-title-lockup { display: inline-block; white-space: nowrap; }
.landing-title-cortis { display: inline-block; color: #c5f7fb; font-family: "Work Sans", Outfit, sans-serif; font-size: .9em; font-weight: 800; letter-spacing: -.08em; text-shadow: 0 0 24px rgba(121,220,232,.38); transform: translateY(-.02em); }
.landing-title-cortis::after { display: inline-block; width: .08em; height: .72em; margin-left: .14em; background: #c5f7fb; box-shadow: 0 0 14px rgba(121,220,232,.7); content: ""; vertical-align: -.04em; animation: landing-type-cursor .82s steps(1, end) infinite; }
.landing-cta { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: center; min-width: 228px; min-height: 84px; margin-top: clamp(78px, 9vh, 118px); padding: 0 26px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #fff 0%, #d7eafd 52%, #f6fbff 100%); color: #071227; font-family: Outfit, "PingFang SC", sans-serif; font-size: 24px; font-weight: 800; box-shadow: 0 0 0 0 rgba(110,190,255,.38), 0 12px 34px rgba(66,149,255,.34), inset 0 0 0 1px rgba(255,255,255,.92); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; animation: landing-cta-glow 3.2s ease-in-out infinite; }
.landing-cta:hover { background: #fff; box-shadow: 0 0 0 9px rgba(110,190,255,.1), 0 18px 46px rgba(66,149,255,.42), inset 0 0 0 1px rgba(255,255,255,.96); transform: translateY(-3px); }
.landing-cta:active { transform: translateY(0) scale(.98); }
.landing-cta:focus-visible { outline: 2px solid #f7f8fa; outline-offset: 4px; }
@keyframes landing-content-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes landing-stars-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, -10px, 0) scale(1.025); } }
@keyframes landing-orbit-drift { from { transform: translate(-50%, -50%) rotate(-18deg) scaleX(.76); } to { transform: translate(-50%, -52%) rotate(-8deg) scaleX(.82); } }
@keyframes landing-orbit-drift-reverse { from { transform: translate(-50%, -50%) rotate(24deg) scaleY(.38); } to { transform: translate(-50%, -48%) rotate(38deg) scaleY(.44); } }
@keyframes landing-earth-video-drift { from { transform: scale(1.08) translate3d(-.7%, 1.2%, 0); } to { transform: scale(1.14) translate3d(.7%, -1.2%, 0); } }
@keyframes landing-type-cursor { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes landing-cta-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(110,190,255,.22), 0 12px 34px rgba(66,149,255,.34), inset 0 0 0 1px rgba(255,255,255,.92); } 50% { box-shadow: 0 0 0 11px rgba(110,190,255,0), 0 15px 40px rgba(66,149,255,.48), inset 0 0 0 1px rgba(255,255,255,.96); } }
@media (max-width: 760px) {
  .landing-screen { place-items: start center; }
  .landing-content { width: calc(100% - 34px); margin-top: max(108px, calc(env(safe-area-inset-top) + 22px)); }
  .landing-brand { font-size: 12px; letter-spacing: .24em; }
  .landing-brand img { width: 34px; height: 34px; border-radius: 11px; }
  .landing-content h1 { margin-top: 30px; font-size: clamp(34px, 10vw, 64px); }
  .landing-cta { min-width: 204px; min-height: 72px; margin-top: clamp(68px, 9vh, 94px); padding: 0 22px; font-size: 19px; }
  .landing-earth-video { object-position: center 60%; transform: scale(1.14); }
  .landing-scene::before { top: 25%; width: 145vw; height: 145vw; }
  .landing-scene::after { top: 25%; width: 118vw; height: 118vw; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-screen, .landing-cta, .landing-content { transition: none; animation: none; }
  .landing-screen::before, .landing-scene::before, .landing-scene::after, .landing-earth-video { animation: none; }
  .landing-title-cortis::after { animation: none; opacity: 1; }
  .landing-cta:hover { transform: none; }
}

/* Liquid glass surfaces: the gradient edge is drawn by the pseudo-element so the
   surface itself stays borderless and can blend naturally with the map. */
.liquid-glass, .liquid-glass-strong, .glass { position: relative; overflow: hidden; border: 0; }
.liquid-glass { background: rgba(255,255,255,.01); background-blend-mode: luminosity; box-shadow: inset 0 1px 1px rgba(255,255,255,.1), var(--shadow); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.liquid-glass-strong { background: linear-gradient(145deg, rgba(42,49,57,.66), rgba(13,16,22,.5)); background-blend-mode: luminosity; box-shadow: 4px 4px 4px rgba(0,0,0,.05), inset 0 1px 1px rgba(255,255,255,.15), var(--shadow); backdrop-filter: blur(50px) saturate(1.25); -webkit-backdrop-filter: blur(50px) saturate(1.25); }
.liquid-glass::before, .liquid-glass-strong::before, .glass::before { position: absolute; inset: 0; z-index: 0; padding: 1.4px; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, transparent 40%, transparent 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%); content: ""; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.liquid-glass-strong::before { background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 20%, transparent 40%, transparent 60%, rgba(255,255,255,.2) 80%, rgba(255,255,255,.5) 100%); }
.liquid-glass > *, .liquid-glass-strong > *, .glass > * { position: relative; z-index: 1; }
.glass { background: rgba(13,16,22,.74); backdrop-filter: blur(26px) saturate(1.25); -webkit-backdrop-filter: blur(26px) saturate(1.25); }

.topbar { position: absolute; z-index: 8; top: 22px; right: 24px; display: flex; align-items: center; justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; letter-spacing: .08em; }
.brand-logo { display: block; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; box-shadow: 0 5px 18px rgba(0,0,0,.28); transition: transform .2s; }
.brand > span { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.explorer.is-collapsed .brand-logo { width: 64px; height: 64px; border-radius: 20px; }
.explorer.is-collapsed .brand:hover .brand-logo { transform: scale(1.04); }
.brand strong, .brand em { display: inline; font-size: 15px; font-style: normal; font-weight: 800; line-height: 1; }
.brand em { color: var(--muted); letter-spacing: .08em; }
.topbar-center { display: none; }
.live-dot, .foot-dot { width: 6px; height: 6px; border-radius: 50%; background: #a9d1ff; box-shadow: 0 0 14px #8ab5ff; }
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.language-menu { position: relative; }
.language-button, .unlock-button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; font-size: 14px; }
.language-button { padding: 12px 14px; color: #f1f4f8; }
.language-caret { display: inline-block; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid #cbd3dd; border-bottom: 2px solid #cbd3dd; transform: rotate(45deg); transition: transform .2s, margin-top .2s; }
.language-button[aria-expanded="true"] .language-caret { margin-top: 4px; transform: rotate(225deg); }
.language-options { position: absolute; z-index: 30; top: calc(100% + 9px); right: 0; display: grid; min-width: 156px; padding: 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: #202832; box-shadow: 0 16px 34px rgba(0,0,0,.38); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.language-options[hidden] { display: none; }
.language-options button { min-height: 44px; padding: 10px 13px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: left; white-space: nowrap; }
.language-options button:hover, .language-options button:focus-visible { outline: none; background: #3b4a5c; color: #fff; }
.unlock-button { padding: 11px 16px 11px 11px; color: #f1f4f8; }
.unlock-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 9px; background: rgba(216,228,255,.18); color: #d8e4ff; font-size: 14px; }

.explorer { position: absolute; z-index: 4; top: 24px; bottom: 16px; left: 24px; width: min(520px, calc(100vw - 48px)); display: flex; flex-direction: column; padding: 28px 28px 20px; border-radius: 32px; transition: width .28s ease, padding .28s ease; }
.explorer-brand-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin: 0 4px var(--space-4); }
.explorer.is-collapsed { top: 22px; bottom: auto; left: 24px; width: 64px; height: 64px; padding: 0; border-radius: 20px; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
.explorer.is-collapsed::before { display: none; }
.explorer.is-collapsed .explorer-brand-row { justify-content: center; margin: 0; }
.explorer.is-collapsed .brand { gap: 0; }
.explorer.is-collapsed .brand > span, .explorer.is-collapsed .result-count { display: none; }
.explorer.is-collapsed > :not(.explorer-brand-row) { display: none; }
.explorer-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4px 20px; }
.eyebrow { margin: 0 0 8px; color: #9eb4d1; font-size: 10px; font-weight: 800; letter-spacing: .22em; }
h1, h2, p { margin: 0; }
.explorer h1 { color: var(--ink); font-size: 40px; letter-spacing: -.06em; }
.result-count { color: var(--muted); font-size: 19px; font-variant-numeric: tabular-nums; }
.search-field { display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.07); }
.search-icon { color: #c8d1dc; font-size: 24px; line-height: 0; transform: rotate(-20deg); }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.search-field input::placeholder { color: #7d8794; }
.filter-toggle { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #d9e2ec; font-size: 18px; line-height: 1; }
.filter-toggle[aria-expanded="true"] { background: var(--accent); color: #11151b; }
.clear-search { display: none; border: 0; background: transparent; color: var(--soft); font-size: 19px; }
.clear-search.visible { display: block; }
.filter-scroll, .member-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.search-field { margin-bottom: 0; }
.filter-scroll { margin: 0 0 8px; }
.city-scroll { display: flex; gap: 7px; margin: 0 0 6px; overflow-x: auto; scrollbar-width: none; }
.member-scroll { margin-bottom: 14px; }
.filters-panel { display: grid; min-width: 0; gap: var(--space-1); margin: var(--space-2) 0 0; }
.filters-panel > .filter-scroll, .filters-panel > .city-scroll, .filters-panel > .member-scroll { width: 100%; min-width: 0; margin: 0; }
.filters-panel .filter-scroll, .filters-panel .city-scroll, .filters-panel .member-scroll { flex-direction: row; align-items: center; }
.filters-panel[hidden] { display: none; }
.filter-scroll::-webkit-scrollbar, .city-scroll::-webkit-scrollbar, .member-scroll::-webkit-scrollbar { display: none; }
.filter-chip, .city-chip, .member-chip { flex: 0 0 auto; padding: 11px 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.045); color: #aeb7c3; font-size: 15px; }
.city-chip { background: rgba(216,228,255,.07); color: #c4cfde; }
.filter-chip.active, .member-chip.active { border-color: rgba(216,228,255,.7); background: var(--accent); color: #11151b; font-weight: 800; }
.city-chip.active { border-color: rgba(216,228,255,.7); background: var(--accent); color: #11151b; font-weight: 800; }
.section-tabs { display: flex; gap: var(--space-3); margin-top: var(--space-4); border-bottom: 1px solid var(--line); }
.section-tab { position: relative; padding: 0 1px 15px; border: 0; background: transparent; color: var(--soft); font-size: 17px; }
.section-tab.active { color: var(--ink); font-weight: 750; }
.section-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.content-list { min-height: 0; flex: 1; overflow-y: auto; padding: var(--space-2) 2px 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.list-card { position: relative; display: block; width: 100%; min-height: 248px; margin-bottom: 12px; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 22px; background: rgba(255,255,255,.035); text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.list-card:hover, .list-card.selected { border-color: rgba(216,228,255,.28); background: rgba(255,255,255,.105); transform: translateY(-1px); }
.list-thumb { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #303843; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-thumb::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(8,10,14,.08) 48%, rgba(8,10,14,.9) 100%); content: ""; }
.list-card-top { position: absolute; top: 15px; right: 15px; left: 15px; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.94); font-size: 13px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.list-city, .list-category { max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-category { max-width: 42%; color: rgba(235,242,250,.82); font-weight: 500; text-align: right; }
.list-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; min-width: 0; padding: 76px 18px 17px; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.list-kicker { overflow: hidden; color: rgba(232,240,250,.78); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.list-title { max-width: 70%; overflow-wrap: anywhere; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.18; }
.list-meta { max-width: 30%; overflow-wrap: anywhere; color: rgba(230,236,244,.78); font-size: 14px; line-height: 1.25; text-align: right; }
.route-card { display: block; min-height: 156px; padding: 0; background-color: #303843; background-position: center; background-size: cover; }
.route-card, .route-card:hover, .route-card.selected { transform: none; }
.route-title-top { position: absolute; top: 17px; left: 18px; z-index: 1; max-width: 70%; overflow-wrap: anywhere; color: #fff; font-size: 23px; font-weight: 800; line-height: 1.16; text-shadow: 0 2px 12px rgba(0,0,0,.82); }
.route-city-top { position: absolute; top: 19px; right: 18px; max-width: 28%; overflow: hidden; color: rgba(235,242,250,.82); font-size: 13px; text-align: right; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.route-card .list-copy { display: flex; padding: 76px 18px 17px; }
.route-tone-bottom { max-width: 58%; overflow: hidden; color: rgba(230,236,244,.78); font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.route-card .list-meta { max-width: 42%; margin: 0; color: #c7d8f2; }
.empty-state { display: grid; min-height: 180px; place-items: center; color: var(--muted); font-size: 13px; text-align: center; }
.explorer-foot { display: flex; align-items: center; gap: var(--space-1); padding: var(--space-3) 3px 0; color: #6f7986; font-size: 12px; }

.detail-panel { position: absolute; z-index: 4; top: 124px; right: 24px; bottom: 24px; width: min(520px, calc(100vw - 48px)); overflow: auto; padding: 14px; border-radius: 32px; opacity: 0; pointer-events: none; transform: translateX(24px); transition: opacity .25s, transform .25s; }
.detail-panel.open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.close-detail, .modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(5,7,10,.48); color: #e4e9ef; font-size: 23px; line-height: 1; }
.detail-cover { width: 100%; height: 340px; overflow: hidden; border-radius: 23px; background: #303843; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 24px 12px 14px; }
.detail-kicker { color: #9eb4d1; font-size: 13px; }
.detail-title { margin-top: 9px; color: #fff; font-size: 36px; line-height: 1.1; letter-spacing: -.06em; }
.detail-subtitle { margin-top: 10px; color: #a3adba; font-size: 17px; line-height: 1.6; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.detail-tag { padding: 8px 11px; border-radius: 999px; background: rgba(216,228,255,.13); color: #cbdcff; font-size: 13px; }
.detail-info { display: grid; gap: 12px; margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; color: #c3cad4; font-size: 15px; line-height: 1.5; }
.info-label { color: #747e8b; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.detail-actions { display: flex; gap: 8px; margin-top: 20px; }
.detail-action { flex: 1; padding: 14px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.07); color: #edf1f5; font-size: 14px; }
.detail-action.primary { border-color: transparent; background: #edf2f8; color: #13171d; font-weight: 800; }
.detail-local-nav { display: flex; gap: 8px; margin-top: 8px; }
.detail-local-nav .detail-action { display: block; color: #c7d8f2; text-align: center; text-decoration: none; }

.map-controls { position: absolute; z-index: 3; right: 28px; bottom: 30px; display: grid; overflow: hidden; border-radius: 15px; }
.map-controls button { width: 44px; height: 44px; border: 0; border-bottom: 1px solid var(--line); background: rgba(14,18,24,.5); color: #e4e9ef; font-size: 21px; }
.map-controls button:last-child { border-bottom: 0; }
.pass-cta { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 100px; padding: 0 76px; border: 0; border-radius: 0; background: rgba(28,35,46,.72); box-shadow: none; text-align: center; cursor: pointer; transition: background .2s; }
.pass-cta[hidden] { display: none; }
.pass-cta:hover { background: rgba(34,42,54,.96); }
.pass-cta-copy { min-width: 0; overflow: hidden; white-space: nowrap; }
.pass-cta strong { color: #f6f7f9; font-size: 16px; font-weight: 700; line-height: 1; }
.pass-cta-join { padding: 12px 22px; border: 0; border-radius: 999px; background: #d8e4ff; color: #10151d; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.pass-cta-join:hover { background: #fff; }
.pass-cta-close { position: absolute; right: 24px; top: 50%; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 999px; background: transparent; color: rgba(240,245,250,.8); font-size: 29px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.pass-cta-close:hover { color: #fff; }

.modal-backdrop { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(3,5,8,.6); backdrop-filter: blur(16px); }
.modal-backdrop[hidden] { display: none; }
.paywall-modal { position: relative; width: min(1060px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 38px 42px; border: 1px solid #e5e7eb; border-radius: 22px; background: #fff; color: #1c2026; box-shadow: 0 24px 80px rgba(15,23,42,.22); }
.paywall-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 32px; }
.paywall-story { min-width: 0; }
.paywall-modal .eyebrow { margin-bottom: 18px; color: #58748f; }
.paywall-modal .modal-close { border-color: #d8dde5; background: #fff; color: #111827; }
.paywall-modal h2 { color: #111827; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.06em; }
.paywall-copy { margin-top: 10px; color: #657181; font-size: 17px; line-height: 1.55; }
.benefit-list { display: grid; gap: 14px; margin-top: 28px; }
.benefit-list p { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #4b5563; font-size: 16px; line-height: 1.55; }
.benefit-list p > span { color: #18a957; font-size: 22px; font-weight: 800; line-height: 1.2; }
.benefit-list strong { color: #111827; }
.paywall-feature-image { display: block; width: min(100%, 520px); height: 190px; margin-top: 28px; border-radius: 16px; object-fit: cover; }
.paywall-signup { align-self: stretch; padding: 10px 0 0 32px; border-left: 1px solid #e5e7eb; background: transparent; }
.signup-kicker { color: #58748f; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.paywall-signup h3 { margin-top: 12px; color: #111827; font-size: 30px; letter-spacing: -.04em; }
.signup-copy { margin-top: 10px; color: #657181; font-size: 16px; line-height: 1.55; }
.redeem-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; margin-top: 20px; }
.redeem-row .join-email { margin-top: 0; }
.redeem-button { border: 0; border-radius: 10px; background: #15171c; color: #fff; font-size: 15px; font-weight: 800; }
.redeem-button:disabled { cursor: wait; opacity: .55; }
.paywall-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 2px; color: #a1a9b5; font-size: 12px; }
.paywall-divider::before, .paywall-divider::after { flex: 1; height: 1px; background: #e5e7eb; content: ""; }
.join-email { width: 100%; height: 58px; margin-top: 28px; padding: 0 18px; border: 1px solid #d8dde5; border-radius: 10px; outline: none; background: #fff; color: #111827; font-size: 16px; }
.signup-purchase-copy + .join-email { margin-top: 14px; }
.join-email:focus { border-color: #111827; box-shadow: 0 0 0 3px rgba(17,24,39,.1); }
.join-button { margin-top: 14px; }
.paywall-modal .pay-button.primary { background: #15171c; color: #fff; }
.paywall-modal .pay-button.secondary { border: 1px solid #d8dde5; background: #fff; color: #1f2937; }
.paywall-modal .paywall-note { color: #8792a0; }
.paywall-benefits { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 24px; }
.paywall-benefits span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #c5d5ee; font-size: 10px; }
.pay-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 62px; margin-top: 12px; border-radius: 15px; font-size: 17px; }
.pay-button span { font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.payment-logo { width: 34px; height: 34px; object-fit: contain; }
.pay-button strong { font-size: 17px; font-weight: 800; }
.pay-button.primary { border: 0; background: #f2f5f8; color: #14171d; }
.pay-button.secondary { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #f4f6f8; }
.wechat-app-logo { border-radius: 10px; }
.paywall-note { margin-top: 16px; color: #6f7986; font-size: 13px; text-align: center; }
.paywall-modal .eyebrow { font-size: 14px; letter-spacing: .16em; }
.benefit-list { gap: 12px; margin-top: 28px; }
.benefit-list p { align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.benefit-list p::before { flex: 0 0 auto; color: #18a957; content: "✓"; font-size: 19px; font-weight: 900; line-height: 1; }
.benefit-list p > span { color: #4b5563; font-size: 15px; font-weight: 400; }
.benefit-list p > i { width: 1px; height: 18px; flex: 0 0 auto; background: #bfc5cf; }
.benefit-list p > strong { flex: 0 0 auto; color: #111827; }
.paywall-feature-image { width: 100%; max-width: none; height: 240px; margin-top: 28px; border-radius: 22px; object-fit: cover; }
.paywall-signup { padding-top: 0; }
.paywall-signup .signup-kicker { margin-bottom: 10px; }
.paywall-signup h3 { margin-top: 0; font-size: 31px; }
.pass-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 25px; padding: 18px 8px; border-radius: 22px; background: #f0f4ff; }
.paywall-signup .pass-summary { margin-top: 18px; }
.pass-summary > div { display: grid; justify-items: center; gap: 3px; padding: 0 10px; text-align: center; }
.pass-summary > div + div { border-left: 1px solid #dbe2f1; }
.pass-summary b { color: #1c273d; font-size: 15px; }
.pass-summary span { color: #67748a; font-size: 12px; white-space: nowrap; }
.paywall-step { display: flex; align-items: center; gap: 11px; min-width: 0; margin: 28px 0 14px; color: #182338; font-size: 18px; line-height: 1.25; }
.paywall-step-number { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 999px; background: #26344f; color: #fff; font-size: 14px; line-height: 1; }
.paywall-step-label { display: block; min-width: 0; color: #182338; font-size: 18px; font-weight: 800; line-height: 1.25; white-space: nowrap; overflow: visible; }
.unlock-methods, .payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.unlock-method, .payment-choice { display: flex; align-items: center; gap: 10px; min-width: 0; height: 58px; padding: 0 14px; border: 1px solid #dfe4ed; border-radius: 13px; background: #fff; color: #61708a; text-align: left; cursor: pointer; }
.unlock-method.active, .payment-choice.active { border-color: #182338; box-shadow: inset 0 0 0 1px #182338; color: #182338; }
.unlock-method strong, .payment-choice strong { overflow: visible; flex: 1 1 auto; min-width: 0; font-size: 14px; text-overflow: clip; white-space: nowrap; }
.unlock-method b, .payment-choice b { margin-left: auto; font-size: 18px; }
.unlock-method.active b, .payment-choice.active b { color: #182338; }
.redeem-panel { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 8px; margin-top: 14px; }
.redeem-panel .join-email { margin-top: 0; }
.redeem-panel .redeem-button { border: 0; border-radius: 11px; background: #182338; color: #fff; font-size: 14px; font-weight: 800; }
.restore-access-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 18px; padding: 8px 2px; border: 0; background: transparent; color: #7b8799; font-size: 13px; cursor: pointer; }
.restore-access-toggle:hover { color: #182338; }
.restore-access-toggle span:last-child { font-size: 18px; transition: transform .2s ease; }
.restore-access-toggle[aria-expanded="true"] span:last-child { transform: rotate(180deg); }
.restore-access-panel { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 8px; margin-top: 4px; }
.restore-access-panel[hidden] { display: none; }
.restore-access-panel .join-email { margin-top: 0; }
.restore-access-panel .redeem-button { border: 0; border-radius: 11px; background: #eef2f8; color: #182338; font-size: 13px; font-weight: 800; }
.payment-methods .pay-button { justify-content: flex-start; margin-top: 0; height: 58px; border: 1px solid #dfe4ed; border-radius: 13px; background: #fff; color: #61708a; }
.payment-methods .pay-button.primary,
.payment-methods .pay-button.secondary { border: 1px solid #dfe4ed; background: #fff; color: #61708a; }
.payment-methods .pay-button.active { border-color: #182338; box-shadow: inset 0 0 0 1px #182338; color: #182338; }
.payment-methods .pay-button strong { font-size: 15px; }
.payment-methods .payment-choice b { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; margin-left: auto; border: 2px solid #78859b; border-radius: 50%; color: transparent; font-size: 0; }
.payment-methods .payment-choice.active b { border-color: #182338; background: #182338; }
.payment-methods .payment-choice.active b::after { width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg) translate(-1px, -1px); }
.unlock-methods .unlock-method b { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; margin-left: auto; border: 2px solid #78859b; border-radius: 50%; color: transparent; font-size: 0; }
.unlock-methods .unlock-method.active b { border-color: #182338; background: #182338; }
.unlock-methods .unlock-method.active b::after { width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg) translate(-1px, -1px); }
.paywall-signup #joinEmail { margin-top: 14px; }
.unlock-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 62px; margin-top: 14px; padding: 0 22px; border: 0; border-radius: 14px; background: #18202d; color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; }
.unlock-submit:hover { background: #273449; }
.unlock-submit strong { font-size: 18px; }
.unlock-submit span:last-child { font-size: 26px; font-weight: 400; }
.paywall-signup > .paywall-note { margin-top: 19px; line-height: 1.5; }
.redeem-panel[hidden], #purchasePanel[hidden] { display: none; }
.purchase-result { margin-top: 14px; padding: 14px; border-radius: 13px; background: #eef4ff; color: #182338; text-align: center; }
.purchase-result[hidden] { display: none; }
.purchase-result p { margin: 0 0 8px; font-size: 13px; }
.purchase-result code { display: block; font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.purchase-result button { margin-top: 9px; padding: 7px 12px; border: 0; border-radius: 8px; background: #182338; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.mini-program-backdrop { z-index: 12; }
.mini-program-modal { position: relative; width: min(360px, 100%); padding: 30px; border-radius: 30px; text-align: center; }
.mini-program-modal h2 { color: #fff; font-size: 26px; letter-spacing: -.04em; }
.mini-program-modal .eyebrow { margin-bottom: 16px; }
.mini-program-code { display: block; width: 232px; height: 232px; margin: 24px auto 12px; border-radius: 22px; background: #fff; object-fit: contain; }
.mini-program-scan { color: #a7b0bc; font-size: 14px; }
.locked-cover { position: relative; }
.detail-cover-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,11,16,.68) 100%); pointer-events: none; }
.detail-locked-body { padding-bottom: 24px; }
.detail-lock { display: grid; gap: 11px; margin-top: 22px; padding: 18px; border-radius: 18px; background: rgba(216,228,255,.1); color: #dbe6f5; }
.detail-lock-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: #d8e4ff; color: #13171d; font-size: 15px; }
.detail-lock strong { font-size: 15px; line-height: 1.5; }
.detail-lock .detail-action { width: 100%; }
.toast { position: absolute; z-index: 20; bottom: 28px; left: 50%; padding: 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(10,13,18,.88); color: #e8edf4; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.marker-pin { display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; border: 3px solid rgba(255,255,255,.96); border-radius: 50% 50% 50% 7px; background: #10151d; box-shadow: 0 7px 20px rgba(0,0,0,.4), 0 0 0 5px rgba(156,190,255,.2); transform: rotate(-45deg); }
.marker-pin img { width: 100%; height: 100%; object-fit: cover; transform: rotate(45deg) scale(1.42); }
.marker-pin span { display: none; }
.google-marker-content { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 4px solid #fff; border-radius: 50% 50% 50% 8px; background: #10151d; box-shadow: 0 7px 20px rgba(0,0,0,.4), 0 0 0 5px rgba(156,190,255,.2); transform: rotate(-45deg); }
.google-marker-content img { width: 100%; height: 100%; object-fit: cover; transform: rotate(45deg) scale(1.42); }
.marker-pin.selected, .google-marker-content.selected { animation: selected-marker-pulse 1.35s ease-in-out infinite; }
@keyframes selected-marker-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(216,228,255,0)); transform: rotate(-45deg) scale(1); }
  50% { filter: drop-shadow(0 0 12px rgba(216,228,255,.95)); transform: rotate(-45deg) scale(1.18); }
}
.marker-cluster { display: grid; width: 48px; height: 48px; place-items: center; border: 3px solid rgba(255,255,255,.96); border-radius: 50%; background: rgba(12,17,24,.88); box-shadow: 0 8px 24px rgba(0,0,0,.42), 0 0 0 6px rgba(156,190,255,.18); color: #f5f8fc; font-size: 16px; font-weight: 800; }
.route-stop-icon { display: grid; place-items: center; border-radius: 50%; background: #10151d; box-shadow: 0 4px 14px rgba(0,0,0,.42), 0 0 0 3px rgba(216,228,255,.55); color: #f7f9fc; font-size: 13px; font-weight: 800; }

@media (max-width: 760px) {
  .paywall-modal { padding: 24px 18px; }
  .paywall-grid { grid-template-columns: 1fr; gap: 20px; }
  .paywall-signup { order: -1; padding: 18px 0 20px; border-right: 0; border-bottom: 1px solid #e5e7eb; border-left: 0; }
  .paywall-signup .pass-summary { margin-top: 0; }
  .paywall-modal h2 { font-size: 36px; }
  .paywall-feature-image { height: 150px; }
  .topbar { top: 12px; right: 12px; }
  .article-button { display: none; }
  .login-button { padding: 9px 10px; }
  .explorer { top: auto; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; width: auto; height: min(58dvh, 570px); padding: 20px 16px 14px; border-radius: 26px; }
  .explorer.is-collapsed { top: max(10px, env(safe-area-inset-top)); right: auto; bottom: auto; left: 12px; width: 64px; height: 64px; padding: 0; }
  .explorer.is-collapsed .explorer-brand-row { justify-content: flex-start; }
  .explorer-brand-row { margin-bottom: var(--space-4); }
  .explorer-head { padding-bottom: 13px; }
  .explorer h1 { font-size: 32px; }
  .detail-panel { top: auto; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; width: auto; height: min(58dvh, 570px); max-height: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transform: translateY(22px); box-shadow: 0 24px 80px rgba(0,0,0,.38); }
  .detail-panel::before { display: none; }
  .detail-panel.open { transform: translateY(0); }
  .detail-cover { height: clamp(180px, 28dvh, 250px); }
  .detail-title { font-size: 30px; }
  .map-controls { right: 16px; bottom: calc(min(58dvh, 570px) + 24px); }
  .pass-cta { min-height: 100px; padding: 0 52px 0 14px; gap: 12px; }
  .pass-cta strong { font-size: 13px; }
  .pass-cta-join { padding: 9px 13px; font-size: 13px; }
  .pass-cta-close { right: 12px; width: 28px; height: 28px; font-size: 24px; }
  .list-card { min-height: 238px; }
  .list-title { font-size: 19px; }
  .list-meta, .list-kicker { font-size: 13px; }
  .search-field input { font-size: 17px; }
  .topbar-actions { gap: 6px; }
  .unlock-button { padding: 10px 12px; }
  .language-button { padding: 10px 12px; }
  .explorer:has(#filtersPanel:not([hidden])) { height: min(78dvh, 720px); }
  .filters-panel { max-height: min(31dvh, 270px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 2px 0 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; }
  .filters-panel > .filter-scroll, .filters-panel > .city-scroll, .filters-panel > .member-scroll { min-height: 48px; padding: 2px 0 4px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .filter-chip, .city-chip, .member-chip { min-height: 44px; padding: 10px 14px; white-space: nowrap; }
  .section-tabs { margin-top: 10px; }
  .modal-backdrop { align-items: start; padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); overflow-y: auto; }
  .paywall-modal { width: 100%; max-height: none; margin: 0; border-radius: 18px; }
  .paywall-signup h3 { font-size: 27px; }
  .paywall-step-label { white-space: normal; }
  .unlock-method strong, .payment-choice strong { white-space: normal; line-height: 1.2; }
  .unlock-method, .payment-choice { min-height: 58px; height: auto; padding-top: 11px; padding-bottom: 11px; }
}

@media (max-width: 600px) {
  .topbar { top: max(8px, env(safe-area-inset-top)); right: 8px; left: 8px; }
  .topbar-actions { justify-content: flex-end; }
  .explorer.is-collapsed { top: max(8px, env(safe-area-inset-top)); left: 10px; }
  .language-button, .unlock-button { min-height: 44px; }
  .explorer { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; height: min(57dvh, 560px); padding: 18px 14px 12px; }
  .explorer:has(#filtersPanel:not([hidden])) { height: min(79dvh, 700px); }
  .explorer-brand-row { margin-bottom: 14px; }
  .explorer h1 { font-size: 29px; }
  .section-tabs { gap: 4px; }
  .section-tab { min-height: 44px; padding: 0 10px; font-size: 13px; }
  .content-list { padding-top: 10px; }
  .list-card { min-height: 205px; border-radius: 18px; }
  .list-copy { gap: 8px; padding: 64px 14px 14px; }
  .list-title { max-width: 67%; font-size: 17px; }
  .list-meta { max-width: 33%; font-size: 12px; }
  .route-title-top { top: 14px; left: 14px; max-width: 67%; font-size: 19px; }
  .route-city-top { top: 16px; right: 14px; max-width: 30%; font-size: 12px; }
  .route-tone-bottom { font-size: 12px; }
  .detail-panel { top: auto; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; height: min(57dvh, 560px); max-height: none; padding: 8px; border-radius: 26px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: linear-gradient(145deg, rgba(42,49,57,.9), rgba(13,16,22,.82)); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
  .detail-panel::before { display: none; }
  .detail-cover { height: clamp(160px, 24dvh, 220px); border-radius: 20px; }
  .detail-body { padding: 16px 10px 10px; }
  .detail-title { margin-top: 6px; font-size: 25px; }
  .detail-tags { margin-top: 12px; }
  .detail-info { gap: 9px; margin-top: 14px; padding-top: 13px; }
  .info-row { grid-template-columns: 54px 1fr; gap: 8px; font-size: 13px; }
  .detail-actions { margin-top: 14px; }
  .detail-title { font-size: 26px; }
  .map-controls { right: 12px; bottom: calc(min(57dvh, 560px) + 18px); }
  .pass-cta { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); left: 8px; min-height: 88px; border-radius: 18px; }
  .pass-cta-copy { white-space: normal; line-height: 1.25; }
  .pass-cta-join { min-height: 44px; }
  .paywall-grid { gap: 14px; }
  .paywall-modal { padding: 18px 14px; }
  .paywall-modal h2 { font-size: 30px; }
  .paywall-copy { font-size: 15px; }
  .paywall-feature-image { height: 125px; margin-top: 18px; }
  .pass-summary { grid-template-columns: 1fr; gap: 12px; padding: 14px 8px; }
  .pass-summary > div + div { padding-top: 12px; border-top: 1px solid #dbe2f1; border-left: 0; }
  .unlock-methods, .payment-methods { grid-template-columns: 1fr; }
  .redeem-panel { grid-template-columns: 1fr; }
  .redeem-panel .redeem-button { min-height: 48px; }
  .restore-access-panel { grid-template-columns: 1fr; }
  .restore-access-panel .redeem-button { min-height: 48px; }
  .pay-button, .unlock-submit { min-height: 56px; height: auto; }
  .mini-program-modal { padding: 24px 18px; }
  .mini-program-code { width: min(232px, 72vw); height: min(232px, 72vw); }
}

@media (max-width: 420px) {
  .language-button, .unlock-button { padding-right: 9px; padding-left: 9px; font-size: 12px; }
  .unlock-icon { width: 22px; height: 22px; }
  .explorer { height: min(58dvh, 550px); }
  .explorer.is-collapsed { top: max(8px, env(safe-area-inset-top)); left: 8px; }
  .detail-panel { height: min(58dvh, 550px); }
  .explorer-brand-row { margin-bottom: 10px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand span { font-size: 13px; }
  .result-count { font-size: 12px; }
  .list-card { min-height: 184px; }
  .list-title { font-size: 16px; }
  .list-meta, .list-kicker { font-size: 11px; }
  .map-controls { bottom: calc(min(58dvh, 550px) + 16px); }
  .pass-cta strong { font-size: 12px; }
  .pass-cta-join { padding: 8px 10px; font-size: 12px; }
  .paywall-modal h2 { font-size: 27px; }
  .paywall-step { font-size: 16px; }
  .paywall-step-label { font-size: 16px; }
}
