:root {
  --alpine-950: #071621;
  --alpine-900: #0b2130;
  --alpine-800: #12354a;
  --alpine-700: #1f536b;
  --ice-100: #e9f0f3;
  --ice-50: #f5f8f9;
  --snow: #ffffff;
  --ink: #10212a;
  --ink-soft: #5c6d75;
  --line: rgba(16, 33, 42, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --gold: #d9a23d;
  --gold-bright: #f0c86c;
  --gold-pale: #fff1c9;
  --green: #2f7c64;
  --red: #b95e45;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 28px 70px rgba(10, 33, 46, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--ice-50);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.platform-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 40px), 1240px);
  min-height: 66px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fbfc;
  background: rgba(7, 22, 33, 0.84);
  box-shadow: 0 18px 50px rgba(2, 13, 20, 0.23);
  backdrop-filter: blur(18px) saturate(1.15);
  transform: translateX(-50%);
}

.platform-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  text-decoration: none;
}

.platform-brand > span:last-child,
.platform-brand strong,
.platform-brand small {
  display: block;
}

.platform-brand strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.platform-brand small {
  margin-top: 3px;
  color: rgba(248, 251, 252, 0.5);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.mountain-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 108, 0.52);
  border-radius: 50%;
}

.mountain-mark::before {
  content: "";
  position: absolute;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 17px rgba(240, 200, 108, 0.7);
}

.mountain-mark::after,
.mountain-mark i::before,
.mountain-mark i::after {
  content: "";
  position: absolute;
  bottom: 6px;
  background: #f6fafb;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.mountain-mark::after {
  left: 4px;
  width: 22px;
  height: 16px;
}

.mountain-mark i::before {
  right: 3px;
  width: 20px;
  height: 13px;
  opacity: 0.72;
}

.platform-nav nav {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.platform-nav nav a,
.nav-actions > a:first-child {
  padding: 9px 10px;
  color: rgba(248, 251, 252, 0.62);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.platform-nav nav a:hover,
.nav-actions > a:first-child:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.merchant-entry {
  padding: 13px 15px;
  color: #2c2009;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.travel-hero {
  position: relative;
  min-height: 920px;
  padding: 145px max(24px, calc((100vw - 1180px) / 2)) 80px;
  overflow: hidden;
  color: #f7fbfc;
  background: var(--alpine-950);
}

.hero-image {
  position: absolute;
  inset: 0;
  opacity: 0.82;
  background:
    linear-gradient(90deg, rgba(7, 22, 33, 0.98), rgba(7, 22, 33, 0.72) 55%, rgba(7, 22, 33, 0.25)),
    linear-gradient(0deg, var(--alpine-950), transparent 44%),
    url("/assets/meili-night-dawn-desktop.jpg") 72% center / cover no-repeat;
}

.travel-hero::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -90px;
  z-index: 1;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(240, 200, 108, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(240, 200, 108, 0.025), 0 0 0 160px rgba(240, 200, 108, 0.017);
}

.travel-hero-copy,
.weather-board {
  position: relative;
  z-index: 2;
}

.travel-hero-copy {
  max-width: 820px;
}

.section-code {
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.section-code.dark {
  color: var(--alpine-700);
}

.travel-hero-copy h1,
.market-heading h2,
.review-intro h2,
.content-head h2,
.service-hero h1,
.merchant-login-card h1,
.merchant-dashboard h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.travel-hero-copy h1 {
  font-size: clamp(48px, 6vw, 82px);
}

.travel-hero-copy > p:not(.section-code) {
  max-width: 680px;
  margin: 27px 0 0;
  color: rgba(247, 251, 252, 0.7);
  font-size: 16px;
  line-height: 1.9;
}

.hero-trust-row {
  display: flex;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.hero-trust-row span {
  padding: 16px 26px 16px 0;
  color: rgba(247, 251, 252, 0.57);
  font-size: 11px;
}

.hero-trust-row span + span {
  padding-left: 26px;
  border-left: 1px solid var(--line-light);
}

.hero-trust-row b {
  margin-right: 5px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 19px;
}

.weather-board {
  margin-top: 58px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 22, 33, 0.74);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.15);
}

.weather-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line-light);
}

.data-live {
  color: rgba(247, 251, 252, 0.52);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.data-live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #77e0ba;
  box-shadow: 0 0 0 5px rgba(119, 224, 186, 0.08), 0 0 15px rgba(119, 224, 186, 0.55);
}

