@charset "utf-8";


/* ==========================================================================
   来探花 · 站点样式
   浅色底方案；PC / 平板 / 移动三套布局状态
   ========================================================================== */

:root {
  --ground: #fdfafb;
  --surface: #ffffff;
  --soft: #f7f7fb;

  --brand: #f66686;
  --brand-strong: #d8126a;
  --brand-lift: #ff3b8a;
  --brand-tint: #ffe9f1;
  --brand-line: rgba(246, 102, 134, 0.28);

  --ink: #333333;
  --ink-strong: #241f26;
  --ink-soft: #6b656e;
  --ink-faint: #8a848d;
  --line: rgba(15, 6, 46, 0.08);
  --line-strong: rgba(15, 6, 46, 0.14);
  --ok: #2b9c8a;

  --r-pill: 999px;
  --r-card: 18px;
  --r-photo: 14px;
  --r-sm: 10px;

  --sh-card: 0 16px 35px rgba(15, 6, 46, 0.06);
  --sh-card-hover: 0 22px 45px rgba(15, 6, 46, 0.12);
  --sh-bar: 0 8px 20px rgba(177, 171, 173, 0.14);
  --sh-up: 0 -8px 20px rgba(177, 171, 173, 0.14);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --container: 1200px;
  --cta-h: 58px;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--cta-h) + 34px);
}

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  overflow-wrap: break-word;
}

h1 {
  font-size: 28px;
  line-height: 1.32;
  font-weight: 700;
  margin: 0 0 12px;
}

h2 {
  font-size: 21px;
  line-height: 1.34;
  font-weight: 700;
  margin: 0 0 10px;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

ul.plain,
ol.plain {
  list-style: none;
  padding-left: 0;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong {
  font-weight: 600;
  color: var(--ink-strong);
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink-strong);
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
}

.skip:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部导航 ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-bar);
}

.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 62px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-toggle i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-strong);
  position: relative;
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink-strong);
}

.nav-toggle i::before {
  top: -6px;
}

.nav-toggle i::after {
  top: 6px;
}

.site-menu {
  display: none;
  flex: 1 1 100%;
  order: 5;
}

.site-menu.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.main-nav a {
  display: block;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 15px;
  border-radius: var(--r-sm);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--brand-tint);
  color: var(--brand-strong);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--brand-strong);
  font-weight: 600;
}

.search {
  position: relative;
  margin-top: 8px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 6px 0 14px;
}

.search-row:focus-within {
  border-color: var(--brand-line);
  background: #fff;
}

.search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 11px 0;
  color: var(--ink);
}

.search input:focus {
  outline: none;
}

.search button {
  flex: 0 0 auto;
  border: 0;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  min-height: 36px;
  cursor: pointer;
}

.search button:hover {
  background: var(--brand-strong);
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  max-height: 300px;
  overflow-y: auto;
  z-index: 60;
  padding: 6px;
  margin: 0;
  list-style: none;
}

.search-panel[hidden] {
  display: none;
}

.search-panel li {
  margin: 0;
}

.search-panel a,
.search-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 11px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.search-panel a:hover,
.search-panel button:hover,
.search-panel .is-active {
  background: var(--brand-tint);
  color: var(--brand-strong);
  text-decoration: none;
}

.search-empty {
  padding: 10px 11px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-lift), var(--brand-strong));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.auth-btn:hover,
.auth-btn:focus-visible {
  color: #fff;
  text-decoration: none;
}

.search-noscript {
  display: none;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .site-menu {
    display: flex !important;
    flex: 1 1 auto;
    order: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 18px;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .main-nav a {
    padding: 9px 8px;
  }

  .search {
    margin-top: 0;
    flex: 0 1 210px;
  }

  .auth-btn {
    margin-top: 0;
    padding: 9px 16px;
    min-height: 40px;
  }
}

@media (min-width: 1200px) {
  .main-nav a {
    padding: 9px 11px;
  }

  .search {
    flex: 0 1 260px;
  }
}

/* ---------- 通知条 ---------- */

.notice-bar {
  padding-top: 14px;
}

.notice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 12px;
}

.notice-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.notice-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.notice-marquee {
  display: inline-block;
  white-space: nowrap;
  font-size: 14px;
  color: var(--ink-soft);
  animation: notice-run 32s linear infinite;
}

.notice-marquee span + span::before {
  content: "·";
  padding: 0 10px;
  color: var(--brand-line);
}

