/* styles.css */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-strong: #f0f5f8;
  --line: rgba(25, 38, 52, 0.1);
  --text: #15212f;
  --muted: rgba(21, 33, 47, 0.62);
  --gold: #45c0a5;
  --jade: #45c0a5;
  --cyan: #45c0a5;
  --danger: #ff6f61;
  --shadow: 0 18px 42px rgba(22, 41, 60, 0.1);
  --nav-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hotel detail closure: compact, room-first and data-backed. */
.hotel-detail-hero-v2 .hotel-detail-gallery { position: relative; height: 210px; touch-action: pan-y; transition: height .26s ease, background-color .26s ease; }
.hotel-detail-hero-v2 .hotel-detail-gallery.is-browsing { height: min(72vw, 310px); }
.hotel-detail-gallery-track { display: flex; width: 100%; height: 100%; transition: transform .26s cubic-bezier(.22,.72,.22,1); will-change: transform; }
.hotel-detail-gallery-track figure { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.hotel-detail-gallery-track img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.hotel-detail-gallery.is-browsing .hotel-detail-gallery-track img { object-fit: cover; object-position: center; }
.hotel-detail-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 2; }
.hotel-detail-actions button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(20,34,30,.82); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); }
.hotel-detail-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hotel-detail-actions button.active { background: #45c0a5; }
.hotel-detail-actions button.active svg { fill: currentColor; }
.hotel-feature-rail,.hotel-review-entry,.hotel-detail-entry { width: 100%; margin: 12px 0 0; box-sizing: border-box; border: 1px solid rgba(19,82,67,.11); border-radius: 16px; background: #fff; color: #18312b; text-align: left; }
.hotel-feature-rail { display: flex; align-items: center; gap: 12px; padding: 14px; overflow: hidden; }
.hotel-feature-rail > span { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.hotel-feature-rail em { flex: 0 0 auto; padding: 7px 10px; border-radius: 10px; background: #edf7f3; color: #166c57; font-size: 12px; font-style: normal; white-space: nowrap; }
.hotel-feature-rail b { flex: 0 0 auto; color: #45c0a5; font-size: 12px; }
.hotel-review-entry,.hotel-detail-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
.hotel-review-entry span,.hotel-detail-entry span { min-width: 0; display: grid; gap: 5px; }
.hotel-review-entry strong,.hotel-detail-entry strong { font-size: 16px; }
.hotel-review-entry small,.hotel-detail-entry small { color: #70817c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hotel-review-entry em,.hotel-detail-entry em { color: #45c0a5; font-style: normal; white-space: nowrap; }
.hotel-info-content { min-height: calc(100dvh - 64px); padding: 0 14px 28px; background: #f5f7f6; }
.hotel-info-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; background: #f5f7f6; scrollbar-width: none; }
.hotel-info-tabs button { flex: 0 0 auto; border: 0; border-radius: 999px; background: #fff; color: #60716c; padding: 9px 13px; font-size: 13px; }
.hotel-info-tabs button.active { color: #fff; background: #45c0a5; }
.hotel-info-card { margin-top: 10px; padding: 17px; border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(25,63,53,.05); }
.hotel-info-card h3 { margin: 0 0 12px; color: #17342c; font-size: 17px; }
.hotel-info-card p { margin: 0; color: #61736d; font-size: 14px; line-height: 1.75; }
.hotel-policy-list > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf1ef; }
.hotel-policy-list > div:last-child { border-bottom: 0; }
.hotel-policy-list strong { color: #263d37; font-size: 14px; }
.hotel-policy-list span { color: #687872; font-size: 14px; line-height: 1.55; }
.hotel-info-facility-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
.hotel-info-facility-grid span { color: #4e625c; font-size: 14px; }
.hotel-info-facility-grid small { margin-left: 5px; color: #a66a22; }
.hotel-real-marker svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.hotel-room-placeholder { display: grid; place-items: center; width: 76px; height: 78px; border-radius: 12px; background: linear-gradient(145deg,#edf8f4,#dcefe8); color: #17735c; }
.hotel-room-placeholder svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hotel-room-specs { display: grid; gap: 0; margin: 0 0 10px 86px; padding: 6px 12px; border-radius: 13px; background: #f4f8f7; }
.hotel-room-specs > div { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(8,32,28,.07); }
.hotel-room-specs > div:last-child { border-bottom: 0; }
.hotel-room-specs strong { color: #334a43; font-size: 11px; }
.hotel-room-specs span { color: #63756f; font-size: 11px; line-height: 1.45; }
.hotel-action-feedback { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 48px); padding: 10px 15px; border-radius: 999px; background: rgba(20,48,40,.94); color: #fff; box-shadow: 0 10px 28px rgba(8,32,28,.22); font-size: 13px; font-weight: 750; text-align: center; }
.hotel-property-facts > div { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1ef; }
.hotel-property-facts > div:last-child { border-bottom: 0; }
.hotel-property-facts strong { color: #344b44; font-size: 13px; }
.hotel-property-facts span,.hotel-property-facts a { color: #63756f; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.hotel-property-facts a { color: #08201c; text-decoration: none; }
@media (max-width: 430px) {
  .hotel-detail-content { overflow-x: hidden; }
  .hotel-feature-rail,.hotel-review-entry,.hotel-detail-entry { max-width: 100%; box-sizing: border-box; }
  .hotel-detail-cta { left: max(12px,env(safe-area-inset-left)); right: max(12px,env(safe-area-inset-right)); width: auto; }
  .hotel-room-placeholder { width: 66px; height: 72px; }
  .hotel-room-specs { margin-left: 0; }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--nav-height) + 42px);
  background: var(--bg);
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
}

body[data-active-page="explore"] {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: #ffffff;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) 16px calc(var(--nav-height) + 52px);
  background: var(--bg);
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
}

body[data-active-page="home"] main > section:not(#homeGateway):not(#homeFullBack):not(#privacyStrip):not(#networkStrip):not(#homeHero):not(#travelerHomeCard):not(#homeHighlights):not(#homeFeatured):not(#homeFeaturedDetail),
body[data-active-page="explore"] main > section:not(#homeHero):not(#serviceHub):not(#cityDataCenter):not(#attractionVisit):not(#foodZone):not(#stayService):not(#localLife):not(#merchantTrust),
body:not(.module-standalone-open)[data-active-page="go"] main > section:not(#goDashboard),
body:not(.module-standalone-open)[data-active-page="tools"] main > section:not(#toolsDashboard),
body:not(.module-standalone-open)[data-active-page="profile"] main > section:not(#meDashboard) {
  display: none !important;
}

body[data-translate-standalone="true"] main > section:not(#travelerToolkit) {
  display: none !important;
}

body[data-stay-standalone="true"] main > section:not(#stayService) {
  display: none !important;
}

body[data-ticket-standalone="true"] main > section:not(#ticketBooking) {
  display: none !important;
}

body[data-translate-standalone="true"] #travelerToolkit {
  display: block !important;
  order: 1;
}

body[data-stay-standalone="true"] #stayService,
body[data-ticket-standalone="true"] #ticketBooking {
  display: block !important;
  order: 1;
}

body[data-active-page="home"][data-home-level="primary"] :is(#homeFullBack, #privacyStrip, #networkStrip, #homeHero, #travelerHomeCard, #homeHighlights, #homeFeatured, #homeFeaturedDetail) {
  display: none !important;
}

body[data-active-page="home"][data-home-level="full"] #homeGateway {
  display: none !important;
}

.home-gateway {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 62px - var(--nav-height) - env(safe-area-inset-top));
  padding: clamp(34px, 8vh, 72px) 4px 18px;
}

.home-gateway-intro h1 {
  max-width: 350px;
  margin: 0;
  color: #14212f;
  font-size: clamp(28px, 7.4vw, 36px);
  line-height: 1.14;
  letter-spacing: 0;
}

.home-gateway-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 30px;
}

.home-gateway-search input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(20, 33, 47, 0.12);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(20, 33, 47, 0.055);
}

.home-gateway-search input:focus {
  border-color: rgba(24, 168, 137, 0.64);
  box-shadow: 0 0 0 3px rgba(24, 168, 137, 0.11);
}

.home-gateway-search button {
  min-width: 72px;
  height: 52px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.home-gateway-search-status {
  min-height: 18px;
  margin: 8px 2px 0;
  color: rgba(20, 33, 47, 0.52);
  font-size: 11px;
  line-height: 1.45;
}

.home-gateway-destination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.home-gateway-destination > span {
  color: rgba(20, 33, 47, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.home-gateway-destination select {
  min-width: 0;
  height: 46px;
  padding: 0 34px 0 13px;
  border: 1px solid rgba(20, 33, 47, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.home-gateway-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.home-gateway-actions a {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 54px;
  border: 1px solid rgba(24, 168, 137, 0.18);
  border-radius: 8px;
  background: rgba(24, 168, 137, 0.08);
  color: var(--brand-solid);
  text-decoration: none;
}

.home-gateway-actions strong {
  overflow: hidden;
  max-width: 100%;
  padding: 0 6px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-gateway-more {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 2px 4px;
  border: 0;
  background: transparent;
  color: rgba(20, 33, 47, 0.62);
  text-align: left;
}

.home-gateway-more span {
  font-size: 13px;
  font-weight: 800;
}

.home-gateway-more i {
  color: var(--brand-solid);
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.home-full-back {
  min-height: 38px;
  padding-top: 2px;
}

.home-full-back button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(20, 33, 47, 0.08);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

@media (max-width: 380px) {
  .home-gateway {
    padding-top: 26px;
  }

  .home-gateway-intro h1 {
    font-size: 27px;
  }

  .home-gateway-search {
    margin-top: 24px;
  }

  .home-gateway-actions {
    margin-top: 24px;
  }
}

/* v445 align the primary home with the established ExplorePanda surfaces. */
.home-gateway-search {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-search:focus-within {
  border-color: rgba(69, 192, 165, 0.64);
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.12), 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-search button {
  background: var(--brand-green, #45c0a5);
  color: var(--brand-green-dark, #08201c);
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.18);
}

.home-gateway-select-wrap {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  box-shadow: 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-select-wrap svg,
.home-gateway-actions svg,
.home-gateway-actions a:nth-child(2) svg,
.home-gateway-actions a:nth-child(3) svg {
  stroke: var(--brand-green, #45c0a5);
}

.home-gateway-actions {
  border-top-color: rgba(69, 192, 165, 0.14);
}

.home-gateway-actions a,
.home-gateway-actions a:nth-child(2),
.home-gateway-actions a:nth-child(3) {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 14px;
  background: var(--surface, #ffffff);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.055);
}

.home-gateway-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-width: 156px;
  min-height: 52px;
  margin: 30px auto 0;
  padding: 8px 18px 4px;
  border: 0;
  color: var(--brand-solid, #45c0a5);
  text-align: center;
}

.home-gateway-more i {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid var(--brand-green, #45c0a5);
  border-bottom: 2px solid var(--brand-green, #45c0a5);
  transform: rotate(45deg);
}

.home-gateway-more span {
  color: inherit;
  font-size: 12px;
}

/* v446 primary home tuned from the approved palette and search-first references. */
.home-gateway {
  padding-top: 36px;
  color: #08201c;
  background: #ffffff;
}

.home-gateway-intro h1 {
  max-width: 380px;
  color: #08201c;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.15;
}

.home-gateway-search {
  grid-template-columns: 30px minmax(0, 1fr) 62px;
  align-items: center;
  min-height: 60px;
  margin-top: 28px;
  padding-left: 15px;
  border-color: #dfe9e5;
  border-radius: 18px;
  background: #ffffff;
}

.home-gateway-search-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #08201c;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.home-gateway-search input {
  height: 58px;
  padding: 0 10px;
  color: #08201c;
  font-size: 15px;
}

.home-gateway-search input::placeholder {
  color: rgba(8, 32, 28, 0.46);
}

.home-gateway-search button {
  width: 62px;
  min-width: 62px;
  height: 60px;
  color: #08201c;
  font-weight: 850;
}

.home-gateway-search-status {
  margin-left: 4px;
  color: rgba(8, 32, 28, 0.48);
}

.home-gateway-destination {
  margin-top: 24px;
}

.home-gateway-section-label {
  color: #08201c !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

.home-gateway-select-wrap {
  min-height: 58px;
  border-color: #dfe9e5;
  background: #f5faf8;
}

.home-gateway-select-wrap svg {
  stroke: #45c0a5;
}

.home-gateway-select-wrap select {
  height: 56px;
  color: #08201c;
  font-size: 15px;
}

/* v461: current location stays in the header; China planning context stays with the destination control. */
.home-gateway-destination {
  grid-template-columns: auto minmax(112px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.home-gateway-destination-weather {
  min-width: 54px;
  color: rgba(23, 35, 48, 0.56);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-align: end;
}

@media (max-width: 370px) {
  .home-gateway-destination {
    grid-template-columns: auto minmax(104px, 1fr);
  }

  .home-gateway-destination-weather {
    grid-column: 2;
    text-align: start;
  }
}

/* v661: city-only header context and an anchored language menu. */
.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  display: flex !important;
  align-items: center !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
}

.app-header .top-context-chip span,
body[data-active-page="explore"] .app-header .top-context-chip span {
  display: block !important;
  width: 100% !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.app-header #topTravelMeta,
body[data-active-page="explore"] .app-header #topTravelMeta {
  display: none !important;
}

.app-header .language-control,
body[data-active-page="explore"] .app-header .language-control {
  position: relative;
  width: 76px !important;
}

.app-header .language-native-select,
body[data-active-page="explore"] .app-header .language-native-select {
  display: none !important;
}

.app-header .language-menu-trigger,
body[data-active-page="explore"] .app-header .language-menu-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 76px;
  height: 44px;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #142220;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}

.app-header .language-menu-trigger:focus,
.app-header .language-menu-trigger:focus-visible {
  outline: 0;
  box-shadow: none;
}

.language-menu-trigger span {
  max-width: 58px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu-trigger .language-chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  transition: transform 180ms ease;
}

.language-menu-trigger[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-menu-sheet[hidden] {
  display: none !important;
}

.language-menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.language-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

.language-menu-panel {
  position: fixed;
  top: var(--language-menu-top, calc(env(safe-area-inset-top) + 56px));
  right: var(--language-menu-right, 12px);
  z-index: 1;
  box-sizing: border-box;
  width: min(248px, calc(100vw - 24px));
  max-height: min(62dvh, calc(100dvh - var(--language-menu-top, 62px) - 12px));
  padding: 6px;
  border: 1px solid rgba(20, 45, 39, 0.09);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(11, 30, 26, 0.16), 0 2px 8px rgba(11, 30, 26, 0.08);
  overflow: hidden;
  pointer-events: auto;
  transform-origin: calc(100% - 24px) 0;
  animation: language-menu-popover-in 150ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes language-menu-popover-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.language-menu-list {
  max-height: calc(min(62dvh, calc(100dvh - var(--language-menu-top, 62px) - 12px)) - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.language-menu-list::-webkit-scrollbar {
  display: none;
}

.language-menu-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #182522;
  font: inherit;
  text-align: left;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

.language-menu-list button:focus,
.language-menu-list button:focus-visible {
  outline: 0;
  box-shadow: none;
}

.language-menu-list button span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu-list button i {
  visibility: hidden;
  color: #45c0a5;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.language-menu-list button.is-selected {
  background: #edf8f4;
  color: #45c0a5;
  font-weight: 700;
}

.language-menu-list button.is-selected i {
  visibility: visible;
}

body.language-menu-open {
  overflow: auto;
}

.rtl-ui .language-menu-panel,
.rtl-ui .language-menu-list button {
  direction: ltr;
}

@media (prefers-reduced-motion: reduce) {
  .language-menu-panel {
    animation: none;
  }
}

.location-center-sheet {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px max(14px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(16, 27, 35, 0.34);
  backdrop-filter: blur(5px);
}

.location-center-sheet.hidden {
  display: none;
}

.location-center-panel {
  width: min(100%, 430px);
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(17, 35, 45, 0.22);
}

.location-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.location-center-head > strong {
  color: #172330;
  font-size: 17px;
}

.location-center-head button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f4;
  color: #172330;
  font-size: 24px;
  line-height: 1;
}

.location-center-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(20, 36, 48, 0.09);
}

.location-center-row span {
  color: rgba(23, 35, 48, 0.54);
  font-size: 11px;
}

.location-center-row strong {
  overflow: hidden;
  color: #172330;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-center-row.planning strong {
  color: #128a73;
}

.location-center-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
  padding-top: 14px;
}

.home-gateway-actions {
  align-items: start;
  gap: 18px;
  margin-top: 24px;
  padding: 20px 14px 0;
  border-top-color: #dfe9e5;
}

.home-gateway-actions a,
.home-gateway-actions a:nth-child(2),
.home-gateway-actions a:nth-child(3) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 56px 22px;
  place-items: center;
  gap: 7px;
  height: 85px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #08201c;
}

.home-gateway-actions svg,
.home-gateway-actions a:nth-child(2) svg,
.home-gateway-actions a:nth-child(3) svg {
  width: 56px;
  height: 56px;
  padding: 15px;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  stroke: #45c0a5;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.06);
}

.home-gateway-actions strong {
  color: #08201c;
  font-size: 13px;
  line-height: 1;
}

.home-gateway-more {
  min-width: 174px;
  margin-top: 24px;
  color: #08201c;
}

.home-gateway-more i {
  border-color: #45c0a5;
}

@media (max-width: 380px) {
  .home-gateway {
    padding-top: 28px;
  }

  .home-gateway-actions {
    gap: 10px;
    padding-inline: 8px;
  }
}

/* v444 primary home: one clear travel task with restrained utility actions. */
.home-gateway {
  min-height: calc(100dvh - 66px - var(--nav-height) - env(safe-area-inset-top));
  padding: 42px 0 16px;
  background: #ffffff;
}

.home-gateway-intro {
  padding: 0 2px;
}

.home-gateway-intro h1 {
  max-width: 360px;
  color: #172330;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: 0;
}

.home-gateway-search {
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 0;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(20, 36, 48, 0.13);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 42, 56, 0.07);
}

.home-gateway-search:focus-within {
  border-color: rgba(24, 168, 137, 0.68);
  box-shadow: 0 0 0 3px rgba(24, 168, 137, 0.1);
}

.home-gateway-search input {
  height: 56px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-gateway-search input:focus {
  border: 0;
  box-shadow: none;
}

.home-gateway-search button {
  min-width: 52px;
  width: 52px;
  height: 56px;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
}

.home-gateway-search-status {
  margin: 7px 3px 0;
  color: rgba(23, 35, 48, 0.48);
}

.home-gateway-destination {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 26px;
  padding: 0;
}

.home-gateway-section-label {
  color: #172330 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

.home-gateway-select-wrap {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(20, 36, 48, 0.09);
  border-radius: 8px;
  background: #f5f8f7;
}

.home-gateway-select-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #45c0a5;
  stroke-width: 2;
}

.home-gateway-select-wrap select {
  width: 100%;
  height: 52px;
  padding: 0 30px 0 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.home-gateway-actions {
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 36, 48, 0.07);
}

.home-gateway-actions a {
  display: grid;
  grid-template-columns: 28px minmax(0, auto);
  place-content: center;
  align-items: center;
  gap: 7px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #f4f7f6;
  color: #172330;
}

.home-gateway-actions a:nth-child(2) {
  background: #f2f6fb;
}

.home-gateway-actions a:nth-child(3) {
  background: #fbf4f2;
}

.home-gateway-actions svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #45c0a5;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-gateway-actions a:nth-child(2) svg {
  stroke: #2f80ed;
}

.home-gateway-actions a:nth-child(3) svg {
  stroke: #d96858;
}

.home-gateway-actions strong {
  padding: 0;
  color: inherit;
  font-size: 13px;
}

.home-gateway-more {
  min-height: 50px;
  margin-top: auto;
  padding: 13px 3px 3px;
  border-top: 1px solid rgba(20, 36, 48, 0.07);
  color: #354452;
}

.home-gateway-more span {
  font-size: 12px;
}

@media (max-width: 380px) {
  .home-gateway {
    padding-top: 30px;
  }

  .home-gateway-intro h1 {
    font-size: 29px;
  }

  .home-gateway-actions a {
    grid-template-columns: 22px minmax(0, auto);
    gap: 5px;
  }

  .home-gateway-actions svg {
    width: 20px;
    height: 20px;
  }
}

body[data-translate-standalone="true"] #travelerToolkit,
body[data-stay-standalone="true"] #stayService,
body[data-ticket-standalone="true"] #ticketBooking {
  margin-top: 0;
}

body.module-standalone-open main > section:not(.service-module-standalone-active) {
  display: none !important;
}

body.module-standalone-open main > .service-module-standalone-active {
  display: block !important;
  order: 1 !important;
  margin-top: 12px;
}

.module-back-bar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 10px;
}

.module-back-bar button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

.module-back-bar strong {
  overflow: hidden;
  font-size: 16px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-center-head,
.journey-section-title,
.tool-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-center-head > div {
  display: grid;
  gap: 3px;
}

.journey-center-head span {
  color: var(--brand-solid);
  font-size: 11px;
  font-weight: 800;
}

.journey-center-head strong {
  font-size: 22px;
  line-height: 1.2;
}

.journey-center-head > button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-solid);
  font-size: 12px;
  font-weight: 800;
}

.journey-route-entry {
  display: grid;
  grid-template-columns: 16px 1fr 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.journey-route-form {
  display: grid;
  gap: 0;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 14px;
  background: #fff;
}

.journey-route-point {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.journey-route-origin {
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
}

.journey-route-point > i {
  width: 10px;
  height: 10px;
  border: 3px solid var(--brand-solid);
  border-radius: 50%;
}

.journey-route-destination > i {
  border-radius: 3px;
}

.journey-route-point span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.journey-route-point small {
  color: rgba(21, 33, 47, 0.48);
  font-size: 10px;
}

.journey-route-point input {
  min-width: 0;
  height: 28px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.journey-route-point > button {
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.14);
  color: var(--brand-solid);
  font-size: 12px;
  font-weight: 850;
}

.go-route-status {
  min-height: 16px;
  margin: 7px 2px 0;
  color: rgba(21, 33, 47, 0.54);
  font-size: 11px;
}

.go-route-status[data-state="error"] { color: #b34848; }
.go-route-status[data-state="success"] { color: var(--brand-solid); }

.go-destination-results {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 13px;
  background: #fff;
}

.go-destination-results.hidden,
.go-hub-sheet.hidden,
.go-origin-sheet.hidden {
  display: none;
}

.go-destination-results button {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.go-destination-results button:last-child { border-bottom: 0; }
.go-destination-results span { display: grid; gap: 2px; }
.go-destination-results small { color: rgba(21, 33, 47, 0.54); font-size: 10px; }
.go-destination-results em { color: rgba(21, 33, 47, 0.34); font-size: 20px; font-style: normal; }

.journey-primary-modes button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.go-hub-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: min(100vw, 460px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(var(--nav-height) + 20px);
  background: #f7faf9;
}

.go-origin-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: min(100vw, 460px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(var(--nav-height) + 20px);
  background: #f7faf9;
  overflow-y: auto;
}

.go-origin-current,
.go-origin-results button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
  background: #fff;
  color: var(--text);
  text-align: left;
}

.go-origin-current {
  margin-top: 10px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 14px;
}

.go-origin-current span,
.go-origin-results span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.go-origin-current small,
.go-origin-results small,
.go-origin-status {
  color: rgba(21, 33, 47, 0.56);
  font-size: 11px;
}

.go-origin-current em,
.go-origin-results em {
  color: rgba(21, 33, 47, 0.34);
  font-size: 20px;
  font-style: normal;
}

.go-origin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.go-origin-search input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 13px;
  background: #fff;
}

.go-origin-search button {
  min-width: 68px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-weight: 800;
}

.go-origin-status {
  margin: 10px 2px;
}

.go-origin-results {
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 14px;
  background: #fff;
}

.go-origin-results:empty {
  display: none;
}

.go-origin-results button:last-child {
  border-bottom: 0;
}

.go-hub-sheet > p {
  margin: 8px 0 14px;
  color: rgba(21, 33, 47, 0.58);
  font-size: 12px;
}

.go-hub-options {
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 14px;
  background: #fff;
}

.go-hub-options button {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.go-hub-options button:last-child { border-bottom: 0; }
.go-hub-options strong, .go-hub-options small { grid-column: 1; }
.go-hub-options small { color: rgba(21, 33, 47, 0.54); }
.go-hub-options em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 20px; }

.journey-route-entry i {
  width: 11px;
  height: 11px;
  border: 3px solid var(--brand-solid);
  border-radius: 50%;
}

.journey-route-entry span,
.journey-list-card span,
.tool-search-results span {
  display: grid;
  gap: 3px;
}

.journey-route-entry small,
.journey-section-title small,
.journey-primary-modes small,
.journey-list-card small,
.journey-compact-grid small,
.tool-priority-grid small,
.tool-service-grid small,
.tool-search-results small,
.tool-search-empty small {
  color: rgba(21, 33, 47, 0.56);
  font-size: 11px;
  line-height: 1.25;
}

.journey-route-entry em,
.journey-list-card em,
.tool-search-results em {
  color: rgba(21, 33, 47, 0.35);
  font-size: 21px;
  font-style: normal;
}

.journey-primary-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.journey-primary-modes button,
.journey-compact-grid button,
.tool-priority-grid button,
.tool-service-grid button {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(25, 38, 52, 0.09);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
}

.journey-primary-modes button {
  min-height: 68px;
  padding: 8px 4px;
}

.journey-primary-modes b,
.tool-service-grid b {
  font-size: 12px;
}

.journey-center-section {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.journey-section-title strong {
  font-size: 15px;
}

.journey-list-card {
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.09);
  border-radius: 14px;
  background: #fff;
}

.journey-list-card button,
.tool-search-results button {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.journey-list-card button:last-child,
.tool-search-results button:last-child {
  border-bottom: 0;
}

.journey-compact-grid,
.tool-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.journey-compact-grid button {
  min-height: 62px;
  padding: 10px 12px;
  text-align: left;
}

.tool-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.tool-priority-grid button {
  min-height: 88px;
  padding: 10px 7px;
  text-align: center;
}

.tool-priority-grid span {
  color: var(--brand-solid);
  font-size: 11px;
  font-weight: 800;
}

.tool-priority-grid strong {
  font-size: 13px;
}

.tool-service-grid button {
  min-height: 68px;
  padding: 10px 12px;
  text-align: left;
}

/* v607: long translated labels must wrap inside compact dashboard grids. */
.journey-primary-modes :is(b, small),
.journey-compact-grid :is(b, small),
.tool-priority-grid :is(span, strong, small),
.tool-service-grid :is(b, small) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.tool-search-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: min(100vw, 460px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(var(--nav-height) + 20px);
  background: #f7faf9;
  overflow-y: auto;
}

.tool-search-sheet.hidden {
  display: none;
}

.tool-search-head {
  min-height: 42px;
}

.tool-search-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
}

#toolCenterSearch {
  width: 100%;
  height: 46px;
  margin: 10px 0;
  padding: 0 14px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 13px;
  background: #fff;
  font-size: 15px;
}

.tool-search-results {
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 14px;
  background: #fff;
}

.tool-search-empty {
  display: grid;
  gap: 5px;
  padding: 22px 14px;
  text-align: center;
}

#privacyStrip { order: 1; }
#networkStrip { order: 2; }
#homeHero { order: 10; }
#homeHighlights { order: 20; }
#travelerHomeCard { order: 30; }
#homeFeatured { order: 40; }
#homeFeaturedDetail { order: 45; }
#exploreDashboard,
#goDashboard,
#toolsDashboard,
#meDashboard { order: 1; }
body[data-active-page="explore"] #homeHero { order: 2; }
body[data-active-page="explore"] #serviceHub,
body[data-active-page="go"] #tripPlanner,
body[data-active-page="tools"] #serviceHub,
body[data-active-page="profile"] #profileCenter { order: 3; }
body[data-active-page="explore"] #nearbySection,
body[data-active-page="tools"] #travelerToolkit,
body[data-active-page="profile"] #serviceHub { order: 4; }
body[data-active-page="explore"] #radiusSection { order: 5; }
body[data-active-page="go"] #transportCenter { order: 4; }
body[data-active-page="go"] #departureService { order: 5; }

body[data-active-page="explore"] #homeHero {
  position: fixed;
  inset: 0;
  z-index: 1;
  order: 1;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body[data-active-page="explore"] #homeHero .earth-stage {
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

body[data-active-page="explore"] #homeHero .globe-canvas,
body[data-active-page="explore"] #homeHero .globe-hint,
body[data-active-page="explore"] #homeHero .hero-copy,
body[data-active-page="explore"] #homeHero .hero-actions,
body[data-active-page="explore"] #homeHero .location-consent-card,
body[data-active-page="explore"] #homeHero .destination-picker,
body[data-active-page="explore"] #homeHero .status-row,
body[data-active-page="explore"] #homeHero .map-destination-status,
body[data-active-page="explore"] #homeHero .map-toolbox,
body[data-active-page="explore"] #homeHero .travel-brief,
body[data-active-page="explore"] #homeHero .map-actions,
body[data-active-page="explore"] #homeHero .map-status {
  display: none !important;
}

body[data-active-page="explore"] #mapPanel {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="explore"] #mapPanel .map-destination-search {
  position: absolute;
  top: max(66px, calc(env(safe-area-inset-top) + 58px));
  left: 12px;
  right: 12px;
  z-index: 10;
  margin: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) 58px;
  background: transparent;
}

body[data-active-page="explore"] #mapPanel .map-destination-search input {
  height: 46px;
  border-color: rgba(7, 19, 19, 0.06);
  border-radius: 16px;
  background: #ffffff;
  color: #142220;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.12);
  backdrop-filter: none;
}

body[data-active-page="explore"] #mapPanel .map-destination-search input::placeholder {
  color: rgba(20, 34, 32, 0.56);
}

body[data-active-page="explore"] #mapPanel .map-destination-search .chip-button {
  min-height: 46px;
  border-radius: 16px;
  border-color: rgba(7, 19, 19, 0.08);
  background: rgba(69, 192, 165, 0.9);
  color: #08201c;
}

body[data-active-page="explore"] #mapPanel .map-category-strip {
  position: absolute;
  top: max(122px, calc(env(safe-area-inset-top) + 114px));
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 12px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-active-page="explore"] #mapPanel .map-category-strip::-webkit-scrollbar {
  display: none;
}

body[data-active-page="explore"] #mapPanel .map-category-chip {
  flex: 0 0 auto;
  min-width: auto;
  height: 36px;
  padding: 0 13px;
  border-color: rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #172522;
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.12);
  backdrop-filter: none;
  white-space: nowrap;
}

body[data-active-page="explore"] #mapPanel .map-category-chip.active,
.map-category-chip.active {
  border-color: rgba(69, 192, 165, 0.4);
  background: rgba(69, 192, 165, 0.94);
  color: #08201c;
  box-shadow: 0 10px 22px rgba(24, 168, 137, 0.18);
}

body[data-active-page="explore"] #mapPanel .live-map-wrap {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
}

body[data-active-page="explore"] #mapPanel .live-map {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
}

body[data-active-page="explore"] #mapPanel .map-place-card {
  display: none !important;
}

body[data-active-page="explore"] #mapPanel .map-results {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--nav-height) + 16px);
  z-index: 10;
  display: grid;
  gap: 8px;
  max-height: min(48vh, 430px);
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  color: #142220;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.18);
}

body[data-active-page="explore"] #mapPanel .map-results[data-sheet="place"] {
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}

body[data-active-page="explore"] #mapPanel .map-results[data-sheet="route"] {
  left: 10px;
  right: 10px;
  bottom: calc(var(--nav-height) + 10px);
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="explore"][data-route-planning="true"] .app-header,
body[data-active-page="explore"][data-route-planning="true"] .bottom-nav,
body[data-active-page="explore"][data-route-planning="true"] #mapPanel .map-destination-search,
body[data-active-page="explore"][data-route-planning="true"] #mapPanel .map-category-strip {
  display: none !important;
}

body[data-active-page="explore"][data-route-planning="true"] #mapPanel .map-results[data-sheet="route"] {
  left: max(10px, calc((100vw - 460px) / 2 + 10px));
  right: max(10px, calc((100vw - 460px) / 2 + 10px));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 30;
}

body[data-active-page="explore"] #mapPanel .map-results[hidden] {
  display: none !important;
}

body[data-active-page="explore"] #mapPanel .map-result-item {
  border-color: rgba(7, 19, 19, 0.08);
  background: rgba(7, 19, 19, 0.045);
}

body[data-active-page="explore"] #mapPanel .map-result-item span {
  color: rgba(20, 34, 32, 0.62);
}

body[data-active-page="explore"] #mapPanel .map-result-actions button {
  border-color: rgba(69, 192, 165, 0.18);
  background: rgba(69, 192, 165, 0.13);
  color: #12302b;
}

body[data-active-page="explore"] .phone-shell {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}

body[data-active-page="explore"] .app-header {
  position: absolute;
  top: env(safe-area-inset-top);
  left: 16px;
  right: 16px;
  z-index: 32;
  min-height: 56px;
  padding: 8px 2px 6px;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

body[data-active-page="explore"] .app-header :is(button, select, a, input) {
  pointer-events: auto;
}

body[data-active-page="explore"] .app-brand-title {
  position: absolute;
  display: block;
  top: 15px;
  left: 50%;
  max-width: calc(100% - 210px);
  color: #142220;
  font-size: 22px;
  font-weight: 820;
  letter-spacing: 0;
  text-shadow: none;
}

body[data-active-page="explore"] .top-context-chip {
  width: auto;
  max-width: 150px;
  min-height: 41px;
  padding: 5px 8px;
  border-color: rgba(7, 19, 19, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #142220;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055);
  backdrop-filter: none;
}

body[data-active-page="explore"] .top-context-chip span {
  font-size: 10px;
  line-height: 1.15;
}

body[data-active-page="explore"] .top-context-chip small {
  color: rgba(20, 34, 32, 0.58);
  font-size: 8px;
  line-height: 1.15;
}

body[data-active-page="explore"] .language-select {
  width: 92px;
  height: 42px;
  border-color: rgba(7, 19, 19, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #142220;
  font-weight: 400;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055);
  backdrop-filter: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 8px;
  background: linear-gradient(180deg, rgba(7, 19, 19, 0.96), rgba(7, 19, 19, 0.72));
  backdrop-filter: blur(18px);
}

.app-brand-title {
  position: absolute;
  top: 17px;
  left: 50%;
  max-width: calc(100% - 250px);
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 820;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 1 112px;
  min-width: 0;
  gap: 8px;
}

.top-context-chip {
  display: grid;
  gap: 1px;
  min-width: 0;
  width: min(28vw, 112px);
  max-width: 112px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-align: left;
}

.top-context-chip span,
.top-context-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-context-chip span {
  font-size: 12px;
  font-weight: 760;
}

.top-context-chip small {
  color: var(--muted);
  font-size: 10px;
}

.app-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-start;
  background: rgba(2, 12, 12, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.app-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.app-menu-panel {
  width: min(82vw, 320px);
  height: 100%;
  padding: calc(env(safe-area-inset-top) + 14px) 16px 20px;
  border-right: 1px solid var(--line);
  background: rgba(7, 19, 19, 0.96);
  box-shadow: 22px 0 60px rgba(0, 0, 0, 0.38);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}

.app-menu-drawer.open .app-menu-panel {
  transform: translateX(0);
}

.app-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.app-menu-links {
  display: grid;
  gap: 10px;
}

.app-menu-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--jade));
  color: #071313;
  box-shadow: 0 10px 28px rgba(69, 192, 165, 0.2);
}

.icon-button,
.language-select,
.chip-button,
.quick-card,
.primary-button,
.secondary-button {
  border: 1px solid var(--line);
  color: var(--text);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--panel);
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.language-select {
  width: 92px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.bilingual-ui [data-i18n] {
  white-space: pre-line;
}

.bilingual-ui [data-bilingual-rendered] {
  white-space: pre-line;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.28;
}

.bilingual-ui :is(.primary-button, .secondary-button, .chip-button, .quick-card, .service-hub-button, .bottom-nav a, .mvp-tab, .radius-tab, .api-mode-button) {
  height: auto;
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.bilingual-ui .destination-search-form,
.bilingual-ui .map-destination-search,
.bilingual-ui .map-search-row {
  grid-template-columns: minmax(0, 1fr) minmax(48px, auto);
}

.bilingual-ui .destination-search-form .chip-button,
.bilingual-ui .map-destination-search .chip-button,
.bilingual-ui .map-search-row .chip-button {
  min-width: 48px;
  max-width: 72px;
  padding-inline: 8px;
  font-size: 11px;
  line-height: 1.05;
  overflow: hidden;
}

.bilingual-ui .quick-card span,
.bilingual-ui .bottom-nav span,
.bilingual-ui .service-hub-button span,
.bilingual-ui .profile-panel span,
.bilingual-ui .api-card strong,
.bilingual-ui .memory-card strong,
.bilingual-ui .user-card strong {
  overflow: visible;
  text-overflow: clip;
  white-space: pre-line;
}

.bilingual-ui :is(.account-center, .ride-service-panel),
.bilingual-ui :is(.account-center, .ride-service-panel) * {
  min-width: 0;
  max-width: 100%;
}

.bilingual-ui :is(.account-center, .ride-service-panel) p,
.bilingual-ui :is(.account-center, .ride-service-panel) small {
  overflow-wrap: break-word;
  word-break: normal;
}

.bilingual-ui .account-primary-button,
.bilingual-ui .ride-primary-action {
  padding-inline: 14px;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.bilingual-ui .account-guest-hero > strong[data-bilingual-rendered],
.bilingual-ui .ride-page-heading h1[data-bilingual-rendered] {
  font-size: clamp(20px, 6vw, 25px) !important;
  line-height: 1.18 !important;
}

.bilingual-ui .account-list-row small {
  white-space: normal;
}

.bilingual-ui .home-gateway-more span {
  display: block;
  white-space: pre-line;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.bilingual-ui :is(.module-card, .quick-card, .compact-row, .service-panel, .journey-card, .scenic-card, .growth-card, .prd-card, .architecture-card, .route-item, .map-result-item, .local-life-card, .benefit-card, .stay-card, .food-product-card, .visit-card, .tax-product-card) {
  min-height: auto;
}

.bilingual-ui :is(.hero-map-panel .map-results, .api-response, .city-data-list, .profile-list, .offline-pack-list) {
  max-height: none;
}

.bilingual-ui {
  --nav-height: 82px;
}

.rtl-ui {
  direction: ltr;
}

.rtl-ui :is(h1, h2, h3, p, span, strong, small, button, a, label, summary, dt, dd, li, input, select, textarea) {
  direction: rtl;
  unicode-bidi: plaintext;
}

.rtl-ui :is(.hero-copy, .location-consent-copy, .destination-picker, .status-row, .section-title, .service-panel, .service-hub, .travel-cockpit, .app-menu-panel, .profile-panel, .api-response, .city-data-list, .offline-manager-panel) {
  text-align: left;
}

.rtl-ui :is(.app-header, .app-actions, .language-select, .hero-actions, .quick-grid, .bottom-nav, .live-map-wrap, .map-engine-corner, .map-search-row, .map-destination-search, .destination-search-form, .service-hub-grid, .offline-actions) {
  direction: ltr;
  text-align: initial;
}

.rtl-ui :is(input, textarea) {
  direction: rtl;
  text-align: right;
}

.rtl-ui :is(.quick-card, .bottom-nav a, .service-hub-button, .chip-button, .primary-button, .secondary-button) {
  text-align: center;
}

.bilingual-ui .bottom-nav a {
  gap: 2px;
  min-height: 48px;
  grid-template-rows: 18px 20px;
  padding: 4px 2px 5px;
  font-size: 8.5px;
  line-height: 1.05;
}

.bilingual-ui .bottom-nav svg {
  width: 16px;
  height: 16px;
}

.bilingual-ui .bottom-nav span {
  display: -webkit-box;
  height: 20px;
  max-height: 20px;
  overflow: hidden;
  line-height: 10px;
  text-align: center;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.earth-hero {
  position: relative;
  min-height: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 12%, rgba(69, 192, 165, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.privacy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid rgba(216, 180, 106, 0.28);
  border-radius: 16px;
  background: rgba(216, 180, 106, 0.1);
}

.network-strip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 9px 10px;
  border: 1px solid rgba(69, 192, 165, 0.22);
  border-radius: 16px;
  background: rgba(69, 192, 165, 0.08);
}

.network-strip.offline {
  border-color: rgba(255, 111, 97, 0.34);
  background: rgba(255, 111, 97, 0.12);
}

.network-strip div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.network-strip strong {
  font-size: 12px;
}

.network-strip span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.privacy-strip.hidden {
  display: none;
}

.privacy-strip div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.privacy-strip strong {
  font-size: 12px;
}

.privacy-strip span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.earth-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  order: 4;
}

body[data-active-page="home"] #homeHero .earth-stage {
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 0;
  width: 128px;
  min-height: 128px;
  opacity: 0.26;
  pointer-events: none;
}

body[data-active-page="home"] #homeHero .hero-copy,
body[data-active-page="home"] #homeHero .destination-picker,
body[data-active-page="home"] #homeHero .location-consent-card,
body[data-active-page="home"] #homeHero .status-row {
  position: relative;
  z-index: 1;
}

body[data-active-page="home"] #homeHero .globe-hint {
  display: none;
}

.hero-map-panel {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="explore"] .earth-hero.map-mode .globe-canvas,
body[data-active-page="explore"] .earth-hero.map-mode .globe-hint {
  display: none;
}

body[data-active-page="explore"] .earth-hero.map-mode .hero-map-panel {
  display: block;
}

body[data-active-page="explore"] .earth-hero.map-mode .earth-stage {
  min-height: 0;
}

.earth-stage .live-map {
  height: 208px;
}

.map-destination-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  margin-bottom: 8px;
}

.map-destination-search input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  outline: none;
}

.map-destination-search input::placeholder {
  color: rgba(246, 251, 248, 0.48);
}

.map-destination-search input:focus {
  border-color: rgba(216, 180, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.12);
}

.map-destination-status {
  display: block;
  min-height: 15px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.globe-canvas {
  width: min(100%, 168px);
  aspect-ratio: 1;
  touch-action: none;
  cursor: grab;
  opacity: 0.86;
  filter: drop-shadow(0 0 28px rgba(113, 216, 255, 0.14));
}

.globe-canvas:active {
  cursor: grabbing;
}

.globe-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.62);
  color: var(--muted);
  font-size: 11px;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.globe-hint strong {
  color: var(--gold);
}

.hero-copy {
  position: relative;
  order: 1;
}

body[data-active-page="explore"] .earth-hero.map-mode .hero-copy,
body[data-active-page="explore"] .earth-hero.map-mode .hero-actions,
body[data-active-page="explore"] .earth-hero.map-mode .location-consent-card,
body[data-active-page="explore"] .earth-hero.map-mode .destination-picker,
body[data-active-page="explore"] .earth-hero.map-mode .status-row {
  display: none;
}


.location-consent-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(69, 192, 165, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.12), rgba(216, 180, 106, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.location-consent-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(10, 20, 28, 0.34);
  backdrop-filter: blur(7px);
}

.location-consent-open {
  overflow: hidden;
}

.location-consent-open #locationConsentCard {
  display: grid !important;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 40;
  width: min(calc(100vw - 32px), 420px);
  max-height: calc(100dvh - 80px);
  transform: translate(-50%, -50%);
  overflow: auto;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(10, 22, 34, 0.22);
}

body.location-consent-open[data-active-page="explore"] .earth-hero.map-mode #locationConsentCard,
body.location-consent-open[data-active-page="home"] #homeHero #locationConsentCard {
  display: grid !important;
}

.location-consent-card.hidden {
  display: none;
}

.location-consent-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.location-consent-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.location-consent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.location-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 390px;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.06;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.12;
}

.hero-copy p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.destination-picker {
  display: grid;
  order: 2;
  gap: 8px;
  margin-top: 0;
}

.destination-picker label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.destination-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
}

.destination-search-form input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  outline: none;
}

.destination-search-form input::placeholder {
  color: rgba(246, 251, 248, 0.46);
}

.destination-search-form input:focus {
  border-color: rgba(216, 180, 106, 0.68);
  box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.12);
}

.destination-search-status {
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.home-cta-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
}

.home-destination-select {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.destination-select {
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-weight: 780;
}

.primary-button,
.secondary-button,
.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 13px;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--jade));
  color: #071313;
}

.secondary-button,
.chip-button {
  background: var(--panel);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  order: 5;
  margin-top: 0;
}

#homeHero .status-row {
  display: none;
}

.status-row span,
.coverage-count,
.mvp-status span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.traveler-home-card {
  display: grid;
  gap: 12px;
  margin: 10px 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.12), rgba(216, 180, 106, 0.07)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.traveler-home-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.traveler-home-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.28;
}

.traveler-home-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.traveler-home-actions {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 9px;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.home-highlights a,
.page-dashboard,
.poi-chip-grid button,
.transport-mode-grid button,
.urgent-tool-grid button,
.me-shortcut-grid button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.home-highlights a {
  display: grid;
  place-items: center;
  gap: 0;
  min-height: 62px;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 15px;
  color: var(--text);
  text-decoration: none;
}

.home-highlights span,
.page-dashboard-head span,
.urgent-tool-grid span,
.transport-mode-grid span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.home-highlights strong {
  display: block;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.home-highlights p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.38;
}

.home-featured {
  display: grid;
  gap: 18px;
  margin: 12px 0 6px;
}

.home-featured-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.home-featured-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 1px;
}

.home-featured-head div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-featured-head span,
.home-featured-detail span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-featured-head strong,
.home-featured-detail h2 {
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
}

.home-featured-more {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.home-featured-rail {
  display: grid;
  grid-auto-columns: minmax(132px, 42%);
  grid-auto-flow: column;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-featured-rail::-webkit-scrollbar {
  display: none;
}

.home-featured-card {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
  min-height: 0;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
  scroll-snap-align: start;
}

.home-featured-source {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(24, 168, 137, 0.1);
  color: #08201c;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.home-featured-empty {
  display: grid;
  gap: 5px;
  min-width: min(72vw, 260px);
  padding: 14px;
  border: 1px dashed rgba(25, 38, 52, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.home-featured-empty strong {
  font-size: 13px;
}

.home-featured-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.home-featured-sync-card {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(24, 168, 137, 0.08), rgba(47, 128, 237, 0.04)),
    #ffffff;
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.055);
}

.home-featured-sync-card span {
  color: #08201c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-featured-sync-card strong {
  font-size: 16px;
}

.home-featured-sync-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.home-featured-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4f6;
  box-shadow: inset 0 0 0 1px rgba(25, 38, 52, 0.08);
}

.home-featured-image:has(img.home-featured-static-map) {
  background:
    linear-gradient(135deg, rgba(238, 244, 246, 0.98), rgba(244, 248, 247, 0.94)),
    #eef4f6;
}

.home-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured-image img.home-featured-static-map {
  opacity: 0.2;
  filter: blur(8px) saturate(0.35) contrast(0.82);
  transform: scale(1.12);
}

.home-featured-image:has(img.home-featured-static-map)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.62) 44%, transparent 72%),
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(226, 235, 237, 0.72), rgba(245, 248, 247, 0.9));
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: home-featured-placeholder-sheen 1.9s ease-in-out infinite;
}

.home-featured-image:has(img.home-featured-static-map)::after {
  z-index: 2;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(238, 244, 246, 0.42)),
    linear-gradient(180deg, transparent 42%, rgba(7, 19, 19, 0.08));
}

@keyframes home-featured-placeholder-sheen {
  0% {
    background-position: -140% 0, 0 0, 0 0;
  }
  100% {
    background-position: 140% 0, 0 0, 0 0;
  }
}

.home-featured-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}

.home-featured-image small {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.56);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.home-featured-image-pending {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 12px;
  color: rgba(21, 33, 47, 0.58);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.16), rgba(255, 255, 255, 0.55)),
    #eef4f6;
}

.home-featured-image.image-load-failed,
.featured-hero-media.image-load-failed,
.featured-place-media.image-load-failed {
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.64) 44%, transparent 72%),
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(135deg, rgba(226, 235, 237, 0.9), rgba(245, 248, 247, 0.96));
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: home-featured-placeholder-sheen 1.9s ease-in-out infinite;
}

.home-featured-image.image-load-failed::after,
.featured-hero-media.image-load-failed::after,
.featured-place-media.image-load-failed::after {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(238, 244, 246, 0.42)),
    linear-gradient(180deg, transparent 42%, rgba(7, 19, 19, 0.08));
}

.home-featured-card > strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.home-featured-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-featured-detail {
  display: grid;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.12), rgba(216, 180, 106, 0.08)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

.home-featured-detail[hidden] {
  display: none !important;
}

.home-featured-detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.home-featured-detail h2 {
  margin: 2px 0 0;
}

.home-featured-detail-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

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

.home-featured-baidu-photo {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  align-content: end;
  gap: 5px;
  padding: 12px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(11, 42, 66, 0.08), rgba(5, 18, 28, 0.82)),
    linear-gradient(135deg, #2b8bd8 0%, #45c0a5 52%, #f4c855 100%);
}

.home-featured-baidu-photo::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 8px;
  background: #ffffff;
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px rgba(5, 18, 28, 0.22);
}

.home-featured-baidu-photo::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2b8bd8;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.home-featured-baidu-photo span,
.home-featured-baidu-photo strong,
.home-featured-baidu-photo small {
  position: relative;
  z-index: 1;
}

.home-featured-baidu-photo span {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-featured-baidu-photo strong {
  font-size: 18px;
  line-height: 1.05;
}

.home-featured-baidu-photo small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.home-featured-baidu-link {
  width: fit-content;
  margin-top: 3px;
  color: #08201c;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.home-featured-detail-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.home-featured-detail-card .home-featured-image {
  border-radius: 0;
  box-shadow: none;
}

.home-featured-detail-body {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.home-featured-detail-body strong {
  font-size: 13px;
  line-height: 1.25;
}

.home-featured-detail-body p,
.home-featured-detail-body small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.page-dashboard {
  display: grid;
  gap: 13px;
  margin: 12px 0 14px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
}

.page-dashboard-head strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
  line-height: 1.22;
}

.page-dashboard-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.poi-chip-grid,
.transport-mode-grid,
.urgent-tool-grid,
.me-shortcut-grid {
  display: grid;
  gap: 8px;
}

.poi-chip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.poi-chip-grid button,
.me-shortcut-grid button {
  min-height: 42px;
  border-radius: 13px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.poi-chip-grid button.active {
  border-color: #45c0a5;
  background: #45c0a5;
  color: #08201c;
  box-shadow: 0 7px 18px rgba(69, 192, 165, 0.2);
}

.transport-mode-grid,
.urgent-tool-grid,
.me-shortcut-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.transport-mode-grid button,
.urgent-tool-grid button {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 12px;
  border-radius: 16px;
  color: var(--text);
  text-align: left;
}

.transport-mode-grid strong,
.urgent-tool-grid strong {
  font-size: 15px;
  line-height: 1.25;
}

.urgent-tool-grid small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.urgent-tool-grid button:first-child {
  grid-column: 1 / -1;
  min-height: 94px;
  border-color: rgba(69, 192, 165, 0.36);
  background: rgba(69, 192, 165, 0.13);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.quick-card {
  display: grid;
  place-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 64px;
  padding: 10px 6px;
  border-radius: 15px;
  background: var(--panel);
  color: var(--muted);
}

.quick-card svg {
  width: 19px;
  height: 19px;
}

.quick-card.active {
  background: linear-gradient(180deg, rgba(69, 192, 165, 0.22), rgba(255, 255, 255, 0.09));
  color: var(--text);
  border-color: rgba(69, 192, 165, 0.55);
}

.quick-card span {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-service-panel {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
}

.user-service-panel h2 {
  font-size: 19px;
}

.travel-cockpit {
  padding: 16px;
  border-radius: 22px;
}

.traveler-secondary {
  display: none;
}

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

.cockpit-card {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  text-align: left;
}

.cockpit-card span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(216, 180, 106, 0.14);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.cockpit-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.cockpit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.service-panel,
.section-block {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.18);
}

.technical-section {
  display: none;
}

.ops-console.technical-section {
  display: block;
}

.service-panel h2 {
  margin-bottom: 10px;
}

.service-panel p,
.nearby-item p,
.architecture-card p,
.compact-row p,
.scenic-card p,
.growth-card p,
.route-item p,
.module-card p {
  color: var(--muted);
  line-height: 1.5;
}

.service-actions,
.app-architecture,
.prd-grid,
.flow-list,
.mvp-panel,
.mvp-list,
.mvp-actions,
.nearby-list,
.journey-list,
.radius-results,
.scenic-list,
.route-list,
.growth-grid,
.risk-list,
.module-grid,
.city-cloud {
  display: grid;
  gap: 10px;
}

.trip-save-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

#tripPlanner {
  scroll-margin-top: 76px;
}

.trip-save-row span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.service-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.service-hub {
  padding: 16px;
  border-radius: 22px;
}

.service-hub-tabs {
  display: none;
}

.service-hub-drawer {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.service-hub-drawer summary {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.service-hub-drawer summary::-webkit-details-marker {
  display: none;
}

.service-hub-drawer summary span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.service-hub-drawer summary strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.service-hub-drawer[open] {
  padding-bottom: 12px;
}

.service-hub-tabs {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 12px 12px;
}

.service-hub-tab {
  min-width: 0;
  min-height: 36px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-hub-tab.active {
  border-color: rgba(216, 180, 106, 0.55);
  background: rgba(216, 180, 106, 0.14);
  color: var(--text);
}

.service-hub-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
  margin: 0 12px 12px;
}

.service-hub-search input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.service-hub-search input::placeholder {
  color: rgba(246, 251, 248, 0.46);
}

.service-hub-search .chip-button {
  min-height: 42px;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px;
}

.service-hub-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.service-hub-button[hidden] {
  display: none;
}

.service-hub-button.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.user-service-panel {
  display: none;
}

.service-module {
  display: none !important;
}

.service-module.service-module-active {
  display: block !important;
  scroll-margin-top: 78px;
}

.traveler-toolkit {
  padding: 16px;
  scroll-margin-top: 0;
}

.traveler-toolkit.service-module-active {
  scroll-margin-top: 0;
}

.stay-service.service-module-active,
.ticket-booking.service-module-active {
  scroll-margin-top: 0;
}

body[data-translate-standalone="true"] .phone-shell {
  padding-bottom: calc(var(--nav-height) + 24px);
}

body[data-translate-standalone="true"] .traveler-toolkit {
  --standalone-page-top-gap: 24px;
  min-height: calc(100vh - env(safe-area-inset-top));
  min-height: calc(100dvh - env(safe-area-inset-top));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

body[data-translate-standalone="true"] .traveler-toolkit .section-title {
  display: none;
}

body[data-translate-standalone="true"] .traveler-toolkit .toolkit-tabs {
  margin-top: var(--standalone-page-top-gap);
}

body[data-stay-standalone="true"] .phone-shell {
  padding-bottom: calc(var(--nav-height) + 24px);
}

body[data-stay-standalone="true"] .stay-service {
  --standalone-page-top-gap: 24px;
  min-height: calc(100vh - env(safe-area-inset-top));
  min-height: calc(100dvh - env(safe-area-inset-top));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

body[data-ticket-standalone="true"] .phone-shell {
  padding-bottom: calc(var(--nav-height) + 24px);
}

body[data-ticket-standalone="true"] .ticket-booking {
  --standalone-page-top-gap: 24px;
  min-height: calc(100vh - env(safe-area-inset-top));
  min-height: calc(100dvh - env(safe-area-inset-top));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

@media (max-width: 520px) {
  body[data-translate-standalone="true"] .traveler-toolkit,
  body[data-stay-standalone="true"] .stay-service,
  body[data-ticket-standalone="true"] .ticket-booking {
    --standalone-page-top-gap: 72px;
  }
}

.toolkit-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.toolkit-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.toolkit-tab.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.toolkit-language-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
  margin-bottom: 12px;
}

.toolkit-language-row label {
  display: grid;
  gap: 6px;
}

.toolkit-language-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.toolkit-language-row select {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.toolkit-language-row .secondary-button {
  align-self: end;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12px;
}

.voice-translate-card {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(113, 216, 255, 0.24);
  border-radius: 16px;
  background: rgba(113, 216, 255, 0.08);
}

.voice-translate-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.voice-translate-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.voice-translate-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.voice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.translate-page-shell {
  display: grid;
  gap: 12px;
}

.translate-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.translate-topbar label {
  display: grid;
  gap: 6px;
}

.translate-topbar span,
.translate-pane-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.translate-topbar select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(12, 24, 36, 0.05);
}

.translate-swap-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(69, 192, 165, 0.35);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.12);
  color: #1f8a77;
  font-size: 18px;
  font-weight: 900;
}

.translate-workspace {
  display: grid;
  gap: 10px;
}

.translate-pane {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(12, 24, 36, 0.055);
}

.translate-output-pane {
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.translate-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.translate-provider {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.12);
  color: #45c0a5 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: none !important;
}

.translate-pane textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 13px;
  border: 0;
  border-radius: 14px;
  background: #f5f8f7;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
  outline: none;
}

.translate-pane textarea::placeholder {
  color: rgba(87, 101, 111, 0.55);
}

.translate-output {
  min-height: 132px;
  padding: 13px;
  border-radius: 14px;
  background: #f4fbf8;
  color: var(--text);
  white-space: pre-wrap;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.translate-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.translate-action-row .primary-button,
.translate-action-row .secondary-button,
.translate-support-row .secondary-button {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.translate-ghost-button {
  border: 0;
  background: transparent;
  color: #45c0a5;
  font-size: 12px;
  font-weight: 900;
}

.translate-ghost-button:disabled,
.translate-action-row button:disabled {
  opacity: 0.45;
}

.translate-quick-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.translate-quick-row::-webkit-scrollbar {
  display: none;
}

.translate-quick-row button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(69, 192, 165, 0.22);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.08);
  color: #45c0a5;
  font-size: 12px;
  font-weight: 900;
}

.translate-support-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.translate-camera-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6fbfa);
  box-shadow: 0 10px 26px rgba(12, 24, 36, 0.055);
  scroll-margin-top: 76px;
}

.translate-camera-upload {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
  overflow: hidden;
  border: 1px dashed rgba(69, 192, 165, 0.42);
  border-radius: 16px;
  background: #f3faf8;
  color: #45c0a5;
  text-align: center;
}

.translate-camera-upload img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #ffffff;
}

.translate-camera-source-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.translate-camera-source-actions label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(69, 192, 165, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-solid);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.translate-camera-source-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.translate-camera-source-actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.translate-camera-upload strong,
.translate-camera-upload small {
  display: block;
}

.translate-camera-upload strong {
  font-size: 15px;
  font-weight: 950;
}

.translate-camera-upload small {
  max-width: 260px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.translate-camera-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
}

.translate-camera-info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.translate-camera-info .primary-button {
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.translate-camera-result {
  display: grid;
  gap: 8px;
}

.translate-camera-result div {
  display: grid;
  gap: 6px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.translate-camera-result span {
  color: #45c0a5;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.translate-camera-result p {
  min-height: 44px;
  margin: 0;
  color: var(--text);
  white-space: pre-wrap;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.voice-actions .secondary-button {
  min-height: 40px;
}

.auth-privacy {
  padding: 16px;
}

.auth-privacy-panel,
.auth-form,
.auth-privacy-grid {
  display: grid;
  gap: 10px;
}

.auth-card,
.auth-privacy-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-card {
  display: grid;
  gap: 14px;
}

.auth-card span,
.auth-privacy-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-card strong,
.auth-privacy-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
}

.auth-card p,
.auth-privacy-grid p,
.auth-status {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 42px;
  padding: 0 12px;
  font: inherit;
}

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

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.danger-button {
  border-color: rgba(255, 116, 116, 0.35);
  color: #ffd2d2;
}

.offline-manager {
  padding: 16px;
}

.offline-manager-panel,
.offline-pack-grid {
  display: grid;
  gap: 10px;
}

.offline-pack-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(25, 38, 52, 0.09);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.offline-pack-card.ready {
  border-color: rgba(69, 192, 165, 0.4);
  background: rgba(69, 192, 165, 0.1);
}

.offline-pack-card strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.offline-pack-card p,
.offline-pack-card small,
.offline-manager-status {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.offline-pack-card > small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  margin: 0;
  color: var(--brand-solid);
  font-weight: 900;
}

.offline-pack-card > small em {
  font-size: 20px;
  font-style: normal;
  line-height: 1;
}

.offline-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.city-data-center {
  padding: 16px;
}

.city-data-panel,
.city-data-list {
  display: grid;
  gap: 10px;
}

.city-data-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.city-data-summary article,
.city-data-row {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.city-data-summary span,
.city-data-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.city-data-summary strong,
.city-data-row strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.city-data-summary p,
.city-data-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.city-data-search-row,
.city-data-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.city-data-search-row input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 42px;
  padding: 0 12px;
  font: inherit;
}

.city-data-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.city-data-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--text);
  text-align: left;
}

.city-data-row.active {
  border-color: rgba(69, 192, 165, 0.45);
  background: rgba(69, 192, 165, 0.12);
}

.city-data-row small {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.weather-alerts {
  padding: 16px;
}

.weather-alert-panel,
.alert-list {
  display: grid;
  gap: 10px;
}

.alert-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.alert-toolbar select {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 42px;
  padding: 0 12px;
  font: inherit;
}

.alert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.alert-card.high {
  border-color: rgba(255, 116, 116, 0.35);
  background: rgba(255, 116, 116, 0.08);
}

.alert-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.alert-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.alert-card p,
.alert-card small,
.alert-status,
.alert-empty {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.payment-center {
  padding: 16px;
}

.payment-center-panel,
.payment-method-grid,
.exchange-list {
  display: grid;
  gap: 10px;
}

.payment-converter,
.exchange-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.payment-converter {
  grid-template-columns: 1fr 1fr;
}

.payment-converter article,
.exchange-form div {
  grid-column: 1 / -1;
}

.payment-converter label,
.exchange-form {
  min-width: 0;
}

.payment-converter span,
.payment-method-grid span,
.exchange-form span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.payment-converter input,
.payment-converter select,
.exchange-form input,
.exchange-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 42px;
  margin-top: 6px;
  padding: 0 12px;
  font: inherit;
}

.payment-converter strong,
.payment-method-grid strong,
.exchange-form strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.payment-converter p,
.payment-method-grid p,
.exchange-list p,
.payment-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.payment-method-grid article,
.exchange-list article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.support-center {
  padding: 16px;
}

.support-center-panel,
.support-form,
.support-ticket-list {
  display: grid;
  gap: 10px;
}

.support-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.support-quick {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.support-form,
.support-ticket-list article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.support-form label {
  display: grid;
  gap: 6px;
}

.support-form span,
.support-ticket-list span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
}

.support-form textarea {
  resize: vertical;
}

.support-ticket-list strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.support-ticket-list p,
.support-status,
.support-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.travel-memory {
  padding: 16px;
}

.travel-memory-panel,
.memory-form,
.memory-list {
  display: grid;
  gap: 10px;
}

.memory-form,
.memory-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.memory-card {
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.16), rgba(69, 192, 165, 0.1)),
    rgba(255, 255, 255, 0.07);
}

.memory-form label {
  display: grid;
  gap: 6px;
}

.memory-form span,
.memory-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.memory-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  min-height: 42px;
  padding: 0 12px;
  font: inherit;
}

.memory-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.memory-card p,
.memory-status,
.memory-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.merchant-trust {
  padding: 16px;
}

.merchant-trust-panel,
.merchant-trust-list {
  display: grid;
  gap: 10px;
}

.merchant-trust-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.merchant-trust-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.merchant-trust-tab.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.merchant-trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.merchant-trust-card.approved {
  border-color: rgba(69, 192, 165, 0.4);
  background: rgba(69, 192, 165, 0.1);
}

.merchant-trust-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.merchant-trust-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.merchant-trust-card p,
.merchant-trust-status,
.merchant-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.membership-center {
  padding: 16px;
}

.membership-panel,
.membership-plan-grid {
  display: grid;
  gap: 10px;
}

.membership-current,
.membership-plan-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.membership-current {
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.16), rgba(69, 192, 165, 0.12)),
    rgba(255, 255, 255, 0.07);
}

.membership-plan-card.active {
  border-color: rgba(69, 192, 165, 0.45);
  background: rgba(69, 192, 165, 0.12);
}

.membership-current span,
.membership-plan-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.membership-current strong,
.membership-plan-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 16px;
}

.membership-current p,
.membership-plan-card p,
.membership-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.membership-plan-card ul {
  display: grid;
  gap: 5px;
  margin: 10px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.notification-center {
  padding: 16px;
}

.notification-panel,
.notification-list {
  display: grid;
  gap: 10px;
}

.notification-summary,
.notification-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.notification-summary {
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.14), rgba(216, 180, 106, 0.1)),
    rgba(255, 255, 255, 0.07);
}

.notification-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.notification-card.read {
  opacity: 0.68;
}

.notification-summary span,
.notification-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.notification-summary strong,
.notification-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.notification-summary p,
.notification-card p,
.notification-card small,
.notification-status,
.notification-empty {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.compliance-center {
  padding: 16px;
}

.compliance-panel,
.compliance-grid,
.policy-list {
  display: grid;
  gap: 10px;
}

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

.compliance-grid article,
.policy-list article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.compliance-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.compliance-grid strong,
.policy-list strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 15px;
}

.compliance-grid p,
.policy-list p,
.compliance-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.compliance-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.compliance-export {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 12px;
  resize: vertical;
}

.toolkit-panel,
.toolkit-list {
  display: grid;
  gap: 10px;
}

.toolkit-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toolkit-card,
.fx-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.toolkit-card span,
.fx-card span,
.sos-button span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.toolkit-card strong {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.45;
}

.toolkit-card p,
.toolkit-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.toolkit-action {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid rgba(216, 180, 106, 0.35);
  border-radius: 12px;
  background: rgba(216, 180, 106, 0.12);
  color: var(--text);
  font-weight: 850;
}

.toolkit-list.compact .toolkit-card {
  display: grid;
  align-content: start;
}

.fx-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fx-card label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.fx-card input,
.fx-card select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 10px;
}

.fx-result {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 0;
}

.fx-result strong {
  color: #bdf8df;
  font-size: 24px;
}

.sos-grid,
.map-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sos-button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 72px;
  border: 1px solid rgba(255, 111, 97, 0.32);
  border-radius: 16px;
  background: rgba(255, 111, 97, 0.12);
  color: var(--text);
  text-decoration: none;
}

.sos-button strong {
  font-size: 22px;
}

.map-shortcuts .secondary-button {
  min-height: 42px;
  font-size: 12px;
}

.travel-checklist {
  padding: 16px;
}

.checklist-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.checklist-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checklist-tab.active {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.14);
  color: var(--text);
}

.checklist-helper {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checklist-list {
  display: grid;
  gap: 8px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.065);
}

.checklist-item > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(216, 180, 106, 0.16);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.checklist-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.checklist-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.spot-explorer {
  padding: 16px;
}

.spot-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.spot-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.spot-chip.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.spot-panel {
  display: grid;
  gap: 10px;
}

.spot-hero-card,
.spot-guide-card,
.spot-route-card,
.spot-correction-form,
.spot-nearby-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.spot-hero-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.18), rgba(216, 180, 106, 0.12)),
    rgba(255, 255, 255, 0.07);
}

.spot-hero-card span,
.spot-guide-card span,
.spot-route-card span,
.spot-correction-form span,
.spot-nearby-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.spot-hero-card h3 {
  margin: 5px 0 6px;
  font-size: 24px;
  line-height: 1.05;
}

.spot-hero-card p,
.spot-guide-card p,
.spot-route-card p,
.spot-nearby-grid p,
.spot-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.spot-hero-card > strong {
  flex: 0 0 auto;
  color: #bdf8df;
  font-size: 24px;
}

.spot-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.spot-facts div {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.spot-facts span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.spot-facts strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.spot-guide-card,
.spot-route-card,
.spot-correction-form {
  padding: 12px;
}

.spot-guide-card strong,
.spot-route-card strong,
.spot-correction-form strong,
.spot-nearby-grid strong {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.4;
}

.spot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spot-actions .primary-button,
.spot-actions .secondary-button,
.spot-route-card .secondary-button {
  min-height: 42px;
}

.spot-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.spot-correction-form {
  display: grid;
  gap: 9px;
}

.spot-correction-form select,
.spot-correction-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
}

.spot-correction-form textarea {
  resize: vertical;
}

.spot-nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.spot-nearby-grid article {
  padding: 11px;
}

.product-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-card {
  flex: 0 0 142px;
  min-height: 108px;
  padding: 11px;
  border: 1px solid rgba(216, 180, 106, 0.26);
  border-radius: 15px;
  background: rgba(216, 180, 106, 0.1);
  color: var(--text);
  text-align: left;
}

.product-card span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(216, 180, 106, 0.18);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.product-card strong {
  display: block;
  min-height: 36px;
  font-size: 12px;
  line-height: 1.4;
}

.product-card small {
  color: #bdf8df;
  font-size: 14px;
  font-weight: 900;
}

.profile-center {
  padding: 16px;
}

.profile-panel {
  display: grid;
  gap: 10px;
}

.profile-card,
.profile-list-block {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.profile-auth-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.profile-auth-form h3,
.profile-auth-form p {
  margin: 0;
}

.profile-auth-form label {
  display: grid;
  gap: 6px;
}

.profile-auth-form input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(69, 192, 165, 0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.profile-card.user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.16), rgba(69, 192, 165, 0.12)),
    rgba(255, 255, 255, 0.07);
}

.profile-login-card {
  border-color: rgba(69, 192, 165, 0.28);
  background: rgba(69, 192, 165, 0.08);
}

.profile-card span,
.profile-list-block h3,
.profile-list-block span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.profile-card strong {
  display: block;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.profile-card p,
.profile-empty,
.profile-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.profile-stats div {
  min-width: 0;
  padding: 10px 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.profile-stats span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.profile-stats strong {
  color: #bdf8df;
  font-size: 18px;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.profile-actions .secondary-button,
.user-card .secondary-button {
  min-height: 40px;
}

.profile-list-block {
  display: grid;
  gap: 8px;
}

.profile-list-block h3 {
  margin: 0;
}

.profile-list-block article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.profile-list-block article strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* v407 account center: isolated Profile tab and nested account pages */
body[data-active-page="profile"] .phone-shell {
  background: #f6f8f7;
}

body[data-active-page="profile"] #meDashboard {
  width: 100%;
  min-width: 0;
  padding: 12px 0 24px;
  background: transparent;
}

.account-center,
.account-center * {
  box-sizing: border-box;
}

.account-center {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: #172522;
}

.account-center * {
  min-width: 0;
  max-width: 100%;
}

.account-home-page,
.account-guest-page,
.account-subpage {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.account-guest-hero,
.account-profile-hero,
.account-orders-card,
.account-menu-card,
.account-guest-shortcuts,
.account-trust-note,
.account-sensitive-note,
.account-info-panel,
.account-device-card,
.account-about-panel,
.account-detail-form,
.account-login-form {
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(23, 37, 34, 0.055);
}

.account-guest-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 22px 24px;
  text-align: center;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: #45c0a5;
  color: #ffffff;
  font-size: 21px;
  font-weight: 850;
  overflow: hidden;
}
.account-avatar.has-default { background: #e8f6f2; color: #45c0a5; }
.account-avatar.has-default svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-avatar.has-image { overflow: hidden; background: #eef4f2; }
.account-avatar:is(.has-image,.has-system-avatar) img { width: 100%; height: 100%; display: block; object-fit: cover; }
.account-avatar.has-system-avatar { border: 0; background: transparent; }
.account-avatar-editor { display: flex; align-items: center; gap: 11px; padding: 2px 0 13px; border-bottom: 1px solid #edf2f0; }
.account-avatar-editor > span { min-width: 0; display: grid; gap: 2px; flex: 1; }
.account-avatar-editor > span strong { color: #18251f; font-size: 13px; }
.account-avatar-editor > span small { color: #71807a; font-size: 10px; }
.account-avatar-upload,.account-avatar-editor > button { min-height: 34px !important; padding: 0 10px; border: 1px solid rgba(24,168,137,.24); border-radius: 9px; display: grid !important; place-items: center; color: #167862 !important; background: #f1faf7; font-size: 10px !important; font-weight: 750 !important; white-space: nowrap; }
.account-avatar-upload input { display: none; }
.account-avatar-editor > button { background: #fff; }

.account-avatar-guest {
  width: 64px;
  height: 64px;
  background: #e8f6f2;
  color: #08201c;
  font-size: 25px;
}

.account-guest-hero > strong,
.account-login-intro strong {
  font-size: 21px;
  line-height: 1.25;
}

.account-guest-hero p,
.account-trust-note p,
.account-login-intro p,
.account-legal-copy,
.account-empty-state p,
.account-info-panel p,
.account-about-panel p {
  margin: 0;
  color: #66736f;
  font-size: 13px;
  line-height: 1.55;
}

.account-primary-button,
.account-danger-button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #45c0a5;
  color: #ffffff;
  font-weight: 800;
}

.account-secondary-button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(24, 168, 137, 0.38);
  border-radius: 8px;
  background: #ffffff;
  color: #08201c;
  font-weight: 800;
}

.account-auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-text-button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #08201c;
  font-size: 12px;
  font-weight: 750;
}

.account-create-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  color: #697570;
  font-size: 12px;
}

.account-create-entry button {
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: #08201c;
  font-weight: 800;
}

.account-consent-row {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px !important;
  align-items: start;
}

.account-consent-row input {
  width: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0;
  accent-color: #45c0a5;
}

.account-consent-row span {
  line-height: 1.45;
}

.account-setting-toggles {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e7eeeb;
  border-radius: 8px;
  background: #ffffff;
}

.account-setting-toggles legend {
  padding: 0 6px;
  color: #66736f;
  font-size: 12px;
  font-weight: 750;
}

.account-setting-toggles label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-top: 1px solid #edf1ef;
}

.account-setting-toggles label:first-of-type {
  border-top: 0;
}

.account-setting-toggles input {
  width: 18px;
  height: 18px;
  accent-color: #45c0a5;
}

.account-warning-panel {
  padding: 15px 16px;
  border: 1px solid rgba(198, 79, 69, 0.22);
  border-radius: 8px;
  background: #fff8f7;
}

.account-warning-panel strong,
.account-warning-panel p {
  display: block;
  margin: 0;
}

.account-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.account-media-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 10px;
  border: 1px solid #dfe8e4;
  border-radius: 7px;
  background: #f8faf9;
  color: #53615d;
  font-size: 11px;
}

.account-media-list button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 0 1px;
  border: 0;
  border-radius: 50%;
  background: #e8efec;
  color: #40504b;
  line-height: 1;
}

.account-warning-panel strong {
  color: #a83f37;
  font-size: 14px;
}

.account-warning-panel p {
  margin-top: 6px;
  color: #706a67;
  font-size: 12px;
  line-height: 1.55;
}

.account-guest-hero .account-primary-button {
  margin-top: 4px;
}

.account-trust-note,
.account-sensitive-note {
  padding: 14px 16px;
}

.account-trust-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.account-profile-hero {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.account-profile-hero > button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.account-profile-hero > button strong,
.account-profile-hero > button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-hero > button strong {
  font-size: 18px;
}

.account-profile-hero > button span {
  margin-top: 5px;
  color: #6a7773;
  font-size: 12px;
}

.account-profile-hero .account-settings-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(24, 168, 137, 0.24);
  border-radius: 999px;
  color: #08201c;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.account-orders-card,
.account-menu-card {
  overflow: hidden;
}

.account-section-title {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border: 0;
  background: transparent;
  color: inherit;
}

.account-section-title strong,
.account-menu-card h3 {
  margin: 0;
  color: #172522;
  font-size: 15px;
  font-weight: 820;
}

.account-section-title span {
  color: #78837f;
  font-size: 12px;
}

.account-order-statuses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4px 8px 13px;
}

.account-order-statuses button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 20px 2px 2px;
  border: 0;
  background: transparent;
  color: #26332f;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
}

.account-order-statuses button > span {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.account-order-statuses button::before {
  position: absolute;
  top: 3px;
  width: 18px;
  height: 14px;
  border: 1.5px solid #45c0a5;
  border-radius: 4px;
  content: "";
}

.account-order-statuses i {
  position: absolute;
  top: -3px;
  left: calc(50% + 5px);
  min-width: 15px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #ec6657;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  line-height: 13px;
}

.account-order-statuses i:empty {
  display: none;
}

.account-menu-card h3 {
  padding: 14px 16px 7px;
}

.account-list-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 16px;
  border: 0;
  border-top: 1px solid #edf1ef;
  background: #ffffff;
  color: #172522;
  text-align: left;
}

.account-guest-shortcuts .account-list-row:first-child,
.account-detail-content > .account-list-row:first-child {
  border-top: 0;
}

.account-list-row > span {
  min-width: 0;
}

.account-list-row strong,
.account-list-row small {
  display: block;
}

.account-list-row strong {
  font-size: 14px;
  line-height: 1.3;
}

.account-list-row small {
  margin-top: 4px;
  overflow: hidden;
  color: #7a8581;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-list-row em {
  flex: 0 0 auto;
  color: #9aa39f;
  font-size: 19px;
  font-style: normal;
}

.account-signout-link,
.account-danger-link {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #68746f;
  font-size: 13px;
}

.account-danger-link {
  color: #c64f45;
}

.account-subpage-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 54px;
  padding: 0 4px;
}

.account-subpage-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #172522;
  box-shadow: 0 4px 14px rgba(23, 37, 34, 0.08);
  font-size: 27px;
  line-height: 1;
}

.account-subpage-head div {
  min-width: 0;
  text-align: center;
}

.account-subpage-head strong,
.account-subpage-head span {
  display: block;
}

.account-subpage-head strong {
  font-size: 17px;
}

.account-subpage-head span {
  margin-top: 3px;
  overflow: hidden;
  color: #7a8581;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-login-intro {
  padding: 18px 4px 6px;
}

.account-login-intro p {
  margin-top: 6px;
}

.account-login-form,
.account-detail-form {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.account-login-form label,
.account-detail-form label,
.account-editor-sheet label {
  display: grid;
  gap: 6px;
}

.account-login-form label > span,
.account-detail-form label > span,
.account-editor-sheet label > span {
  color: #53605c;
  font-size: 12px;
  font-weight: 720;
}

.account-login-form input,
.account-login-form select,
.account-detail-form input,
.account-detail-form select,
.account-editor-sheet input,
.account-editor-sheet select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  outline: none;
  background: #fdfefe;
  color: #172522;
}

.account-login-form input:focus,
.account-detail-form input:focus,
.account-editor-sheet input:focus {
  border-color: #45c0a5;
  box-shadow: 0 0 0 3px rgba(24, 168, 137, 0.1);
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c9692;
  font-size: 11px;
}

.account-divider::before,
.account-divider::after {
  height: 1px;
  flex: 1;
  background: #dfe6e3;
  content: "";
}

.account-social-login {
  display: grid;
  gap: 8px;
}

.account-google-slot {
  min-height: 48px;
}

.account-google-slot > div,
.account-google-slot iframe {
  max-width: 100%;
}

.account-social-login button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid #dfe6e3;
  border-radius: 8px;
  background: #ffffff;
  color: #172522;
}

.account-social-login button[hidden] {
  display: none;
}

.account-social-login .account-oauth-button {
  position: relative;
  display: grid;
  width: 100%;
  height: 48px;
  min-height: 48px;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  justify-content: stretch;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.account-oauth-button strong {
  justify-self: center;
  font: inherit;
}

.account-oauth-button svg {
  width: 18px;
  height: 18px;
  justify-self: start;
}

.account-social-login .account-oauth-apple {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.account-oauth-apple-logo {
  justify-self: start;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.account-social-login .account-oauth-google {
  border-color: #747775;
  background: #ffffff;
  color: #1f1f1f;
}

.account-oauth-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f8f7;
  color: #66726e;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.account-social-login[data-oauth-state="loading"] .account-oauth-message {
  color: #7a8581;
}

.account-social-login .account-phone-login-button {
  width: 100%;
}

.account-social-login span {
  color: #7a8581;
  font-size: 12px;
}

.account-legal-copy {
  padding: 0 12px;
  text-align: center;
}

.account-code-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-code-field button {
  padding: 0 12px;
  border: 1px solid rgba(24, 168, 137, 0.3);
  border-radius: 8px;
  background: #edf8f5;
  color: #08201c;
  font-size: 12px;
  font-weight: 750;
}

.account-tab-strip {
  display: flex;
  gap: 6px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.account-tab-strip::-webkit-scrollbar {
  display: none;
}

.account-tab-strip button {
  min-width: max-content;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe6e3;
  border-radius: 999px;
  background: #ffffff;
  color: #66736f;
  font-size: 12px;
}

.account-tab-strip button.active {
  border-color: #45c0a5;
  background: #45c0a5;
  color: #ffffff;
}

.account-order-list,
.account-traveler-list,
.account-invoice-list,
.account-support-list,
.account-note-list,
.account-review-list,
.account-detail-content {
  display: grid;
  gap: 10px;
}

.account-order-list article {
  padding: 14px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.account-order-list header,
.account-order-list footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-order-list header {
  color: #6b7773;
  font-size: 11px;
}

.account-order-list header strong {
  color: #08201c;
}

.account-order-list h3 {
  margin: 12px 0 5px;
  font-size: 15px;
}

.account-order-list p {
  margin: 0 0 12px;
  color: #7a8581;
  font-size: 11px;
}

.account-order-list footer button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(24, 168, 137, 0.3);
  border-radius: 999px;
  background: #ffffff;
  color: #08201c;
  font-size: 11px;
}

.account-order-detail-card {
  padding: 16px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(23, 37, 34, 0.055);
}

.account-order-detail-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #68746f;
  font-size: 12px;
}

.account-order-detail-card header strong {
  color: #08201c;
}

.account-order-detail-card h3 {
  margin: 16px 0;
  font-size: 18px;
}

.account-order-detail-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-order-detail-card dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  font-size: 12px;
}

.account-order-detail-card dt {
  color: #7a8581;
}

.account-order-detail-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.account-order-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.account-order-detail-actions button {
  min-height: 42px;
  border: 1px solid #e2c4c0;
  border-radius: 8px;
  background: #ffffff;
  color: #b54d44;
  font-weight: 750;
}

.account-order-detail-actions .account-order-pay-button {
  border-color: #45c0a5;
  color: #ffffff;
  background: #45c0a5;
}

.account-order-availability,
.account-order-refund,
.account-order-timeline {
  padding: 15px 16px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.account-order-source-note {
  margin: 12px 16px 14px;
  padding: 13px 14px;
  border: 1px solid rgba(33, 118, 91, 0.12);
  border-radius: 14px;
  background: rgba(33, 118, 91, 0.055);
  color: var(--ink, #18231f);
}
.account-order-source-note strong { display: block; font-size: 13px; line-height: 1.35; }
.account-order-source-note p { margin: 5px 0 0; color: var(--muted, #66736e); font-size: 12px; line-height: 1.55; }

.account-order-availability { border-color: #ecd5a8; background: #fffaf0; }
.account-order-availability strong { color: #8a641f; font-size: 13px; }
.account-order-availability.account-order-availability-ready { border-color: rgba(22,143,119,.28); background: rgba(22,143,119,.065); }
.account-order-availability.account-order-availability-ready strong { color: #11745f; }
.account-order-availability p,
.account-order-refund p { margin: 7px 0 0; color: #68746f; font-size: 12px; line-height: 1.65; }
.account-order-refund header { display: flex; justify-content: space-between; gap: 12px; }
.account-order-refund header strong { font-size: 13px; }
.account-order-refund header span { color: #08201c; font-size: 11px; font-weight: 750; }
.account-order-refund small { display: block; margin-top: 7px; color: #7a8581; font-size: 10px; }
.account-order-timeline h3 { margin: 0 0 13px; font-size: 14px; }
.account-order-timeline > div { position: relative; min-height: 42px; padding-left: 22px; display: grid; grid-template-columns: 1fr; }
.account-order-timeline > div:not(:last-child)::before { position: absolute; left: 5px; top: 12px; bottom: -5px; width: 1px; background: #dce7e3; content: ""; }
.account-order-timeline i { position: absolute; left: 1px; top: 4px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #45c0a5; box-shadow: 0 0 0 1px #8fc9bb; }
.account-order-timeline span { display: grid; gap: 3px; }
.account-order-timeline strong { color: #30423c; font-size: 12px; }
.account-order-timeline small { color: #7f8a86; font-size: 10px; line-height: 1.45; }
.account-order-action-sheet { position: fixed; z-index: 2100; left: 50%; bottom: 0; width: min(100%, 520px); padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; display: grid; gap: 14px; color: #21332d; background: #fff; box-shadow: 0 -12px 40px rgba(20,45,37,.18); transform: translateX(-50%); }
.account-order-action-sheet::before { position: fixed; z-index: -1; inset: -100vh -100vw 0; background: rgba(14,29,24,.36); content: ""; }
.account-order-action-sheet header { display: flex; align-items: center; justify-content: space-between; }
.account-order-action-sheet header strong { font-size: 16px; }
.account-order-action-sheet header button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #66736e; background: #f1f5f3; font-size: 20px; }
.account-order-action-sheet > p { margin: 0; color: #68746f; font-size: 12px; line-height: 1.6; }
.account-order-action-sheet label { display: grid; gap: 7px; color: #586861; font-size: 11px; font-weight: 700; }
.account-order-action-sheet select { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #d8e3df; border-radius: 14px; color: #22352f; background: #fff; font-size: 15px; }
.account-order-action-sheet > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.account-order-action-sheet > div > button { min-height: 50px; border: 1px solid #dce5e2; border-radius: 14px; background: #fff; font-size: 14px; font-weight: 750; }

.account-empty-state {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 34px 22px;
  border: 1px dashed #ccd9d5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.account-traveler-list > button,
.account-invoice-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #172522;
  text-align: left;
}

.account-support-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #172522;
  text-align: left;
}

.account-note-list > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #172522;
  text-align: left;
}

.account-note-list strong,
.account-note-list small {
  display: block;
}

.account-note-list small {
  margin-top: 5px;
  color: #7a8581;
  font-size: 11px;
}

.account-note-list em {
  color: #08201c;
  font-size: 11px;
  font-style: normal;
}

.account-editor-sheet textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  color: #172522;
  font: inherit;
  resize: vertical;
}

.account-inline-empty {
  padding: 18px 16px;
  border-top: 1px solid #edf1ef;
  color: #7a8581;
  font-size: 12px;
  text-align: center;
}

.account-review-list article {
  padding: 14px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.account-review-list article header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-review-list article header span {
  color: #e0a72d;
  letter-spacing: 0;
}

.account-review-list article p {
  margin: 9px 0;
  color: #485650;
  font-size: 12px;
  line-height: 1.55;
}

.account-review-list article small {
  color: #7a8581;
  font-size: 10px;
}

.account-support-list strong,
.account-support-list small {
  display: block;
}

.account-support-list small {
  margin-top: 5px;
  color: #7a8581;
  font-size: 11px;
}

.account-support-list em {
  flex: 0 0 auto;
  color: #08201c;
  font-size: 11px;
  font-style: normal;
}

.account-detail-form textarea,
.account-support-reply textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  outline: none;
  background: #fdfefe;
  color: #172522;
  font: inherit;
  resize: vertical;
}

.account-support-message-media { margin-top: 8px; display: grid; grid-template-columns: repeat(2,minmax(0,132px)); gap: 6px; }
.account-support-message-media a { border-radius: 10px; display: block; overflow: hidden; background: #edf3f0; }
.account-support-message-media img { width: 100%; height: 108px; display: block; object-fit: cover; }
.account-support-pending-media { display: flex; flex-wrap: wrap; gap: 7px; }
.account-support-pending-media span { padding: 6px 8px 6px 10px; border-radius: 999px; display: flex; align-items: center; gap: 7px; color: #315f55; background: #eaf6f2; font-size: 11px; }
.account-support-pending-media button { width: 21px; height: 21px; border: 0; border-radius: 50%; color: #315f55; background: #fff; }

.account-support-ticket-head {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(23, 72, 62, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.account-support-ticket-head span {
  color: #7a8581;
  font-size: 11px;
}

.account-support-messages {
  display: grid;
  gap: 10px;
}

.account-support-messages article {
  width: min(86%, 340px);
  padding: 11px 12px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 37, 34, 0.05);
}

.account-support-messages article.customer {
  justify-self: end;
  background: #eaf7f3;
}

.account-support-messages article span,
.account-support-messages article small {
  color: #76827e;
  font-size: 10px;
}

.account-support-messages article p {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.5;
}

.account-support-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px;
  gap: 8px;
  align-items: end;
}

.account-support-reply button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #45c0a5;
  color: #ffffff;
  font-weight: 750;
}

.account-success-panel,
.account-ticket-summary,
.account-note-detail {
  padding: 15px;
  border: 1px solid rgba(24, 168, 137, 0.22);
  border-radius: 8px;
  background: #f0faf7;
}

.account-success-panel strong,
.account-ticket-summary strong {
  display: block;
  color: #127963;
}

.account-success-panel p,
.account-ticket-summary small {
  margin: 6px 0 0;
  color: #53625d;
  font-size: 12px;
  line-height: 1.55;
}

.account-unread-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e25b4d;
  vertical-align: 1px;
}

.account-message-thread {
  display: grid;
  gap: 10px;
  padding: 4px 0;
}

.account-message-thread article {
  width: min(86%, 340px);
  padding: 11px 12px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 37, 34, 0.06);
}

.account-message-thread article.is-customer {
  justify-self: end;
  background: #eaf7f3;
}

.account-message-thread article small {
  color: #76827e;
  font-size: 10px;
}

.account-message-thread article p {
  margin: 6px 0 0;
  color: #263630;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.account-support-thread-page .account-support-reply {
  display: grid;
  grid-template-columns: 1fr;
}

.account-note-detail {
  border-color: rgba(23, 72, 62, 0.1);
  background: #ffffff;
}

.account-note-detail > p {
  margin: 0;
  color: #34443e;
  font-size: 14px;
  line-height: 1.75;
}

.account-note-detail .account-note-location {
  margin-bottom: 12px;
  color: #08201c;
  font-size: 12px;
}

.account-note-detail footer {
  margin-top: 18px;
  color: #84908c;
  font-size: 10px;
}

.account-note-media {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.account-note-media span {
  padding: 9px 10px;
  border-radius: 7px;
  background: #f5f8f7;
  color: #687570;
  font-size: 11px;
}

.account-traveler-list strong,
.account-traveler-list small,
.account-invoice-list strong,
.account-invoice-list small {
  display: block;
}

.account-traveler-list small,
.account-invoice-list small {
  margin-top: 5px;
  color: #7a8581;
  font-size: 11px;
}

.account-traveler-list em,
.account-invoice-list em {
  color: #08201c;
  font-size: 12px;
  font-style: normal;
}

.account-editor-sheet {
  position: fixed;
  z-index: 140;
  right: max(16px, calc((100vw - 428px) / 2));
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 8px);
  left: max(16px, calc((100vw - 428px) / 2));
  display: grid;
  max-height: min(74vh, 640px);
  gap: 11px;
  padding: 16px;
  overflow-y: auto;
  border: 1px solid rgba(23, 72, 62, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(20, 36, 32, 0.22);
}

.account-editor-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-editor-sheet header button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: #eef3f1;
  color: #3f4d48;
  font-size: 20px;
  line-height: 1;
}

.account-danger-button {
  border: 1px solid #f0c8c4;
  background: #fff6f5;
  color: #c64f45;
}

.account-sensitive-note {
  color: #60706a;
  font-size: 11px;
  line-height: 1.5;
}

.account-info-panel,
.account-device-card,
.account-about-panel {
  padding: 16px;
}

.account-info-panel > strong,
.account-device-card strong,
.account-device-card span,
.account-device-card small,
.account-about-panel strong,
.account-about-panel span {
  display: block;
}

.account-info-panel > p {
  margin: 7px 0 12px;
}

.account-device-card span,
.account-about-panel span {
  margin-top: 5px;
  color: #66736f;
  font-size: 12px;
}

.account-device-card small {
  margin-top: 9px;
  color: #8b9591;
}

.account-device-card button {
  min-height: 34px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid #e6b9b4;
  border-radius: 999px;
  background: #fff7f6;
  color: #b64b42;
  font-size: 11px;
}

.account-about-panel {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.account-about-panel a {
  color: var(--jade);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.account-legal-meta {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-about-panel p {
  margin-top: 8px;
}

.account-toast {
  position: fixed;
  z-index: 200;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 18px);
  left: 50%;
  max-width: min(330px, calc(100vw - 40px));
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 37, 34, 0.92);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 36, 32, 0.2);
  font-size: 12px;
  text-align: center;
  transform: translateX(-50%);
}

.map-action-toast {
  position: fixed;
  z-index: 240;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 18px);
  left: 50%;
  max-width: min(340px, calc(100vw - 36px));
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 37, 34, 0.94);
  color: #fff;
  box-shadow: 0 10px 30px rgba(20, 36, 32, 0.22);
  font-size: 12px;
  text-align: center;
  transform: translateX(-50%);
}

.map-action-toast.success {
  background: rgba(20, 117, 94, 0.96);
}
.map-city-switch-toast { display: flex; align-items: center; gap: 12px; padding-right: 10px; }
.map-city-switch-toast button {
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #14755e;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.map-action-toast.is-pending { display: flex; align-items: center; gap: 9px; text-align: left; }
.map-action-toast.is-pending i { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid rgba(255,255,255,.38); border-top-color: #fff; border-radius: 50%; animation: map-action-spin .72s linear infinite; }
@keyframes map-action-spin { to { transform: rotate(360deg); } }

.map-place-actions button.active {
  border-color: #45c0a5;
  background: #eaf8f4;
  color: #137e68;
}

.account-inline-link {
  display: inline;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #16866f;
  font: inherit;
  text-decoration: underline;
}

#accountCenter button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.68;
}

#accountCenter button[aria-busy="true"]::after {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  vertical-align: -1px;
  animation: account-button-spin 0.7s linear infinite;
}

@keyframes account-button-spin {
  to { transform: rotate(360deg); }
}

.account-sync-warning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #f1d4a5;
  border-radius: 10px;
  background: #fffaf0;
  color: #72511d;
  font-size: 12px;
  line-height: 1.55;
}

.account-sync-warning button,
.account-favorite-remove,
.account-legal-language button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfe9e2;
  border-radius: 999px;
  background: #f3fbf8;
  color: #137e68;
  font-size: 11px;
  font-weight: 700;
}

.account-growth-card {
  width: 100%;
  margin: 0 0 12px;
  padding: 15px 16px;
  border: 1px solid #dcebe7;
  border-radius: 12px;
  background: linear-gradient(135deg, #f2fbf8 0%, #ffffff 72%);
  color: #21302c;
  text-align: left;
}

.account-growth-card > span,
.account-growth-detail > span {
  color: #18866f;
  font-size: 11px;
  font-weight: 700;
}

.account-growth-card > span > strong,
.account-growth-card > span > small {
  display: block;
}

.account-growth-card > span > small {
  margin-top: 5px;
  color: #71807c;
  font-size: 11px;
}

.account-growth-card > strong,
.account-growth-detail > strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.account-growth-card > small,
.account-growth-detail > small {
  display: block;
  margin-top: 5px;
  color: #71807c;
}

.account-growth-bar {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4efec;
}

.account-growth-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #45c0a5;
}

.account-growth-card > i,
.account-growth-detail > i {
  display: block;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4efec;
}

.account-growth-card > i b,
.account-growth-detail > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #45c0a5;
}

.account-favorite-list,
.account-growth-records {
  display: grid;
  gap: 10px;
}

.account-favorite-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid #e3ebe8;
  border-radius: 12px;
  background: #ffffff;
}

.account-favorite-open {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: inherit;
  text-align: left;
}

.account-favorite-open img,
.account-favorite-image {
  width: 62px;
  height: 62px;
  border-radius: 9px;
  background: #edf5f2;
  object-fit: cover;
}

.account-favorite-image {
  display: grid;
  place-items: center;
  color: #18866f;
  font-size: 23px;
}

.account-favorite-copy {
  min-width: 0;
}

.account-favorite-copy strong,
.account-favorite-copy span,
.account-favorite-copy small,
.account-favorite-copy em {
  display: block;
}

.account-favorite-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-favorite-copy span,
.account-favorite-copy small,
.account-favorite-copy em {
  margin-top: 4px;
  color: #75827e;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.account-favorite-remove {
  border-color: #edd8d5;
  background: #fff8f7;
  color: #a64c43;
}

.account-creator-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.account-creator-metrics div,
.account-creator-metrics button {
  padding: 14px 8px;
  border: 1px solid #e2ebe8;
  border-radius: 11px;
  background: #fff;
  text-align: center;
}

.account-creator-metrics strong,
.account-creator-metrics span {
  display: block;
}

.account-creator-metrics strong {
  color: #18866f;
  font-size: 20px;
}

.account-creator-metrics span {
  margin-top: 5px;
  color: #6d7a76;
  font-size: 11px;
}

.account-growth-detail {
  padding: 18px;
  border: 1px solid #dcebe7;
  border-radius: 12px;
  background: linear-gradient(135deg, #f2fbf8, #fff);
}

.account-growth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #edf1f0;
}

.account-growth-row:last-child {
  border-bottom: 0;
}

.account-growth-row span,
.account-growth-row small {
  display: block;
}

.account-growth-row small {
  margin-top: 4px;
  color: #7b8783;
}

.account-growth-row strong {
  color: #18866f;
}

.account-legal-language {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.account-legal-language button.active {
  border-color: #45c0a5;
  background: #45c0a5;
  color: #fff;
}

.account-legal-document {
  padding: 18px;
  border: 1px solid #e2e9e7;
  border-radius: 12px;
  background: #fff;
  color: #27332f;
  line-height: 1.75;
}

.account-legal-document h2 {
  margin: 0 0 5px;
  font-size: 18px;
}

.account-legal-document > small {
  display: block;
  margin-bottom: 16px;
  color: #7b8783;
}

.account-legal-document section + section {
  margin-top: 18px;
}

.account-legal-document h3 {
  margin: 0 0 6px;
  color: #45c0a5;
  font-size: 14px;
}

.account-legal-document p {
  margin: 0;
  white-space: pre-line;
}

@media (max-width: 370px) {
  .account-profile-hero {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 14px 12px;
  }

  .account-avatar {
    width: 46px;
    height: 46px;
  }

  .account-profile-hero .account-settings-button {
    padding-inline: 8px;
  }

  .account-list-row {
    padding-inline: 13px;
  }

  .account-favorite-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-favorite-open {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .account-favorite-open img,
  .account-favorite-image {
    width: 52px;
    height: 52px;
  }

  .account-favorite-remove {
    justify-self: start;
  }
}

.community-feed {
  padding: 16px;
}

.community-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.community-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.community-tab.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.community-list,
.community-form {
  display: grid;
  gap: 10px;
}

.community-card {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.community-head span,
.community-card small,
.community-form span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.community-head strong {
  color: #bdf8df;
  font-size: 12px;
  letter-spacing: 0;
}

.community-card h3 {
  margin: 8px 0 6px;
  font-size: 16px;
}

.community-card p,
.community-empty,
.community-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.community-card small {
  display: block;
  margin-top: 9px;
}

.community-form {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 16px;
  background: rgba(69, 192, 165, 0.08);
}

.community-form label {
  display: grid;
  gap: 6px;
}

.community-form input,
.community-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px;
  resize: vertical;
}

.community-form input {
  min-height: 42px;
}

.local-life {
  padding: 16px;
}

.local-life-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.local-life-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.local-life-tab.active {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.14);
  color: var(--text);
}

.local-life-list {
  display: grid;
  gap: 10px;
}

.local-life-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.local-life-card span,
.local-life-card small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.local-life-card h3 {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.local-life-card p,
.local-life-empty,
.local-life-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.local-life-card small {
  display: block;
  margin-top: 8px;
}

.local-life-side {
  display: grid;
  gap: 8px;
  min-width: 76px;
  justify-items: end;
}

.local-life-side strong {
  color: #bdf8df;
  font-size: 20px;
}

.local-life-side .secondary-button {
  min-height: 38px;
  padding: 0 12px;
}

.benefits-center {
  padding: 16px;
}

.benefit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 180, 106, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.18), rgba(69, 192, 165, 0.12)),
    rgba(255, 255, 255, 0.07);
}

.benefit-hero span,
.benefit-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.benefit-hero strong {
  display: block;
  margin: 6px 0;
  font-size: 18px;
  line-height: 1.25;
}

.benefit-hero p,
.benefit-card p,
.benefit-empty,
.benefit-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.benefit-hero .primary-button {
  min-height: 42px;
  padding: 0 16px;
}

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

.benefit-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.benefit-card strong {
  display: block;
  min-height: 38px;
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.4;
}

.benefit-card .secondary-button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
}

.benefit-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.benefit-actions .secondary-button {
  min-height: 42px;
  padding: 0 8px;
  font-size: 12px;
}

.departure-service {
  padding: 16px;
}

.departure-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.departure-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.departure-tab.active {
  border-color: rgba(113, 216, 255, 0.48);
  background: rgba(113, 216, 255, 0.12);
  color: var(--text);
}

.departure-panel,
.departure-list {
  display: grid;
  gap: 10px;
}

.departure-summary,
.departure-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.departure-summary {
  padding: 13px;
}

.departure-summary span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.departure-summary strong {
  display: block;
  margin: 6px 0;
  color: #bdf8df;
  font-size: 18px;
}

.departure-summary p,
.departure-item p,
.departure-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.departure-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 11px;
  color: var(--text);
  text-align: left;
}

.departure-item > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(113, 216, 255, 0.12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
}

.departure-item.done {
  border-color: rgba(69, 192, 165, 0.45);
  background: rgba(69, 192, 165, 0.11);
}

.departure-item.done > span {
  background: rgba(69, 192, 165, 0.18);
  color: #bdf8df;
}

.departure-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.departure-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.departure-actions .secondary-button {
  min-height: 42px;
}

.safety-center {
  padding: 16px;
}

.emergency-call-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.emergency-call {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 68px;
  border: 1px solid rgba(255, 111, 97, 0.32);
  border-radius: 16px;
  background: rgba(255, 111, 97, 0.12);
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

.emergency-call span {
  color: #ffb4aa;
  font-size: 10px;
  font-weight: 850;
}

.emergency-call strong {
  font-size: 18px;
}

.safety-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.safety-actions .secondary-button {
  min-height: 42px;
  padding: 0 8px;
  font-size: 12px;
}

.safety-panel,
.safety-phrase-list {
  display: grid;
  gap: 10px;
}

.safety-phrase-card,
.safety-service-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.safety-phrase-card span,
.safety-service-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.safety-phrase-card strong,
.safety-service-card strong {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.4;
}

.safety-phrase-card p,
.safety-service-card p,
.safety-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.safety-phrase-card .secondary-button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
}

.entry-service {
  padding: 16px;
}

.entry-checker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  margin-bottom: 12px;
}

.entry-checker label {
  display: grid;
  gap: 6px;
}

.entry-checker label span,
.entry-service-card span,
.entry-result-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.entry-checker select,
.entry-checker input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 10px;
}

.entry-checker .primary-button {
  grid-column: 1 / -1;
  min-height: 42px;
}

.entry-result {
  margin-bottom: 12px;
}

.entry-result-card,
.entry-service-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.entry-result-card.ok {
  border-color: rgba(69, 192, 165, 0.42);
  background: rgba(69, 192, 165, 0.1);
}

.entry-result-card.warn {
  border-color: rgba(216, 180, 106, 0.38);
  background: rgba(216, 180, 106, 0.1);
}

.entry-result-card strong {
  display: block;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.entry-result-card p,
.entry-service-card p,
.entry-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.entry-service-card p {
  margin-top: 6px;
}

.transport-center {
  padding: 16px;
}

.transport-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.transport-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.transport-tab.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.transport-panel,
.transport-list {
  display: grid;
  gap: 10px;
}

.transport-summary,
.transport-item,
.transport-phrase {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.transport-summary span,
.transport-item span,
.transport-phrase span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.transport-summary p,
.transport-item p,
.transport-status {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.transport-phrase strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 14px;
  line-height: 1.4;
}

.transport-phrase .secondary-button {
  width: 100%;
  min-height: 38px;
}

.stay-service {
  padding: 16px;
}

.stay-filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.stay-filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stay-filter.active {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.14);
  color: var(--text);
}

.stay-list,
.stay-form {
  display: grid;
  gap: 10px;
}

.stay-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.stay-card.selected {
  border-color: rgba(216, 180, 106, 0.45);
  background: rgba(216, 180, 106, 0.1);
}

.stay-card span,
.stay-card small,
.stay-form span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.stay-card h3 {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.stay-card p,
.stay-empty,
.stay-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stay-card small {
  display: block;
  margin-top: 8px;
}

.stay-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 76px;
}

.stay-side strong {
  color: #bdf8df;
  font-size: 20px;
}

.stay-side .secondary-button {
  min-height: 38px;
  padding: 0 12px;
}

.stay-form {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(216, 180, 106, 0.22);
  border-radius: 16px;
  background: rgba(216, 180, 106, 0.08);
}

.stay-form label {
  display: grid;
  gap: 6px;
}

.stay-form input,
.stay-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 10px;
}

.hotel-page-shell {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  gap: 12px;
  padding: 0 0 18px;
  border-radius: 0;
  background: var(--bg);
}

.hotel-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
  padding: 8px 0 10px;
  background: linear-gradient(180deg, var(--bg) 72%, rgba(255, 255, 255, 0));
}

.hotel-location-button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #08201c;
  font-size: 12px;
  font-weight: 900;
}

.hotel-location-button.located {
  background: var(--brand-green, #45c0a5);
  color: var(--brand-green-dark, #08201c);
}

.hotel-page-shell .ep-ui-state-actions button:first-child {
  border-color: var(--brand-green, #45c0a5);
  background: var(--brand-green, #45c0a5);
  color: var(--brand-green-dark, #08201c);
}

.hotel-search-pill {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(12, 24, 36, 0.05);
  overflow: hidden;
}

.hotel-search-pill button {
  position: relative;
  display: grid;
  gap: 1px;
  align-content: center;
  justify-items: center;
  min-width: 94px;
  min-height: 44px;
  border: 0;
  border-right: 1px solid rgba(25, 38, 52, 0.09);
  background: transparent;
  color: #08201c;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
  padding: 0 22px 0 10px;
}

.hotel-search-pill button::after {
  content: "›";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-52%);
  color: rgba(17, 151, 127, 0.86);
  font-size: 18px;
  font-weight: 950;
}

.hotel-search-pill button strong {
  display: block;
  max-width: 104px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.hotel-search-pill button span {
  display: none;
}

.hotel-search-pill input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  outline: 0;
  font-size: 13px;
}

.hotel-search-card,
.hotel-tools-card,
.hotel-recommend-card,
.hotel-filter-bar,
.hotel-result-card {
  border: 1px solid rgba(25, 38, 52, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(12, 24, 36, 0.055);
}

.hotel-search-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
}

.hotel-search-grid {
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 8px) / 2));
  grid-template-areas:
    "city city"
    "checkin checkout"
    "rooms rooms";
  gap: 8px;
}

.hotel-field-city {
  grid-area: city;
}

.hotel-field-checkin {
  grid-area: checkin;
}

.hotel-field-checkout {
  grid-area: checkout;
}

.hotel-field-rooms {
  grid-area: rooms;
}

.hotel-search-grid label,
.hotel-guest-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.hotel-search-grid span,
.hotel-guest-row span,
.hotel-recommend-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.hotel-search-grid input,
.hotel-search-grid select,
.hotel-guest-row select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 16px;
  background: #f7f8f8;
  color: var(--text);
  padding: 0 10px;
  outline: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.1;
}

.hotel-guest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(138px, 0.85fr);
  gap: 8px;
  align-items: end;
}

.hotel-tools-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding: 12px 8px;
  border-radius: 20px;
}

.hotel-tools-card button {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.hotel-tools-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.12);
  color: #08201c;
  font-size: 17px;
}

.hotel-recommend-card {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
}

.hotel-recommend-card h3 {
  margin: 4px 0 5px;
  font-size: 20px;
  line-height: 1.25;
}

.hotel-recommend-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hotel-area-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hotel-area-chips button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.hotel-area-chips strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.hotel-filter-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
  padding: 8px;
  border-radius: 20px;
}

.hotel-filter-bar button {
  min-height: 38px;
  border: 0;
  border-radius: 13px;
  background: #f4f6f6;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.hotel-filter-bar button.active {
  background: rgba(69, 192, 165, 0.15);
  color: #08201c;
}

.hotel-active-filters {
  display: flex;
  gap: 7px;
  min-height: 34px;
  padding: 10px 2px 4px;
  overflow-x: auto;
}

.hotel-active-filters button,
.hotel-active-filters span {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.13);
  color: #08201c;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 850;
}

.hotel-active-filters span {
  background: transparent;
  color: var(--muted);
}

.hotel-list {
  display: grid;
  gap: 10px;
}

.hotel-subpage.hidden,
.hotel-view.hidden {
  display: none;
}

.hotel-subpage {
  min-height: calc(100dvh - var(--nav-height) - 70px);
  padding: 10px 14px 18px;
  border-radius: 0;
  background: var(--bg);
}

.hotel-subpage-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 4px 0 10px;
  background: linear-gradient(180deg, var(--bg) 76%, rgba(255, 255, 255, 0));
}

.hotel-subpage-head strong {
  font-size: 20px;
  line-height: 1.2;
}

.hotel-subpage-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 33, 47, 0.08);
  color: var(--muted);
  font-size: 22px;
}

.hotel-subpage-search,
.hotel-destination-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  outline: 0;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(12, 24, 36, 0.05);
}

.hotel-region-layout {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.hotel-region-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.hotel-region-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 900;
}

.hotel-region-tabs button.active {
  background: rgba(69, 192, 165, 0.16);
  color: #08201c;
}

.hotel-region-content {
  display: grid;
  gap: 18px;
}

.hotel-region-content h3,
.hotel-search-suggestions h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.hotel-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hotel-region-grid button,
.hotel-region-choice,
.hotel-search-suggestions button,
.hotel-region-online button {
  min-height: 46px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 10px;
  text-align: left;
  font-weight: 850;
}

.hotel-region-online {
  display: grid;
  gap: 8px;
}

.hotel-region-online button {
  display: grid;
  gap: 4px;
}

.hotel-region-online span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.hotel-destination-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 8px;
}

.hotel-search-suggestions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hotel-search-suggestions section {
  display: grid;
  gap: 8px;
}

.hotel-place-search.home-gateway-search {
  margin-top: 8px;
}

.hotel-place-search-hint {
  margin: 9px 4px 0;
  color: rgba(8, 32, 28, 0.52);
  font-size: 12px;
  line-height: 1.45;
}

.hotel-search-suggestions button[data-hotel-place-index],
.hotel-search-suggestions button[data-hotel-recent-place-index],
.hotel-place-options > button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 5px;
  border: 0;
  border-bottom: 1px solid rgba(7, 19, 19, 0.07);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hotel-search-suggestions button[data-hotel-place-index] > span:nth-child(2),
.hotel-search-suggestions button[data-hotel-recent-place-index] > span:nth-child(2),
.hotel-place-options > button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.hotel-search-suggestions button[data-hotel-place-index] strong,
.hotel-search-suggestions button[data-hotel-place-index] small,
.hotel-search-suggestions button[data-hotel-recent-place-index] strong,
.hotel-search-suggestions button[data-hotel-recent-place-index] small,
.hotel-place-options > button strong,
.hotel-place-options > button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-search-suggestions button[data-hotel-place-index] small,
.hotel-search-suggestions button[data-hotel-recent-place-index] small,
.hotel-place-options > button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.hotel-place-options {
  display: grid;
  align-content: start;
}

.hotel-place-options > button {
  grid-template-columns: 38px minmax(0, 1fr) 18px;
}

.hotel-place-options > button em {
  color: rgba(21, 33, 47, 0.34);
  font-size: 20px;
  font-style: normal;
}

.hotel-search-suggestions button {
  display: grid;
  gap: 4px;
}

.hotel-search-suggestions button span,
.hotel-result-summary span {
  color: var(--muted);
  font-size: 12px;
}

.hotel-result-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(31, 80, 74, 0.07);
}

.hotel-real-marker {
  display: grid;
  place-items: center;
  align-self: start;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(69, 192, 165, 0.2), rgba(69, 192, 165, 0.08));
  color: #08201c;
  font-weight: 950;
}

.hotel-result-image {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
  background: #e9f3f1;
}

.hotel-live-price {
  grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
}

@media (max-width: 520px) {
  .hotel-result-card {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    column-gap: 12px !important;
  }
  .hotel-result-image,
  .hotel-real-marker {
    width: 100px !important;
    max-width: 100px !important;
    height: 138px !important;
  }
}

.hotel-live-price strong {
  font-size: 14px;
  color: #ff5f35;
  line-height: 1.2;
}

.hotel-result-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
}

.hotel-result-card.selected {
  border-color: rgba(69, 192, 165, 0.42);
  box-shadow: 0 16px 34px rgba(69, 192, 165, 0.14);
}

.hotel-image-button {
  position: relative;
  min-width: 0;
  height: 150px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #e9f3f1;
  padding: 0;
}

.hotel-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-image-button span {
  position: absolute;
  left: 7px;
  top: 7px;
  border-radius: 999px;
  background: rgba(16, 31, 38, 0.72);
  color: #fff;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 850;
}

.hotel-result-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hotel-title-button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.hotel-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.hotel-rating-row strong {
  border-radius: 8px;
  background: #26c6b4;
  color: #fff;
  padding: 3px 6px;
  font-size: 13px;
}

.hotel-rating-row span {
  color: #08201c;
  font-size: 12px;
  font-weight: 900;
}

.hotel-rating-row small {
  color: var(--muted);
  font-size: 11px;
}

.hotel-result-body p {
  margin: 0;
  color: rgba(21, 33, 47, 0.74);
  font-size: 12px;
  line-height: 1.45;
}

.hotel-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.hotel-badges span {
  border-radius: 7px;
  background: #f0f4f4;
  color: rgba(21, 33, 47, 0.72);
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 800;
}

.hotel-price-row {
  display: grid;
  grid-template-columns: auto auto minmax(62px, 76px);
  gap: 7px;
  align-items: end;
  justify-content: end;
}

.hotel-price-row small {
  color: var(--muted);
  font-size: 11px;
}

.hotel-price-row strong {
  color: #ff5f35;
  font-size: 22px;
  line-height: 1;
}

.hotel-price-row .primary-button {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
}

/* v714 global destination pickers */
.destination-picker-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 6px;
}

.destination-picker-heading strong {
  font-size: 15px;
}

.destination-picker-heading span,
.destination-picker-state span {
  color: var(--muted);
  font-size: 11px;
}

.destination-picker-state {
  display: grid;
  gap: 5px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(8, 32, 28, 0.08);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.ticket-city-results button,
.hotel-region-online button {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 60px;
}

.ticket-city-results button.active,
.ticket-city-results button[aria-selected="true"] {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.07);
}

.ticket-city-results button > span:nth-child(2),
.hotel-region-online button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ticket-city-results button strong,
.ticket-city-results button small,
.hotel-region-online button strong,
.hotel-region-online button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-city-results button small,
.hotel-region-online button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.ticket-city-results button em,
.hotel-region-online button em {
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.12);
  color: #08201c;
  padding: 5px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.destination-type-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(69, 192, 165, 0.12);
}

.destination-type-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #45c0a5;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hotel-region-grid.country-grid button,
.hotel-region-grid [data-hotel-recent-index] {
  display: grid;
  gap: 2px;
}

.hotel-region-grid.country-grid button span,
.hotel-region-grid [data-hotel-recent-index] span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-region-coverage {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ticket-city-directory {
  display: grid;
  gap: 14px;
  margin: 4px 16px 14px;
}

.ticket-city-directory section {
  display: grid;
  gap: 9px;
}

.ticket-city-directory h3,
.ticket-city-directory p {
  margin: 0;
}

.ticket-city-directory h3 {
  color: var(--ink);
  font-size: 14px;
}

.ticket-city-directory p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ticket-location-priority > button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid rgba(69, 192, 165, 0.28);
  border-radius: 16px;
  background: rgba(69, 192, 165, 0.08);
  color: var(--ink);
  text-align: left;
}

.ticket-location-priority em {
  color: #08201c;
  font-size: 11px;
  font-style: normal;
}

.ticket-country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ticket-country-grid button {
  display: grid;
  gap: 2px;
  min-height: 46px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.ticket-country-grid button span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-change-country,
.ticket-all-countries,
.hotel-change-country,
.hotel-all-countries {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(69, 192, 165, 0.28);
  border-radius: 13px;
  background: rgba(69, 192, 165, 0.08);
  color: #08201c;
  font-weight: 700;
  text-align: left;
}

.ticket-recent-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ticket-recent-row button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}

.ticket-city-search .primary-button {
  border: 1px solid rgba(69, 192, 165, 0.3);
  background: #fff;
  color: #08201c;
  box-shadow: none;
}

.ticket-subpage .ticket-city-search .primary-button {
  border-color: rgba(69, 192, 165, 0.35);
  background: #fff;
  color: #08201c;
  box-shadow: none;
}

.alpha-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 6px;
  min-width: 0;
}

.alpha-sections {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.alpha-sections > section {
  display: grid;
  gap: 7px;
  min-width: 0;
  scroll-margin-top: 74px;
}

.alpha-sections h4 {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 4px 2px;
  background: rgba(247, 250, 249, 0.94);
  color: #08201c;
  font-size: 13px;
}

.ticket-city-directory .alpha-sections button {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.ticket-city-directory .alpha-sections button span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-index {
  position: sticky;
  top: 70px;
  align-self: start;
  display: grid;
  z-index: 3;
}

.alpha-index button,
.ticket-city-results .alpha-index button {
  display: grid;
  width: 24px;
  min-width: 24px;
  min-height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #08201c;
  font-size: 10px;
  font-weight: 800;
  box-shadow: none;
}

.destination-alpha-directory {
  margin-top: 8px;
}

.hotel-region-grid > .alpha-directory,
.hotel-region-online > .alpha-directory {
  grid-column: 1 / -1;
  width: 100%;
}

.hotel-alpha-directory .alpha-sections button {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.hotel-alpha-directory .alpha-sections button span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-region-content .alpha-index button,
.hotel-region-online .alpha-index button {
  display: grid;
  width: 24px;
  min-width: 24px;
  min-height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #08201c;
  font-size: 10px;
  font-weight: 800;
  box-shadow: none;
}

.hotel-region-layout.destination-hierarchy-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

.destination-hierarchy-layout .hotel-region-tabs {
  display: none !important;
}

.ticket-subpage .ticket-city-search > button.primary-button {
  border: 1px solid rgba(69, 192, 165, 0.35) !important;
  background: #ffffff !important;
  color: #08201c !important;
}

.ticket-subpage-head strong,
.hotel-subpage-head strong {
  min-width: 0;
  padding-inline: 6px;
  overflow: hidden;
  font-size: clamp(16px, 4.6vw, 20px);
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* v718: China-first destination hierarchy with persistent long-list controls. */
body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell) {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.destination-picker-search.home-gateway-search {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 58px !important;
  grid-template-rows: 50px !important;
  width: 100%;
  min-height: 58px;
  margin: 0 0 12px;
  padding: 4px !important;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 61, 53, 0.08);
}

.destination-picker-search.home-gateway-search input {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 8px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.destination-picker-search.home-gateway-search > button {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #45c0a5 !important;
  color: #08201c !important;
  font-weight: 850 !important;
}

.destination-scope-tabs {
  position: sticky;
  top: 70px;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: #eef7f4;
}

.destination-scope-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.destination-scope-tabs button.active {
  background: #fff;
  color: #08201c;
  box-shadow: 0 4px 14px rgba(15, 61, 53, 0.08);
}

.destination-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.destination-popular-grid button,
.continent-tabs button {
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(69, 192, 165, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.continent-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.continent-tabs button {
  flex: 0 0 auto;
  padding-inline: 14px;
  white-space: nowrap;
}

.continent-tabs button.active {
  border-color: #45c0a5;
  background: rgba(69, 192, 165, 0.12);
  color: #08201c;
}

.alpha-index,
.alpha-index-fixed {
  position: sticky !important;
  top: 128px !important;
  max-height: calc(100dvh - 148px);
  overflow: hidden;
}

.destination-load-more {
  width: calc(100% - 30px);
  min-height: 44px;
  margin: 14px 30px 0 0;
  border: 1px solid rgba(69, 192, 165, 0.3);
  border-radius: 14px;
  background: rgba(69, 192, 165, 0.08);
  color: #08201c;
  font-weight: 800;
}

.hotel-region-layout,
.hotel-region-content,
.ticket-city-directory,
.ticket-city-results,
.alpha-directory,
.alpha-sections {
  min-width: 0;
  max-width: 100%;
}

.hotel-region-content,
.ticket-city-results {
  overflow: visible;
}

.continent-tabs {
  width: 100%;
  max-width: 100%;
  padding-bottom: 3px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.ticket-location-priority [data-ticket-current-city] {
  grid-template-columns: auto minmax(0, 1fr) !important;
}

#hotelRegionPage,
#ticketCityPage {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#hotelRegionPage .destination-hierarchy-layout,
#hotelRegionPage .hotel-region-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* v719: exact destination-search geometry and durable mobile directory rails. */
#hotelRegionPage .destination-picker-search.home-gateway-search,
#ticketCityPage .destination-picker-search.home-gateway-search {
  box-sizing: border-box !important;
  grid-template-columns: 30px minmax(0, 1fr) 48px !important;
  grid-template-rows: 48px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 58px !important;
  padding: 4px !important;
}

#hotelRegionPage .destination-picker-search.home-gateway-search > button,
#ticketCityPage .destination-picker-search.home-gateway-search > button {
  display: grid !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  place-items: center;
  border-radius: 50% !important;
  font-size: 0 !important;
}

#hotelRegionPage .destination-picker-search.home-gateway-search > button::before,
#ticketCityPage .destination-picker-search.home-gateway-search > button::before {
  content: "\2192";
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

#hotelRegionPage .destination-picker-search.home-gateway-search input,
#ticketCityPage .destination-picker-search.home-gateway-search input {
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
}

#hotelRegionPage .alpha-index,
#ticketCityPage .alpha-index {
  top: 124px !important;
  max-height: calc(100dvh - 144px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

#hotelRegionPage .alpha-index.alpha-index-anchored,
#ticketCityPage .alpha-index.alpha-index-anchored {
  position: fixed !important;
  top: var(--alpha-rail-top) !important;
  left: var(--alpha-rail-left) !important;
  right: auto !important;
  max-height: var(--alpha-rail-height) !important;
  z-index: 80 !important;
  transform: none !important;
  overscroll-behavior: contain;
}

#hotelRegionPage .alpha-index::-webkit-scrollbar,
#ticketCityPage .alpha-index::-webkit-scrollbar {
  display: none;
}

#hotelRegionPage .continent-tabs,
#ticketCityPage .continent-tabs {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden;
}

body.module-standalone-open #hotelRegionPage .hotel-subpage-head,
body.module-standalone-open #ticketCityPage .ticket-subpage-head {
  box-sizing: border-box !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
}

body.module-standalone-open #hotelRegionPage .hotel-subpage-head > i,
body.module-standalone-open #ticketCityPage .ticket-subpage-head > i {
  width: 48px !important;
  min-width: 0 !important;
}

#hotelRegionPage .hotel-region-content > *,
#ticketCityPage .ticket-city-directory > *,
#ticketCityPage .ticket-city-results > * {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* v721: platform-style indexed lists, hotel decision sheets and in-app booking shell. */
#hotelRegionPage .destination-picker-search.home-gateway-search > button::before,
#ticketCityPage .destination-picker-search.home-gateway-search > button::before {
  content: none !important;
}

.destination-picker-search .destination-search-arrow {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destination-picker-search > button > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#hotelRegionSearchForm.is-searching > button[type="submit"] .destination-search-arrow {
  visibility: hidden;
}

#hotelRegionSearchForm.is-searching > button[type="submit"]::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: hotel-region-search-spin 0.7s linear infinite;
}

@keyframes hotel-region-search-spin {
  to { transform: rotate(360deg); }
}

.alpha-directory {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: start;
}

#hotelRegionPage .alpha-index,
#ticketCityPage .alpha-index {
  position: fixed !important;
  top: 142px !important;
  right: max(4px, calc((100vw - 460px) / 2 + 4px));
  z-index: 24;
  align-self: start;
  display: grid;
  max-height: calc(100dvh - 166px) !important;
  padding: 4px 0;
  overflow-y: auto !important;
  border-radius: 14px;
  background: rgba(247, 252, 250, 0.94);
  box-shadow: 0 4px 16px rgba(15, 61, 53, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  touch-action: pan-y;
}

#hotelRegionPage .alpha-index button,
#ticketCityPage .alpha-index button {
  width: 28px;
  min-width: 28px;
  min-height: 18px;
  color: #08201c;
  font-size: 10px;
  line-height: 1;
}

.hotel-filter-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-inline: -14px;
  padding: 7px 14px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 20px rgba(15,61,53,.06);
  backdrop-filter: blur(14px);
}

.hotel-filter-bar button {
  position: relative;
  padding: 0 14px 0 5px;
  background: transparent;
  white-space: nowrap;
}

.hotel-filter-bar button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.hotel-filter-bar button.active {
  background: rgba(69,192,165,.12);
}

.hotel-result-card {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 172px;
  padding: 10px;
  cursor: pointer;
}

.hotel-result-image,
.hotel-real-marker {
  width: 116px;
  height: 152px;
  border-radius: 14px;
}

.hotel-live-price strong,
.hotel-price-row strong,
.ticket-flyai-meta strong {
  color: #08201c;
}

.hotel-sheet-panel {
  max-height: min(82dvh, 720px);
}

.hotel-sheet-content {
  display: block !important;
  padding: 0 18px 18px;
}

.hotel-sheet-content section + section {
  margin-top: 22px;
}

.hotel-sheet-content > section {
  display: block !important;
  width: 100% !important;
}

.hotel-sheet-content h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

.hotel-sheet-content section > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-content section > div {
  grid-template-columns: 1fr;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-content button {
  justify-content: space-between;
  border-width: 0 0 1px;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

.hotel-sheet-content button {
  justify-content: center;
  min-height: 46px;
  padding: 8px;
  text-align: center;
}

.hotel-sheet-content button strong {
  margin-left: 6px;
}

.hotel-detail-content {
  display: grid;
  gap: 12px;
  padding-bottom: 92px;
}

.hotel-detail-hero,
.hotel-detail-stay,
.hotel-detail-rules {
  border: 1px solid rgba(8,32,28,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12,24,36,.055);
}

.hotel-detail-hero {
  overflow: hidden;
}

.hotel-detail-gallery > img,
.hotel-detail-placeholder {
  display: grid;
  width: 100%;
  height: 210px;
  place-items: center;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(69,192,165,.22), rgba(69,192,165,.06));
}

.hotel-detail-gallery {
  position: relative;
  overflow: hidden;
}

.hotel-detail-gallery > button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8,32,28,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  border: 0;
}

.hotel-detail-placeholder svg {
  width: 54px;
  fill: none;
  stroke: #45c0a5;
  stroke-width: 1.5;
}

.hotel-detail-hero > div:last-child {
  padding: 14px;
}

.hotel-detail-hero h2,
.hotel-detail-rules h3 {
  margin: 0 0 7px;
}

.hotel-detail-hero p {
  margin: 0 0 10px;
  color: var(--muted);
}

.hotel-detail-stay {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.hotel-detail-stay > div {
  display: grid;
  gap: 4px;
}

.hotel-detail-stay i {
  width: 1px;
  height: 32px;
  background: var(--line);
}

.hotel-detail-stay > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.hotel-detail-rules {
  padding: 14px;
}

.hotel-detail-rules ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #49625d;
  font-size: 13px;
}

.hotel-detail-cta {
  position: fixed;
  right: 0;
  bottom: max(var(--nav-height), env(safe-area-inset-bottom));
  left: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 460px;
  margin: auto;
  padding: 10px 14px;
  border-top: 1px solid rgba(8,32,28,.08);
  background: rgba(255,255,255,.97);
  box-shadow: 0 -12px 30px rgba(15,61,53,.08);
}

.hotel-detail-cta > div {
  display: grid;
  gap: 3px;
}

.hotel-detail-cta small { color: var(--muted); }
.hotel-detail-cta strong { color: #08201c; }
.hotel-detail-cta em { color: var(--brand); font-size: 11px; font-style: normal; font-weight: 700; }

.hotel-checkout-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: stretch center;
  background: rgba(8,32,28,.34);
}

.hotel-checkout-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.hotel-checkout-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  height: 100%;
  overflow: auto;
  padding: 0 14px calc(92px + env(safe-area-inset-bottom));
  background: #f6f8f7;
  overscroll-behavior: contain;
}

.hotel-checkout-card > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 54px;
  margin: 0 -14px 12px;
  padding: env(safe-area-inset-top) 14px 0;
  border-bottom: 1px solid rgba(8,32,28,.08);
  background: rgba(255,255,255,.96);
  text-align: center;
  backdrop-filter: blur(14px);
}

.hotel-checkout-card > header button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: #08201c;
  font-size: 30px;
}

.hotel-checkout-card section,
.hotel-checkout-request {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid rgba(8,32,28,.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(12,24,36,.045);
}

.hotel-checkout-card h3,
.hotel-checkout-card p,
.hotel-checkout-card dl { margin: 0; }
.hotel-checkout-card h3 { color: #08201c; font-size: 16px; }
.hotel-checkout-summary > p,
.hotel-checkout-policy p,
.hotel-checkout-price > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.hotel-checkout-summary > div { display: flex; flex-wrap: wrap; gap: 8px; color: #385d56; font-size: 12px; font-weight: 700; }

.hotel-checkout-price dl { display: grid; gap: 10px; }
.hotel-checkout-price dl > div { display: flex; justify-content: space-between; gap: 16px; }
.hotel-checkout-price dt { color: var(--muted); }
.hotel-checkout-price dd { margin: 0; color: #08201c; font-weight: 800; }
.hotel-checkout-price .total { padding-top: 11px; border-top: 1px solid var(--line); font-size: 16px; }
.hotel-checkout-price .total dd { color: var(--brand); }

.hotel-checkout-services > div { display: grid; gap: 8px; color: #254b44; font-size: 13px; }
.hotel-checkout-services > div span::first-letter { color: var(--brand); }
.hotel-checkout-services small { color: var(--muted); }

.hotel-checkout-contact label,
.hotel-checkout-request { color: #254b44; font-size: 12px; font-weight: 700; }
.hotel-checkout-contact label { display: grid; gap: 6px; }
.hotel-checkout-card input,
.hotel-checkout-card textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(8,32,28,.14);
  border-radius: 12px;
  background: #fff;
  color: #08201c;
  font: inherit;
}
.hotel-checkout-card input:focus,
.hotel-checkout-card textarea:focus { border-color: var(--brand); outline: 3px solid rgba(25,153,130,.12); }

.hotel-checkout-guests { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.hotel-checkout-guests + .hotel-checkout-guests { padding-top: 12px; border-top: 1px solid var(--line); }
.hotel-checkout-guests legend { margin-bottom: 8px; color: #254b44; font-size: 13px; font-weight: 800; }
.hotel-checkout-name-row { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr); gap: 8px; align-items: center; }
.hotel-checkout-name-row > span { color: var(--muted); font-size: 12px; }
.hotel-checkout-error { margin: 10px 2px !important; padding: 10px 12px; border-radius: 12px; background: #fff1f0; color: #a33b34; font-size: 13px; }

.hotel-checkout-card > footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(100%, 460px);
  margin: auto;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(8,32,28,.08);
  background: rgba(255,255,255,.98);
  box-shadow: 0 -10px 28px rgba(15,61,53,.08);
}
.hotel-checkout-card > footer span { display: grid; gap: 2px; }
.hotel-checkout-card > footer small { color: var(--muted); }
.hotel-checkout-card > footer strong { color: var(--brand); font-size: 17px; }
.hotel-checkout-card > footer button { min-width: 152px; }

.ticket-swap-button {
  display: grid;
  padding: 0;
  place-items: center;
}

.ticket-swap-button svg,
.ticket-summary-route svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticket-summary-route span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.explorepanda-booking-shell {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-width: 520px;
  margin: 0 auto;
  background: #f6faf8;
}

.explorepanda-booking-shell.hidden { display: none; }
body.booking-shell-open { overflow: hidden; }

.explorepanda-booking-shell header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid rgba(8,32,28,.08);
  background: #fff;
}

.explorepanda-booking-shell header button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(69,192,165,.12);
  color: #08201c;
}

.explorepanda-booking-shell header svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.explorepanda-booking-shell header div { display: grid; gap: 2px; text-align: center; }
.explorepanda-booking-shell header span { color: var(--muted); font-size: 10px; }
.booking-shell-status { display: flex; gap: 8px; align-items: center; padding: 8px 14px; color: #49625d; font-size: 11px; }
.booking-shell-status span { width: 7px; height: 7px; border-radius: 50%; background: #45c0a5; box-shadow: 0 0 0 5px rgba(69,192,165,.12); }
.booking-shell-status.loaded { display: none; }
.explorepanda-booking-shell iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.booking-shell-disclosure { margin: 0; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(8,32,28,.08); background: #fff; color: var(--muted); font-size: 10px; line-height: 1.45; }

/* v722: keep the index on its own edge and use result-anchored dropdown filters. */
#hotelRegionPage .alpha-index,
#ticketCityPage .alpha-index {
  position: sticky !important;
  top: 154px !important;
  right: auto;
  width: 24px !important;
  max-height: calc(100dvh - 176px) !important;
  padding: 3px 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 2px 10px rgba(15,61,53,.06);
}

#hotelRegionPage .alpha-index button,
#ticketCityPage .alpha-index button {
  width: 24px;
  min-width: 24px;
  min-height: 17px;
  font-size: 9px;
}

#hotelRegionPage .alpha-sections,
#ticketCityPage .alpha-sections {
  padding-right: 4px;
}

.hotel-filter-sheet {
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.hotel-sheet-backdrop {
  top: var(--hotel-filter-top, 150px);
  background: rgba(17,27,34,.28);
  pointer-events: auto;
}

.hotel-sheet-panel {
  top: var(--hotel-filter-top, 150px);
  right: max(0px, calc((100vw - 460px) / 2));
  bottom: auto;
  left: max(0px, calc((100vw - 460px) / 2));
  width: auto;
  max-width: 460px;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(66dvh, 590px);
  margin: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 36px rgba(20,42,50,.16);
  pointer-events: auto;
  animation: hotelDropdownIn .18s ease-out;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-panel {
  grid-template-rows: auto auto;
  height: 260px !important;
  max-height: 260px;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-actions {
  display: none;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-content {
  padding-bottom: 16px;
}

@keyframes hotelDropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotel-sheet-head {
  padding: 13px 16px 8px;
}

.hotel-sheet-head h3 {
  font-size: 17px;
}

.hotel-sheet-actions {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.hotel-room-availability,
.ticket-fare-availability {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(8,32,28,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12,24,36,.055);
}

.hotel-room-availability > div:first-child {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hotel-room-availability h3,
.ticket-fare-availability h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.hotel-room-availability p,
.ticket-fare-availability p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.hotel-room-provider-note {
  display: grid !important;
  gap: 4px !important;
  padding: 12px;
  border-radius: 14px;
  background: rgba(69,192,165,.09);
}

.hotel-room-provider-note span {
  color: var(--muted);
  font-size: 11px;
}

.hotel-room-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(8,32,28,.08);
  width: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.hotel-room-option:has(> img) { grid-template-columns: 76px minmax(0, 1fr) auto; }

.hotel-room-option > img {
  width: 76px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
  background: #eef7f4;
}

.hotel-room-option > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.hotel-room-option > div > strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.hotel-room-option small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.hotel-room-option > span {
  display: grid;
  justify-items: end;
  align-self: stretch;
  gap: 3px;
}

.hotel-room-option > span > strong {
  align-self: start;
  color: #08201c;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
}

.hotel-room-option > span small {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.hotel-room-option > span em {
  align-self: end;
  padding: 5px 9px;
  border: 1px solid rgba(8,122,104,.22);
  border-radius: 999px;
  color: #08201c;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.hotel-room-option.selected {
  margin: 0 -6px;
  width: calc(100% + 12px);
  padding-right: 6px;
  padding-left: 6px;
  border-top-color: rgba(69,192,165,.22);
  border-radius: 14px;
  background: rgba(69,192,165,.08);
}

.hotel-room-option.selected > span em {
  border-color: transparent;
  background: var(--brand-green, #45c0a5);
  color: #fff;
}

.hotel-detail-section {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(8,32,28,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12,24,36,.055);
}

.hotel-detail-section header h3 { margin: 0; font-size: 16px; }
.hotel-content-loading { color: var(--muted); font-size: 13px; }

.hotel-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hotel-facility-grid > span {
  display: flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f3f8f6;
  color: #2d4b44;
  font-size: 12px;
  line-height: 1.35;
}

.hotel-facility-grid small {
  flex: 0 0 auto;
  color: #9a6950;
  font-size: 9px;
}

.hotel-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #536762;
  font-size: 13px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.hotel-description.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
}

.hotel-description-toggle {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #08201c;
  font-size: 12px;
  font-weight: 850;
}

.hotel-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  max-width: 460px;
  margin: auto;
  background: #07110f;
  color: #fff;
}

.hotel-gallery-modal > header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 56px;
  padding-top: env(safe-area-inset-top);
}

.hotel-gallery-modal > header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
}

.hotel-gallery-modal > header strong { text-align: center; font-size: 14px; }
.hotel-gallery-stage { position: relative; display: grid; min-height: 0; place-items: center; }
.hotel-gallery-stage > img { display: block; width: 100%; max-height: 100%; object-fit: contain; }
.hotel-gallery-stage > button {
  position: absolute;
  top: 50%;
  display: grid;
  width: 38px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  color: #fff;
  font-size: 32px;
  transform: translateY(-50%);
}
.hotel-gallery-stage [data-hotel-gallery-prev] { left: 10px; }
.hotel-gallery-stage [data-hotel-gallery-next] { right: 10px; }
.hotel-gallery-thumbs { display: flex; gap: 7px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); overflow-x: auto; }
.hotel-gallery-thumbs button { flex: 0 0 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: #15211f; }
.hotel-gallery-thumbs button.active { border-color: var(--brand-green, #45c0a5); }
.hotel-gallery-thumbs img { display: block; width: 100%; height: 54px; object-fit: cover; }

.hotel-nearby-list,
.hotel-information { gap: 0; }

.hotel-nearby-list > div,
.hotel-information > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(8,32,28,.07);
}

.hotel-nearby-list > div:first-child,
.hotel-information > header + div { border-top: 0; }
.hotel-nearby-list strong { font-size: 13px; }
.hotel-nearby-list span { color: var(--muted); font-size: 12px; }
.hotel-information > div { grid-template-columns: 76px minmax(0,1fr); }
.hotel-information > div > span { color: var(--muted); font-size: 12px; }
.hotel-information > div > strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.5; }

.hotel-detail-cta .primary-button:disabled {
  border-color: transparent;
  background: #dce9e5;
  color: #5f7770;
  box-shadow: none;
}

.hotel-detail-link {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  justify-self: end;
  min-height: 34px;
  padding: 0 3px 0 10px;
  border: 0;
  background: transparent;
  color: #08201c;
  font-size: 12px;
  font-weight: 850;
}

.hotel-detail-link span {
  font-size: 22px;
  line-height: 1;
}

.ticket-fare-availability button {
  justify-self: start;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(69,192,165,.3);
  border-radius: 12px;
  background: rgba(69,192,165,.09);
  color: #08201c;
  font-weight: 800;
}

.ticket-cabin-query {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.ticket-cabin-query button {
  min-height: 38px;
  font-size: 11px;
}

.ticket-summary-route {
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
}

.ticket-summary-route > strong:first-child { text-align: right; }
.ticket-summary-route > strong:last-child { text-align: left; }
.ticket-summary-route span { justify-self: center; }

#hotelRegionPage .destination-scope-tabs,
#ticketCityPage .destination-scope-tabs,
#hotelRegionPage .destination-popular-grid,
#ticketCityPage .destination-popular-grid,
#hotelRegionPage .hotel-region-grid,
#ticketCityPage .alpha-directory {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 390px) {
  .hotel-region-layout {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 9px;
  }

  .hotel-region-grid {
    grid-template-columns: 1fr;
  }
}

/* v739: per-room occupancy and stable hotel/map navigation. */
.hotel-guest-row {
  grid-template-columns: minmax(0, 1.45fr) minmax(112px, .75fr);
  align-items: stretch;
}
.hotel-guest-row .hotel-field-occupancy {
  min-height: 52px;
  padding: 7px 34px 7px 11px;
  border-radius: 15px;
}
.hotel-guest-row .hotel-field-occupancy span { font-size: 10px; }
.hotel-guest-row .hotel-field-occupancy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.hotel-guest-row .primary-button {
  width: 100%;
  min-height: 52px;
  border-radius: 15px;
  box-shadow: 0 9px 20px rgba(8, 122, 104, .2);
}
.hotel-room-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0 13px;
}
.hotel-room-count-bar > span { display: grid; gap: 3px; }
.hotel-room-count-bar small { color: var(--muted); font-size: 11px; }
.hotel-room-count-bar > button,
.hotel-room-guest-card > header button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(8, 122, 104, .22);
  border-radius: 999px;
  background: rgba(69, 192, 165, .09);
  color: #08201c;
  font-size: 11px;
  font-weight: 900;
}
.hotel-room-count-bar > button:disabled { opacity: .42; }
.hotel-room-guest-list { display: grid; gap: 10px; }
.hotel-room-guest-card {
  padding: 4px 13px 10px;
  border: 1px solid rgba(8, 32, 28, .09);
  border-radius: 18px;
  background: #fbfdfc;
}
.hotel-room-guest-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid rgba(8, 32, 28, .08);
}
.hotel-room-guest-card > header button {
  min-height: 30px;
  border-color: transparent;
  background: transparent;
  color: #8b5555;
}
.hotel-room-guest-card .hotel-occupancy-row { min-height: 64px; }
.map-hotel-return {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  min-height: 36px;
  margin: 0 0 8px;
  padding: 0 13px;
  border: 1px solid rgba(8, 122, 104, .18);
  border-radius: 999px;
  background: rgba(69, 192, 165, .1);
  color: #08201c;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 350px) {
  .hotel-guest-row { grid-template-columns: minmax(0, 1.3fr) minmax(104px, .7fr); }
  .hotel-guest-row .hotel-field-occupancy strong { font-size: 12px; }
  .hotel-guest-row .primary-button { padding-inline: 10px; font-size: 13px; }
}

.hotel-empty {
  display: grid;
  gap: 5px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--muted);
  text-align: center;
}

.hotel-empty strong {
  color: var(--text);
}

.hotel-filter-sheet.hidden {
  display: none;
}

.hotel-filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.hotel-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 27, 34, 0.42);
}

.hotel-sheet-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 460px;
  max-height: 78vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -18px 48px rgba(20, 42, 50, 0.18);
  overflow: hidden;
}

.hotel-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 10px;
}

.hotel-sheet-head h3 {
  margin: 0;
  font-size: 20px;
}

.hotel-sheet-head button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f4;
  color: var(--muted);
  font-size: 20px;
}

.hotel-sheet-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 8px 18px 18px;
  overflow-y: auto;
}

.hotel-sheet-content button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 14px;
  background: #f6f8f8;
  color: var(--text);
  padding: 0 12px;
  font-weight: 850;
}

.hotel-sheet-content button.active {
  border-color: rgba(69, 192, 165, 0.36);
  background: rgba(69, 192, 165, 0.13);
  color: #108d76;
}

.hotel-sheet-content button.info-only {
  color: #65736f;
  cursor: default;
}

.hotel-sheet-content button.info-only small {
  color: #8b9895;
  font-size: 9px;
}

.hotel-sheet-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 10px;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(25, 38, 52, 0.08);
  background: #fff;
}

@media (max-width: 390px) {
  .hotel-search-grid,
  .hotel-area-chips {
    grid-template-columns: 1fr;
  }

  .hotel-result-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .hotel-image-button {
    height: 138px;
  }

  .hotel-result-image {
    height: 138px;
  }

  .hotel-title-button {
    font-size: 15px;
  }
}

/* v445 final cascade lock. */
.home-gateway-search {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-search:focus-within {
  border-color: rgba(69, 192, 165, 0.64);
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.12), 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-search button {
  background: var(--brand-green, #45c0a5);
  color: var(--brand-green-dark, #08201c);
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.18);
}

.home-gateway-select-wrap {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  box-shadow: 0 10px 24px rgba(18, 59, 42, 0.07);
}

.home-gateway-select-wrap svg,
.home-gateway-actions svg,
.home-gateway-actions a:nth-child(2) svg,
.home-gateway-actions a:nth-child(3) svg {
  stroke: var(--brand-green, #45c0a5);
}

.home-gateway-actions {
  border-top-color: rgba(69, 192, 165, 0.14);
}

.home-gateway-actions a,
.home-gateway-actions a:nth-child(2),
.home-gateway-actions a:nth-child(3) {
  border: 1px solid var(--line-soft, #dfe9e5);
  border-radius: 14px;
  background: var(--surface, #ffffff);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.055);
}

.home-gateway-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-width: 156px;
  min-height: 52px;
  margin: 30px auto 0;
  padding: 8px 18px 4px;
  border: 0;
  color: var(--brand-solid, #45c0a5);
  text-align: center;
}

.home-gateway-more i {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid var(--brand-green, #45c0a5);
  border-bottom: 2px solid var(--brand-green, #45c0a5);
  transform: rotate(45deg);
}

.home-gateway-more span {
  color: inherit;
  font-size: 12px;
}

.ticket-booking {
  padding: 16px;
}

.ticket-page-shell {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  gap: 12px;
  padding: 0 0 18px;
  background: var(--bg);
}

.ticket-status,
.ticket-online-card p,
.ticket-detail-panel p,
.ticket-checkout-note,
.ticket-city-results span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ticket-subpage-head button {
  border: 0;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.12);
  color: #08201c;
  font-weight: 900;
}

.ticket-tabs,
.ticket-trip-mode,
.ticket-filter-row {
  display: grid;
  gap: 7px;
  padding: 6px;
  border-radius: 999px;
  background: #f3f5f5;
}

.ticket-tabs {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 10px;
}

.ticket-trip-mode,
.ticket-filter-row {
  grid-template-columns: repeat(3, 1fr);
}

.ticket-tabs button,
.ticket-trip-mode button,
.ticket-filter-row button {
  min-width: 0;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(21, 33, 47, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.ticket-tabs button.active,
.ticket-trip-mode button.active,
.ticket-filter-row button.active {
  background: #fff;
  color: #08201c;
  box-shadow: 0 8px 20px rgba(20, 42, 50, 0.08);
}

.ticket-search-card,
.ticket-tool-grid,
.ticket-summary-card,
.ticket-online-card,
.ticket-detail-panel,
.ticket-checkout-form,
.ticket-city-results button {
  border: 1px solid rgba(25, 38, 52, 0.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 24, 36, 0.055);
}

.ticket-search-card {
  display: grid;
  gap: 11px;
  padding: 12px;
  border-radius: 20px;
}

.ticket-route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.ticket-city-button,
.ticket-place-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 62px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.ticket-city-button span,
.ticket-place-field span,
.ticket-date-grid span,
.ticket-passenger-row span,
.ticket-checkout-form span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.ticket-city-button strong,
.ticket-place-field strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.ticket-swap-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.14);
  color: #08201c;
  font-size: 22px;
  font-weight: 900;
}

.ticket-date-grid,
.ticket-passenger-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ticket-date-grid label,
.ticket-passenger-row label,
.ticket-checkout-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ticket-date-grid input,
.ticket-passenger-row select,
.ticket-city-search input,
.ticket-checkout-form input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(219, 228, 229, 0.95);
  border-radius: 15px;
  background: #ffffff;
  color: var(--text);
  padding: 0 11px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  outline: 0;
}

.ticket-place-field {
  width: 100%;
}

.ticket-search-button {
  min-height: 44px;
  border-radius: 999px;
}

.ticket-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding: 10px 8px;
  border-radius: 20px;
}

.ticket-tool-grid button {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.ticket-tool-grid span {
  color: #08201c;
  font-size: 11px;
  font-weight: 900;
}

.ticket-tool-grid strong {
  color: var(--text);
  font-size: 11px;
  line-height: 1.25;
}

.ticket-status {
  margin: 12px 2px 0;
}

.ticket-subpage.hidden,
.ticket-view.hidden {
  display: none;
}

.ticket-subpage {
  min-height: calc(100dvh - var(--nav-height) - 70px);
  padding: 10px 0 18px;
  background: var(--bg);
}

.ticket-subpage-head {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 4px 0 10px;
  background: linear-gradient(180deg, var(--bg) 76%, rgba(255, 255, 255, 0));
}

.ticket-subpage-head strong {
  font-size: 21px;
}

.ticket-subpage-head button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
}

.ticket-city-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 8px;
}

.ticket-city-results {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.ticket-city-results button {
  display: grid;
  gap: 4px;
  min-height: 58px;
  border-radius: 18px;
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.ticket-summary-card,
.ticket-online-card,
.ticket-detail-panel,
.ticket-checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 20px;
}

.ticket-summary-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.ticket-summary-route strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
}

.ticket-summary-route span {
  text-align: center;
  color: #08201c;
  font-size: 20px;
  font-weight: 900;
}

.ticket-meta-row,
.ticket-action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-flyai-results {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.ticket-flyai-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(8, 32, 28, 0.08);
  border-radius: 16px;
  background: #fff;
}

.ticket-flyai-card.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.ticket-flyai-card > img {
  width: 92px;
  height: 112px;
  border-radius: 12px;
  object-fit: cover;
  background: #e9f3f1;
}

.ticket-flyai-card h3,
.ticket-flyai-card p {
  margin: 0 0 7px;
}

.ticket-flyai-card p,
.ticket-provider-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ticket-flyai-card .ticket-confirmation-note,
.hotel-confirmation-note {
  margin: 0 0 9px;
  color: #49625d;
  font-size: 11px;
  line-height: 1.45;
}

.ticket-flyai-card .primary-button {
  min-height: 44px;
}

.hotel-price-row .primary-button {
  min-width: 44px;
  min-height: 44px;
}

.ticket-flyai-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
}

.ticket-flyai-meta strong {
  color: #d84f2d;
  font-size: 15px;
}

.ticket-provider-note {
  margin: 12px 2px 0;
}

.ticket-meta-row span,
.ticket-online-card small,
.ticket-detail-panel small {
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #08201c;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 850;
}

.ticket-filter-row {
  margin-top: 10px;
  border-radius: 18px;
}

.ticket-online-card h3,
.ticket-detail-panel h3 {
  margin: 0;
  font-size: 20px;
}

.ticket-online-card ul,
.ticket-detail-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket-online-card li,
.ticket-detail-panel li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  background: #f7fbfa;
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.ticket-action-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
}

.ticket-checkout-note {
  border-radius: 16px;
  background: rgba(216, 180, 106, 0.12);
  padding: 12px;
}

@media (max-width: 390px) {
  .ticket-city-button strong {
    font-size: 20px;
  }

  .ticket-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.food-zone {
  padding: 16px;
}

.food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.food-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(69, 192, 165, 0.28);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #bdf8df;
  font-size: 11px;
  font-weight: 850;
}

.food-menu,
.food-products {
  display: grid;
  gap: 10px;
}

.food-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.food-menu-card,
.food-phrase-card,
.food-product-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.food-phrase-card {
  grid-column: 1 / -1;
}

.food-menu-card span,
.food-phrase-card span,
.food-product-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.food-menu-card strong,
.food-phrase-card strong,
.food-product-card strong {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.35;
}

.food-menu-card p,
.food-product-card p,
.food-empty,
.food-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.food-menu-card small,
.food-product-card small {
  display: block;
  margin-top: 8px;
  color: #bdf8df;
  font-size: 16px;
  font-weight: 900;
}

.food-phrase-card .secondary-button {
  width: 100%;
  min-height: 38px;
}

.food-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.food-product-card .secondary-button {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 12px;
}

.attraction-visit {
  padding: 16px;
}

.visit-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.visit-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.visit-chip.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.visit-panel {
  display: grid;
  gap: 10px;
}

.visit-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.visit-card.main {
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.16), rgba(216, 180, 106, 0.1)),
    rgba(255, 255, 255, 0.07);
}

.visit-card span,
.visit-metrics span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.visit-card strong {
  display: block;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.visit-card p,
.visit-status {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.visit-card .primary-button,
.visit-card .secondary-button {
  min-height: 40px;
}

.visit-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.visit-metrics div {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.visit-metrics strong {
  display: block;
  margin-top: 5px;
  color: #bdf8df;
  font-size: 16px;
}

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

.shopping-tax {
  padding: 16px;
}

.tax-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.tax-flow article,
.tax-product-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.tax-flow span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(216, 180, 106, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.tax-flow strong,
.tax-product-card strong {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.35;
}

.tax-flow p,
.tax-product-card p,
.tax-empty,
.tax-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.tax-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.tax-actions .secondary-button {
  min-height: 42px;
  padding: 0 8px;
  font-size: 12px;
}

.tax-products {
  display: grid;
  gap: 10px;
}

.tax-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.tax-product-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.tax-product-card small {
  display: block;
  color: #bdf8df;
  font-size: 18px;
  font-weight: 900;
}

.tax-product-card .secondary-button {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 12px;
}

.culture-guide {
  padding: 16px;
}

.culture-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.culture-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.culture-tab.active {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.14);
  color: var(--text);
}

.culture-panel,
.culture-card-list {
  display: grid;
  gap: 10px;
}

.culture-summary,
.culture-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.culture-summary span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.culture-summary p,
.culture-card p,
.culture-status {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.culture-card strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.service-actions button,
.city-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 780;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.nearby-item,
.journey-card,
.architecture-card,
.prd-card,
.flow-step,
.mvp-card,
.mvp-row,
.compact-row,
.scenic-card,
.growth-card,
.route-item,
.module-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.editable-route-item {
  grid-template-columns: 74px minmax(0, 1fr) 38px;
  align-items: start;
}

.route-edit-fields {
  display: grid;
  gap: 8px;
}

.route-time-input,
.route-edit-fields input,
.route-edit-fields textarea,
.trip-editor-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 9px 10px;
  font: inherit;
  font-size: 12px;
}

.route-edit-fields textarea {
  resize: vertical;
}

.route-delete-button {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 116, 116, 0.35);
}

.trip-editor-form {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
}

.trip-editor-form input:nth-of-type(3),
.trip-editor-form button {
  grid-column: 1 / -1;
}

.mvp-console {
  border-color: rgba(69, 192, 165, 0.34);
  background:
    linear-gradient(180deg, rgba(69, 192, 165, 0.1), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.ops-console {
  border-color: rgba(216, 180, 106, 0.34);
  background:
    linear-gradient(180deg, rgba(216, 180, 106, 0.1), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.api-console {
  border-color: rgba(113, 216, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(113, 216, 255, 0.09), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.health-check {
  border-color: rgba(69, 192, 165, 0.34);
  background:
    linear-gradient(180deg, rgba(69, 192, 165, 0.1), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.live-map-panel {
  border-color: rgba(69, 192, 165, 0.34);
  background:
    linear-gradient(180deg, rgba(69, 192, 165, 0.11), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.map-actions {
  display: grid;
  gap: 8px;
}

.live-map-wrap {
  position: relative;
}

.live-map {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border: 1px solid rgba(69, 192, 165, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.2));
}

.map-engine-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.74);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.map-place-card {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 5;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 128px);
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(7, 19, 19, 0.74);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.map-place-card strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-place-card span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-engine-corner select {
  width: 58px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.map-category-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.map-category-strip::-webkit-scrollbar {
  display: none;
}

.map-category-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.map-category-chip:disabled,
.map-category-chip[aria-disabled="true"],
#mapPoiSearchButton:disabled,
.home-gateway-search button:disabled,
.destination-search-form button:disabled,
.map-destination-search button:disabled,
#goRouteForm button[type="submit"]:disabled,
#goOriginSearchForm button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  filter: grayscale(0.25);
  box-shadow: none !important;
}

.map-category-chip.active {
  border-color: rgba(216, 180, 106, 0.58);
  background: rgba(216, 180, 106, 0.16);
  color: var(--text);
}

.map-category-chip.is-loading {
  border-color: rgba(69, 192, 165, 0.5);
  background: rgba(69, 192, 165, 0.12);
  color: var(--text);
}

.live-map::before {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  pointer-events: none;
}

.live-map > * {
  position: relative;
  z-index: 1;
}

.live-map.map-loaded::before {
  content: "";
}

.map-load-state {
  position: absolute;
  z-index: 5;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, calc(100% - 40px));
  box-sizing: border-box;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.map-load-state[hidden], .map-load-state button[hidden] { display: none !important; }
#mapResults:empty { display: none !important; }
.map-load-state p { margin: 12px 0 0; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.map-load-state button, .weekly-weather-status-action {
  margin-top: 14px;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 22px;
  background: var(--brand-solid, #45c0a5);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.map-load-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #e8eeee;
  border-top-color: var(--brand-solid, #45c0a5);
  border-radius: 50%;
  animation: map-load-turn .9s linear infinite;
}
.map-load-state[data-state="error"] .map-load-spinner { display: none; }
@keyframes map-load-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .map-load-spinner { animation: none; } }

.fallback-map {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 45% 42%, rgba(69, 192, 165, 0.28), transparent 24%),
    linear-gradient(135deg, #12383a, #0b2026 54%, #101a24);
  background-size:
    34px 34px,
    34px 34px,
    100% 100%,
    100% 100%;
}

.fallback-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.fallback-map-grid span {
  position: absolute;
  border-radius: 999px;
  background: rgba(216, 180, 106, 0.42);
}

.fallback-map-grid span:nth-child(1) {
  left: -8%;
  top: 40%;
  width: 118%;
  height: 5px;
  transform: rotate(-12deg);
}

.fallback-map-grid span:nth-child(2) {
  left: 10%;
  top: 68%;
  width: 96%;
  height: 4px;
  transform: rotate(18deg);
}

.fallback-map-grid span:nth-child(3) {
  left: 28%;
  top: -8%;
  width: 4px;
  height: 116%;
  transform: rotate(14deg);
}

.fallback-map-grid span:nth-child(4) {
  left: 62%;
  top: -10%;
  width: 5px;
  height: 120%;
  transform: rotate(-9deg);
}

.fallback-route {
  position: absolute;
  left: 45%;
  top: 42%;
  width: 92px;
  height: 86px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 28px 0 0;
  transform: rotate(-18deg);
  opacity: 0.88;
}

.fallback-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 1px;
  min-width: 58px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(7, 19, 19, 0.78);
  color: var(--text);
  text-align: left;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.fallback-pin strong {
  font-size: 12px;
}

.fallback-pin small {
  color: var(--muted);
  font-size: 10px;
}

.fallback-pin.primary-pin {
  border-color: rgba(216, 180, 106, 0.55);
  background: rgba(216, 180, 106, 0.18);
}

.fallback-poi-marker {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 132px;
  min-height: 30px;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(24, 168, 137, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #142220;
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.16);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.map-floating-poi-marker {
  position: absolute;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 128px;
  min-height: 30px;
  padding: 4px 8px 4px 4px;
  border: 1px solid rgba(24, 168, 137, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #142220;
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.16);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.map-floating-poi-marker span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.map-floating-poi-marker strong {
  overflow: hidden;
  max-width: 88px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amap-marker-label {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.map-native-poi-label {
  display: block;
  max-width: 132px;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid rgba(24, 168, 137, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #142220;
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.16);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fallback-poi-marker span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.fallback-poi-marker strong {
  overflow: hidden;
  max-width: 92px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fallback-selected-marker {
  position: absolute;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 5px;
  max-width: 132px;
  color: #172522;
  text-align: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.fallback-selected-marker span {
  width: 26px;
  height: 26px;
  border: 4px solid #ffffff;
  border-radius: 999px 999px 999px 4px;
  background: #ff4d3d;
  box-shadow: 0 10px 24px rgba(255, 77, 61, 0.28);
  transform: rotate(-45deg);
}

.fallback-selected-marker strong {
  max-width: 132px;
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.16);
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-visible-selected-pin {
  position: absolute;
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 5px;
  max-width: 132px;
  color: #172522;
  text-align: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.live-map > .map-visible-selected-pin,
.live-map > .fallback-selected-marker,
.live-map > .fallback-poi-marker,
.live-map > .map-floating-poi-marker {
  position: absolute;
}

.live-map > .map-visible-selected-pin,
.live-map > .fallback-selected-marker {
  z-index: 12;
}

.live-map > .fallback-poi-marker,
.live-map > .map-floating-poi-marker {
  z-index: 9;
}

.map-visible-selected-pin span {
  width: 30px;
  height: 30px;
  border: 4px solid #ffffff;
  border-radius: 999px 999px 999px 4px;
  background: #ff4d3d;
  box-shadow: 0 12px 26px rgba(255, 77, 61, 0.32);
  transform: rotate(-45deg);
}

.map-visible-selected-pin strong {
  max-width: 132px;
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(20, 36, 52, 0.16);
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fallback-map-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(7, 19, 19, 0.78);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.fallback-map-label span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.map-actions {
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  margin-top: 12px;
}

.map-toolbox {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(108px, 0.8fr);
  gap: 10px;
  margin-top: 12px;
}

.map-tool-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.map-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
}

.map-select {
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 780;
}

.map-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hero-map-panel .map-results {
  max-height: 176px;
  overflow: auto;
  padding-right: 2px;
}

.map-result-item {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.065);
}

.map-result-item strong {
  font-size: 13px;
}

.map-result-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.map-result-item small {
  display: block;
  color: rgba(21, 33, 47, 0.62);
  font-size: 11px;
  line-height: 1.35;
}

.map-result-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.map-result-actions button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.12);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.map-place-sheet {
  display: grid;
  gap: 11px;
  max-height: min(48vh, 430px);
  padding: 14px 14px calc(env(safe-area-inset-bottom) + 12px);
  overflow: auto;
  border-radius: 24px;
  background: #ffffff;
  color: #142220;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.map-place-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: start;
}

.map-place-sheet-head strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.18;
}

.map-place-sheet-head span,
.map-place-sheet-head small {
  display: block;
  color: rgba(20, 34, 32, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.map-place-sheet-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.04);
  color: #142220;
  font-size: 21px;
  line-height: 1;
}

.map-place-actions {
  display: grid;
  gap: 6px;
}

.map-place-actions-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-place-actions-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-place-actions-secondary[hidden] {
  display: none !important;
}

.map-place-actions button,
.map-nearby-panel button,
.map-place-section-title button {
  min-height: 32px;
  border: 1px solid rgba(69, 192, 165, 0.18);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #12302b;
  font-size: 11px;
  font-weight: 850;
}

.map-place-actions-primary button:nth-child(-n + 3) {
  min-height: 38px;
  border-color: rgba(69, 192, 165, 0.34);
  background: rgba(69, 192, 165, 0.18);
  font-size: 12px;
}

.map-place-actions-secondary button {
  min-height: 30px;
  background: rgba(20, 36, 52, 0.045);
  color: rgba(20, 34, 32, 0.76);
}

.map-nearby-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(20, 36, 52, 0.045);
}

.map-nearby-panel[hidden] {
  display: none !important;
}

.map-nearby-panel > strong {
  font-size: 13px;
}

.map-nearby-panel > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.map-nearby-panel > div::-webkit-scrollbar {
  display: none;
}

.map-nearby-panel button {
  flex: 0 0 auto;
  padding: 0 13px;
  background: #ffffff;
}

.map-favorites-panel {
  display: grid;
  gap: 12px;
}

.map-favorites-list {
  display: grid;
  gap: 10px;
}

.map-favorite-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(7, 19, 19, 0.06);
}

.map-favorite-card strong,
.map-favorite-card span {
  display: block;
}

.map-favorite-card strong {
  color: #142220;
  font-size: 15px;
  line-height: 1.25;
}

.map-favorite-card span {
  margin-top: 4px;
  color: rgba(20, 34, 32, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.map-favorite-card > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.map-favorite-card button {
  min-height: 34px;
  border: 1px solid rgba(69, 192, 165, 0.18);
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #12302b;
  font-size: 12px;
  font-weight: 850;
}

.map-route-panel {
  position: relative;
  display: grid;
  gap: 7px;
  width: 100%;
  max-height: min(28vh, 230px);
  overflow: visible;
  padding: 9px 10px 10px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: #142220;
  box-shadow: 0 -14px 42px rgba(7, 19, 19, 0.16);
}

.map-route-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  gap: 7px;
  align-items: center;
}

.map-route-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.04);
  color: #142220;
  font-size: 22px;
  line-height: 1;
}

.map-route-points {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 15px;
  background: rgba(20, 36, 52, 0.045);
}

.map-route-point-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.map-route-point-row em {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.map-route-point-row em.start {
  background: #45c0a5;
}

.map-route-point-row em.end {
  background: #f04f5f;
}

.map-route-points strong,
.map-route-points span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-route-points strong {
  color: rgba(20, 34, 32, 0.76);
  font-size: 11px;
}

.map-route-points span {
  color: #142220;
  font-size: 13px;
  font-weight: 900;
}

.map-route-mode-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.map-route-mode-strip::-webkit-scrollbar {
  display: none;
}

.map-route-mode-strip button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: rgba(20, 34, 32, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.map-route-mode-strip button.active {
  border-color: rgba(47, 128, 237, 0.26);
  background: rgba(47, 128, 237, 0.12);
  color: #2257a8;
}

.map-route-body {
  display: grid;
  gap: 7px;
}

.map-route-option-list {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  display: flex;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  z-index: 2;
}

.map-route-option-list::-webkit-scrollbar {
  display: none;
}

.map-route-option-card,
.map-route-booking,
.map-route-empty {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.map-route-option-card {
  flex: 0 0 min(42vw, 184px);
  min-height: 74px;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 10px 28px rgba(7, 19, 19, 0.12);
}

.map-route-option-card.active {
  border-color: rgba(47, 128, 237, 0.28);
  background: rgba(47, 128, 237, 0.055);
  box-shadow: 0 10px 28px rgba(47, 128, 237, 0.1);
}

.map-route-option-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.map-route-option-card strong,
.map-route-booking strong,
.map-route-empty strong {
  font-size: 17px;
  line-height: 1.2;
}

.map-route-option-card span,
.map-route-option-card p,
.map-route-option-card small,
.map-route-booking p,
.map-route-empty p {
  margin: 0;
  color: rgba(20, 34, 32, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.map-route-option-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-route-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-route-steps li {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 3px solid rgba(69, 192, 165, 0.28);
}

.map-route-steps span {
  color: #142220;
  font-size: 12px;
  line-height: 1.4;
}

.map-route-steps small {
  color: rgba(20, 34, 32, 0.5);
  font-size: 11px;
}

.map-route-booking button {
  min-height: 40px;
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.08);
  color: #2257a8;
  font-size: 14px;
  font-weight: 900;
}

.map-route-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.72fr)) minmax(0, 1.15fr);
  gap: 7px;
}

.map-route-action-row button {
  min-height: 38px;
  min-width: 0;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 13px;
  font-weight: 900;
}

.map-route-point-label {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(7, 19, 19, 0.22);
}

.map-route-point-label-end {
  background: #f04f5f;
}

.map-route-action-row button.primary {
  border: 0;
  background: #45c0a5;
  color: #ffffff;
}

.map-route-detail {
  display: grid;
  gap: 9px;
  max-height: min(40vh, 360px);
  overflow: auto;
}

.map-route-detail > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.map-route-detail strong {
  color: #142220;
  font-size: 20px;
  font-weight: 950;
}

.map-route-detail span {
  color: rgba(20, 34, 32, 0.62);
  font-size: 12px;
  font-weight: 780;
}

.map-route-detail > button {
  min-height: 40px;
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.08);
  color: #2257a8;
  font-size: 14px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-panel {
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-head {
  position: fixed;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  left: max(12px, calc((100vw - 460px) / 2 + 12px));
  right: max(12px, calc((100vw - 460px) / 2 + 12px));
  z-index: 35;
  grid-template-columns: 30px minmax(0, 1fr) 72px;
  padding: 8px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(7, 19, 19, 0.16);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points {
  position: relative;
  gap: 9px;
  padding: 8px 10px 8px 8px;
  background: rgba(20, 36, 52, 0.045);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points > i {
  position: absolute;
  left: 23px;
  top: 33px;
  bottom: 33px;
  border-left: 2px dotted rgba(20, 34, 32, 0.22);
}

/* v738: OTA hotel occupancy, precise-location and room-first detail flow. */
.hotel-field-occupancy {
  grid-area: rooms;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  min-height: 58px;
  padding: 9px 38px 9px 11px;
  border: 1px solid rgba(219, 228, 229, .95);
  border-radius: 16px;
  background: #f7f8f8;
  color: var(--text);
  text-align: left;
}
.hotel-field-occupancy span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 850; }
.hotel-field-occupancy strong { font-size: 14px; }
.hotel-field-occupancy em { position: absolute; right: 14px; top: 50%; color: #08201c; font-size: 22px; font-style: normal; transform: translateY(-50%); }
.hotel-guest-row { grid-template-columns: 1fr; }
.hotel-guest-row .primary-button { width: 100%; }

.hotel-occupancy-sheet {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  align-items: end;
  max-width: 460px;
  margin: auto;
}
.hotel-occupancy-sheet.hidden { display: none; }
.hotel-occupancy-sheet .hotel-sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 25, 22, .42); }
.hotel-occupancy-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-height: 84dvh;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -18px 42px rgba(8, 32, 28, .18);
}
.hotel-occupancy-panel header { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 44px; text-align: center; }
.hotel-occupancy-panel header button { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #f1f7f5; color: #21423a; font-size: 22px; }
.hotel-occupancy-content { display: grid; }
.hotel-occupancy-row { display: flex; justify-content: space-between; align-items: center; min-height: 72px; border-bottom: 1px solid rgba(8, 32, 28, .08); }
.hotel-occupancy-row > div:first-child { display: grid; gap: 4px; }
.hotel-occupancy-row small, .hotel-child-ages span { color: var(--muted); font-size: 11px; }
.hotel-stepper { display: grid; grid-template-columns: 36px 34px 36px; align-items: center; text-align: center; }
.hotel-stepper button { width: 34px; height: 34px; padding: 0; border: 1px solid rgba(8, 122, 104, .28); border-radius: 50%; background: #fff; color: #08201c; font-size: 19px; }
.hotel-stepper button:disabled { border-color: #e3e9e7; color: #bdc8c5; }
.hotel-child-ages { display: grid; gap: 10px; padding: 14px 0; }
.hotel-child-ages > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hotel-child-ages label { display: grid; gap: 5px; }
.hotel-child-ages select { min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #f7faf9; }

.hotel-distance-row { display: flex; justify-content: space-between; align-items: center; min-height: 24px; color: #58706a; font-size: 11px; }
.hotel-distance-row button { padding: 4px 8px; border: 0; border-radius: 999px; background: rgba(69, 192, 165, .12); color: #08201c; font-size: 11px; font-weight: 850; }

.hotel-room-card { overflow: hidden; border-top: 1px solid rgba(8,32,28,.08); }
.hotel-room-summary { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 12px 0; border: 0; background: transparent; color: inherit; text-align: left; }
.hotel-room-summary > img { width: 76px; height: 78px; border-radius: 12px; object-fit: cover; background: #eef7f4; }
.hotel-room-summary > span { display: grid; gap: 5px; min-width: 0; }
.hotel-room-summary > span strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.hotel-room-summary small { color: var(--muted); font-size: 10px; }
.hotel-room-summary > em { display: grid; justify-items: end; gap: 2px; color: #08201c; font-style: normal; }
.hotel-room-summary > em strong { white-space: nowrap; font-size: 14px; }
.hotel-room-summary > em b { font-size: 17px; transition: transform .18s ease; }
.hotel-room-card.expanded .hotel-room-summary > em b { transform: rotate(180deg); }
.hotel-rate-plans { display: grid; gap: 8px; padding: 0 0 12px 86px; }
.hotel-rate-plan { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 11px; border: 1px solid rgba(8,32,28,.08); border-radius: 13px; background: #f7faf9; }
.hotel-rate-plan > div, .hotel-rate-plan > span { display: grid; gap: 3px; }
.hotel-rate-plan > div small, .hotel-rate-plan > span small { color: var(--muted); font-size: 10px; }
.hotel-rate-plan > span { justify-items: end; }
.hotel-rate-plan > span strong { color: #08201c; white-space: nowrap; }
.hotel-rate-plan button { min-height: 30px; padding: 0 10px; border: 1px solid rgba(8,122,104,.26); border-radius: 999px; background: #fff; color: #08201c; font-size: 10px; font-weight: 850; }
.hotel-rate-plan.selected { border-color: rgba(69,192,165,.45); background: rgba(69,192,165,.1); }
.hotel-rate-plan.selected button { border-color: transparent; background: #45c0a5; color: #fff; }
.hotel-location-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; padding: 15px; border: 1px solid rgba(8,32,28,.08); border-radius: 20px; background: #fff; color: inherit; text-align: left; box-shadow: 0 10px 26px rgba(12,24,36,.055); }
.hotel-location-card span { display: grid; gap: 5px; min-width: 0; }
.hotel-location-card small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.hotel-location-card em { flex: 0 0 auto; color: #08201c; font-size: 11px; font-style: normal; font-weight: 850; }

@media (max-width: 390px) {
  .hotel-room-summary { grid-template-columns: 66px minmax(0,1fr) auto; }
  .hotel-room-summary > img { width: 66px; height: 72px; }
  .hotel-rate-plans { padding-left: 0; }
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row {
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 30px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row:active {
  background: rgba(7, 19, 19, 0.04);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em {
  width: 46px;
  height: 22px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points strong,
body[data-active-page="explore"][data-route-planning="true"] .map-route-points span {
  font-size: 13px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-head-actions {
  display: grid;
  grid-template-columns: repeat(2, 32px);
  gap: 6px;
  align-items: center;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-head-actions button,
body[data-active-page="explore"][data-route-planning="true"] .map-route-swap-button {
  width: 32px;
  height: 32px;
  border-color: rgba(7, 19, 19, 0.08);
  background: rgba(20, 36, 52, 0.045);
  font-size: 18px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-body {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -12px 36px rgba(7, 19, 19, 0.14);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  padding: 0;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 6px;
  border-color: rgba(7, 19, 19, 0.1);
  background: #ffffff;
  color: rgba(20, 34, 32, 0.78);
  box-shadow: 0 5px 14px rgba(7, 19, 19, 0.07);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip button.active {
  border-color: rgba(24, 168, 137, 0.42);
  background: #eafff8;
  color: #127862;
  box-shadow: 0 8px 18px rgba(24, 168, 137, 0.14);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-list {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 2px 2px 4px;
  overflow: visible;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-card {
  min-height: 68px;
  padding: 9px 11px;
  border-color: rgba(7, 19, 19, 0.1);
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(7, 19, 19, 0.1);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-list.one {
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-list.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-list.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-card-main strong {
  font-size: 17px;
  line-height: 1.15;
  color: #142220;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-card-main span {
  font-size: 12px;
  font-weight: 850;
  color: rgba(20, 34, 32, 0.58);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-card p {
  font-size: 11px;
  font-weight: 780;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-option-card.active {
  border-color: rgba(24, 168, 137, 0.42);
  background: #f3fffb;
  box-shadow: 0 10px 24px rgba(24, 168, 137, 0.14);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-page,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker {
  position: fixed;
  left: max(12px, calc((100vw - 460px) / 2 + 12px));
  right: max(12px, calc((100vw - 460px) / 2 + 12px));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 19, 19, 0.18);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-page {
  top: auto;
  height: min(34vh, 310px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker {
  top: max(102px, calc(env(safe-area-inset-top) + 98px));
  grid-template-rows: auto auto 1fr;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-head,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head {
  grid-template-columns: minmax(0, 1fr) 64px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-head button,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head button {
  min-height: 38px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 16px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-head strong {
  display: block;
  color: #142220;
  font-size: 22px;
  font-weight: 950;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-head span {
  color: rgba(20, 34, 32, 0.58);
  font-size: 12px;
  font-weight: 800;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-actions button {
  min-height: 44px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 15px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-detail-actions button.primary {
  border: 0;
  background: #45c0a5;
  color: #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker {
  grid-template-rows: auto auto 1fr;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head strong {
  color: #142220;
  font-size: 18px;
  font-weight: 950;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search input,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search button {
  min-height: 42px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 14px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 14px;
  font-weight: 850;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search input {
  padding: 0 12px;
  background: #f7faf9;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list button {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 16px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(7, 19, 19, 0.06);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list span {
  color: rgba(20, 34, 32, 0.55);
  font-size: 12px;
  font-weight: 800;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list strong {
  color: #142220;
  font-size: 15px;
  font-weight: 950;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list small {
  color: rgba(20, 34, 32, 0.52);
  font-size: 12px;
  font-weight: 760;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation {
  display: grid;
  gap: 10px;
}

body[data-active-page="explore"][data-navigation-active="true"] .map-route-head,
body[data-active-page="explore"][data-navigation-active="true"] .map-route-mode-strip {
  display: none !important;
}

body[data-active-page="explore"][data-navigation-active="true"] #mapPanel .map-results[data-sheet="route"] {
  bottom: max(14px, env(safe-area-inset-bottom));
}

body[data-active-page="explore"][data-navigation-active="true"] .map-route-body {
  padding: 12px;
  border-radius: 24px;
  box-shadow: 0 -14px 38px rgba(7, 19, 19, 0.18);
}

.map-navigation-instruction-banner {
  position: fixed;
  top: max(14px, calc(env(safe-area-inset-top) + 10px));
  left: max(14px, calc((100vw - 460px) / 2 + 14px));
  right: max(14px, calc((100vw - 460px) / 2 + 14px));
  z-index: 38;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #142220;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 19, 19, 0.3);
}

.map-navigation-instruction-banner span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #45c0a5;
  color: transparent;
  font-size: 0;
}

.map-navigation-instruction-banner span::after {
  content: "➜";
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
}

.map-navigation-instruction-banner strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 900;
}

.map-navigation-instruction-banner small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 750;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-head span {
  color: #127862;
  font-size: 12px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-head strong {
  min-width: 0;
  color: #142220;
  font-size: 18px;
  font-weight: 950;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-head small {
  color: rgba(20, 34, 32, 0.55);
  font-size: 12px;
  font-weight: 800;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-next {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f3fffb;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-next span {
  color: rgba(20, 34, 32, 0.56);
  font-size: 12px;
  font-weight: 800;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-next strong {
  color: #142220;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-actions button {
  min-height: 40px;
  min-width: 0;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 13px;
  font-weight: 900;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-navigation-actions button.danger {
  border-color: rgba(240, 79, 95, 0.2);
  background: rgba(240, 79, 95, 0.08);
  color: #b83442;
}

.map-navigation-exit-confirm {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
  padding: 18px max(16px, calc((100vw - 460px) / 2 + 16px)) max(20px, env(safe-area-inset-bottom));
  background: rgba(7, 19, 19, 0.46);
  backdrop-filter: blur(5px);
}

.map-navigation-exit-dialog {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px 18px 18px;
  border-radius: 24px;
  background: #142220;
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.map-navigation-exit-dialog > strong { font-size: 22px; font-weight: 900; }
.map-navigation-exit-dialog > span { color: rgba(255, 255, 255, 0.68); font-size: 14px; font-weight: 700; }
.map-navigation-exit-dialog > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.map-navigation-exit-dialog > div button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
}
.map-navigation-exit-dialog > div button.primary { border-color: #45c0a5; background: #45c0a5; }
.map-navigation-exit-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 24px;
  line-height: 1;
}

.map-place-section {
  display: grid;
  gap: 10px;
}

.map-place-tabs {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 3px;
  padding: 11px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 18px;
  background: rgba(20, 36, 52, 0.035);
}

.map-place-tabs[hidden] {
  display: none !important;
}

.map-place-tab-buttons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.map-place-tab-buttons::-webkit-scrollbar {
  display: none;
}

.map-place-tab-buttons button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: rgba(20, 34, 32, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.map-place-tab-buttons button.active {
  border-color: rgba(69, 192, 165, 0.38);
  background: rgba(69, 192, 165, 0.15);
  color: #12302b;
}

.map-place-tab-panel {
  display: none;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.map-place-tab-panel.active {
  display: grid;
}

.map-place-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.map-place-section-title strong {
  font-size: 16px;
}

.map-place-section-title button {
  min-height: 30px;
  padding: 0 12px;
  background: rgba(47, 128, 237, 0.08);
  color: #2257a8;
}

.map-place-photo-grid {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.map-place-photo-grid::-webkit-scrollbar {
  display: none;
}

.map-place-photo-grid button {
  flex: 0 0 32%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: rgba(20, 36, 52, 0.06);
  aspect-ratio: 1.18;
}

.map-place-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-place-review-empty {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 14px;
  background: rgba(20, 36, 52, 0.045);
}

.map-place-review-empty strong {
  color: #142220;
  font-size: 13px;
  line-height: 1.35;
}

.map-place-review-empty p {
  margin: 0;
  color: rgba(20, 34, 32, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.map-place-review-empty button {
  justify-self: start;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.08);
  color: #2257a8;
  font-size: 12px;
  font-weight: 850;
}

.map-place-empty,
.map-place-loading {
  margin: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(20, 36, 52, 0.045);
  color: rgba(20, 34, 32, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.map-place-loading {
  text-align: center;
}

.map-comment-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  max-height: min(24vh, 220px);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.map-comment-list article {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(20, 36, 52, 0.045);
}

.map-comment-list article strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.map-comment-list article strong span {
  color: #2257a8;
}

.map-comment-list article p,
.map-comment-list article small {
  margin: 0;
  color: rgba(20, 34, 32, 0.72);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.map-comment-list article small {
  color: rgba(20, 34, 32, 0.48);
  font-size: 11px;
}

.map-comment-photo-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.map-comment-photo-row::-webkit-scrollbar {
  display: none;
}

.map-comment-photo-row img {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(20, 36, 52, 0.06);
}

.map-album-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
  background: rgba(5, 12, 16, 0.52);
  backdrop-filter: blur(10px);
  touch-action: manipulation;
}

.map-review-composer {
  position: fixed;
  inset: 0;
  z-index: 124;
  display: grid;
  align-items: end;
  background: rgba(5, 12, 16, 0.48);
  backdrop-filter: blur(10px);
}

.map-review-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 440px);
  max-height: min(86vh, 720px);
  margin: 0 auto;
  overflow-y: auto;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  color: #142220;
  box-shadow: 0 -18px 48px rgba(7, 19, 19, 0.18);
}

.map-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: start;
}

.map-review-head span,
.map-review-field > span {
  color: rgba(20, 34, 32, 0.58);
  font-size: 12px;
  font-weight: 850;
}

.map-review-head strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.22;
}

.map-review-head small {
  display: block;
  margin-top: 4px;
  color: rgba(20, 34, 32, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.map-review-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.04);
  color: #142220;
  font-size: 22px;
  line-height: 1;
}

.map-review-field {
  display: grid;
  gap: 8px;
}

.map-review-field select,
.map-review-field textarea {
  width: 100%;
  border: 1px solid rgba(7, 19, 19, 0.1);
  border-radius: 16px;
  background: rgba(20, 36, 52, 0.035);
  color: #142220;
  font-size: 14px;
}

.map-review-field select {
  min-height: 44px;
  padding: 0 13px;
  font-weight: 850;
}

.map-review-field textarea {
  min-height: 160px;
  padding: 13px;
  line-height: 1.55;
  resize: vertical;
}

.map-review-upload {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px dashed rgba(69, 192, 165, 0.36);
  border-radius: 16px;
  background: rgba(69, 192, 165, 0.08);
  color: #12302b;
  font-size: 14px;
  font-weight: 850;
}

.map-review-upload input {
  display: none;
}

.map-review-preview {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.map-review-preview::-webkit-scrollbar {
  display: none;
}

.map-review-preview img {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(20, 36, 52, 0.06);
}

.map-review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-review-actions button {
  min-height: 44px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(20, 36, 52, 0.045);
  color: #142220;
  font-size: 14px;
  font-weight: 850;
}

.map-review-actions button[type="submit"] {
  border-color: rgba(69, 192, 165, 0.35);
  background: #45c0a5;
  color: #ffffff;
}

.map-album-panel {
  width: min(100vw, 460px);
  max-height: 86vh;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  color: #142220;
}

.map-album-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 4px 10px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid rgba(7, 19, 19, 0.08);
}

.map-album-head strong,
.map-album-head span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-album-head span {
  color: rgba(20, 34, 32, 0.62);
  font-size: 12px;
}

.map-album-head button {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.04);
  color: #142220;
  font-size: 21px;
  line-height: 1;
}

.map-album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: calc(86vh - 76px);
  overflow: auto;
  padding: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.map-album-grid button {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: rgba(20, 36, 52, 0.06);
  touch-action: manipulation;
}

.map-album-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.map-album-grid button.active {
  outline: 3px solid rgba(69, 192, 165, 0.72);
  outline-offset: 2px;
}

.map-album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(5, 12, 16, 0.96);
  color: #ffffff;
  touch-action: pan-y;
}

.map-album-lightbox[hidden] { display: none !important; }

.map-album-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-left: 8px;
}

.map-album-lightbox-head span { font-size: 14px; font-weight: 850; }

.map-album-lightbox-head button,
.map-album-lightbox-stage > button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  touch-action: manipulation;
}

.map-album-lightbox-stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  align-items: center;
}

.map-album-lightbox-stage img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.travel-brief {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(216, 180, 106, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.14), rgba(69, 192, 165, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.travel-brief div {
  display: grid;
  gap: 2px;
}

.travel-brief span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.travel-brief strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.travel-brief p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.map-location-status,
.map-status {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.map-status {
  margin: 10px 0 0;
}

.map-status[data-tone="success"] {
  color: #bdf8df;
}

.map-status[data-tone="error"] {
  color: #ffb4aa;
}

.mvp-status,
.ops-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mvp-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.mvp-tab {
  min-height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.mvp-tab.active {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.16);
  color: var(--text);
}

.mvp-card h3,
.mvp-row h3 {
  margin: 0;
}

.mvp-card p,
.mvp-row p,
.mvp-itinerary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mvp-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.mvp-actions button,
.mvp-row button,
.ops-actions button {
  min-height: 38px;
  border: 1px solid rgba(69, 192, 165, 0.34);
  border-radius: 12px;
  background: rgba(69, 192, 165, 0.12);
  color: var(--text);
  font-weight: 850;
}

.mvp-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mvp-row.selected {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.1);
}

.ops-helper {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.ops-actions {
  display: grid;
  gap: 6px;
}

.ops-actions button {
  min-width: 76px;
  min-height: 32px;
  border-color: rgba(216, 180, 106, 0.34);
  background: rgba(216, 180, 106, 0.12);
  font-size: 12px;
}

.admin-login-card,
.ops-toolbar,
.ops-editor,
.ops-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #10201d;
  box-shadow: 0 10px 26px rgba(13, 43, 36, 0.08);
}

.admin-login-card h3,
.admin-login-card p,
.ops-toolbar strong,
.ops-toolbar span,
.ops-row p {
  margin: 0;
}

.admin-login-card span,
.admin-login-card small,
.ops-toolbar span,
.ops-row p,
.ops-editor label span {
  color: #5c6d68;
  font-size: 12px;
  line-height: 1.45;
}

.admin-login-card label,
.ops-editor label {
  display: grid;
  gap: 6px;
}

.admin-login-card input,
.ops-editor input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(69, 192, 165, 0.24);
  border-radius: 12px;
  background: #fff;
  color: #10201d;
  font: inherit;
}

.ops-toolbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  margin-bottom: 12px;
}

.ops-editor {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.ops-editor[hidden] {
  display: none;
}

.ops-editor-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
}

.ops-table {
  display: grid;
  gap: 8px;
}

.ops-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ops-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ops-row-main > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(69, 192, 165, 0.14);
  color: #087564;
  font-size: 12px;
  font-weight: 900;
}

.ops-row-main strong {
  display: block;
  overflow: hidden;
  color: #10201d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-row .ops-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 360px;
}

.ops-row .ops-actions button {
  min-width: auto;
  min-height: 30px;
  padding: 0 9px;
  border-color: rgba(69, 192, 165, 0.2);
  background: rgba(69, 192, 165, 0.1);
  color: #10201d;
}

.admin-body {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(69, 192, 165, 0.16), transparent 30%),
    linear-gradient(135deg, #f7fbf9 0%, #edf7f3 48%, #f8fbff 100%);
}

.admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.admin-console {
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(22, 54, 47, 0.1);
}

.admin-login-mode {
  min-height: calc(100vh - 48px);
  display: grid;
  align-content: center;
}

.admin-login-mode .section-title {
  margin-bottom: 26px;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: stretch;
}

.admin-login-brand,
.admin-login-card {
  min-height: 420px;
  padding: 28px;
  border-radius: 22px;
}

.admin-login-brand {
  display: grid;
  align-content: end;
  gap: 18px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(5, 116, 98, 0.94), rgba(69, 192, 165, 0.82)),
    #0c6f61;
  color: #ffffff;
}

.admin-login-brand::before {
  content: "";
  position: absolute;
  inset: 22px 22px auto auto;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.admin-login-brand span,
.admin-login-card > span {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-login-brand h2,
.admin-login-card h3 {
  margin: 0;
  color: inherit;
  font-size: 30px;
  letter-spacing: 0;
}

.admin-login-brand p,
.admin-login-card p {
  margin: 0;
  max-width: 560px;
}

.admin-login-brand div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-login-brand strong {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.admin-login-card {
  align-content: center;
  margin: 0;
  border: 1px solid rgba(69, 192, 165, 0.14);
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(22, 54, 47, 0.1);
}

.admin-console .section-title {
  align-items: center;
}

.admin-console h1 {
  margin: 0;
  color: #10201d;
  font-size: 28px;
  letter-spacing: 0;
}

.admin-tabs {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.admin-reset {
  margin-top: 12px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .admin-body {
    padding: 14px;
  }

  .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-login-brand,
  .admin-login-card {
    min-height: auto;
  }

  .admin-login-brand h2,
  .admin-login-card h3 {
    font-size: 24px;
  }
}

.admin-back-link {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  padding: 0 14px;
  text-decoration: none;
}

.api-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.payment-tabs,
.transit-code-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.transit-code-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-tabs button,
.transit-code-grid button {
  min-height: 38px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(21, 33, 47, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.payment-tabs button.active,
.transit-code-grid button.active {
  border-color: rgba(69, 192, 165, 0.4);
  background: rgba(69, 192, 165, 0.94);
  color: #08201c;
}

.payment-live-panel {
  margin-bottom: 12px;
}

.payment-code-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(69, 192, 165, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(24, 168, 137, 0.08), rgba(47, 128, 237, 0.045)),
    #ffffff;
}

.payment-code-card span {
  color: var(--brand-solid);
  font-size: 12px;
  font-weight: 900;
}

.payment-code-card strong {
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.payment-code-card p {
  margin: 0;
  color: rgba(21, 33, 47, 0.6);
  font-size: 12px;
  line-height: 1.45;
}

.fake-qr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 112px;
  height: 112px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(25, 38, 52, 0.1);
}

.fake-qr i {
  border-radius: 8px;
  background:
    linear-gradient(90deg, #10201d 45%, transparent 45% 55%, #10201d 55%),
    linear-gradient(#10201d 45%, transparent 45% 55%, #10201d 55%);
}

.fake-qr.transit i {
  background:
    linear-gradient(90deg, #45c0a5 45%, transparent 45% 55%, #45c0a5 55%),
    linear-gradient(#45c0a5 45%, transparent 45% 55%, #45c0a5 55%);
}

.api-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.api-mode-button {
  min-height: 38px;
  border: 1px solid rgba(113, 216, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-weight: 850;
}

.api-mode-button.active {
  background: rgba(113, 216, 255, 0.14);
  color: var(--text);
  border-color: rgba(113, 216, 255, 0.48);
}

.api-call {
  min-height: 48px;
  padding: 8px;
  border: 1px solid rgba(113, 216, 255, 0.28);
  border-radius: 13px;
  background: rgba(113, 216, 255, 0.09);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-align: left;
}

.api-call span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-response {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  color: #d8fff5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.health-grid {
  display: grid;
  gap: 10px;
}

.health-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
}

.health-card[data-ok="false"] {
  border-color: rgba(255, 180, 106, 0.34);
  background: rgba(255, 180, 106, 0.08);
}

.health-card span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.14);
  color: #bdf8df;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.health-card[data-ok="false"] span {
  background: rgba(255, 180, 106, 0.14);
  color: #ffdcb7;
}

.health-card strong {
  font-size: 14px;
}

.health-card p,
.health-note,
.health-loading {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.health-note {
  margin-top: 10px;
}

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

.mvp-dl div {
  min-width: 0;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.mvp-dl dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.mvp-dl dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mvp-itinerary {
  display: grid;
  gap: 9px;
  margin: 12px 0;
}

.mvp-itinerary article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.mvp-itinerary span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.app-architecture,
.prd-grid,
.growth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.architecture-card {
  min-height: 134px;
}

.prd-card {
  min-height: 118px;
}

.architecture-card strong,
.prd-card h3,
.growth-card h3 {
  color: var(--gold);
}

.architecture-card h3,
.prd-card h3,
.growth-card h3,
.compact-row h3,
.scenic-card h3 {
  margin: 0;
  font-size: 16px;
}

.architecture-card p,
.prd-card p,
.flow-step p,
.growth-card p,
.compact-row p,
.scenic-card p {
  margin: 0;
  font-size: 13px;
}

.flow-list {
  gap: 14px;
}

.flow-chain {
  display: grid;
  gap: 10px;
}

.flow-step {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
}

.flow-step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(216, 180, 106, 0.16);
  color: var(--gold);
  font-size: 12px;
}

.flow-step h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.flow-branches {
  display: grid;
  gap: 10px;
}

.radius-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.radius-tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 850;
}

.radius-tab.active {
  border-color: rgba(69, 192, 165, 0.55);
  background: rgba(69, 192, 165, 0.2);
  color: var(--text);
}

.compact-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.compact-row span,
.scenic-head strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.scenic-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.scenic-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.scenic-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.scenic-card dd {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.journey-list {
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
}

.journey-card {
  gap: 12px;
}

.journey-stage {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.journey-columns {
  display: grid;
  gap: 10px;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 7px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.label.danger {
  background: rgba(255, 111, 97, 0.14);
  color: #ffb2a9;
}

.label.success {
  background: rgba(69, 192, 165, 0.16);
  color: #8be8d2;
}

.journey-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.inline-action {
  justify-self: start;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(216, 180, 106, 0.38);
  border-radius: 999px;
  background: rgba(216, 180, 106, 0.12);
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.camera-translation-panel,
.camera-upload-copy,
.camera-result-card,
.camera-empty,
.camera-history {
  display: grid;
  gap: 12px;
}

.camera-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.camera-mode-tab {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.camera-mode-tab.active {
  border-color: rgba(69, 192, 165, 0.48);
  background: rgba(69, 192, 165, 0.16);
  color: var(--text);
}

.camera-upload-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.camera-upload-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  overflow: hidden;
  border: 1px dashed rgba(216, 180, 106, 0.48);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.12), transparent),
    rgba(7, 19, 19, 0.42);
  color: var(--muted);
  text-align: center;
}

.camera-upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.camera-upload-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-upload-box span,
.camera-upload-box strong {
  pointer-events: none;
}

.camera-upload-box strong {
  color: var(--gold);
  font-size: 12px;
}

.camera-upload-copy p,
.camera-empty p,
.camera-advice p,
.camera-history p,
.camera-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.camera-result-card,
.camera-empty,
.camera-history {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.camera-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.camera-result-head span,
.camera-advice span,
.camera-phrase span,
.camera-history span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.camera-result-head strong {
  color: var(--muted);
  font-size: 11px;
}

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

.camera-translation-columns div,
.camera-advice,
.camera-phrase {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(7, 19, 19, 0.34);
}

.camera-translation-columns span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.camera-translation-columns p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.42;
}

.camera-phrase strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.camera-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.camera-actions .secondary-button {
  min-height: 40px;
  padding: 0 8px;
  font-size: 12px;
}

.nearby-item {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
}

.nearby-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(69, 192, 165, 0.17);
  color: var(--jade);
  font-weight: 900;
}

.nearby-item h3,
.route-item h3,
.module-card h3 {
  margin: 0;
  font-size: 16px;
}

.nearby-item p,
.route-item p,
.module-card p {
  margin: 0;
  font-size: 13px;
}

.distance {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.route-starter {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(216, 180, 106, 0.16), rgba(69, 192, 165, 0.09)),
    rgba(255, 255, 255, 0.055);
}

.route-starter div {
  display: grid;
  gap: 5px;
}

.route-starter span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.route-starter strong {
  font-size: 20px;
  line-height: 1.2;
}

.route-starter p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.route-starter .primary-button {
  width: 100%;
}

.trip-advanced {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.trip-advanced summary {
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.trip-advanced[open] summary {
  color: var(--text);
}

.trip-advanced .trip-controls,
.trip-advanced .trip-wizard {
  padding: 0 12px 12px;
}

.trip-controls {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.trip-controls label {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--jade);
}

.trip-wizard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.trip-wizard label {
  display: grid;
  gap: 6px;
}

.trip-wizard span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.trip-wizard select {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.trip-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(69, 192, 165, 0.3);
  border-radius: 16px;
  background: rgba(69, 192, 165, 0.1);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.trip-summary strong {
  color: var(--text);
  font-size: 14px;
}

.trip-summary span {
  color: var(--gold);
  font-weight: 850;
}

.trip-summary p {
  margin: 0;
}

.trip-recommendations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.trip-recommendation-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  min-height: 92px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.trip-recommendation-card > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(216, 180, 106, 0.16);
  color: var(--gold);
  font-weight: 900;
}

.trip-recommendation-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.trip-recommendation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.route-item {
  grid-template-columns: 62px minmax(0, 1fr);
}

.trip-result-header {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid rgba(69, 192, 165, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.14), rgba(216, 180, 106, 0.08)),
    rgba(255, 255, 255, 0.065);
}

.trip-result-header span {
  color: #bdf8df;
  font-size: 11px;
  font-weight: 900;
}

.trip-result-header strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.trip-result-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.trip-timeline {
  display: grid;
  gap: 9px;
}

.trip-timeline-card {
  align-items: start;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.route-time-badge {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 58px;
  border-radius: 15px;
  background: rgba(216, 180, 106, 0.12);
}

.route-time-badge strong {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.route-time-badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.trip-timeline-card h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.32;
}

.trip-timeline-card p {
  color: var(--muted);
  line-height: 1.48;
}

.trip-edit-panel {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.trip-edit-panel summary {
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.trip-edit-list {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.route-time {
  color: var(--gold);
  font-weight: 900;
}

.city-search {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.city-cloud {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 222px;
  overflow: auto;
  padding-right: 4px;
}

.city-chip {
  min-width: 0;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.module-card {
  min-height: 128px;
}

.module-card strong {
  color: var(--gold);
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: min(calc(100% - 28px), 420px);
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 19, 19, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  will-change: auto;
  contain: layout paint;
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 50px;
  grid-template-rows: 20px 14px;
  border-radius: 15px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 820;
  transition:
    background 0.18s ease,
    color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.bottom-nav a.active {
  background: rgba(69, 192, 165, 0.18);
  color: var(--text);
}

.bottom-nav a:active {
  transform: none;
}

.bottom-nav svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
}

.bottom-nav *,
.bottom-nav a,
.bottom-nav svg,
.bottom-nav span {
  animation: none !important;
}

.bottom-nav {
  transform: translateX(-50%) !important;
}

.bottom-nav a,
.bottom-nav a.active,
.bottom-nav a:active,
.bottom-nav svg,
.bottom-nav span {
  transform: none !important;
}

.bottom-nav span {
  display: block;
  height: 14px;
  line-height: 14px;
  white-space: nowrap;
}

.bottom-nav a,
.bottom-nav a:hover,
.bottom-nav a:focus,
.bottom-nav a:active,
.bottom-nav a.active,
.bottom-nav svg,
.bottom-nav span {
  transform: none !important;
  translate: none !important;
  will-change: auto !important;
}

.home-featured-photo-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.64);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.app-header,
.privacy-strip,
.network-strip,
.earth-hero,
.traveler-home-card,
.home-highlights a,
.home-featured-section,
.home-featured-detail,
.page-dashboard,
.section-block,
.service-hub-drawer,
.bottom-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(20, 36, 52, 0.07);
}

.app-header {
  backdrop-filter: blur(18px);
}

.earth-hero {
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(24, 168, 137, 0.1), rgba(47, 128, 237, 0.06)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(26, 47, 67, 0.09);
}

.hero-copy h1 {
  margin-bottom: 6px;
  font-size: 27px;
  line-height: 1.08;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(21, 33, 47, 0.64);
  font-size: 13px;
}

.destination-search-form input,
.map-destination-search input,
.service-hub-search input,
.trip-wizard select,
.trip-controls input,
.destination-select,
.map-select {
  border-color: rgba(25, 38, 52, 0.12);
  background: #ffffff;
  color: var(--text);
}

.destination-search-form input::placeholder,
.map-destination-search input::placeholder {
  color: rgba(21, 33, 47, 0.4);
}

.primary-button,
.chip-button {
  border-color: rgba(7, 19, 19, 0.08);
  background: rgba(69, 192, 165, 0.94);
  color: #08201c;
}

.secondary-button {
  border-color: rgba(25, 38, 52, 0.12);
  background: #ffffff;
  color: var(--text);
}

.home-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.home-destination-select {
  display: grid;
  gap: 6px;
}

.status-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 1px;
}

.status-row span,
.destination-search-status,
.map-destination-status {
  color: rgba(21, 33, 47, 0.58);
}

.home-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 10px 0 8px;
}

.home-highlights a {
  min-height: 56px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
}

.home-highlights span {
  color: #45c0a5;
}

.home-highlights strong {
  font-size: 15px;
}

.traveler-home-card {
  grid-template-columns: 1fr;
  gap: 11px;
  margin: 8px 0;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
}

.traveler-home-card strong {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.25;
}

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

.home-featured-section {
  padding: 13px 0 14px;
  border-radius: 0;
  border-width: 0 0 1px;
  background: transparent;
  box-shadow: none;
}

.home-featured-head {
  padding: 0 2px;
}

.home-featured-head span,
.home-featured-image small {
  color: rgba(21, 33, 47, 0.56);
}

.home-featured-more {
  color: #08201c;
}

.home-featured-card,
.home-featured-detail-card {
  border-color: rgba(25, 38, 52, 0.08);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.06);
}

.home-featured-card p,
.home-featured-detail-body p,
.home-featured-detail-body small {
  color: rgba(21, 33, 47, 0.58);
}

.page-dashboard {
  border-radius: 18px;
  background: #ffffff;
}

.bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  color: rgba(21, 33, 47, 0.62);
}

.bottom-nav a.active {
  color: #08201c;
}

body[data-active-page="explore"] #homeHero {
  background: transparent;
}

body[data-active-page="explore"] .earth-hero.map-mode .hero-map-panel {
  background: transparent;
}

:root {
  --brand-gradient: rgba(69, 192, 165, 0.94);
  --brand-solid: #45c0a5;
  --brand-blue: #45c0a5;
  --brand-soft: rgba(24, 168, 137, 0.1);
}

.eyebrow,
.traveler-home-card span,
.home-featured-head span,
.home-featured-detail span,
.page-dashboard-head span,
.urgent-tool-grid span,
.transport-mode-grid span,
.home-highlights span,
.map-tool-label,
.travel-brief span,
.location-consent-card span {
  color: var(--brand-solid);
}

.primary-button,
.chip-button,
body[data-active-page="explore"] #mapPanel .map-destination-search .chip-button,
.route-starter .primary-button,
.spot-actions .primary-button,
.benefit-hero .primary-button,
.entry-checker .primary-button,
.visit-card .primary-button,
.service-hub-search .chip-button {
  border: 0;
  background: var(--brand-gradient);
  color: #08201c;
  box-shadow: 0 10px 22px rgba(24, 168, 137, 0.18);
}

.secondary-button,
.home-highlights a,
.home-featured-card,
.home-featured-detail-card,
.urgent-tool-grid button,
.transport-mode-grid button,
.poi-chip-grid button,
.me-shortcut-grid button,
.service-hub-button {
  border-color: rgba(25, 38, 52, 0.1);
  background: #ffffff;
  color: var(--text);
}

.home-highlights a:hover,
.home-featured-card:hover,
.home-featured-more,
.bottom-nav a.active {
  color: var(--brand-blue);
}

.home-highlights a {
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.055);
}

.home-highlights a:nth-child(odd),
.home-highlights a:nth-child(even) {
  background:
    linear-gradient(135deg, rgba(24, 168, 137, 0.08), rgba(47, 128, 237, 0.05)),
    #ffffff;
}

.privacy-strip,
.location-consent-card,
.traveler-home-card {
  background:
    linear-gradient(135deg, rgba(24, 168, 137, 0.08), rgba(47, 128, 237, 0.045)),
    #ffffff;
}

body.location-consent-open #locationConsentCard {
  display: grid !important;
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 80 !important;
  width: min(calc(100vw - 32px), 420px) !important;
  max-height: calc(100dvh - 80px) !important;
  transform: translate(-50%, -50%) !important;
  overflow: auto;
}

@media (max-width: 520px) {
  .app-shell {
    padding-bottom: 86px;
  }

  .app-header {
    gap: 8px;
    margin: 0 -2px 4px;
    padding: 8px 2px 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .app-brand-title {
    top: 15px;
    max-width: calc(100% - 230px);
    font-size: 22px;
  }

  body[data-active-page="explore"] .app-brand-title {
    position: absolute;
    display: block;
    top: 15px;
    left: 50%;
    max-width: calc(100% - 230px);
    font-size: 22px;
  }

  .top-context-chip {
    width: min(27vw, 104px);
    max-width: 104px;
    padding: 5px 8px;
    border-color: rgba(25, 38, 52, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055);
    backdrop-filter: blur(16px);
  }

  .top-context-chip strong {
    font-size: 11px;
    line-height: 1.15;
  }

  .top-context-chip span {
    font-size: 10px;
  }

  .language-select {
    min-height: 38px;
    max-width: 96px;
    padding: 0 10px;
    border-radius: 14px;
    border-color: rgba(25, 38, 52, 0.08);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055);
    backdrop-filter: blur(16px);
  }

  .privacy-strip {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
    margin: 6px 0 8px;
    padding: 9px 10px 9px 12px;
    border-radius: 14px;
  }

  .privacy-strip span {
    display: block;
    font-size: 10px;
    line-height: 1.35;
  }

  .privacy-strip .chip-button,
  .privacy-strip button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .earth-hero {
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  .hero-copy h1 {
    font-size: 25px;
    letter-spacing: 0;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.45;
  }

  .destination-search-form {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .destination-search-form input {
    min-height: 46px;
    font-size: 15px;
  }

  .destination-search-form .primary-button {
    min-height: 46px;
    padding: 0 14px;
  }

  .home-cta-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .home-cta-row button,
  .home-cta-row a,
  .home-destination-select select {
    min-height: 44px;
    border-radius: 13px;
  }

  .home-highlights {
    gap: 7px;
  }

  .home-highlights a {
    min-height: 50px;
    padding: 8px 9px;
    border-radius: 13px;
  }

  .home-highlights span {
    font-size: 10px;
  }

  .home-highlights strong {
    font-size: 14px;
  }

  .traveler-home-card {
    gap: 10px;
    padding: 13px;
    border-radius: 15px;
  }

  .traveler-home-card strong {
    font-size: 16px;
  }

  .traveler-home-actions .primary-button,
  .traveler-home-actions .secondary-button {
    min-height: 44px;
    border-radius: 13px;
  }

  .home-featured {
    gap: 12px;
    margin-top: 8px;
  }

  .home-featured-section {
    padding: 11px 0 12px;
  }

  .home-featured-head strong {
    font-size: 17px;
  }

  .home-featured-head span {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .home-featured-rail {
    grid-auto-columns: minmax(142px, 44%);
    gap: 9px;
    margin: 0;
    padding: 0 0 2px;
  }

  .home-featured-card {
    min-height: 0;
    padding: 10px;
    border-radius: 13px;
  }

  .home-featured-card > strong {
    font-size: 13px;
  }

  .home-featured-card p {
    min-height: 0;
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .bottom-nav {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(calc(100% - 24px), 390px);
    padding: 4px;
    border-color: rgba(25, 38, 52, 0.1);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(20, 36, 52, 0.12);
    backdrop-filter: blur(18px);
  }

  .bottom-nav a {
    min-height: 45px;
    grid-template-rows: 20px 15px;
    place-items: center;
    border-radius: 13px;
    color: rgba(21, 33, 47, 0.55);
    font-size: 11px;
    font-weight: 760;
  }

  .bottom-nav span {
    display: block;
    height: 15px;
    line-height: 15px;
    text-align: center;
  }

  .bilingual-ui .bottom-nav {
    width: min(calc(100% - 20px), 390px);
    padding: 4px;
  }

  .bilingual-ui .bottom-nav a {
    min-height: 48px;
    grid-template-rows: 18px 20px;
    gap: 2px;
    padding: 4px 1px 5px;
    font-size: 8px;
  }

  .bilingual-ui .bottom-nav span {
    height: 20px;
    max-height: 20px;
    line-height: 10px;
  }

  .bottom-nav svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.9;
  }

  .bottom-nav a.active {
    background: rgba(24, 168, 137, 0.13);
    color: #08201c;
  }
}

@keyframes floatEarth {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes pulse {
  from {
    opacity: 0.9;
    transform: scale(0.45);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (min-width: 760px) {
  body {
    padding: 24px 0;
  }

  .phone-shell {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 38px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 380px) {
  .top-context-chip {
    max-width: 150px;
    padding-inline: 9px;
  }

  .language-select {
    width: 74px;
    padding-inline: 6px;
  }

  .earth {
    width: 232px;
    height: 232px;
  }

  h1 {
    font-size: 30px;
  }

  .hero-actions,
  .traveler-home-actions,
  .service-actions,
  .camera-upload-card,
  .camera-translation-columns,
  .camera-actions,
  .trip-wizard,
  .trip-recommendations,
  .toolkit-language-row,
  .mvp-actions,
  .map-actions,
  .map-toolbox,
  .app-architecture,
  .prd-grid,
  .growth-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .ops-toolbar,
  .ops-editor,
  .ops-row {
    grid-template-columns: 1fr;
  }

  .ops-row .ops-actions {
    justify-content: flex-start;
    max-width: none;
  }
}

.app-header,
body[data-active-page="explore"] .app-header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 84px;
  gap: 6px;
  align-items: center;
  justify-content: normal;
}

.app-header .header-left,
body[data-active-page="explore"] .app-header .header-left {
  grid-column: 1;
  display: flex;
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  flex: 0 0 92px;
}

.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  height: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 999px;
}

.app-header .app-brand-title,
body[data-active-page="explore"] .app-header .app-brand-title {
  position: static;
  grid-column: 2;
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
  font-size: 21px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: none;
}

.app-header .language-select,
body[data-active-page="explore"] .app-header .language-select {
  grid-column: 3;
  justify-self: end;
  width: 84px;
  min-width: 84px;
  max-width: 84px;
  height: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: 999px;
}

body[data-stay-standalone="true"] .hotel-search-grid {
  grid-template-columns: calc((100% - 8px) / 2) calc((100% - 8px) / 2) !important;
}

body[data-stay-standalone="true"] .hotel-field-checkin,
body[data-stay-standalone="true"] .hotel-field-checkout {
  width: 100%;
  max-width: 100%;
}

body[data-translate-standalone="true"] .phone-shell,
body[data-stay-standalone="true"] .phone-shell,
body[data-ticket-standalone="true"] .phone-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  overflow: hidden;
}

body[data-translate-standalone="true"] main,
body[data-stay-standalone="true"] main,
body[data-ticket-standalone="true"] main {
  height: calc(100vh - 62px);
  height: calc(100dvh - 62px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--nav-height) + 26px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body[data-translate-standalone="true"] main::-webkit-scrollbar,
body[data-stay-standalone="true"] main::-webkit-scrollbar,
body[data-ticket-standalone="true"] main::-webkit-scrollbar {
  display: none;
}

/* v362 lock standalone pages to vertical scrolling only */
body[data-translate-standalone="true"],
body[data-stay-standalone="true"],
body[data-ticket-standalone="true"] {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body[data-translate-standalone="true"] .phone-shell,
body[data-stay-standalone="true"] .phone-shell,
body[data-ticket-standalone="true"] .phone-shell,
body[data-translate-standalone="true"] main,
body[data-stay-standalone="true"] main,
body[data-ticket-standalone="true"] main {
  width: 100%;
  max-width: 460px;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body[data-translate-standalone="true"] main,
body[data-stay-standalone="true"] main,
body[data-ticket-standalone="true"] main {
  display: flex;
  flex-direction: column;
  transform: translateX(0);
}

body[data-stay-standalone="true"] #stayService,
body[data-ticket-standalone="true"] #ticketBooking,
body[data-stay-standalone="true"] .hotel-page-shell,
body[data-ticket-standalone="true"] .ticket-page-shell,
body[data-stay-standalone="true"] .hotel-view,
body[data-ticket-standalone="true"] .ticket-view {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

body[data-stay-standalone="true"] .hotel-page-shell,
body[data-ticket-standalone="true"] .ticket-page-shell {
  padding-top: var(--standalone-page-top-gap);
}

body[data-translate-standalone="true"] #travelerToolkit,
body[data-stay-standalone="true"] #stayService,
body[data-ticket-standalone="true"] #ticketBooking {
  margin-top: 0 !important;
}

body[data-translate-standalone="true"] .traveler-toolkit {
  padding-top: calc(var(--standalone-page-top-gap) + 6px);
}

body[data-translate-standalone="true"] .traveler-toolkit .toolkit-tabs {
  margin-top: 0;
}

body[data-stay-standalone="true"] .hotel-topbar {
  padding-top: 0;
}

body[data-stay-standalone="true"] .hotel-search-card,
body[data-stay-standalone="true"] .hotel-tools-card,
body[data-stay-standalone="true"] .hotel-recommend-card,
body[data-ticket-standalone="true"] .ticket-search-card,
body[data-ticket-standalone="true"] .ticket-tool-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body[data-stay-standalone="true"] .hotel-search-grid,
body[data-stay-standalone="true"] .hotel-guest-row,
body[data-ticket-standalone="true"] .ticket-date-grid,
body[data-ticket-standalone="true"] .ticket-passenger-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-stay-standalone="true"] .hotel-search-grid label,
body[data-stay-standalone="true"] .hotel-guest-row label,
body[data-ticket-standalone="true"] .ticket-date-grid label,
body[data-ticket-standalone="true"] .ticket-passenger-row label {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body[data-stay-standalone="true"] .hotel-search-grid input,
body[data-stay-standalone="true"] .hotel-search-grid select,
body[data-stay-standalone="true"] .hotel-guest-row select,
body[data-ticket-standalone="true"] .ticket-date-grid input,
body[data-ticket-standalone="true"] .ticket-passenger-row select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body[data-stay-standalone="true"] .hotel-field-checkin input,
body[data-stay-standalone="true"] .hotel-field-checkout input,
body[data-ticket-standalone="true"] .ticket-date-grid input {
  -webkit-appearance: none;
  appearance: none;
  padding-inline: 8px;
  text-align: center;
  font-size: 13px;
  white-space: nowrap;
}

body[data-stay-standalone="true"] .hotel-area-chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* v363 fuller mobile form controls for hotel and ticket pages */
body[data-stay-standalone="true"] .hotel-search-card,
body[data-ticket-standalone="true"] .ticket-search-card {
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
}

body[data-stay-standalone="true"] .hotel-search-grid,
body[data-ticket-standalone="true"] .ticket-date-grid,
body[data-ticket-standalone="true"] .ticket-passenger-row {
  gap: 10px !important;
}

body[data-stay-standalone="true"] .hotel-search-grid input,
body[data-stay-standalone="true"] .hotel-search-grid select,
body[data-stay-standalone="true"] .hotel-guest-row select,
body[data-ticket-standalone="true"] .ticket-date-grid input,
body[data-ticket-standalone="true"] .ticket-passenger-row select,
body[data-ticket-standalone="true"] .ticket-city-search input,
body[data-ticket-standalone="true"] .ticket-checkout-form input {
  display: block;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 46px;
}

body[data-stay-standalone="true"] .hotel-field-checkin input,
body[data-stay-standalone="true"] .hotel-field-checkout input,
body[data-ticket-standalone="true"] .ticket-date-grid input {
  position: relative;
  padding-inline: 9px 28px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

body[data-stay-standalone="true"] .hotel-field-checkin input::-webkit-date-and-time-value,
body[data-stay-standalone="true"] .hotel-field-checkout input::-webkit-date-and-time-value,
body[data-ticket-standalone="true"] .ticket-date-grid input::-webkit-date-and-time-value {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 46px;
}

body[data-stay-standalone="true"] .hotel-field-checkin input::-webkit-calendar-picker-indicator,
body[data-stay-standalone="true"] .hotel-field-checkout input::-webkit-calendar-picker-indicator,
body[data-ticket-standalone="true"] .ticket-date-grid input::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
}

body[data-stay-standalone="true"] .hotel-guest-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
}

body[data-ticket-standalone="true"] .ticket-route-row {
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 10px;
}

body[data-ticket-standalone="true"] .ticket-city-button,
body[data-ticket-standalone="true"] .ticket-place-field {
  min-height: 70px;
  border-radius: 18px;
}

body[data-stay-standalone="true"] #stayStatus,
body[data-ticket-standalone="true"] #ticketStatus {
  display: none !important;
}

/* v365 featured recommendation standalone page */
body[data-featured-standalone="true"] {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body[data-featured-standalone="true"] .phone-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  overflow: hidden;
}

body[data-featured-standalone="true"] main {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 62px);
  height: calc(100dvh - 62px);
  padding-bottom: calc(var(--nav-height) + 26px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body[data-featured-standalone="true"] main::-webkit-scrollbar {
  display: none;
}

body[data-featured-standalone="true"] .home-featured-detail {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

.featured-page-shell {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  padding: 0 0 12px;
}

.featured-page-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 0;
}

.featured-page-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.featured-page-head span {
  color: var(--brand-solid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-page-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.08;
}

.featured-page-head p {
  margin: 0;
  color: rgba(21, 33, 47, 0.6);
  font-size: 12px;
  font-weight: 760;
}

.featured-page-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(20, 36, 52, 0.06);
}

.featured-page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.featured-hero-card,
.featured-place-card {
  min-width: 0;
  border: 1px solid rgba(25, 38, 52, 0.08);
  background: #ffffff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 26px rgba(20, 36, 52, 0.07);
}

.featured-hero-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border-radius: 20px;
}

.featured-hero-media,
.featured-place-media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4f6;
}

.featured-hero-media {
  aspect-ratio: 16 / 9.2;
}

.featured-hero-media .home-featured-image,
.featured-place-media .home-featured-image {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.featured-hero-media > img,
.featured-place-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-hero-media > small,
.featured-place-media > small {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7, 19, 19, 0.56);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.featured-hero-media::after,
.featured-place-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.featured-hero-card strong {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-hero-card span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(21, 33, 47, 0.58);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}

.featured-place-card {
  display: grid;
  overflow: hidden;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.featured-place-media {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.07);
}

.featured-place-card > div:last-child {
  display: grid;
  gap: 5px;
  padding: 0 2px;
}

.featured-place-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.featured-place-card p,
.featured-place-card small {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(21, 33, 47, 0.6);
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
}

.featured-place-card p {
  -webkit-line-clamp: 2;
}

.featured-place-card small {
  -webkit-line-clamp: 1;
}

.featured-page-loading,
.featured-page-empty,
.featured-page-more-loading {
  grid-column: 1 / -1;
  display: grid;
  min-height: 130px;
  place-items: center;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 18px;
  background: #ffffff;
  color: rgba(21, 33, 47, 0.58);
  font-size: 13px;
  font-weight: 850;
}

.featured-page-more-loading {
  min-height: 94px;
  border-style: dashed;
  background: rgba(248, 252, 251, 0.72);
  color: rgba(21, 33, 47, 0.54);
}

/* v812: one quiet loading state, stable real-photo frames, no large explanation panels. */
.recommendation-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 12px;
  color: var(--muted);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
}
.recommendation-status button {
  border: 0;
  padding: 8px 12px;
  min-height: 44px;
  background: transparent;
  color: var(--brand-green, #45c0a5);
  font: inherit;
  font-weight: 600;
}
[data-recommendation-progress] { grid-column: 1 / -1; }
.recommendation-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #e6e9e8;
  border-top-color: var(--brand-green, #45c0a5);
  border-radius: 50%;
  animation: recommendation-spin .8s linear infinite;
}
@keyframes recommendation-spin { to { transform: rotate(360deg); } }
.recommendation-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recommendation-skeleton i { display: block; aspect-ratio: 1.2; border-radius: 12px; background: #f3f4f4; }
.recommendation-media { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: #f3f4f4; }
.featured-hero-card .recommendation-media,
.recommendation-media span { -webkit-line-clamp: unset; -webkit-box-orient: initial; }
.featured-hero-card .recommendation-media { display: block; }
.featured-hero-media:has(.recommendation-media)::after,
.featured-place-media:has(.recommendation-media)::after { background: none; }
.recommendation-media > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .15s; }
.recommendation-media[data-photo-status="ready"] > img { opacity: 1; }
.recommendation-photo-placeholder { position: absolute; inset: 0; z-index: 1; background: #f3f4f4; pointer-events: none; }
.recommendation-photo-placeholder::after {
  content: '';
  position: absolute;
  left: calc(50% - 12px);
  top: calc(50% - 9px);
  width: 24px;
  height: 18px;
  background: #c4ccca;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Crect x='1' y='1' width='22' height='16' rx='3' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='m2 14 6-6 5 5 3-3 6 6' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.recommendation-media[data-photo-status="ready"] .recommendation-photo-placeholder { display: none; }
.recommendation-photo-retry {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--brand-green, #45c0a5);
  background: #f3f4f4;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.recommendation-photo-retry[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .recommendation-spinner { animation: none; } .recommendation-media > img { transition: none; } }

/* v367 centered close buttons and borderless featured thumbnails */
.home-featured-detail-close,
.featured-page-close,
.hotel-subpage-head button,
.hotel-sheet-head button,
.ticket-subpage-head button,
button[aria-label="Close"],
button[aria-label="关闭"],
button[aria-label="返回"],
button[aria-label="Back"],
button[data-module-back],
button[data-account-back] {
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

button[aria-label="返回"],
button[aria-label="Back"],
button[data-module-back],
button[data-account-back] {
  font-size: 0 !important;
}

button[aria-label="返回"]::before,
button[aria-label="Back"]::before,
button[data-module-back]::before,
button[data-account-back]::before {
  content: "‹";
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(0);
}

/* Account headers already draw their own SVG arrow. */
button[data-account-back]::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 390px) {
  body[data-stay-standalone="true"] .hotel-field-checkin input,
  body[data-stay-standalone="true"] .hotel-field-checkout input,
  body[data-ticket-standalone="true"] .ticket-date-grid input {
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* v446 final primary-home cascade lock. */
.home-gateway {
  padding-top: 36px;
  color: #08201c;
  background: #ffffff;
}
.home-gateway-intro h1 { max-width: 380px; color: #08201c; font-size: 32px; font-weight: 850; line-height: 1.15; }
.home-gateway-search {
  grid-template-columns: 30px minmax(0, 1fr) 62px;
  align-items: center;
  min-height: 60px;
  margin-top: 28px;
  padding-left: 15px;
  border: 1px solid #dfe9e5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.07);
}
.home-gateway-search-icon { width: 23px; height: 23px; fill: none; stroke: #08201c; stroke-width: 1.9; stroke-linecap: round; }
.home-gateway-search input { height: 58px; padding: 0 10px; color: #08201c; font-size: 15px; }
.home-gateway-search input::placeholder { color: rgba(8, 32, 28, 0.46); }
.home-gateway-search button { width: 62px; min-width: 62px; height: 60px; background: #45c0a5; color: #08201c; font-weight: 850; }
.home-gateway-search-status { margin-left: 4px; color: rgba(8, 32, 28, 0.48); }
.home-gateway-destination { margin-top: 24px; }
.home-gateway-section-label { color: #08201c !important; font-size: 16px !important; font-weight: 850 !important; }
.home-gateway-select-wrap {
  min-height: 58px;
  border: 1px solid #dfe9e5;
  border-radius: 18px;
  background: #f5faf8;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.07);
}
.home-gateway-select-wrap svg { stroke: #45c0a5; }
.home-gateway-select-wrap select { height: 56px; color: #08201c; font-size: 15px; }
.home-gateway-actions { align-items: start; gap: 18px; margin-top: 24px; padding: 20px 14px 0; border-top-color: #dfe9e5; }
.home-gateway-actions a,
.home-gateway-actions a:nth-child(2),
.home-gateway-actions a:nth-child(3) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 56px 22px;
  place-items: center;
  gap: 7px;
  height: 85px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #08201c;
}
.home-gateway-actions svg,
.home-gateway-actions a:nth-child(2) svg,
.home-gateway-actions a:nth-child(3) svg {
  width: 56px;
  height: 56px;
  padding: 15px;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  stroke: #45c0a5;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.06);
}
.home-gateway-actions strong { color: #08201c; font-size: 13px; line-height: 1; }
.home-gateway-more { min-width: 174px; margin: 24px auto 0; color: #08201c; }
.home-gateway-more i { border-color: #45c0a5; }
@media (max-width: 380px) {
  .home-gateway { padding-top: 28px; }
  .home-gateway-actions { gap: 10px; padding-inline: 8px; }
}

/* v447 compact search and destination controls. */
.home-gateway-search {
  grid-template-columns: 30px minmax(0, 1fr) 62px;
  min-height: 58px;
  padding: 0 4px 0 15px;
  border-radius: 999px;
}

.home-gateway-search input {
  height: 56px;
  font-size: 14px;
}

.home-gateway-search button {
  width: 58px;
  min-width: 58px;
  height: 50px;
  border-radius: 999px;
  box-shadow: none;
}

.home-gateway-search-status {
  display: none;
}

.home-gateway-destination {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.home-gateway-section-label {
  font-size: 13px !important;
  white-space: nowrap;
}

.home-gateway-select-wrap {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  min-height: 46px;
  padding-left: 11px;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(8, 32, 28, 0.055);
}

.home-gateway-select-wrap svg {
  width: 17px;
  height: 17px;
}

.home-gateway-select-wrap select {
  height: 44px;
  font-size: 13px;
}

@media (max-width: 380px) {
  .home-gateway-destination {
    gap: 8px;
  }

  .home-gateway-section-label {
    font-size: 12px !important;
  }
}

/* v453 prevent iOS from auto-zooming form controls and leaving horizontal drift. */
@media (max-width: 520px) {
  html,
  body,
  .phone-shell,
  main {
    max-width: 100%;
    overflow-x: hidden;
  }

  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
  textarea,
  select {
    max-width: 100%;
    min-width: 0;
    font-size: 16px !important;
    letter-spacing: 0;
  }
}

/* v448 search hint motion and precision spacing. */
.home-gateway-search {
  grid-template-columns: 30px minmax(0, 1fr) 58px;
  grid-template-rows: 50px;
  min-height: 58px;
  padding: 4px;
}

.home-gateway-search-icon {
  grid-column: 1;
  grid-row: 1;
  margin-left: 10px;
}

.home-gateway-search input {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 50px;
  padding: 0 8px;
  background: transparent;
}

.home-gateway-search-hint {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 8px;
  color: rgba(8, 32, 28, 0.42);
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.home-gateway-search-hint span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-gateway-search-hint.is-overflowing span {
  animation: none;
}

.home-gateway-search:focus-within .home-gateway-search-hint,
.home-gateway-search.has-value .home-gateway-search-hint {
  opacity: 0;
}

.home-gateway-search button {
  grid-column: 3;
  grid-row: 1;
  width: 58px;
  min-width: 58px;
  height: 50px;
  margin: 0;
}

@keyframes home-search-hint-scroll {
  0%, 12% { transform: translateX(0); }
  88%, 100% { transform: translateX(-42%); }
}

.home-gateway-destination {
  grid-template-columns: auto minmax(150px, 210px);
  justify-content: start;
}

.home-gateway-select-wrap {
  width: 100%;
  max-width: 210px;
}

@media (prefers-reduced-motion: reduce) {
  .home-gateway-search-hint.is-overflowing span {
    animation: none;
  }
}

/* v449 match the complete-home search to the primary search rail. */
#destinationSearchForm {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 58px;
  grid-template-rows: 50px;
  align-items: center;
  min-height: 58px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #dfe9e5;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.07);
}

#destinationSearchForm:focus-within {
  border-color: rgba(69, 192, 165, 0.64);
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.12), 0 10px 24px rgba(8, 32, 28, 0.07);
}

.secondary-home-search-icon {
  grid-column: 1;
  grid-row: 1;
  width: 23px;
  height: 23px;
  margin-left: 10px;
  fill: none;
  stroke: #08201c;
  stroke-width: 1.9;
  stroke-linecap: round;
}

#destinationSearchForm #destinationSearchInput {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #08201c;
  font-size: 14px;
  box-shadow: none;
}

.secondary-home-search-hint {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  padding: 0 8px;
  color: rgba(8, 32, 28, 0.42);
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.secondary-home-search-hint span {
  display: inline-block;
  white-space: nowrap;
}

.secondary-home-search-hint.is-overflowing span {
  animation: home-search-hint-scroll 8s ease-in-out 1s infinite alternate;
}

#destinationSearchForm:focus-within .secondary-home-search-hint,
#destinationSearchForm.has-value .secondary-home-search-hint {
  opacity: 0;
}

#destinationSearchForm .chip-button {
  grid-column: 3;
  grid-row: 1;
  width: 58px;
  min-width: 58px;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: #45c0a5 !important;
  color: #08201c !important;
  box-shadow: none !important;
}

#destinationSearchStatus {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .secondary-home-search-hint.is-overflowing span {
    animation: none;
  }
}

/* v451 restore the complete-home spacing rhythm after copy removal. */
body[data-active-page="home"][data-home-level="full"] .home-search-card {
  gap: 12px !important;
  padding: 14px !important;
}

body[data-active-page="home"][data-home-level="full"] .home-search-card .destination-picker {
  gap: 12px !important;
}

body[data-active-page="home"][data-home-level="full"] .home-search-card .home-destination-select {
  gap: 8px !important;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights {
  margin-top: 12px !important;
}

/* v455 let translated search labels size both home search buttons. */
.home-gateway-search,
#destinationSearchForm {
  grid-template-columns: 30px minmax(0, 1fr) max-content;
}

.home-gateway-search button,
#destinationSearchForm .chip-button {
  width: auto !important;
  min-width: 58px !important;
  max-width: none;
  padding: 0 16px !important;
  white-space: nowrap;
}

/* v461 final planning row override. */
.home-gateway-destination {
  grid-template-columns: auto minmax(150px, 250px) !important;
  align-items: center !important;
  gap: 8px !important;
}

.home-gateway-select-wrap {
  grid-template-columns: 22px minmax(0, 1fr) max-content !important;
  max-width: 250px;
}

.home-gateway-destination-weather {
  min-width: 0;
  max-width: 76px;
  padding-right: 10px;
  color: rgba(23, 35, 48, 0.56);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-align: end;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 370px) {
  .home-gateway-destination {
    grid-template-columns: auto minmax(104px, 1fr) !important;
  }

  .home-gateway-destination-weather {
    max-width: 62px;
  }
}

/* v463 compact destination context and language-stable symbol controls. */
.home-gateway-destination {
  position: relative;
  grid-template-columns: minmax(0, max-content) !important;
  width: fit-content;
  max-width: 190px;
  margin-top: 16px !important;
  gap: 0 !important;
}

.home-gateway-section-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-gateway-select-wrap {
  grid-template-columns: 18px minmax(0, max-content) max-content !important;
  gap: 6px !important;
  width: fit-content !important;
  max-width: 190px !important;
  min-height: 42px !important;
  padding: 0 8px 0 11px !important;
  border-radius: 999px !important;
}

.home-gateway-select-wrap svg {
  width: 16px !important;
  height: 16px !important;
}

.home-gateway-select-wrap select {
  width: auto !important;
  max-width: 92px;
  height: 40px !important;
  padding-right: 22px !important;
  font-size: 13px !important;
  text-overflow: ellipsis;
}

.home-gateway-destination-weather {
  max-width: 45px !important;
  padding-right: 5px !important;
  font-size: 10px !important;
}

.home-gateway-search button,
#destinationSearchForm .chip-button,
#mapDestinationSearchForm .chip-button {
  width: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.home-gateway-search button::before,
#destinationSearchForm .chip-button::before,
#mapDestinationSearchForm .chip-button::before {
  content: "\2192";
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

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

.map-action-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.map-route-mode-strip button,
.map-route-action-row button,
.map-place-actions button {
  position: relative;
  display: grid !important;
  place-items: center !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip button {
  min-height: 42px;
  padding: 0 !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip .map-action-icon {
  width: 21px;
  height: 21px;
}

.map-route-action-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-route-action-row.transit {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-route-action-row button {
  min-height: 42px;
  padding: 0;
}

.map-route-action-row button.primary .map-action-icon {
  width: 22px;
  height: 22px;
}

.map-place-actions-primary button:nth-child(-n + 3) {
  min-height: 42px;
}

.map-place-actions-secondary button {
  min-height: 34px;
}

.map-place-actions-secondary .map-action-icon {
  width: 18px;
  height: 18px;
}

/* v464: compact context header and mature, language-stable map symbols. */
.app-header,
body[data-active-page="explore"] .app-header {
  grid-template-columns: 104px minmax(0, 1fr) 62px !important;
  gap: 6px !important;
}

.app-header .header-left,
body[data-active-page="explore"] .app-header .header-left {
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  flex-basis: 104px !important;
}

.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  display: flex !important;
  align-items: center !important;
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  height: 36px !important;
  min-height: 36px !important;
  gap: 4px !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(233, 246, 241, 0.92) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.top-context-chip > svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #188e76;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-header .top-context-chip span,
body[data-active-page="explore"] .app-header .top-context-chip span {
  flex: 1 1 auto;
  min-width: 0;
  color: #17342e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.app-header .top-context-chip small,
body[data-active-page="explore"] .app-header .top-context-chip small {
  flex: 0 0 auto;
  max-width: 28px;
  color: rgba(23, 52, 46, 0.62) !important;
  font-size: 9px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
}

.app-header .top-context-chip small::before {
  content: "·";
  margin-right: 3px;
  color: rgba(23, 52, 46, 0.34);
}

.app-header .top-context-chip small:empty {
  display: none;
}

.language-control {
  grid-column: 3;
  justify-self: end;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: center;
  width: 62px;
  height: 36px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(233, 246, 241, 0.92);
  color: #17342e;
  box-shadow: none;
}

.language-control > svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #188e76;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.app-header .language-control .language-select,
body[data-active-page="explore"] .app-header .language-control .language-select {
  grid-column: 2;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 0 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  color: #17342e !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.home-gateway-select-wrap select {
  max-width: 96px !important;
  padding-right: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: none !important;
}

.home-gateway-select-wrap select::-ms-expand {
  display: none;
}

.home-gateway-destination-weather {
  margin-left: 1px;
  padding-right: 4px !important;
}

.map-action-icon {
  stroke-width: 2.15;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 247, 246, 0.98);
  box-shadow: none;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip button.active {
  border: 0;
  background: #ccefe5;
  color: #0d725d;
  box-shadow: none;
}

.map-place-actions-primary button,
.map-place-actions-secondary button,
.map-route-action-row button {
  border-color: transparent !important;
  background: rgba(244, 247, 246, 0.98) !important;
  box-shadow: none !important;
}

.map-route-action-row button.primary {
  background: #188e76 !important;
  color: #ffffff !important;
}

@media (max-width: 370px) {
  .app-header,
  body[data-active-page="explore"] .app-header {
    grid-template-columns: 88px minmax(0, 1fr) 56px !important;
  }

  .app-header .header-left,
  body[data-active-page="explore"] .app-header .header-left,
  .app-header .top-context-chip,
  body[data-active-page="explore"] .app-header .top-context-chip {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
  }

  .language-control {
    width: 56px;
    padding-inline: 6px;
  }
}

/* v465: neutral system header and official Google route-mode icons. */
.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  column-gap: 5px !important;
  row-gap: 1px !important;
  background: rgba(245, 246, 246, 0.96) !important;
  color: #17191a !important;
}

.top-context-chip > svg {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  stroke: #555b5d;
}

.app-header .top-context-chip span,
body[data-active-page="explore"] .app-header .top-context-chip span {
  grid-column: 2;
  grid-row: 1;
  color: #17191a !important;
  font-size: 10px !important;
}

.app-header .top-context-chip small,
body[data-active-page="explore"] .app-header .top-context-chip small {
  grid-column: 2;
  grid-row: 2;
  max-width: 100%;
  color: #6b7072 !important;
  font-size: 9px !important;
  text-overflow: ellipsis;
}

.app-header .top-context-chip small::before {
  content: none;
}

.language-control {
  background: rgba(245, 246, 246, 0.96);
  color: #17191a;
}

.language-control > svg {
  stroke: #555b5d;
}

.app-header .language-control .language-select,
body[data-active-page="explore"] .app-header .language-control .language-select {
  color: #17191a !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-mode-strip .map-action-icon {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
}

.map-place-actions-primary button,
.map-place-actions-secondary button,
.map-route-action-row button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  color: #17201e !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.map-route-action-row button.primary {
  color: #ffffff !important;
}

/* v466: restore the v460 header exactly and keep destination weather adjacent. */
.app-header,
body[data-active-page="explore"] .app-header {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 84px !important;
  gap: 6px !important;
  align-items: center !important;
}

.app-header .header-left,
body[data-active-page="explore"] .app-header .header-left {
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  flex-basis: 92px !important;
}

.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 44px !important;
  min-height: 44px !important;
  gap: 1px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(25, 38, 52, 0.08) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #142220 !important;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055) !important;
  backdrop-filter: blur(16px) !important;
}

.app-header .top-context-chip span,
body[data-active-page="explore"] .app-header .top-context-chip span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  color: #142220 !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.app-header .top-context-chip small,
body[data-active-page="explore"] .app-header .top-context-chip small {
  display: block;
  grid-column: 1 !important;
  grid-row: 2 !important;
  max-width: 100% !important;
  color: rgba(20, 34, 32, 0.58) !important;
  font-size: 8px !important;
  line-height: 1.15 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.app-header .language-select,
body[data-active-page="explore"] .app-header .language-select {
  grid-column: 3 !important;
  justify-self: end !important;
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding-inline: 10px !important;
  border: 1px solid rgba(25, 38, 52, 0.08) !important;
  border-radius: 999px !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #142220 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-shadow: 0 8px 20px rgba(20, 36, 52, 0.055) !important;
  backdrop-filter: blur(16px) !important;
}

.home-gateway-destination {
  width: fit-content !important;
  max-width: calc(100vw - 32px) !important;
}

.home-gateway-select-wrap {
  grid-template-columns: 18px var(--destination-select-width, auto) max-content !important;
  width: fit-content !important;
  max-width: calc(100vw - 32px) !important;
  gap: 6px !important;
  padding: 0 10px 0 11px !important;
}

.home-gateway-select-wrap select {
  width: var(--destination-select-width, auto) !important;
  min-width: 0 !important;
  max-width: 132px !important;
}

.home-gateway-destination-weather {
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
@font-face {
  font-family: "Material Icons";
  src: url("./material-icons-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

.local-material-icon {
  display: block;
  font-family: "Material Icons";
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* v467: keep the complete home and Explore search visually aligned with the primary home. */
body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-destination {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 44px;
  padding: 0 8px 0 11px;
  overflow: hidden;
  border: 1px solid #dfe9e5;
  border-radius: 999px;
  background: #f5faf8;
  box-shadow: 0 7px 18px rgba(8, 32, 28, 0.055);
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-destination > .local-material-icon {
  color: #45c0a5;
  font-size: 17px;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-destination .destination-select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 22px 0 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #08201c;
  font-size: 13px;
  font-weight: 780;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  color: #168c74;
  box-shadow: 0 7px 18px rgba(8, 32, 28, 0.055);
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action .local-material-icon {
  font-size: 21px;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights {
  align-items: start;
  gap: 12px 8px;
  margin: 12px 0 8px;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights a,
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(odd),
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(even) {
  display: grid;
  grid-template-rows: 52px 20px;
  place-items: center;
  gap: 6px;
  min-height: 78px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights .local-material-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  color: #168c74;
  font-size: 25px;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.06);
}

/* v470: use the same light outline language as the primary-home actions. */
body[data-active-page="home"][data-home-level="full"] .home-highlights .home-highlight-icon {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 15px;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  color: #45c0a5;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.045);
}

body[data-active-page="home"][data-home-level="full"] .home-highlights strong {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #08201c;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-active-page="explore"] #mapPanel .map-destination-search {
  grid-template-columns: 30px minmax(0, 1fr) 48px;
  grid-template-rows: 50px;
  align-items: center;
  min-height: 58px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #dfe9e5;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.1);
}

body[data-active-page="explore"] #mapPanel .map-destination-search-icon {
  grid-column: 1;
  grid-row: 1;
  margin-left: 9px;
  color: #08201c;
  font-size: 22px;
}

body[data-active-page="explore"] #mapPanel .map-destination-search input {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-active-page="explore"] #mapPanel .map-destination-search .chip-button {
  grid-column: 3;
  grid-row: 1;
  width: 48px !important;
  min-width: 48px !important;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  background: #45c0a5;
  box-shadow: none;
}

body[data-active-page="explore"] #mapPanel .map-category-strip {
  top: max(132px, calc(env(safe-area-inset-top) + 124px));
}

@media (max-width: 360px) {
  body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    gap: 6px;
  }

  body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action {
    width: 42px;
    height: 42px;
  }
}

/* v468: unify the two home levels and keep Explore search as one clean rail. */
body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
  grid-template-columns: calc(var(--destination-select-width, 132px) + 53px) 42px 42px;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-destination {
  grid-template-columns: 18px var(--destination-select-width, 132px);
  width: calc(var(--destination-select-width, 132px) + 53px);
  height: 42px;
  padding: 0 9px 0 11px;
  gap: 7px;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-destination .destination-select {
  width: var(--destination-select-width, 132px);
  height: 40px;
  padding: 0;
  font-size: 13px !important;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action {
  width: 42px;
  height: 42px;
  color: #45c0a5;
  box-shadow: 0 6px 16px rgba(8, 32, 28, 0.045);
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action .local-material-icon {
  font-size: 19px;
  opacity: 0.84;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights a,
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(odd),
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(even) {
  grid-template-rows: 56px 20px;
  gap: 7px;
  min-height: 83px;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights .local-material-icon {
  width: 56px;
  height: 56px;
  color: rgba(69, 192, 165, 0.78);
  font-size: 20px;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.045);
}

body[data-active-page="home"][data-home-level="full"] .home-highlights strong {
  color: rgba(8, 32, 28, 0.76);
  font-size: 13px;
  font-weight: 600;
}

body[data-active-page="explore"] #mapPanel #mapDestinationSearchForm {
  grid-template-columns: 30px minmax(0, 1fr) 48px !important;
  grid-template-rows: 48px !important;
  gap: 0 !important;
  min-height: 58px !important;
  padding: 4px !important;
  border: 1px solid #dfe9e5 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.1) !important;
}

body[data-active-page="explore"] #mapPanel #mapDestinationSearchInput {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body[data-active-page="explore"] #mapPanel #mapDestinationSearchForm .chip-button {
  display: grid !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  place-items: center !important;
  align-self: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  aspect-ratio: 1;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #45c0a5 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

body[data-active-page="explore"] #mapPanel #mapDestinationSearchForm .chip-button::before {
  display: block;
  margin: 0;
  line-height: 1;
}

/* The Explore dashboard can become visible one frame before its page state updates. */
body:has(#exploreDashboard:not([hidden])) #mapPanel #mapDestinationSearchForm {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 48px !important;
  grid-template-rows: 48px !important;
  gap: 0 !important;
  min-height: 58px !important;
  padding: 4px !important;
  overflow: hidden !important;
  border: 1px solid #dfe9e5 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 32, 28, 0.1) !important;
}

body:has(#exploreDashboard:not([hidden])) #mapPanel #mapDestinationSearchInput {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body:has(#exploreDashboard:not([hidden])) #mapPanel #mapDestinationSearchForm .chip-button {
  display: grid !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  place-items: center !important;
  align-self: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  aspect-ratio: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #45c0a5 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

/* v471: centered map-search arrow and live, real-place suggestions. */
#mapDestinationSearchForm .map-search-arrow-button {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 0 !important;
}

#mapDestinationSearchForm .map-search-arrow-button::before,
body[data-active-page="explore"] #mapPanel #mapDestinationSearchForm .map-search-arrow-button::before,
body:has(#exploreDashboard:not([hidden])) #mapPanel #mapDestinationSearchForm .map-search-arrow-button::before {
  display: none !important;
  content: none !important;
}

#mapDestinationSearchForm .map-search-arrow-button svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  fill: none;
  stroke: #08201c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destination-search-suggestions {
  position: fixed;
  z-index: 12000;
  max-height: min(340px, calc(100dvh - 180px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 12px;
  border: 1px solid #dfe9e5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 32, 28, 0.16);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.destination-search-suggestions[hidden] {
  display: none !important;
}

.destination-suggestion-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 66px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid #edf2f0;
  border-radius: 0;
  background: transparent;
  color: #08201c;
  text-align: left;
  box-shadow: none;
}

.destination-suggestion-item:last-child {
  border-bottom: 0;
}

.destination-suggestion-item:active {
  background: #f5faf8;
}

.destination-suggestion-pin {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f5f4;
  color: #35504a;
}

.destination-suggestion-pin svg,
.destination-suggestion-enter {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destination-suggestion-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.destination-suggestion-copy strong,
.destination-suggestion-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.destination-suggestion-copy strong {
  color: #08201c;
  font-size: 15px;
  font-weight: 700;
}

.destination-suggestion-copy small {
  color: rgba(8, 32, 28, 0.58);
  font-size: 12px;
}

.destination-suggestion-enter {
  color: rgba(8, 32, 28, 0.45);
}

/* v515: keep Baidu's single autocomplete controller, replace its legacy presentation. */
.tangram-suggestion-main {
  z-index: 13000 !important;
  overflow: hidden !important;
  border: 1px solid rgba(8, 32, 28, 0.1) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 44px rgba(8, 32, 28, 0.18) !important;
  font-family: inherit !important;
}

body:not(:has(#homeGatewaySearchInput:focus, #destinationSearchInput:focus, #mapDestinationSearchInput:focus)) .tangram-suggestion-main {
  display: none !important;
}

.tangram-suggestion,
.tangram-suggestion table {
  width: 100% !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
}

.tangram-suggestion table tr td {
  position: relative !important;
  min-height: 62px !important;
  padding: 15px 14px 15px 48px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f0 !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #10211e !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.tangram-suggestion table tr td::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: center / 20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308201c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5 7-11a7 7 0 1 0-14 0c0 6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E");
  transform: translateY(-50%);
}

.tangram-suggestion table tr td .route-icon {
  display: block !important;
  padding: 0 !important;
  background: none !important;
  color: #10211e !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 650 !important;
}

.tangram-suggestion-grey {
  color: #87938f !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.tangram-suggestion-current td,
.tangram-suggestion table tr:active td {
  background-color: #f1faf7 !important;
}

.tangram-suggestion-main [id$="-close"],
.tangram-suggestion-main .tangram-suggestion-close {
  display: none !important;
}

.explorepanda-baidu-suggestion-row td {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 10px !important;
  min-height: 76px !important;
  padding: 11px 14px !important;
}

.explorepanda-baidu-suggestion-row td::before {
  display: none !important;
}

.explorepanda-baidu-pin {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #17332d;
}

.explorepanda-baidu-pin svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.explorepanda-baidu-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.explorepanda-baidu-copy strong,
.explorepanda-baidu-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explorepanda-baidu-copy strong {
  color: #10211e;
  font-size: 15px;
  font-weight: 750;
}

.explorepanda-baidu-copy mark {
  padding: 0;
  background: transparent;
  color: #1d6ee8;
  font: inherit;
}

.explorepanda-baidu-copy small {
  color: #6b7b77;
  font-size: 12px;
  font-weight: 500;
}

.explorepanda-baidu-copy small em {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef7f4;
  color: #287565;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.explorepanda-baidu-distance {
  grid-column: 3;
  align-self: start;
  color: #52645f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.destination-suggestion-distance {
  color: #47615b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .destination-search-suggestions {
    padding-inline: 10px;
  }

  .destination-suggestion-item {
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    gap: 8px;
  }

  .destination-suggestion-pin {
    width: 32px;
    height: 32px;
  }
}

/* v473: live direction marker and a sheet-aware recenter control. */
.map-recenter-control {
  display: none;
}

body[data-active-page="explore"] #mapPanel .map-recenter-control,
body:has(#exploreDashboard:not([hidden])) #mapPanel .map-recenter-control {
  position: absolute;
  right: 16px;
  bottom: calc(var(--nav-height) + 120px + var(--map-sheet-offset, 0px));
  z-index: 22;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(8, 32, 28, 0.1);
  border-radius: 50%;
  background: #ffffff;
  color: #08201c;
  box-shadow: 0 10px 26px rgba(8, 32, 28, 0.17);
  transition: bottom 180ms ease, transform 120ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body[data-active-page="explore"] #mapPanel .map-recenter-control:active {
  transform: scale(0.94);
}

.map-recenter-control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-route-planning="true"] #mapPanel .map-recenter-control {
  display: none !important;
}

.map-recenter-feedback {
  position: absolute;
  right: 76px;
  bottom: calc(var(--nav-height) + 120px + var(--map-sheet-offset, 0px));
  z-index: 23;
  width: max-content;
  max-width: min(264px, calc(100vw - 104px));
  padding: 10px 13px;
  border: 1px solid rgba(8, 32, 28, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #142220;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.42;
  box-shadow: 0 10px 26px rgba(8, 32, 28, 0.16);
  pointer-events: none;
  transition: bottom 180ms ease;
}

.map-recenter-feedback.is-refreshing {
  animation: map-recenter-feedback-pulse 180ms ease-out;
}

body[data-route-planning="true"] #mapPanel .map-recenter-feedback {
  display: none !important;
}

@keyframes map-recenter-feedback-pulse {
  from { opacity: 0.45; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.map-route-detail-actions button.danger {
  border-color: rgba(218, 62, 79, 0.2);
  background: #fff2f4;
  color: #c53647;
}

.map-route-detail-actions.transit {
  grid-template-columns: minmax(0, 1fr);
}

.map-current-location-marker {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  transform: scale(0.88);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.map-current-location-direction {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: rotate(var(--map-heading, 0deg));
  transform-origin: 50% 50%;
  transition: transform 180ms linear;
}

.map-current-location-direction-shape {
  position: absolute;
  left: 0;
  top: -22px;
  display: block;
  width: 46px;
  height: 68px;
  fill: none;
  stroke: none;
  stroke-width: 0;
  overflow: visible;
  filter: none;
}

.map-current-location-direction-shape path {
  fill: rgba(47, 128, 237, 0.48);
  stroke: none;
  stroke-width: 0;
}

.map-current-location-dot {
  position: absolute;
  z-index: 2;
  box-sizing: content-box;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3.5px solid #ffffff;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 2px 8px rgba(8, 32, 28, 0.3);
  transform: translate(-50%, -50%);
}

/* v531: clear, reassuring overseas pre-trip mode. */
.overseas-pretrip-badge[hidden],
.overseas-pretrip-sheet[hidden] {
  display: none !important;
}

body[data-hotel-map-picking="true"] #overseasPretripBadge {
  display: none !important;
}

.overseas-pretrip-badge {
  position: absolute;
  left: 12px;
  top: 62px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(280px, calc(100% - 24px));
  min-height: 44px;
  padding: 7px 12px 7px 9px;
  border: 1px solid rgba(69, 192, 165, 0.3);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  color: #142220;
  box-shadow: 0 10px 26px rgba(8, 32, 28, 0.14);
  backdrop-filter: blur(14px);
  text-align: left;
}

.overseas-pretrip-badge > span:first-child {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.14);
  color: #219b82;
  font-size: 14px;
}

.overseas-pretrip-badge > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.overseas-pretrip-badge strong,
.overseas-pretrip-badge small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overseas-pretrip-badge strong {
  font-size: 12px;
  line-height: 1.25;
}

.overseas-pretrip-badge small {
  color: rgba(20, 34, 32, 0.62);
  font-size: 10px;
  line-height: 1.3;
}

body[data-active-page="explore"] #mapPanel .overseas-pretrip-badge {
  position: fixed;
  top: max(188px, calc(env(safe-area-inset-top) + 180px));
  left: 12px;
  right: auto;
  max-width: min(292px, calc(100vw - 76px));
}

.overseas-pretrip-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.overseas-pretrip-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 24, 21, 0.34);
  backdrop-filter: blur(4px);
}

.overseas-pretrip-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 14px 18px 18px;
  border: 1px solid rgba(8, 32, 28, 0.08);
  border-radius: 26px;
  background: #ffffff;
  color: #142220;
  box-shadow: 0 28px 70px rgba(8, 32, 28, 0.24);
  animation: overseas-pretrip-rise 240ms cubic-bezier(0.22, 0.82, 0.32, 1);
}

.overseas-pretrip-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(20, 34, 32, 0.14);
}

.overseas-pretrip-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0 0 2px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f5f3;
  color: rgba(20, 34, 32, 0.72);
  font-size: 22px;
  line-height: 1;
}

.overseas-pretrip-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(69, 192, 165, 0.2), rgba(116, 208, 188, 0.08));
  color: #219b82;
}

.overseas-pretrip-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.overseas-pretrip-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #219b82;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overseas-pretrip-panel > strong {
  display: block;
  max-width: calc(100% - 18px);
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.overseas-pretrip-panel > p {
  margin: 0;
  color: rgba(20, 34, 32, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.overseas-pretrip-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.overseas-pretrip-actions button {
  width: 100%;
  min-height: 46px;
  border-radius: 15px;
}

.bilingual-ui .overseas-pretrip-eyebrow,
.bilingual-ui .overseas-pretrip-panel > strong,
.bilingual-ui .overseas-pretrip-panel > p,
.bilingual-ui .overseas-pretrip-actions button {
  white-space: pre-line;
}

body.overseas-pretrip-open {
  overflow: hidden;
}

@keyframes overseas-pretrip-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .overseas-pretrip-panel { animation: none; }
}

@media (max-width: 350px) {
  body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
    grid-template-columns: calc(var(--destination-select-width, 112px) + 51px) 40px 40px;
    gap: 6px;
  }

  body[data-active-page="home"][data-home-level="full"] .secondary-home-destination {
    width: calc(var(--destination-select-width, 112px) + 51px);
  }

  body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action {
    width: 40px;
    height: 40px;
  }
}

/* v497: continuous route dashes, softer geometry and compact embedded symbols. */
body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em {
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 2px solid #17201f;
  box-shadow: 0 0 0 3px #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.start {
  background: #2f80ed;
  animation: route-origin-pulse 1.65s ease-in-out infinite;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.start b {
  width: 4px;
  height: 4px;
  background: #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.end {
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points > i {
  left: 19px;
  width: 2px;
  transform: translateX(-50%);
}

/* v793: consolidate the complete Go workflow into the Tools dashboard. */
.tools-dashboard {
  gap: 0;
  padding: 18px 16px 20px;
}

.tools-dashboard .tools-premium-head {
  margin-bottom: 14px;
}

.tools-dashboard .tool-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 0;
}

.tools-dashboard .tool-featured-grid button {
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-content: center;
  min-height: 76px;
  padding: 12px;
  border-color: rgba(25, 38, 52, 0.08);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(20, 36, 52, 0.04);
}

.tools-dashboard .tool-featured-grid button > i {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.1);
  color: var(--brand-solid);
}

.tools-dashboard .tool-featured-grid button > i svg {
  width: 20px;
  height: 20px;
}

.tools-dashboard .tool-featured-grid button > strong,
.tools-dashboard .tool-featured-grid button > small {
  grid-column: 2;
  text-align: left;
}

.tools-dashboard .tool-featured-grid button > strong {
  align-self: end;
  font-size: 14px;
}

.tools-dashboard .tool-featured-grid button > small {
  align-self: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tools-dashboard .tool-featured-grid button > em {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  place-items: center;
  color: rgba(21, 33, 47, 0.34);
}

.tools-dashboard .tool-featured-grid button > em svg {
  width: 16px;
  height: 16px;
}

.tools-dashboard > .journey-center-section {
  margin-top: 24px;
}

.tools-dashboard .tools-travel-integration {
  gap: 12px;
}

.tools-travel-title > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tools-travel-title small {
  color: rgba(21, 33, 47, 0.48);
  font-size: 11px;
}

.tools-journey-workspace {
  display: grid;
  gap: 0;
  padding-top: 2px;
}

.tools-journey-workspace > .journey-center-head {
  padding: 14px 14px 0;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
}

.tools-journey-workspace > .journey-center-head span {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.tools-journey-workspace > .journey-center-head strong {
  font-size: 18px;
}

.tools-journey-workspace > .journey-route-form {
  margin-top: 0;
  padding-top: 8px;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.tools-journey-workspace > .journey-route-form .journey-route-point {
  min-height: 58px;
}

.tools-journey-workspace .journey-primary-modes {
  gap: 8px;
  margin-top: 12px;
}

.tools-journey-workspace .journey-primary-modes button {
  min-height: 64px;
  border-radius: 14px;
}

.tools-journey-workspace > .journey-center-section {
  margin-top: 20px;
}

.tools-dashboard .tool-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tools-dashboard .tool-service-grid button {
  min-height: 72px;
  padding: 11px 10px;
  border-radius: 14px;
}

.go-integrated-notice {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 18px 30px;
  text-align: center;
}

.go-integrated-notice > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.11);
  color: var(--brand-solid);
}

.go-integrated-notice svg {
  width: 26px;
  height: 26px;
}

.go-integrated-notice strong {
  font-size: 18px;
}

.go-integrated-notice p {
  max-width: 280px;
  margin: 0;
  color: rgba(21, 33, 47, 0.56);
  font-size: 13px;
  line-height: 1.55;
}

.go-integrated-notice button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-solid);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 360px) {
  .tools-dashboard .tool-featured-grid {
    grid-template-columns: 1fr;
  }

  .tools-dashboard .tool-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v747: keep the room field hierarchy aligned with location and date fields. */
.hotel-field-room-wrap {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.hotel-field-room-wrap > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.hotel-guest-row {
  align-items: end;
}

.hotel-guest-row .hotel-field-occupancy,
.hotel-guest-row .primary-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  height: 46px;
  border-radius: 18px;
}

.hotel-guest-row .hotel-field-occupancy {
  display: flex;
  align-items: center;
  padding: 0 36px 0 12px;
}

.hotel-guest-row .hotel-field-occupancy strong {
  font-size: 15px;
  line-height: 1;
}

body[data-stay-standalone="true"] .hotel-guest-row {
  grid-template-columns: minmax(0, 1.45fr) minmax(112px, .75fr) !important;
}

.hotel-guest-row .hotel-field-occupancy {
  grid-area: auto;
}

.hotel-occupancy-panel .hotel-room-guest-card > header {
  display: flex;
  grid-template-columns: none;
  width: 100%;
  text-align: left;
}

.hotel-occupancy-panel .hotel-room-guest-card > header button {
  width: auto;
  height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: 11px;
}

body[data-stay-standalone="true"] .hotel-detail-cta {
  right: 16px;
  left: 16px;
  width: auto;
  max-width: none;
  border: 1px solid rgba(8, 32, 28, .08);
  border-radius: 18px 18px 0 0;
}

body[data-stay-standalone="true"] .hotel-occupancy-sheet {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

body[data-stay-standalone="true"] .hotel-occupancy-sheet.hidden {
  display: none;
}

body[data-stay-standalone="true"] .hotel-occupancy-sheet .hotel-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

body[data-stay-standalone="true"] .hotel-occupancy-panel {
  position: fixed;
  top: var(--hotel-occupancy-top, 220px);
  left: var(--hotel-occupancy-left, 16px);
  width: var(--hotel-occupancy-width, calc(100vw - 32px));
  max-height: min(360px, calc(100dvh - 32px));
  margin: 0;
  padding: 10px 14px 14px;
  border: 1px solid rgba(8, 32, 28, .1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(8, 32, 28, .18);
  pointer-events: auto;
}

body[data-stay-standalone="true"] .hotel-detail-cta {
  bottom: calc(max(var(--nav-height), env(safe-area-inset-bottom)) + 10px);
  grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
  min-height: 70px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 36px rgba(15, 61, 53, .14);
}

body[data-stay-standalone="true"] .hotel-detail-cta > div {
  min-width: 0;
}

body[data-stay-standalone="true"] .hotel-detail-cta > div small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

body[data-stay-standalone="true"] .hotel-detail-cta .primary-button {
  width: 100%;
  min-width: 132px;
  min-height: 46px;
  padding-inline: 14px;
  border-radius: 14px;
  white-space: nowrap;
}

/* v726: complete mobile travel-flow polish. */
@media (max-width: 520px) {
  body[data-stay-standalone="true"] .stay-service,
  body[data-ticket-standalone="true"] .ticket-booking {
    --standalone-page-top-gap: 56px;
  }
  body[data-stay-standalone="true"] .hotel-page-shell,
  body[data-ticket-standalone="true"] .ticket-page-shell {
    padding-top: 0 !important;
  }
}

.date-selection-note {
  margin: -2px 2px 0;
  color: #73837f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

input[type="date"] { accent-color: var(--brand-green, #45c0a5); }

[data-app-date-picker="true"] { cursor: pointer; caret-color: transparent; }
.app-date-picker.hidden { display: none !important; }
body.app-date-picker-open { overflow: hidden !important; }
.app-date-picker { position: fixed; inset: 0; z-index: 220; }
.app-date-picker-backdrop { position: absolute; inset: 0; border: 0; background: rgba(8, 32, 28, .24); backdrop-filter: blur(2px); }
.app-date-picker-panel { position: fixed; width: min(320px, calc(100vw - 32px)); padding: 12px 12px 14px; overflow: hidden; border: 1px solid rgba(8, 32, 28, .08); border-radius: 22px; background: #fff; box-shadow: 0 16px 44px rgba(8, 32, 28, .22); }
.app-date-picker-toolbar { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin: 0 0 6px; }
.app-date-picker-toolbar strong { text-align: center; font-size: 16px; }
.app-date-picker-toolbar button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 50%; background: #f2f7f5; color: var(--brand-green, #2aa88d); }
.app-date-picker-toolbar button { color: var(--brand-green, #2aa88d); }
.app-date-picker-toolbar button::before,
.app-date-picker-toolbar button::after { display: none !important; content: none !important; }
.app-date-picker-toolbar button svg { display: block; width: 19px; height: 19px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; transform: none; }
.app-date-picker-toolbar button:disabled { color: #cbd2d0; background: #f7f9f8; }
.app-date-picker-week,
.app-date-picker-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px 0; }
.app-date-picker-week span { padding: 6px 0 4px; color: #7d8987; text-align: center; font-size: 11px; font-weight: 750; }
.app-date-picker-grid button,
.app-date-picker-empty { min-width: 0; height: 42px; }
.app-date-picker-grid button { display: grid; min-width: 0; height: 42px; place-items: center; padding: 0; border: 0; background: transparent; color: #153c34; font: inherit; font-weight: 800; }
.app-date-picker-grid button span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; }
.app-date-picker-grid button.today:not(.selected) span { color: var(--brand-green, #2aa88d); box-shadow: inset 0 0 0 1.5px rgba(69, 192, 165, .72); }
.app-date-picker-grid button.selected span { background: var(--brand-green, #45c0a5); color: #fff; box-shadow: 0 5px 13px rgba(35, 160, 134, .22); }
.app-date-picker-grid button:disabled { color: #cdd3d1; text-decoration: none; }

.hotel-filter-bar button {
  display: inline-flex !important;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 0 5px !important;
}

.hotel-filter-bar button::after {
  position: static !important;
  flex: 0 0 auto;
  transform: translateY(-2px) rotate(45deg) !important;
}

.hotel-live-price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: end;
  margin-top: auto;
}

.hotel-live-price strong,
.hotel-live-price .hotel-detail-link {
  align-self: center;
  line-height: 34px !important;
}

.ticket-attraction-fields {
  display: grid;
  gap: 9px;
}

.ticket-attraction-fields[hidden] { display: none !important; }
.ticket-passenger-row.single { grid-template-columns: minmax(0, 1fr) !important; }
.ticket-passenger-row label[hidden] { display: none !important; }

.ticket-play-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ticket-play-categories button {
  min-width: 0;
  min-height: 36px;
  padding: 5px 3px;
  border: 1px solid rgba(69, 192, 165, .18);
  border-radius: 12px;
  background: #f5faf8;
  color: #50635e;
  font-size: 11px;
  font-weight: 850;
}

.ticket-play-categories button.active {
  border-color: rgba(8, 122, 104, .3);
  background: rgba(69, 192, 165, .14);
  color: #08201c;
}

.ticket-attraction-picker-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(25, 38, 52, .08);
  border-radius: 16px;
  background: #fff;
}

.ticket-attraction-picker-context span { color: var(--muted); font-size: 11px; }
.ticket-attraction-picker-context strong { font-size: 15px; }
.ticket-attraction-picker-context button {
  border: 0;
  background: transparent;
  color: #08201c;
  font-size: 12px;
  font-weight: 850;
}

.ticket-play-categories-picker { margin-top: 10px; }

.continent-browser {
  margin-top: 14px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(8, 122, 104, .14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(69,192,165,.07), #fff 92px);
}

.continent-browser > header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.continent-browser > header small,
.continent-result-label {
  color: #778782;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
}

.continent-browser > header h3 { margin: 3px 0 0 !important; font-size: 14px !important; }
.continent-browser > header > strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #45c0a5;
  color: #fff;
  font-size: 10px;
}

.continent-result-label {
  margin: 13px 2px 7px;
  padding-top: 11px;
  border-top: 1px solid rgba(8,122,104,.1);
}

#hotelRegionPage,
#ticketCityPage {
  min-height: 0 !important;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  overscroll-behavior-y: contain;
}

.explorepanda-booking-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.booking-external-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.booking-external-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 20px;
  background: rgba(69, 192, 165, .14);
  color: #08201c;
}

.booking-external-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-external-card h3 { margin: 0; color: var(--text); font-size: 19px; }
.booking-external-card p { max-width: 330px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.booking-external-card .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 48px;
  margin-top: 6px;
  text-decoration: none;
}

/* v727: one scroll owner for every long hotel and ticket child page. */
body.module-standalone-open main > .service-module-standalone-active:has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  overflow: hidden !important;
  padding-bottom: 0 !important;
}

body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell):has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.module-standalone-open :is(.hotel-subpage, .ticket-subpage):not(.hidden) {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.hotel-detail-link span {
  display: inline-grid;
  width: 14px;
  height: 34px;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

/* v723 final travel booking overrides: intentionally last in the cascade. */
#hotelRegionPage .alpha-index,
#ticketCityPage .alpha-index {
  position: sticky !important;
  top: 154px !important;
  right: auto !important;
  width: 24px !important;
  max-height: calc(100dvh - 176px) !important;
  padding: 3px 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 2px 10px rgba(15,61,53,.06) !important;
}

#hotelRegionPage .alpha-index button,
#ticketCityPage .alpha-index button {
  width: 24px !important;
  min-width: 24px !important;
  min-height: 17px !important;
  font-size: 9px !important;
}

.hotel-filter-sheet {
  inset: 0 !important;
  pointer-events: none;
}

.hotel-filter-sheet .hotel-sheet-backdrop {
  top: var(--hotel-filter-top, 150px) !important;
  background: rgba(17,27,34,.28) !important;
  pointer-events: auto;
}

.hotel-filter-sheet .hotel-sheet-panel {
  top: var(--hotel-filter-top, 150px) !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: min(66dvh, 590px) !important;
  margin: 0 !important;
  grid-template-rows: auto minmax(0,1fr) auto !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 18px 36px rgba(20,42,50,.16) !important;
  pointer-events: auto;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-panel {
  height: 300px !important;
  max-height: 300px !important;
  grid-template-rows: auto minmax(0,1fr) !important;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-actions { display: none !important; }

.hotel-filter-sheet .hotel-sheet-content {
  display: block !important;
  padding: 0 18px 18px !important;
  overflow-y: auto !important;
}

.hotel-filter-sheet .hotel-sheet-content > section {
  display: block !important;
  width: 100% !important;
}

.hotel-filter-sheet .hotel-sheet-content > section + section { margin-top: 22px !important; }

.hotel-filter-sheet .hotel-sheet-content section > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 9px !important;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-content section > div {
  grid-template-columns: 1fr !important;
}

.hotel-filter-sheet[data-panel="smart"] .hotel-sheet-content button {
  justify-content: space-between !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: left !important;
}

.hotel-filter-sheet .hotel-sheet-content button.info-only {
  color: #65736f !important;
  cursor: default;
}

.hotel-filter-sheet .hotel-sheet-content button.info-only small {
  color: #8b9895;
  font-size: 9px;
}

.hotel-detail-link {
  display: inline-flex !important;
  gap: 3px;
  align-items: center;
  justify-self: end;
  min-height: 34px;
  padding: 0 3px 0 10px !important;
  border: 0 !important;
  background: transparent !important;
  color: #08201c !important;
  font-size: 12px;
  font-weight: 850;
}

.ticket-summary-route {
  grid-template-columns: minmax(0,1fr) 44px minmax(0,1fr) !important;
}

.ticket-summary-route > strong:first-child { text-align: right; }
.ticket-summary-route > strong:last-child { text-align: left; }
.ticket-summary-route > span { justify-self: center; }

.ticket-itinerary-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 86px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  margin: 9px 0;
}

.ticket-itinerary-row > div {
  display: grid;
  gap: 3px;
}

.ticket-itinerary-row > div:last-child { text-align: right; }

.ticket-itinerary-row strong {
  font-size: 22px;
  line-height: 1;
}

.ticket-itinerary-row span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-itinerary-row i {
  display: grid;
  gap: 3px;
  align-items: center;
  color: var(--muted);
  font-style: normal;
  text-align: center;
}

.ticket-itinerary-row i b {
  position: relative;
  display: block;
  height: 1px;
  background: #a9cfc6;
}

.ticket-itinerary-row i b::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #4d9d8a;
  border-right: 1.5px solid #4d9d8a;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.ticket-itinerary-row small,
.ticket-itinerary-row em {
  font-size: 9px;
  font-style: normal;
}

.ticket-result-badges {
  display: flex;
  gap: 6px;
  margin: 7px 0;
}

.ticket-result-badges span {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(69,192,165,.1);
  color: #08201c;
  font-size: 10px;
  font-weight: 800;
}

/* v662 final cascade: city-only location with current weather restored. */
.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
}

.app-header .top-context-chip span,
body[data-active-page="explore"] .app-header .top-context-chip span {
  display: block !important;
  width: 100% !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.app-header #topTravelMeta,
body[data-active-page="explore"] .app-header #topTravelMeta {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  margin: 2px 0 0 !important;
  color: #64716d !important;
  font-size: 9px !important;
  font-weight: 550 !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-header #topTravelMeta::before,
body[data-active-page="explore"] .app-header #topTravelMeta::before {
  display: none !important;
}

.app-header .language-control,
body[data-active-page="explore"] .app-header .language-control {
  position: relative !important;
  display: flex !important;
  width: 76px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-header .language-native-select,
body[data-active-page="explore"] .app-header .language-native-select {
  display: none !important;
}

.weekly-weather-sheet[hidden] {
  display: none !important;
}

.weekly-weather-sheet {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.weekly-weather-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(12, 28, 24, 0.28);
  -webkit-tap-highlight-color: transparent;
}

.weekly-weather-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 560px);
  max-height: min(78dvh, 670px);
  padding: 16px 18px max(18px, env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -16px 42px rgba(13, 38, 31, 0.16);
  overflow: hidden;
  animation: weekly-weather-rise 220ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes weekly-weather-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.weekly-weather-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.weekly-weather-head > div {
  display: grid;
  gap: 3px;
}

.weekly-weather-head small {
  color: #64716d;
  font-size: 11px;
  font-weight: 650;
}

.weekly-weather-head strong {
  color: #14221f;
  font-size: 18px;
  font-weight: 780;
}

.weekly-weather-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f3;
  color: #43514d;
  font-size: 23px;
  line-height: 1;
}

.weekly-weather-current {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 12px;
  min-height: 74px;
  margin: 8px 0 10px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #edf8f4;
}

.weekly-weather-current > span {
  grid-column: 1;
  color: #508075;
  font-size: 10px;
  font-weight: 700;
}

.weekly-weather-current > strong {
  grid-column: 1;
  color: #45c0a5;
  font-size: 30px;
  line-height: 1;
}

.weekly-weather-current > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: #263a35;
  font-size: 13px;
  line-height: 1.5;
}

.weekly-weather-list {
  max-height: calc(min(78dvh, 670px) - 192px - max(18px, env(safe-area-inset-bottom)));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.weekly-weather-list::-webkit-scrollbar {
  display: none;
}

.weekly-weather-day {
  display: grid;
  grid-template-columns: minmax(92px, 1.2fr) minmax(70px, 1fr) auto;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #edf1ef;
  color: #2d3b37;
  font-size: 12px;
}

.weekly-weather-day:last-child {
  border-bottom: 0;
}

.weekly-weather-day strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-weather-day.is-today strong {
  color: #45c0a5;
}

.weekly-weather-temperature {
  color: #16231f;
  font-weight: 720;
  text-align: right;
}

.weekly-weather-status {
  margin: 0;
  padding: 28px 8px;
  color: #66736f;
  font-size: 13px;
  text-align: center;
}

.weekly-weather-source {
  display: block;
  margin-top: 9px;
  color: #89938f;
  font-size: 9px;
  text-align: right;
}

body.weekly-weather-open {
  overflow: hidden;
}

.rtl-ui .weekly-weather-panel {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .weekly-weather-panel { animation: none; }
}

/* v663: multi-day weather is a full detail page, not a bottom action sheet. */
.weekly-weather-page[hidden] {
  display: none !important;
}

.weekly-weather-page {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  justify-content: center;
  background: #eef3f1;
}

.weekly-weather-page .weekly-weather-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(100%, 560px);
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 0 34px rgba(15, 38, 32, 0.1);
  overflow: hidden;
  transform-origin: center;
  animation: weather-detail-enter 180ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes weather-detail-enter {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.weekly-weather-page .weekly-weather-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  flex: 0 0 auto;
  min-height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 10px 0;
  border-bottom: 1px solid #edf1ef;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.weekly-weather-page .weekly-weather-head > strong {
  grid-column: 2;
  overflow: hidden;
  color: #14221f;
  font-size: 16px;
  font-weight: 720;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-weather-page .weekly-weather-head > button {
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 2px 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #172520;
  font-size: 33px;
  font-weight: 300;
  line-height: 1;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.weekly-weather-page .weekly-weather-head > span {
  grid-column: 3;
}

.weekly-weather-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.weekly-weather-content::-webkit-scrollbar {
  display: none;
}

.weekly-weather-city {
  display: block;
  overflow: hidden;
  color: #172520;
  font-size: 23px;
  font-weight: 760;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-weather-page .weekly-weather-current {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  justify-items: center;
  min-height: 0;
  margin: 9px 0 26px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.weekly-weather-page .weekly-weather-current > span {
  grid-column: 1;
  grid-row: 1;
  color: #70807b;
  font-size: 10px;
  font-weight: 650;
}

.weekly-weather-page .weekly-weather-current > strong {
  grid-column: 1;
  grid-row: 2;
  margin-top: 5px;
  color: #45c0a5;
  font-size: 54px;
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -2px;
}

.weekly-weather-page .weekly-weather-current > p {
  grid-column: 1;
  grid-row: 3;
  margin: 9px 0 0;
  color: #364641;
  font-size: 14px;
  font-weight: 580;
  text-align: center;
}

.weekly-weather-page .weekly-weather-list {
  max-height: none;
  border-top: 1px solid #e7edeb;
  overflow: visible;
}

.weekly-weather-page .weekly-weather-day {
  min-height: 54px;
  font-size: 12px;
}

.weekly-weather-page .weekly-weather-day strong {
  font-size: 12px;
}

.weekly-weather-page .weekly-weather-source {
  margin-top: 14px;
}

body.weekly-weather-open {
  overflow: hidden;
}

.rtl-ui .weekly-weather-page .weekly-weather-panel {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .weekly-weather-page .weekly-weather-panel { animation: none; }
}

/* v664: weather follows the same anchored popover pattern as language selection. */
.weekly-weather-popover[hidden] {
  display: none !important;
}

.weekly-weather-popover {
  position: fixed;
  inset: 0;
  z-index: 10030;
  pointer-events: none;
}

.weekly-weather-popover-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.weekly-weather-popover .weekly-weather-panel {
  position: fixed;
  top: var(--weekly-weather-top, calc(env(safe-area-inset-top) + 56px));
  left: var(--weekly-weather-left, 12px);
  display: block;
  box-sizing: border-box;
  width: min(342px, calc(100vw - 24px));
  height: auto;
  max-height: min(72dvh, calc(100dvh - var(--weekly-weather-top, 62px) - 12px));
  padding: 0;
  border: 1px solid rgba(20, 45, 39, 0.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 30, 26, 0.16), 0 2px 8px rgba(11, 30, 26, 0.08);
  overflow: hidden;
  pointer-events: auto;
  transform-origin: 26px 0;
  animation: weekly-weather-popover-in 150ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes weekly-weather-popover-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.weekly-weather-popover .weekly-weather-content {
  max-height: min(72dvh, calc(100dvh - var(--weekly-weather-top, 62px) - 12px));
  padding: 14px 14px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.weekly-weather-popover .weekly-weather-content::-webkit-scrollbar {
  display: none;
}

.weekly-weather-popover-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.weekly-weather-popover .weekly-weather-city {
  display: block;
  min-width: 0;
  color: #172520;
  font-size: 17px;
  font-weight: 760;
  text-align: left;
}

.weekly-weather-popover-heading > span {
  flex: 0 0 auto;
  color: #74817d;
  font-size: 10px;
  font-weight: 650;
}

.weekly-weather-popover .weekly-weather-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: end;
  justify-items: start;
  column-gap: 10px;
  min-height: 60px;
  margin: 8px 0 7px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #edf8f4;
}

.weekly-weather-popover .weekly-weather-current > span {
  grid-column: 1;
  grid-row: 1;
  color: #45c0a5;
  font-size: 9px;
  font-weight: 700;
}

.weekly-weather-popover .weekly-weather-current > strong {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #45c0a5;
  font-size: 31px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -1px;
}

.weekly-weather-popover .weekly-weather-current > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: #30413c;
  font-size: 13px;
  font-weight: 580;
  text-align: left;
}

.weekly-weather-popover .weekly-weather-list {
  max-height: none;
  border-top: 1px solid #e7edeb;
  overflow: visible;
}

.weekly-weather-popover .weekly-weather-day {
  grid-template-columns: minmax(88px, 1.1fr) minmax(70px, 1fr) auto;
  min-height: 46px;
  font-size: 11px;
}

.weekly-weather-popover .weekly-weather-day strong {
  font-size: 11px;
}

.weekly-weather-popover .weekly-weather-temperature {
  font-size: 11px;
}

body.weekly-weather-open {
  overflow: auto;
}

.rtl-ui .weekly-weather-popover .weekly-weather-panel {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .weekly-weather-popover .weekly-weather-panel { animation: none; }
}

/* v609 — one independent-page frame across every service. */
body.module-standalone-open {
  --independent-safe-top: env(safe-area-inset-top, 0px);
  --independent-safe-bottom: env(safe-area-inset-bottom, 0px);
  --independent-bar-height: 56px;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  overscroll-behavior: none;
}

body.module-standalone-open .app-header,
body.module-standalone-open .bottom-nav {
  display: none !important;
}

body.module-standalone-open .phone-shell,
body.module-standalone-open main {
  width: 100% !important;
  max-width: 460px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.module-standalone-open main {
  display: block !important;
}

body.module-standalone-open main > .service-module-standalone-active {
  display: block !important;
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 16px calc(24px + var(--independent-safe-bottom)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

body.module-standalone-open main > .service-module-standalone-active::-webkit-scrollbar {
  display: none;
}

body.module-standalone-open .service-module-standalone-active > .section-title {
  display: none !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  align-items: end !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  margin: 0 -16px 16px !important;
  padding: var(--independent-safe-top) 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > button:first-child {
  display: grid !important;
  place-items: center !important;
  align-self: end !important;
  width: 48px !important;
  height: var(--independent-bar-height) !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #15212f !important;
  box-shadow: none !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > button:first-child svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > strong,
body.module-standalone-open .ride-topbar > div {
  display: grid !important;
  align-self: end !important;
  place-items: center !important;
  min-width: 0 !important;
  height: var(--independent-bar-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.module-standalone-open .module-back-bar > strong,
body.module-standalone-open .ride-topbar > div > strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #15212f !important;
  font-size: 17px !important;
  font-weight: 760 !important;
  line-height: var(--independent-bar-height) !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.module-standalone-open .module-back-actions,
body.module-standalone-open :is(.module-back-bar, .ride-topbar) > i,
body.module-standalone-open .ride-topbar > :last-child:not(div):not(button:first-child) {
  display: grid !important;
  place-items: center !important;
  align-self: end !important;
  min-width: 0 !important;
  height: var(--independent-bar-height) !important;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
}

body.module-standalone-open .module-back-actions > button,
body.module-standalone-open .ride-topbar > button:not(:first-child) {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #08201c !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body.module-standalone-open .ride-topbar small {
  display: none !important;
}

body.module-standalone-open #rideService.service-module-standalone-active {
  padding-inline: 16px !important;
}

body.module-standalone-open #rideService .ride-service-panel {
  min-height: 100% !important;
  background: #ffffff !important;
}

body.module-standalone-open #rideService .ride-topbar {
  margin-bottom: 0 !important;
}

body.module-standalone-open .traveler-toolkit .toolkit-tabs {
  margin-top: 0 !important;
}

body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

@media (min-width: 700px) {
  body.module-standalone-open {
    padding: 24px 0 !important;
    background: #eef3f1 !important;
  }

  body.module-standalone-open .phone-shell,
  body.module-standalone-open main,
  body.module-standalone-open main > .service-module-standalone-active {
    height: calc(100dvh - 48px) !important;
    min-height: calc(100dvh - 48px) !important;
    max-height: calc(100dvh - 48px) !important;
    border-radius: 24px !important;
  }
}

/* v659: frameless top context controls with a stable, single language chevron. */
.app-header,
body[data-active-page="explore"] .app-header {
  grid-template-columns: 92px minmax(0, 1fr) 92px !important;
}

.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  padding: 5px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.app-header .language-control,
body[data-active-page="explore"] .app-header .language-control {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 72px !important;
  height: 44px !important;
  gap: 3px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.app-header .language-control .language-select,
body[data-active-page="explore"] .app-header .language-control .language-select {
  grid-column: auto !important;
  width: 55px !important;
  min-width: 55px !important;
  max-width: 55px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  color: #142220 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 44px !important;
  text-align: right !important;
  text-align-last: right !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.app-header .language-chevron,
body[data-active-page="explore"] .app-header .language-chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #53605d;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

@media (max-width: 370px) {
  .app-header,
  body[data-active-page="explore"] .app-header {
    grid-template-columns: 88px minmax(0, 1fr) 76px !important;
  }

  .app-header .language-control,
  body[data-active-page="explore"] .app-header .language-control {
    width: 70px !important;
  }
}

/* Account-center informational copy; scoped so the v533 home presentation is unchanged. */
#accountCenter .account-list-copy {
  padding: 14px 15px;
  border-bottom: 1px solid rgba(20, 34, 32, 0.08);
}

#accountCenter .account-list-copy:last-child {
  border-bottom: 0;
}

#accountCenter .account-list-copy strong {
  display: block;
  color: #142220;
  font-size: 14px;
  line-height: 1.45;
}

#accountCenter .account-list-copy p {
  margin: 5px 0 0;
  color: #65716f;
  font-size: 13px;
  line-height: 1.65;
}

/* v519: brand-color roles for the route handoff actions. */
body[data-active-page="explore"] #mapPanel [data-map-result-action="route"],
body[data-active-page="explore"] #mapPanel .map-route-action-row [data-map-route-action="detail"],
body[data-active-page="explore"] #mapPanel .map-route-navigation-actions [data-map-route-action="detail"] {
  border-color: #dfe9e5 !important;
  background: #f5faf8 !important;
  color: #08201c !important;
}

body[data-active-page="explore"] #mapPanel [data-map-result-action="taxi"],
body[data-active-page="explore"] #mapPanel .map-route-action-row [data-map-route-action="taxi"] {
  border-color: #ff6f61 !important;
  background: #ff6f61 !important;
  color: #08201c !important;
}

body[data-active-page="explore"] #mapPanel [data-map-result-action="nav"],
body[data-active-page="explore"] #mapPanel .map-route-action-row [data-map-route-action="start"],
body[data-active-page="explore"] #mapPanel .map-route-detail-actions [data-map-route-action="start"] {
  border-color: #45c0a5 !important;
  background: #45c0a5 !important;
  color: #08201c !important;
}

/* v516: one official Baidu suggestion response, rendered as a native-quality app list. */
.tangram-suggestion-main {
  display: none !important;
}

.destination-search-suggestions {
  z-index: 13000;
  box-sizing: border-box;
  max-height: min(420px, calc(100dvh - 176px));
  padding: 4px 16px;
  border: 1px solid rgba(8, 32, 28, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 52px rgba(8, 32, 28, 0.18), 0 2px 8px rgba(8, 32, 28, 0.07);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  scrollbar-width: none;
}

.destination-search-suggestions::-webkit-scrollbar {
  display: none;
}

.destination-suggestion-item {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 70px;
  padding: 11px 0;
  border-bottom-color: rgba(8, 32, 28, 0.08);
  border-radius: 0;
  transition: background-color 120ms ease, transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.destination-suggestion-item.is-active,
.destination-suggestion-item:active {
  background: #f0faf7;
}

.destination-suggestion-item:active {
  transform: scale(0.995);
}

.destination-suggestion-pin {
  align-self: start;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border: 1px solid rgba(29, 111, 96, 0.09);
  background: #eff7f5;
  color: #1d6f60;
}

.destination-suggestion-pin svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.destination-suggestion-copy {
  align-self: center;
  gap: 5px;
}

.destination-suggestion-copy strong {
  color: #10211e;
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.1px;
}

.destination-suggestion-copy strong mark {
  padding: 0;
  background: transparent;
  color: #168875;
  font: inherit;
}

.destination-suggestion-copy small {
  color: #70807c;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.destination-suggestion-copy small em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 5px;
  background: #eaf7f3;
  color: #187563;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  vertical-align: 1px;
}

.destination-suggestion-distance {
  align-self: start;
  margin-top: 4px;
  color: #60716d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

@media (max-width: 390px) {
  .destination-search-suggestions {
    padding-inline: 13px;
    border-radius: 18px;
  }

  .destination-suggestion-item {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 66px;
  }

  .destination-suggestion-pin {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .destination-suggestion-item {
    transition: none;
  }
}

/* v504: recommended cities are a pure map-entry control on both home levels. */
.home-gateway-destination {
  width: 54px !important;
  max-width: 54px !important;
  margin-top: 24px !important;
}

.home-city-recommendation-trigger {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: visible;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  color: #45c0a5;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.065);
  isolation: isolate;
}

.home-city-recommendation-trigger::before {
  position: absolute;
  inset: 8px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(69, 192, 165, 0.38);
  border-radius: 50%;
  content: "";
  animation: home-city-pin-pulse 1.9s ease-out infinite;
}

.home-city-recommendation-trigger svg {
  position: relative;
  z-index: 1;
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: home-city-pin-float 1.9s ease-in-out infinite;
}

.home-city-recommendation-trigger:active {
  transform: scale(0.96);
}

@keyframes home-city-pin-pulse {
  0% { opacity: 0.55; transform: scale(0.68); }
  68%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes home-city-pin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
  display: grid !important;
  grid-template-columns: 52px 44px 44px !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: 8px !important;
}

body[data-active-page="home"][data-home-level="full"] #secondaryHomeCityButton {
  width: 52px;
  height: 52px;
}

.home-city-recommendation-sheet {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(8, 32, 28, 0.3);
  backdrop-filter: blur(8px);
}

.home-city-recommendation-sheet[hidden] {
  display: none !important;
}

.home-city-recommendation-sheet > section {
  width: min(100%, 428px);
  margin: 0 auto max(4px, env(safe-area-inset-bottom));
  padding: 18px;
  border: 1px solid rgba(8, 32, 28, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 56px rgba(8, 32, 28, 0.2);
}

.home-city-recommendation-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-city-recommendation-sheet header strong {
  color: #08201c;
  font-size: 18px;
  font-weight: 900;
}

.home-city-recommendation-sheet header button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5faf8;
  color: #08201c;
  font-size: 24px;
  line-height: 1;
}

.home-city-recommendation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-city-recommendation-list button {
  min-width: 0;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid #dfe9e5;
  border-radius: 15px;
  background: #f5faf8;
  color: #08201c;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.home-city-recommendation-list button:active,
.home-city-recommendation-list button:focus-visible {
  border-color: #45c0a5;
  background: rgba(69, 192, 165, 0.14);
  outline: none;
}

body.home-city-recommendations-open {
  overflow: hidden;
}

/* v505: restore the secondary-home locate/map actions and center bottom-nav content. */
body[data-active-page="home"][data-home-level="full"] .secondary-home-context-action {
  width: 44px;
  height: 44px;
}

.bottom-nav {
  align-items: center;
}

.bottom-nav a,
.bilingual-ui .bottom-nav a {
  box-sizing: border-box;
  align-content: center;
  justify-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.bottom-nav svg,
.bottom-nav span {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* v506: restore the v503-height elastic recommendation rail without restoring planning coupling. */
.home-gateway-destination {
  width: fit-content !important;
  max-width: calc(100vw - 32px) !important;
}

.home-city-recommendation-trigger,
body[data-active-page="home"][data-home-level="full"] #secondaryHomeCityButton {
  display: inline-grid;
  grid-template-columns: 22px max-content;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  max-width: calc(100vw - 32px);
  height: 42px;
  padding: 0 11px;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.home-city-recommendation-trigger:focus {
  outline: none;
}

.home-city-recommendation-trigger:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(69, 192, 165, 0.62), 0 8px 20px rgba(8, 32, 28, 0.065);
}

.home-city-recommendation-trigger::before {
  display: none;
}

.home-city-recommendation-trigger svg {
  width: 18px !important;
  height: 18px !important;
  animation: none;
}

.home-city-recommendation-label {
  display: block;
  max-width: min(180px, calc(100vw - 190px));
  overflow: hidden;
  color: #08201c;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
  padding-bottom: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-active-page="home"][data-home-level="full"] .secondary-home-context-row {
  grid-template-columns: max-content 44px 44px !important;
}

/* v507: anchored city dropdown and geometrically centered locator pulse. */
.home-city-recommendation-sheet {
  display: block;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.home-city-recommendation-sheet > section {
  position: fixed;
  left: var(--home-city-dropdown-left, 12px);
  top: var(--home-city-dropdown-top, 120px);
  width: var(--home-city-dropdown-width, min(300px, calc(100vw - 24px)));
  max-height: calc(100dvh - var(--home-city-dropdown-top, 120px) - 12px);
  margin: 0;
  padding: 10px;
  overflow: auto;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(8, 32, 28, 0.18);
  transform-origin: top left;
  animation: home-city-dropdown-in 160ms ease-out;
}

.home-city-recommendation-sheet header {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.home-city-recommendation-list {
  gap: 7px;
}

.home-city-recommendation-list button {
  min-height: 44px;
  border-radius: 12px;
}

@keyframes home-city-dropdown-in {
  from { opacity: 0; transform: translateY(-5px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* v588: one owner for localized city names; keep icon and bilingual label aligned. */
.home-city-recommendation-trigger,
body[data-active-page="home"][data-home-level="full"] #secondaryHomeCityButton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.home-city-recommendation-pin {
  flex: 0 0 18px;
}

.home-city-recommendation-label {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap !important;
}

.bilingual-ui .bottom-nav span {
  white-space: pre-line !important;
}

/* v510: static recommendation location symbol without decorative waves. */
.home-city-recommendation-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  overflow: visible;
  isolation: isolate;
}

.home-city-recommendation-pin::before,
.home-city-recommendation-pin::after {
  content: none;
}

.home-city-recommendation-pin svg {
  position: relative;
  z-index: 1;
  width: 17px !important;
  height: 17px !important;
  animation: none !important;
}

.tangram-suggestion-main {
  z-index: 1800 !important;
  overflow: hidden !important;
  border: 1px solid rgba(7, 25, 22, 0.1) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 38px rgba(7, 25, 22, 0.16) !important;
  font-family: inherit !important;
}

.tangram-suggestion-main table {
  width: 100% !important;
}

.tangram-suggestion-main td {
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(7, 25, 22, 0.06) !important;
  color: #142220 !important;
  font-size: 14px !important;
}

@keyframes route-origin-pulse {
  0%, 100% { box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px rgba(47, 128, 237, 0.05); }
  50% { box-shadow: 0 0 0 3px #ffffff, 0 0 0 8px rgba(47, 128, 237, 0.16); }
}

.map-route-map-point {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(5, 18, 17, 0.2));
}

.map-route-map-point.start {
  width: 16px;
  height: 16px;
  margin: 3px;
  border: 2px solid #17201f;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 2px #ffffff;
}

.map-route-map-point.start b {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  animation: route-map-point-pulse 1.4s ease-in-out infinite;
}

.map-route-map-point.end {
  width: 18px;
  height: 18px;
  margin: 2px;
  border: 2px solid #17201f;
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
  box-shadow: 0 0 0 2px #ffffff;
  transform: rotate(-45deg);
}

.map-route-map-point.end b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

@keyframes route-map-point-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.72; }
  50% { transform: translate(-50%, -50%) scale(1.28); opacity: 1; }
}

.map-route-direction-cutout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  margin: 0;
  padding: 0;
  vertical-align: top;
  transform-origin: 50% 50%;
  transform-box: border-box;
  transform: rotate(var(--route-angle, 0deg));
}

.map-route-direction-cutout svg {
  display: block;
  width: 10px;
  height: 10px;
  overflow: hidden;
}

.map-route-direction-cutout path {
  fill: rgba(255, 255, 255, 0.99);
  stroke: none;
}

.map-route-direction-cutout::before {
  content: none;
}

/* v475: lightweight route endpoints, complete point picker, and focused category mode. */
body[data-active-page="explore"][data-route-planning="true"] .map-route-head {
  grid-template-columns: 30px minmax(0, 1fr) 72px;
  padding: 7px;
  border-radius: 18px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points {
  gap: 4px;
  padding: 5px 7px;
  border-radius: 13px;
  background: rgba(20, 36, 52, 0.032);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 6px;
  min-height: 25px;
  padding: 0 2px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em {
  position: relative;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.start {
  background: #45c0a5;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.start b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.end {
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
  transform: rotate(-45deg);
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.end b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points > i {
  left: 19px;
  transform: translateX(-50%);
  top: 18px;
  bottom: 18px;
  width: 2px;
  border: 0;
  background: repeating-linear-gradient(to bottom, rgba(20, 34, 32, 0.34) 0 2px, transparent 2px 6px);
  background-size: 2px 12px;
  animation: route-dot-flow 850ms linear infinite;
}

@keyframes route-dot-flow {
  to { background-position-y: 12px; }
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points strong,
body[data-active-page="explore"][data-route-planning="true"] .map-route-points span {
  font-size: 12px;
  font-weight: 760;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker {
  top: max(72px, calc(env(safe-area-inset-top) + 64px));
  bottom: max(12px, env(safe-area-inset-bottom));
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-head button {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0 0 2px;
  font-size: 22px;
  line-height: 1;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search {
  grid-template-columns: minmax(0, 1fr) 64px;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-results,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-list {
  display: grid;
  align-content: start;
  gap: 2px;
  min-height: 0;
  overflow: auto;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-results:not([hidden]) + .map-route-picker-list {
  display: none;
}

body[data-active-page="explore"][data-route-planning="true"] :is(.map-route-picker-results, .map-route-picker-list) button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px 5px;
  border: 0;
  border-bottom: 1px solid rgba(7, 19, 19, 0.07);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.map-route-picker-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-copy strong,
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-route-picker-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f4;
  color: #18332e;
}

.map-route-picker-icon::before,
.map-route-picker-icon::after {
  content: "";
  position: absolute;
}

.map-route-picker-icon-current::before {
  width: 10px;
  height: 10px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 1px #2f80ed;
}

.map-route-picker-icon-map::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-route-picker-icon-map::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.map-route-picker-icon-history::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.map-route-picker-icon-history::after {
  width: 6px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(1px, -1px);
}

.map-route-picker-icon-pin::before {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-route-picker-section-title {
  padding: 12px 5px 6px;
  color: rgba(20, 34, 32, 0.5);
  font-size: 12px;
  font-weight: 760;
}

.map-route-picker-empty {
  margin: 0;
  padding: 24px 10px;
  color: rgba(20, 34, 32, 0.58);
  font-size: 13px;
  text-align: center;
}

body[data-route-map-picking="true"] #mapResults {
  inset: 0 !important;
  z-index: 60 !important;
  pointer-events: none;
  background: transparent !important;
}

body[data-route-map-picking="true"] .map-route-head,
body[data-route-map-picking="true"] .map-route-mode-strip {
  display: none !important;
}

body[data-route-map-picking="true"] .map-route-body {
  display: contents !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.map-route-map-picker-head {
  position: fixed;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  left: max(12px, calc((100vw - 460px) / 2 + 12px));
  right: max(12px, calc((100vw - 460px) / 2 + 12px));
  z-index: 70;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(7, 19, 19, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(7, 19, 19, 0.14);
  pointer-events: auto;
}

.map-route-map-picker-head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f4;
  color: #142220;
  font-size: 24px;
  line-height: 1;
}

.map-route-map-picker-head div {
  display: grid;
  gap: 2px;
}

.map-route-map-picker-head strong { font-size: 15px; }
.map-route-map-picker-head span { color: rgba(20, 34, 32, 0.58); font-size: 11px; }

.map-route-center-pin {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 69;
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
  box-shadow: 0 8px 18px rgba(7, 19, 19, 0.24);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-route-center-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.map-route-map-confirm {
  position: fixed;
  left: 50%;
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 70;
  min-width: 156px;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #45c0a5;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(24, 168, 137, 0.28);
  transform: translateX(-50%);
  pointer-events: auto;
}

body[data-map-category-active="true"] #mapQuickCategories {
  display: none !important;
}

body[data-map-category-active="true"] #mapDestinationSearchForm .map-destination-search-icon {
  color: #08201c;
}

body[data-map-category-active="true"] #mapDestinationSearchForm input {
  color: #142220;
  font-weight: 800;
  cursor: default;
}

body[data-map-category-active="true"] #mapDestinationSearchForm .map-search-arrow-button {
  background: #ffffff !important;
  border: 1px solid #dfe9e5 !important;
}

body[data-map-category-active="true"] #mapDestinationSearchForm .map-search-arrow-button svg {
  width: 20px;
  height: 20px;
  stroke: #142220;
}

/* v574 independent taxi booking */
body[data-ride-standalone="true"] {
  background: #f3f6f5;
}

body[data-ride-standalone="true"] .app-header,
body[data-ride-standalone="true"] .bottom-nav {
  display: none !important;
}

body[data-ride-standalone="true"] .phone-shell,
body[data-ride-standalone="true"] main {
  width: 100%;
  max-width: 560px;
  min-height: 100dvh;
  margin: 0 auto;
  background: #f3f6f5;
}

body[data-ride-standalone="true"] main > section:not(#rideService),
body[data-ride-standalone="true"] #serviceHub {
  display: none !important;
}

#rideService.service-module-standalone-active {
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0 0 calc(26px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background: #f3f6f5;
  box-shadow: none;
}

.ride-service-panel {
  min-height: 100dvh;
  color: #14201e;
}

.ride-topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 60px;
  padding: max(6px, env(safe-area-inset-top)) 14px 6px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 32, 30, 0.08);
  backdrop-filter: blur(18px);
}

.ride-topbar button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef3f1;
  color: #14201e;
  font-size: 30px;
  line-height: 1;
}

.ride-topbar .ride-help {
  font-size: 18px;
  font-weight: 900;
}

.ride-topbar div {
  display: grid;
  gap: 1px;
  text-align: center;
}

.ride-topbar strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.ride-topbar small {
  max-width: 330px;
  overflow: hidden;
  color: #73807d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ride-hero {
  padding: 30px 22px 22px;
  background: linear-gradient(145deg, #0b2924 0%, #125848 70%, #1d8068 100%);
  color: #fff;
}

.ride-hero span {
  color: #9ee1cf;
  font-size: 12px;
  font-weight: 800;
}

.ride-hero h1 {
  margin: 8px 0 7px;
  color: #fff;
  font-size: clamp(28px, 8vw, 38px);
  letter-spacing: -0.04em;
}

.ride-hero p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.55;
}

.ride-provider-notice,
.ride-route-card,
.ride-passenger-card,
.ride-route-summary,
.ride-unavailable-card,
.ride-confirm-hero,
.ride-confirm-list,
.ride-status-hero,
.ride-driver-card {
  box-sizing: border-box;
  margin: 14px 16px 0;
  border: 1px solid #e3ebe8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18, 44, 39, 0.05);
}

.ride-provider-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-color: #f0ddba;
  background: #fffaf0;
}

.ride-provider-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid #bce3d8;
  background: #e9f7f3;
  color: #15755f;
  font-size: 12px;
  font-weight: 900;
}

.ride-provider-notice strong {
  display: block;
  margin: 1px 0 4px;
  font-size: 13px;
}

.ride-provider-notice p {
  margin: 0;
  color: #786954;
  font-size: 11px;
  line-height: 1.5;
}

.ride-route-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  padding: 10px 50px 10px 15px;
}

.ride-route-line {
  display: grid;
  grid-row: 1 / span 2;
  grid-template-rows: 1fr 25px 1fr;
  place-items: center;
}

.ride-route-line i:first-child {
  width: 10px;
  height: 10px;
  border: 3px solid #16a17f;
  border-radius: 50%;
}

.ride-route-line i:last-child {
  width: 10px;
  height: 10px;
  border-radius: 3px 3px 6px 6px;
  background: #ee5964;
}

.ride-route-line b {
  width: 1px;
  height: 31px;
  background: #cbd8d4;
}

.ride-place-field {
  display: grid;
  grid-column: 2;
  gap: 2px;
  min-height: 67px;
  padding: 10px 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #e8eeec;
  background: transparent;
  color: #14201e;
  text-align: left;
}

.ride-place-field:last-of-type {
  border-bottom: 0;
}

.ride-place-field span,
.ride-route-summary small,
.ride-confirm-list span {
  color: #7a8784;
  font-size: 10px;
  font-weight: 700;
}

.ride-place-field strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ride-place-field small {
  overflow: hidden;
  color: #899592;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ride-swap {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe6e2;
  border-radius: 50%;
  background: #f4f8f6;
  color: #167f69;
  font-size: 18px;
  transform: translateY(-50%);
}

.ride-quick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 12px 16px 0;
}

.ride-quick-row button {
  display: grid;
  grid-template-columns: 17px auto;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 5px;
  border: 1px solid #dfe9e6;
  border-radius: 12px;
  background: white;
  color: #33413e;
  font-size: 11px;
  font-weight: 750;
}

.ride-inline-icon {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ride-passenger-card {
  padding: 14px 16px;
}

.ride-passenger-card label {
  display: grid;
  gap: 7px;
}

.ride-passenger-card span {
  color: #65726f;
  font-size: 11px;
  font-weight: 800;
}

.ride-passenger-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  outline: 0;
  color: #14201e;
  background: transparent;
  font-size: 16px;
  font-weight: 750;
}

.ride-passenger-card small {
  display: block;
  margin-top: 7px;
  color: #929c99;
  font-size: 10px;
}

.ride-primary-action {
  display: block;
  width: calc(100% - 32px);
  min-height: 52px;
  margin: 16px;
  border: 0;
  border-radius: 15px;
  background: #142b27;
  color: white;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(20, 43, 39, .18);
}

.ride-primary-action:disabled {
  opacity: .42;
  box-shadow: none;
}

.ride-secondary-actions,
.ride-tracking-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px;
}

.ride-secondary-actions button,
.ride-tracking-actions button {
  min-height: 44px;
  border: 1px solid #dfe8e5;
  border-radius: 13px;
  background: #fff;
  color: #45534f;
  font-size: 11px;
  font-weight: 800;
}

.ride-message,
.ride-search-hint {
  margin: 12px 18px 0;
  color: #65736f;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.ride-message[data-tone="warning"] { color: #9b5f14; }
.ride-message[data-tone="success"] { color: #08201c; }

.ride-search-form {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 7px;
  align-items: center;
  margin: 16px;
  padding: 7px 8px 7px 13px;
  border: 2px solid #153f37;
  border-radius: 15px;
  background: #fff;
}

.ride-search-form input {
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.ride-search-form button {
  height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: #173f37;
  color: #fff;
  font-weight: 800;
}

.ride-current-card,
.ride-search-results button {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  width: calc(100% - 32px);
  margin: 10px 16px 0;
  padding: 14px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: #14201e;
  text-align: left;
}

.ride-current-card i,
.ride-search-results i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f6f1;
  color: #08201c;
  font-style: normal;
}

.ride-current-card span,
.ride-search-results span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ride-current-card small,
.ride-search-results small {
  overflow: hidden;
  color: #84908d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ride-current-card em,
.ride-search-results em {
  color: #98a3a0;
  font-style: normal;
  font-size: 20px;
}

.ride-route-summary {
  padding: 12px 16px;
}

.ride-route-summary div {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 52px;
}

.ride-route-summary i {
  width: 9px;
  height: 9px;
  border: 3px solid #18a383;
  border-radius: 50%;
}

.ride-route-summary div:last-child i {
  border: 0;
  border-radius: 2px;
  background: #ee5964;
}

.ride-route-summary span {
  display: grid;
  gap: 3px;
}

.ride-vehicle-list {
  margin-top: 18px;
}

.ride-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 18px 8px;
}

.ride-section-heading small {
  color: #85918e;
  font-size: 10px;
}

.ride-vehicle-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  width: calc(100% - 32px);
  min-height: 72px;
  margin: 8px 16px;
  padding: 11px 14px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #fff;
  color: #14201e;
  text-align: left;
}

.ride-vehicle-card.selected {
  border-color: #17866f;
  background: #f5fcf9;
}

.ride-car-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e7f2ef;
  color: #174b41;
}

.ride-car-icon .ride-inline-icon {
  width: 26px;
  height: 26px;
}

.ride-vehicle-card span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.ride-vehicle-card small {
  color: #83908c;
  font-size: 10px;
}

.ride-vehicle-card em {
  font-style: normal;
  font-weight: 900;
}

.ride-unavailable-card {
  padding: 25px 18px 8px;
  text-align: center;
}

.ride-unavailable-card > span {
  color: #18806a;
  font-size: 11px;
  font-weight: 900;
}

.ride-unavailable-card h2 {
  margin: 8px 0;
  font-size: 21px;
}

.ride-unavailable-card p {
  margin: 0;
  color: #73807d;
  font-size: 12px;
  line-height: 1.55;
}

.ride-unavailable-card .ride-primary-action {
  width: 100%;
  margin: 18px 0 0;
}

.ride-text-action,
.ride-danger-action {
  display: block;
  margin: 12px auto;
  border: 0;
  background: transparent;
  color: #49625c;
  font-size: 12px;
  font-weight: 800;
}

.ride-confirm-hero {
  display: grid;
  gap: 4px;
  padding: 23px;
  text-align: center;
}

.ride-confirm-hero > span { color: #60706c; font-size: 12px; }
.ride-confirm-hero > strong { font-size: 30px; letter-spacing: -.03em; }
.ride-confirm-hero > small { color: #8a9592; font-size: 10px; }

.ride-confirm-list {
  padding: 5px 16px;
}

.ride-confirm-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f0;
}

.ride-confirm-list div:last-child { border-bottom: 0; }
.ride-confirm-list strong { max-width: 70%; font-size: 12px; text-align: right; }

.ride-consent {
  display: flex;
  gap: 9px;
  margin: 16px 19px 0;
  color: #697673;
  font-size: 11px;
  line-height: 1.5;
}

.ride-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #173f37;
}

.ride-legal-note {
  margin: -8px 20px 0;
  color: #929c99;
  font-size: 9px;
  text-align: center;
}

.ride-status-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
}

.ride-live-pulse {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border: 4px solid #c9efe4;
  border-radius: 50%;
  background: #15a984;
}

.ride-status-hero small,
.ride-status-hero p { color: #7f8c88; font-size: 10px; }
.ride-status-hero h1 { margin: 3px 0; font-size: 23px; }
.ride-status-hero p { margin: 0; }

.ride-status-steps {
  display: flex;
  justify-content: space-between;
  margin: 16px;
  padding: 0 3px;
  color: #8d9895;
  font-size: 9px;
}

.ride-status-steps span {
  position: relative;
  flex: 1;
  padding-top: 16px;
  text-align: center;
}

.ride-status-steps span::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: #dfe7e4;
}

.ride-status-steps span::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  background: #cbd6d2;
  transform: translateX(-50%);
}

.ride-status-steps span.active { color: #16765f; font-weight: 800; }
.ride-status-steps span.active::before,
.ride-status-steps span.active::after { background: #18a482; }

.ride-driver-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
}

.ride-driver-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #dcebe7;
  font-weight: 900;
}

.ride-driver-card > div:nth-child(2) { display: grid; gap: 4px; }
.ride-driver-card small { color: #7e8a87; font-size: 10px; }
.ride-driver-card em { font-style: normal; font-weight: 900; }

.ride-danger-action {
  margin-top: 20px;
  color: #c84450;
}

@media (min-width: 700px) {
  body[data-ride-standalone="true"] {
    padding: 24px 0;
    background: #dfe7e4;
  }
  body[data-ride-standalone="true"] .phone-shell,
  body[data-ride-standalone="true"] main,
  #rideService.service-module-standalone-active {
    min-height: calc(100dvh - 48px);
    border-radius: 28px;
    overflow: hidden;
  }
}

/* v496 final route endpoint alignment overrides. */
body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em {
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 2px solid #17201f;
  box-shadow: 0 0 0 3px #ffffff;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.start {
  background: #2f80ed;
  animation: route-origin-pulse 1.65s ease-in-out infinite;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-point-row em.end {
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-points > i {
  left: 19px;
  width: 2px;
  transform: translateX(-50%);
}
.account-disclosure-group > summary {
  padding: 18px 20px;
  color: var(--ink, #172b28);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.account-disclosure-group > summary::marker { color: var(--jade); }
.account-disclosure-group > summary:focus-visible { outline: 2px solid var(--jade); outline-offset: -4px; }
.account-guest-page > .account-guest-hero,
.account-guest-page > .account-guest-shortcuts {
  border: 0;
  box-shadow: none;
  background: #fff;
}

/* v816: one white surface, consistent profile hierarchy, no nested card shells. */
body[data-active-page="profile"] #meDashboard { border: 0; border-radius: 0; box-shadow: none; background: #fff; }
#accountCenter :is(.account-profile-hero,.account-orders-card,.account-menu-card,.account-trust-note,.account-info-panel,.account-device-card,.account-about-panel,.account-detail-form,.account-login-form) { border: 0; border-radius: 0; box-shadow: none; background: #fff; }
#accountCenter .account-home-page { gap: 20px; }
#accountCenter .account-order-statuses button { padding-top: 2px; gap: 5px; }
#accountCenter .account-order-statuses button::before { content: none; }
#accountCenter .account-order-statuses .account-status-icon { display: block; font-size: 25px; color: #45c0a5; line-height: 1; }
#accountCenter .account-profile-hero { padding: 8px 0; }
#accountCenter .account-growth-card { margin: 0; padding: 14px 16px; border: 1px solid #e7eeeb; background: #fff; box-shadow: none; }
#accountCenter .account-growth-card > span { color: var(--jade, #45c0a5); font-size: 14px; }
#accountCenter .account-growth-card small { font-size: 13px; line-height: 1.5; }
#accountCenter :is(.account-list-row strong,.account-section-title strong,.account-menu-card h3) { font-size: 16px; font-weight: 600; }
#accountCenter :is(.account-list-row small,.account-order-statuses button) { font-size: 14px; line-height: 1.5; }
#accountCenter .account-subpage-head { grid-template-columns: 44px minmax(0,1fr) 44px; }
#accountCenter .account-subpage-head button { width: 44px; height: 44px; padding: 0; box-shadow: none; }
#accountCenter .account-subpage-head button svg { display: block; width: 24px; height: 24px; }
#accountCenter .account-device-card { padding: 16px; border-bottom: 1px solid #edf1ef; }
#accountCenter .account-creator-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
#accountCenter :is(.account-empty-state,.account-inline-empty) { border: 0; box-shadow: none; background: #fff; }
#accountCenter .account-bound-contact { display: grid; gap: 8px; text-align: start; }
#accountCenter .account-bound-contact output { padding: 12px 0; font-size: 16px; overflow-wrap: anywhere; color: var(--ink, #172522); }
#accountCenter .account-bound-contact small { font-size: 13px; color: #697572; line-height: 1.5; }

/* v817: shared outline icons and distinct group/action/description hierarchy. */
#accountCenter .account-order-line-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  color: #45c0a5;
}
#accountCenter .account-order-statuses button { min-height: 64px; padding: 6px 2px; gap: 6px; }
#accountCenter .account-order-statuses i { top: 0; left: calc(50% + 8px); }
#accountCenter .account-navigation-group > .account-group-title {
  margin: 0;
  padding: 14px 16px 10px;
  color: #172522;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: start;
}
#accountCenter .account-navigation-group > .account-list-row { min-height: 66px; padding: 12px 16px; text-align: start; }
#accountCenter .account-navigation-group > .account-group-title + .account-list-row { border-top: 0; }
#accountCenter .account-navigation-group .account-list-row strong { font-size: 16px; font-weight: 500; line-height: 1.5; }
#accountCenter .account-navigation-group .account-list-row small { font-size: 14px; font-weight: 400; line-height: 1.5; color: #697572; }
#accountCenter .account-section-title strong { font-size: 18px; font-weight: 700; line-height: 1.4; }

/* v818: compact identity, one entry per task, unchanged brand palette. */
#accountCenter .account-profile-hero { grid-template-rows: 52px auto; row-gap: 0; }
#accountCenter .account-profile-hero > .account-avatar { grid-column: 1; grid-row: 1; }
#accountCenter .account-profile-hero > .account-settings-button { grid-column: 3; grid-row: 1; }
#accountCenter .account-profile-identity { display: contents; }
#accountCenter .account-profile-identity > button { min-width: 0; min-height: 44px; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: start; box-shadow: none; color: #172522; font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#accountCenter .account-profile-identity > [data-account-view="personal"] { grid-column: 2; grid-row: 1; }
#accountCenter .account-profile-identity strong { font-size: 20px; font-weight: 700; }
#accountCenter .account-profile-identity > .account-level-link { grid-column: 2 / -1; grid-row: 2; font-size: 14px; color: #697572; }
#accountCenter .account-level-link span { color: #45c0a5; margin-inline-start: 6px; }
#accountCenter .account-profile-hero .account-settings-button { min-height: 44px; font-size: 14px; }
#accountCenter .account-notes-management { display: flex; justify-content: flex-end; }
#accountCenter .account-notes-management button { min-height: 44px; padding: 0 12px; border: 0; background: #fff; color: #45c0a5; font-size: 15px; font-weight: 600; box-shadow: none; }
#accountCenter .account-review-list > h3 { margin: 0; padding: 12px 16px; font-size: 16px; }
#accountCenter :is(.account-profile-identity > button,.account-notes-management button):focus-visible { outline: 2px solid #45c0a5; outline-offset: 2px; }
#accountCenter [data-account-action="notificationSound"] { display: flex; align-items: center; gap: 12px; }
#accountCenter [data-account-action="notificationSound"] > span:first-child { flex: 1; min-width: 0; }
#accountCenter .account-notification-toggle { position: relative; flex: 0 0 44px; width: 44px; height: 26px; border-radius: 20px; background: #d8dfdc; }
#accountCenter .account-notification-toggle::after { content: ""; position: absolute; width: 22px; height: 22px; top: 2px; inset-inline-start: 2px; border-radius: 50%; background: #fff; }
#accountCenter [aria-checked="true"] .account-notification-toggle { background: #45c0a5; }
#accountCenter [aria-checked="true"] .account-notification-toggle::after { inset-inline-start: auto; inset-inline-end: 2px; }
#accountCenter .account-toggle-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* v862: mobile focus and translation controls use geometry, not font baselines. */
body[data-active-page="home"] #homeGatewaySearchForm:focus-within {
  border-color: rgba(24, 168, 137, 0.68);
  box-shadow: 0 10px 28px rgba(24, 42, 56, 0.07) !important;
}

.home-gateway-search input:focus,
.home-gateway-search input:focus-visible {
  outline: 0;
  box-shadow: none;
}

.translate-swap-button {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}

.translate-swap-button svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* ride-minimal.css */
/* ExplorePanda Taxi — local v575 review layer */
body[data-ride-standalone="true"],
body[data-ride-standalone="true"] .phone-shell,
body[data-ride-standalone="true"] main,
body[data-ride-standalone="true"] #rideService,
body[data-ride-standalone="true"] .ride-service-panel {
  max-width: 460px !important;
  background: #fff !important;
  border-radius: 0 !important;
}

body[data-ride-standalone="true"] {
  padding: 0 !important;
}

body[data-ride-standalone="true"] .ride-topbar {
  min-height: 54px !important;
  margin: 0 -16px !important;
  padding: 4px 16px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

body[data-ride-standalone="true"] .ride-topbar button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #15212f !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-page-heading {
  padding: 18px 0 14px !important;
}

body[data-ride-standalone="true"] .ride-page-heading h1 {
  margin: 0 !important;
  color: #15212f !important;
  font-size: 27px !important;
  line-height: 1.18 !important;
}

body[data-ride-standalone="true"] :is(
  .ride-route-card,
  .ride-passenger-card,
  .ride-route-summary,
  .ride-unavailable-card,
  .ride-confirm-hero,
  .ride-confirm-list,
  .ride-status-hero,
  .ride-driver-card
) {
  border: 1px solid #dfe9e5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-route-card {
  margin: 0 !important;
  padding: 7px 48px 7px 14px !important;
}

body[data-ride-standalone="true"] .ride-route-line i:first-child {
  border-color: #45c0a5 !important;
}

body[data-ride-standalone="true"] .ride-route-line i:last-child {
  background: #15212f !important;
}

body[data-ride-standalone="true"] .ride-swap {
  border-color: #dfe9e5 !important;
  border-radius: 8px !important;
  background: #f5faf8 !important;
  color: #08201c !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-quick-row {
  gap: 8px !important;
  padding: 10px 0 0 !important;
}

body[data-ride-standalone="true"] .ride-quick-row button {
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  min-height: 54px !important;
  padding: 7px 3px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f5faf8 !important;
  color: #263532 !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-quick-row .local-material-icon,
body[data-ride-standalone="true"] .ride-secondary-actions .local-material-icon {
  color: #08201c !important;
  font-size: 19px !important;
}

body[data-ride-standalone="true"] .ride-passenger-card {
  margin: 12px 0 0 !important;
  padding: 13px 14px !important;
}

body[data-ride-standalone="true"] .ride-primary-action {
  width: 100% !important;
  min-height: 50px !important;
  margin: 14px 0 0 !important;
  border-radius: 8px !important;
  background: #45c0a5 !important;
  color: #08201c !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-secondary-actions,
body[data-ride-standalone="true"] .ride-tracking-actions {
  gap: 4px !important;
  padding: 8px 0 0 !important;
}

body[data-ride-standalone="true"] :is(.ride-secondary-actions, .ride-tracking-actions) button {
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: rgba(21, 33, 47, 0.68) !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-search-form {
  margin: 14px 0 !important;
  border: 1px solid #b9cbc5 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-search-form:focus-within {
  border-color: #45c0a5 !important;
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.12) !important;
}

body[data-ride-standalone="true"] .ride-search-form button {
  background: #45c0a5 !important;
  color: #08201c !important;
}

body[data-ride-standalone="true"] :is(.ride-current-card, .ride-search-results button, .ride-vehicle-card) {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body[data-ride-standalone="true"] .ride-vehicle-card.selected {
  border-color: #45c0a5 !important;
  background: #f5faf8 !important;
}

body[data-ride-standalone="true"] .ride-unavailable-card {
  margin-top: 14px !important;
  padding: 28px 18px !important;
  border: 0 !important;
  background: #f5faf8 !important;
}

body[data-ride-standalone="true"] .ride-unavailable-card > .local-material-icon {
  display: block !important;
  margin-bottom: 10px !important;
  color: #08201c !important;
  font-size: 28px !important;
}

/* v575 — reuse the route planner's visual language */
body[data-ride-standalone="true"] #rideServicePanel {
  min-height: 100vh;
  padding: 0 16px 28px;
  color: #15212f;
}

body[data-ride-standalone="true"] .ride-v575-orders-link {
  font-family: "Material Icons";
  font-size: 22px;
}

body[data-ride-standalone="true"] .ride-v575-route {
  position: relative;
  margin: 0;
  padding: 6px 48px 6px 14px;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
  background: #fff;
}

body[data-ride-standalone="true"] .ride-service-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 10px;
  background: #f5faf8;
}

body[data-ride-standalone="true"] .ride-service-modes button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #71807c;
  font-weight: 700;
}

body[data-ride-standalone="true"] .ride-service-modes button.active {
  background: #fff;
  color: #08201c;
  box-shadow: 0 4px 14px rgba(8, 32, 28, 0.07);
}

body[data-ride-standalone="true"] .ride-transfer-time {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
  background: #fff;
  color: #08201c;
  font-weight: 700;
}

body[data-ride-standalone="true"] .ride-transfer-time input {
  min-width: 0;
  border: 0;
  background: #fff;
  color: #08201c;
  font: inherit;
  text-align: right;
}

body[data-ride-standalone="true"] .ride-v575-route > button:not(.ride-v575-swap) {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 70px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

body[data-ride-standalone="true"] .ride-v575-route > button:first-child {
  border-bottom: 0;
}

body[data-ride-standalone="true"] .ride-v575-route span {
  min-width: 0;
}

body[data-ride-standalone="true"] .ride-v575-route small,
body[data-ride-standalone="true"] .ride-v575-route i {
  display: block;
  color: #71807c;
  font-size: 12px;
  font-style: normal;
}

body[data-ride-standalone="true"] .ride-v575-route strong {
  display: block;
  overflow: hidden;
  margin: 3px 0;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-ride-standalone="true"] .ride-v575-route em {
  position: relative;
  align-self: start;
  justify-self: center;
  margin-top: 17px;
  width: 14px;
  height: 14px;
}

body[data-ride-standalone="true"] .ride-v575-route em.start {
  border-radius: 50%;
  background: #45c0a5;
}

body[data-ride-standalone="true"] .ride-v575-route em.start b {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

body[data-ride-standalone="true"] .ride-v575-route em.end {
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
  transform: rotate(-45deg);
}

body[data-ride-standalone="true"] .ride-v575-route em.end b {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

body[data-ride-standalone="true"] .ride-v575-swap {
  position: absolute;
  top: calc(50% - 15px);
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid #dfe9e5;
  border-radius: 8px;
  background: #f5faf8;
  color: #08201c;
}

body[data-ride-standalone="true"] .ride-v575-account {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
}

body[data-ride-standalone="true"] .ride-v575-account > span {
  color: #08201c;
  font-size: 26px;
}

body[data-ride-standalone="true"] .ride-v575-account small,
body[data-ride-standalone="true"] .ride-v575-account strong {
  display: block;
}

body[data-ride-standalone="true"] .ride-v575-account small,
body[data-ride-standalone="true"] .ride-v575-account em {
  color: #71807c;
  font-size: 12px;
  font-style: normal;
}

body[data-ride-standalone="true"] .ride-v575-picker {
  padding-top: 10px;
}

body[data-ride-standalone="true"] .map-route-picker-search {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  margin: 8px 0 14px;
  border: 1px solid #b9cbc5;
  border-radius: 8px;
}

body[data-ride-standalone="true"] .map-route-picker-search input,
body[data-ride-standalone="true"] .map-route-picker-search button {
  min-height: 46px;
  border: 0;
}

body[data-ride-standalone="true"] .map-route-picker-search input {
  padding: 0 13px;
  outline: none;
}

body[data-ride-standalone="true"] .map-route-picker-search button {
  padding: 0 16px;
  background: #45c0a5;
  color: #08201c;
  font-weight: 700;
}

body[data-ride-standalone="true"] :is(.map-route-picker-list, .map-route-picker-results) > button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid #edf3f1;
  background: #fff;
  text-align: left;
}

body[data-ride-standalone="true"] .map-route-picker-copy strong,
body[data-ride-standalone="true"] .map-route-picker-copy small {
  display: block;
}

body[data-ride-standalone="true"] .map-route-picker-copy small,
body[data-ride-standalone="true"] .map-route-picker-section-title {
  color: #71807c;
  font-size: 12px;
}

body[data-ride-standalone="true"] .map-route-picker-section-title {
  padding: 22px 4px 7px;
}

.map-route-picker-icon-map {
  background: rgba(240, 90, 97, 0.09);
  color: #f05a61;
  animation: ride-map-pick-attention 1.5s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes ride-map-pick-attention {
  0%, 58%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(240, 90, 97, 0);
  }
  68% {
    transform: translateY(-3px);
    box-shadow: 0 0 0 0 rgba(240, 90, 97, 0.24);
  }
  82% {
    transform: translateY(0);
    box-shadow: 0 0 0 7px rgba(240, 90, 97, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-route-picker-icon-map {
    animation: none;
  }
}

body[data-ride-standalone="true"] .ride-v575-map-preview,
body[data-ride-standalone="true"] .ride-v575-trip-map {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 8px -16px 0;
  background: #eef5f2;
}

body[data-ride-standalone="true"] .ride-v575-map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(28deg, transparent 47%, rgba(255,255,255,.9) 48% 52%, transparent 53%),
    linear-gradient(92deg, transparent 47%, rgba(255,255,255,.8) 48% 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(143,171,162,.16) 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(143,171,162,.16) 59px 60px);
}

body[data-ride-standalone="true"] .map-route-center-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #f05a61;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 5px 12px rgba(21,33,47,.18);
}

body[data-ride-standalone="true"] .ride-v575-map-label {
  position: absolute;
  right: 14px;
  bottom: 82px;
  left: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

body[data-ride-standalone="true"] .ride-v575-map-label strong,
body[data-ride-standalone="true"] .ride-v575-map-label small {
  display: block;
}

body[data-ride-standalone="true"] .ride-v575-map-label small {
  margin-top: 3px;
  color: #71807c;
}

body[data-ride-standalone="true"] .ride-v575-map-preview .ride-primary-action {
  position: absolute;
  right: 14px;
  bottom: 16px;
  left: 14px;
  width: auto !important;
  margin: 0 !important;
}

body[data-ride-standalone="true"] .ride-v575-gate,
body[data-ride-standalone="true"] .ride-v575-empty,
body[data-ride-standalone="true"] .ride-v575-contact,
body[data-ride-standalone="true"] .ride-v575-safety-head {
  padding: 54px 18px 24px;
  text-align: center;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth {
  padding: 28px 2px;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth h1 {
  margin: 0 0 6px;
  font-size: 25px;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth > p,
body[data-ride-standalone="true"] .ride-v575-phone-auth > small {
  display: block;
  color: #71807c;
  line-height: 1.6;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth label {
  display: block;
  margin-top: 18px;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth label > span {
  display: block;
  margin-bottom: 7px;
  color: #55645f;
  font-size: 13px;
}

body[data-ride-standalone="true"] .ride-v575-phone-auth :is(input, select) {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #b9cbc5;
  border-radius: 8px;
  background: #fff;
  color: #15212f;
  font: inherit;
}

body[data-ride-standalone="true"] :is(.ride-v575-gate, .ride-v575-empty, .ride-v575-safety-head) > .local-material-icon {
  color: #08201c;
  font-size: 36px;
}

body[data-ride-standalone="true"] :is(.ride-v575-gate, .ride-v575-contact, .ride-v575-safety-head) h1 {
  margin: 12px 0 6px;
  font-size: 21px;
}

body[data-ride-standalone="true"] :is(.ride-v575-gate, .ride-v575-contact, .ride-v575-safety-head) p {
  margin: 0;
  color: #71807c;
  line-height: 1.6;
}

body[data-ride-standalone="true"] .ride-v575-confirm-list,
body[data-ride-standalone="true"] .ride-v575-order-status {
  margin-top: 12px;
  padding: 4px 14px;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
}

body[data-ride-standalone="true"] .ride-v575-confirm-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #edf3f1;
}

body[data-ride-standalone="true"] .ride-v575-confirm-list > div:last-child {
  border-bottom: 0;
}

body[data-ride-standalone="true"] .ride-v575-confirm-list span {
  color: #71807c;
}

body[data-ride-standalone="true"] .ride-v575-trip-map {
  min-height: 230px;
}

body[data-ride-standalone="true"] .ride-v575-car-marker {
  position: absolute;
  top: 44%;
  left: 55%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #45c0a5;
  color: #08201c;
  box-shadow: 0 4px 12px rgba(21,33,47,.16);
}

body[data-ride-standalone="true"] .ride-v575-driver {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
}

body[data-ride-standalone="true"] .ride-driver-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7f6f2;
  color: #08201c;
  font-weight: 800;
}

body[data-ride-standalone="true"] .ride-v575-driver :is(small, strong, span) {
  display: block;
}

body[data-ride-standalone="true"] .ride-v575-driver small,
body[data-ride-standalone="true"] .ride-v575-driver span {
  color: #71807c;
  font-size: 12px;
}

body[data-ride-standalone="true"] .ride-v575-driver button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e7f6f2;
  color: #08201c;
}

body[data-ride-standalone="true"] .ride-v575-trip-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 10px;
}

body[data-ride-standalone="true"] .ride-v575-trip-actions button {
  padding: 9px 2px;
  border: 0;
  background: transparent;
  color: #5f6f6a;
}

body[data-ride-standalone="true"] .ride-v575-trip-actions span,
body[data-ride-standalone="true"] .ride-v575-trip-actions strong {
  display: block;
}

body[data-ride-standalone="true"] .ride-v575-trip-actions span {
  color: #08201c;
  font-size: 20px;
}

body[data-ride-standalone="true"] .ride-v575-trip-actions strong {
  margin-top: 3px;
  font-size: 11px;
}

body[data-ride-standalone="true"] .ride-v575-orders > button,
body[data-ride-standalone="true"] .ride-v575-list > button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #edf3f1;
  background: #fff;
  text-align: left;
}

body[data-ride-standalone="true"] .ride-v575-orders :is(small, strong, i),
body[data-ride-standalone="true"] .ride-v575-order-status :is(span, strong, small) {
  display: block;
}

body[data-ride-standalone="true"] .ride-v575-orders small,
body[data-ride-standalone="true"] .ride-v575-orders i,
body[data-ride-standalone="true"] .ride-v575-order-status :is(span, small) {
  color: #71807c;
  font-size: 12px;
  font-style: normal;
}

body[data-ride-standalone="true"] .ride-v575-order-status {
  padding: 14px;
}

body[data-ride-standalone="true"] .ride-v575-order-status strong {
  margin: 4px 0;
  font-size: 20px;
}

body[data-ride-standalone="true"] .ride-v575-outline-action {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid #b9cbc5;
  border-radius: 8px;
  background: #fff;
  color: #08201c;
  font-weight: 700;
}

body[data-ride-standalone="true"] .ride-v575-list > button {
  grid-template-columns: 34px 1fr auto;
}

body[data-ride-standalone="true"] .ride-v575-list > button > span {
  color: #08201c;
}

body[data-ride-standalone="true"] .ride-v575-list small {
  display: block;
  margin-top: 3px;
  color: #71807c;
}

body[data-ride-standalone="true"] .ride-v575-contact .ride-driver-avatar {
  margin: 0 auto;
}

body[data-ride-standalone="true"] .ride-v575-contact-unavailable {
  margin-top: 18px;
  padding: 13px;
  border-radius: 8px;
  background: #f5faf8;
  color: #71807c;
}

/* uber-polish.css */
test
/* asset-v227.css */
/* v227 */
:root{--nav-height:64px}.phone-shell{padding-bottom:calc(var(--nav-height) + 26px)}.app-header{min-height:62px;padding:13px 0 9px;border:0;background:transparent;box-shadow:none;backdrop-filter:none}.app-brand-title{top:18px;max-width:calc(100% - 238px);color:#050505;font-size:20px;font-weight:840;letter-spacing:0}.top-context-chip,.language-select{height:44px;border:1px solid #e6e6e6;border-radius:999px;background:#fff;color:#111;box-shadow:0 2px 8px rgba(0,0,0,.06);backdrop-filter:none}.top-context-chip{max-width:158px;padding:5px 12px}.top-context-chip span{color:#111;font-size:12px;font-weight:760;line-height:1.1}.top-context-chip small{color:#6b6b6b;font-size:10px;font-weight:650;line-height:1.1}.language-select{width:92px;padding:0 12px;font-size:14px;font-weight:760}.privacy-strip{border:0;background:#f3f3f3;box-shadow:none}.earth-hero{border:0;background:#fff;box-shadow:none}.destination-search-form,.map-destination-search,.service-hub-search{gap:8px}.destination-search-form{grid-template-columns:minmax(0,1fr) 88px}.destination-search-form input,.map-destination-search input,.service-hub-search input{height:56px;border:1px solid #e4e4e4;border-radius:999px;background:#fff;color:#111;font-size:17px;font-weight:680;box-shadow:0 4px 16px rgba(0,0,0,.08)}.destination-search-form input::placeholder,.map-destination-search input::placeholder,.service-hub-search input::placeholder{color:#616161}.destination-search-form .chip-button,.map-destination-search .chip-button,.service-hub-search .chip-button{min-height:56px;border:0;border-radius:999px;background:#f2f2f2;color:#111;box-shadow:none;font-weight:820}.destination-search-form .chip-button{min-width:82px;padding:0 14px;font-size:16px;white-space:nowrap}.home-cta-row .primary-button,.traveler-home-actions .primary-button{background:#111;color:#fff;box-shadow:none}.home-cta-row .secondary-button,.traveler-home-actions .secondary-button,.home-destination-select select{border-color:#e2e2e2;background:#fff;color:#111;box-shadow:none}.home-highlights{gap:10px;margin-top:18px}.home-highlights a,.home-highlights a:nth-child(odd),.home-highlights a:nth-child(even){border:1px solid #e5e5e5;background:#fff;box-shadow:none}.home-highlights span,.traveler-home-card span,.home-featured-head span,.home-featured-detail span{color:#6d6d6d;letter-spacing:.04em}.home-highlights strong,.traveler-home-card strong{color:#111}.traveler-home-card{border:1px solid #e5e5e5;background:#fff;box-shadow:none}.home-featured-more{color:#111;font-weight:820}.home-featured-card,.home-featured-detail-card{border:0;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.055)}.home-featured-image small,.home-featured-image::after{display:none!important}.home-featured-image{background:#f4f4f4}.bottom-nav{bottom:max(5px,env(safe-area-inset-bottom));width:min(calc(100% - 54px),340px);padding:5px;border:1px solid #e1e1e1;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 6px 22px rgba(0,0,0,.13);backdrop-filter:blur(18px)}.bottom-nav a{min-height:48px;gap:2px;border-radius:999px;color:#6a6a6a;font-size:10px;font-weight:760}.bottom-nav svg{width:20px;height:20px;stroke-width:2.15}.bottom-nav a.active{background:#f2f2f2;color:#050505}.bottom-nav a:focus{outline:none}.bottom-nav a:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #d8d8d8}body[data-active-page="explore"] .phone-shell{background:transparent}body[data-active-page="explore"] .app-header{top:env(safe-area-inset-top);min-height:58px;padding:10px 0 8px;border:0;background:transparent;box-shadow:none}body[data-active-page="explore"] .app-brand-title{top:17px;max-width:calc(100% - 236px);color:#050505;font-size:20px;font-weight:840}body[data-active-page="explore"] .top-context-chip,body[data-active-page="explore"] .language-select{height:42px;border:1px solid #e5e5e5;border-radius:999px;background:rgba(255,255,255,.95);color:#111;box-shadow:0 3px 14px rgba(0,0,0,.1)}body[data-active-page="explore"] #mapPanel,body[data-active-page="explore"] #homeHero,body[data-active-page="explore"] .earth-hero.map-mode .hero-map-panel{background:transparent!important;box-shadow:none!important}body[data-active-page="explore"] #mapPanel .map-destination-search{top:max(72px,calc(env(safe-area-inset-top) + 66px));left:14px;right:14px;grid-template-columns:minmax(0,1fr) 56px;padding:0;background:transparent!important;box-shadow:none}body[data-active-page="explore"] #mapPanel .map-destination-search input{height:56px;border:1px solid #e2e2e2;border-radius:999px;background:rgba(255,255,255,.96);color:#111;font-size:17px;font-weight:680;box-shadow:0 6px 22px rgba(0,0,0,.18)}body[data-active-page="explore"] #mapPanel .map-destination-search .chip-button{min-height:56px;border:0;border-radius:999px;background:#e9e9e9;color:#111;box-shadow:0 6px 18px rgba(0,0,0,.12)}body[data-active-page="explore"] #mapPanel .map-category-strip{top:max(136px,calc(env(safe-area-inset-top) + 130px));padding:0 14px 2px}body[data-active-page="explore"] #mapPanel .map-category-chip{height:42px;border:1px solid #dfdfdf;border-radius:999px;background:rgba(255,255,255,.96);color:#111;box-shadow:0 4px 14px rgba(0,0,0,.14);font-size:15px;font-weight:780}@media (max-width:520px){.phone-shell{padding-bottom:calc(var(--nav-height) + 24px)}.app-header{min-height:58px;margin:0;padding:10px 0 8px}.app-brand-title,body[data-active-page="explore"] .app-brand-title{top:17px;max-width:calc(100% - 220px);font-size:20px}.top-context-chip{max-width:148px}.language-select{width:86px}.destination-search-form{grid-template-columns:minmax(0,1fr) 86px}.destination-search-form input,.map-destination-search input,.service-hub-search input,.destination-search-form .chip-button,.map-destination-search .chip-button,.service-hub-search .chip-button{min-height:54px;height:54px;border-radius:999px}.destination-search-form .chip-button{min-width:80px;font-size:15px}.bottom-nav{bottom:max(5px,env(safe-area-inset-bottom));width:min(calc(100% - 54px),344px);padding:5px;border-radius:999px}.bottom-nav a{min-height:48px;font-size:10px}}
/* asset-v228.css */
/* v228 refinements */
.home-cta-row .primary-button,.traveler-home-actions .primary-button{background:#45c0a5!important;color:#08201c!important;box-shadow:0 8px 18px rgba(69,192,165,.18)!important}.home-featured-baidu-photo{background:#f4f6f7!important;color:transparent!important}.home-featured-baidu-photo::before,.home-featured-baidu-photo::after,.home-featured-baidu-photo span,.home-featured-baidu-photo strong,.home-featured-baidu-photo small{display:none!important}.home-featured-image-pending{background:#f4f6f7!important;color:transparent!important}.home-featured-image-pending::after{content:"";display:block;width:28px;height:28px;border-radius:999px;background:#d9dee2;margin:auto}.home-featured-image:has(img[src^="data:image/svg"]){background:#f4f6f7!important}.home-featured-image img[src^="data:image/svg"]{opacity:0!important}

/* asset-v229.css */
/* v229 refinements */
.home-cta-row .primary-button,
.traveler-home-actions .primary-button,
#homePlanButton {
  background: #45c0a5 !important;
  color: #08201c !important;
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.18) !important;
}

.home-featured-sync-card {
  border-color: rgba(69, 192, 165, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(69, 192, 165, 0.08), rgba(255, 255, 255, 0.96)),
    #ffffff !important;
  box-shadow: 0 6px 18px rgba(20, 36, 52, 0.04) !important;
}

.home-featured-baidu-photo {
  background: #f4f6f7 !important;
  color: transparent !important;
}

.home-featured-baidu-photo::before,
.home-featured-baidu-photo::after,
.home-featured-baidu-photo span,
.home-featured-baidu-photo strong,
.home-featured-baidu-photo small {
  display: none !important;
}

.home-featured-image-pending {
  background: #f4f6f7 !important;
  color: transparent !important;
}

.home-featured-image-pending::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: auto;
  border-radius: 999px;
  background: #d9dee2;
}

.home-featured-image:has(img[src^="data:image/svg"]) {
  background: #f4f6f7 !important;
}

.home-featured-image img[src^="data:image/svg"] {
  opacity: 0 !important;
}

/* asset-v230.css */
/* v230 visual direction */
:root {
  --brand-green: #45c0a5;
  --brand-green-dark: #08201c;
  --surface: #ffffff;
  --surface-soft: #f5faf8;
  --line-soft: #dfe9e5;
}

.app-brand-title {
  color: var(--brand-green) !important;
}

.home-search-card {
  display: grid;
  gap: 10px;
  margin: 12px -14px 18px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(18, 59, 42, 0.08);
}

.home-search-card .hero-copy,
.home-search-card .destination-picker {
  margin: 0 !important;
}

.home-search-card .hero-copy h1 {
  margin-bottom: 4px !important;
}

.home-search-card .destination-picker {
  gap: 8px !important;
}

.home-search-card .home-cta-row {
  margin-top: 2px !important;
}

.home-search-card .home-destination-select {
  gap: 5px !important;
  margin-top: 0 !important;
}

.destination-search-form .chip-button,
.map-destination-search .chip-button,
.service-hub-search .chip-button {
  background: var(--brand-green) !important;
  color: var(--brand-green-dark) !important;
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.18) !important;
}

.destination-search-form .chip-button {
  font-weight: 860;
}

body[data-active-page="explore"] #mapPanel .map-category-chip,
.map-category-chip {
  border-color: rgba(18, 59, 42, 0.1) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #172522 !important;
}

body[data-active-page="explore"] #mapPanel .map-category-chip.active,
.map-category-chip.active {
  border-color: rgba(69, 192, 165, 0.58) !important;
  background: var(--brand-green) !important;
  color: var(--brand-green-dark) !important;
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.22) !important;
}

#liveMap .anchorBL,
#liveMap .BMap_cpyCtrl,
#liveMap .BMap_cpyCtrl *,
#liveMap .BMap_noprint.anchorBL {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 520px) {
  .home-search-card {
    gap: 10px;
    margin: 10px -14px 16px;
    padding: 14px;
    border-radius: 18px;
  }
}

/* asset-v231.css */
/* v231 spacing lock + visual palette */
:root {
  --brand-green: #45c0a5;
  --brand-green-dark: #08201c;
  --surface: #ffffff;
  --surface-soft: #f5faf8;
  --line-soft: #dfe9e5;
}

.app-brand-title {
  color: var(--brand-green) !important;
}

.home-search-card {
  display: grid;
  gap: 8px !important;
  margin: 10px -14px 8px !important;
  padding: 10px 14px 12px !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 18px !important;
  background: var(--surface) !important;
  box-shadow: 0 10px 24px rgba(18, 59, 42, 0.07) !important;
}

.home-search-card .hero-copy,
.home-search-card .destination-picker {
  margin: 0 !important;
}

.home-search-card .hero-copy h1 {
  margin: 0 0 3px !important;
}

.home-search-card .hero-copy p {
  margin: 0 !important;
}

.home-search-card .destination-picker {
  gap: 6px !important;
}

.home-search-card .destination-search-form {
  margin-top: 0 !important;
}

.home-search-card .destination-search-status {
  margin: 0 !important;
  line-height: 1.3 !important;
}

.home-search-card .home-cta-row {
  margin-top: 0 !important;
}

.home-search-card .home-destination-select {
  gap: 4px !important;
  margin-top: 0 !important;
}

.destination-search-form .chip-button,
.map-destination-search .chip-button,
.service-hub-search .chip-button {
  background: var(--brand-green) !important;
  color: var(--brand-green-dark) !important;
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.18) !important;
}

.destination-search-form .chip-button {
  font-weight: 860 !important;
}

body[data-active-page="explore"] #mapPanel .map-category-chip,
.map-category-chip {
  border-color: rgba(18, 59, 42, 0.1) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #172522 !important;
}

body[data-active-page="explore"] #mapPanel .map-category-chip.active,
.map-category-chip.active {
  border-color: rgba(69, 192, 165, 0.58) !important;
  background: var(--brand-green) !important;
  color: var(--brand-green-dark) !important;
  box-shadow: 0 8px 18px rgba(69, 192, 165, 0.22) !important;
}

#liveMap .anchorBL,
#liveMap .BMap_cpyCtrl,
#liveMap .BMap_cpyCtrl *,
#liveMap .BMap_noprint.anchorBL {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 520px) {
  .home-search-card {
    gap: 8px !important;
    margin: 10px -14px 8px !important;
    padding: 10px 14px 12px !important;
  }
}

.home-highlights {
  margin-top: 8px !important;
}

/* independent-pages-v609.css */
/* ExplorePanda v609: the authoritative full-screen frame for service child pages. */
body.module-standalone-open {
  --independent-safe-top: env(safe-area-inset-top, 0px);
  --independent-safe-bottom: env(safe-area-inset-bottom, 0px);
  --independent-bar-height: 56px;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  overscroll-behavior: none;
}

/* v727: long hotel/ticket child pages own vertical touch scrolling. */
body.module-standalone-open main > .service-module-standalone-active:has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  overflow: hidden !important;
  padding-bottom: 0 !important;
}

body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell):has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.module-standalone-open :is(.hotel-subpage, .ticket-subpage):not(.hidden) {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* A standalone service must never shrink the body itself; only the phone shell is capped. */
body.module-standalone-open[data-ride-standalone="true"] {
  max-width: none !important;
  margin: 0 !important;
}

body.module-standalone-open[data-ride-standalone="true"] .phone-shell,
body.module-standalone-open[data-ride-standalone="true"] main {
  margin-inline: auto !important;
}

body.module-standalone-open .app-header,
body.module-standalone-open .bottom-nav {
  display: none !important;
}

body.module-standalone-open .phone-shell,
body.module-standalone-open main {
  display: block !important;
  width: 100% !important;
  max-width: 460px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.module-standalone-open main > .service-module-standalone-active {
  display: block !important;
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 16px calc(24px + var(--independent-safe-bottom)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

body.module-standalone-open[data-active-page] main > section.service-module.service-module-standalone-active:not(#independent-page-specificity) {
  display: block !important;
}

body.module-standalone-open main > .service-module-standalone-active::-webkit-scrollbar {
  display: none;
}

body.module-standalone-open .service-module-standalone-active > .section-title {
  display: none !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  align-items: end !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  min-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  max-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  margin: 0 -16px 16px !important;
  padding: var(--independent-safe-top) 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > button:first-child {
  display: grid !important;
  place-items: center !important;
  align-self: end !important;
  width: 48px !important;
  height: var(--independent-bar-height) !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #15212f !important;
  box-shadow: none !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > button:first-child svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > button:first-child::before {
  content: none !important;
  display: none !important;
}

body.module-standalone-open :is(.module-back-bar, .ride-topbar) > strong,
body.module-standalone-open .ride-topbar > div {
  display: grid !important;
  place-items: center !important;
  align-self: end !important;
  min-width: 0 !important;
  height: var(--independent-bar-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.module-standalone-open .module-back-bar > strong,
body.module-standalone-open .ride-topbar > div > strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #15212f !important;
  font-size: 17px !important;
  font-weight: 760 !important;
  line-height: var(--independent-bar-height) !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.module-standalone-open .module-back-actions,
body.module-standalone-open :is(.module-back-bar, .ride-topbar) > i,
body.module-standalone-open .ride-topbar > :last-child:not(div):not(button:first-child) {
  display: grid !important;
  place-items: center !important;
  align-self: end !important;
  min-width: 0 !important;
  height: var(--independent-bar-height) !important;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
}

body.module-standalone-open .module-back-actions > button,
body.module-standalone-open .ride-topbar > button:not(:first-child) {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #08201c !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body.module-standalone-open .ride-topbar small {
  display: none !important;
}

body.module-standalone-open .ride-topbar .local-material-icon {
  font-size: 19px !important;
  line-height: 1 !important;
}

body.module-standalone-open #rideService.service-module-standalone-active {
  padding-inline: 16px !important;
}

body.module-standalone-open #rideService .ride-service-panel {
  min-height: 100% !important;
  background: #fff !important;
}

body.module-standalone-open #rideService .ride-topbar {
  margin-bottom: 0 !important;
}

body.module-standalone-open .traveler-toolkit .toolkit-tabs {
  margin-top: 0 !important;
}

body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Hotel and ticket secondary/tertiary pages replace the parent bar, never stack under it. */
body.module-standalone-open:has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) > .phone-shell main > .service-module-standalone-active > .module-back-bar {
  display: none !important;
}

body.module-standalone-open :is(.hotel-subpage, .ticket-subpage):not(.hidden) {
  display: block !important;
  width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

body.module-standalone-open :is(.hotel-subpage-head, .ticket-subpage-head) {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  align-items: center !important;
  width: auto !important;
  height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  min-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  max-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  margin: 0 -16px 16px !important;
  padding: var(--independent-safe-top) 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.module-standalone-open :is(.hotel-subpage-head, .ticket-subpage-head) > button {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: var(--independent-bar-height) !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #15212f !important;
  box-shadow: none !important;
}

body.module-standalone-open :is(.hotel-subpage-head, .ticket-subpage-head) > button::before {
  content: none !important;
  display: none !important;
}

body.module-standalone-open :is(.hotel-subpage-head, .ticket-subpage-head) > button svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.module-standalone-open :is(.hotel-subpage-head, .ticket-subpage-head) > strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #15212f !important;
  font-size: 17px !important;
  font-weight: 760 !important;
  line-height: var(--independent-bar-height) !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Home recommendations, including food, are full-screen child pages too. */
body[data-featured-standalone="true"] {
  --independent-safe-top: env(safe-area-inset-top, 0px);
  --independent-safe-bottom: env(safe-area-inset-bottom, 0px);
  --independent-bar-height: 56px;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body[data-featured-standalone="true"] :is(.app-header, .bottom-nav) {
  display: none !important;
}

body[data-featured-standalone="true"] :is(.phone-shell, main) {
  display: block !important;
  width: 100% !important;
  max-width: 460px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body[data-featured-standalone="true"] #homeFeaturedDetail {
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 16px calc(24px + var(--independent-safe-bottom)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-featured-standalone="true"] .featured-page-shell {
  display: block !important;
  padding: 0 !important;
}

body[data-featured-standalone="true"] .featured-page-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  align-items: center !important;
  width: auto !important;
  height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  min-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  margin: 0 -16px 16px !important;
  padding: var(--independent-safe-top) 0 0 !important;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-featured-standalone="true"] .featured-page-head h2 {
  min-width: 0 !important;
  overflow: hidden !important;
  font-size: 17px !important;
  font-weight: 760 !important;
  line-height: var(--independent-bar-height) !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-featured-standalone="true"] .featured-page-close {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: var(--independent-bar-height) !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #15212f !important;
  box-shadow: none !important;
}

body[data-featured-standalone="true"] .featured-page-close::before {
  content: none !important;
  display: none !important;
}

body[data-featured-standalone="true"] .featured-page-close svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body[data-featured-standalone="true"] .featured-page-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  color: rgba(21, 33, 47, 0.58);
  font-size: 12px;
}

body[data-featured-standalone="true"] .featured-page-context span {
  color: #08201c;
  font-weight: 800;
}

body[data-featured-standalone="true"] .featured-page-context p {
  margin: 0;
}

/* Every nested account page uses the same full-screen child-page frame. */
body[data-account-subpage="true"][data-active-page="profile"] {
  --independent-safe-top: env(safe-area-inset-top, 0px);
  --independent-safe-bottom: env(safe-area-inset-bottom, 0px);
  --independent-bar-height: 56px;
  overflow: hidden !important;
  background: #fff !important;
}

body[data-account-subpage="true"][data-active-page="profile"] :is(.app-header, .bottom-nav) {
  display: none !important;
}

body[data-account-subpage="true"][data-active-page="profile"] :is(.phone-shell, main) {
  width: 100% !important;
  max-width: 460px !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body[data-account-subpage="true"][data-active-page="profile"] #meDashboard {
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 16px calc(24px + var(--independent-safe-bottom)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  grid-template-columns: 64px minmax(0, 1fr) 64px !important;
  width: auto !important;
  height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  min-height: calc(var(--independent-safe-top) + var(--independent-bar-height)) !important;
  margin: 0 -16px 16px !important;
  padding: var(--independent-safe-top) 0 0 !important;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head button {
  width: 48px !important;
  height: var(--independent-bar-height) !important;
  margin: 0 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head button::before {
  content: none !important;
  display: none !important;
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head button svg {
  width: 25px !important;
  height: 25px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head strong {
  overflow: hidden !important;
  font-size: 17px !important;
  line-height: var(--independent-bar-height) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-account-subpage="true"][data-active-page="profile"] .account-subpage-head span {
  display: none !important;
}

@media (min-width: 700px) {
  body.module-standalone-open {
    padding: 24px 0 !important;
    background: #eef3f1 !important;
  }

  body.module-standalone-open .phone-shell,
  body.module-standalone-open main,
  body.module-standalone-open main > .service-module-standalone-active {
    height: calc(100dvh - 48px) !important;
    min-height: calc(100dvh - 48px) !important;
    max-height: calc(100dvh - 48px) !important;
    border-radius: 24px !important;
  }
}

/* v727 final scroll ownership override. */
body.module-standalone-open main > .service-module-standalone-active:has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  overflow: hidden !important;
  padding-bottom: 0 !important;
}

body.module-standalone-open :is(.hotel-page-shell, .ticket-page-shell):has(.hotel-subpage:not(.hidden), .ticket-subpage:not(.hidden)) {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.module-standalone-open :is(.hotel-subpage, .ticket-subpage):not(.hidden) {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* interaction-unification-v610.css */
/* ExplorePanda v610: shared route-picker and search-field language. */

/* Go dashboard route picker now matches the Taxi route card. */
#goDashboard .journey-route-form {
  position: relative;
  display: block;
  margin-top: 14px;
  padding: 6px 48px 6px 14px;
  overflow: visible;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

#goDashboard .journey-route-point {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 70px;
  padding: 10px 0;
  border: 0;
  background: transparent;
}

#goDashboard .journey-route-origin {
  border-bottom: 1px solid #edf3f1;
}

#goDashboard .journey-route-point > i {
  position: relative;
  align-self: start;
  justify-self: center;
  width: 14px;
  height: 14px;
  margin-top: 17px;
  border: 0;
}

#goDashboard .journey-route-origin > i {
  border-radius: 50%;
  background: #45c0a5;
}

#goDashboard .journey-route-origin > i::after,
#goDashboard .journey-route-destination > i::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  content: "";
  background: #fff;
}

#goDashboard .journey-route-destination > i {
  border-radius: 50% 50% 50% 0;
  background: #f05a61;
  transform: rotate(-45deg);
}

#goDashboard .journey-route-destination > i::after {
  transform: rotate(45deg);
}

#goDashboard .journey-route-point span {
  align-self: center;
}

#goDashboard .journey-route-point small {
  display: block;
  color: #71807c;
  font-size: 12px;
}

#goDashboard .journey-route-point span > em {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #71807c;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#goDashboard .journey-route-point :is(strong, input) {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  margin-top: 3px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #15212f;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: none;
}

#goDashboard #goDestinationInput {
  display: none !important;
}

#goDashboard .journey-route-point > button {
  align-self: center;
  min-height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: #f5faf8;
  color: #08201c;
  font-size: 12px;
  font-weight: 800;
}

#goDashboard .journey-route-swap {
  position: absolute;
  top: calc(50% - 15px);
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #dfe9e5;
  border-radius: 8px;
  background: #f5faf8;
  color: #08201c;
  font-size: 18px;
  font-weight: 800;
}

/* Flight and rail endpoints use the same vertical card and symbols. */
body.module-standalone-open #ticketBooking .ticket-route-row {
  position: relative;
  display: block;
  padding: 6px 48px 6px 14px;
  overflow: visible;
  border: 1px solid #dfe9e5;
  border-radius: 10px;
  background: #fff;
}

body.module-standalone-open #ticketBooking .ticket-city-button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: 70px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.module-standalone-open #ticketBooking .ticket-city-button:first-child {
  border-bottom: 1px solid #edf3f1;
}

body.module-standalone-open #ticketBooking .ticket-city-button > em {
  position: relative;
  align-self: start;
  justify-self: center;
  width: 14px;
  height: 14px;
  margin-top: 17px;
}

body.module-standalone-open #ticketBooking .ticket-city-button > em.start {
  border-radius: 50%;
  background: #45c0a5;
}

body.module-standalone-open #ticketBooking .ticket-city-button > em.end {
  border-radius: 50% 50% 50% 0;
  background: #f05a61;
  transform: rotate(-45deg);
}

body.module-standalone-open #ticketBooking .ticket-city-button > em b {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

body.module-standalone-open #ticketBooking .ticket-city-button span {
  display: block;
  align-self: center;
}

body.module-standalone-open #ticketBooking .ticket-city-button small {
  display: block;
  color: #71807c;
  font-size: 12px;
  font-weight: 650;
}

body.module-standalone-open #ticketBooking .ticket-city-button strong {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.35;
}

body.module-standalone-open #ticketBooking .ticket-swap-button {
  position: absolute;
  top: calc(50% - 15px);
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #dfe9e5;
  border-radius: 8px;
  background: #f5faf8;
  color: #08201c;
  font-size: 18px;
  box-shadow: none;
}

/* All non-map customer search fields reuse the Home/Map pill treatment. */
:is(
  #goOriginSearchInput,
  #toolCenterSearch,
  #serviceHubSearch,
  #cityDataSearch,
  #citySearch,
  #phoneCountrySearch
) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 18px 0 46px !important;
  border: 1px solid #e2e8e6 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687572' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 17px center !important;
  background-size: 20px 20px !important;
  color: #15212f !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  box-shadow: 0 5px 18px rgba(21, 33, 47, 0.07) !important;
  appearance: none;
  -webkit-appearance: none;
}

:is(
  #goOriginSearchInput,
  #toolCenterSearch,
  #serviceHubSearch,
  #cityDataSearch,
  #citySearch,
  #phoneCountrySearch
):focus {
  border-color: rgba(69, 192, 165, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.13), 0 5px 18px rgba(21, 33, 47, 0.07) !important;
}

:is(
  #goOriginSearchInput,
  #toolCenterSearch,
  #serviceHubSearch,
  #cityDataSearch,
  #citySearch,
  #phoneCountrySearch
)::placeholder {
  color: #7b8582 !important;
  font-weight: 600 !important;
}

:is(.go-origin-search, .city-data-search-row, .service-hub-search) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
}

:is(.go-origin-search, .city-data-search-row, .service-hub-search) > button {
  min-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #45c0a5 !important;
  color: #08201c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

@media (max-width: 380px) {
  :is(.go-origin-search, .city-data-search-row, .service-hub-search) > button {
    padding-inline: 13px !important;
  }
}

/* Go uses one full-page endpoint picker for both origin and destination. */
#goDashboard .go-origin-sheet {
  box-sizing: border-box;
  width: min(100vw, 460px);
  padding: 0 16px calc(24px + env(safe-area-inset-bottom));
  background: #fff;
}

#goDashboard .go-route-picker-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: calc(56px + env(safe-area-inset-top));
  margin: 0 -16px;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(21, 33, 47, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

#goDashboard .go-route-picker-head > button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #15212f;
}

#goDashboard .go-route-picker-head > button::before {
  display: none !important;
  content: none !important;
}

#goDashboard .go-route-picker-head svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#goDashboard .go-route-picker-head > strong {
  overflow: hidden;
  font-size: 17px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#goDashboard .go-origin-search {
  margin-top: 16px;
}

#goDashboard .go-origin-results,
#goDashboard .go-route-picker-options {
  overflow: hidden;
  border: 1px solid #e2e8e6;
  border-radius: 12px;
  background: #fff;
}

#goDashboard .go-route-picker-options[hidden] {
  display: none;
}

#goDashboard .go-origin-results button,
#goDashboard .go-origin-current {
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  min-height: 64px;
  margin: 0;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid rgba(21, 33, 47, 0.08);
  border-radius: 0;
}

#goDashboard .go-origin-results button:last-child,
#goDashboard .go-origin-current:last-child {
  border-bottom: 0;
}

#goDashboard .go-route-picker-options {
  margin-top: 12px;
}

/* The shared Taxi/Go endpoint picker uses the Home/Explore search language. */
body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search,
body[data-ride-standalone="true"] .map-route-picker-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 50px !important;
  gap: 0 !important;
  align-items: center !important;
  box-sizing: border-box !important;
  min-height: 60px !important;
  padding: 4px !important;
  overflow: hidden !important;
  margin: 12px 0 14px !important;
  border: 1px solid #e2e8e6 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(21, 33, 47, 0.07) !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search:focus-within,
body[data-ride-standalone="true"] .map-route-picker-search:focus-within {
  border-color: rgba(69, 192, 165, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.13), 0 5px 18px rgba(21, 33, 47, 0.07) !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search input,
body[data-ride-standalone="true"] .map-route-picker-search input {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 10px 0 42px !important;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687572' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 17px center !important;
  background-size: 20px 20px !important;
  color: #15212f !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search input:focus,
body[data-ride-standalone="true"] .map-route-picker-search input:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search button,
body[data-ride-standalone="true"] .map-route-picker-search button {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #45c0a5 !important;
  color: #08201c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search button::before,
body[data-ride-standalone="true"] .map-route-picker-search button::before {
  display: none !important;
  content: none !important;
}

body[data-active-page="explore"][data-route-planning="true"] .map-route-picker-search button svg,
body[data-ride-standalone="true"] .map-route-picker-search button svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: auto !important;
  fill: none !important;
  stroke: #08201c !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* ui-state-system-v617.css */
/* ExplorePanda v617: one honest, calm state language across customer pages. */
.ep-ui-state,
.ep-state-surface {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 16px 0;
  padding: 32px 22px;
  border: 1px solid #e7edeb;
  border-radius: 16px;
  background: #fbfdfc;
  color: #15212f;
  text-align: center;
  box-shadow: none;
}

.ep-ui-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.ep-ui-state.is-compact,
.ep-state-surface.compact {
  min-height: 150px;
  padding: 24px 18px;
}

.ep-ui-state-icon,
.ep-state-surface::before {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e9f7f3;
  color: #08201c;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ep-state-surface::before {
  content: "·";
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="loading"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="loading"]::before {
  width: 30px;
  height: 30px;
  border: 3px solid #d6ebe5;
  border-top-color: #45c0a5;
  background: transparent;
  content: "";
  animation: ep-state-spin 0.8s linear infinite;
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="empty"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="empty"]::before {
  content: "—";
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="offline"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="offline"]::before {
  content: "↯";
  background: #fff2e8;
  color: #d56b2b;
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="error"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="error"]::before {
  content: "!";
  background: #fff0f1;
  color: #dc4d57;
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="unavailable"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="unavailable"]::before {
  content: "…";
  background: #f1f4f3;
  color: #697773;
}

:is(.ep-ui-state, .ep-state-surface)[data-state-kind="auth"] :is(.ep-ui-state-icon),
.ep-state-surface[data-state-kind="auth"]::before {
  content: "✓";
}

.ep-ui-state > strong,
.ep-state-surface > strong {
  display: block;
  max-width: 320px;
  margin: 0 auto;
  color: #15212f;
  font-size: 17px;
  font-weight: 780;
  line-height: 1.35;
  white-space: pre-line;
}

.ep-ui-state > p,
.ep-state-surface > :is(p, span) {
  display: block;
  max-width: 330px;
  margin: 8px auto 0;
  color: #71807c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  white-space: pre-line;
}

.ep-ui-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ep-ui-state-actions button {
  min-width: 104px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #dbe6e2;
  border-radius: 999px;
  background: #fff;
  color: #08201c;
  font-size: 14px;
  font-weight: 760;
  box-shadow: none;
}

.ep-ui-state-actions button:first-child {
  border-color: #45c0a5;
  background: #45c0a5;
  color: #fff;
}

.ep-status-line {
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f4f8f7 !important;
  color: #586763 !important;
  font-size: 13px !important;
  font-weight: 560 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.ep-status-line[data-tone="loading"] {
  color: #277c6a !important;
}

.ep-status-line[data-tone="warning"] {
  background: #fff4ef !important;
  color: #a7502d !important;
}

.ep-status-line[data-tone="neutral"] {
  background: #f4f5f5 !important;
  color: #66716e !important;
}

html[dir="rtl"] .ep-status-line {
  text-align: right !important;
}

@keyframes ep-state-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  :is(.ep-ui-state, .ep-state-surface)[data-state-kind="loading"] :is(.ep-ui-state-icon),
  .ep-state-surface[data-state-kind="loading"]::before {
    animation-duration: 1.6s;
  }
}

/* support-center-v618.css */
#supportCenter.service-module-standalone-active {
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff;
}

#supportCenter.service-module-standalone-active > .section-title {
  display: none !important;
}

.support-center-panel {
  --support-green: #45c0a5;
  --support-green-soft: #e8f4ee;
  --support-ink: #18211d;
  --support-muted: #68756f;
  --support-line: #e5eae7;
  width: 100%;
  height: calc(100dvh - var(--independent-safe-top, 0px) - var(--independent-bar-height, 56px));
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: var(--support-ink);
  background: #fff;
  border-radius: inherit;
}

.support-center-panel.support-keyboard-active { height: var(--support-visible-height, calc(100dvh - 56px)); }

body.support-keyboard-open #supportCenter.service-module-standalone-active {
  position: fixed !important;
  top: var(--support-viewport-top, 0px) !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: var(--support-viewport-height, 100dvh) !important;
  min-height: 0 !important;
  max-height: var(--support-viewport-height, 100dvh) !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* The software keyboard already owns the device bottom inset. Keeping the
   home-indicator inset here creates a second empty band above the keyboard. */
body.support-keyboard-open .support-composer {
  padding-bottom: 9px;
}

/* The iOS container supplies its own UIKit composer while the keyboard is
   active. Removing the web composer prevents a duplicated blank row. */
body.support-native-composer-open .support-composer {
  display: none !important;
}

.support-page-header {
  display: none !important;
}

.support-global-sound {
  position: relative;
  color: #68756f !important;
  background: #f3f5f4 !important;
}

.support-global-sound.is-active {
  color: #147a53 !important;
  background: #e8f4ee !important;
}

.support-global-sound.is-muted { color: #7d8782 !important; }

body.module-standalone-open .module-back-actions > button.support-global-sound[data-support-sound-state="on"] {
  color: #147a53 !important;
  background: transparent !important;
}

body.module-standalone-open .module-back-actions > button.support-global-sound[data-support-sound-state="off"] {
  color: #7d8782 !important;
  background: transparent !important;
}

.support-global-reply-toast {
  position: fixed;
  z-index: 10040;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  width: min(420px, calc(100vw - 28px));
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid rgba(26, 137, 105, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 34px rgba(18, 62, 50, .18);
  color: #172720;
  text-align: left;
  backdrop-filter: blur(16px);
  animation: support-toast-in .22s ease-out;
}

.support-global-reply-toast strong { font-size: 14px; }
.support-global-reply-toast span { color: #61716b; font-size: 12px; line-height: 1.45; }

@keyframes support-toast-in {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.support-global-new {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  color: #147a53 !important;
  font-size: 27px !important;
  line-height: 1 !important;
  font-weight: 720 !important;
  border-radius: 50% !important;
}

.support-new-icon { font-size: 27px !important; line-height: 1; }

.support-global-sound svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-persistent-inbox {
  position: fixed;
  z-index: 10020;
  right: 14px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(20, 122, 83, .2);
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: #147a53;
  box-shadow: 0 8px 24px rgba(20, 82, 61, .24);
  font-size: 12px;
  font-weight: 720;
}

.support-persistent-inbox[hidden] { display: none !important; }
.support-persistent-inbox svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.support-persistent-inbox i,
.support-nav-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #d84a4a;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.bottom-nav [data-mobile-tab="profile"] { position: relative; }
.bottom-nav [data-mobile-tab="support"] .support-nav-badge {
  position: absolute;
  top: 2px;
  left: calc(50% + 7px);
}
.bottom-nav [data-mobile-tab="support"] .support-nav-badge[hidden] { display: none !important; }

.support-page-header {
  flex: 0 0 auto;
  min-height: 58px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid rgba(24, 33, 29, .07);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  z-index: 3;
}

.support-page-header > div {
  min-width: 0;
  text-align: center;
}

.support-page-header h2 {
  margin: 0;
  color: var(--support-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 760;
  letter-spacing: -.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-page-header p {
  margin: 2px 0 0;
  color: var(--support-muted);
  font-size: 10px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-icon-button,
.support-text-button {
  border: 0;
  background: transparent;
  color: var(--support-ink);
}

.support-icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.support-icon-button.is-active {
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-icon-button.is-muted {
  color: #7d8782;
  background: #f3f5f4;
}

.support-sound-status {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #929b97;
  box-sizing: border-box;
}

[data-support-sound-state="on"] .support-sound-status {
  background: #18a56f;
  box-shadow: 0 0 0 2px rgba(24, 165, 111, .14);
}

.support-icon-button svg,
.support-header-spacer {
  width: 22px;
  height: 22px;
}

.support-text-button {
  width: max-content;
  min-width: 42px;
  justify-self: end;
  color: var(--support-green);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.support-center-panel svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-scroll-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px calc(26px + env(safe-area-inset-bottom));
}

.support-welcome {
  padding: 4px 2px 18px;
}

.support-welcome > p {
  margin: 0 0 14px;
  color: var(--support-ink);
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -.7px;
}

.support-search {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #dfe6e2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(31, 62, 47, .04);
}

.support-search svg {
  width: 20px;
  color: var(--support-green);
}

.support-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--support-ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.support-login-card,
.support-conversation-summary,
.support-safety-entry {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 17px;
  display: grid;
  align-items: center;
  text-align: left;
}

.support-conversation-summary,
.support-safety-entry {
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 11px;
  padding: 14px;
  color: var(--support-ink);
  background: #fff;
  box-shadow: 0 5px 20px rgba(29, 59, 45, .055);
}

.support-summary-icon,
.support-category-icon,
.support-safety-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--support-green);
  background: var(--support-green-soft);
  position: relative;
}

.support-summary-icon svg,
.support-category-icon svg,
.support-safety-icon svg {
  width: 22px;
  height: 22px;
}

.support-summary-icon i {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -5px;
  right: -5px;
  color: #fff;
  background: #d84a4a;
  font-size: 8px;
  font-style: normal;
}

.support-conversation-summary > span:nth-child(2),
.support-safety-entry > span:nth-child(2),
.support-login-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.support-conversation-summary strong,
.support-safety-entry strong,
.support-login-card strong {
  font-size: 14px;
  font-weight: 740;
}

.support-conversation-summary small,
.support-safety-entry small,
.support-login-card small {
  color: var(--support-muted);
  font-size: 11px;
  line-height: 1.4;
}

.support-conversation-summary > svg,
.support-safety-entry > svg {
  width: 18px;
  color: #a2aca7;
}

.support-login-card {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(29, 59, 45, .055);
}

.support-login-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-login-card > .support-login-avatar { padding: 0; overflow: hidden; border: 1px solid rgba(69,192,165,.2); background: #fff; }
.support-login-card > .support-login-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }

.support-login-card svg {
  width: 22px;
}

.support-login-card button {
  min-width: 58px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--support-green);
  font-size: 12px;
  font-weight: 700;
}

.support-section {
  margin-top: 22px;
}

.support-section-heading {
  padding: 0 3px 9px;
}

.support-section-heading h3 {
  margin: 0;
  color: var(--support-ink);
  font-size: 15px;
  font-weight: 760;
}

.support-category-list,
.support-faq-list {
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(29, 59, 45, .045);
}

.support-category-list button {
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--support-line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  color: var(--support-ink);
  background: transparent;
  text-align: left;
}

.support-category-list button:last-child,
.support-faq-list button:last-child {
  border-bottom: 0;
}

.support-category-list button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.support-category-list strong {
  font-size: 14px;
  font-weight: 710;
}

.support-category-list small {
  color: var(--support-muted);
  font-size: 11px;
}

.support-category-list button > svg {
  width: 17px;
  color: #adb6b1;
}

.bilingual-ui .support-category-list button,
.bilingual-ui .support-faq-list button,
.bilingual-ui .support-safety-entry {
  height: auto;
  min-height: 76px;
}

.bilingual-ui .support-category-list :is(strong, small),
.bilingual-ui .support-faq-list button > span,
.bilingual-ui .support-safety-entry :is(strong, small),
.bilingual-ui .support-conversation-summary :is(strong, small),
.bilingual-ui .support-field > span,
.bilingual-ui .support-routing-note :is(strong, small) {
  white-space: pre-line;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.32;
}

.support-faq-list button {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--support-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--support-ink);
  background: transparent;
  font-size: 13px;
  text-align: left;
}

.support-faq-list svg {
  width: 17px;
  flex: 0 0 auto;
  color: #adb6b1;
}

.support-no-result {
  margin: 0;
  padding: 20px 16px;
  color: var(--support-muted);
  font-size: 13px;
  text-align: center;
}

.support-safety-entry {
  margin-top: 20px;
}

.support-safety-icon {
  color: #c04444;
  background: #faecec;
}

.support-service-note {
  margin: 15px 14px 0;
  color: #8a9690;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.support-conversations {
  padding-top: 10px;
}

.support-thread-row {
  width: 100%;
  min-height: 86px;
  margin-bottom: 9px;
  padding: 13px;
  border: 1px solid rgba(24, 33, 29, .055);
  border-radius: 17px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  color: var(--support-ink);
  background: #fff;
  box-shadow: 0 4px 15px rgba(29, 59, 45, .035);
  text-align: left;
}

.support-thread-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-thread-icon svg {
  width: 21px;
}

.support-thread-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.support-thread-copy > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.support-thread-copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 730;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-thread-copy time {
  flex: 0 0 auto;
  color: #929c97;
  font-size: 9px;
}

.support-thread-copy small {
  overflow: hidden;
  color: var(--support-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-status {
  width: max-content;
  padding: 3px 7px;
  border-radius: 7px;
  color: var(--support-green);
  background: var(--support-green-soft);
  font-size: 9px;
  font-style: normal;
  line-height: 1.2;
}

.support-status-pending_customer {
  color: #9b691d;
  background: #fff2da;
}

.support-status-resolved,
.support-status-closed {
  color: #6e7873;
  background: #eef1ef;
}

.support-unread {
  min-width: 20px;
  height: 20px;
  align-self: center;
  padding: 0 5px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #d84a4a;
  font-size: 9px;
  font-style: normal;
}

.support-empty-state,
.support-auth-required {
  min-height: 390px;
  padding: 56px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.support-empty-state > svg,
.support-auth-required > span {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-auth-required > .support-auth-avatar { padding: 0; overflow: hidden; border: 1px solid rgba(69,192,165,.2); background: #fff; }
.support-auth-required > .support-auth-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }

.support-auth-required > span svg {
  width: 30px;
}

.support-empty-state > svg {
  padding: 17px;
}

.support-empty-state strong,
.support-auth-required h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 760;
}

.support-empty-state p,
.support-auth-required p {
  max-width: 290px;
  margin: 8px 0 22px;
  color: var(--support-muted);
  font-size: 12px;
  line-height: 1.6;
}

.support-auth-required .support-primary-action + .support-secondary-action {
  margin-top: 12px;
}

.support-empty-state button,
.support-thread-closed button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--support-green);
  font-weight: 700;
}

.support-csat,.support-csat-complete {
  display: grid;
  gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--support-line);
  background: #fff;
}
.support-csat > div { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.support-csat label { cursor: pointer; }
.support-csat input { position: absolute; opacity: 0; pointer-events: none; }
.support-csat label span { display: grid; place-items: center; min-height: 34px; border: 1px solid #dbe6e2; border-radius: 8px; color: #66736f; font-size: 11px; }
.support-csat input:checked + span { border-color: var(--support-green); background: #eff9f5; color: var(--support-green); font-weight: 800; }
.support-csat textarea { box-sizing: border-box; width: 100%; resize: none; border: 1px solid #dbe6e2; border-radius: 10px; padding: 10px; font: inherit; }
.support-csat-complete span { color: #e6a719; font-size: 20px; letter-spacing: 2px; }
.support-csat-complete p { margin: 0; color: var(--support-muted); font-size: 12px; }

.support-article,
.support-answer-actions,
.support-new-form {
  border-radius: 18px;
  background: #fff;
}

.support-article {
  padding: 24px 20px;
}

.support-article-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-article-mark svg {
  width: 23px;
}

.support-article h3 {
  margin: 18px 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.support-article p {
  margin: 0;
  color: #4f5d56;
  font-size: 14px;
  line-height: 1.75;
}

.support-answer-actions {
  margin-top: 12px;
  padding: 18px;
  display: grid;
  gap: 9px;
}

.support-answer-actions > p {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.support-primary-action,
.support-secondary-action {
  width: 100%;
  min-height: 47px;
  border-radius: 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
}

.support-primary-action {
  border: 0;
  color: #fff;
  background: var(--support-green);
}

.support-primary-action:disabled {
  opacity: .58;
}

.support-secondary-action {
  border: 1px solid #dfe6e2;
  color: var(--support-ink);
  background: #fff;
}

.support-new-form {
  padding: 18px;
  display: grid;
  gap: 17px;
}

.support-field {
  display: grid;
  gap: 7px;
}

.support-field > span {
  color: #48554f;
  font-size: 12px;
  font-weight: 690;
}

.support-field > span small {
  color: #9aa39f;
  font-weight: 500;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe6e2;
  border-radius: 13px;
  outline: none;
  color: var(--support-ink);
  background: #fafcfb;
  font: inherit;
  font-size: 13px;
}

.support-field input,
.support-field select {
  height: 46px;
  padding: 0 12px;
}

.support-field textarea {
  padding: 12px;
  line-height: 1.55;
  resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--support-green);
  box-shadow: 0 0 0 3px rgba(20, 122, 83, .09);
}

.support-character-count {
  justify-self: end;
  color: #9aa39f;
  font-size: 9px;
}

.support-routing-note {
  padding: 12px;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  color: var(--support-green);
  background: var(--support-green-soft);
}

.support-routing-note > svg {
  width: 23px;
}

.support-routing-note span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.support-routing-note strong {
  color: #215c46;
  font-size: 11px;
}

.support-routing-note small {
  color: #537465;
  font-size: 9px;
  line-height: 1.4;
}

.support-form-notice,
.support-inline-error {
  margin: 0;
  color: #b84040;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.support-loading,
.support-inline-error {
  padding: 30px 18px;
  text-align: center;
}

.support-inline-error button {
  margin-left: 8px;
  border: 0;
  color: var(--support-green);
  background: transparent;
  font-weight: 700;
}

.support-thread-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f5f7f6;
}

.support-thread-meta {
  min-height: 36px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(24, 33, 29, .055);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--support-muted);
  background: #fff;
  font-size: 9px;
}

.support-live-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--support-green);
  font-weight: 750;
}

.support-live-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--support-green);
  box-shadow: 0 0 0 3px rgba(25, 170, 123, .12);
  content: "";
}

.support-message-list {
  min-height: 0;
  padding: 15px 13px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.support-chat-day {
  margin: 3px 0 17px;
  color: #929c97;
  font-size: 9px;
  text-align: center;
}

.support-message {
  margin: 0 0 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.support-message.is-customer {
  justify-content: flex-end;
}

.support-agent-avatar {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--support-green);
}

.support-agent-avatar svg {
  width: 17px;
}

.support-message > div {
  width: fit-content;
  min-width: 0;
  max-width: min(78%, 420px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-message.is-customer > div {
  margin-left: auto;
  align-items: flex-end;
}

.support-message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 5px 15px 15px 15px;
  color: var(--support-ink);
  background: #fff;
  box-shadow: 0 2px 10px rgba(29, 59, 45, .035);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.support-message.is-customer p {
  border-radius: 15px 5px 15px 15px;
  color: #fff;
  background: var(--support-green);
}

.support-message time {
  display: block;
  margin-top: 4px;
  color: #929c97;
  font-size: 8px;
}

.support-message.is-customer time {
  text-align: right;
}

.support-composer {
  min-height: 63px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--support-line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  background: #fff;
}
.support-message-field { min-width: 0; width: 100%; align-self: center; display: flex; align-items: center; }

.support-attach-button {
  width: 42px;
  height: 42px;
  border: 1px solid #dfe6e2;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--support-green);
  background: #f7f9f8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-attach-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.support-media-field input { padding: 10px; border: 1px dashed #cbd9d4; border-radius: 12px; background: #f8fbfa; }
.support-pending-media { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.support-pending-media span { min-width: 0; max-width: 100%; padding: 6px 8px 6px 10px; border-radius: 999px; display: flex; align-items: center; gap: 7px; color: #356158; background: #eaf6f2; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-pending-media button { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; color: #356158; background: rgba(255,255,255,.8); font-size: 15px; }
.support-message-media { width: fit-content; max-width: 100%; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }
.support-message-media a,
.support-message-media button { padding: 0; border: 0; display: block; border-radius: 10px; overflow: hidden; background: #eef3f1; cursor: pointer; }
.support-message-media .support-media-image { width: 132px; max-width: 100%; aspect-ratio: 11 / 9; flex: 0 1 132px; }
.support-message-media img { width: 100%; height: 100%; aspect-ratio: 11 / 9; display: block; object-fit: cover; }
.support-message.is-customer .support-message-media { justify-content: end; }

.support-composer textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  max-height: 106px;
  padding: 11px 13px;
  border: 1px solid #dfe6e2;
  border-radius: 15px;
  outline: none;
  color: var(--support-ink);
  background: #f7f9f8;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  resize: none;
}

.support-composer button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--support-green);
}

.support-composer button svg {
  width: 20px;
}

.support-thread-closed {
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--support-line);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--support-muted);
  background: #fff;
}

/* ExplorePanda brand-token lock: interactive support controls use the shared jade. */
.support-global-sound.is-active,
body.module-standalone-open .module-back-actions > button.support-global-sound[data-support-sound-state="on"],
.support-global-new { color: #45c0a5 !important; }
.support-persistent-inbox,
.support-login-card button,
.support-primary-action,
.support-composer button { background: #45c0a5; color: #08201c; }
.support-persistent-inbox { border-color: rgba(69,192,165,.38); box-shadow: 0 8px 24px rgba(30,117,98,.2); }

.support-thread-closed > svg {
  width: 20px;
  color: var(--support-green);
}

.support-thread-closed p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

/* v770 — simplified first-class mobile conversation surface. */
.support-global-more {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #08201c !important;
  background: transparent !important;
}

.support-global-more:active { background: #f0f4f2 !important; transform: scale(.96); }
.support-global-more svg { width: 22px; height: 22px; }

.support-thread-layout {
  position: relative;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #fff;
}

.support-thread-layout.support-draft-thread {
  grid-template-rows: max-content max-content minmax(0, 1fr) max-content;
}

.support-agent-identity {
  min-height: 58px;
  padding: 8px 13px;
  border-bottom: 1px solid rgba(8,32,28,.045);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #15211d;
  background: #fff;
  position: relative;
  z-index: 8;
}
.support-agent-identity-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border: 1px solid rgba(69,192,165,.22);
  border-radius: 50%;
  background: #eef9f6;
}
.support-agent-identity-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-agent-identity > span:last-child { min-width: 0; display: grid; gap: 3px; }
.support-agent-identity strong { overflow: hidden; font-size: 13px; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.support-agent-identity small { display: flex; align-items: center; gap: 5px; color: #718079; font-size: 9px; }
.support-agent-identity small i { width: 6px; height: 6px; border-radius: 50%; background: #45c0a5; box-shadow: 0 0 0 3px rgba(69,192,165,.12); }
.support-service-state {
  margin: 0 16px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(22, 104, 82, .07);
  color: #38574e;
  font-size: 12px;
  line-height: 1.45;
}

.support-thread-menu {
  width: min(196px, calc(100% - 24px));
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 12;
  padding: 6px;
  border: 1px solid #e5ebe8;
  border-radius: 15px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 36px rgba(18,43,35,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.support-thread-menu[hidden] { display: none !important; }
.support-thread-menu button {
  width: 100%;
  min-height: 43px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  color: #18211d;
  background: transparent;
  font-size: 12px;
  text-align: left;
}
.support-thread-menu button:active { background: #f3f6f4; }
.support-thread-menu button > svg { width: 18px; height: 18px; color: #68756f; }
.support-thread-menu button > svg:last-child { width: 15px; height: 15px; color: #9aa49f; }
.support-thread-menu button small { color: #7c8883; font-size: 9px; }

.support-thread-context-wrap {
  min-height: 74px;
  flex: 0 0 auto;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(8,32,28,.035);
  background: #fff;
}

#supportCenter.support-thread-active > .module-back-bar {
  margin: 0 -16px !important;
}

.support-thread-context {
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) 20px;
  align-items: center;
  gap: 9px;
  border: 1px solid #e8eeeb;
  border-radius: 15px;
  color: #15211d;
  background: #fff;
  text-align: left;
}

.support-thread-context-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #08201c;
  background: #eef9f6;
}
.support-thread-context-icon svg { width: 19px; height: 19px; }
.support-thread-context > span:nth-child(2) { min-width: 0; }
.support-thread-context small { display: block; overflow: hidden; color: #6f7c77; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.support-thread-context strong { margin-top: 2px; display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.support-thread-context > svg { width: 16px; height: 16px; color: #9aa49f; transform: rotate(90deg); transition: transform .18s ease; }
.support-thread-context[aria-expanded="true"] > svg { transform: rotate(-90deg); }

.support-thread-context-detail {
  margin: 6px 4px 0;
  padding: 9px 11px;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  color: #52615c;
  background: #f7f9f8;
  font-size: 10px;
  line-height: 1.45;
}
.support-thread-context-detail[hidden] { display: none !important; }
.support-thread-context-detail strong { color: #18211d; }
.support-thread-context-detail small { width: 100%; color: #7b8782; }

.support-draft-category-label {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.support-draft-category-label > span { color: #6f7c77; white-space: nowrap; }
.support-draft-category-menu { position: relative; min-width: 0; }
.support-draft-category-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 40px;
  padding: 0 10px 0 12px;
  border: 1px solid #dfe9e5;
  border-radius: 12px;
  color: #15211d;
  background-color: #fff;
  font: inherit;
  text-align: left;
  box-shadow: 0 2px 8px rgba(11, 30, 26, 0.04);
}
.support-draft-category-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support-draft-category-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}
.support-draft-category-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.support-draft-category-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 8;
  width: min(250px, calc(100vw - 64px));
  max-height: min(46dvh, 330px);
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(20, 45, 39, 0.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 30, 26, 0.16), 0 2px 8px rgba(11, 30, 26, 0.08);
}
.support-draft-category-options[hidden] { display: none !important; }
.support-draft-category-options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 9px 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #182522;
  font: inherit;
  text-align: left;
}
.support-draft-category-options button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-draft-category-options button i { visibility: hidden; color: #45c0a5; font-style: normal; font-weight: 800; text-align: right; }
.support-draft-category-options button.is-selected { background: #edf8f4; color: #45c0a5; font-weight: 700; }
.support-draft-category-options button.is-selected i { visibility: visible; }
@media (max-width: 360px) {
  .support-draft-category-label { grid-template-columns: 1fr; gap: 6px; }
}

.support-message-list { padding: 11px 14px 22px; background: #fff; }
.support-draft-message-list { display: flex; align-items: flex-start; }
.support-draft-greeting { margin-top: 4px; display: flex; align-items: flex-start; gap: 8px; }
.support-draft-greeting p {
  max-width: min(76%, 420px);
  margin: 0;
  padding: 10px 12px;
  border-radius: 5px 17px 17px 17px;
  color: #15211d;
  background: #fff;
  box-shadow: 0 1px 2px rgba(8,32,28,.045);
  font-size: 13px;
  line-height: 1.58;
}
.support-chat-day { margin: 3px 0 12px; color: #96a09c; font-size: 9px; }
.support-chat-safety-note {
  width: fit-content;
  max-width: 88%;
  margin: 0 auto 18px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #79847f;
  background: rgba(231,236,233,.72);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.support-message { margin-bottom: 16px; align-items: flex-start; gap: 8px; }
.support-agent-avatar {
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(69,192,165,.2);
  border-radius: 50%;
  background: #eef9f6;
}
.support-agent-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-message > div { max-width: min(76%, 420px); }
.support-customer-avatar {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid rgba(69,192,165,.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #45c0a5;
  background: #e8f6f2;
}
.support-customer-avatar svg { width: 17px; height: 17px; }
.support-customer-avatar.has-system-avatar { overflow: hidden; border-color: transparent; background: transparent; }
.support-customer-avatar.has-system-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-form-notice { width: 100%; margin: 8px 0 0; text-align: center; }
.support-message p {
  padding: 10px 12px;
  border-radius: 5px 17px 17px 17px;
  color: #15211d;
  background: #fff;
  box-shadow: 0 1px 2px rgba(8,32,28,.045);
  font-size: 13px;
  line-height: 1.58;
}
.support-message.is-customer p {
  border-radius: 17px 5px 17px 17px;
  color: #08201c;
  background: #45c0a5;
  box-shadow: none;
}
.support-message time { margin-top: 4px; color: #99a39f; font-size: 9px; }

.support-attachment-tray {
  padding: 8px 22px 10px;
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
}
.support-attachment-tray[hidden] { display: none !important; }
.support-attachment-tray label {
  min-height: 56px;
  display: grid;
  justify-items: center;
  align-content: center;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  color: #52615c;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.support-attachment-tray label > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #dfe9e5; border-radius: 50%; color: #45c0a5; background: #f5faf8; box-shadow: 0 6px 16px rgba(8,32,28,.045); }
.support-attachment-tray label:active > span { border-color: rgba(69,192,165,.48); background: #eef9f6; transform: scale(.96); }
.support-attachment-tray label svg { width: 19px; height: 19px; }
.support-attachment-tray input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.support-composer {
  min-height: 66px;
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  position: relative;
  z-index: 3;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  align-items: center;
  gap: 7px;
  background: #fff;
}
.support-composer .support-attach-button,
.support-composer .support-voice-button,
.support-composer .support-send-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.support-composer .support-voice-button { color: #137e68; background: #eef8f5; }
.support-composer .support-voice-button.is-listening { color: #08201c; background: #45c0a5; animation: support-voice-pulse 1.2s ease-in-out infinite; }
.support-composer .support-voice-button svg { width: 20px; height: 20px; }
.support-composer .support-hold-to-talk {
  width: 100%;
  height: 44px;
  border: 1px solid #dce7e3;
  border-radius: 15px;
  color: #18342d;
  background: #f7faf9;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: color .14s ease, background-color .14s ease, border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.support-composer .support-hold-to-talk.is-listening {
  border-color: #45c0a5;
  color: #08201c;
  background: #45c0a5;
  box-shadow: 0 0 0 4px rgba(69,192,165,.18), 0 7px 18px rgba(28,128,106,.2);
  transform: scale(.98);
}
.support-voice-wave { height: 20px; display: none; align-items: center; gap: 3px; }
.support-hold-to-talk.is-listening .support-voice-wave { display: flex; }
.support-voice-wave b { width: 3px; height: 6px; border-radius: 999px; display: block; background: #08201c; animation: support-voice-wave .62s ease-in-out infinite alternate; }
.support-voice-wave b:nth-child(2) { animation-delay: -.28s; }
.support-voice-wave b:nth-child(3) { animation-delay: -.48s; }
.support-voice-wave b:nth-child(4) { animation-delay: -.16s; }
@keyframes support-voice-wave { to { height: 17px; } }
@keyframes support-voice-pulse { 50% { box-shadow: 0 0 0 5px rgba(69,192,165,.18); } }
.support-message.is-system > div { max-width: min(78%, 310px); }
.support-message.is-system p { color: #405a52; background: #f0f6f4; box-shadow: none; }
.support-thread-closed button:disabled { opacity: .55; cursor: default; }
.support-composer .support-attach-button { color: #08201c; background: #f1f5f3; font-size: 24px; font-weight: 400; transition: transform .18s ease; }
.support-composer .support-attach-button.is-open { transform: rotate(45deg); }
.support-composer-actions { width: 44px; height: 44px; position: relative; align-self: center; }
.support-composer-actions > button { position: absolute; inset: 0; }
.support-composer-actions .support-send-button { display: none; }
.support-composer.is-ready .support-composer-actions .support-attach-button { display: none; }
.support-composer.is-ready .support-composer-actions .support-send-button { display: grid; }
.support-voice-feedback {
  max-width: min(280px, calc(100% - 48px));
  padding: 9px 13px;
  border-radius: 11px;
  position: absolute;
  left: 50%;
  bottom: 78px;
  z-index: 30;
  color: #fff;
  background: rgba(18, 33, 28, .88);
  box-shadow: 0 8px 26px rgba(8, 32, 28, .16);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}
.support-voice-feedback.is-visible { opacity: 1; transform: translate(-50%, 0); }
.support-voice-feedback.is-error { background: rgba(38, 45, 42, .94); }
.support-pending-media .support-media-preview {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 1px solid #e2eae6;
  border-radius: 12px;
  position: relative;
  display: block;
  overflow: hidden;
  color: #173a31;
  background: #f4f8f6;
}
.support-pending-media .support-media-preview :is(img,video) { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-pending-media .support-media-preview > small { max-width: calc(100% - 6px); padding: 2px 5px; border-radius: 5px; position: absolute; left: 3px; bottom: 3px; overflow: hidden; color: #fff; background: rgba(8,32,28,.68); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.support-pending-media .support-media-preview > button { width: 22px; height: 22px; border: 1px solid rgba(8,32,28,.08); position: absolute; top: 3px; right: 3px; z-index: 2; color: #15211d; background: rgba(255,255,255,.94); }
.support-pending-media .support-media-preview.is-video > i { width: 25px; height: 25px; border-radius: 50%; position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; color: #fff; background: rgba(8,32,28,.58); transform: translate(-50%,-50%); }
.support-pending-media .support-media-preview.is-video > i svg { width: 14px; height: 14px; }
.support-pending-media .support-media-preview.is-file { width: min(220px,100%); height: 58px; padding: 8px 35px 8px 10px; display: flex; align-items: center; gap: 8px; }
.support-pending-media .support-media-preview.is-file > svg { width: 23px; height: 23px; flex: 0 0 auto; }
.support-pending-media .support-media-preview.is-file > span { min-width: 0; display: grid; gap: 2px; }
.support-pending-media .support-media-preview.is-file strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.support-pending-media .support-media-preview.is-file small { color: #74817d; font-size: 8px; }
.support-media-file { min-width: 188px; padding: 10px 11px; display: flex !important; align-items: center; gap: 9px; color: #173a31; text-decoration: none; background: #f3f8f6 !important; }
.support-media-file svg { width: 22px; height: 22px; flex: 0 0 auto; }
.support-media-file span { min-width: 0; display: grid; gap: 2px; }
.support-media-file strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.support-media-file small { color: #74817d; font-size: 9px; }
.support-message-media .support-media-video { width: min(240px,100%); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; position: relative; display: block; overflow: hidden; background: #08100e; }
.support-message-media .support-media-video video { width: 100%; height: 100%; aspect-ratio: 16 / 9; display: block; object-fit: contain; }
.support-message-media .support-media-video i { width: 38px; height: 38px; border-radius: 50%; position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.55); transform: translate(-50%,-50%); }
.support-message-media .support-media-video i svg { width: 20px; height: 20px; }
.support-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 12000;
  padding: max(56px, calc(env(safe-area-inset-top) + 44px)) 14px max(28px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background: rgba(5, 12, 10, .94);
}
.support-media-viewer :is(img,video) { width: auto; max-width: 100%; height: auto; max-height: 100%; display: block; object-fit: contain; }
.support-media-viewer-document { width: min(920px,100%); height: 100%; min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px; background: #fff; }
.support-media-viewer-document iframe { width: 100%; height: 100%; min-height: 0; border: 0; display: block; background: #fff; }
.support-media-viewer-file { min-width: min(320px,90vw); padding: 26px 22px; border-radius: 16px; display: grid; justify-items: center; gap: 13px; color: #173a31; background: #fff; text-align: center; }
.support-media-viewer-file > svg { width: 38px; height: 38px; color: #18a889; }
.support-media-viewer-file a { padding: 10px 16px; border-radius: 10px; color: #fff; background: #18a889; text-decoration: none; }
.support-customer-avatar.has-image { overflow: hidden; }
.support-customer-avatar.has-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.support-media-viewer-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.13);
  font-size: 28px;
  line-height: 1;
}
.support-composer textarea {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #dfe7e3;
  border-radius: 17px;
  color: #15211d;
  background: #f7f9f8;
  font-size: 16px;
  line-height: 24px;
  vertical-align: middle;
}
.support-composer textarea:focus { border-color: #dfe7e3; background: #f7f9f8; box-shadow: none; outline: none; }
.support-composer .support-send-button { color: #919b97; background: #eef1f0; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.support-composer .support-send-button.is-ready,
.support-composer .support-send-button:not(:disabled) { color: #08201c; background: #45c0a5; }
.support-composer .support-send-button:not(:disabled):active { transform: scale(.95); }
.support-composer .support-send-button:disabled { cursor: default; opacity: 1; }
.support-composer .support-send-button svg { width: 20px; height: 20px; }

/* v789: Mobile support typography follows the native iOS/Android reading
   hierarchy: 16px body, 15px callout, 13px footnote and 12px caption. */
.support-center-panel {
  --support-type-body: 16px;
  --support-type-callout: 15px;
  --support-type-footnote: 13px;
  --support-type-caption: 12px;
  font-size: var(--support-type-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.support-agent-identity strong,
.support-thread-context strong,
.support-category-list strong,
.support-conversation-summary strong,
.support-safety-entry strong,
.support-login-card strong {
  font-size: var(--support-type-body);
}

.support-draft-category-label > span,
.support-draft-category-trigger,
.support-draft-category-options button,
.support-thread-menu button,
.support-field > span,
.support-primary-action,
.support-secondary-action,
.support-faq-list button {
  font-size: var(--support-type-callout);
}

.support-draft-category-trigger { height: 44px; }
.support-draft-category-options button { min-height: 48px; }

.support-agent-identity small,
.support-thread-context small,
.support-thread-context-detail,
.support-category-list small,
.support-conversation-summary small,
.support-safety-entry small,
.support-login-card small,
.support-attachment-tray label,
.support-routing-note small,
.support-form-notice,
.support-inline-error,
.support-media-file strong,
.support-pending-media span {
  font-size: var(--support-type-footnote);
}

.support-agent-identity small,
.support-thread-context small,
.support-thread-context strong {
  line-height: 1.35;
}

.support-thread-context-wrap { min-height: 82px; }
.support-thread-context { min-height: 62px; }

.support-draft-greeting p,
.support-message p,
.support-field input,
.support-field select,
.support-field textarea,
.support-composer textarea {
  font-size: var(--support-type-body);
}

.support-draft-greeting p,
.support-message p { line-height: 1.5; }

.support-chat-day,
.support-chat-safety-note,
.support-message time,
.support-thread-menu button small,
.support-character-count,
.support-routing-note strong,
.support-media-file small,
.support-pending-media .support-media-preview.is-file small {
  font-size: var(--support-type-caption);
}

.support-chat-safety-note { line-height: 1.45; }

@media (max-width: 480px) {
  .support-thread-context-wrap { padding-inline: 10px; }
  .support-message-list { padding-inline: 12px; }
}

.support-thread-closed button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 10px;
}

@media (min-width: 760px) {
  #supportCenter.service-module-standalone-active {
    max-width: 520px !important;
    margin-inline: auto !important;
    border-left: 1px solid #e6ebe8;
    border-right: 1px solid #e6ebe8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-center-panel * {
    scroll-behavior: auto !important;
  }
}

/* support-document-viewer.css */
.support-document-reader {
  position: fixed;
  inset: 0;
  z-index: 16000;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  color: #17211e;
  background: #eef2f0;
  font-family: inherit;
}
.support-document-reader-header {
  min-height: 58px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e8e5;
  background: #fff;
}
.support-document-reader-header > div { min-width: 0; grid-column: 2; display: grid; justify-items: center; gap: 2px; }
.support-document-reader-header strong { max-width: 100%; overflow: hidden; font-size: 16px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.support-document-reader-header small { color: #71807b; font-size: 12px; line-height: 17px; }
.support-document-reader-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #173a31;
  background: #f2f6f4;
  font-size: 27px;
  line-height: 1;
}
.support-document-reader-tools {
  min-height: 48px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid #dfe6e3;
  background: #fff;
}
.support-document-reader-tools button {
  min-width: 42px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dce6e2;
  border-radius: 18px;
  color: #173a31;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}
.support-document-reader-tools button:first-child { min-width: 64px; color: #0f6f5d; border-color: rgba(69, 192, 165, .48); background: rgba(69, 192, 165, .09); }
.support-document-reader button:focus-visible { outline: 3px solid rgba(69, 192, 165, .42); outline-offset: 2px; }
.support-document-reader-tools output { min-width: 48px; color: #53635e; font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }
.support-document-reader-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.support-document-reader-pages { min-width: 100%; min-height: 100%; padding: 12px; box-sizing: border-box; display: grid; justify-items: center; align-content: start; gap: 14px; }
.support-document-reader-page { position: relative; flex: 0 0 auto; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(13, 39, 32, .14); }
.support-document-reader-page::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #f5f7f6 22%, #fff 42%, #f5f7f6 64%); background-size: 240% 100%; animation: support-document-loading 1.2s linear infinite; }
.support-document-reader-page canvas { width: 100%; height: 100%; display: block; opacity: 0; background: #fff; }
.support-document-reader-page > span { position: absolute; right: 8px; bottom: 7px; padding: 2px 7px; border-radius: 10px; color: #fff; background: rgba(8, 32, 28, .58); font-size: 10px; opacity: 0; }
.support-document-reader-page.is-rendered::before { display: none; }
.support-document-reader-page.is-rendered canvas,
.support-document-reader-page.is-rendered > span { opacity: 1; }
.support-document-reader-page.has-error::before { animation: none; background: #f5f7f6; }
.support-document-reader-text { width: min(760px, 100%); box-sizing: border-box; padding: 22px; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(13, 39, 32, .12); }
.support-document-reader-text pre { margin: 0; color: #17211e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-document-reader-error { align-self: center; margin: auto; padding: 28px 22px; display: grid; justify-items: center; gap: 10px; color: #53635e; text-align: center; }
.support-document-reader-error strong { color: #17211e; font-size: 16px; }
.support-document-reader-error span { font-size: 14px; }
.support-document-reader-error button { margin-top: 6px; padding: 10px 18px; border: 0; border-radius: 20px; color: #0a251f; background: #45c0a5; font: inherit; font-weight: 750; }
@keyframes support-document-loading { to { background-position: -140% 0; } }
@media (min-width: 760px) {
  .support-document-reader { inset: 3vh 3vw; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 80px rgba(3, 16, 12, .3); }
  .support-document-reader::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(5, 12, 10, .72); }
}
@media (prefers-reduced-motion: reduce) {
  .support-document-reader-page::before { animation: none; }
}

/* selection-ui-v780.css */
.ep-native-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ep-select-control { display: block; width: 100%; min-width: 0; }
.ep-fixed-select-trigger {
  display: grid;
  grid-template-columns: minmax(0,1fr) 16px;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 11px 0 13px;
  border: 1px solid #dce7e3;
  border-radius: 13px;
  background: #fff;
  color: #14231f;
  box-shadow: 0 2px 8px rgba(11,30,26,.04);
  font: inherit;
  text-align: left;
}
.ep-fixed-select-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-fixed-select-trigger svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.ep-fixed-select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.ep-selection-layer { position: fixed; inset: 0; z-index: 2100; }
.ep-selection-layer.is-popover { background: transparent; }
.ep-selection-popover {
  position: fixed;
  max-height: min(52dvh,360px);
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(20,45,39,.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11,30,26,.16),0 2px 8px rgba(11,30,26,.08);
}
.ep-selection-option {
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #182522;
  font: inherit;
  text-align: left;
}
.ep-selection-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-selection-option i { color: #45c0a5; font-style: normal; font-weight: 800; text-align: right; }
.ep-selection-option.is-selected { background: #edf8f4; color: #45c0a5; font-weight: 700; }
.ep-selection-layer.is-search { display: grid; place-items: center; padding: 12px; background: rgba(9,20,17,.28); backdrop-filter: blur(4px); }
.ep-selection-sheet {
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr) auto;
  width: min(430px,100%);
  max-height: min(82dvh,720px);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,24,19,.24);
}
.ep-selection-sheet > header { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; min-height: 58px; padding: 4px 9px; border-bottom: 1px solid #edf1ef; }
.ep-selection-sheet > header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f7f5; color: #42534d; font-size: 22px; }
.ep-selection-sheet > header strong { overflow: hidden; color: #14231f; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ep-selection-search { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 8px; height: 48px; margin: 10px 12px; padding: 0 13px; border: 1px solid #dce7e3; border-radius: 999px; background: #fff; }
.ep-selection-search svg { width: 19px; height: 19px; color: #45c0a5; }
.ep-selection-search input,
.ep-selection-search input:focus,
.ep-selection-search input:focus-visible { width: 100%; height: 42px; padding: 0 !important; border: 0 !important; outline: 0 !important; background: transparent !important; color: #14231f; box-shadow: none !important; font: inherit; }
.ep-selection-results { padding: 0 8px 10px; overflow-y: auto; overscroll-behavior: contain; }
.ep-selection-empty { margin: 0; padding: 20px; color: #71817b; text-align: center; }
body.ep-selection-open { overflow: hidden !important; }
.ep-count-select { display: grid; grid-template-columns: 38px minmax(58px,1fr) 38px; align-items: center; width: 100%; min-height: 44px; border: 1px solid #dce7e3; border-radius: 13px; background: #fff; overflow: hidden; }
.ep-count-select button { display: grid; place-items: center; width: 38px; height: 42px; border: 0; background: transparent; color: #45c0a5; font-size: 21px; }
.ep-count-select button:disabled { color: #bdc8c4; }
.ep-count-select strong { color: #14231f; font-size: 14px; text-align: center; white-space: nowrap; }
.ep-star-select { display: flex; align-items: center; gap: 4px; min-height: 44px; }
.ep-star-select button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #d8dfdc; font-size: 27px; }
.ep-star-select button.is-selected { color: #45c0a5; }
.ride-country-static { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border: 1px solid #dce7e3; border-radius: 13px; background: #fff; color: #14231f; font-weight: 700; }
@media (max-width:520px) {
  .ep-selection-layer.is-search { place-items: stretch; padding: 0; background: #fff; backdrop-filter: none; }
  .ep-selection-sheet { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .ep-selection-sheet > header {
    min-height: calc(56px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) 12px 6px;
  }
  .ep-selection-sheet > header button { width: 44px; height: 44px; font-size: 24px; touch-action: manipulation; }
  .ep-selection-popover { max-height: min(48dvh,330px); }
}

/* group-tour-service.css */
.group-tour-service{padding:0!important;background:#fff!important;min-height:100dvh}
.group-tour-panel{max-width:760px;margin:0 auto;color:#17201d}
.gt-view{min-height:calc(100dvh - 58px);padding:18px 18px calc(104px + env(safe-area-inset-bottom))}
.gt-view-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:2px 0 20px}
.gt-view-header h2{font-size:26px;line-height:1.18;letter-spacing:-.04em;margin:0 0 7px}
.gt-view-header p{margin:0;color:#68736f;font-size:14px;line-height:1.55}
.gt-help{border:0;background:#eff8f3;color:#08201c;border-radius:999px;padding:9px 13px;font-weight:700;white-space:nowrap}
.gt-search{display:flex;align-items:center;gap:10px;border:1px solid #dfe7e3;border-radius:15px;padding:0 13px;height:48px;margin:0 0 18px;background:#fff;box-shadow:0 4px 18px rgba(19,56,42,.05)}
.gt-search svg{width:19px;fill:none;stroke:#45c0a5;stroke-width:2}
.gt-search input{border:0;outline:0;background:transparent;width:100%;font-size:15px;color:inherit}
.gt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.gt-city{position:relative;overflow:hidden;border:0;border-radius:20px;min-height:190px;padding:0;text-align:left;background:#eef3f0;color:#fff}
.gt-city img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gt-city:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,30,22,.04),rgba(8,24,18,.7))}
.gt-city-copy{position:absolute;z-index:1;left:16px;right:16px;bottom:15px}
.gt-city strong{display:block;font-size:20px}
.gt-city small{display:block;margin-top:5px;color:rgba(255,255,255,.9);line-height:1.35}
.gt-empty,.gt-error,.gt-loading{padding:48px 20px;text-align:center;border:1px solid #e7ece9;border-radius:20px;color:#69736f}
.gt-empty strong,.gt-error strong{display:block;color:#202824;font-size:18px;margin-bottom:8px}
.gt-error button,.gt-empty button{margin-top:14px;border:0;border-radius:12px;padding:11px 18px;background:#45c0a5;color:#fff;font-weight:700}
.gt-package-list{display:grid;gap:14px}
.gt-package{display:grid;grid-template-columns:142px 1fr;gap:14px;border:1px solid #e3e9e6;border-radius:20px;padding:10px;background:#fff;text-align:left;color:inherit}
.gt-package-media{height:132px;border-radius:14px;overflow:hidden;background:#edf2ef}
.gt-package-media img{width:100%;height:100%;object-fit:cover}
.gt-package-body{padding:4px 4px 4px 0;min-width:0}
.gt-package-body h3{margin:0 0 7px;font-size:17px;line-height:1.35}
.gt-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.gt-tag{font-size:11px;color:#4e5c57;background:#f2f6f4;border-radius:7px;padding:4px 7px}
.gt-price{margin-top:10px;color:#d84a42}
.gt-price strong{font-size:20px}
.gt-detail-hero{margin:-18px -18px 20px;height:280px;background:#edf2ef;position:relative;overflow:hidden}
.gt-detail-hero img{width:100%;height:100%;object-fit:cover}
.gt-detail-hero:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.56))}
.gt-detail-title{position:absolute;z-index:1;left:18px;right:18px;bottom:18px;color:#fff}
.gt-detail-title h2{font-size:27px;margin:0 0 8px;line-height:1.2}
.gt-detail-title p{margin:0;color:rgba(255,255,255,.92)}
.gt-facts{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e5ebe8;border-radius:16px;margin-bottom:18px}
.gt-fact{padding:13px 8px;text-align:center}
.gt-fact+ .gt-fact{border-left:1px solid #e5ebe8}
.gt-fact strong{display:block;font-size:14px}
.gt-fact small{color:#7b8581}
.gt-section{padding:18px 0;border-top:1px solid #edf0ee}
.gt-section h3{font-size:18px;margin:0 0 12px}
.gt-section ul{margin:0;padding-left:20px;color:#49534f;line-height:1.7}
.gt-operator-card{margin:3px 0 14px;padding:15px 16px;border:1px solid rgba(22,133,84,.2);border-radius:16px;background:#f3faf6}
.gt-operator-card span{display:block;margin-bottom:5px;color:#63726c;font-size:12px}
.gt-operator-card strong{display:block;color:#08201c;font-size:16px}
.gt-operator-card p{margin:7px 0 0;color:#53635d;font-size:13px;line-height:1.55}
.gt-day{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:10px 0}
.gt-day-index{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#45c0a5;color:#fff;font-weight:800}
.gt-day h4{margin:2px 0 5px}
.gt-day p{margin:0;color:#5d6863;line-height:1.55}
.gt-sticky-action{position:fixed;z-index:23;left:50%;bottom:calc(8px + env(safe-area-inset-bottom));transform:translateX(-50%);box-sizing:border-box;width:min(calc(100% - 64px),396px);display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px;padding:10px;border:1px solid #dfe7e3;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 14px 38px rgba(23,53,41,.18);backdrop-filter:blur(14px)}
.gt-sticky-action button{min-width:0;border:0;border-radius:13px;padding:13px 16px;font-weight:800}
.gt-sticky-action .gt-help{background:#eef7f2;color:#08201c}
@media (max-width:360px){.gt-sticky-action{width:calc(100% - 48px);gap:8px;padding:9px}.gt-sticky-action button{padding:13px 12px}}
.gt-primary{background:#45c0a5!important;color:#fff!important}
.gt-booking-card{border:1px solid #e2e9e5;border-radius:20px;padding:16px;margin-bottom:14px}
.gt-booking-card h3{margin:0 0 14px;font-size:17px}
.gt-departures{display:grid;gap:8px}
.gt-departure{border:1px solid #dfe6e2;border-radius:13px;padding:12px;text-align:left;background:#fff}
.gt-departure.active{border-color:#45c0a5;box-shadow:0 0 0 1px #45c0a5}
.gt-departure[disabled]{opacity:.45}
.gt-calendar-card{padding:15px}
.gt-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.gt-calendar-head h3{margin:0}
.gt-calendar-nav{display:grid;grid-template-columns:34px minmax(112px,auto) 34px;align-items:center;gap:4px}
.gt-calendar-nav button{width:34px;height:34px;border:0;border-radius:10px;background:#f0f6f3;color:#08201c;font-size:24px;line-height:1}
.gt-calendar-nav strong{text-align:center;font-size:14px}
.gt-calendar-weekdays,.gt-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.gt-calendar-weekdays{margin-bottom:4px}
.gt-calendar-weekdays span{text-align:center;color:#7b8581;font-size:11px;padding:4px 0}
.gt-calendar-day,.gt-calendar-blank{min-height:57px}
.gt-calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;border:1px solid transparent;border-radius:11px;padding:6px 1px;background:#fff;color:#25322d}
.gt-calendar-day>span{font-size:14px;font-weight:700}
.gt-calendar-day i{width:4px;height:4px;border-radius:50%;background:#45c0a5}
.gt-calendar-day small{max-width:100%;overflow:hidden;color:#08201c;font-size:7px;white-space:nowrap}
.gt-calendar-day.active{border-color:#45c0a5;background:#edf8f2;box-shadow:inset 0 0 0 1px #45c0a5}
.gt-calendar-day:disabled{color:#c3cbc7;background:#fafbfa}
.gt-calendar-selection{display:flex;align-items:center;justify-content:space-between;margin:15px 0 9px;padding-top:14px;border-top:1px solid #edf1ef}
.gt-calendar-selection small,.gt-calendar-hint{color:#75807b}
.gt-calendar-hint{text-align:center;margin:15px 0 0;font-size:13px}
.gt-counter-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.gt-counter-row+.gt-counter-row{border-top:1px solid #eef1ef}
.gt-counter{display:flex;align-items:center;gap:12px}
.gt-counter button{width:34px;height:34px;border:1px solid #dce4e0;border-radius:50%;background:#fff;font-size:20px}
.gt-field{display:grid;gap:6px;margin:12px 0;color:#4c5853;font-size:13px}
.gt-field input,.gt-field textarea{border:1px solid #dce4e0;border-radius:12px;padding:12px;font:inherit;color:#17201d}
.gt-traveler{border-top:1px solid #eef1ef;padding-top:10px;margin-top:10px}
.gt-total{display:flex;justify-content:space-between;align-items:flex-end}
.gt-total strong{font-size:26px;color:#d84a42}
.gt-confirm{padding:60px 24px;text-align:center}
.gt-confirm-mark{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#e8f7ef;color:#08201c;font-size:32px;font-weight:900}
.gt-confirm h2{margin:0 0 8px}
.gt-confirm p{color:#64706b;line-height:1.6}
.gt-confirm-actions{display:grid;gap:10px;margin-top:24px}
.gt-confirm-actions button{border:0;border-radius:13px;padding:14px;font-weight:800}
.gt-secondary{background:#f0f4f2;color:#24322c}
.gt-skeleton{height:170px;border-radius:20px;background:linear-gradient(90deg,#edf1ef,#f7f9f8,#edf1ef);background-size:220% 100%;animation:gt-shimmer 1.3s infinite}
.gt-skeleton+.gt-skeleton{margin-top:12px}
@keyframes gt-shimmer{to{background-position:-220% 0}
}
@media(max-width:560px){.gt-grid{grid-template-columns:1fr 1fr}
.gt-city{min-height:172px}
.gt-package{grid-template-columns:112px 1fr}
.gt-package-media{height:124px}
.gt-detail-hero{height:250px}
}
@media(max-width:390px){.gt-view{padding-left:14px;padding-right:14px}
.gt-city{min-height:156px}
.gt-package{grid-template-columns:100px 1fr;gap:10px}
.gt-package-body h3{font-size:15px}
.gt-facts{grid-template-columns:1fr}
.gt-fact+.gt-fact{border-left:0;border-top:1px solid #e5ebe8}
}
.gt-special-section{margin-top:28px;padding-top:22px;border-top:1px solid rgba(20,36,28,.12)}
.gt-special-section>h3{margin:0 0 5px;font-size:20px;color:#183c2d}
.gt-special-section>p{margin:0 0 14px;color:#66736d;font-size:14px}

/* v682-tour-flow-fixes.css */
.group-tour-service {
  --gt-brand: #45c0a5;
  --gt-brand-strong: #45c0a5;
  --gt-brand-soft: #edf9f6;
  --gt-warning: #ef4f5f;
}
.group-tour-service .gt-help { background: var(--gt-brand-soft); color: var(--gt-brand-strong); }
.group-tour-service .gt-search svg { stroke: var(--gt-brand-strong); }
.group-tour-service .gt-primary,
.group-tour-service .gt-error button { background: var(--gt-brand) !important; color: #10251f !important; }
.group-tour-service .gt-day-index { background: var(--gt-brand); color: #08201c; }
.group-tour-service .gt-departure.active { border-color: var(--gt-brand); box-shadow: 0 0 0 1px var(--gt-brand); }
.group-tour-service .gt-confirm-mark { background: var(--gt-brand-soft); color: var(--gt-brand-strong); }
.group-tour-service .gt-price,
.group-tour-service .gt-total strong { color: var(--gt-warning); }
.group-tour-service .gt-field select {
  box-sizing: border-box; width: 100%; min-height: 46px;
  border: 1px solid #dce4e0; border-radius: 12px; padding: 0 40px 0 12px;
  background: #fff; color: #17201d; font: inherit;
}
.group-tour-service img { background: #edf2ef; }
.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip { justify-content: center !important; gap: 1px !important; }
.app-header .top-context-chip > span,
body[data-active-page="explore"] .app-header .top-context-chip > span,
.app-header #topTravelMeta,
body[data-active-page="explore"] .app-header #topTravelMeta { margin: 0 !important; line-height: 1.05 !important; }
.group-tour-service .gt-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw,300px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.group-tour-service .gt-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; scroll-snap-align: start; }
.group-tour-service .gt-day small { display: block; margin-top: 5px; color: #6f7c77; line-height: 1.45; }

/* v683-tour-catalog-rules.css */
/* v683: exact two-line header rhythm and inherited catalog status. */
.app-header .top-context-chip,
body[data-active-page="explore"] .app-header .top-context-chip {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-rows: 13px 11px !important;
  align-content: center !important;
  align-items: center !important;
  row-gap: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
}
.app-header .top-context-chip > span,
body[data-active-page="explore"] .app-header .top-context-chip > span {
  height: 13px !important;
  margin: 0 !important;
  line-height: 13px !important;
}
.app-header #topTravelMeta,
body[data-active-page="explore"] .app-header #topTravelMeta {
  height: 11px !important;
  margin: 0 !important;
  line-height: 11px !important;
}
.ac-tour-op-row.is-inherited-off {
  border-color: #ead9ae;
  background: #fffaf0;
}
.ac-tour-op-row.is-inherited-off small { color: #8a651d; }

/* group-tour-bilingual.css */
.bilingual-ui .group-tour-service h2,
.bilingual-ui .group-tour-service h3,
.bilingual-ui .group-tour-service h4,
.bilingual-ui .group-tour-service label,
.bilingual-ui .group-tour-service button,
.bilingual-ui .group-tour-service small {
  white-space: pre-line;
}

.bilingual-ui .group-tour-service .gt-help {
  line-height: 1.25;
}

/* arrival-tools-v699.css */
:root {
  --ep-brand: #45c0a5;
  --ep-brand-2: #45c0a5;
  --ep-mint: #dfe9e5;
  --ep-ink: #08201c;
  --ep-muted: rgba(8,32,28,.62);
  --ep-line: #dfe9e5;
  --ep-canvas: #f5faf8;
  --ep-warning: #ff6f61;
}

/* Tools landing */
.tools-dashboard { background: var(--ep-canvas); }
.ep-line-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tools-premium-head { align-items: center; justify-content: flex-start; padding: 6px 2px 18px; }
.tools-premium-head > div { display: grid; gap: 3px; }
.tools-premium-head span { color: var(--ep-brand-2); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.tools-premium-head strong { color: var(--ep-ink); font-size: 30px; letter-spacing: -.035em; }
.tools-premium-head > button { width: 44px; height: 44px; border: 1px solid var(--ep-line); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.tools-premium-head > button .ep-line-icon { color: var(--ep-ink); width: 22px; height: 22px; }

.tool-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tool-featured-grid button { position: relative; min-width: 0; min-height: 136px; padding: 15px; border: 1px solid var(--ep-line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; text-align: left; box-shadow: 0 7px 22px rgba(8,32,28,.035); overflow: hidden; }
.tool-featured-grid button:first-child { background: var(--ep-brand); border-color: var(--ep-brand); }
.tool-featured-grid button > i { width: 40px; height: 40px; border-radius: 12px; background: var(--ep-canvas); color: var(--ep-ink); display: grid; place-items: center; margin-bottom: auto; font-style: normal; }
.tool-featured-grid button > i .ep-line-icon { width: 23px; height: 23px; }
.tool-featured-grid button:first-child > i { background: rgba(255,255,255,.4); }
.tool-featured-grid button > strong { margin-top: 12px; color: var(--ep-ink); font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.tool-featured-grid button > small { margin-top: 5px; color: var(--ep-muted); font-size: 12px; line-height: 1.35; }
.tool-featured-grid button:first-child > small { color: rgba(8,32,28,.68); }
.tool-featured-grid button > em { position: absolute; right: 13px; top: 19px; color: var(--ep-muted); font-style: normal; }
.tool-featured-grid button > em .ep-line-icon { width: 17px; height: 17px; }

.tool-quick-strip { margin: 12px 0 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tool-quick-strip button { min-width: 0; min-height: 52px; padding: 0 12px; border: 1px solid var(--ep-line); border-radius: 15px; background: #fff; display: grid; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 7px; color: var(--ep-ink); text-align: left; }
.tool-quick-strip i { color: var(--ep-brand); font-size: 21px; font-style: normal; }
.tool-quick-strip span { font-size: 12px; font-weight: 700; }
.tool-quick-strip em { color: var(--ep-muted); font-size: 18px; font-style: normal; }

/* Shared premium standalone treatment */
.scanner-center, .china-guide-center, .payment-center { background: var(--ep-canvas); }
.scanner-title, .guide-title { margin-bottom: 14px; align-items: end; }
.scanner-title .eyebrow, .guide-title .eyebrow { color: var(--ep-brand-2); letter-spacing: .14em; font-size: 10px; }
.scanner-title h2, .guide-title h2 { margin-top: 3px; color: var(--ep-ink); font-size: 28px; letter-spacing: -.035em; }
.scanner-title > small { color: var(--ep-muted); }

/* Scanner — camera first, actions second */
.scanner-center-panel { display: grid; gap: 14px; }
.scanner-stage { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, rgba(69,192,165,.24) 0%, #08201c 62%); box-shadow: 0 16px 40px rgba(8,32,28,.16); }
.scanner-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner-stage video[hidden] { display: none; }
.scanner-stage:not(:has(video:not([hidden]))) .scanner-stop { display: none; }
.scanner-stage:has(video:not([hidden])) > p { display: none; }
.scanner-stage > p { display: grid; justify-items: center; gap: 6px; margin: 126px 0 0; color: #fff; text-align: center; }
.scanner-stage > p strong { font-size: 16px; }
.scanner-stage > p span { color: rgba(255,255,255,.62); font-size: 12px; }
.scanner-viewfinder { position: absolute; top: 72px; width: min(58vw, 224px); aspect-ratio: 1; }
.scanner-viewfinder i { position: absolute; width: 38px; height: 38px; border-color: var(--ep-brand); border-style: solid; filter: drop-shadow(0 0 6px rgba(69,192,165,.3)); }
.scanner-viewfinder i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-radius: 12px 0 0; }
.scanner-viewfinder i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-radius: 0 12px 0 0; }
.scanner-viewfinder i:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-radius: 0 0 12px; }
.scanner-viewfinder i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 12px; }
.scanner-stop { position: absolute; right: 14px; top: 14px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.3); color: #fff; backdrop-filter: blur(12px); }
.scanner-primary-actions { margin-top: -48px; z-index: 2; justify-self: center; width: min(92%, 330px); min-height: 88px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.68); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 15px 38px rgba(18,50,39,.14); backdrop-filter: blur(18px); display: grid; grid-template-columns: 1fr 78px 1fr; align-items: center; }
.scanner-primary-actions > button { border: 0; background: transparent; display: grid; justify-items: center; gap: 4px; color: var(--ep-ink); font-size: 11px; }
.scanner-primary-actions > button > .ep-line-icon { width: 19px; height: 19px; }
.scanner-primary-actions .scanner-shutter { position: relative; width: 62px; height: 62px; place-self: center; border: 1px solid var(--ep-line); border-radius: 50%; background: #fff; box-shadow: 0 7px 16px rgba(8,32,28,.16); }
.scanner-primary-actions .scanner-shutter::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ep-brand); }
.scanner-primary-actions .scanner-shutter i { display: none; }
.scanner-intro { margin: 0; padding: 0 8px; color: var(--ep-muted); font-size: 11px; line-height: 1.4; text-align: center; display: flex; justify-content: center; align-items: center; gap: 4px; }
.scanner-intro .ep-line-icon { color: var(--ep-brand); width: 15px; height: 15px; }
.scanner-manual-wrap { border-top: 1px solid var(--ep-line); padding-top: 12px; }
.scanner-manual-wrap summary { color: var(--ep-ink); font-weight: 700; cursor: pointer; }
.scanner-manual { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.scanner-manual input { min-width: 0; min-height: 46px; border: 1px solid var(--ep-line); border-radius: 14px; padding: 0 14px; background: #fff; font: inherit; }
.scanner-manual button { border: 0; border-radius: 14px; padding: 0 15px; background: var(--ep-brand); color: #fff; font-weight: 750; }
.scanner-status { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--ep-mint); color: var(--ep-brand); font-size: 12px; line-height: 1.45; }
.scanner-status:empty { display: none; }
.scanner-status[data-state="error"] { background: rgba(255,111,97,.12); color: var(--ep-ink); }
.scanner-warning, .scanner-result-card { border: 1px solid var(--ep-line); border-radius: 18px; background: #fff; padding: 15px; display: grid; gap: 9px; }
.scanner-warning { margin-bottom: 10px; border-color: var(--ep-warning); background: rgba(255,111,97,.1); }
.scanner-warning p, .scanner-result-card strong { margin: 0; overflow-wrap: anywhere; }
.scanner-result-card > span { color: var(--ep-brand-2); font-size: 11px; font-weight: 800; }
.scanner-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.scanner-result-actions button, .scanner-result-actions a { min-height: 38px; border: 0; border-radius: 12px; padding: 0 13px; background: var(--ep-mint); color: var(--ep-brand); text-decoration: none; display: inline-flex; align-items: center; font: inherit; font-weight: 700; }
.scanner-history-head { display: flex; align-items: center; justify-content: space-between; padding-top: 5px; }
.scanner-history-head button { border: 0; background: transparent; color: var(--ep-muted); }
.scanner-history { display: grid; gap: 8px; }
.scanner-history > button { width: 100%; min-width: 0; border: 1px solid var(--ep-line); border-radius: 15px; background: #fff; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.scanner-history span { display: grid; min-width: 0; gap: 3px; }
.scanner-history small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ep-muted); }
.scanner-empty { margin: 0; padding: 18px; border-radius: 15px; background: #fff; color: var(--ep-muted); text-align: center; }

/* China guide — editorial hero + one feature + compact list */
.china-guide-panel { display: grid; gap: 14px; }
.guide-editorial-hero { min-height: 112px; padding: 20px; border-radius: 20px; overflow: hidden; position: relative; background: var(--ep-brand); color: var(--ep-ink); display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; box-shadow: 0 10px 28px rgba(8,32,28,.08); }
.guide-editorial-hero > span { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.42); display: grid; place-items: center; }
.guide-editorial-hero > span .ep-line-icon { width: 25px; height: 25px; }
.guide-editorial-hero strong { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.guide-editorial-hero p { margin: 5px 0 0; color: rgba(8,32,28,.66); font-size: 12px; line-height: 1.45; }
.guide-search-wrap { position: sticky; top: 0; z-index: 3; padding: 8px 0 2px; background: var(--ep-canvas); display: grid; gap: 10px; }
.guide-search { min-height: 48px; border: 1px solid var(--ep-line); border-radius: 15px; padding: 0 15px 0 42px; background: #fff; font: inherit; box-shadow: 0 5px 18px rgba(20,35,30,.035); }
.guide-search-icon { position: absolute; left: 15px; top: 21px; width: 19px; height: 19px; color: var(--ep-muted); pointer-events: none; }
.translate-live-status { margin: 10px 0 0; padding: 11px 13px; border-radius: 13px; background: var(--ep-mint); color: var(--ep-ink); font-size: 12px; line-height: 1.5; }
.translate-live-status.is-listening { background: rgba(69,192,165,.2); }
.voice-listen-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; touch-action: none; user-select: none; -webkit-user-select: none; }
.voice-listen-button > span { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .72; }
.voice-listen-button.is-listening > span { animation: ep-voice-pulse 1.15s ease-in-out infinite; }
.voice-settings-button { width: 100%; min-height: 44px; border: 1px solid rgba(30,156,135,.28); border-radius: 14px; background: rgba(69,192,165,.1); color: var(--ep-brand-dark, #157c6f); font-weight: 700; }
@keyframes ep-voice-pulse { 50% { transform: scale(1.55); opacity: .3; } }

/* Safety and offline: operational pages, not decorative placeholders */
.safety-center, .offline-manager { background: var(--ep-canvas); color: var(--ep-ink); }
.safety-center .section-title, .offline-manager .section-title { margin-bottom: 14px; }
.safety-panel { display: grid; gap: 12px; }
.safety-emergency-card { padding: 18px; border-radius: 22px; background: var(--ep-warning); color: #fff; box-shadow: 0 12px 28px rgba(255,111,97,.2); }
.safety-emergency-card > small { font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.safety-emergency-card > strong { display: block; margin-top: 5px; font-size: 21px; }
.safety-emergency-card > p { margin: 6px 0 14px; font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.88); }
.safety-call-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.safety-call-grid a { min-height: 64px; border-radius: 15px; background: #fff; color: var(--ep-ink); text-decoration: none; display: grid; place-items: center; align-content: center; gap: 2px; }
.safety-call-grid strong { font-size: 22px; }
.safety-call-grid span { font-size: 10px; color: var(--ep-muted); }
.safety-section-card { border: 1px solid var(--ep-line); border-radius: 20px; background: #fff; overflow: hidden; }
.safety-section-card > header { padding: 15px 16px 10px; }
.safety-section-card > header strong { font-size: 15px; }
.safety-section-card > header p { margin: 4px 0 0; color: var(--ep-muted); font-size: 11px; line-height: 1.45; }
.safety-action-list button, .safety-consult-row { width: 100%; min-height: 58px; padding: 0 16px; border: 0; border-top: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink); display: flex; align-items: center; justify-content: space-between; text-align: left; text-decoration: none; }
.safety-action-list button span, .safety-consult-row span { display: grid; gap: 2px; }
.safety-action-list small, .safety-consult-row small { color: var(--ep-muted); font-size: 10px; }
.safety-action-list em, .safety-consult-row em { color: var(--ep-brand); font-style: normal; font-size: 20px; }
.safety-phrase-card { padding: 14px 16px; border-top: 1px solid var(--ep-line); background: #fff; }
.safety-phrase-card > span { color: var(--ep-brand); font-size: 10px; font-weight: 800; }
.safety-phrase-card strong { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; }
.safety-phrase-card p { margin: 4px 0 10px; color: var(--ep-muted); font-size: 11px; line-height: 1.45; }
.safety-phrase-card button { min-height: 34px; border: 0; border-radius: 10px; padding: 0 12px; background: var(--ep-mint); color: var(--ep-ink); font-weight: 700; }
.safety-live-status { margin: 0; padding: 11px 13px; border-radius: 13px; background: var(--ep-mint); color: var(--ep-ink); font-size: 11px; line-height: 1.45; }

.offline-manager-panel { display: grid; gap: 12px; }
.offline-overview { padding: 18px; border-radius: 22px; background: var(--ep-ink); color: #fff; }
.offline-overview > span { color: var(--ep-brand); font-size: 11px; font-weight: 800; }
.offline-overview strong { display: block; margin-top: 5px; font-size: 20px; }
.offline-overview p { margin: 6px 0 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.5; }
.offline-pack-grid { display: grid; gap: 8px; }
.offline-pack-card { padding: 15px 16px; border: 1px solid var(--ep-line); border-radius: 17px; background: #fff; color: var(--ep-ink); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.offline-pack-card > div { min-width: 0; }
.offline-pack-card span { color: var(--ep-muted); font-size: 10px; font-weight: 800; }
.offline-pack-card.ready span { color: var(--ep-brand); }
.offline-pack-card strong { display: block; margin-top: 4px; color: var(--ep-ink); font-size: 14px; }
.offline-pack-card p { margin: 4px 0 0; color: var(--ep-muted); font-size: 11px; line-height: 1.45; }
.offline-pack-card > small { align-self: center; color: var(--ep-muted); font-size: 10px; }
.offline-guide-library { border: 1px solid var(--ep-line); border-radius: 18px; overflow: hidden; background: #fff; }
.offline-guide-library > header { min-height: 48px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; }
.offline-guide-library > header small { color: var(--ep-brand); }
.offline-guide-library > button { width: 100%; min-height: 58px; padding: 9px 15px; border: 0; border-top: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink); display: flex; align-items: center; justify-content: space-between; text-align: left; }
.offline-guide-library > button span { min-width: 0; display: grid; gap: 3px; }
.offline-guide-library > button small { color: var(--ep-muted); font-size: 10px; }
.offline-guide-library > button em { color: var(--ep-brand); font-size: 18px; font-style: normal; }
.offline-actions { display: grid; gap: 8px; }
.offline-actions button { min-height: 48px; border-radius: 14px; font-weight: 750; }
.offline-actions .primary-button { border: 0; background: var(--ep-brand); color: #fff; }
.offline-actions .secondary-button { border: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink); }
.offline-actions .danger-button { color: var(--ep-warning); }
.offline-manager-status { margin: 0; color: var(--ep-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.offline-confirm { padding: 14px; border: 1px solid rgba(255,111,97,.4); border-radius: 15px; background: rgba(255,111,97,.08); }
.offline-confirm p { margin: 0 0 10px; color: var(--ep-ink); font-size: 12px; }
.offline-confirm div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.offline-confirm button { min-height: 40px; border-radius: 12px; }
.guide-filter-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.guide-filter-row::-webkit-scrollbar { display: none; }
.guide-filter-row button { flex: 0 0 auto; width: auto; height: 36px; min-height: 36px; padding: 0 14px; border: 1px solid var(--ep-line); border-radius: 999px; background: #fff; color: var(--ep-muted); line-height: 1; white-space: nowrap !important; }
.guide-filter-row button.active { border-color: var(--ep-brand); background: var(--ep-brand); color: #fff; }
.guide-list { display: grid; gap: 9px; }
.guide-card { border: 1px solid var(--ep-line); border-radius: 17px; background: #fff; padding: 14px; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; box-shadow: 0 5px 20px rgba(20,35,30,.025); }
.guide-card-featured { padding: 0; display: block; overflow: hidden; border-radius: 22px; }
.guide-feature-art { height: 104px; padding: 18px; position: relative; overflow: hidden; background: var(--ep-mint); color: var(--ep-ink); display: flex; align-items: end; justify-content: space-between; }
.guide-feature-art::after { content: ""; position: absolute; width: 150px; height: 150px; right: -34px; top: -45px; border: 28px solid rgba(69,192,165,.2); border-radius: 50%; }
.guide-feature-art span { font: 800 26px/1 Georgia,serif; letter-spacing: .1em; }
.guide-feature-art i { position: relative; z-index: 1; font-style: normal; font-size: 12px; font-weight: 800; }
.guide-card-featured .guide-card-body { padding: 17px; }
.guide-list-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--ep-mint); color: var(--ep-brand); display: grid; place-items: center; font-size: 11px; font-weight: 850; }
.guide-card-body { min-width: 0; }
.guide-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guide-card-meta-featured { justify-content: flex-end; }
.guide-card-meta span { color: var(--ep-brand-2); font-size: 11px; font-weight: 800; }
.guide-card-meta small { color: var(--ep-muted); font-size: 10px; }
.guide-card h3 { margin: 5px 0 4px; color: var(--ep-ink); font-size: 16px; line-height: 1.35; letter-spacing: -.015em; }
.guide-card-featured h3 { font-size: 20px; }
.guide-card-body > p { margin: 0; color: var(--ep-muted); font-size: 12px; line-height: 1.55; }
.guide-card details { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--ep-line); }
.guide-card summary { color: var(--ep-ink); font-size: 12px; font-weight: 750; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.guide-card summary i { font-style: normal; font-size: 18px; }
.guide-card ol { padding-left: 19px; color: var(--ep-muted); font-size: 12px; line-height: 1.65; }
.guide-detail-section { margin-top: 12px; }
.guide-detail-section > strong { color: var(--ep-ink); font-size: 12px; }
.guide-detail-section ul { margin: 6px 0 0; padding-left: 18px; color: var(--ep-muted); font-size: 12px; line-height: 1.65; }
.guide-verified { margin: 10px 0 5px; color: var(--ep-muted); font-size: 10px; }
.guide-card details a { color: var(--ep-brand-2); font-size: 11px; overflow-wrap: anywhere; }
.guide-card-actions { display: flex; gap: 5px; margin-top: 10px; }
.guide-card-actions button { min-height: 32px; border: 0; border-radius: 10px; padding: 0 9px; background: var(--ep-canvas); color: var(--ep-ink); display: inline-flex; align-items: center; gap: 4px; }
.guide-card-actions .ep-line-icon { width: 14px; height: 14px; }
.guide-card-actions span { font-size: 10px; }
.guide-empty { padding: 32px 16px; border-radius: 17px; background: #fff; color: var(--ep-muted); text-align: center; }

/* Exchange and payment guidance */
.payment-center .section-title { display: none; }
.payment-center-panel { display: grid; gap: 14px; }
.payment-premium-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--ep-mint); }
.payment-premium-tabs button { min-height: 40px; border: 0; border-radius: 11px; background: transparent; color: var(--ep-muted); font-weight: 750; }
.payment-premium-tabs button.active { background: #fff; color: var(--ep-brand); box-shadow: 0 3px 12px rgba(20,35,30,.08); }
.payment-premium-view { display: grid; gap: 12px; }
.fx-premium-card { padding: 18px; border: 1px solid var(--ep-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(20,35,30,.04); }
.fx-premium-source { display: flex; align-items: center; gap: 7px; color: var(--ep-brand-2); font-size: 11px; font-weight: 700; }
.fx-premium-source i { width: 7px; height: 7px; border-radius: 50%; background: var(--ep-brand); box-shadow: 0 0 0 4px rgba(69,192,165,.18); }
.fx-premium-input { display: grid; gap: 8px; margin-top: 25px; }
.fx-premium-input > span, .fx-premium-result > span { color: var(--ep-muted); font-size: 11px; }
.fx-premium-input > div { display: grid; grid-template-columns: 1fr 82px; gap: 8px; }
.fx-premium-input input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ep-ink); font: 700 35px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing: -.03em; outline: 0; }
.fx-premium-input select { border: 0; border-radius: 12px; background: var(--ep-mint); color: var(--ep-brand); padding: 0 10px; font: 800 14px/1 inherit; }
.fx-premium-divider { min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); margin: 18px 0; }
.fx-premium-divider > span { width: 27px; height: 27px; border-radius: 50%; background: var(--ep-brand); color: #fff; display: grid; place-items: center; }
.fx-premium-divider small { color: var(--ep-muted); }
.fx-premium-result { display: grid; gap: 4px; }
.fx-premium-result strong { color: var(--ep-brand); font-size: 36px; letter-spacing: -.04em; }
.fx-premium-card > p { margin: 13px 0 0; color: var(--ep-muted); font-size: 10px; line-height: 1.5; }
.fx-fee-card { padding: 16px; border-radius: 18px; background: var(--ep-canvas); display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; }
.fx-fee-card > div { display: grid; gap: 2px; }
.fx-fee-card span { color: var(--ep-muted); font-size: 11px; }
.fx-fee-card strong { color: var(--ep-ink); }
.fx-fee-card select { grid-column: 2; grid-row: 1; width: 78px; border: 1px solid var(--ep-line); border-radius: 11px; background: #fff; padding: 0 10px; }
.fx-fee-total { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--ep-line); }
.fx-fee-total strong { font-size: 22px; color: var(--ep-brand); }
.fx-fee-card > p { grid-column: 1 / -1; margin: 0; color: var(--ep-muted); font-size: 10px; }
.fx-map-action { width: 100%; min-height: 68px; padding: 0 16px; border: 1px solid var(--ep-line); border-radius: 17px; background: #fff; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.fx-map-action span { display: grid; gap: 3px; }
.fx-map-action b { color: var(--ep-ink); }
.fx-map-action small { color: var(--ep-muted); }
.fx-map-action em { color: var(--ep-brand); font-size: 22px; font-style: normal; }
.payment-guide-hero { padding: 16px; border-radius: 17px; background: var(--ep-mint); display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; }
.payment-guide-hero > .local-material-icon { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--ep-brand); display: grid; place-items: center; font-size: 22px; }
.payment-guide-hero strong { color: var(--ep-ink); font-size: 17px; }
.payment-guide-hero p { margin: 3px 0 0; color: var(--ep-muted); font-size: 11px; }
.payment-guide-list { border: 1px solid var(--ep-line); border-radius: 20px; overflow: hidden; background: #fff; }
.payment-guide-list article { padding: 16px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; border-bottom: 1px solid var(--ep-line); }
.payment-guide-list article:last-child { border-bottom: 0; }
.payment-guide-list i { width: 34px; height: 34px; border-radius: 11px; background: var(--ep-mint); color: var(--ep-brand); display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 850; }
.payment-guide-list strong { color: var(--ep-ink); font-size: 14px; }
.payment-guide-list p { margin: 4px 0 0; color: var(--ep-muted); font-size: 11px; line-height: 1.5; }
.payment-guide-note { padding: 16px; border-radius: 17px; background: rgba(255,111,97,.1); }
.payment-guide-note strong { color: var(--ep-ink); }
.payment-guide-note p { margin: 5px 0 0; color: var(--ep-muted); font-size: 11px; line-height: 1.55; }
.payment-status { margin: 0; color: var(--ep-muted); font-size: 10px; line-height: 1.5; text-align: center; }

/* v801: a quiet, China-first converter with two genuinely editable directions. */
.payment-center-panel { gap: 10px; }
.payment-premium-view { gap: 10px; }
.fx-converter-card {
  padding: 18px;
  border: 1px solid var(--ep-line);
  border-radius: 22px;
  background: #fff;
}
.fx-converter-heading {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
}
.fx-converter-heading strong {
  color: var(--ep-ink);
  font-size: 16px;
  line-height: 1.3;
}
.fx-converter-fields {
  display: grid;
  padding: 0 2px;
}
.fx-converter-field {
  display: grid;
  gap: 7px;
  padding: 15px 0;
}
.fx-converter-field > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ep-muted);
  font-size: 12px;
  font-weight: 650;
}
.fx-edit-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ep-brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fx-converter-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.fx-converter-field input {
  width: min(100%, 210px);
  min-width: 0;
  height: 43px;
  justify-self: start;
  margin-left: -8px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ep-ink);
  font: 720 34px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.035em;
  appearance: textfield;
  -moz-appearance: textfield;
  caret-color: var(--ep-brand);
  cursor: text;
}
.fx-converter-field input:focus,
.fx-converter-field input:focus-visible {
  outline: 0 !important;
  background: rgba(69, 192, 165, .06);
  box-shadow: 0 0 0 1px rgba(69, 192, 165, .32) !important;
}
.fx-converter-field input::-webkit-outer-spin-button,
.fx-converter-field input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.fx-converter-field b {
  min-width: 68px;
  color: var(--ep-brand);
  font-size: 15px;
  text-align: center;
}
.fx-converter-field select,
.fx-converter-field .ep-fixed-select-trigger {
  width: 84px;
  min-width: 84px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--ep-line);
  border-radius: 13px;
  background: #fff;
  color: var(--ep-ink);
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
}
.fx-converter-field .ep-fixed-select-trigger svg {
  width: 15px;
  height: 15px;
  color: var(--ep-muted);
}
.fx-converter-divider {
  position: relative;
  height: 1px;
  background: var(--ep-line);
}
.fx-converter-divider button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ep-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ep-brand);
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 10px rgba(20, 47, 43, .06);
}
.fx-converter-divider button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fx-converter-meta {
  display: grid;
  gap: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--ep-line);
}
.fx-converter-meta strong {
  color: var(--ep-ink);
  font-size: 12px;
  font-weight: 750;
}
.fx-converter-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ep-muted);
  font-size: 10px;
  line-height: 1.4;
}
.fx-converter-meta i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ep-brand);
}
.fx-fee-estimate {
  display: grid;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--ep-line);
  border-radius: 17px;
  background: #fff;
}
.fx-fee-estimate > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fx-fee-estimate > div > span:first-child { display: grid; gap: 3px; color: var(--ep-ink); }
.fx-fee-estimate > div > span:first-child b { font-size: 14px; font-weight: 750; }
.fx-fee-estimate > div > span:first-child small { color: var(--ep-muted); font-size: 10px; font-weight: 500; }
.fx-fee-estimate .ep-select-control {
  flex: 0 0 100px;
  width: 100px;
}
.fx-fee-estimate select,
.fx-fee-estimate .ep-fixed-select-trigger {
  width: 100px;
  min-width: 100px;
  min-height: 38px;
  border: 1px solid var(--ep-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.fx-fee-estimate > strong {
  padding-top: 10px;
  border-top: 1px solid var(--ep-line);
  color: var(--ep-brand);
  font-size: 14px;
}
.fx-map-action > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ep-brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.fx-map-action {
  min-height: 62px;
  padding: 0 15px;
  border-radius: 17px;
  box-shadow: none;
}
.fx-map-action b { font-size: 14px; }
.fx-map-action small { font-size: 11px; }
.fx-rate-note {
  margin: 0;
  padding: 2px 10px 0;
  color: var(--ep-muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 360px) {
  .tool-featured-grid button { min-height: 154px; padding: 14px; }
  .scanner-stage { min-height: 370px; }
  .scanner-primary-actions { grid-template-columns: 1fr 68px 1fr; padding-inline: 12px; }
  .scanner-primary-actions .scanner-shutter { width: 56px; height: 56px; }
}

/* brand-alignment-v707.css */
:root {
  --brand-green: #45c0a5;
  --brand-green-dark: #08201c;
  --brand-solid: #45c0a5;
  --brand-gradient: #45c0a5;
  --brand-soft: rgba(69, 192, 165, 0.14);
}

/* Keep selection and focus states consistent with ExplorePanda mint. */
:is(button, input, select, textarea):focus-visible {
  outline: 2px solid rgba(69, 192, 165, 0.72);
  outline-offset: 2px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-green);
}

.group-tour-service {
  --gt-brand: var(--brand-green);
  --gt-brand-strong: #45c0a5;
  --gt-brand-soft: rgba(69, 192, 165, 0.14);
}

.group-tour-service .gt-calendar-day i,
.group-tour-service .gt-calendar-day.active {
  background: var(--brand-green);
}

.group-tour-service .gt-calendar-day.active {
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
  box-shadow: 0 0 0 1px var(--brand-green);
}

.group-tour-service .gt-calendar-day.active small {
  color: var(--brand-green-dark);
}

.group-tour-service .gt-calendar-day.active i {
  background: var(--brand-green-dark);
}

.group-tour-service .gt-calendar-nav button,
.group-tour-service .gt-calendar-day small {
  color: #08201c;
}

.group-tour-service .gt-departure.active,
.group-tour-service .gt-primary,
.group-tour-service .gt-error button,
.group-tour-service .gt-day-index {
  border-color: var(--brand-green) !important;
  background: var(--brand-green) !important;
  color: var(--brand-green-dark) !important;
}

body[data-ride-standalone="true"] .ride-consent input {
  accent-color: var(--brand-green) !important;
}

.ride-external-link {
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ride-provider-notice {
  margin: 12px 16px 0;
  padding: 13px 14px;
  border: 1px solid rgba(239, 79, 95, 0.24);
  border-radius: 12px;
  background: rgba(239, 79, 95, 0.07);
  color: #5b3835;
  font-size: 11px;
  line-height: 1.5;
}

.ride-provider-notice strong,
.ride-provider-notice span {
  display: block;
}

.ride-provider-notice span {
  margin-top: 3px;
}

/* Shared high-frequency primary actions across customer pages. */
:is(
  .primary-button,
  .home-gateway-search button,
  .ticket-search-button,
  .hotel-search-card button[type="submit"],
  .ride-primary-action
) {
  background-color: var(--brand-green);
  color: var(--brand-green-dark);
}

/* regression-fixes-v709.css */
/* v709: complete media-state flows and regression containment. Loaded last. */

/* A composed search control has one visual boundary; focus belongs to the shell. */
:is(.home-gateway-search, .destination-search-form, .map-destination-search, .map-route-picker-search) input,
:is(.home-gateway-search, .destination-search-form, .map-destination-search, .map-route-picker-search) input:focus,
:is(.home-gateway-search, .destination-search-form, .map-destination-search, .map-route-picker-search) input:focus-visible {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:is(.home-gateway-search, .destination-search-form, .map-destination-search, .map-route-picker-search):focus-within {
  border-color: rgba(69, 192, 165, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(69, 192, 165, 0.14), 0 10px 24px rgba(8, 32, 28, 0.1) !important;
}

body[data-active-page="explore"][data-route-planning="true"] #mapPanel > .map-destination-search,
body[data-active-page="explore"][data-route-planning="true"] #mapPanel > .map-category-strip,
body[data-active-page="explore"][data-route-planning="true"] #mapPanel > .map-destination-status {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Scanner: live camera, unmistakable scan target, then an in-place result sheet. */
.scanner-stage {
  isolation: isolate;
  min-height: min(68dvh, 500px);
  background: linear-gradient(160deg, #102925, #071613 74%);
}

.scanner-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% 38%, transparent 0 34%, rgba(2, 12, 10, 0.3) 60%, rgba(2, 12, 10, 0.62) 100%);
}

.scanner-stage video { z-index: 0; }
.scanner-stage[data-scanner-state="result"]::after { display: none; }
.scanner-stage[data-scanner-state="result"] { background: #f5faf8; }

.scanner-stage-hint {
  position: absolute;
  right: 18px;
  bottom: 34px;
  left: 18px;
  z-index: 3;
  margin: 0 !important;
}

.scanner-stage[data-scanner-state="live"] .scanner-stage-hint strong { font-size: 15px; }
.scanner-stage[data-scanner-state="live"] .scanner-stage-hint span { color: rgba(255, 255, 255, 0.78); }

.scanner-viewfinder {
  top: 20%;
  z-index: 3;
  width: min(64vw, 244px);
  transform: translateY(-4%);
}

.scanner-viewfinder b {
  position: absolute;
  top: 8px;
  right: 8px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  background: #45c0a5;
  box-shadow: 0 0 12px rgba(69, 192, 165, 0.95);
}

.scanner-stage[data-scanner-state="live"] .scanner-viewfinder b {
  opacity: 1;
  animation: scanner-guide-line 2s ease-in-out infinite;
}

.scanner-stage[data-scanner-state="result"] :is(.scanner-viewfinder, .scanner-stage-hint, .scanner-stop) { display: none; }
.scanner-stop { z-index: 4; }

.scanner-live-result {
  position: absolute;
  inset: 0;
  z-index: 5;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #08201c;
  text-align: center;
}

.scanner-live-result[hidden] { display: none !important; }
.scanner-result-check { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #45c0a5; color: #08201c; font-size: 28px; font-weight: 900; }
.scanner-live-result small { color: #08201c; font-size: 11px; font-weight: 850; letter-spacing: .05em; }
.scanner-live-result strong { display: -webkit-box; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; color: #08201c; font-size: 17px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.scanner-live-result p { margin: 0; color: #687773; font-size: 12px; line-height: 1.5; }
.scanner-live-result > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 8px; }
.scanner-live-result :is(button, a) { min-height: 44px; padding: 0 16px; border: 1px solid #d7e5e1; border-radius: 999px; background: #fff; color: #173f37; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; }
.scanner-live-result :is(button, a).primary { border-color: #45c0a5; background: #45c0a5; color: #08201c; }

.scanner-result-card,
.scanner-warning,
.scanner-live-result,
.scanner-live-result > *,
.scanner-result-actions {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.scanner-result-card > strong,
.scanner-live-result > strong {
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.scanner-result-actions :is(button, a),
.scanner-live-result > div:last-child :is(button, a) {
  box-sizing: border-box;
  justify-content: center;
  line-height: 1.25;
  text-align: center;
}

.scanner-product-info {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px;
  border: 1px solid #dce9e5;
  border-radius: 14px;
  background: #f5faf8;
  color: #314b44;
  text-align: left;
}

.scanner-product-info img { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 10px; object-fit: contain; background: #fff; }
.scanner-product-info > span { display: grid; min-width: 0; gap: 3px; }
.scanner-product-info strong { display: block; overflow-wrap: anywhere; color: #08201c; font-size: 13px; line-height: 1.35; }
.scanner-product-info small { color: #667872; font-size: 11px; line-height: 1.35; }
.scanner-product-info em { width: fit-content; padding: 3px 7px; border-radius: 999px; background: #e3f5ef; color: #08201c; font-size: 10px; font-style: normal; font-weight: 800; }
.scanner-product-info.compact { max-width: 330px; background: #fff; }

@keyframes scanner-guide-line {
  0%, 100% { transform: translateY(0); opacity: .42; }
  50% { transform: translateY(calc(min(64vw, 244px) - 18px)); opacity: 1; }
}

/* Voice: label remains mathematically centered; recording state is visible and tactile. */
.voice-listen-button {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0 58px !important;
  overflow: hidden;
  touch-action: none;
}

.voice-listen-button .voice-button-label {
  position: absolute;
  left: 50%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  color: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}
.voice-listen-button .voice-wave {
  position: absolute;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: 24px;
  height: 22px;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  color: inherit !important;
  pointer-events: none;
}

.voice-listen-button .voice-wave i { width: 3px; height: 7px; border-radius: 999px; background: currentColor; opacity: .68; }
.voice-listen-button .voice-wave i:nth-child(2) { height: 15px; }
.voice-listen-button .voice-wave i:nth-child(3) { height: 10px; }
.voice-listen-button.is-listening { background: #173f37 !important; color: #fff !important; box-shadow: 0 0 0 5px rgba(69, 192, 165, .2) !important; transform: scale(.985); }
.voice-listen-button.is-listening .voice-wave i { animation: voice-wave 720ms ease-in-out infinite alternate; }
.voice-listen-button.is-listening .voice-wave i:nth-child(2) { animation-delay: 150ms; }
.voice-listen-button.is-listening .voice-wave i:nth-child(3) { animation-delay: 300ms; }

@keyframes voice-wave { from { height: 6px; opacity: .55; } to { height: 20px; opacity: 1; } }

/* Selected-place tabs must never invent a large empty media canvas or escape the sheet. */
.map-place-tabs,
.map-place-tab-panel,
.map-place-tab-panel.active { min-width: 0; max-width: 100%; min-height: 0 !important; }

.map-place-tab-panel .map-place-loading {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0;
  padding: 18px 14px !important;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: rgba(20, 36, 52, .045);
  color: rgba(20, 34, 32, .62);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.map-place-tab-panel .map-place-loading::before {
  display: none !important;
  content: none !important;
}

body[data-active-page="explore"] #mapResults[data-sheet="place"] {
  box-sizing: border-box;
  max-width: calc(100% - 20px) !important;
  max-height: min(68dvh, 620px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

@media (max-width: 520px) {
  .scanner-stage { min-height: min(62dvh, 450px); border-radius: 22px; }
  .scanner-primary-actions { margin-top: -42px; }
}

@media (prefers-reduced-motion: reduce) {
  .scanner-viewfinder b,
  .voice-listen-button .voice-wave i { animation: none !important; }
}

/* travel-brand-v753.css */
:root {
  --travel-brand: #45c0a5;
  --travel-brand-ink: #08201c;
  --travel-brand-deep: #08201c;
  --travel-brand-surface: #f5faf8;
  --travel-brand-soft: #f5faf8;
  --travel-brand-line: #dfe9e5;
  --travel-brand-muted: #15212f;
  --travel-card-shadow: 0 8px 22px rgba(8, 32, 28, 0.05);
}

/* v754: strict ExplorePanda brand baseline for hotel, ticket and group-tour flows. */
:is(.hotel-page-shell, .ticket-page-shell, .group-tour-service) {
  --bg: #ffffff;
  --text: var(--travel-brand-ink);
  --ink: var(--travel-brand-ink);
  --muted: var(--travel-brand-muted);
  color: var(--travel-brand-ink);
  background: #ffffff !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(.hotel-subpage, .ticket-subpage) {
  color: var(--travel-brand-ink);
  background: #ffffff !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(.hotel-subpage-head, .ticket-subpage-head) {
  background: linear-gradient(180deg, #ffffff 76%, rgba(255, 255, 255, 0)) !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(
  .hotel-search-card,
  .hotel-tools-card,
  .hotel-recommend-card,
  .hotel-filter-bar,
  .hotel-result-card,
  .hotel-detail-panel,
  .hotel-booking-card,
  .ticket-search-card,
  .ticket-tool-grid,
  .ticket-summary-card,
  .ticket-online-card,
  .ticket-detail-panel,
  .ticket-checkout-form,
  .ticket-city-results button
) {
  border-color: var(--travel-brand-line) !important;
  background: #ffffff !important;
  box-shadow: var(--travel-card-shadow) !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(
  .hotel-search-grid input,
  .hotel-search-grid select,
  .hotel-guest-row select,
  .ticket-city-button,
  .ticket-place-field,
  .ticket-date-grid input,
  .ticket-passenger-row select,
  .ticket-city-search input,
  .ticket-checkout-form input
) {
  border-color: var(--travel-brand-line) !important;
  background: #ffffff !important;
  color: var(--travel-brand-ink) !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(
  .hotel-search-grid span,
  .hotel-guest-row span,
  .hotel-recommend-card span,
  .ticket-status,
  .ticket-online-card p,
  .ticket-detail-panel p,
  .ticket-checkout-note,
  .ticket-city-results span,
  .ticket-city-button span,
  .ticket-place-field span,
  .ticket-date-grid span,
  .ticket-passenger-row span,
  .ticket-checkout-form span
) {
  color: var(--travel-brand-muted) !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(
  .hotel-location-button,
  .hotel-tools-card span,
  .hotel-active-filters button,
  .ticket-subpage-head button,
  .ticket-swap-button
) {
  border-color: var(--travel-brand-line) !important;
  background: var(--travel-brand-soft) !important;
  color: var(--travel-brand-deep) !important;
}

:is(.hotel-page-shell, .ticket-page-shell) :is(
  .hotel-location-button.located,
  .ticket-search-button,
  button[type="submit"],
  .primary-button
) {
  border-color: var(--travel-brand) !important;
  background: var(--travel-brand) !important;
  color: var(--travel-brand-ink) !important;
}

.hotel-page-shell :is(.hotel-filter-bar button, .hotel-sheet-content button) {
  color: var(--travel-brand-ink) !important;
}

.hotel-page-shell :is(.hotel-filter-bar button.active, .hotel-sheet-content button.active, .hotel-sheet-content button[aria-selected="true"]) {
  border-color: var(--travel-brand) !important;
  background: var(--travel-brand-soft) !important;
  color: var(--travel-brand-deep) !important;
}

.ticket-page-shell :is(.ticket-tabs, .ticket-trip-mode, .ticket-filter-row) {
  background: var(--travel-brand-surface) !important;
}

.ticket-page-shell :is(.ticket-tabs button, .ticket-trip-mode button, .ticket-filter-row button) {
  color: var(--travel-brand-muted) !important;
}

.ticket-page-shell :is(.ticket-tabs button.active, .ticket-trip-mode button.active, .ticket-filter-row button.active) {
  background: #ffffff !important;
  color: var(--travel-brand-deep) !important;
  box-shadow: 0 7px 18px rgba(8, 32, 28, 0.09) !important;
}

.ticket-page-shell :is(.ticket-tool-grid span, .ticket-price, .ticket-route-accent) {
  color: var(--travel-brand-deep) !important;
}

body.module-standalone-open #ticketBooking .ticket-route-row {
  border-color: var(--travel-brand-line) !important;
}

body.module-standalone-open #ticketBooking .ticket-city-button:first-child {
  border-bottom-color: var(--travel-brand-line) !important;
}

body.module-standalone-open #ticketBooking .ticket-city-button > em.start {
  background: var(--travel-brand) !important;
}

body.module-standalone-open #ticketBooking .ticket-city-button > em.end {
  background: #ef4f5f !important;
}

body.module-standalone-open #ticketBooking .ticket-city-button small {
  color: var(--travel-brand-muted) !important;
}

/* The shared country/city directory appears inside both hotel and ticket flows. */
:is(#hotelRegionPage, #ticketCityPage) .destination-scope-tabs {
  border: 1px solid var(--travel-brand-line) !important;
  background: var(--travel-brand-surface) !important;
}

:is(#hotelRegionPage, #ticketCityPage) .destination-scope-tabs button {
  color: var(--travel-brand-muted) !important;
}

:is(#hotelRegionPage, #ticketCityPage) :is(
  .destination-scope-tabs button.active,
  .continent-tabs button.active,
  .destination-popular-grid button:active,
  .alpha-index button:active,
  .alpha-index button.active
) {
  border-color: var(--travel-brand) !important;
  background: var(--travel-brand) !important;
  color: var(--travel-brand-ink) !important;
  box-shadow: none !important;
}

:is(#hotelRegionPage, #ticketCityPage) :is(.destination-popular-grid button, .continent-tabs button) {
  border-color: var(--travel-brand-line) !important;
  color: var(--travel-brand-ink) !important;
}

:is(#hotelRegionPage, #ticketCityPage) .continent-tabs {
  padding: 5px !important;
  border: 1px solid var(--travel-brand-line) !important;
  border-radius: 15px !important;
  background: var(--travel-brand-surface) !important;
}

:is(#hotelRegionPage, #ticketCityPage) :is(.alpha-index, .alpha-index-fixed) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:is(#hotelRegionPage, #ticketCityPage) .alpha-index button {
  color: var(--travel-brand) !important;
  font-weight: 900 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:is(#hotelRegionPage, #ticketCityPage) .alpha-index button.active {
  color: var(--travel-brand-ink) !important;
  background: transparent !important;
}

:is(#hotelRegionPage, #ticketCityPage) .destination-load-more {
  border-color: var(--travel-brand-line) !important;
  background: var(--travel-brand-surface) !important;
  color: var(--travel-brand-ink) !important;
}

/* Group tours used a separate legacy green palette. */
.group-tour-service {
  --gt-brand: var(--travel-brand);
  --gt-brand-strong: var(--travel-brand-deep);
  --gt-brand-soft: var(--travel-brand-soft);
}

.group-tour-service :is(.gt-view-header p, .gt-fact small, .gt-day p, .gt-section ul, .gt-calendar-hint, .gt-calendar-selection small, .gt-special-section > p) {
  color: var(--travel-brand-muted) !important;
  opacity: 0.68;
}

.group-tour-service :is(.gt-search, .gt-package, .gt-facts, .gt-booking-card, .gt-departure, .gt-sticky-action, .gt-empty, .gt-error, .gt-loading) {
  border-color: var(--travel-brand-line) !important;
  background: #ffffff !important;
}

.group-tour-service :is(.gt-tag, .gt-calendar-nav button, .gt-secondary, .gt-operator-card) {
  border-color: var(--travel-brand-line) !important;
  background: var(--travel-brand-surface) !important;
  color: var(--travel-brand-deep) !important;
}

.group-tour-service .gt-help {
  border: 1px solid var(--travel-brand) !important;
  background: var(--travel-brand) !important;
  color: var(--travel-brand-ink) !important;
  box-shadow: none !important;
}

.group-tour-service :is(.gt-operator-card strong, .gt-operator-card p, .gt-special-section > h3, .gt-field, .gt-confirm p) {
  color: var(--travel-brand-ink) !important;
}

.group-tour-service :is(.gt-search svg, .gt-calendar-day small, .gt-price, .gt-total strong) {
  color: var(--travel-brand-deep) !important;
  stroke: var(--travel-brand-deep) !important;
}

.group-tour-service :is(.gt-primary, .gt-error button, .gt-empty button, .gt-day-index, .gt-departure.active, .gt-calendar-day.active) {
  border-color: var(--travel-brand) !important;
  background: var(--travel-brand) !important;
  color: var(--travel-brand-ink) !important;
}

.group-tour-service :is(.gt-calendar-day i, .gt-confirm-mark) {
  background: var(--travel-brand-soft) !important;
  color: var(--travel-brand-deep) !important;
}

.group-tour-service .gt-calendar-day.active i {
  background: var(--travel-brand-ink) !important;
}

.group-tour-service .gt-city {
  background: var(--travel-brand-surface) !important;
}

/* tools-travel-integration-v793.css */
/* v795 final layer: one restrained hierarchy for Tools and both Home levels. */
.tools-dashboard {
  background: #fff;
}

.tools-dashboard .tools-premium-head {
  padding: 2px 2px 14px;
}

.tools-dashboard .tools-premium-head strong {
  font-size: 27px;
}

.tools-dashboard .tool-featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tools-dashboard .tool-featured-grid button,
.tools-dashboard .tool-featured-grid button:first-child {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  min-height: 76px;
  height: 76px;
  padding: 12px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 36, 52, 0.04);
  color: var(--ep-ink);
  text-align: left;
}

.tools-dashboard .tool-featured-grid button > i,
.tools-dashboard .tool-featured-grid button:first-child > i {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  background: rgba(69, 192, 165, 0.1);
  color: var(--ep-brand);
}

.tools-dashboard .tool-featured-grid button > strong {
  grid-column: 2;
  align-self: end;
  margin: 0;
  font-size: 14px;
}

.tools-dashboard .tool-featured-grid button > small,
.tools-dashboard .tool-featured-grid button:first-child > small {
  grid-column: 2;
  align-self: start;
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--ep-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.25;
}

.tools-dashboard .tool-featured-grid button > em {
  position: static;
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 2;
  place-items: center;
  color: rgba(21, 33, 47, 0.34);
}

.tools-dashboard .tool-featured-grid button > i .ep-line-icon {
  width: 20px;
  height: 20px;
}

.tools-dashboard .tool-featured-grid button > em .ep-line-icon {
  width: 16px;
  height: 16px;
}

.tools-dashboard .tools-journey-workspace > .journey-center-head {
  background: #fff;
}

.tools-dashboard .tools-journey-workspace > .journey-route-form {
  position: relative;
}

.tools-dashboard .tools-journey-workspace .journey-route-point {
  padding-right: 52px;
}

.tools-dashboard .tools-journey-workspace .journey-route-point > span > em {
  font-style: normal;
  font-weight: 500;
}

.tools-dashboard .tools-journey-workspace .journey-route-origin {
  position: relative;
  border-bottom: 0;
}

.tools-dashboard .tools-journey-workspace .journey-route-origin::after {
  position: absolute;
  right: 58px;
  bottom: 0;
  left: 42px;
  height: 1px;
  background: rgba(25, 38, 52, 0.08);
  content: "";
}

.tools-dashboard .tools-journey-workspace .journey-route-point > i {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--ep-brand);
  box-shadow: 0 0 0 3px #fff;
}

.tools-dashboard .tools-journey-workspace .journey-route-point > i b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.tools-dashboard .tools-journey-workspace .journey-route-destination > i {
  border-radius: 50% 50% 50% 0;
  background: #ef4f5f;
  transform: rotate(-45deg);
}

.tools-dashboard .tools-journey-workspace .journey-route-destination > i b {
  width: 5px;
  height: 5px;
}

.tools-dashboard .tools-journey-workspace .journey-route-point > span > small {
  font-size: 11px;
  line-height: 1.2;
}

.tools-dashboard .tools-journey-workspace .journey-route-point > span > strong {
  font-size: 15px;
  line-height: 1.25;
}

.tools-dashboard .tools-journey-workspace .journey-route-point > span > em {
  color: rgba(21, 33, 47, 0.52);
  font-size: 11px;
  line-height: 1.25;
}

.tools-dashboard .tools-journey-workspace .journey-route-swap {
  position: absolute;
  top: calc(50% + 4px);
  right: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(25, 38, 52, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--ep-brand);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(20, 36, 52, 0.08);
  transform: translateY(-50%);
}

.tools-dashboard .tools-journey-workspace .journey-section-title strong {
  white-space: nowrap;
}

body[data-capability-taxi="off"] .tools-dashboard .journey-primary-modes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-capability-ticket="off"] .tools-dashboard .journey-cross-city-section {
  display: none;
}

.tools-dashboard .journey-section-title strong {
  font-size: 16px;
  line-height: 1.3;
}

.tools-dashboard .journey-primary-modes button {
  min-height: 64px;
  height: 64px;
  padding: 8px 5px;
}

.tools-dashboard .journey-primary-modes b {
  font-size: 13px;
  line-height: 1.2;
}

.tools-dashboard .journey-primary-modes small {
  font-size: 11px;
  line-height: 1.25;
}

.tools-dashboard .tools-booking-section .tool-service-grid {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(25, 38, 52, 0.09);
  border-radius: 14px;
  background: #fff;
}

.tools-dashboard .tools-booking-section .tool-service-grid button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid rgba(25, 38, 52, 0.07);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.tools-dashboard .tools-booking-section .tool-service-grid button:last-child {
  border-bottom: 0;
}

.tools-dashboard .tools-booking-section .tool-service-grid button::after {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: rgba(21, 33, 47, 0.35);
  font-size: 21px;
  line-height: 1;
  content: "›";
}

.tools-dashboard .tools-booking-section .tool-service-grid :is(b, small) {
  grid-column: 1;
}

.tools-dashboard .tools-booking-section .tool-service-grid b,
.tools-dashboard .journey-list-card b {
  font-size: 14px;
  line-height: 1.25;
}

.tools-dashboard .tools-booking-section .tool-service-grid small,
.tools-dashboard .journey-list-card small {
  font-size: 11px;
  line-height: 1.3;
}

.home-gateway-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
}

.home-gateway-actions a,
.home-gateway-actions a:nth-child(2),
.home-gateway-actions a:nth-child(3) {
  height: 82px;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
}

body[data-active-page="home"][data-home-level="full"] .home-highlights a,
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(odd),
body[data-active-page="home"][data-home-level="full"] .home-highlights a:nth-child(even) {
  min-height: 83px;
}

body[data-active-page="home"] .traveler-home-card[data-capability="groupTour"][hidden] {
  display: none !important;
}

/* Capability-hidden map actions must win over the later branded button rules. */
body #mapPanel button[data-capability="taxi"][hidden] {
  display: none !important;
}

/* v799: capability-hidden actions leave no empty tracks; visible actions share the row evenly. */
body #mapPanel button[data-capability][hidden] {
  display: none !important;
}

body[data-active-page="explore"] #mapPanel .map-route-mode-strip,
body[data-active-page="explore"] #mapPanel .map-route-action-row,
body[data-active-page="explore"] #mapPanel .map-place-actions-primary,
body[data-active-page="explore"] #mapPanel .map-result-actions {
  display: flex !important;
  width: 100%;
}

body[data-active-page="explore"] #mapPanel .map-route-mode-strip > button:not([hidden]),
body[data-active-page="explore"] #mapPanel .map-route-action-row > button:not([hidden]),
body[data-active-page="explore"] #mapPanel .map-place-actions-primary > button:not([hidden]),
body[data-active-page="explore"] #mapPanel .map-result-actions > button:not([hidden]) {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

body[data-active-page="explore"][data-navigation-active="true"] #mapPanel .map-route-mode-strip,
body[data-active-page="explore"][data-route-map-picking="true"] #mapPanel .map-route-mode-strip {
  display: none !important;
}

body[data-route-map-picking="true"] #mapPanel .map-route-mode-strip,
body[data-route-map-picking="true"] #mapPanel .map-route-head {
  display: none !important;
}

body[data-route-map-picking="true"] #mapPanel .map-route-map-picker-head button[data-map-route-action="picker-back"] {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 0 !important;
}

body[data-route-map-picking="true"] #mapPanel .map-route-map-picker-head button[data-map-route-action="picker-back"]::before {
  display: none !important;
  content: none !important;
}

body[data-route-map-picking="true"] #mapPanel .map-route-map-picker-head button[data-map-route-action="picker-back"] svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Profile uses the same clean white canvas as the other primary tabs. */
body[data-active-page="profile"] .phone-shell,
body[data-active-page="profile"] main,
body[data-active-page="profile"] #meDashboard,
body[data-active-page="profile"] #accountCenter {
  background: #fff !important;
}

@media (max-width: 360px) {
  .tools-dashboard .tool-featured-grid button,
  .tools-dashboard .tool-featured-grid button:first-child {
    min-height: 72px;
    height: 72px;
  }

  .home-gateway-actions { gap: 12px 6px; padding-inline: 4px; }
}

/* v821: shared shortcut typography/icon geometry for both home levels. */
body[data-active-page="home"] :is(.home-gateway-actions, #homeHighlights) > a {
  box-sizing: border-box;
  grid-template-rows: 56px minmax(20px, auto);
  gap: 7px;
  height: auto;
  min-height: 83px;
}
body[data-active-page="home"] :is(.home-gateway-actions, #homeHighlights) > a > svg {
  box-sizing: border-box;
  display: block;
  width: 56px;
  height: 56px;
  padding: 15px;
  border: 1px solid #dfe9e5;
  border-radius: 50%;
  background: #f5faf8;
  color: #45c0a5;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: 0 8px 20px rgba(8, 32, 28, 0.045);
}
body[data-active-page="home"] :is(.home-gateway-actions, #homeHighlights) > a > strong {
  width: 100%;
  margin: 0;
  color: #08201c;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Same white, 16px rounded group surfaces as Tools; no cards around each row. */
#accountCenter .account-home-page,
#accountCenter .account-guest-page { gap: 14px; }
#accountCenter .account-home-page > .account-profile-hero { padding: 4px 0; }
#accountCenter .account-home-page > :is(.account-orders-card, .account-navigation-group),
#accountCenter .account-guest-page > .account-guest-shortcuts {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 36, 52, 0.04);
}
#accountCenter .account-home-page > .account-orders-card { padding: 14px 16px 10px; }
#accountCenter .account-home-page .account-section-title { padding: 0 0 10px; }
#accountCenter .account-home-page .account-order-statuses { padding: 4px 0 0; }
#accountCenter .account-home-page .account-order-statuses button {
  grid-template-rows: 26px auto;
  align-content: start;
}
#accountCenter .account-home-page > .account-navigation-group { padding: 0 16px; }
#accountCenter .account-home-page .account-navigation-group > .account-group-title {
  padding: 14px 0 8px;
}
#accountCenter .account-home-page .account-navigation-group > .account-list-row {
  min-height: 60px;
  padding: 12px 0;
}
#accountCenter .account-home-page .account-navigation-group > .account-list-row:last-child {
  border-radius: 0 0 16px 16px;
}

/* v822: one page shell; inset groups remain visually subordinate. */
body[data-active-page="profile"] #meDashboard {
  padding: 16px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(20, 36, 52, 0.04);
}
#accountCenter .account-subpage > .account-navigation-group {
  padding: 0 14px;
  border: 1px solid rgba(25, 38, 52, 0.08);
  border-radius: 16px;
  background: #fff;
}
#accountCenter .account-subpage .account-navigation-group > .account-group-title { padding: 14px 0 8px; }
#accountCenter .account-subpage .account-navigation-group > .account-list-row { padding: 12px 0; }
body[data-account-subpage="true"][data-active-page="profile"] #meDashboard {
  width: calc(100% - 32px) !important;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - var(--independent-safe-top) - 32px) !important;
  max-height: calc(100dvh - var(--independent-safe-top) - 32px) !important;
  margin: calc(16px + var(--independent-safe-top)) 16px 16px !important;
}
#accountCenter .account-guest-shortcuts { overflow: hidden; }
#accountCenter .account-guest-shortcuts > .account-list-row:first-child { border-radius: 15px 15px 0 0; }
#accountCenter .account-guest-shortcuts > .account-list-row:last-child { border-radius: 0 0 15px 15px; }
#accountCenter .account-home-page > :is(.account-orders-card, .account-navigation-group),
#accountCenter .account-guest-shortcuts { box-shadow: none; }

.overseas-pretrip-sheet { align-items: center; }
.overseas-pretrip-panel { padding: 24px; border-radius: 20px; max-height: calc(100dvh - 40px); overflow-y: auto; }
.overseas-pretrip-handle, .overseas-pretrip-icon, .overseas-pretrip-eyebrow { display: none; }
.overseas-pretrip-panel > strong { max-width: none; padding-inline-end: 32px; margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.overseas-pretrip-panel > p { font-size: 15px; line-height: 1.6; color: #697572; }
.overseas-pretrip-close { top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; background: transparent; }
.overseas-pretrip-actions { gap: 6px; margin-top: 20px; }
.overseas-pretrip-actions button { min-height: 48px; height: auto; padding: 12px; font-size: 15px; line-height: 1.4; }
.recommendation-destination-prompt { padding: 24px 16px; text-align: center; }
.recommendation-destination-prompt p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #697572; }
.recommendation-destination-prompt button { min-height: 44px; padding: 10px 20px; border: 1px solid #45c0a5; border-radius: 24px; background: #fff; color: #08201c; font: inherit; font-size: 15px; line-height: 1.5; }

/* v823: category titles sit outside their row cards, like the Tools groups. */
#accountCenter :is(.account-home-page, .account-subpage) > .account-navigation-group {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#accountCenter :is(.account-home-page, .account-subpage) .account-navigation-group > .account-group-title {
  margin: 0;
  padding: 4px 2px 10px;
}
#accountCenter .account-group-items {
  padding: 0 14px;
  border: 1px solid rgba(25,38,52,.08);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
#accountCenter .account-group-items > .account-list-row { padding: 12px 0; }
#accountCenter .account-group-items > .account-list-row:last-child { border-bottom: 0; }
#accountCenter .account-home-page > .account-orders-card { border: 0; padding: 0; background: transparent; }
#accountCenter .account-home-page .account-section-title { padding: 4px 2px 10px; }
#accountCenter .account-home-page .account-order-statuses { border: 1px solid rgba(25,38,52,.08); border-radius: 16px; padding: 14px 0; background: #fff; }
.recommendation-status button { min-height: 44px; transition: background-color .15s, transform .15s; }
.recommendation-status button:active { background: rgba(69,192,165,.12); transform: scale(.97); }
.recommendation-status button:focus-visible { outline: 2px solid #45c0a5; outline-offset: 3px; }

/* v825: the device safe area belongs outside the card, not inside its header. */
body[data-account-subpage="true"][data-active-page="profile"] #accountCenter .account-subpage-head {
  box-sizing: border-box;
  width: calc(100% + 32px) !important;
  max-width: none;
  height: var(--independent-bar-height) !important;
  min-height: var(--independent-bar-height) !important;
  padding: 0 !important;
  margin-inline: -16px !important;
}