.weather-board-head h2 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 600;
}

.weather-board-head p {
  margin: 8px 0 0;
  color: rgba(247, 251, 252, 0.5);
  font-size: 11px;
}

.weather-board-head > a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(240, 200, 108, 0.48);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.forecast-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 22px;
  border: 1px solid var(--line-light);
}

.forecast-calendar button {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 18px 12px;
  border: 0;
  color: #f7fbfc;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}

.forecast-calendar button + button {
  border-left: 1px solid var(--line-light);
}

.forecast-calendar button:hover,
.forecast-calendar button.active {
  z-index: 2;
  background: rgba(240, 200, 108, 0.13);
}

.forecast-calendar button.active::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 3px;
  background: var(--gold-bright);
}

.forecast-calendar span,
.forecast-calendar strong,
.forecast-calendar small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forecast-calendar span {
  color: rgba(247, 251, 252, 0.47);
  font-size: 9px;
}

.forecast-calendar strong {
  margin-top: 25px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 21px;
}

.forecast-calendar small {
  margin-top: 7px;
  color: rgba(247, 251, 252, 0.42);
  font-size: 9px;
}

.forecast-skeleton::before,
.forecast-skeleton::after {
  content: "";
  display: block;
  width: 70%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  animation: platformPulse 1.3s ease-in-out infinite alternate;
}

.forecast-skeleton::after {
  width: 48%;
  height: 23px;
  margin-top: 28px;
}

.selected-weather {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr auto;
  align-items: center;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.selected-weather > div {
  min-height: 74px;
  padding: 17px 18px;
}

.selected-weather > div + div {
  border-left: 1px solid var(--line-light);
}

.selected-weather span,
.selected-weather strong {
  display: block;
}

.selected-weather span {
  color: rgba(247, 251, 252, 0.45);
  font-size: 9px;
}

.selected-weather strong {
  margin-top: 7px;
  font-size: 11px;
}

.selected-weather > button {
  align-self: stretch;
  padding: 0 20px;
  border: 0;
  color: #2e210b;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.service-bridge {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.5fr 80px repeat(4, 1fr);
  width: min(calc(100% - 48px), 1180px);
  margin: -32px auto 0;
  color: var(--ink);
  background: var(--snow);
  box-shadow: var(--shadow);
}

.service-bridge > div:first-child {
  padding: 28px;
}

.service-bridge > div:first-child span,
.service-bridge > div:first-child strong {
  display: block;
}

.service-bridge > div:first-child span {
  color: var(--alpine-700);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.service-bridge > div:first-child strong {
  margin-top: 9px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
}

.bridge-line {
  position: relative;
  display: grid;
  place-items: center;
}

.bridge-line::before {
  content: "";
  width: 62%;
  height: 1px;
  background: var(--gold);
}

.bridge-line i {
  position: absolute;
  right: 13px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.service-bridge > button {
  padding: 22px 16px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
}

.service-bridge > button:hover {
  color: #f7fbfc;
  background: var(--alpine-800);
}

.service-bridge b,
.service-bridge button span,
.service-bridge button strong {
  display: block;
}

.service-bridge b {
  color: var(--gold);
  font-family: var(--display);
  font-size: 17px;
}

.service-bridge button span {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 9px;
}

.service-bridge > button:hover span {
  color: rgba(247, 251, 252, 0.55);
}

.service-bridge button strong {
  margin-top: 5px;
  font-size: 12px;
}

.section-shell {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.market-section {
  padding: 120px 0;
}

.market-heading,
.content-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
}

.market-heading h2,
.content-head h2 {
  font-size: clamp(38px, 4.5vw, 60px);
}

.market-heading > p,
.content-head > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.trip-context {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr 0.7fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 52px;
  padding: 18px;
  color: #f7fbfc;
  background: var(--alpine-900);
}

.trip-context > div,
.trip-context label {
  padding: 0 14px;
}

.trip-context span,
.trip-context strong {
  display: block;
}

.trip-context span {
  color: rgba(247, 251, 252, 0.46);
  font-size: 9px;
  font-weight: 750;
}

.trip-context strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 21px;
}

.trip-context select,
.trip-context > button {
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  color: #f7fbfc;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.trip-context > button {
  padding: 0 14px;
  color: #2d210b;
  background: var(--gold-bright);
  font-weight: 800;
  cursor: pointer;
}

.market-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  border-bottom: 1px solid var(--line);
}

.category-tabs {
  display: flex;
  overflow-x: auto;
}

.category-tabs button {
  position: relative;
  min-width: 102px;
  min-height: 58px;
  padding: 0 13px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.category-tabs button.active {
  color: var(--alpine-800);
}

.category-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--gold);
}

