/* 屿树星球 · Web 搜索门（v23 · 2026-11-25）
   与小程序首页同一套语言：土星海报全屏底 + 墨罩 + 白字 + 品牌黄「查看」。
   结果列表 / 出发须知沿用网页版暖纸卡片语法，前缀 .wg- 独立，不碰全站样式。 */
body.wg-on .hd, body.wg-on .ft { display: none; }
body.wg-on #app { min-height: 100vh; }

/* ---------- ① 搜索门 ---------- */
.wg-gate { position: relative; min-height: 100vh; overflow: hidden; background: #03183F; color: #fff; }
.wg-bg {
  position: absolute; inset: 0;
  background: url('gate-bg-saturn.jpg') center 38% / cover no-repeat;
}
/* F 版专用曲线：22%~36% 全透让土星完整露出，46% 起加深兜文字与入口 */
.wg-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(3,24,63,.50) 0%, rgba(3,24,63,.46) 8%, rgba(3,24,63,.34) 14%,
    rgba(3,24,63,.05) 22%, rgba(3,24,63,.05) 36%, rgba(3,24,63,.34) 46%,
    rgba(3,24,63,.44) 56%, rgba(3,24,63,.48) 68%, rgba(3,24,63,.80) 84%,
    rgba(3,24,63,.92) 100%);
}
.wg-in {
  position: relative; z-index: 2; max-width: 640px; margin: 0 auto;
  min-height: 100vh; display: flex; flex-direction: column;
  padding: 30px 28px calc(48px + env(safe-area-inset-bottom));
}
.wg-top { display: flex; align-items: center; gap: 14px; }
.wg-logo { width: 54px; height: 52px; object-fit: contain; flex: 0 0 auto; }
.wg-brand { display: flex; flex-direction: column; line-height: 1.25; }
.wg-brand b { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.wg-brand span { font-size: 10px; font-weight: 700; letter-spacing: 2.6px; color: rgba(255,255,255,.62); }
.wg-top-link {
  margin-left: auto; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.86);
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.10); white-space: nowrap; transition: .18s ease;
}
.wg-top-link:hover { background: rgba(255,255,255,.20); border-color: rgba(255,255,255,.7); }
.wg-main { margin: auto 0 4vh; }
.wg-q { font-size: clamp(46px, 8vw, 72px); font-weight: 800; letter-spacing: .5px; line-height: 1.1; }
.wg-sub { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.74); letter-spacing: .2px; }
.wg-search {
  margin-top: 30px; display: flex; align-items: center; gap: 10px;
  height: 62px; padding: 0 8px 0 20px; border-radius: 999px;
  background: #fff; box-shadow: 0 10px 30px rgba(3,24,63,.20), inset 0 0 0 1px rgba(3,24,63,.08);
}
.wg-search input {
  flex: 1; min-width: 0; height: 100%; font-size: 16px; color: #03183F;
}
.wg-search input::placeholder { color: #8A9099; }
.wg-go {
  flex: 0 0 auto; height: 48px; padding: 0 26px; border-radius: 999px;
  background: #F7E14A; color: #03183F; font-size: 15px; font-weight: 800;
  letter-spacing: .5px; transition: transform .14s ease, background .14s ease;
}
.wg-go:hover { background: #FFEA5C; transform: translateY(-1px); }
.wg-go.busy { opacity: .68; pointer-events: none; }
.wg-tip {
  height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-size: 13.5px;
  color: #fff; background: rgba(3,24,63,.55); border-radius: 10px;
  transition: .2s ease; text-align: center;
}
.wg-tip.on { height: auto; opacity: 1; margin-top: 12px; padding: 9px 12px; }
.wg-chips {
  margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 480px;
}
.wg-chip {
  display: flex; align-items: center; justify-content: center; height: 44px;
  border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
  backdrop-filter: blur(6px); transition: .16s ease; white-space: nowrap;
}
.wg-chip:hover { background: rgba(255,255,255,.26); transform: translateY(-1px); }
.wg-foot { margin-top: 26px; font-size: 12.5px; color: rgba(255,255,255,.60); }
/* 桌面：整块居中构图 —— 文字/入口居中、主块垂直居中；手机保持原左对齐沉底 */
@media (min-width: 720px) {
  .wg-main { margin: auto 0; text-align: center; }
  .wg-chips { margin-left: auto; margin-right: auto; }
  .wg-foot { text-align: center; }
  .wg-q { font-size: clamp(52px, 5vw, 76px); }
  .wg-sub { font-size: 15px; }
}
@media (max-width: 480px) {
  .wg-in { padding: 22px 22px calc(36px + env(safe-area-inset-bottom)); }
  .wg-search { height: 56px; padding-left: 16px; }
  .wg-go { height: 42px; padding: 0 20px; font-size: 14px; }
  .wg-chips { gap: 8px; }
  .wg-chip { height: 42px; font-size: 13px; }
}

/* ---------- ②③ 结果列表 / 出发须知（暖纸卡片） ---------- */
.wg-wrap { padding-top: 26px; padding-bottom: 90px; }
.wg-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.wg-bar a {
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: .16s ease;
}
.wg-bar a:hover { border-color: var(--ink); color: var(--ink); }
.wg-bar-r { margin-left: auto; }
.wg-h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.2; }
.wg-h1 em { font-style: normal; color: var(--action); }
.wg-sub2 { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }
.wg-loading { padding: 60px 0; text-align: center; color: var(--ink-3); font-size: 14px; }
.wg-empty { padding: 70px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wg-empty b { font-size: 20px; }
.wg-empty span { color: var(--ink-3); }
.wg-empty a { margin-top: 12px; color: var(--action); font-weight: 700; text-decoration: underline; }

.wg-list { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wg-card {
  display: flex; gap: 16px; padding: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 2px 10px rgba(18,20,23,.03); transition: .18s ease;
}
.wg-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,20,23,.10); border-color: var(--ink-4); }
.wg-cv {
  flex: 0 0 132px; height: 120px; border-radius: 12px; overflow: hidden;
  background: var(--fill); display: flex; align-items: center; justify-content: center;
}
.wg-cv img { width: 100%; height: 100%; object-fit: cover; }
.wg-cv-ph { font-size: 34px; font-weight: 800; color: var(--ink-4); }
.wg-card-bd { min-width: 0; display: flex; flex-direction: column; }
.wg-card-bd h3 { font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.3px; }
.wg-meta { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.wg-tag { align-self: flex-start; margin-top: 8px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: #8A6212; }
.wg-cta { margin-top: auto; font-size: 13px; font-weight: 800; color: #8A6212; }
@media (max-width: 720px) {
  .wg-list { grid-template-columns: 1fr; }
  .wg-cv { flex-basis: 108px; height: 100px; }
}

/* 出发须知 */
.wg-hero {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px;
  background: #03183F center center / cover no-repeat;
  display: flex; align-items: flex-end;
}
.wg-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,24,63,.28) 0%, rgba(3,24,63,.55) 42%, rgba(3,24,63,.94) 100%);
}
.wg-hero-in { position: relative; padding: 34px 32px; color: #fff; max-width: 780px; }
.wg-kicker { font-size: 11px; font-weight: 800; letter-spacing: 2.4px; color: #F7E14A; }
.wg-hero h1 { margin-top: 10px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.8px; line-height: 1.18; }
.wg-hero-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.wg-hero-meta span {
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.wg-hero-d { margin-top: 14px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); }
.wg-tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.wg-tags span { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(247,225,74,.18); color: #F7E14A; }
.wg-alt { margin-top: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wg-alt > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.wg-alt a { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; }
.wg-alt a:hover { border-color: var(--ink); color: var(--ink); }

.wg-sec { margin-top: 34px; padding: 26px 28px; background: #FBF8F1; border: 1px solid var(--line); border-radius: var(--r-lg); }
.wg-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.wg-no { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #8A6212; background: rgba(247,225,74,.34); padding: 4px 9px; border-radius: 6px; }
.wg-sec-h h2 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.wg-sec-x { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

.wg-now { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.wg-temp { font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.wg-temp small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.wg-now-t { display: flex; flex-direction: column; gap: 4px; }
.wg-now-t b { font-size: 18px; }
.wg-now-t span { font-size: 12.5px; color: var(--ink-3); }
.wg-at { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.wg-days { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wg-day { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 3px; }
.wg-day span { font-size: 11.5px; color: var(--ink-3); }
.wg-day b { font-size: 15px; }
.wg-day em { font-style: normal; font-size: 13px; font-weight: 700; }
.wg-day i { font-style: normal; font-size: 11.5px; color: var(--ink-3); }

.wg-bars { height: 110px; display: flex; align-items: flex-end; gap: 2px; }
.wg-bars i { flex: 1; min-width: 2px; background: linear-gradient(180deg, #F7E14A, #D8B93A); border-radius: 3px 3px 0 0; }
.wg-elev-f { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.wg-elev-f b { color: var(--ink); }

.wg-gps { display: flex; flex-wrap: wrap; gap: 8px; }
.wg-gp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.wg-gp i { font-style: normal; font-size: 11px; font-weight: 800; color: #8A6212; background: rgba(247,225,74,.34); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wg-gp b { color: var(--action); }
.wg-li { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.wg-li li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.wg-li li:last-child { border-bottom: 0; padding-bottom: 0; }
.wg-li b { font-size: 14px; }
.wg-li span { font-size: 12.5px; color: var(--ink-3); }

.wg-sum { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.wg-gear { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wg-gear li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wg-gear li > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wg-gear b { font-size: 13.5px; }
.wg-gear span { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.wg-tier { flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--amber-soft); color: #8A6212; }
@media (max-width: 720px) { .wg-gear { grid-template-columns: 1fr; } }

.wg-fd { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.wg-fd:last-child { border-bottom: 0; }
.wg-fd-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wg-fd-h b { font-size: 16px; }
.wg-fd-h span { font-size: 12px; color: var(--ink-3); }
.wg-fd p { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.wg-dish { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.wg-dish span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.wg-dish i { font-style: normal; margin-left: 6px; font-size: 11px; color: var(--ink-4); }

.wg-cost { max-width: 460px; }
.wg-cost-l { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.wg-cost-l b { font-weight: 700; }
.wg-cost-t { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; font-size: 15px; font-weight: 800; }
.wg-cost-t b { font-size: 26px; color: #8A6212; }
.wg-cost-n { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }

.wg-tail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wg-tail-c h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.wg-note { list-style: none; display: grid; gap: 9px; }
.wg-note li { display: flex; gap: 9px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.wg-note i { flex: 0 0 auto; font-style: normal; font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--amber-soft); color: #8A6212; }
.wg-note li.ban i { background: #F6E2DE; color: #B04B37; }
@media (max-width: 720px) { .wg-tail { grid-template-columns: 1fr; } }

.wg-end { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wg-end-a {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px;
  border-radius: 999px; background: #03183F; color: #fff; font-size: 15px; font-weight: 800;
  transition: .16s ease;
}
.wg-end-a:hover { transform: translateY(-2px); opacity: .88; }
.wg-end span { font-size: 12.5px; color: var(--ink-3); }
