:root {
    --brand: #D96B8A;
    --brand-soft: #F2B8C6;
    --ink: #2C2530;
    --body: #332F33;
    --muted: #756D73;
    --accent: #E58A45;
    --bg: #FFFDFC;
    --surface: #F8F3F5;
    --surface-2: #FFF7F9;
    --line: #E9DEE2;
    --white: #FFFFFF;
    --shadow: 0 16px 42px rgba(61, 39, 50, 0.09);
    --shadow-soft: 0 8px 24px rgba(61, 39, 50, 0.06);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 11px;
    --shell: 1180px;
    --reading: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(217, 107, 138, .22); color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.shell--reading { width: min(calc(100% - 40px), var(--reading)); }
.section { padding: 78px 0; }
.section--tint { background: var(--surface); }
.section--dark-soft { background: var(--ink); color: #FDF9FA; }
.section--split { padding-top: 44px; }

.skip-link {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    background: var(--ink);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 253, 252, .92);
    border-bottom: 1px solid rgba(233, 222, 226, .9);
    backdrop-filter: blur(16px);
}
.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 14px; background: var(--surface); }
.brand__text { display: grid; line-height: 1.2; }
.brand__text strong { color: var(--ink); font-size: 18px; letter-spacing: .02em; }
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav__link {
    position: relative;
    padding: 10px 13px;
    border-radius: 12px;
    color: #615760;
    font-weight: 650;
    font-size: 14px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.primary-nav__link:hover { background: var(--surface); color: var(--ink); transform: translateY(-1px); }
.primary-nav__link.is-current { color: var(--brand); background: #FFF1F5; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 99px; background: var(--ink); transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 72px;
}
.hero__copy { max-width: 650px; }
.hero h1,
.page-intro h1,
.novel-intro h1,
.video-hero h1,
.media-intro h1,
.not-found h1 {
    margin: 10px 0 22px;
    color: var(--ink);
    font-size: clamp(2.35rem, 5vw, 4.45rem);
    line-height: 1.07;
    letter-spacing: -.045em;
}
.hero__lead { max-width: 720px; color: #5E555C; font-size: 18px; line-height: 1.85; }
.eyebrow { margin: 0; color: var(--brand); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero__actions, .media-ribbon__links, .not-found__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 750;
    line-height: 1.3;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: var(--white); box-shadow: 0 9px 20px rgba(217, 107, 138, .2); }
.button--primary:hover { box-shadow: 0 12px 28px rgba(217, 107, 138, .26); }
.button--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.button--ghost:hover { background: var(--surface); }
.button--light { background: white; color: var(--ink); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero__facts span { padding: 7px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: 10% -4% -6% 12%; background: linear-gradient(155deg, rgba(242,184,198,.42), rgba(229,138,69,.14)); border-radius: 35% 20% 30% 18%; z-index: -1; filter: blur(1px); }
.hero__visual img { width: 100%; aspect-ratio: 1.22; object-fit: cover; border-radius: 34px 16px 34px 16px; box-shadow: var(--shadow); background: var(--surface); }

.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .media-ribbon h2, .editorial-callout h2, .related-reading h2 {
    margin: 8px 0 12px;
    color: var(--ink);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}
.section-heading p:not(.eyebrow) { color: var(--muted); margin: 0; }
.text-link { color: var(--brand); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: #B94768; }

.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow-soft); }
.feature-panel--warm { background: #FFF9F2; }
.feature-panel img { width: 100%; aspect-ratio: 1.62; object-fit: cover; background: var(--surface); }
.feature-panel > div { padding: 24px 26px 28px; }
.feature-panel h3 { margin: 7px 0 10px; color: var(--ink); font-size: 25px; }
.feature-panel p:not(.eyebrow) { margin: 0 0 14px; color: var(--muted); }

.card-grid { display: grid; gap: 18px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); min-width: 0; }
.content-card__media { overflow: hidden; background: #F4ECEF; }
.content-card__media img { width: 100%; aspect-ratio: 1.55; object-fit: cover; transition: transform .35s ease; }
.content-card:hover .content-card__media img { transform: scale(1.025); }
.content-card__body { padding: 20px 20px 22px; }
.content-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--brand); font-size: 12px; font-weight: 800; }
.status-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 999px; background: #FFF1E7; color: #AA5C25; font-size: 11px; font-weight: 800; }
.content-card h2, .content-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.content-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.content-card__note { margin-top: 12px !important; padding-top: 12px; border-top: 1px dashed var(--line); color: #5B5158 !important; }

.text-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; border-top: 1px solid var(--line); }
.text-index__item { padding: 25px 0; border-bottom: 1px solid var(--line); }
.text-index__top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.text-index__item h3 { margin: 8px 0 9px; color: var(--ink); font-size: 22px; }
.text-index__item p { margin: 0; color: var(--muted); }

.media-ribbon { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 52px; }
.media-ribbon__visual img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 18px 34px 18px 34px; background: var(--surface); }
.media-ribbon__body { padding-right: 30px; }
.media-ribbon__body p:not(.eyebrow) { color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { padding: 25px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid #F2E1E6; }
.guide-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 20px; }
.guide-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.guide-card li + li { margin-top: 8px; }

.page-top { padding-top: 30px; }
.page-top--narrow { width: min(calc(100% - 40px), 1020px); }
.breadcrumbs { margin: 4px 0 24px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; color: var(--muted); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: #B7AEB3; }
.breadcrumbs a:hover { color: var(--brand); }
.page-intro { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 46px; padding: 36px 0 22px; }
.page-intro h1, .novel-intro h1, .video-hero h1, .media-intro h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.page-intro p:not(.eyebrow), .novel-intro > div > p:not(.eyebrow), .video-hero__copy > p:not(.eyebrow), .media-intro > div > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.page-intro img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 28px 14px 28px 14px; background: var(--surface); box-shadow: var(--shadow-soft); }

.filter-bar { position: sticky; top: 86px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,252,.94); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.filter-bar > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.filter-label { color: var(--muted); font-size: 13px; font-weight: 750; white-space: nowrap; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { border: 1px solid var(--line); background: white; padding: 7px 11px; border-radius: 999px; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; }
.filter-button:hover, .filter-button.is-active { border-color: #EDB8C8; background: #FFF2F6; color: var(--brand); }
.filter-status { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
[data-filter-item][hidden] { display: none !important; }

.reading-columns .section-heading { margin-bottom: 20px; }
.prose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prose-grid article { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.prose-grid h3 { margin: 0 0 9px; color: var(--ink); font-size: 18px; }
.prose-grid p { margin: 0; color: var(--muted); }

.novel-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 44px; align-items: end; padding: 34px 0 10px; }
.quote-panel { padding: 24px; background: #FFF5F7; border: 1px solid #F1D7DF; border-radius: 18px; }
.quote-panel strong { color: var(--brand); }
.quote-panel p { margin: 8px 0 0; color: var(--muted); }
.novel-list { border-top: 1px solid var(--line); }
.novel-entry { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.novel-entry__number { color: #C9BFC4; font-size: 27px; font-weight: 800; line-height: 1.2; }
.novel-entry__meta { display: flex; gap: 10px; color: var(--brand); font-size: 12px; font-weight: 800; }
.novel-entry__meta span + span::before { content: "·"; margin-right: 10px; color: #C3B7BD; }
.novel-entry h2 { margin: 8px 0 11px; color: var(--ink); font-size: 26px; line-height: 1.3; }
.novel-entry p { margin: 0; color: var(--muted); }
.novel-entry__note { margin-top: 11px !important; color: #514A50 !important; }
.related-reading { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.related-reading > div { max-width: 650px; }
.related-reading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }

.video-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding: 34px 0 18px; }
.video-hero__media img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 30px 14px 30px 14px; background: var(--surface); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video-card { display: grid; grid-template-columns: 230px 1fr; min-height: 210px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; }
.video-card__thumb { position: relative; background: var(--surface); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(44,37,48,.82); color: white; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.video-card__body { padding: 21px; }
.video-card h2 { margin: 0 0 9px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.video-card p { margin: 0; color: var(--muted); font-size: 14px; }
.video-card__note { margin-top: 12px !important; color: #4F474D !important; }
.editorial-callout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 52px; }
.editorial-callout img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 24px; background: #403741; }
.editorial-callout h2 { color: white; }
.editorial-callout p:not(.eyebrow) { color: #D7CDD2; }

.media-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 44px; padding: 34px 0 18px; }
.media-intro img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 18px 30px 18px 30px; background: var(--surface); }
.media-essay-list { border-top: 1px solid var(--line); }
.media-essay { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.media-essay__index { color: #C9BFC4; font-size: 24px; font-weight: 800; }
.media-essay h2 { margin: 7px 0 10px; color: var(--ink); font-size: 25px; }
.media-essay p:not(.eyebrow) { margin: 0; color: var(--muted); }
.note-stack { display: grid; gap: 0; border-top: 1px solid #E2D4D9; }
.note-row { display: grid; grid-template-columns: 230px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid #E2D4D9; }
.note-row h3 { margin: 0; color: var(--ink); font-size: 18px; }
.note-row p { margin: 0; color: var(--muted); }

.not-found { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 800px; }
.not-found p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.site-footer { margin-top: 36px; padding: 54px 0 22px; background: #2E2830; color: #DAD0D5; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 52px; }
.footer-brand { display: inline-block; margin-bottom: 12px; color: white; font-size: 22px; font-weight: 850; }
.site-footer p { margin: 0; color: #BEB4B9; }
.site-footer h2 { margin: 0 0 11px; color: white; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: white; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #4A4148; color: #9F959A; font-size: 13px; }

.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.94); color: var(--brand); box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(229, 138, 69, .45); outline-offset: 3px; }

@media (max-width: 1080px) {
    .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-grid { grid-template-columns: 1fr; }
    .video-card { grid-template-columns: 260px 1fr; }
    .guide-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .shell, .shell--reading, .page-top--narrow { width: min(calc(100% - 32px), var(--shell)); }
    .nav-toggle { display: inline-flex; }
    .primary-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: grid; gap: 5px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .primary-nav__link { padding: 12px 14px; }
    .hero, .page-intro, .novel-intro, .video-hero, .media-intro, .media-ribbon, .editorial-callout { grid-template-columns: 1fr; }
    .hero { gap: 34px; padding-top: 48px; }
    .hero__copy { max-width: none; }
    .hero__visual { max-width: 720px; }
    .page-intro, .video-hero, .media-intro { gap: 28px; }
    .feature-pair { grid-template-columns: 1fr; }
    .section-heading--row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .text-index { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: 1fr; }
    .prose-grid { grid-template-columns: 1fr; }
    .filter-bar { position: relative; top: auto; align-items: flex-start; flex-direction: column; }
    .filter-status { white-space: normal; }
    .media-ribbon__body { padding-right: 0; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .section { padding: 56px 0; }
    .site-header__inner { min-height: 68px; }
    .brand img { width: 40px; height: 40px; }
    .brand__text small { display: none; }
    .hero { padding-top: 36px; padding-bottom: 52px; }
    .hero h1, .page-intro h1, .novel-intro h1, .video-hero h1, .media-intro h1, .not-found h1 { font-size: clamp(2.05rem, 10vw, 3.1rem); }
    .hero__lead { font-size: 16px; }
    .hero__actions .button, .media-ribbon__links .button, .not-found__links .button { flex: 1 1 100%; }
    .card-grid--3 { grid-template-columns: 1fr; }
    .content-card__media img { aspect-ratio: 1.75; }
    .video-card { grid-template-columns: 1fr; }
    .video-card__thumb { min-height: 210px; }
    .novel-entry, .media-essay { grid-template-columns: 44px 1fr; gap: 14px; }
    .novel-entry__number, .media-essay__index { font-size: 20px; }
    .novel-entry h2, .media-essay h2 { font-size: 22px; }
    .note-row { grid-template-columns: 1fr; gap: 8px; }
    .related-reading { align-items: flex-start; flex-direction: column; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .site-footer__grid > :first-child { grid-column: auto; }
    .site-footer__bottom { flex-direction: column; gap: 7px; }
    .back-top { right: 14px; bottom: 14px; }
}

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

.deep-dive-list { display: grid; gap: 18px; }
.deep-dive { padding: 28px 30px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
.deep-dive h3 { margin: 0 0 14px; color: var(--ink); font-size: 23px; line-height: 1.35; }
.deep-dive p { margin: 0; color: var(--muted); }
.deep-dive p + p { margin-top: 12px; }
@media (max-width: 640px) {
    .deep-dive { padding: 22px 20px; }
    .deep-dive h3 { font-size: 20px; }
}