.price-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 10px;
}

.price-filter select {
  min-height: 38px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--snow);
}

.merchant-count-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.merchant-count-line span {
  font-size: 11px;
  font-weight: 800;
}

.merchant-count-line small {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
  text-align: right;
}

.merchant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.merchant-card {
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--snow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.merchant-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.merchant-image {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--ice-100);
}

.merchant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.merchant-card:hover .merchant-image img {
  transform: scale(1.035);
}

.merchant-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.merchant-badges span {
  padding: 6px 8px;
  color: #f7fbfc;
  background: rgba(7, 22, 33, 0.78);
  font-size: 8px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.merchant-badges .paid-badge {
  color: #302309;
  background: var(--gold-bright);
}

.merchant-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.merchant-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--alpine-700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.merchant-body h3 {
  margin: 13px 0 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.merchant-body > p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.merchant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.merchant-tags span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 8px;
}

.merchant-card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.merchant-price span,
.merchant-price strong {
  display: block;
}

.merchant-price span {
  color: var(--ink-soft);
  font-size: 8px;
}

.merchant-price strong {
  margin-top: 5px;
  color: var(--alpine-800);
  font-family: var(--display);
  font-size: 19px;
}

.merchant-card-foot a {
  padding: 10px 12px;
  color: #2c210a;
  background: var(--gold-bright);
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.merchant-empty {
  grid-column: 1 / -1;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  text-align: center;
}

.review-section {
  padding: 110px 0;
  color: #f7fbfc;
  background: var(--alpine-950);
}

.review-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
}

.review-intro h2 {
  font-size: clamp(38px, 4.5vw, 62px);
}

.review-intro > p:not(.section-code) {
  margin: 25px 0 0;
  color: rgba(247, 251, 252, 0.56);
  font-size: 13px;
  line-height: 1.85;
}

.review-intro a {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(240, 200, 108, 0.52);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.review-list {
  border-top: 1px solid var(--line-light);
}

.review-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line-light);
}

.review-item time {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 18px;
}

.review-item strong,
.review-item small {
  display: block;
}

.review-item strong {
  font-size: 12px;
}

.review-item small {
  margin-top: 8px;
  color: rgba(247, 251, 252, 0.45);
  font-size: 9px;
  line-height: 1.6;
}

.review-item > span {
  align-self: start;
  padding: 6px 8px;
  color: #0c2a22;
  background: #81d8b8;
  font-size: 8px;
  font-weight: 850;
}

.review-loading {
  height: 100px;
  border-bottom: 1px solid var(--line-light);
  opacity: 0.45;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05));
  animation: platformPulse 1.3s ease-in-out infinite alternate;
}

.content-showcase {
  padding: 110px 0;
  background: var(--snow);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.social-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  color: #f7fbfc;
  background: var(--alpine-950);
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.5s ease;
}

.social-card:hover img {
  transform: scale(1.04);
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 36%, rgba(7, 22, 33, 0.95));
}

.social-card > div {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  z-index: 2;
}

.social-card span {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.social-card strong,
.social-card p {
  display: block;
}

.social-card strong {
  margin-top: 13px;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.35;
}

.social-card p {
  margin: 10px 0 0;
  color: rgba(247, 251, 252, 0.58);
  font-size: 10px;
  line-height: 1.6;
}

.platform-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.platform-cta > div {
  min-height: 320px;
  padding: 66px max(26px, calc((100vw - 1180px) / 4));
  color: #f7fbfc;
  background: var(--alpine-800);
}

.platform-cta > div:last-child {
  background: var(--alpine-950);
}

.platform-cta span {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 850;
}

.platform-cta h2 {
  max-width: 520px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.3;
}

.platform-cta a {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}

.platform-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  color: #f7fbfc;
  background: #041018;
}

.platform-footer p,
.platform-footer > div a {
  color: rgba(247, 251, 252, 0.4);
  font-size: 9px;
}

.platform-footer > div {
  display: flex;
  gap: 18px;
}

.platform-footer > div a {
  text-decoration: none;
}

.platform-modal[hidden] {
  display: none;
}

