/* ============ 家游汇 · 全局样式 ============ */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --bg: #faf7f2;
  --card: #ffffff;
  --line: #e7e0d6;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 41, 55, .10);
  --shadow-lg: 0 24px 60px rgba(31, 41, 55, .18);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --fs-base: 16px;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { line-height: 1.25; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 18px; }
.brand { font-size: 1.35rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; }
.nav-links a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- 按钮 ---------- */
.btn {
  border: none; cursor: pointer; font-family: inherit; font-size: 1rem;
  padding: 10px 18px; border-radius: 12px; font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #f8fafc; }
.btn-elderly { background: var(--accent-light); color: #92400e; border: 1.5px solid var(--accent); }
.btn-elderly .elderly-on { display: none; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 40px) 20px 80px; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .6s ease; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.35) 45%, rgba(15,23,42,.72) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 860px; width: 100%; text-align: center; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 6px 16px; border-radius: 999px; font-size: .95rem; letter-spacing: 2px; margin-bottom: 18px; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero-sub { margin-top: 16px; font-size: 1.1rem; opacity: .92; max-width: 640px; margin-left: auto; margin-right: auto; }
.quick-planner { margin-top: 36px; text-align: left; color: var(--ink); background: rgba(255,255,255,.96); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
.quick-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; color: var(--primary-dark); }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .9rem; z-index: 2; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 通用 Section ---------- */
.section { padding: 72px 20px; max-width: 1200px; margin: 0 auto; }
.section-alt { max-width: none; background: #f3efe8; }
.section-alt .section-head, .section-alt .packing-layout { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 900; color: var(--primary-dark); }
.section-head p { color: var(--ink-soft); margin-top: 8px; }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- 筛选 ---------- */
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-size: .95rem; cursor: pointer; font-family: inherit; font-weight: 600; transition: all .15s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 目的地网格 ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.dest-card { overflow: hidden; cursor: pointer; position: relative; transition: transform .2s ease, box-shadow .2s ease; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-cover { height: 190px; background-size: cover; background-position: center; position: relative; }
.dest-cover .dest-emoji { position: absolute; top: 12px; left: 12px; font-size: 1.6rem; background: rgba(255,255,255,.85); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: var(--shadow); }
.dest-badges { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.92); color: var(--primary-dark); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.best { background: var(--accent); color: #fff; }
.dest-body { padding: 16px 18px 18px; }
.dest-name { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.dest-tagline { color: var(--ink-soft); font-size: .92rem; margin: 6px 0 12px; min-height: 44px; }
.dest-meta { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink-soft); }
.dest-more { color: var(--primary); font-weight: 700; }

/* ---------- 表单 ---------- */
.form-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.form-row label { flex: 1; min-width: 120px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
/* 行程规划：必填 * 放在文字后面，城市字段间距收紧 */
#planForm .form-row label { flex-direction: row; align-items: baseline; gap: 2px; }
#planForm .form-row { margin-bottom: 8px; }
#planForm .form-group { margin-bottom: 10px; }
.input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.input.num { width: 68px; text-align: center; }
.num-group { display: flex; gap: 8px; }
.num-group span { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group label {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: .92rem; cursor: pointer; font-weight: 600; color: var(--ink-soft); background: #fff;
}
.chip-group label:has(input:checked) { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.chip-group input { accent-color: var(--primary); }
.form-hint { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- 打包布局 ---------- */
.packing-layout { display: grid; grid-template-columns: 420px 1fr; gap: 24px; align-items: start; }
.form-card { padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px); }
.result-card { padding: 28px; min-height: 420px; }
.result-empty { text-align: center; color: var(--ink-soft); padding: 80px 20px; }
.result-empty-icon { font-size: 3.2rem; margin-bottom: 14px; }
.result-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.result-head h3 { font-size: 1.3rem; color: var(--primary-dark); }
.provider-tag { font-size: .8rem; background: var(--primary-light); color: var(--primary-dark); padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.weather-box { background: var(--accent-light); border: 1px solid #fcd34d; color: #92400e; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; }
.check-group { margin-bottom: 22px; }
.check-group h4 { font-size: 1.05rem; margin-bottom: 10px; color: var(--primary-dark); border-left: 4px solid var(--accent); padding-left: 10px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 12px; border-radius: 10px; margin-bottom: 6px; background: #fff; border: 1px solid var(--line); }
.check-item input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.check-item .item-name { font-weight: 700; }
.check-item .item-reason { font-size: .85rem; color: var(--ink-soft); }
.check-item.done .item-name { text-decoration: line-through; color: var(--ink-soft); }
.prio { margin-left: auto; flex-shrink: 0; }
.prio-3 { color: var(--danger); font-size: .8rem; font-weight: 700; }
.prio-2 { color: var(--accent); font-size: .8rem; font-weight: 700; }
.prio-1 { color: var(--ink-soft); font-size: .8rem; }
.tips-box { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.tips-box ul { padding-left: 20px; }
.result-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- 热度列表 ---------- */
.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.hot-rank { font-size: 1.5rem; font-weight: 900; width: 52px; text-align: center; color: var(--line); font-style: italic; }
.hot-item:nth-child(1) .hot-rank { color: #f59e0b; }
.hot-item:nth-child(2) .hot-rank { color: #94a3b8; }
.hot-item:nth-child(3) .hot-rank { color: #b45309; }
.hot-main { flex: 1; }
.hot-name { font-size: 1.15rem; font-weight: 800; }
.hot-reason { color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.hot-heat { width: 220px; }
.hot-heat .bar { height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.hot-heat .bar i { display: block; height: 100%; background: linear-gradient(90deg, #0f766e, #34d399); border-radius: 999px; }
.hot-heat .num { font-size: .8rem; color: var(--ink-soft); margin-top: 4px; display: block; text-align: right; }
.hot-trend { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.hot-trend.up { color: #dc2626; }
.hot-trend.down { color: #16a34a; }
.hot-src { font-size: .78rem; color: var(--ink-soft); background: #f1f5f9; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.hot-item.clickable { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.hot-item.clickable:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hot-item.clickable .hot-name { color: var(--primary-dark); }
.hot-item.clickable:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- 弹窗 ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.modal { position: relative; background: #fff; border-radius: 20px; max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-sm { max-width: 480px; padding: 28px; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 30; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: #fff; }
html.elderly .modal-close { width: 52px; height: 52px; font-size: 1.3rem; }
.detail-hero { height: 320px; background-size: cover; background-position: center; position: relative; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.75)); }
.detail-hero h2 { position: absolute; bottom: 18px; left: 24px; color: #fff; font-size: 2rem; text-shadow: 0 3px 12px rgba(0,0,0,.5); }
.detail-body { padding: 24px 28px 32px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.meta-cell { background: #f8fafc; border-radius: 12px; padding: 12px 14px; }
.meta-cell .k { font-size: .8rem; color: var(--ink-soft); }
.meta-cell .v { font-weight: 800; margin-top: 2px; }
.detail-desc { color: var(--ink-soft); margin-bottom: 20px; }
.highlight-card { display: flex; gap: 16px; background: #f8fafc; border-radius: 14px; padding: 14px; margin-bottom: 14px; align-items: center; }
.highlight-card img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.highlight-card h4 { margin-bottom: 4px; }
.highlight-card p { font-size: .9rem; color: var(--ink-soft); }
.elderly-note { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 12px 12px 0; margin-bottom: 20px; font-size: .92rem; color: #92400e; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.gallery-row img { height: 120px; width: 100%; object-fit: cover; border-radius: 10px; }
.guide-box { margin-top: 20px; }
.guide-section { margin-bottom: 16px; }
.guide-section h4 { color: var(--primary-dark); margin-bottom: 6px; }
.guide-section p { white-space: pre-line; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 12px; z-index: 200; box-shadow: var(--shadow-lg); font-size: .95rem; max-width: 90vw; }

/* ---------- 朗读按钮（长辈模式显示） ---------- */
.read-aloud { display: none; background: var(--primary-light); color: var(--primary-dark); border: 1.5px solid var(--primary); font-size: .85rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-family: inherit; font-weight: 700; }
.read-aloud:hover { background: var(--primary); color: #fff; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.about-card { padding: 24px; }
.about-card h3 { margin-bottom: 10px; color: var(--primary-dark); }
.about-card p { color: var(--ink-soft); font-size: .95rem; }

.footer { text-align: center; padding: 28px 20px; color: var(--ink-soft); font-size: .88rem; border-top: 1px solid var(--line); background: #fff; }
.footer .icp { margin-top: 10px; font-size: .82rem; }
.footer .icp a { color: inherit; text-decoration: none; }
.footer .icp a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .packing-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .nav-links { display: none; }
  .hot-heat { width: 120px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .highlight-card { flex-direction: column; align-items: flex-start; }
  .highlight-card img { width: 100%; height: 150px; }
}

/* ============ 老年人模式 ============ */
html.elderly {
  --fs-base: 20px;
  --nav-h: 76px;
}
html.elderly body { background: #fffdf7; color: #111827; }
html.elderly .nav { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.elderly .btn { min-height: 52px; padding: 14px 24px; font-size: 1.08rem; border-width: 2px; }
html.elderly .input { font-size: 1.12rem; padding: 14px 16px; }
html.elderly .chip, html.elderly .chip-group label { font-size: 1.05rem; padding: 12px 20px; }
html.elderly .dest-tagline { font-size: 1.02rem; }
html.elderly .dest-name { font-size: 1.4rem; }
html.elderly .badge { font-size: .85rem; padding: 5px 12px; }
html.elderly .hot-item { padding: 20px 24px; }
html.elderly .check-item { padding: 12px 16px; }
html.elderly .check-item input { width: 24px; height: 24px; }
html.elderly .read-aloud { display: inline-block; }
html.elderly .nav-links a { font-size: 1.05rem; }
html.elderly .section-head h2 { color: #111827; }
html.elderly .hero-title { font-size: clamp(2.6rem, 7vw, 4.6rem); }
html.elderly .hero-sub { font-size: 1.25rem; }
html.elderly .quick-planner { font-size: 1.1rem; }
html.elderly .modal { font-size: 1.1rem; }
/* 长辈模式运行时：关闭装饰动画与 hover 上浮（保留模式切换瞬间的字体/间距平滑过渡） */
html.elderly *, html.elderly *::before, html.elderly *::after { animation: none !important; }
html.elderly .anim, html.elderly .reveal { opacity: 1 !important; }
html.elderly .btn:hover, html.elderly .btn:active, html.elderly .entry-card:hover,
html.elderly .dest-card:hover, html.elderly .hot-item.clickable:hover,
html.elderly .ft-item:hover .ft-icon { transform: none !important; }
html.elderly .nav-links, html.elderly .quick-planner, html.elderly .packing-layout, html.elderly .about-grid, html.elderly .dest-grid, html.elderly .hot-list { font-size: inherit; }

/* ---------- 打印 ---------- */
@media print {
  .nav, .hero, .footer, .result-actions, #toast, .modal-backdrop, #hot, #about, .form-card { display: none !important; }
  body { background: #fff !important; }
  .section, .section-alt { padding: 0 !important; max-width: none !important; background: #fff !important; }
  .packing-layout { display: block !important; }
  .result-card { box-shadow: none !important; border: 1px solid #ddd !important; min-height: 0 !important; }
  .check-item { break-inside: avoid; }
}
.hero-bg { background-color: #0f766e; background-image: linear-gradient(135deg, #0f766e, #115e59); }

/* 修复：hidden 属性不被其他 display 规则覆盖 */
[hidden] { display: none !important; }

/* ---------- 行程规划 ---------- */
.plan-layout { display: grid; grid-template-columns: 460px 1fr; gap: 24px; align-items: start; max-width: 1200px; margin: 0 auto; }
.plan-layout .form-card { position: sticky; top: calc(var(--nav-h) + 16px); }
.provider-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.day-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.day-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.day-num { background: var(--primary); color: #fff; font-weight: 800; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: .95rem; }
.day-title { font-weight: 800; font-size: 1.05rem; color: var(--primary-dark); }
.day-date { font-size: .8rem; color: var(--ink-soft); }
.schedule-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.schedule-item:last-child { border-bottom: none; }
.schedule-time { font-weight: 800; color: var(--accent); font-size: .9rem; }
.schedule-activity { font-weight: 700; }
.schedule-detail { font-size: .86rem; color: var(--ink-soft); }
.meals-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.meal-pill { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; font-size: .82rem; padding: 6px 10px; border-radius: 10px; }
.meal-pill b { color: #166534; }
.day-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: .84rem; color: var(--ink-soft); }
.day-meta span { background: #f8fafc; border-radius: 8px; padding: 4px 10px; }
.transport-box { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; }
.transport-box h4 { margin-bottom: 6px; }
.rt-list { list-style: none; margin: 4px 0 8px; padding: 0; }
.rt-list li { background: #fff; border: 1px solid #dbeafe; border-left: 3px solid var(--accent); border-radius: 8px; padding: 7px 10px; margin-bottom: 6px; line-height: 1.5; }
.rt-list li b { color: var(--primary-dark); font-size: 1rem; }
.rt-label { margin: 10px 0 4px; }
.rt-price { font-size: .84rem; color: #b45309; margin-top: 2px; }
.rt-note { font-size: .82rem; color: #92400e; opacity: .9; margin: 4px 0 8px; }
.rt-fallback { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; border-radius: 8px; padding: 8px 10px; font-size: .88rem; font-weight: 600; margin: 6px 0 10px; }
.rt-foot { font-size: .8rem; opacity: .65; margin-top: 6px; }
.budget-box { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; }
.budget-box .total { font-size: 1.05rem; font-weight: 800; color: #b45309; }
.dietary-box { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: .92rem; }
.dietary-box ul { padding-left: 20px; }

/* ---------- AI 主理人问答 ---------- */
.chat-card { max-width: 1200px; margin: 24px auto 0; display: flex; flex-direction: column; }
.chat-head { font-weight: 800; font-size: 1.1rem; padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; color: var(--primary-dark); }
.chat-body { max-height: 420px; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; background: #fcfaf7; }
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; }
.chat-msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-input-row { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.chat-input-row .input { flex: 1; }
.chat-typing { color: var(--ink-soft); font-size: .88rem; font-style: italic; }

/* ---------- 打印：隐藏问答，保留行程 ---------- */
@media print {
  #assistant, .plan-layout .form-card { display: none !important; }
  .plan-layout { display: block !important; }
}
@media (max-width: 900px) {
  .plan-layout { grid-template-columns: 1fr; }
  .plan-layout .form-card { position: static; }
}

/* 服务端内置 Key 状态 */
.ai-server-status { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .9rem; font-weight: 600; }

/* ---------- 访问口令门禁 ---------- */
.auth-gate { position: fixed; inset: 0; z-index: 300; background: rgba(15,23,42,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { max-width: 360px; width: 100%; padding: 34px 28px; text-align: center; }
.auth-logo { font-size: 3rem; font-weight: 900; color: var(--primary); }
.auth-sub { color: var(--ink-soft); margin: 10px 0 18px; }
html.elderly .auth-card { padding: 40px 32px; }

/* ---------- 移动端优化（手机/小屏） ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .nav { position: sticky; top: 0; height: auto; }
  .nav-inner { flex-wrap: wrap; padding: 8px 12px; gap: 6px 10px; }
  .brand { font-size: 1.15rem; }
  .nav-actions { margin-left: auto; }
  .nav-links { order: 3; width: 100%; display: flex; overflow-x: auto; gap: 4px; padding: 2px 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; padding: 6px 12px; font-size: .92rem; }
  .btn { padding: 9px 14px; font-size: .92rem; }
  .btn-lg { padding: 12px 18px; font-size: .98rem; }
  .hero { padding: 18px 14px 60px; min-height: auto; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-sub { font-size: .95rem; }
  .hero-eyebrow { margin-bottom: 12px; font-size: .82rem; }
  .quick-planner { padding: 16px; margin-top: 22px; }
  .section { padding: 40px 14px; }
  .section-head { margin-bottom: 24px; }
  .form-row { flex-direction: column; gap: 10px; }
  .form-row label { min-width: 0; }
  .num-group { flex-wrap: wrap; }
  .form-card { padding: 18px; }
  .result-card { padding: 18px; }
  .dest-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
  .dest-cover { height: 128px; }
  .dest-body { padding: 12px 12px 14px; }
  .dest-tagline { min-height: 0; font-size: .86rem; margin: 4px 0 8px; }
  .dest-name { font-size: 1.05rem; }
  .dest-grid.featured { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
  .dest-grid.featured .dest-cover { height: 128px; }
  .dest-grid.featured .dest-name { font-size: 1.05rem; }
  .dest-grid.featured .dest-tagline { font-size: .86rem; min-height: 0; }
  .dest-meta { font-size: .76rem; }
  .hot-item { flex-wrap: wrap; padding: 12px 14px; gap: 6px 10px; }
  .hot-rank { width: 36px; font-size: 1.2rem; }
  .hot-heat { width: 100%; order: 5; }
  .hot-trend { font-size: .85rem; }
  .schedule-item { grid-template-columns: 52px 1fr; }
  .chat-msg { max-width: 92%; font-size: .9rem; }
  .chat-body { max-height: 340px; padding: 12px; }
  .chat-input-row { padding: 10px 12px; }
  .modal { max-height: 94vh; }
  .detail-body { padding: 14px 16px 22px; }
  .detail-hero { height: 200px; }
  .detail-hero h2 { font-size: 1.5rem; left: 16px; bottom: 12px; }
  .highlight-card { align-items: flex-start; }
  .highlight-card img { width: 100%; height: 130px; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .day-card { padding: 12px; }
  .day-meta span { font-size: .78rem; }
  .transport-box, .budget-box, .dietary-box, .elderly-note { padding: 10px 12px; }
  .result-head { align-items: flex-start; }
  .provider-presets { gap: 6px; }
  .auth-card { padding: 26px 20px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 1.7rem; }
  .meal-pill { font-size: .75rem; }
  .btn-elderly { padding: 8px 10px; }
}

/* ---------- 多页面布局补充 ---------- */
/* 导航吸顶（所有页面），避免内容被遮挡 */
.nav { position: sticky !important; top: 0; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); }

/* 导航当前页高亮 */
.nav-links a.active { background: var(--primary-light); color: var(--primary-dark); }

/* 目的地卡片作为链接 */
a.dest-card { display: block; text-decoration: none; color: inherit; }

/* 首页入口卡片 */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.entry-card { padding: 26px 22px; text-align: center; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.entry-icon { font-size: 2.4rem; margin-bottom: 10px; }
.entry-card h3 { color: var(--primary-dark); margin-bottom: 8px; }
.entry-card p { color: var(--ink-soft); font-size: .92rem; }

/* 内容底部留白 */
.footer { margin-top: 0; }

/* ---------- 手机预览框 ---------- */
.preview-backdrop { position: fixed; inset: 0; z-index: 400; background: rgba(15,23,42,.72); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.preview-frame { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); width: 420px; max-width: 96vw; display: flex; flex-direction: column; overflow: hidden; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--primary-dark); background: #fff; }
.preview-frame iframe { width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }

/* ---------- 设置菜单 ---------- */
.settings-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.settings-menu { position: absolute; top: calc(100% + 10px); right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 190px; z-index: 80; display: flex; flex-direction: column; gap: 4px; }
.settings-menu button, .settings-menu a { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 12px 14px; border: 0; background: none; border-radius: 10px; font-size: 1rem; cursor: pointer; font-family: inherit; color: var(--ink); text-decoration: none; }
.settings-menu button:hover, .settings-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.settings-menu .menu-on::after { content: " ✓"; color: var(--primary); font-weight: 800; margin-left: auto; }
html.elderly .settings-menu button, html.elderly .settings-menu a { font-size: 1.1rem; padding: 14px 16px; }

/* ---------- 更多按钮 ---------- */
.more-wrap { text-align: center; margin-top: 24px; }

/* ---------- 大图预览（灯箱） ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10,14,20,.92); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-caption { margin-top: 12px; color: rgba(255,255,255,.9); font-size: .95rem; }
html.elderly .lightbox-nav { width: 64px; height: 64px; font-size: 2.2rem; }

.modal { overscroll-behavior: contain; }
.modal-backdrop { overscroll-behavior: contain; }

/* 15 天天气预报 */
.weather-forecast { margin: 6px 0 18px; }
.weather-forecast h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 10px; }
.wf-body { min-height: 60px; }
.wf-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.wf-day { flex: 0 0 84px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 6px; text-align: center; }
.wf-week { font-weight: 800; font-size: .9rem; color: var(--primary-dark); }
.wf-date { font-size: .75rem; color: var(--ink-soft); margin: 2px 0 6px; }
.wf-icon { font-size: 1.6rem; }
.wf-label { font-size: .78rem; color: var(--ink-soft); margin: 4px 0; }
.wf-temp { font-size: .82rem; font-weight: 700; }
html.elderly .wf-day { flex-basis: 104px; }

/* 当地美食 */
.food-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.food-item { background: #fffdf7; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.food-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.food-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.spicy { font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.spicy-不辣 { background: #dcfce7; color: #166534; }
.spicy-微辣 { background: #fef9c3; color: #854d0e; }
.spicy-中辣 { background: #ffedd5; color: #c2410c; }
.spicy-辣 { background: #fee2e2; color: #b91c1c; }
.spicy-重辣 { background: #f3e8ff; color: #7e22ce; }
.food-desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 8px; }
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.food-tag { background: #f1f5f9; color: var(--ink-soft); font-size: .75rem; padding: 3px 9px; border-radius: 999px; }
html.elderly .food-name { font-size: 1.1rem; }
html.elderly .food-desc { font-size: .95rem; }

/* ---------- 城市输入提示 / 表单校验 ---------- */
.req { color: var(--danger); font-style: normal; }
.ac-wrap { position: relative; }
.ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 60; max-height: 260px; overflow-y: auto; }
.ac-item { padding: 10px 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .95rem; }
.ac-item small { color: var(--ink-soft); font-size: .8rem; }
.ac-item:hover, .ac-item.active { background: #f0fdfa; }
.ac-item + .ac-item { border-top: 1px solid #f1f5f9; }
.form-error { display: block; color: var(--danger); font-size: .85rem; margin-top: 6px; }
html.elderly .ac-item { padding: 14px 16px; font-size: 1.05rem; }
html.elderly .form-error { font-size: .95rem; }
/* ---------- AI 主理人反馈（输出框） ---------- */
.ai-feedback { background: #fff7ed; border: 1px solid #fdba74; border-radius: 14px; padding: 18px 20px; color: #9a3412; line-height: 1.7; }
html.elderly .ai-feedback { padding: 22px 24px; font-size: 1.05rem; }
/* ---------- 汉堡菜单（侧边抽屉导航） ---------- */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: none; border-radius: 10px; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; line-height: 1; flex: none; }
.nav-toggle:hover { background: var(--primary-light); }
.nav-actions { margin-left: auto; }
.nav-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(290px, 82vw); background: #fff; z-index: 90; box-shadow: var(--shadow-lg); padding: 0 0 20px; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head { padding: 20px 20px 14px; font-size: 1.2rem; font-weight: 800; color: var(--primary); border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.nav-drawer .nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer .nav-links a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px; color: var(--ink-soft); font-weight: 600; font-size: 1.05rem; }
.nav-drawer .nav-links a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-drawer .nav-links a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 800; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 85; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
html.elderly .nav-toggle { width: 52px; height: 52px; font-size: 1.7rem; }
html.elderly .nav-drawer .nav-links a { padding: 18px 22px; font-size: 1.15rem; }
/* 首页快捷规划：手机端紧凑 + 人数一行 */
@media (max-width: 900px) {
  .quick-planner { padding: 16px; margin-top: 24px; }
  .quick-title { font-size: 1.05rem; margin-bottom: 10px; }
  .quick-planner .form-row { gap: 8px; margin-bottom: 8px; }
  .form-row.nums-row { flex-direction: row; flex-wrap: nowrap; align-items: flex-end; }
  .form-row.nums-row label { min-width: 0; gap: 4px; font-size: .85rem; }
  .form-row.nums-row .input.num { width: 100%; padding: 9px 6px; font-size: .95rem; }
  .form-row.nums-row .btn { padding: 10px 12px; font-size: .92rem; white-space: nowrap; }
}
/* 首页精选：电脑端 3上3下 等比例放大（仅宽屏生效，手机端保持原样） */
@media (min-width: 901px) {
  .dest-grid.featured { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .dest-grid.featured .dest-cover { height: 250px; }
  .dest-grid.featured .dest-name { font-size: 1.4rem; }
  .dest-grid.featured .dest-tagline { font-size: .98rem; min-height: 50px; }
}
@media (max-width: 900px) {
  .entry-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .entry-card { padding: 14px 6px; }
  .entry-card p { display: none; }
  .entry-icon { font-size: 1.6rem; margin-bottom: 4px; }
  .entry-card h3 { font-size: .95rem; margin-bottom: 0; }
}

/* ===== 家游汇首页 · 桌面版专属新设计（仅 ≥901px，手机端不变） ===== */
.hero-desktop { display: none; }
.features-desktop { display: none; }
.footer-slogan { display: none; }
@media (min-width: 901px) {
  /* 手机版 hero（含快速清单）与「从这里开始」在电脑端隐藏，由新设计替代 */
  .home-page .hero { display: none; }
  .home-page #entry { display: none; }

  .hero-desktop {
    display: block;
    background: linear-gradient(180deg, #FFFBF5 0%, #E6F7F5 100%);
    padding: 110px 40px 90px;
  }
  .hd-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 70px; }
  .hd-left { flex: 1; max-width: 580px; }
  .hd-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(13,148,136,.1); color: #0D9488; font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: 20px; }
  .hd-dot { width: 8px; height: 8px; border-radius: 50%; background: #0D9488; }
  .hd-title { font-size: 52px; font-weight: 800; line-height: 1.25; color: #1E293B; margin: 26px 0; }
  .hd-sub { font-size: 17px; color: #64748B; line-height: 1.8; margin-bottom: 34px; }
  .hd-cta { display: flex; gap: 16px; }
  .hd-cta .btn { padding: 14px 30px; font-size: 16px; border-radius: 10px; }
  .hd-cta .btn-primary { box-shadow: 0 8px 24px rgba(13,148,136,.35); }
  .hd-trust { margin-top: 24px; color: #94A3B8; font-size: 14px; }
  .hd-carousel { position: relative; width: 560px; height: 480px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.06); }
.hd-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hd-slide.active { opacity: 1; }

  .features-desktop {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; border-bottom: 1px solid #E2E8F0; padding: 40px 40px;
  }
  .ft-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 24px; }
  .ft-item + .ft-item { border-left: 1px solid #E2E8F0; }
  .ft-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
  .ft-plan { background: rgba(13,148,136,.1); }
  .ft-pack { background: rgba(249,115,22,.1); }
  .ft-elder { background: rgba(139,92,246,.12); }
  .ft-item h3 { font-size: 15px; color: #1E293B; margin-bottom: 5px; font-weight: 700; }
  .ft-item p { font-size: 13px; color: #64748B; }

  /* 精选目的地：标题加大 + 副标题 */
  .home-page #featured .section-head { text-align: center; }
  .home-page #featured .section-head h2 { font-size: 36px; }
  .home-page #featured .section-head p { font-size: 16px; }

  /* 深色页脚（仅首页电脑端） */
  .home-page .footer { background: #1E293B; color: #94A3B8; padding: 48px 20px; }
  .home-page .footer .footer-slogan { display: block; color: #E2E8F0; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
}
/* ===== 电脑端 Header（≥901px）按设计稿：72px / 圆形山形Logo / 一排导航 / 开始规划 ===== */
.brand-svg { display: none; }
.nav-links-inline, .btn-start-desktop { display: none; }
@media (min-width: 901px) {
  .nav { height: 72px; }
  .brand { font-size: 22px; gap: 10px; }
  .brand-svg { display: block; flex: none; }
  .brand-emoji { display: none; }
  .nav-links-inline { display: flex; align-items: center; gap: 4px; margin-left: 26px; }
  .nav-links-inline a { padding: 8px 14px; border-radius: 10px; color: #64748B; font-weight: 600; font-size: 14px; text-decoration: none; }
  .nav-links-inline a:hover { background: rgba(13,148,136,.08); color: #0D9488; }
  .nav-links-inline a.active { color: #0D9488; background: rgba(13,148,136,.1); font-weight: 700; }
  .nav-toggle { display: none !important; }
  .btn-start-desktop { display: inline-flex; border-radius: 8px; box-shadow: 0 6px 18px rgba(13,148,136,.35); }
  #settingsBtn { font-size: 14px; padding: 8px 14px; }
}
/* 桌面 Hero 响应式：窗口较窄时自动缩小，避免左列被大图挤压错位 */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-desktop { padding: 72px 32px 60px; }
  .hd-inner { gap: 40px; flex-wrap: wrap; }
  .hd-left { max-width: 460px; }
  .hd-title { font-size: 40px; margin: 20px 0; }
  .hd-sub { font-size: 16px; margin-bottom: 26px; }
  .hd-carousel { width: 440px; height: 380px; }
}
@media (min-width: 901px) and (max-width: 1020px) {
  .hero-desktop { padding: 56px 24px 48px; }
  .hd-left { max-width: 100%; }
  .hd-inner { justify-content: center; }
  .hd-carousel { width: 400px; height: 340px; }
  .hd-title { font-size: 34px; }
}
/* 行程规划·电脑端：左右两栏各自独立滚动，互不影响（手机端不变） */
@media (min-width: 901px) {
  .plan-layout { height: calc(100vh - var(--nav-h) - 48px); overflow: hidden; align-items: stretch; }
  .plan-layout > .card { overflow-y: auto; min-height: 0; }
  .plan-layout .form-card { position: static; }
}

/* ================= 抽取热门家庭目的地（仅电脑端） ================= */
.draw-wrap { max-width: 720px; margin: 0 auto; padding: 48px 20px 60px; }
.draw-box { text-align: center; }
.draw-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--primary-dark); }
.draw-sub { color: var(--ink-soft); margin: 10px 0 26px; }
.draw-machine { display: flex; justify-content: center; margin-bottom: 28px; }
.draw-screen { width: 340px; min-height: 210px; background: linear-gradient(160deg, #f0fdfa, #ccfbf1); border: 2px dashed var(--primary); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; box-shadow: var(--shadow-lg); }
.draw-emoji { font-size: 3.4rem; line-height: 1; }
.draw-name { font-size: 1.7rem; font-weight: 800; color: var(--primary-dark); }
.draw-btn { font-size: 1.1rem; padding: 12px 34px; border-radius: 12px; }
.draw-mobile-tip { text-align: center; color: var(--danger); padding: 48px 20px; font-size: 1rem; }
.modal.draw-result { max-width: 540px; }
.draw-card-cover { position: relative; height: 190px; border-radius: 14px 14px 0 0; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 18px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.draw-card-emoji { position: absolute; top: 12px; right: 14px; font-size: 2.4rem; text-shadow: none; }
.draw-card-name { font-size: 1.9rem; font-weight: 900; }
.draw-card-meta { font-size: .85rem; opacity: .92; }
.draw-card-body { padding: 16px 18px 18px; }
.draw-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.draw-card-tagline { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.draw-card-desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.draw-card-sec { margin-top: 12px; }
.draw-card-sec b { color: var(--primary-dark); }
.draw-card-sec ul { margin: 6px 0 0 18px; padding: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }
.draw-card-sec p { color: var(--ink-soft); font-size: .9rem; }
.draw-result-actions { display: flex; gap: 10px; justify-content: center; padding: 0 18px 20px; }@media (max-width: 900px) {
  .draw-wrap { padding: 28px 14px 40px; }
  .draw-screen { width: 100%; max-width: 340px; min-height: 180px; }
  .draw-btn { width: 100%; max-width: 340px; }
  .draw-name { font-size: 1.4rem; }
  .draw-emoji { font-size: 2.8rem; }
}

/* =====================================================================
   动效系统 · 家游汇体验升级
   原则：只用 transform / opacity 做动画；入场 450ms、滚动 500ms；
        移动端优先；prefers-reduced-motion 与长辈模式自动降级；零依赖。
   ===================================================================== */

@keyframes jyh-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ① Hero 入场：JS 挂 .anim 触发，backwards 让延迟期保持初始态，播完由 JS 摘除 */
html.js .anim { animation: jyh-rise .45s cubic-bezier(.22, .61, .36, 1) backwards; }
html.js .anim[data-delay="1"] { animation-delay: .08s; }
html.js .anim[data-delay="2"] { animation-delay: .16s; }
html.js .anim[data-delay="3"] { animation-delay: .24s; }
html.js .anim[data-delay="4"] { animation-delay: .32s; }

/* ② 滚动入场：JS 挂 .reveal → 进入视口挂 .reveal-in → 播完摘除，恢复 hover 常态 */
html.js .reveal { opacity: 0; }
html.js .reveal.reveal-in { animation: jyh-rise .5s cubic-bezier(.22, .61, .36, 1) both; }

/* ③ 导航两态：顶部轻盈 → 滚动后毛玻璃加深 + 阴影。
      border 用透明占位不删除，避免状态切换时高度跳动；不过渡 backdrop-filter，省 paint */
.nav {
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 41, 55, .08);
}

/* ④ CTA 按钮微交互：hover 上浮回弹 / 按压下沉（按压反馈对所有设备生效，hover 仅精确指针） */
.btn {
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease,
              background .2s ease, font-size .3s ease, padding .3s ease, min-height .3s ease;
}
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 10px 24px rgba(15, 118, 110, .4); }
  .btn-ghost:hover { box-shadow: 0 8px 20px rgba(31, 41, 55, .1); }
}

/* ⑤ 三列功能卡片：hover 图标轻浮（桌面三列）/ 卡片上浮（移动入口卡），仅精确指针设备 */
@media (hover: hover) {
  .ft-icon { transition: transform .25s ease; }
  .ft-item:hover .ft-icon { transform: translateY(-3px) scale(1.05); }
  .entry-card:hover { transform: translateY(-6px); }
}

/* 信任数字强调（数字滚动目标） */
.hd-count { color: var(--primary-dark); font-weight: 800; }

/* ⑥ 长辈模式切换：字体/间距平滑过渡（一次性布局过渡，仅切换瞬间约 300ms） */
.brand, .hero-title, .hero-sub, .quick-planner, .quick-title, .section-head h2,
.dest-name, .dest-tagline, .badge, .food-name, .food-desc, .modal,
.settings-menu button, .settings-menu a, .ac-item, .form-error,
.nav-links a, .nav-links-inline a, .nav-drawer .nav-links a { transition: font-size .3s ease; }
.chip, .chip-group label { transition: all .15s ease, font-size .3s ease, padding .3s ease; }
.input { transition: border-color .15s ease, box-shadow .15s ease, font-size .3s ease, padding .3s ease; }

/* ⑦ 无障碍：偏好减少动效时全部直出 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .anim, html.js .reveal { animation: none !important; opacity: 1 !important; }
  .hero-scroll { animation: none !important; }
  .btn, .btn:hover, .btn:active,
  .ft-item:hover .ft-icon, .entry-card:hover, .dest-card:hover, .hot-item.clickable:hover { transform: none !important; }
  .nav { transition: none; }
}
/* ================= 🎨 动态高级感 · 动效层（不改变功能） ================= */
/* 页面入场：整页淡入上浮（仅 JS 可用时） */
html.js body { animation: pageIn .5s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* 流动渐变背景（柔和青绿→暖白，贴合家庭旅行主题） */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(120deg, #fffbf5 0%, #f0fdfa 30%, #ecfeff 55%, #fef9ec 80%, #fffbf5 100%);
  background-size: 300% 300%;
  animation: bgFlow 32s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bgFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 漂浮光斑（青绿 + 暖橙，柔和自然） */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; animation: orbFloat 22s ease-in-out infinite; }
.orb-1 { width: 380px; height: 380px; background: rgba(13, 148, 136, .34); top: 6%; left: -100px; }
.orb-2 { width: 320px; height: 320px; background: rgba(249, 115, 22, .24); bottom: 5%; right: -80px; animation-delay: -8s; }
.orb-3 { width: 260px; height: 260px; background: rgba(15, 118, 110, .22); top: 50%; left: 58%; animation-delay: -14s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(46px, -34px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(.94); }
}

/* 区块背景半透明，让动态背景微微透出 */
.section-alt { background: rgba(243, 239, 232, .72); }

/* 滚动入场：元素进入视口淡入上浮 */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* 首页 Hero 山形/波浪剪影（缓慢漂移，点缀主题） */
.hero { position: relative; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; pointer-events: none; z-index: 1; animation: waveDrift 18s ease-in-out infinite alternate; }
@keyframes waveDrift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }

/* 微交互：卡片悬停浮起 */
.dest-card, .entry-card, .about-card, .day-card, .hot-item, .quick-planner, .form-card {
  transition: transform .28s ease, box-shadow .28s ease;
}
.dest-card:hover, .entry-card:hover, .about-card:hover, .day-card:hover, .hot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 118, 110, .14);
}
.quick-planner:hover, .form-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 118, 110, .12); }
/* 按钮按压反馈 */
.btn:active { transform: scale(.97); }
/* 导航当前项下划线 */
.nav-links-inline a { position: relative; }
.nav-links-inline a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--primary); border-radius: 2px;
  animation: underlineIn .3s ease both;
}
@keyframes underlineIn { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
/* 筛选 chip 点击反馈 */
.chip { transition: transform .18s ease, box-shadow .18s ease; }
.chip:active { transform: scale(.94); }

/* 级联入场：目的地/入口/榜单/关于/特色条 */
.dest-grid > .dest-card, .entry-grid > .entry-card, .about-grid > .card, #hotList > .hot-item, .ft-item, .draw-card {
  animation: cardIn .55s ease backwards;
}

.dest-grid > .dest-card:nth-child(1) { animation-delay: 0.00s; }
.dest-grid > .dest-card:nth-child(2) { animation-delay: 0.06s; }
.dest-grid > .dest-card:nth-child(3) { animation-delay: 0.12s; }
.dest-grid > .dest-card:nth-child(4) { animation-delay: 0.18s; }
.dest-grid > .dest-card:nth-child(5) { animation-delay: 0.24s; }
.dest-grid > .dest-card:nth-child(6) { animation-delay: 0.30s; }
.dest-grid > .dest-card:nth-child(7) { animation-delay: 0.36s; }
.dest-grid > .dest-card:nth-child(8) { animation-delay: 0.42s; }
.dest-grid > .dest-card:nth-child(9) { animation-delay: 0.48s; }
.dest-grid > .dest-card:nth-child(10) { animation-delay: 0.54s; }
.dest-grid > .dest-card:nth-child(11) { animation-delay: 0.60s; }
.dest-grid > .dest-card:nth-child(12) { animation-delay: 0.66s; }
.entry-grid > .entry-card:nth-child(1) { animation-delay: 0.00s; }
.entry-grid > .entry-card:nth-child(2) { animation-delay: 0.08s; }
.entry-grid > .entry-card:nth-child(3) { animation-delay: 0.16s; }
.entry-grid > .entry-card:nth-child(4) { animation-delay: 0.24s; }
.entry-grid > .entry-card:nth-child(5) { animation-delay: 0.32s; }
.entry-grid > .entry-card:nth-child(6) { animation-delay: 0.40s; }
#hotList > .hot-item:nth-child(1) { animation-delay: 0.00s; }
#hotList > .hot-item:nth-child(2) { animation-delay: 0.05s; }
#hotList > .hot-item:nth-child(3) { animation-delay: 0.10s; }
#hotList > .hot-item:nth-child(4) { animation-delay: 0.15s; }
#hotList > .hot-item:nth-child(5) { animation-delay: 0.20s; }
#hotList > .hot-item:nth-child(6) { animation-delay: 0.25s; }
#hotList > .hot-item:nth-child(7) { animation-delay: 0.30s; }
#hotList > .hot-item:nth-child(8) { animation-delay: 0.35s; }
#hotList > .hot-item:nth-child(9) { animation-delay: 0.40s; }
#hotList > .hot-item:nth-child(10) { animation-delay: 0.45s; }
.about-grid > .card:nth-child(1) { animation-delay: 0.00s; }
.about-grid > .card:nth-child(2) { animation-delay: 0.08s; }
.about-grid > .card:nth-child(3) { animation-delay: 0.16s; }
.about-grid > .card:nth-child(4) { animation-delay: 0.24s; }
.about-grid > .card:nth-child(5) { animation-delay: 0.32s; }
.about-grid > .card:nth-child(6) { animation-delay: 0.40s; }
.ft-item:nth-child(1) { animation-delay: 0.00s; }
.ft-item:nth-child(2) { animation-delay: 0.12s; }
.ft-item:nth-child(3) { animation-delay: 0.24s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 加载中：精致旋转进度环 */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(13, 148, 136, .25); border-top-color: var(--primary); border-radius: 50%; vertical-align: -3px; margin-right: 8px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 页面切换过渡（Chrome 等现代浏览器渐进增强） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .16s ease both; }
::view-transition-new(root) { animation: vtIn .32s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* 尊重系统"减少动态"：关闭所有动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .bg-fx, body::before { display: none !important; }
}

/* 桌面 Hero 相对定位（供山形剪影定位） */
.hero-desktop { position: relative; overflow: hidden; }


/* ================= 🚀 动态高级感 · 增强层（不改变功能） ================= */
/* 旋转极光：青绿/暖橙光带缓慢扫过（贴合主题） */


/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto; animation: gradFlow 5s linear infinite;
  z-index: 300; pointer-events: none;
}

/* 标题逐字浮现 */
html.js .ch { display: inline-block; opacity: 0; transform: translateY(16px) rotate(2deg); animation: chIn .55s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }

/* 卡片悬停：渐变光晕描边（高级感） */
.dest-card, .entry-card { position: relative; }
.dest-card::before, .entry-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, rgba(13,148,136,.75), rgba(249,115,22,.7));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.dest-card:hover::before, .entry-card:hover::before { opacity: 1; }

/* 区块标题：渐变流光文字 */
.section-head h2, .draw-title {
  background: linear-gradient(90deg, var(--primary-dark), var(--accent), var(--primary-dark));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradFlow 6s linear infinite;
}
@keyframes gradFlow { to { background-position: 200% center; } }

/* 滚动入场更高级：加上轻微模糊 + 弹性曲线 */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  filter: blur(4px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
}
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* 减少动态时，渐变文字恢复纯色可读 */
@media (prefers-reduced-motion: reduce) {
  .section-head h2, .draw-title { -webkit-text-fill-color: var(--primary-dark); color: var(--primary-dark); background: none; }
}


/* ================= 🎆 动态感加强层（不改变功能） ================= */
/* 背景漂浮粒子 */
.pdot { position: absolute; bottom: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,.8), rgba(249,115,22,.35)); animation: rise linear infinite; pointer-events: none; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-108vh) translateX(36px); opacity: 0; }
}

/* 首页热门目的地滚动字幕 */
.ticker { overflow: hidden; background: linear-gradient(90deg, #0f766e, #0d9488, #0f766e); padding: 9px 0; }
.ticker-track { display: flex; gap: 44px; width: max-content; white-space: nowrap; animation: tickerMove 34s linear infinite; }
.ticker-item { color: #fff; font-size: .88rem; font-weight: 600; letter-spacing: .5px; opacity: .92; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* Hero 轮播图缓慢缩放（Ken Burns 高级感） */
.hd-slide { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: center; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

/* 主按钮流光 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: btnShine 3.2s ease-in-out infinite;
}
@keyframes btnShine { 0%, 55% { left: -80%; } 90%, 100% { left: 130%; } }

/* 抽取页：统计 / 目的地池 / 最近抽取 / 底部山形 / 屏呼吸光晕 */
.draw-stats { margin: 18px 0 8px; color: var(--ink-soft); font-size: .9rem; }
.draw-pool, .draw-recent { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px auto 0; max-width: 640px; }
.dp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: .82rem; color: var(--ink); background: #fff; border: 1px solid rgba(13,148,136,.22); }
.dp-chip { background: color-mix(in srgb, var(--ac) 10%, #fff); border-color: color-mix(in srgb, var(--ac) 32%, #fff); }
.dp-chip i { font-style: normal; opacity: .55; font-size: .74rem; margin-left: 2px; }
.draw-recent { margin-top: 16px; }
.draw-recent-title { width: 100%; color: var(--ink-soft); font-size: .85rem; margin: 4px 0 2px; }
.draw-wave { display: block; width: 100%; height: 70px; margin-top: 26px; }
.draw-screen { animation: screenBreath 3.4s ease-in-out infinite; }
@keyframes screenBreath { 0%, 100% { box-shadow: 0 4px 16px rgba(15,118,110,.06); } 50% { box-shadow: 0 0 36px 3px rgba(13,148,136,.3); } }


/* ================= 修复：手机端禁止横向溢出（右侧空白） ================= */


/* ================= 💎 美化收尾层（不改变功能） ================= */
/* 1. 卡片封面悬停放大 */
.dest-cover { overflow: hidden; }
.dest-cover::before { content: ''; position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; transform: scale(1.01); transition: transform .7s cubic-bezier(.22,.61,.36,1); z-index: 0; }
.dest-cover > .dest-emoji, .dest-cover > .dest-badges { z-index: 1; }
.dest-card:hover .dest-cover::before { transform: scale(1.1); }

/* 2. 回到顶部按钮 */
.to-top { position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility .3s; box-shadow: 0 8px 22px rgba(15,118,110,.32); z-index: 220; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-2px); }

/* 3. 图片淡入 */
.bg-in { animation: imgFade .6s ease both; }
@keyframes imgFade { from { opacity: .35; } to { opacity: 1; } }

/* 4. 弹窗缩放进入 */
.modal-backdrop:not([hidden]) .modal { animation: modalIn .3s cubic-bezier(.22,.61,.36,1) both; }
@keyframes modalIn { from { opacity: 0; transform: scale(.92) translateY(16px); } to { opacity: 1; transform: none; } }

/* 5. 导航抽屉链接错峰滑入 */
.nav-drawer.open .nav-links a { opacity: 0; animation: drawerLinkIn .38s cubic-bezier(.22,.61,.36,1) forwards; }
.nav-drawer.open .nav-links a:nth-child(1) { animation-delay: .04s; }
.nav-drawer.open .nav-links a:nth-child(2) { animation-delay: .08s; }
.nav-drawer.open .nav-links a:nth-child(3) { animation-delay: .12s; }
.nav-drawer.open .nav-links a:nth-child(4) { animation-delay: .16s; }
.nav-drawer.open .nav-links a:nth-child(5) { animation-delay: .20s; }
.nav-drawer.open .nav-links a:nth-child(6) { animation-delay: .24s; }
.nav-drawer.open .nav-links a:nth-child(7) { animation-delay: .28s; }
.nav-drawer.open .nav-links a:nth-child(8) { animation-delay: .32s; }
@keyframes drawerLinkIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* 6. Toast 滑入 */
.toast:not([hidden]) { animation: toastIn .32s cubic-bezier(.22,.61,.36,1) both; }
@keyframes toastIn { from { transform: translate(-50%, -16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* 7. 输入框聚焦光晕（增强） */
.input, select.input, textarea.input { transition: border-color .25s ease, box-shadow .25s ease; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,148,136,.16); }

/* 8. 打包清单勾选回弹 */
.check-item .ck:checked + span { animation: checkPop .35s cubic-bezier(.22,.61,.36,1); }
@keyframes checkPop { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* 9. 移动端 Hero 漂浮装饰 */
.hero-float { position: absolute; z-index: 1; font-size: 1.9rem; pointer-events: none; opacity: .85; animation: heroFloat 7s ease-in-out infinite; }
.hero-float.f1 { top: 16%; left: 8%; animation-duration: 8s; }
.hero-float.f2 { top: 30%; right: 9%; animation-duration: 10s; animation-delay: -3s; }
.hero-float.f3 { bottom: 18%; left: 16%; font-size: 1.5rem; animation-duration: 9s; animation-delay: -5s; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

/* 10. 页脚波浪分隔 */
.footer-wave { display: block; width: 100%; height: 44px; margin-bottom: -1px; }
.footer-wave + .footer { border-top: none; }


/* 手机端隐藏"手机预览"（该功能是桌面端预览手机布局用的） */
@media (max-width: 900px) {
  #menuMobile { display: none; }
}


/* 极光：移入 bg-fx（overflow:hidden 裁剪，不再撑出底部空白） */
.bg-fx .aurora { position: absolute; inset: -45%; background: conic-gradient(from 0deg, transparent 0deg, rgba(13,148,136,.10) 70deg, transparent 140deg, rgba(249,115,22,.08) 220deg, transparent 300deg); animation: aurora 46s linear infinite; pointer-events: none; }
