/* =========================================================
   女神漫画 · leels.cn（玫瑰白 / 杂志封面风）
   ========================================================= */

:root {
  --paper: #fffaf7;
  --paper-2: #fff3f1;
  --white: #ffffff;
  --ink: #2b1a20;
  --ink-soft: #4a3138;
  --muted: #7d6469;
  --line: rgba(43, 26, 32, .1);
  --line-2: rgba(43, 26, 32, .18);
  --rose: #e4567a;
  --rose-deep: #c13a60;
  --rose-soft: #ffe6ec;
  --gold: #c9a227;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
          system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rose); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 8px; }

.shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 26px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: 10px 18px; background: var(--ink); color: #fff;
  border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- 顶部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 247, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { border-radius: 12px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-size: 17.5px; font-weight: 800; letter-spacing: .04em; }
.brand-txt em {
  font-style: normal; font-size: 8px; letter-spacing: .2em;
  color: var(--muted); font-weight: 600; margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 42px;
  padding: 0 13px; border-radius: 9px; font-size: 14.5px;
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--rose-deep); background: var(--rose-soft); }

.btn-top {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 50px; padding: 11px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #ef6d8e 0%, var(--rose) 55%, var(--rose-deep) 100%);
  color: #fff; font-size: 16.5px; font-weight: 800; letter-spacing: .05em;
  box-shadow: 0 16px 30px -16px rgba(193, 58, 96, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .2s, box-shadow .25s; white-space: nowrap;
}
.btn-top:hover, .btn-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px -18px rgba(193, 58, 96, .85), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.burger { display: none; }
.burger span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero：居中刊头 ---------- */
.hero {
  position: relative;
  padding: 54px 0 60px;
  text-align: center;
  background:
    radial-gradient(720px 420px at 50% -10%, rgba(228, 86, 122, .13), transparent 66%),
    linear-gradient(180deg, #fff8f6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.masthead {
  font-size: 11px; letter-spacing: .34em; font-weight: 700;
  color: var(--rose-deep);
}
.hero h1 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.06;
  letter-spacing: .06em;
  font-weight: 700;
}
.hero-sub {
  margin-top: 10px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.hero-sub::before, .hero-sub::after {
  content: "—"; margin: 0 12px; color: var(--rose); font-weight: 400;
}
.lede {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 15px;
  color: var(--muted);
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 26px; padding: 15px 22px 15px 26px; min-width: 344px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef6d8e 0%, var(--rose) 55%, var(--rose-deep) 100%);
  color: #fff; text-align: left;
  box-shadow: 0 26px 46px -22px rgba(193, 58, 96, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .2s, box-shadow .25s;
}
.btn-hero:hover, .btn-hero:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 32px 54px -24px rgba(193, 58, 96, .9), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.bh-txt { display: flex; flex-direction: column; line-height: 1.24; }
.bh-txt strong { font-size: 19px; font-weight: 800; letter-spacing: .08em; }
.bh-txt em { font-style: normal; font-size: 11.5px; font-weight: 500; opacity: .88; margin-top: 4px; }
.bh-arrow { margin-left: auto; font-size: 20px; opacity: .92; }
.hero-alt { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.hero-alt a { color: var(--rose-deep); border-bottom: 1px solid rgba(193, 58, 96, .35); }

/* 封面扇形 */
.fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
  height: 300px;
}
.fan-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 54px -30px rgba(90, 30, 50, .5);
  border: 5px solid #fff;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fc-l { width: 168px; height: 240px; transform: rotate(-8deg) translateX(26px); z-index: 1; }
.fc-c { width: 196px; height: 280px; z-index: 3; }
.fc-r { width: 168px; height: 240px; transform: rotate(8deg) translateX(-26px); z-index: 2; }
.fan-badge {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  z-index: 4;
}
.stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0; margin-top: 34px;
}
.stats li { padding: 0 30px; border-right: 1px solid var(--line-2); line-height: 1.35; text-align: center; }
.stats li:last-child { border-right: 0; }
.stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.stats span { font-size: 12px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 68px 0; }
.section-rose {
  background: linear-gradient(180deg, #fff2f4 0%, #fff9f8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .22em;
  color: var(--rose-deep);
}
.sec-head h2 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: .06em;
}
.sec-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* 严选 */
.pick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 18px; }
.pick { min-width: 0; }
.pick img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 10px; background: var(--rose-soft);
  box-shadow: 0 16px 30px -22px rgba(90, 30, 50, .5);
  transition: transform .25s, box-shadow .25s;
}
.pick:hover img { transform: translateY(-4px); box-shadow: 0 24px 38px -22px rgba(90, 30, 50, .55); }
.pk { padding-top: 10px; }
.pk-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--rose-deep);
  background: var(--rose-soft);
  padding: 1px 8px; border-radius: 4px;
}
.pk h3 { margin-top: 6px; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 读者说 */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.review {
  padding: 22px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  border-radius: 4px;
  box-shadow: 0 16px 34px -28px rgba(90, 30, 50, .45);
}
.rv-top { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 15px;
}
.av-a { background: linear-gradient(135deg, #f08ca6, #c13a60); }
.av-b { background: linear-gradient(135deg, #f0b06a, #c98a27); }
.av-c { background: linear-gradient(135deg, #9a8ee0, #6a5acd); }
.av-d { background: linear-gradient(135deg, #6fb6c9, #3f7f99); }
.rv-top strong { display: block; font-size: 14px; }
.stars { display: block; font-size: 11px; color: var(--gold); letter-spacing: .12em; line-height: 1.4; }
.rv-date { margin-left: auto; font-size: 11px; color: var(--muted); }
.review p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.rv-from { display: block; margin-top: 12px; font-size: 11px; color: var(--muted); }

.rate-bar {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
  margin-top: 22px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
}
.rate-score { text-align: center; flex: none; padding-right: 30px; border-right: 1px solid var(--line); }
.rate-score strong { display: block; font-size: 34px; font-weight: 800; color: var(--rose-deep); line-height: 1.1; }
.rate-score span { font-size: 11.5px; color: var(--muted); }
.rate-bars { flex: 1 1 320px; display: grid; gap: 8px; }
.rate-bars div { display: grid; grid-template-columns: 62px 1fr 30px; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.rate-bars i {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), #f4a1b4);
  width: var(--w);
  position: relative;
}
.rate-bars i::after {
  content: ""; position: absolute; inset: 0; right: 0;
  background: linear-gradient(90deg, transparent 70%, #fff 100%);
  opacity: .25; border-radius: 999px;
}
.rate-bars b { color: var(--ink); font-weight: 700; }
.rate-note { font-size: 11.5px; color: var(--muted); flex: none; }

/* 在线阅读 */
.read-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; align-items: start; }
.read-steps h3 { font-size: 18px; font-weight: 800; }
.read-steps ol { margin-top: 16px; display: grid; gap: 16px; }
.read-steps li { display: flex; gap: 14px; }
.read-steps li > span {
  flex: none; width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--rose-soft); color: var(--rose-deep);
  font-size: 12.5px; font-weight: 800;
}
.read-steps strong { font-size: 15px; }
.read-steps p { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.compare { display: grid; gap: 14px; }
.cmp-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cmp-card ul { margin-top: 12px; display: grid; gap: 7px; }
.cmp-card li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; color: var(--ink-soft);
}
.cmp-card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--rose);
}
.cmp-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  background: var(--rose-soft); color: var(--rose-deep);
}
.cmp-app { background: #fff7f8; border-color: rgba(193, 58, 96, .22); }
.cmp-app .cmp-tag { background: var(--rose); color: #fff; }
.btn-mini {
  display: inline-block; margin-top: 16px;
  padding: 9px 22px; border-radius: 999px;
  background: var(--rose); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 12px 22px -14px rgba(193, 58, 96, .9);
  transition: background .2s, transform .2s;
}
.btn-mini:hover { background: var(--rose-deep); transform: translateY(-1px); }

/* 体验 */
.feel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feel {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.feel h3 { font-size: 15.5px; font-weight: 800; }
.feel p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 17px 42px 17px 0;
  font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  color: var(--rose-deep); font-size: 15px;
}
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 42px 18px 0; font-size: 14px; color: var(--muted); }

/* 结尾 */
.final { padding: 0 0 64px; }
.final-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 38px 42px;
  border-radius: 10px;
  background:
    radial-gradient(420px 200px at 94% 0%, rgba(255, 255, 255, .16), transparent 68%),
    linear-gradient(130deg, #5c2036 0%, #a53054 58%, #e4567a 100%);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgba(92, 32, 54, .85);
}
.final-inner h2 { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 31px); font-weight: 700; letter-spacing: .04em; }
.final-inner p { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .76); }
.btn-final { margin-top: 0; background: #fff; color: var(--rose-deep); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .4); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 42px; background: #fff; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 12.5px; color: var(--muted); }
.f-brand { font-weight: 800; color: var(--ink-soft); font-size: 13px; }
.foot-row p:last-child { margin-left: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .nav a { padding: 0 10px; font-size: 14px; }
  .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 14px; right: 14px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: #fff;
    border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 24px 44px -28px rgba(90, 30, 50, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { min-height: 46px; padding: 0 14px; font-size: 15px; }
  .burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 42px; height: 42px; padding: 0;
    border: 1px solid var(--line-2); border-radius: 11px; background: #fff; cursor: pointer;
  }
  .header-row { min-height: 70px; gap: 12px; }
  .btn-top { min-height: 46px; padding: 10px 20px; font-size: 15.5px; }
  .hero { padding: 40px 0 48px; }
  .fan { height: 270px; margin-top: 34px; }
  .fc-l, .fc-r { width: 140px; height: 200px; }
  .fc-c { width: 164px; height: 234px; }
  .review-grid { grid-template-columns: 1fr; }
  .read-split { grid-template-columns: 1fr; gap: 26px; }
  .rate-bar { gap: 20px; }
  .rate-score { border-right: 0; padding-right: 0; text-align: left; }
  .final-inner { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .foot-row p:last-child { margin-left: 0; }
}

@media (max-width: 620px) {
  .shell { padding: 0 18px; }
  .brand img { width: 38px; height: 38px; }
  .brand-txt strong { font-size: 16px; }
  .btn-top { padding: 10px 16px; font-size: 15px; }
  .hero h1 { font-size: 48px; }
  .btn-hero { width: 100%; min-width: 0; }
  .stats li { padding: 0 16px; }
  .stats b { font-size: 17px; }
  .section { padding: 54px 0; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .feel-grid { grid-template-columns: 1fr; }
  .review { padding: 20px; }
  .rate-bars div { grid-template-columns: 52px 1fr 28px; gap: 8px; }
  .fan { height: 240px; }
  .fc-l, .fc-r { width: 118px; height: 170px; }
  .fc-c { width: 142px; height: 204px; }
  .fc-l { transform: rotate(-7deg) translateX(22px); }
  .fc-r { transform: rotate(7deg) translateX(-22px); }
  .final { padding-bottom: 52px; }
}