.platform-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  padding: 20px;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 18, 0.7);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  padding: 38px;
  color: #f7fbfc;
  background: var(--alpine-900);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-light);
  color: #f7fbfc;
  background: transparent;
  cursor: pointer;
}

.modal-code {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.modal-card h2 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 600;
}

.modal-card > p {
  margin: 15px 0 0;
  color: rgba(247, 251, 252, 0.55);
  font-size: 11px;
  line-height: 1.75;
}

.modal-date {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line-light);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 21px;
  text-align: center;
}

.modal-primary {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  color: #2c2109;
  background: var(--gold-bright);
  font-weight: 850;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  max-width: min(360px, calc(100% - 44px));
  padding: 13px 16px;
  color: #f7fbfc;
  background: var(--alpine-900);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.23s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* Service detail */
.service-page {
  background: var(--snow);
}

.service-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 760px;
  padding-top: 112px;
  color: #f7fbfc;
  background: var(--alpine-950);
}

.service-gallery {
  position: relative;
  min-height: 648px;
  overflow: hidden;
}

.service-gallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.83;
}

.service-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--alpine-950)), linear-gradient(0deg, rgba(7,22,33,.5), transparent 50%);
}

.gallery-note {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  padding: 8px 10px;
  background: rgba(7, 22, 33, 0.7);
  font-size: 9px;
}

.service-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 58px max(28px, calc((100vw - 1180px) / 2)) 58px 60px;
}

.service-breadcrumb {
  display: flex;
  gap: 8px;
  color: rgba(247, 251, 252, 0.45);
  font-size: 9px;
}

.service-breadcrumb a {
  text-decoration: none;
}

.service-hero h1 {
  margin-top: 28px;
  font-size: clamp(42px, 5vw, 72px);
}

.service-tagline {
  margin: 20px 0 0;
  color: rgba(247, 251, 252, 0.65);
  font-size: 15px;
  line-height: 1.8;
}

.service-badges,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.service-badges span,
.detail-tags span {
  padding: 6px 8px;
  border: 1px solid var(--line-light);
  color: rgba(247, 251, 252, 0.62);
  font-size: 8px;
}

.service-price {
  margin-top: 32px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 34px;
}

.service-price small {
  margin-left: 8px;
  color: rgba(247, 251, 252, 0.4);
  font-family: var(--body);
  font-size: 9px;
}

.service-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.service-actions button,
.service-actions a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-light);
  color: #f7fbfc;
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.service-actions .primary {
  border-color: var(--gold-bright);
  color: #2d210a;
  background: var(--gold-bright);
}

.attribution-note {
  margin-top: 22px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  color: rgba(247, 251, 252, 0.55);
  background: rgba(255, 255, 255, 0.04);
  font-size: 9px;
  line-height: 1.6;
}

.service-detail-section {
  padding: 100px 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 75px;
}

.detail-copy h2,
.related-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
}

.detail-copy > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.detail-tags span {
  border-color: var(--line);
  color: var(--ink-soft);
}

.detail-facts {
  border-top: 1px solid var(--line);
}

.detail-facts article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-facts span {
  color: var(--alpine-700);
  font-size: 9px;
  font-weight: 850;
}

.detail-facts strong {
  font-size: 11px;
  line-height: 1.6;
}

.related-section {
  padding: 90px 0;
  background: var(--ice-100);
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.related-head > p {
  max-width: 460px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.related-card {
  display: grid;
  grid-template-rows: 160px 1fr;
  min-height: 340px;
  background: var(--snow);
  text-decoration: none;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card > div {
  padding: 20px;
}

.related-card span {
  color: var(--alpine-700);
  font-size: 8px;
  font-weight: 850;
}

.related-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 21px;
}

.related-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.6;
}

.contact-form label,
.merchant-form label,
.referral-form label {
  display: block;
  margin-top: 16px;
}

.contact-form label > span,
.merchant-form label > span,
.referral-form label > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(247, 251, 252, 0.55);
  font-size: 9px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.merchant-form input,
.merchant-form select,
.merchant-form textarea,
.referral-form input,
.referral-form select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  outline: none;
  color: #f7fbfc;
  background: rgba(255, 255, 255, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.merchant-form input:focus,
.merchant-form select:focus,
.merchant-form textarea:focus,
.referral-form input:focus,
.referral-form select:focus {
  border-color: var(--gold-bright);
}

.contact-form .consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-form .consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-bright);
}

