/* 品茶楼 · 51pc.lat
   design tokens 提取自本地保存页面（品茶楼_files/style.FAmbGIZa.css 及首页/会员页内联类名）。
   全站浅色底，不写深色分支。 */

:root {
  --bg: #FDF7F9;
  --surface: #FFFFFF;
  --surface-2: #FFF0F6;
  --surface-3: #FDF2F8;
  --ink: #1F2937;
  --ink-2: #374151;
  --ink-3: #4B5563;
  --muted: #6B7280;
  --faint: #9CA3AF;
  --accent: #ED3891;
  --accent-deep: #C01B6C;
  --accent-fill: #D91C7C;
  --accent-fill-hover: #BE1369;
  --accent-hover: #D63281;
  --line: #F1E7EC;
  --line-2: #F7D3E4;
  --ok: #0F766E;
  --warn: #B45309;
  --r-card: 12px;
  --r-tile: 16px;
  --r-panel: 20px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(31, 41, 55, .04);
  --shadow-lift: 0 10px 24px rgba(237, 56, 145, .16);
  --container: 1152px;
  --head-h: 64px;
  --cta-space: 96px;
  --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: #FDF7F9;
  color: #1F2937;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  padding-bottom: calc(var(--cta-space) + 8px);
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0; overflow-wrap: anywhere; }
ul, ol { margin: 0; padding-left: 1.25em; }
li { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent-fill); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--head-h);
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px;
}
.head-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  color: var(--accent-deep); cursor: pointer;
}
.head-burger:hover { background: var(--surface-2); }

.brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-fill); color: #fff;
  border-radius: var(--r-pill); padding: 6px 15px 6px 6px;
  flex: none;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.brand-mark img { width: 24px; height: 24px; }
.brand-name { font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; }

.head-nav { display: none; align-items: center; gap: 22px; margin-left: 8px; }
.head-nav a {
  font-size: 15px; font-weight: 700; color: var(--ink-2);
  padding: 6px 0; position: relative; white-space: nowrap;
}
.head-nav a:hover { color: var(--accent); }
.head-nav a[aria-current="page"] { color: var(--accent); }
.head-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 60%; height: 3px; border-radius: 2px; background: var(--accent);
}

.head-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-search { display: none; position: relative; }
.head-search input {
  width: 220px; height: 36px; padding: 0 40px 0 14px;
  font-size: 14px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill);
}
.head-search input::placeholder { color: var(--faint); }
.head-search button {
  position: absolute; right: 3px; top: 3px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-fill); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}
.head-search button:hover { background: var(--accent-fill-hover); }
.search-out {
  position: absolute; left: 0; right: 0; top: 42px; z-index: 70;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 16px 34px rgba(31, 41, 55, .14); overflow: hidden;
}
.search-out[hidden] { display: none; }
.search-out a { display: block; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.search-out a:last-child { border-bottom: 0; }
.search-out a:hover { background: var(--surface-3); }
.search-out b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.search-out span { font-size: 12px; color: var(--muted); }
.search-out .search-none { padding: 10px 14px; font-size: 13px; color: var(--muted); }

.head-link {
  font-size: 14px; font-weight: 700; color: var(--accent-deep);
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 7px 14px; display: inline-flex; align-items: center; min-height: 38px;
  white-space: nowrap;
}
.head-link:hover { background: var(--surface-2); }

/* ---------- drawer ---------- */
.drawer-wrap[hidden] { display: none; }
.drawer-mask { position: fixed; inset: 0; background: rgba(31, 41, 55, .42); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(86vw, 340px); background: var(--surface);
  border-left: 1px solid var(--line); padding: 16px 18px 28px;
  overflow-y: auto; box-shadow: -14px 0 34px rgba(31, 41, 55, .16);
  animation: drawer-in .3s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.drawer-title { font-size: 15px; font-weight: 800; color: var(--muted); }
.drawer-close {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-3); border: 1px solid var(--line); border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-2);
}
.drawer-group { margin-bottom: 18px; }
.drawer-group h2 { font-size: 13px; font-weight: 800; color: var(--faint); margin-bottom: 8px; letter-spacing: .04em; }
.drawer-group a {
  display: flex; align-items: center; min-height: 44px;
  padding: 0 10px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--ink-2);
}
.drawer-group a:hover { background: var(--surface-2); color: var(--accent-deep); }

