:root {
  --ink: #251923;
  --text: #564750;
  --muted: #6e6169;
  --page: #fffaf8;
  --paper: #fff;
  --tint: #fff0f1;
  --line: #eadde2;
  --primary: #c72f5c;
  --primary-dark: #941d43;
  --accent: #186f68;
  --shadow: 0 20px 60px rgba(74, 39, 53, .11);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--page); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--primary-dark); border-radius: 8px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1f7f77; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(234,221,226,.86); background: rgba(255,250,248,.92); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 20px rgba(199,47,92,.16); }
.site-nav { display: flex; align-items: center; gap: 2px; color: #594851; font-size: 14px; font-weight: 800; }
.site-nav a { padding: 9px 11px; border-radius: 999px; }
.site-nav a:hover, .site-nav a.is-active { color: var(--primary-dark); background: #ffe7ec; }
.site-nav .nav-cta { margin-left: 6px; color: #fff; background: var(--primary-dark); }
.site-nav .nav-cta:hover { color: #fff; background: #711432; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.22; letter-spacing: -.025em; }
h1 { margin-bottom: 20px; font-size: clamp(40px, 6vw, 68px); }
h2 { margin-bottom: 16px; font-size: clamp(28px, 3.8vw, 44px); }
h3 { margin-bottom: 8px; font-size: 21px; }
p { margin-bottom: 18px; }
.eyebrow { display: inline-flex; margin: 0 0 16px; padding: 5px 12px; border-radius: 999px; color: var(--primary-dark); background: #ffe5eb; font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.hero-lead { max-width: 760px; color: #55444e; font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 13px; color: #fff; background: var(--primary-dark); font-weight: 900; box-shadow: 0 12px 28px rgba(148,29,67,.2); transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #711432; }
.button.secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.button.secondary:hover { background: #fff4f5; }
.text-link { color: var(--primary-dark); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; overflow: hidden; min-height: 660px; padding: 72px 0; background: radial-gradient(circle at 83% 28%, rgba(245,162,180,.42), transparent 29%), radial-gradient(circle at 12% 88%, rgba(66,160,149,.13), transparent 26%), linear-gradient(135deg,#fffaf8 0%,#fff0f2 100%); }
.hero::after { position: absolute; inset: auto -8% -44% 40%; height: 600px; content: ""; background: radial-gradient(circle, rgba(255,255,255,.88), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); align-items: center; gap: 60px; }
.hero-copy { max-width: 670px; }
.hero .hero-lead { max-width: 650px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; padding: 0; color: #5e4e56; list-style: none; font-size: 14px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 900; }
.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.art-orbit { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(199,47,92,.2); border-radius: 50%; box-shadow: inset 0 0 0 70px rgba(255,255,255,.2); }
.art-panel { position: relative; z-index: 2; width: min(340px, 90%); padding: 34px 30px; border: 1px solid rgba(255,255,255,.9); border-radius: 32px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.art-panel strong { display: block; margin: 9px 0 28px; color: var(--ink); font-size: 30px; }
.art-label { color: var(--primary-dark); font-weight: 900; }
.wave { display: flex; align-items: center; justify-content: center; height: 86px; gap: 8px; }
.wave i { width: 7px; height: var(--h); border-radius: 999px; background: linear-gradient(var(--primary), #f0a4b6); }
.art-panel p { margin: 22px 0 0; text-align: center; font-size: 14px; }
.float-chip { position: absolute; z-index: 3; padding: 10px 16px; border-radius: 999px; color: var(--ink); background: #fff; box-shadow: 0 12px 30px rgba(70,38,50,.14); font-size: 14px; font-weight: 900; }
.chip-a { top: 78px; left: 12px; }.chip-b { right: 0; bottom: 84px; }

.page-hero { padding: 58px 0 52px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#fffaf8,#fff0f2); }
.page-hero h1 { max-width: 940px; font-size: clamp(36px,5vw,58px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.section { padding: 78px 0; }
.section.tint { background: var(--tint); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading > p:last-child { font-size: 18px; }
.feature-grid, .category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature-grid article, .category-grid > a { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 36px rgba(74,39,53,.06); }
.feature-grid b { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; color: #fff; background: var(--accent); }
.feature-grid a, .category-grid strong { color: var(--primary-dark); font-weight: 900; }
.category-grid > a { min-height: 190px; }
.category-grid span { display: block; margin-bottom: 8px; color: var(--ink); font-size: 24px; font-weight: 900; }
.category-grid strong { display: block; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 54px; align-items: start; }
.callout, .side-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.callout ul, .side-card ul { padding-left: 20px; }
.content-layout, .detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; align-items: start; }
.prose { min-width: 0; }
.prose.wide { max-width: 920px; margin: 0 auto 38px; }
.prose h2 { margin-top: 42px; font-size: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 2px 6px; border-radius: 5px; background: #f3e8eb; }
.prose li { margin-bottom: 9px; }
.side-card { position: sticky; top: 96px; }
.side-card h2 { font-size: 23px; }
.side-card > a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--primary-dark); font-weight: 800; }
.side-card > a:last-child { border-bottom: 0; }
.side-card small { display: block; color: var(--muted); font-weight: 500; }
.notice { margin: 26px 0; padding: 17px 20px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; color: #3d4c49; background: #edf8f6; }
.notice.warning { border-color: #a56300; color: #60430f; background: #fff5df; }
.center-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }

.drama-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.drama-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(74,39,53,.07); }
.drama-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 24%; background: #f0e5e8; }
.drama-card > div { padding: 22px; }
.drama-card h3 { min-height: 52px; }
.drama-card h3 a:hover { color: var(--primary-dark); }
.drama-card p { display: -webkit-box; min-height: 84px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.meta-row, .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.meta-row { margin-bottom: 11px; }
.card-footer { padding-top: 16px; border-top: 1px solid var(--line); }
.card-footer a { color: var(--primary-dark); }
.rank-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.rank-list li { counter-increment: rank; }
.rank-list a { display: grid; grid-template-columns: 48px minmax(0,1fr); padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rank-list a::before { content: counter(rank, decimal-leading-zero); grid-row: 1 / 3; color: var(--primary); font-size: 22px; font-weight: 900; }
.rank-list span { color: var(--ink); font-weight: 900; }.rank-list small { color: var(--muted); }
.detail-intro { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-intro img { width: 240px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: #f1e7ea; }
.detail-intro dl { margin: 0; }
.detail-intro dl div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-intro dt { color: var(--muted); }.detail-intro dd { margin: 0; color: var(--ink); font-weight: 800; }
.faq-list details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { padding: 18px 20px; color: var(--ink); cursor: pointer; font-weight: 900; }
.faq-list details p { padding: 0 20px 18px; margin: 0; }

.site-footer { padding: 54px 0 24px; color: #d9cdd3; background: #2b1e27; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 38px; }
.footer-grid h2 { color: #fff; font-size: 16px; }.footer-grid a { display: block; margin-bottom: 9px; }
.footer-grid > div:first-child p { max-width: 390px; margin-top: 18px; }
.footer-brand { color: #fff; }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--primary-dark); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .18s ease; }
.back-to-top::before { content: "↑"; font-size: 21px; }.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 18px; right: 18px; top: 64px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }.site-nav a { padding: 11px 14px; }.site-nav .nav-cta { margin: 5px 0 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }.hero-art { min-height: 390px; }.hero { min-height: auto; }
  .feature-grid, .category-grid, .drama-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-layout, .detail-layout { grid-template-columns: 1fr; }.side-card { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }.footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }.brand { font-size: 18px; }.brand img { width: 38px; height: 38px; }
  h1 { font-size: clamp(35px,12vw,48px); }.hero { padding: 50px 0; }.page-hero { padding: 38px 0 40px; }.section { padding: 54px 0; }
  .hero-grid { gap: 24px; }.hero-art { min-height: 330px; }.art-orbit { width: 300px; height: 300px; }.art-panel { padding: 26px 22px; }.art-panel strong { font-size: 25px; }.chip-a { top: 12px; left: 0; }.chip-b { right: 0; bottom: 18px; }
  .feature-grid, .category-grid, .drama-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }.footer-bottom { flex-direction: column; }
  .detail-intro { grid-template-columns: 1fr; padding: 18px; }.detail-intro img { width: 100%; max-height: 440px; }.detail-intro dl div { grid-template-columns: 82px 1fr; }
  .drama-card h3, .drama-card p { min-height: auto; }.hero-actions .button { width: 100%; }.trust-list { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