.contact-form .consent-row > span {
  margin: 0;
  color: rgba(247, 251, 252, 0.72);
  font-size: 10px;
  line-height: 1.6;
}

.contact-form .consent-row a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #ffb1a9;
  font-size: 10px;
}

.modal-primary:disabled,
.merchant-form button:disabled,
.referral-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

/* Merchant dashboard */
.merchant-page {
  min-height: 100vh;
  color: #f7fbfc;
  background: var(--alpine-950);
}

.merchant-login-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
}

.merchant-login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 100px max(40px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(7,22,33,.96), rgba(7,22,33,.18)),
    url("/assets/meili-night-dawn-desktop.jpg") center / cover;
}

.merchant-login-visual::after {
  content: "";
  position: absolute;
  top: -220px;
  left: -180px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(240, 200, 108, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(240,200,108,.02), 0 0 0 140px rgba(240,200,108,.012);
}

.merchant-login-visual > * {
  position: relative;
  z-index: 2;
}

.merchant-login-visual h2 {
  max-width: 660px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.14;
}

.merchant-login-visual > p:not(.section-code) {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(247,251,252,.58);
  font-size: 13px;
  line-height: 1.8;
}

.merchant-login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(36px, calc((100vw - 1180px) / 2));
  background: var(--alpine-900);
}

.merchant-login-card h1 {
  margin-top: 24px;
  font-size: 44px;
}

.merchant-login-card > p {
  color: rgba(247,251,252,.52);
  font-size: 11px;
  line-height: 1.7;
}

.merchant-login-card .merchant-apply-link {
  display: grid;
  gap: 4px;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-light);
}

.merchant-apply-link strong {
  color: #f7fbfc;
  font-size: 13px;
}

.merchant-apply-link a {
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.merchant-apply-link a:hover,
.merchant-apply-link a:focus-visible {
  text-decoration: underline;
}

.demo-credential {
  margin-top: 24px;
  padding: 15px;
  border: 1px solid var(--line-light);
  color: var(--gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.7;
}

.merchant-login-form label {
  display: block;
  margin-top: 18px;
}

.merchant-login-form label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(247,251,252,.52);
  font-size: 9px;
}

.merchant-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  outline: none;
  color: #f7fbfc;
  background: rgba(255,255,255,.04);
}

.merchant-login-form button {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  color: #2d210a;
  background: var(--gold-bright);
  font-weight: 850;
  cursor: pointer;
}

.merchant-dashboard[hidden],
.merchant-login-shell[hidden] {
  display: none;
}

.merchant-dashboard {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

.merchant-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--line-light);
  background: #06131c;
}

.merchant-sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 42px;
}

.merchant-sidebar nav button {
  min-height: 45px;
  padding: 0 12px;
  border: 0;
  color: rgba(247,251,252,.5);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.merchant-sidebar nav button.active {
  color: #f7fbfc;
  background: rgba(255,255,255,.07);
  box-shadow: inset 3px 0 var(--gold-bright);
}

.merchant-side-plan {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line-light);
}

.merchant-side-plan span,
.merchant-side-plan strong,
.merchant-side-plan small {
  display: block;
}

.merchant-side-plan span {
  color: var(--gold-bright);
  font-size: 8px;
}

.merchant-side-plan strong {
  margin-top: 8px;
  font-size: 11px;
}

.merchant-side-plan small {
  margin-top: 5px;
  color: rgba(247,251,252,.4);
  font-size: 8px;
}

.merchant-sidebar .logout {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line-light);
  color: rgba(247,251,252,.6);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.merchant-main {
  min-width: 0;
  padding: 45px;
  background: var(--alpine-950);
}

.merchant-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.merchant-topbar h1 {
  font-size: 45px;
}

.merchant-topbar p {
  margin: 8px 0 0;
  color: rgba(247,251,252,.42);
  font-size: 10px;
}

.merchant-topbar a {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  font-size: 9px;
  text-decoration: none;
}

.dashboard-panel[hidden] {
  display: none;
}

.dashboard-panel {
  margin-top: 38px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.metric-grid article {
  min-height: 150px;
  padding: 23px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.metric-grid span,
.metric-grid strong,
.metric-grid small {
  display: block;
}

.metric-grid span {
  color: rgba(247,251,252,.46);
  font-size: 9px;
}

.metric-grid strong {
  margin-top: 26px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 35px;
}

.metric-grid small {
  margin-top: 6px;
  color: rgba(247,251,252,.34);
  font-size: 8px;
}

.dashboard-two-column {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  margin-top: 22px;
}

.dashboard-card {
  padding: 28px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,.025);
}

.dashboard-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
}