/* ---------- notice strip ---------- */
.notice {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 18px; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.notice-dot {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--surface-2); color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.notice p { font-size: 13px; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-panel); padding: 22px 18px 20px; margin-bottom: 18px;
}
.hero .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-deep);
  background: var(--surface-3); border-radius: var(--r-pill); padding: 4px 10px; margin-bottom: 10px;
}
.hero h1 { font-size: 26px; margin-bottom: 12px; }
.hero-lede { font-size: 16px; color: var(--ink-2); }
.hero-lede + .hero-lede { margin-top: 10px; }
.facts { display: grid; gap: 10px; margin-top: 18px; }
.fact {
  background: var(--surface-3); border-radius: var(--r-card); padding: 10px 12px;
}
.fact b { display: block; font-size: 13px; color: var(--accent-deep); font-weight: 800; margin-bottom: 2px; }
.fact span { font-size: 13px; color: var(--ink-3); }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 6px 2px; border-radius: var(--r-card); text-align: center;
}
.tile:hover { background: var(--surface-3); }
.tile-ico {
  width: 46px; height: 46px; border-radius: var(--r-tile);
  background: var(--surface-2); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1), background-color .15s linear;
}
.tile:hover .tile-ico { transform: translateY(-4px); background: #fff; box-shadow: 0 8px 18px rgba(237, 56, 145, .2); }
.tile-ico svg { width: 24px; height: 24px; display: block; }
.tile span { font-size: 12px; font-weight: 600; color: var(--ink-3); line-height: 1.35; }
.tile:hover span { color: var(--accent-deep); }

/* ---------- panels & sections ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-panel); padding: 18px; margin-bottom: 18px;
}
.sec { margin-bottom: 22px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.sec-head h2 { font-size: 20px; }
.sec-head p { font-size: 13px; color: var(--muted); }

/* ---------- city filter ---------- */
.city-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.city-row .row-label { font-size: 13px; font-weight: 800; color: var(--accent-deep); }
.city-btn {
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  border-radius: var(--r-pill); padding: 7px 14px; font-size: 14px; font-weight: 600;
  cursor: pointer; min-height: 38px;
}
.city-btn:hover { background: var(--surface-2); color: var(--accent-deep); }
.city-btn[aria-pressed="true"] {
  background: var(--accent-fill); border-color: var(--accent-fill); color: #fff;
}
.city-more {
  border: 1px dashed var(--line-2); background: #fff; color: var(--muted);
  border-radius: var(--r-pill); padding: 7px 14px; font-size: 14px; cursor: pointer; min-height: 38px;
}
[data-city-extra][hidden] { display: none; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
caption { caption-side: top; text-align: left; padding: 10px 14px 0; font-size: 13px; color: var(--muted); }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; font-size: 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface-3); font-size: 13px; font-weight: 800; color: var(--accent-deep); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr[hidden] { display: none; }
td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
td .pin { color: var(--accent-deep); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s linear, box-shadow .15s cubic-bezier(.4, 0, .2, 1), transform .15s cubic-bezier(.4, 0, .2, 1);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--faint); }
.card p { font-size: 14px; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-3); color: var(--accent-deep);
  font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 8px;
}
.tag-line { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- prose blocks ---------- */
.block { margin-bottom: 22px; }
.block h2 { margin-bottom: 10px; }
.block h3 { margin: 16px 0 6px; }
.block p { color: var(--ink-3); margin-bottom: 10px; }
.block ul, .block ol { color: var(--ink-3); margin: 0 0 10px; }
.block li { margin-bottom: 6px; }
.block li b { color: var(--ink); }
.note-box {
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-card);
  padding: 12px 14px; margin: 12px 0; font-size: 14px; color: var(--ink-2);
}
.answers { display: grid; gap: 10px; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.answer h3 { margin-bottom: 6px; font-size: 16px; }
.answer p { font-size: 14px; color: var(--ink-3); }
.answer p + p { margin-top: 8px; }

details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 12px 16px; margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "＋"; color: var(--accent); font-weight: 800; flex: none; }
details.faq[open] summary::after { content: "－"; }
details.faq p { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
details.faq p + p { margin-top: 8px; }

.go-list { display: grid; gap: 10px; }
.go-list a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 12px 14px;
}
.go-list a:hover { border-color: var(--line-2); background: var(--surface-3); }
.go-list b { display: block; font-size: 15px; color: var(--ink); }
.go-list span { font-size: 13px; color: var(--muted); }