.notice-box:hover .notice-marquee,
.notice-box:focus-within .notice-marquee {
  animation-play-state: paused;
}

@keyframes notice-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.notice-join {
  flex: 0 0 auto;
  background: var(--brand-tint);
  color: var(--brand-strong);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: 13px;
  white-space: nowrap;
}

.notice-join:hover,
.notice-join:focus-visible {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

/* ---------- 页头与正文骨架 ---------- */

main {
  display: block;
  padding-bottom: 28px;
}

.lede {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-tint);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.crumbs {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 14px 0 0;
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.crumbs li {
  margin: 0;
}

.crumbs li + li::before {
  content: "/";
  padding-right: 8px;
  color: var(--ink-faint);
}

.page-head {
  padding: 20px 0 8px;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.meta-strip li {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.meta-strip b {
  color: var(--ink-strong);
  font-weight: 600;
}

.card-panel {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 20px 18px;
}

.block {
  margin-top: 20px;
}

.block > h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.block > h2 .sub,
.region-group h2 .sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}

.link-pill .sub,
.anchor-list a .sub {
  font-size: 12px;
  color: var(--ink-faint);
  margin-left: 6px;
}

.grid-foot b {
  color: var(--ink-strong);
  font-family: var(--font-mono);
  font-weight: 700;
}

.block > h2 .ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.section-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: -4px 0 12px;
}

/* ---------- 省份胶囊 ---------- */

.region-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.region-head img {
  width: 15px;
  height: 23px;
  flex: 0 0 auto;
}

.region-head h2 {
  margin: 0;
}

.region-head .sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  font-size: 14px;
  background: var(--soft);
  color: #4f4a54;
  border: 1px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease,
    border-color 0.16s ease;
}

.region-badge:hover,
.region-badge:focus-visible {
  background: var(--brand-tint);
  border-color: var(--brand-line);
  color: var(--brand-strong);
  transform: translateY(-1px);
  text-decoration: none;
}

.region-badge[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------- 筛选 chip ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.chip-row .label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-right: 2px;
}

.chip {
  font: inherit;
  font-size: 13px;
  min-height: 32px;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.chip:hover {
  border-color: var(--brand-line);
  color: var(--brand-strong);
}

.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ---------- 卡片网格 ---------- */

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.city-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  min-height: 138px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.city-card:hover,
.city-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--sh-card-hover);
  text-decoration: none;
  color: var(--ink);
}

.city-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.city-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.city-card:hover figure img,
.city-card:focus-visible figure img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  background: linear-gradient(135deg, var(--brand-lift), var(--brand-strong));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.card-pin {
  position: absolute;
  left: 7px;
  bottom: 7px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.city-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 13px;
  min-width: 0;
}

.city-card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.city-card-meta {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.card-more {
  margin-top: auto;
  font-size: 13px;
  color: var(--brand-strong);
  font-weight: 600;
}

.grid-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  font-size: 14px;
}

@media (min-width: 576px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .city-card {
    grid-template-columns: 44% minmax(0, 1fr);
  }
}

@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 流程 ---------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.step {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 16px;
}

.step-visual {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-strong);
  line-height: 1;
}

.step-visual img {
  max-height: 96px;
  width: auto;
}

.step h3 {
  font-size: 16px;
}

.step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 576px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step {
    position: relative;
  }

  .step + .step::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: var(--line-strong);
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.faq summary .q {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq summary .mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.2;
  color: var(--brand-strong);
}

.faq[open] summary .mark::before {
  content: "−";
}

.faq:not([open]) summary .mark::before {
  content: "+";
}

.faq .answer {
  padding: 0 16px 16px 58px;
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 表格 ---------- */

.table-scroll {
  overflow-x: auto;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--sh-card);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15px;
}