.dashboard-card > p {
  margin: 8px 0 0;
  color: rgba(247,251,252,.42);
  font-size: 9px;
  line-height: 1.6;
}

.traffic-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 200px;
  margin-top: 30px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line-light);
}

.traffic-bars div {
  position: relative;
  height: var(--bar);
  min-height: 18px;
  background: linear-gradient(var(--gold-bright), var(--alpine-700));
}

.traffic-bars span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  color: rgba(247,251,252,.38);
  font-size: 8px;
  transform: translateX(-50%);
}

.relationship-list {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.relationship-list a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--line-light);
  text-decoration: none;
}

.relationship-list img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

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

.relationship-list strong {
  font-size: 10px;
}

.relationship-list small {
  margin-top: 4px;
  color: rgba(247,251,252,.4);
  font-size: 8px;
}

.relationship-list > a > span {
  color: var(--gold-bright);
  font-size: 9px;
}

.merchant-form,
.referral-form {
  max-width: 760px;
  padding: 30px;
  border: 1px solid var(--line-light);
}

.merchant-form-grid,
.referral-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}

.merchant-form textarea {
  min-height: 110px;
  resize: vertical;
}

.merchant-form button,
.referral-form button {
  min-height: 46px;
  margin-top: 22px;
  padding: 0 17px;
  border: 0;
  color: #2d210a;
  background: var(--gold-bright);
  font-weight: 850;
  cursor: pointer;
}

.merchant-form .secondary-form-button {
  margin-left: 8px;
  border: 1px solid var(--line-light);
  color: #f7fbfc;
  background: transparent;
}

.referral-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.referral-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.referral-table th,
.referral-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-light);
  font-size: 8px;
  text-align: left;
}

.referral-table th {
  color: rgba(247,251,252,.4);
  font-weight: 750;
}

.referral-table td {
  color: rgba(247,251,252,.7);
}

.referral-status {
  display: inline-block;
  padding: 5px 7px;
  color: #173b31;
  background: #8bd8bb;
  font-weight: 850;
}

.lead-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.compact-action {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line-light);
  color: #f7fbfc;
  background: transparent;
  cursor: pointer;
}

.table-scroll {
  overflow-x: auto;
}

.lead-table {
  min-width: 760px;
}

.lead-table td strong,
.table-subline {
  display: block;
}

.table-subline {
  margin-top: 5px;
  color: rgba(247, 251, 252, 0.42);
  font-size: 8px;
}

.status-select {
  min-height: 34px;
  padding: 6px 24px 6px 8px;
  border: 1px solid var(--line-light);
  color: #f7fbfc;
  background: #16352e;
}

.empty-analytics {
  display: grid;
  min-height: 190px;
  margin-top: 18px;
  place-content: center;
  gap: 8px;
  border: 1px dashed var(--line-light);
  text-align: center;
}

.empty-analytics strong {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 22px;
}

.empty-analytics span {
  color: rgba(247, 251, 252, 0.5);
  font-size: 9px;
}

.plan-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-comparison article {
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line-light);
}

.plan-comparison article.current {
  border-color: var(--gold-bright);
  background: rgba(240,200,108,.06);
}

.plan-comparison span,
.plan-comparison strong {
  display: block;
}

.plan-comparison span {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 850;
}

.plan-comparison strong {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 29px;
}

.plan-comparison ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.plan-comparison li {
  padding: 9px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(247,251,252,.52);
  font-size: 9px;
  line-height: 1.5;
}

@keyframes platformPulse {
  to { opacity: 0.35; }
}

