/* Mobile website assets are owned here and published by both hosts. Desktop uses its existing layout. */
.mobile-header,.mobile-tabbar { display:none; }

  body { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
  .legacy-top,.legacy-header,.legacy-nav { display:none; }
  .mobile-header { display:flex; align-items:center; gap:12px; padding:10px 16px; background:#fff; border-bottom:1px solid #e5ebf2; position:relative; z-index:45; min-height:58px; }
  .mobile-home { font-size:21px; color:#0757a6; font-weight:750; white-space:nowrap; }
  .mobile-home>span { font-size:12px; margin-left:3px; font-weight:500; }
  .mobile-search { flex:1; padding:8px 12px; font-size:13px; border-radius:24px; background:#f1f6fc; color:#52687e; }
  .mobile-menu>summary { cursor:pointer; font-size:13px; list-style:none; padding:10px 0; }
  .mobile-menu>summary::-webkit-details-marker { display:none; }
  .mobile-menu>nav { position:absolute; top:100%; left:0; right:0; padding:12px 16px; background:white; display:grid; grid-template-columns:1fr 1fr; box-shadow:0 12px 20px #15263d1a; border-bottom:1px solid #dae4ef; }
  .mobile-menu>nav>a { min-height:44px; padding:10px; font-size:14px; }
  .mobile-menu>nav>a:last-child { grid-column:1/-1; color:#0757a6; }
  .mobile-tabbar { display:flex; position:fixed; z-index:35; bottom:0; left:0; right:0; border-top:1px solid #e5ebf2; background:#fff; padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px)); }
  .mobile-tabbar>a { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; font-size:11px; min-height:52px; color:#607286; }
  .mobile-tabbar>a>span { font-size:20px; line-height:1.25; }
  .mobile-tabbar>a[aria-current=page] { color:#0757a6; font-weight:700; }
  body.has-mobile-booking .mobile-tabbar { display:none; }
  main { padding:0 16px; }
  h1 { overflow-wrap:anywhere; }
  .page-heading { padding:22px 0 14px; }
  .page-heading h1 { font-size:27px; }
  .breadcrumbs { margin:14px 0; font-size:12px; flex-wrap:wrap; }
  .panel,.account-panel { padding:18px 14px; min-width:0; }
  button,.button,input,select { min-height:44px; }
  input,select,textarea { font-size:16px; max-width:100%; }
  .form-stack label { font-size:14px; }
  .form-row { gap:14px; }
  .form-actions { align-items:stretch; flex-wrap:wrap; }
  .form-actions>button { width:100%; }
  .check-label,.category-flags label { min-height:44px; align-items:center; }
  input[type=checkbox],input[type=radio] { min-height:0; width:19px; height:19px; flex-shrink:0; }
  .category-links { display:flex; overflow-x:auto; flex-wrap:nowrap; gap:9px; padding:12px; margin-bottom:12px; scrollbar-width:thin; }
  .category-links>a { flex-shrink:0; padding:8px 14px; border:1px solid #dce7f2; border-radius:24px; font-size:13px; }
  .category-links>a[aria-current=page] { background:#0757a6; color:#fff; border-color:#0757a6; }
  .mobile-filter { margin:12px 0 20px; border:1px solid #dce7f2; background:white; border-radius:12px; }
  .mobile-filter>summary { padding:14px; cursor:pointer; color:#0757a6; font-weight:650; font-size:14px; }
  .mobile-filter .filters { margin:0; border:0; box-shadow:none; grid-template-columns:1fr 1fr; }
  .mobile-filter .filters button { grid-column:1/-1; }
  .mobile-filter .category-flags { grid-column:1/-1; }
  .mobile-filter-hint { color:#66758a; font-size:12px; font-weight:400; margin-left:8px; }
  .route-grid { gap:16px; }
  .route-card .card-body { padding:15px; }
  .route-card h3 { font-size:17px; line-height:1.5; }
  .route-card .cover { aspect-ratio:1.8; }
  .card-footer { padding-top:12px; }
  .detail-hero { gap:18px; }
  .detail-intro h1 { font-size:25px; line-height:1.4; }
  .detail-photo img { aspect-ratio:1.6; }
  .detail-meta { padding:10px 0; }
  .detail-tabs { position:sticky; top:0; z-index:25; background:#f4f8fc; margin-top:20px; font-size:12px; min-height:52px; }
  .detail-tabs>a { padding:8px 2px; }
  .detail-tabs>a[aria-current=true] { color:#0757a6; font-weight:700; }
  .day-overview { padding:12px 14px; margin:12px 0; background:#eaf5ff; border-radius:8px; }
  .day-overview a { display:block; padding:9px 0; font-size:13px; border-bottom:1px solid #d6e8f7; }
  .day-overview a:last-child { border-bottom:0; }
  .reading-column .rich-text { overflow-wrap:anywhere; }
  .mobile-table-scroll { overflow-x:auto; max-width:100%; border:1px solid #e5ebf2; border-radius:8px; margin:12px 0; }
  .mobile-table-scroll>table { margin:0; }
  .mobile-table-hint { font-size:11px; color:#66758a; }
  .mobile-cost-tabs { display:flex; gap:8px; margin:14px 0; }
  .mobile-cost-tabs button { padding:9px 16px; font-size:13px; background:white; color:#0757a6; border-color:#bdd3e7; }
  .mobile-cost-tabs button[aria-pressed=true] { background:#0757a6; color:white; }
  .mobile-cost-original { margin:16px 0; font-size:13px; }
  .legacy-footer { padding:20px 16px; }
  .mobile-footer-links>summary { cursor:pointer; font-size:14px; font-weight:650; color:#0757a6; padding:10px 0; }
  .copyright { font-size:11px; padding-top:14px; }
  .copyright p { margin-bottom:7px; }
  .news-list article,.content-main,.member-content { min-width:0; }
  .order-list,.traveler-row { overflow-wrap:anywhere; }
  .favorite-item { min-width:0; }
  .booking-summary { margin-bottom:0; }
  .original-home-top { margin-top:12px; }
  .original-slider { height:240px; }
  .original-slides article>div { padding:35px 22px 22px; }
  .original-trust { gap:8px; font-size:11px; }
  .original-trust b { font-size:13px; }
/* The standalone host intentionally presents the same phone layout on a large monitor. */
body.mobile-surface { max-width:700px; margin:auto; }
body.mobile-surface main { max-width:700px; }
body.mobile-surface .legacy-header,body.mobile-surface .legacy-nav,body.mobile-surface .legacy-top { display:none; }
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }

.mobile-filter>summary,.mobile-footer-links>summary,.mobile-cost-original>summary { display:list-item; }
.mobile-tabbar,.mobile-booking-bar { max-width:700px; margin-inline:auto; }
/* Keep the home page's real categories within a compact phone-size navigation block. */
.destination-panel { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.destination-title { grid-column:1/-1; height:44px; padding:8px 16px; }
.destination-title strong { font-size:16px; }
.destination-title>span { font-size:22px; }
.destination-title small { display:none; }
.destination-group>a { display:flex; flex-direction:column; justify-content:center; gap:7px; padding:12px 3px; min-height:100px; }
.destination-group>a>span:last-child,.destination-group>a small { display:none; }
.destination-group>a strong { font-size:14px; }
.destination-group>a b { width:30px; height:30px; font-size:17px; }
.destination-panel .destination-group .destination-cities { display:none; }
.destination-more { grid-column:1/-1; padding:8px; font-size:12px; text-align:center; }
.original-trust { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:14px; gap:5px; }
.original-trust>div { padding:12px 2px; }
.original-trust span { display:none; }

.mobile-recent{display:block;margin:18px 0;padding:16px 12px}.mobile-recent>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.mobile-recent h2{font-size:17px;margin:0}.mobile-recent a{font-size:12px;color:#0757a6}.mobile-recent-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0}.mobile-recent-dates a{display:flex;flex-direction:column;align-items:center;padding:12px 1px;border:1px solid #e1ebf5;border-radius:9px;background:#f6faff}.mobile-recent-dates strong{font-size:12px;color:#c95013;margin:4px 0;overflow-wrap:anywhere}.mobile-recent-dates small{font-size:9px}.mobile-recent>small{font-size:11px;color:#66758a}.mobile-recent [data-recent-status]{font-size:12px;margin:12px 0}

.original-trust>div:before { content:none; display:none; }
.original-trust b { text-align:center; font-size:12px; }
.destination-options { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.destination-options a { font-size:17px; }
.route-grid,.detail-hero,.booking-layout,.member-shell,.form-row { grid-template-columns:minmax(0,1fr); }
.booking-summary { position:static; grid-row:1; }
.booking-before-quote { display:none; }
.booking-summary>img { display:none; }
.member-menu { position:static; min-width:0; }
.member-menu nav { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:8px; }
.member-menu nav a { flex-shrink:0; min-height:44px; }
.footer-links { grid-template-columns:1fr 1fr; gap:18px; }
.mobile-menu { margin:0; padding:0; border:0; border-radius:0; background:transparent; }
.mobile-menu>summary { margin:0; border:0; }
.detail-facts { display:flex; flex-wrap:wrap; gap:7px; margin:8px 0 14px; }
.detail-facts span { padding:4px 9px; border-radius:5px; background:#eaf4ff; color:#305b85; font-size:12px; }
.day-overview {display:block;}
.member-sidebar {position:static;min-width:0;}
.member-sidebar h2,.member-sidebar p {display:none;}
.member-sidebar nav {display:flex;overflow-x:auto;padding:6px;}
.member-sidebar nav a {flex-shrink:0;padding:10px 13px;font-size:13px;min-height:44px;}
.member-sidebar nav a span {display:none;}

.mobile-search-form {display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px;}
.mobile-search-form>input {flex:1;min-width:0;}
.mobile-search-form>button {padding:10px 18px;}
.mobile-search-form>a {width:100%;font-size:12px;color:#0757a6;}
.mobile-filter-keyword {display:none;}

.mobile-login{max-width:460px;margin:18px auto 26px;padding:20px 22px;border-radius:18px;box-shadow:0 12px 32px #153b6010;}
.mobile-login-back{display:inline-block;margin-bottom:14px;font-size:13px;color:#577089;min-height:26px;}
.mobile-login .eyebrow{margin:8px 0 4px;}
.mobile-login h1{font-size:27px;line-height:1.4;margin:7px 0 10px;}
.mobile-login-intro{color:#617185;font-size:14px;line-height:1.8;margin:0 0 12px;}
.mobile-login-tabs{display:flex;gap:25px;border-bottom:1px solid #e4ebf2;margin:18px 0;}
.mobile-login-tabs a{padding:12px 0;color:#68798a;font-size:15px;border-bottom:3px solid transparent;}
.mobile-login-tabs a[aria-current=page]{color:#0757a6;border-color:#0757a6;font-weight:700;}
.mobile-login .notice{margin:0 0 14px;padding:10px 12px;line-height:1.6;}
.mobile-login-form{display:flex;flex-direction:column;gap:8px;margin:0;}
.mobile-login-form>label:not(.mobile-login-consent){font-size:14px;font-weight:600;margin-top:5px;}
.mobile-login-form input:not([type=checkbox]):not([type=hidden]){width:100%;min-width:0;min-height:50px;border-radius:10px;padding:12px;}
.mobile-login-code{display:flex;align-items:stretch;gap:8px;}
.mobile-login-code>input{flex:1;}
.mobile-login-code>button{flex-shrink:0;min-width:112px;padding:10px;font-size:13px;border-radius:10px;}
.mobile-login-consent{display:flex;align-items:flex-start;gap:9px;margin-top:9px;font-size:12px;line-height:1.8;color:#5b6c7e;}
.mobile-login-consent input{margin-top:2px;}
.mobile-login-consent a{color:#0757a6;}
.mobile-login-terms{margin:0;padding:0;border:0;border-radius:0;font-size:12px;}
.mobile-login-terms summary{font-weight:400;color:#657c90;min-height:35px;padding:7px 0;margin:0;border:0;}
.mobile-login-submit,.mobile-login-wechat{width:100%;border-radius:11px;min-height:50px;margin-top:7px;}
.mobile-login-hint,.mobile-login-shared{font-size:12px;color:#748699;text-align:center;line-height:1.7;}
.mobile-login-hint{margin:0;}.mobile-login-shared{margin:26px 0 0;}
.mobile-login-sent{font-size:13px;line-height:1.7;color:#23734c;}
.mobile-login-divider{display:flex;align-items:center;gap:14px;color:#7d8b97;font-size:12px;margin:25px 0 14px;}
.mobile-login-divider:before,.mobile-login-divider:after{content:"";height:1px;background:#e4ebf2;flex:1;}
.mobile-login-wechat{background:#138a4b;border-color:#138a4b;}
@media(max-width:360px){.mobile-login{padding:22px 15px;}.mobile-login-code>button{min-width:100px;}}