caption {
  text-align: left;
  padding: 14px 16px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

th,
td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

thead th {
  background: var(--soft);
  color: var(--ink-strong);
  font-weight: 600;
  white-space: nowrap;
  font-size: 14px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 条目列表 ---------- */

.fact-list {
  display: grid;
  gap: 12px;
}

.fact {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 15px 16px;
}

.fact h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.fact p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.fact .kv {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}

.rank-list {
  counter-reset: rank;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.rank-list li {
  counter-increment: rank;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 14px 16px 14px 54px;
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.rank-list li::before {
  content: counter(rank, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
}

.rank-list b {
  display: block;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

/* ---------- 双栏工具页 ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.aside-card {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 18px;
}

.aside-card h2 {
  font-size: 17px;
}

.aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.aside-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.aside-card li:last-child {
  border-bottom: 0;
}

.anchor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.anchor-list li {
  margin: 0;
}

.anchor-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
}

.anchor-list a:hover,
.anchor-list a:focus-visible {
  background: var(--brand-tint);
  color: var(--brand-strong);
  text-decoration: none;
}

.field-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.field-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

dl {
  margin: 0;
}

@media (min-width: 992px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
  }

  .split.wide-aside {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .aside-card {
    position: sticky;
    top: 86px;
  }
}

/* ---------- 封面墙 ---------- */

.clip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clip-grid li {
  margin: 0;
}

.clip-grid figure {
  margin: 0;
}

.clip-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-photo);
  background: var(--soft);
}

.clip-grid figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 6px;
}

@media (min-width: 768px) {
  .clip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .clip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- 内链组 ---------- */

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 38px;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.link-pill:hover,
.link-pill:focus-visible {
  border-color: var(--brand-line);
  color: var(--brand-strong);
  text-decoration: none;
}

/* ---------- footer ---------- */

.foot {
  margin-top: 30px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: var(--sh-up);
  padding: 26px 0 30px;
  font-size: 14px;
  color: var(--ink-soft);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.foot .brand img {
  height: 34px;
}

.foot-brand {
  display: inline-block;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: 0.02em;
}

.foot-brand:hover,
.foot-brand:focus-visible {
  color: var(--brand-strong);
  text-decoration: none;
}

.foot p {
  font-size: 14px;
  line-height: 1.7;
  margin: 10px 0 0;
}

.foot h2 {
  font-size: 15px;
  margin: 0 0 10px;
}

.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot li {
  margin-bottom: 8px;
}

.foot a {
  color: var(--ink-soft);
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--brand-strong);
}

.foot-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--ink-faint);
}

@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
  }
}

/* ---------- 首页年龄提示 ---------- */

.age-note {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(36, 31, 38, 0.42);
}

.age-note[hidden] {
  display: none;
}

.age-note-box {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: 0 18px 50px rgba(15, 6, 46, 0.22);
  padding: 22px 20px 18px;
  text-align: center;
}

.age-note-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.age-note-box p {
  font-size: 15px;
  color: var(--ink-soft);
}

.age-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-lift), var(--brand-strong));
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  text-decoration: none;
}

/* ---------- 固定寻芳 CTA ---------- */

.site-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(520px, calc(100vw - 32px));
  height: var(--cta-h);
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-lift), var(--brand-strong));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(216, 18, 106, 0.28);
  text-align: center;
}

.site-cta:hover,
.site-cta:focus-visible {
  color: #fff;
  text-decoration: none;
}

.site-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.site-cta-text {
  display: block;
  min-width: 0;
}

.site-cta-mark {
  flex: 0 0 auto;
  position: relative;
  width: 20px;
  height: 20px;
  animation: cta-mark-breath 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta-mark i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.28;
  animation: cta-petal-light 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta-mark i:nth-child(1) {
  left: 6px;
  top: 0;
}

.site-cta-mark i:nth-child(2) {
  right: 0;
  top: 6px;
  animation-delay: 0.1s;
}

.site-cta-mark i:nth-child(3) {
  left: 6px;
  bottom: 0;
  animation-delay: 0.2s;
}

.site-cta-mark i:nth-child(4) {
  left: 0;
  top: 6px;
  animation-delay: 0.3s;
}

.site-cta-mark i:nth-child(5) {
  left: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  animation-delay: 0.4s;
}

@keyframes cta-petal-light {
  0% {
    opacity: 0.28;
  }
  14% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.28;
  }
}

@keyframes cta-mark-breath {
  0%,
  26% {
    transform: scale(0.97);
  }
  40%,
  100% {
    transform: scale(1);
  }
}

@media (max-width: 575px) {
  .site-cta {
    left: 14px;
    right: 14px;
    width: auto;
    transform: none;
    height: 54px;
    font-size: 16px;
    padding: 0 14px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .notice-marquee {
    white-space: normal;
    animation: none;
  }

  .site-cta-mark,
  .site-cta-mark i {
    animation: none;
    opacity: 1;
  }

  .site-cta-mark {
    transform: scale(1);
  }
}

@media (max-width: 575px) {
  body {
    padding-bottom: calc(54px + 30px);
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 19px;
  }

  .wrap {
    padding: 0 12px;
  }

  .card-panel {
    padding: 16px 14px;
  }

  .faq .answer {
    padding-left: 16px;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}