.city-block { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.city-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.city-block h3 { display: flex; align-items: baseline; gap: 8px; }
.city-block h3 em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent-deep); background: var(--surface-3); border-radius: 6px; padding: 2px 7px; }
.city-block p { font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* ---------- vip tiled ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab[aria-selected="true"] { color: var(--accent-deep); border-bottom-color: var(--accent); }
.tabpanel[hidden] { display: none; }
.tabpanel { padding-top: 14px; }
.tiers { display: grid; gap: 14px; }
.tier {
  border: 2px solid var(--line); border-radius: 20px; background: #fff;
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.tier.best { border-color: var(--line-2); }
.tier h3 { font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tier .badge { font-size: 11px; font-weight: 800; color: var(--accent-deep); background: var(--surface-3); border-radius: 6px; padding: 3px 7px; }
.tier p { font-size: 14px; color: var(--ink-3); }
.tier .tier-note { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { margin-top: 26px; background: var(--surface); border-top: 1px solid var(--line); padding: 22px 0 26px; }
.foot-top { display: grid; gap: 16px; margin-bottom: 16px; }
.foot-brand-wrap { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand-wrap .brand-mark { background: var(--accent-fill); }
.foot-brand { font-size: 17px; color: var(--ink); font-weight: 800; }
.foot-brand:hover { color: var(--accent-deep); }
.foot-cols { display: grid; gap: 16px; }
.foot-col h2 { font-size: 13px; color: var(--faint); font-weight: 800; margin-bottom: 8px; letter-spacing: .04em; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-3); padding: 3px 0; }
.foot-col a:hover { color: var(--accent-deep); }
.foot-note { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.foot-copy { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- fixed xunfang CTA ---------- */
.site-cta {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 80;
  display: flex; align-items: center; justify-content: center;
  width: min(520px, calc(100% - 32px)); min-height: 56px; padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--accent-fill); color: #fff;
  font-size: 18px; font-weight: 800; letter-spacing: .01em; text-align: center;
  box-shadow: 0 10px 26px rgba(217, 28, 124, .34), 0 2px 6px rgba(31, 41, 55, .12);
  overflow: hidden;
  transition: background-color .15s linear;
}
.site-cta:hover, .site-cta:focus-visible { color: #fff; background: var(--accent-fill-hover); }
.site-cta:active { background: var(--accent-fill-hover); }
.site-cta > .cta-label { position: relative; z-index: 2; }
.site-cta::before {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: -30%; height: 130%;
  background: radial-gradient(60% 100% at 50% 118%, rgba(88, 4, 46, .30) 0%, rgba(88, 4, 46, .14) 44%, rgba(88, 4, 46, 0) 72%);
  opacity: 0; transform: scale(1); transform-origin: 50% 100%;
  animation: cta-seep 3.1s cubic-bezier(.2, .7, .3, 1) infinite;
  z-index: 0; pointer-events: none;
}
.site-cta::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 10px; height: 2px;
  background: rgba(255, 255, 255, .78); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: cta-cuprule 3.1s cubic-bezier(.2, .7, .3, 1) infinite;
  z-index: 1; pointer-events: none;
}
@keyframes cta-seep {
  0%, 46% { opacity: 0; transform: scale(1); }
  62% { opacity: 1; transform: scale(1.03); }
  88%, 100% { opacity: 0; transform: scale(1.09); }
}
@keyframes cta-cuprule {
  0%, 58% { transform: scaleX(0); opacity: 0; }
  66% { opacity: 1; }
  80% { transform: scaleX(1); }
  90%, 100% { transform: scaleX(1); opacity: 0; }
}

/* ---------- top progress ---------- */
.nav-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, #ED3891, #F269AF, #ED3891);
  background-size: 200% 100%; animation: nav-progress .9s ease-in-out infinite;
}
.nav-progress[hidden] { display: none; }
@keyframes nav-progress {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ---------- utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.narrow { max-width: 780px; }

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  body { padding-bottom: calc(var(--cta-space) + 12px); }
  h1 { font-size: 34px; }
  .hero { padding: 30px 28px 26px; }
  .hero h1 { font-size: 32px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }
  .tile-ico { width: 54px; height: 54px; }
  .tile span { font-size: 13px; }
  .panel { padding: 22px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .go-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  .head-burger { display: none; }
  .head-nav { display: flex; }
  .head-search { display: block; }
  .head-search input { width: 240px; }
  .wrap { padding: 0 24px; }
  .head-inner { padding: 0 24px; }
  .hero { padding: 34px 32px 30px; }
  .hero h1 { font-size: 36px; }
  .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .go-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- mobile CTA anchors + safe area ---------- */
@media (max-width: 767px) {
  .site-cta {
    left: 14px; right: 14px; bottom: 12px; transform: none;
    width: auto; font-size: 16px; min-height: 56px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .site-cta::before { animation: none; opacity: .16; transform: scale(1); }
  .site-cta::after { animation: none; transform: scaleX(1); opacity: .62; }
  .tile:hover .tile-ico { transform: none; }
  .card:hover { transform: none; }
  .drawer { animation: none; }
  .nav-progress { animation: none; }
}