@media (max-width: 1040px) {
  .platform-nav nav {
    display: none;
  }

  .platform-nav {
    grid-template-columns: 1fr auto;
  }

  .service-bridge {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }

  .bridge-line {
    display: none;
  }

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

  .forecast-calendar {
    overflow-x: auto;
    grid-template-columns: repeat(7, 130px);
  }

  .dashboard-two-column,
  .referral-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .platform-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-actions > a:first-child {
    display: none;
  }

  .travel-hero {
    min-height: auto;
    padding: 128px 18px 60px;
  }

  .hero-image {
    background:
      linear-gradient(180deg, rgba(7,22,33,.48), rgba(7,22,33,.95) 42%, var(--alpine-950) 100%),
      url("/assets/meili-night-dawn-mobile.jpg") top center / cover no-repeat;
  }

  .travel-hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .travel-hero-copy > p:not(.section-code) {
    font-size: 14px;
  }

  .hero-trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-trust-row span,
  .hero-trust-row span + span {
    padding: 13px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .weather-board {
    padding: 18px;
  }

  .weather-board-head {
    align-items: start;
    flex-direction: column;
  }

  .forecast-calendar {
    margin-right: -18px;
    margin-left: -18px;
    padding-left: 18px;
    border-right: 0;
    border-left: 0;
    scrollbar-width: none;
  }

  .forecast-calendar::-webkit-scrollbar {
    display: none;
  }

  .selected-weather {
    grid-template-columns: 1fr 1fr;
  }

  .selected-weather > div:nth-child(3) {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .selected-weather > button {
    min-height: 58px;
  }

  .service-bridge {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 24px);
    margin-top: -18px;
  }

  .service-bridge > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  .service-bridge > button:nth-of-type(odd) {
    border-left: 0;
  }

  .market-section,
  .review-section,
  .content-showcase,
  .service-detail-section,
  .related-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-shell {
    width: min(calc(100% - 30px), 1180px);
  }

  .market-heading,
  .content-head,
  .review-shell,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trip-context {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip-context > div {
    grid-column: 1 / -1;
  }

  .market-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .price-filter {
    justify-content: space-between;
    padding-bottom: 12px;
  }

  .merchant-grid,
  .social-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .merchant-count-line {
    align-items: start;
    flex-direction: column;
  }

  .merchant-count-line small {
    text-align: left;
  }

  .review-intro {
    max-width: 600px;
  }

  .review-item {
    grid-template-columns: 90px 1fr;
  }

  .review-item > span {
    grid-column: 2;
    justify-self: start;
  }

  .platform-cta,
  .service-hero,
  .merchant-login-shell {
    grid-template-columns: 1fr;
  }

  .platform-cta > div {
    min-height: 280px;
    padding: 50px 24px;
  }

  .platform-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 20px;
  }

  .service-gallery {
    min-height: 420px;
  }

  .service-gallery::after {
    background: linear-gradient(0deg, var(--alpine-950), transparent 60%);
  }

  .service-hero-copy {
    padding: 40px 24px 70px;
  }

  .related-head {
    align-items: start;
    flex-direction: column;
  }

  .merchant-login-visual {
    min-height: 500px;
    padding: 100px 30px 50px;
  }

  .merchant-login-card {
    padding: 55px 28px;
  }

  .merchant-dashboard {
    grid-template-columns: 1fr;
    width: 100%;
    overflow-x: hidden;
  }

  .merchant-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .merchant-sidebar .platform-brand,
  .merchant-side-plan,
  .merchant-sidebar .logout {
    display: none;
  }

  .merchant-sidebar nav {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
  }

  .merchant-sidebar nav button {
    min-width: 100px;
    text-align: center;
  }

  .merchant-sidebar nav button.active {
    box-shadow: inset 0 -3px var(--gold-bright);
  }

  .merchant-main {
    width: 100%;
    min-width: 0;
    padding: 26px 18px 70px;
  }

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

  .merchant-form-grid,
  .referral-form-grid,
  .plan-comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .platform-brand small,
  .merchant-entry {
    display: none;
  }

  .platform-nav::after {
    content: "旅行服务";
    color: var(--gold-bright);
    font-size: 9px;
    font-weight: 850;
  }

  .nav-actions {
    display: none;
  }

  .selected-weather,
  .trip-context {
    grid-template-columns: 1fr;
  }

  .selected-weather > div,
  .selected-weather > div + div,
  .selected-weather > div:nth-child(3) {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .service-bridge {
    grid-template-columns: 1fr 1fr;
  }

  .merchant-card {
    min-height: 450px;
  }

  .modal-card {
    padding: 32px 22px;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions button,
  .service-actions a {
    width: 100%;
  }

  .detail-facts article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .merchant-topbar {
    align-items: start;
    flex-direction: column;
  }

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

  .metric-grid article {
    min-height: 130px;
    padding: 18px;
  }

  .merchant-form,
  .referral-form,
  .dashboard-card {
    padding: 20px;
  }

  .referral-table {
    display: block;
    overflow-x: auto;
  }
}

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