/* 糖心视频 / 清晰可维护的响应式样式表 */
:root {
  --ink: #292535;
  --muted: #756d7a;
  --pink: #e74782;
  --pink-dark: #b92b66;
  --paper: #fffafc;
  --line: #efe5ec;
  --radius: 20px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.68; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; padding: 12px; background: white; z-index: 30; }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(255, 255, 255, .98); border-bottom: 1px solid #f1e7ed; position: relative; z-index: 10; }
.topbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-icon { width: 49px; height: 49px; display: grid; place-items: center; color: #fff; font-size: 29px; border-radius: 16px; background: linear-gradient(135deg, #ff89ac, #ce2867); box-shadow: 0 7px 20px #ed629237; transform: rotate(-8deg); }
.brand strong { font-size: 25px; color: #bf2d65; letter-spacing: 1px; display: block; line-height: 1.3; }
.brand small { color: #9d8794; font-size: 11px; letter-spacing: 2px; }
.site-nav { display: flex; gap: 5px; align-items: center; }
.site-nav a { border-radius: 100px; padding: 10px 18px; font-size: 14px; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #fae5ed; color: #be2f68; }
.menu-toggle { display: none; border: 1px solid #eddce5; background: white; color: #a52c61; padding: 8px 13px; border-radius: 12px; }
.hero { min-height: 515px; overflow: hidden; position: relative; background: #391e3b; color: #fff; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 13, 39, .84), rgba(37, 18, 46, .54) 42%, rgba(35, 9, 26, .06) 82%), url('/assets/images/hero.webp') 55% center / cover no-repeat; }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 515px; }
.hero-copy { width: min(680px, 100%); padding: 45px 0 78px; }
.eyebrow, .section-overline { text-transform: uppercase; font-weight: 750; letter-spacing: 2.5px; font-size: 12px; color: #df4782; }
.hero .eyebrow { color: #ffd8e6; }
.hero h1 { margin: 13px 0 18px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.24; letter-spacing: 1px; }
.hero h1 em { color: #ffb9d0; font-style: normal; font-weight: 600; }
.hero p { font-size: 17px; color: #fff0f6; max-width: 550px; line-height: 1.9; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 100px; font-weight: 700; font-size: 14px; }
.btn.primary { color: white; background: linear-gradient(110deg, #f25b92, #c82d68); box-shadow: 0 8px 24px rgba(192, 47, 108, .22); }
.btn.secondary { border: 1px solid #ffffffa8; color: white; background: #ffffff1c; }
.btn:hover { filter: brightness(1.05); }
.topic-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; margin-top: -39px; z-index: 1; }
.topic-strip a { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: center; background: white; box-shadow: 0 12px 30px #5f2b4d13; border: 1px solid #f3e7ee; border-radius: 18px; padding: 17px 20px; }
.topic-symbol { grid-row: span 2; color: #df4480; background: #fde9f0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 25px; }
.topic-strip strong { font-size: 15px; line-height: 1.4; }
.topic-strip small { color: #8f7c89; font-size: 12px; }
.section { padding-top: 85px; padding-bottom: 75px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2, .editorial-band h2 { font-size: clamp(27px, 3vw, 39px); letter-spacing: -1px; line-height: 1.35; margin: 7px 0 7px; }
.section-heading p { color: var(--muted); margin: 0; font-size: 14px; }
.more { font-size: 14px; font-weight: 750; color: #ca3770; white-space: nowrap; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 27px #67314b0b; }
.card-image { display: block; aspect-ratio: 3 / 2; position: relative; overflow: hidden; background: #e9dae3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card-image:hover img { transform: scale(1.035); }
.image-label { position: absolute; bottom: 14px; left: 14px; padding: 3px 12px; background: #fffdf1e8; color: #a82961; font-size: 12px; font-weight: 750; border-radius: 100px; }
.card-content { padding: 19px 20px 22px; }
.card-content h3 { margin: 0 0 9px; line-height: 1.55; font-size: 18px; }
.card-content p { margin: 0 0 13px; color: var(--muted); font-size: 13px; min-height: 45px; }
.text-link { color: #d13370; font-size: 13px; font-weight: 750; }
.editorial-band { background: linear-gradient(130deg, #fce4ed 0%, #f6f0fa 62%, #fff6fa 100%); padding: 75px 0; }
.editorial-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.editorial-grid > div > p { max-width: 410px; font-size: 15px; line-height: 2; color: #716775; }
.method-cards { display: grid; gap: 13px; }
.method-cards article { background: #ffffffdf; border: 1px solid #fff; border-radius: 17px; padding: 18px 23px; }
.method-cards span { font-size: 11px; color: #cd4179; font-weight: 700; letter-spacing: 2px; }
.method-cards h3 { margin: 2px 0; font-size: 19px; }
.method-cards p { margin: 0; font-size: 13px; color: var(--muted); }
.reading-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.reading-list article { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 19px; }
.reading-index { font-size: 29px; color: #eeb5cd; font-weight: 800; }
.reading-list article div { flex: 1; }
.reading-category { color: #cb427a; font-size: 11px; }
.reading-list h3 { margin: 0; font-size: 16px; line-height: 1.6; }
.reading-list p { font-size: 12px; color: var(--muted); margin: 5px 0 0; }
.round-arrow { border-radius: 50%; background: #f9e3ec; color: #c13b75; width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; }
.closing-block { background: #45253d; color: white; margin-bottom: 75px; border-radius: 24px; padding: 38px 48px; }
.closing-block .section-overline { color: #ffb9d0; }
.closing-block h2 { font-size: 27px; margin: 4px 0 12px; }
.closing-block p { color: #f4dce8; max-width: 950px; line-height: 1.95; }
.closing-block .text-link { color: #ffc5dc; }
.site-footer { background: #261c2a; color: #d8c8d1; padding: 43px 0 20px; }
.footer-content { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { color: #fff; font-size: 24px; }
.footer-content p { margin: 5px 0; font-size: 13px; }
.footer-content nav { display: flex; gap: 17px; flex-wrap: wrap; font-size: 13px; }
.footer-content a:hover { color: #ffbbd3; }
.copyright { font-size: 12px; color: #a995a4; border-top: 1px solid #463a47; padding-top: 18px; margin-top: 28px; }
.page-intro { padding-top: 65px; padding-bottom: 35px; }
.breadcrumbs { color: #a28d9a; font-size: 12px; margin-bottom: 23px; }
.breadcrumbs a { color: #c83c78; }
.page-intro h1, .story-main h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.35; margin: 8px 0 13px; }
.page-intro p { color: var(--muted); max-width: 760px; }
.inner-section { padding-top: 16px; }
.inner-section > h2 { font-size: 22px; }
.topic-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 90px; }
.topic-body section { background: white; border: 1px solid var(--line); padding: 27px; border-radius: 19px; scroll-margin-top: 25px; }
.topic-body h2 { margin-top: 0; font-size: 22px; }
.topic-body p { color: var(--muted); }
.topic-body a, .prose a { color: #c63472; text-decoration: underline; text-underline-offset: 3px; }
.prose { font-size: 16px; line-height: 2; color: #564e5a; }
.prose h2 { color: var(--ink); font-size: 24px; margin-top: 37px; margin-bottom: 10px; }
.prose p { margin: 12px 0 16px; }
.about-prose { max-width: 850px; padding-bottom: 85px; }
.story-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(220px, 1fr); gap: 52px; padding-top: 52px; padding-bottom: 90px; }
.story-lead { color: var(--muted); font-size: 18px; }
.story-image { margin: 32px 0; }
.story-image img { width: 100%; border-radius: 21px; }
.story-image figcaption { font-size: 12px; color: #968a91; margin-top: 8px; }
.story-aside { align-self: start; position: sticky; top: 30px; background: white; padding: 25px; border: 1px solid var(--line); border-radius: 18px; }
.story-aside h2 { margin: 0 0 15px; font-size: 20px; }
.story-aside ul { padding-left: 19px; line-height: 1.9; }
.story-aside li { margin-bottom: 11px; font-size: 14px; }
:focus-visible { outline: 3px solid #e34f89; outline-offset: 3px; }
@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .topbar { flex-wrap: wrap; min-height: 80px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; width: 100%; padding-bottom: 15px; flex-wrap: wrap; }
  .site-nav.is-open { display: flex; }
  .topic-strip { grid-template-columns: repeat(2, 1fr); }
  .editorial-grid { gap: 35px; }
  .story-layout { gap: 28px; grid-template-columns: 1fr 240px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 30px); }
  .topbar { gap: 10px; }
  .brand strong { font-size: 21px; }
  .brand-icon { width: 42px; height: 42px; }
  .site-nav a { padding: 7px 10px; }
  .hero, .hero-inner { min-height: 515px; }
  .hero-media { background-position: 61% center; background-image: linear-gradient(90deg, rgba(28, 14, 36, .89), rgba(28, 14, 36, .66) 75%), url('/assets/images/hero.webp'); }
  .hero h1 { font-size: clamp(36px, 9vw, 51px); }
  .hero p { font-size: 14px; }
  .topic-strip { gap: 8px; margin-top: -26px; }
  .topic-strip a { grid-template-columns: 36px 1fr; padding: 12px; column-gap: 9px; }
  .topic-symbol { width: 36px; height: 36px; font-size: 21px; }
  .topic-strip strong { font-size: 13px; }
  .topic-strip small { font-size: 10px; }
  .section { padding: 57px 0; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 26px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-content { padding: 12px; }
  .card-content h3 { font-size: 14px; }
  .card-content p { font-size: 12px; min-height: 0; }
  .image-label { left: 8px; bottom: 8px; padding: 2px 7px; font-size: 10px; }
  .editorial-band { padding: 52px 0; }
  .editorial-grid, .reading-list, .topic-body, .story-layout { grid-template-columns: 1fr; }
  .reading-list article { padding: 13px; gap: 11px; }
  .closing-block { border-radius: 16px; padding: 24px; }
  .closing-block h2 { font-size: 22px; }
  .footer-content { align-items: start; flex-direction: column; }
  .story-aside { position: static; }
}
@media (max-width: 370px) { .feature-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card-image img { transition: none; } }
