:root {
  --rose: #ff4d7a;
  --rose-deep: #d81b60;
  --rose-soft: #ffb3c9;
  --wine: #3d0f2b;
  --wine-mid: #6b2348;
  --cream: #fff9f6;
  --cream-dark: #fceee8;
  --peach: #ffd4c4;
  --gold: #e8a87c;
  --ink: #2b1522;
  --ink-mid: #5c3d4f;
  --ink-soft: #8a6b7a;
  --line: rgba(216, 27, 96, 0.14);
  --shadow: 0 18px 50px rgba(61, 15, 43, 0.1);
  --nav-h: 58px;
  --sticky-h: 0px;
  --r-xl: 22px;
  --r-lg: 14px;
  --r-md: 9px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Lexend", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--ink-mid);
  line-height: 1.9;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 77, 122, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 10%, rgba(232, 168, 124, 0.08), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 179, 201, 0.12), transparent 60%),
    linear-gradient(168deg, #fffdfb 0%, var(--cream) 40%, #fff5f0 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(216, 27, 96, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wine-mid);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(940px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
  box-shadow: 0 4px 24px rgba(61, 15, 43, 0.04);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--wine);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(255, 77, 122, 0.35);
}

.nav-desktop {
  display: none;
  list-style: none;
  gap: 4px;
}

.nav-desktop a {
  color: var(--ink-mid);
  font-size: 0.86rem;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: rgba(255, 77, 122, 0.12);
  color: var(--rose-deep);
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  background: linear-gradient(118deg, var(--rose), var(--rose-deep));
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.28);
  flex-shrink: 0;
}

.btn-dl:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  list-style: none;
  background: rgba(255, 253, 251, 0.98);
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  color: var(--ink-mid);
  padding: 10px 0;
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(61, 15, 43, 0.05);
}

main {
  padding-top: calc(var(--nav-h) + 14px);
  padding-bottom: 44px;
  position: relative;
  z-index: 1;
}

body.sticky-on main {
  padding-top: calc(var(--nav-h) + var(--sticky-h) + 14px);
}

.ads-zone {
  margin-bottom: 18px;
}

#ads,
.sticky-dl-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background: transparent;
  margin: 8px 0;
  gap: 4px;
}

#ads > div,
.sticky-dl-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12.5%;
  min-width: 68px;
  box-sizing: border-box;
}

#ads img,
.sticky-dl-inner img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(43, 21, 34, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: #fff;
}

#ads a,
.sticky-dl-inner a {
  display: inline-block;
  text-decoration: none;
  border-radius: 14px;
}

#ads img:hover,
.sticky-dl-inner img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 9px 22px rgba(43, 21, 34, 0.15);
}

#ads figcaption,
#ads .caption,
.sticky-dl-inner figcaption,
.sticky-dl-inner .caption {
  height: 15px;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.sticky-dl {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 253, 251, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 5px 8px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-dl.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-dl.menu-hide {
  display: none;
}

@media (max-width: 768px) {
  #ads > div,
  .sticky-dl-inner > div {
    width: 25%;
  }

  #ads img,
  .sticky-dl-inner img {
    width: 50px;
    height: 50px;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.breadcrumb a {
  color: var(--rose-deep);
}

.breadcrumb span.sep {
  opacity: 0.35;
}

.banner-hero {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-mid) 48%, #8b2e5c 100%);
  border-radius: var(--r-xl);
  padding: 34px 26px 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.banner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 179, 201, 0.22), transparent 50%);
  pointer-events: none;
}

.banner-hero .eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--peach);
  margin-bottom: 11px;
  font-weight: 600;
}

.banner-hero h1 {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.45rem, 5vw, 1.95rem);
  line-height: 1.38;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}

.banner-hero .intro {
  font-size: 0.94rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}

.hero-actions a {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-actions .main-btn {
  background: linear-gradient(118deg, var(--rose), #ff8fab);
  color: #fff !important;
  box-shadow: 0 7px 22px rgba(255, 77, 122, 0.38);
}

.hero-actions .sub-btn {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff !important;
}

.sect {
  margin-bottom: 30px;
}

.sect h2 {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.18rem, 4vw, 1.5rem);
  color: var(--ink);
  margin-bottom: 13px;
  position: relative;
  padding-bottom: 8px;
}

.sect h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 2px;
}

.sect h3 {
  font-size: 1.02rem;
  color: var(--wine-mid);
  margin: 16px 0 9px;
}

.sect p {
  margin-bottom: 13px;
  text-align: justify;
}

.mod-plain {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px 20px;
  border: 1px solid var(--line);
}

.mod-cards {
  background: linear-gradient(160deg, #fff 0%, var(--cream-dark) 100%);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  border: 1px solid var(--line);
}

.mod-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 680px) {
  .mod-visual {
    grid-template-columns: 7fr 3fr;
  }

  .mod-visual.flip {
    grid-template-columns: 3fr 7fr;
  }

  .mod-visual.flip .visual-side {
    order: -1;
  }
}

.visual-side figure {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 77, 122, 0.18);
  box-shadow: 0 10px 36px rgba(61, 15, 43, 0.1);
  background: #fff;
}

.visual-side figcaption {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 7px 10px;
  background: var(--cream-dark);
}

.card-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}

@media (min-width: 560px) {
  .card-row.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-row.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.info-card .badge {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card h4 {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.info-card p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.72;
  text-align: left;
}

.mod-mix {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 22px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(61, 15, 43, 0.04);
}

.tip-bar {
  background: linear-gradient(120deg, rgba(255, 77, 122, 0.07), rgba(232, 168, 124, 0.08));
  border-left: 4px solid var(--rose);
  padding: 14px 16px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 14px 0;
}

.tip-bar p {
  margin: 0;
  font-size: 0.9rem;
}

.qa-item {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.qa-item:last-child {
  border-bottom: none;
}

.qa-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.qa-item p {
  font-size: 0.86rem;
  margin: 0;
}

.site-footer {
  background: linear-gradient(175deg, var(--wine), #2a0818);
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0 26px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

@media (min-width: 580px) {
  .footer-cols {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 7px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.footer-menu a:hover {
  color: var(--rose-soft);
}

.footer-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-top {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px 20px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}

.page-top h1 {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  color: var(--ink);
  margin-bottom: 9px;
}

.page-top p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.legal-block {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 20px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.legal-block h2 {
  font-size: 1.06rem;
  color: var(--wine-mid);
  margin-bottom: 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.legal-block p,
.legal-block li {
  font-size: 0.88rem;
  margin-bottom: 9px;
}

.legal-block ul,
.legal-block ol {
  padding-left: 18px;
  margin-bottom: 10px;
}

.err-wrap {
  text-align: center;
  padding: 44px 18px;
}

.err-num {
  font-size: 4.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.err-wrap h1 {
  font-family: "ZCOOL XiaoWei", serif;
  color: var(--ink);
  margin-bottom: 10px;
}

.err-wrap p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}
