/* 海天翼 · 东戴河 —— 全站样式（无外部依赖，适配国内网络） */
:root {
  --ink: #102a38;
  --ink-2: #29434f;
  --muted: #5f6f77;
  --sea: #0d6b7b;
  --sea-2: #158596;
  --sea-soft: #e3f1f2;
  --sand: #faf7f1;
  --sand-2: #f2eadc;
  --line: #e6ddcc;
  --coral: #cf6a47;
  --coral-soft: #fbeae3;
  --gold: #a9874f;
  --ok: #2f8a57;
  --ok-soft: #e4f3ea;
  --warn: #b7791f;
  --warn-soft: #fbf1df;
  --bad: #b5443a;
  --bad-soft: #f9e5e2;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 42, 56, .05), 0 8px 24px rgba(16, 42, 56, .06);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; letter-spacing: .02em; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }
small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand .name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .12em; line-height: 1.1; }
.brand .sub { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--sand-2); text-decoration: none; }
.nav a.active { color: var(--sea); font-weight: 600; background: var(--sea-soft); }
.nav a.ext { border: 1px solid var(--line); margin-left: 6px; color: var(--sea); }
.nav a.ext:hover { border-color: var(--sea); background: var(--sea-soft); }
@media (max-width: 1320px) and (min-width: 1081px) { .nav a { padding: 8px 8px; font-size: 14.5px; } .site-header .bar { gap: 16px; } }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 15px; color: var(--ink); cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--sand); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: background .15s, color .15s, border-color .15s; text-decoration: none !important; white-space: nowrap; }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #b45634; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }
.btn-light { background: rgba(255,255,255,.95); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(16,42,56,.15); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,36,.55) 0%, rgba(8,26,36,.15) 55%, rgba(8,26,36,0) 100%), linear-gradient(180deg, rgba(10,30,40,0) 0%, rgba(10,30,40,.2) 40%, rgba(10,30,40,.82) 100%); }
.hero .container { position: relative; z-index: 1; padding-bottom: 104px; }
.hero h1 { color: #fff; margin-bottom: 14px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero .lead { font-size: clamp(16px, 2vw, 20px); max-width: 720px; opacity: .95; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .tag { display: inline-block; font-size: 13px; letter-spacing: .2em; padding: 4px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; margin-bottom: 18px; }

.page-hero { position: relative; color: #fff; padding: 110px 0 56px; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,40,.82) 0%, rgba(10,30,40,.45) 60%, rgba(10,30,40,.2) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-hero p { max-width: 680px; opacity: .92; font-size: 17px; margin: 0; }
.page-hero.with-stats { padding-bottom: 104px; }
.page-hero.plain { background: var(--ink); padding: 72px 0 44px; }
.page-hero.plain::after { display: none; }

/* ---------- 版块 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #e9f1f2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .22em; color: var(--sea); margin-bottom: 10px; }
.section.dark .eyebrow { color: #8fd0d6; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 17px; }
.section.dark .section-head p { color: #b9cdd1; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.card.flat { box-shadow: none; }
.card h3 { margin-bottom: 8px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card.media { padding: 0; overflow: hidden; }
.card.media .body { padding: 20px 22px 22px; }
.card.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: -48px; position: relative; z-index: 2; }
.stat-bar > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat-bar > div:first-child { border-left: 0; }
.stat-bar .v { font-family: var(--serif); font-size: 30px; color: var(--sea); font-weight: 700; line-height: 1.2; }
.stat-bar .v small { font-size: 15px; color: var(--muted); margin-left: 4px; font-family: var(--sans); font-weight: 400; }
.stat-bar .k { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .stat-bar { grid-template-columns: repeat(2, 1fr); } .stat-bar > div:nth-child(3) { border-left: 0; } .stat-bar > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--sea-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-x { list-style: none; padding: 0; margin: 0; }
.list-x li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.list-x li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23b5443a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- 提示框 / 标签 ---------- */
.note { border-left: 4px solid var(--sea); background: var(--sea-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 15px; }
.note.warn { border-color: var(--warn); background: var(--warn-soft); }
.note.bad { border-color: var(--bad); background: var(--bad-soft); }
.note strong { color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--sand-2); color: var(--ink-2); white-space: nowrap; }
.badge.sea { background: var(--sea-soft); color: var(--sea); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.coral { background: var(--coral-soft); color: var(--coral); }
.demo-flag { display: inline-block; font-size: 12px; color: var(--warn); border: 1px dashed var(--warn); border-radius: 6px; padding: 1px 8px; vertical-align: middle; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.steps.s5 { grid-template-columns: repeat(5, 1fr); }
.steps.s4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 700; margin-bottom: 12px; font-family: var(--serif); }
.step h4 { margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.step.hl { border-color: var(--coral); background: var(--coral-soft); }
.step.hl::before { background: var(--coral); }
@media (max-width: 1000px) { .steps, .steps.s5, .steps.s4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps, .steps.s5, .steps.s4 { grid-template-columns: 1fr; } }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: var(--sand-2); font-weight: 600; color: var(--ink-2); white-space: nowrap; position: sticky; top: 0; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fcfaf6; }
.table.nowrap td { white-space: nowrap; }
.table td.r, .table th.r { text-align: right; }
.table td.c, .table th.c { text-align: center; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.input:focus { outline: 2px solid var(--sea-2); outline-offset: 1px; border-color: transparent; }
input[type=range] { width: 100%; accent-color: var(--sea); }
input[type=checkbox] { accent-color: var(--sea); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.filters .field { margin: 0; flex: 1 1 160px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 8px; }
.check input { margin-top: 5px; }

/* ---------- 房源卡 ---------- */
.listing { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.listing .ph { position: relative; aspect-ratio: 16 / 10; background: var(--sand-2); overflow: hidden; }
.listing .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing .ph .badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.listing .ph .badge.sea { background: rgba(255,255,255,.94); }
.listing .ph .badge.season { left: auto; right: 12px; background: rgba(255,255,255,.94); }
.listing .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listing .title { font-weight: 700; font-size: 17px; }
.listing .meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.listing .price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.listing .price .p { font-family: var(--serif); font-size: 26px; color: var(--coral); font-weight: 700; }
.listing .price .ref { font-size: 12.5px; color: var(--muted); }
.listing .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }

/* ---------- 图片墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; cursor: zoom-in; background: var(--sand-2); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.gallery .w2 { grid-column: span 2; }
.gallery .h2 { grid-row: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

.lightbox { position: fixed; inset: 0; background: rgba(5, 15, 20, .92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 94vw; border-radius: 8px; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

/* ---------- 扫描件查看器 ---------- */
.viewer { position: fixed; inset: 0; z-index: 220; background: rgba(6, 16, 22, .97); display: none; flex-direction: column; color: #e8eef0; }
.viewer.open { display: flex; }
.vw-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.vw-title { flex: 1; min-width: 0; line-height: 1.45; }
.vw-title b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-sub { display: block; font-size: 13px; color: #9fb3ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.vw-btn { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 13px; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.vw-btn:hover { background: rgba(255,255,255,.18); }
.vw-close { font-size: 20px; line-height: 1.1; padding: 3px 12px; }
.vw-stage { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 16px 72px; overscroll-behavior: contain; }
.vw-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; background: #f3ecd8; box-shadow: 0 12px 40px rgba(0,0,0,.45); cursor: zoom-in; transition: opacity .2s; }
.vw-stage.loading img { opacity: .3; }
.vw-stage.zoomed { display: block; padding: 0; }
.vw-stage.zoomed img { max-width: none; max-height: none; margin: 0 auto; border-radius: 0; cursor: zoom-out; }
.vw-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.vw-nav:hover { background: rgba(255,255,255,.2); }
.vw-nav.prev { left: 14px; }
.vw-nav.next { right: 14px; }
.vw-nav[disabled] { opacity: .18; cursor: default; }
.vw-bottom { padding: 10px 16px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.vw-thumbs { display: flex; gap: 10px; justify-content: center; overflow-x: auto; }
.vw-thumbs:empty { display: none; }
.vw-thumbs button { flex: none; width: 116px; padding: 0; background: rgba(255,255,255,.04); border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; color: #cfdade; font: inherit; font-size: 12px; }
.vw-thumbs button img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vw-thumbs button span { display: block; padding: 3px 0 4px; }
.vw-thumbs button.active { border-color: #5fc0cc; color: #fff; }
.vw-note { text-align: center; font-size: 12px; color: #93a8af; margin-top: 8px; }
.vw-note:empty { display: none; }
@media (max-width: 640px) {
  .vw-stage { padding: 10px; }
  .vw-nav { display: none; }
  .vw-thumbs button { width: 92px; }
  .vw-top { padding: 8px 12px; align-items: flex-start; }
  .vw-title b { white-space: normal; font-size: 15px; }
  .vw-sub { white-space: normal; font-size: 12px; }
  .vw-btn { padding: 4px 10px; }
}

/* ---------- 房本扫描件 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cert-card { display: block; width: 100%; padding: 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.cert-card:hover { transform: translateY(-2px); border-color: var(--sea); }
.cert-card .ph { display: block; position: relative; aspect-ratio: 3 / 2; background: var(--sand-2); }
.cert-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.cert-card .ph .badge { position: absolute; top: 8px; right: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.cert-card .meta { display: block; padding: 10px 14px 12px; line-height: 1.5; }
.cert-card .meta b { display: block; font-size: 16px; }
.cert-card .meta span { display: block; font-size: 13px; color: var(--muted); }
.cert-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.cert-strip button { padding: 0; background: var(--sand); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; font: inherit; font-size: 12px; color: var(--ink-2); transition: border-color .15s; }
.cert-strip button:hover { border-color: var(--sea); }
.cert-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cert-strip span { display: block; padding: 4px 0 5px; }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .cert-card .meta { padding: 8px 10px 10px; } }

/* ---------- 住宿权益：间夜表与价格日历 ---------- */
.table.mini th, .table.mini td { padding: 6px 8px; font-size: 13.5px; white-space: nowrap; }
.modal .box:has(.table.mini) { max-width: 660px; }
.table.mini th { position: static; }
.rcal-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.rcal { border-collapse: separate; border-spacing: 2px; font-size: 10px; min-width: 900px; width: 100%; }
.rcal th { font-weight: 500; color: var(--muted); padding: 2px 0; text-align: center; font-size: 11px; }
.rcal th.m { text-align: right; padding-right: 8px; white-space: nowrap; font-size: 12px; }
.rcal td { height: 24px; min-width: 25px; text-align: center; border-radius: 4px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rcal td.off { background: #efede8; color: #c9c4b8; }
.rcal td.v100 { background: var(--sea-soft); }
.rcal td.v150 { background: #fbe8cc; }
.rcal td.v180, .rcal td.v200 { background: #f2bf8c; }
.rcal td.v300 { background: var(--coral); color: #fff; }
.rcal-legend { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.rcal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rcal-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.seg { display: inline-flex; background: var(--sand-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 999px; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg button.active { background: #fff; color: var(--sea); font-weight: 600; box-shadow: 0 1px 3px rgba(16,42,56,.12); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; background: rgba(10, 25, 32, .55); display: none; align-items: flex-start; justify-content: center; z-index: 150; padding: 6vh 16px; overflow-y: auto; }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.25); position: relative; }
.modal .close { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; }

.fee-box { background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.fee-box .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; }
.fee-box .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; }
.fee-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 10px 0 4px; }
.fee-bar .a { background: var(--sea); }
.fee-bar .b { background: var(--coral); }

/* ---------- 标签页 ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 10px 16px; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--sea); border-color: var(--sea); font-weight: 600; }

/* ---------- 对比块 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare > div { padding: 26px; }
.compare > div + div { border-left: 1px solid var(--line); }
.compare .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- 结构图 ---------- */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow .node { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; text-align: center; min-width: 280px; max-width: 520px; box-shadow: var(--shadow); }
.flow .node b { display: block; font-family: var(--serif); font-size: 17px; }
.flow .node span { font-size: 13.5px; color: var(--muted); }
.flow .node.key { border-color: var(--sea); background: var(--sea-soft); }
.flow .node.coral { border-color: var(--coral); background: var(--coral-soft); }
.flow .arrow { width: 2px; height: 26px; background: var(--line); position: relative; }
.flow .arrow::after { content: ""; position: absolute; bottom: -2px; left: -5px; border: 6px solid transparent; border-top-color: #cbbfa8; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b2029; color: #a9bcc1; padding: 56px 0 28px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 16px; }
.site-footer a { color: #cfe3e6; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 12.5px; color: #7f969c; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 工具 ---------- */
.mt0 { margin-top: 0; } .mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; } .mt4 { margin-top: 40px; }
.mb0 { margin-bottom: 0; } .mb1 { margin-bottom: 8px; } .mb2 { margin-bottom: 16px; } .mb3 { margin-bottom: 24px; }
.row-flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hidden { display: none !important; }
.round-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .25s; z-index: 300; pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.voucher { border: 2px dashed var(--sea); border-radius: 14px; padding: 18px; background: var(--sea-soft); }
.voucher .code { font-family: ui-monospace, Menlo, monospace; font-size: 20px; letter-spacing: .08em; color: var(--sea); font-weight: 700; }
