: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;
}

* {
  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, #2f8d7a);
  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;
  }
}

.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: #18a889;
  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: #18a889;
  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;
}

.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 :is(h1, h2, h3, p, span, strong, small, button, a, label, summary, dt, dd, li) {
  white-space: pre-line;
  overflow-wrap: anywhere;
  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(.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: #168f77;
  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: #168f77;
  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: #2f8d7a;
  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;
}

.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: #238b79 !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: #238b79;
  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: #1f6f68;
  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: #1f6f68;
  text-align: center;
}

.translate-camera-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

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

.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: #238b79;
  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 {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

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

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

.offline-pack-card.ready span {
  color: #bdf8df;
}

.offline-pack-card strong {
  display: block;
  margin-top: 5px;
  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-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;
  color: #172522;
}

.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: #18a889;
  color: #ffffff;
  font-size: 21px;
  font-weight: 850;
}

.account-avatar-guest {
  width: 64px;
  height: 64px;
  background: #e8f6f2;
  color: #168f77;
  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: #18a889;
  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: #168f77;
  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: #168f77;
  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: #168f77;
  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: #18a889;
}

.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: #18a889;
}

.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: #168f77;
  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;
}

.account-order-statuses button::before {
  position: absolute;
  top: 3px;
  width: 18px;
  height: 14px;
  border: 1.5px solid #18a889;
  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: #18a889;
  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: #168f77;
  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: #18a889;
  background: #18a889;
  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: #168f77;
}

.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: #168f77;
  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: #168f77;
}

.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-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: #168f77;
  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: #168f77;
  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-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: #18a889;
  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: #168f77;
  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: #168f77;
  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 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-place-actions button.active {
  border-color: #18a889;
  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: #18a889;
}

.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: #18a889;
}

.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: #18a889;
  background: #18a889;
  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: #1d705f;
  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: #13846f;
  font-size: 12px;
  font-weight: 900;
}

.hotel-location-button.located {
  background: rgba(69, 192, 165, 0.22);
  color: #08725f;
}

.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: #11977f;
  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: #11977f;
  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: #10927a;
}

.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: #13846f;
  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: #0b8d77;
}

.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-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: #0b8d77;
  font-weight: 950;
}

.hotel-live-price {
  grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
}

.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: #11977f;
  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;
}

.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-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-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, #2f8d7a);
  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: #0b8d77;
  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: #0b8d77;
  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: #0b8d77;
  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: #0b8d77;
  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: #0b8d77;
  font-size: 20px;
  font-weight: 900;
}

.ticket-meta-row,
.ticket-action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-meta-row span,
.ticket-online-card small,
.ticket-detail-panel small {
  border-radius: 999px;
  background: rgba(69, 192, 165, 0.1);
  color: #0b8d77;
  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: "Loading map";
  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: "";
}

.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: #18a889;
}

.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: #18a889;
  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);
}

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: #18a889;
  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: #18a889;
  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: #18a889; background: #18a889; }
.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;
  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;
}

.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;
  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;
}

.map-comment-list article {
  display: grid;
  gap: 6px;
  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;
}

.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);
}

.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;
}

.map-album-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(20, 36, 52, 0.06);
}

.map-album-grid img.active {
  outline: 3px solid rgba(69, 192, 165, 0.72);
  outline-offset: 2px;
}

.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, #168f77 45%, transparent 45% 55%, #168f77 55%),
    linear-gradient(#168f77 45%, transparent 45% 55%, #168f77 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: #2f8d7a;
}

.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: #168f77;
}

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: #2f8d7a;
  --brand-blue: #2f8d7a;
  --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: #168f77;
  }
}

@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);
}

/* 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);
}

@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: inline-block;
  white-space: nowrap;
}

.home-gateway-search-hint.is-overflowing span {
  animation: home-search-hint-scroll 8s ease-in-out 1s infinite alternate;
}

.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;
}

.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;
}

.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;
}

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-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;
}

.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(166px, calc(env(safe-area-inset-top) + 158px));
  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;
}

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%);
}

/* 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); }
}

/* 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: #18a889;
}

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: #18a889;
  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: #18a889;
}

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: #13745f; }

.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: #16876e;
  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%);
}
