:root {
  --bg: #1B1724; --deep: #15121D; --surface: #282231; --surface-hover: #332a40;
  --purple: #9365DC; --purple-light: #C3A5E8; --white: #F2EDF5; --muted: #B5AABB;
  --orange: #F3A16F; --line: rgba(195,165,232,.18); --line-strong: rgba(195,165,232,.32);
  --content: 1180px; --radius: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; line-height: 1.65; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple-light); }
a:focus-visible,button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
h1,h2,h3 { line-height: 1.3; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem,4vw,3.75rem); }
h2 { font-size: clamp(1.5rem,2.5vw,2.2rem); }
h3 { font-size: 1.15rem; }
.shell { width: min(var(--content),calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; z-index: 100; top: -200px; left: 8px; padding: 10px 20px; background: var(--orange); color: var(--deep); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid var(--line); background: rgba(21,18,29,.95); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.identity { display: flex; align-items: center; min-width: 0; gap: 12px; }
.identity img { object-fit: contain; width: 42px; height: 42px; }
.identity span { display: grid; gap: 0; }
.identity strong { font-weight: 760; font-size: 1.24rem; letter-spacing: .03em; }
.identity small { font-size: 11px; color: var(--muted); letter-spacing: .09em; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px,2.6vw,34px); font-size: 13px; font-weight: 650; }
.primary-nav a { padding: 12px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.primary-nav a:hover { border-color: var(--purple); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--white); padding: 8px 10px; }
.intro-band { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 70% 0,rgba(147,101,220,.22),transparent 46%),linear-gradient(120deg,#15121D,#201a2b 72%); }
.intro-grid { min-height: 400px; display: grid; grid-template-columns: 1.45fr .85fr; gap: 65px; align-items: center; padding-top: 64px; padding-bottom: 62px; }
.eyebrow,.module-kicker { text-transform: none; color: var(--purple-light); font-size: 12px; font-weight: 760; letter-spacing: .09em; margin-bottom: 15px; }
.status-dot { display: inline-block; margin-right: 7px; background: var(--orange); border-radius: 50%; width: 7px; height: 7px; box-shadow: 0 0 0 4px rgba(243,161,111,.14); }
.intro-copy h1 { max-width: 720px; }
.intro-lead { max-width: 660px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.intro-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 28px 0 34px; }
.action { display: inline-flex; align-items: center; gap: 14px; padding: 11px 19px; background: var(--purple); border: 1px solid var(--purple); color: #fff; font-size: 14px; font-weight: 700; border-radius: var(--radius); transition: background .18s ease, transform .18s ease; }
.action:hover { background: #7d4bc9; color: #fff; transform: translateY(-1px); }
.text-action { border-bottom: 1px solid var(--purple-light); padding-bottom: 3px; font-size: 14px; }
.intro-facts { display: flex; gap: 36px; flex-wrap: wrap; padding: 0; margin: 0; }
.intro-facts div { display: grid; gap: 2px; }
.intro-facts dt { color: var(--muted); font-size: 12px; }
.intro-facts dd { font-size: 13px; font-weight: 650; margin: 0; }
.hero-index { border: 1px solid var(--line-strong); padding: 22px 23px 10px; background: rgba(40,34,49,.7); box-shadow: 14px 14px 0 rgba(147,101,220,.06); }
.hero-row { display: grid; grid-template-columns: 28px 1fr 16px; gap: 14px; padding: 17px 0; align-items: center; border-top: 1px solid var(--line); }
.hero-row strong { display: block; font-size: 16px; margin-bottom: 3px; }
.hero-row small { color: var(--muted); font-size: 12px; }
.hero-number { color: var(--orange); font-size: 17px; font-weight: 760; font-variant-numeric: tabular-nums; }
.content-section { padding-top: 66px; padding-bottom: 72px; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 27px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-more { font-size: 13px; font-weight: 720; color: var(--purple-light); white-space: nowrap; }
.section-note { color: var(--muted); font-size: 12px; max-width: 330px; margin: 0; text-align: right; }
.works-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 27px 20px; }
.work-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.cover { aspect-ratio: 4/5; overflow: hidden; display: block; position: relative; background: linear-gradient(145deg,#36264b,#251e2e 70%); border: 1px solid var(--line-strong); }
.cover::before { content: ''; background: repeating-linear-gradient(125deg,transparent,transparent 22px,rgba(147,101,220,.07) 23px); inset: 0; position: absolute; }
.cover img { width: 100%; height: 100%; object-fit: cover; position: relative; transition: transform .35s ease; }
.cover:hover img { transform: scale(1.035); }
.cover-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 20%,rgba(255,255,255,.08) 50%,transparent 66%); opacity: 0; transition: opacity .3s; }
.cover:hover .cover-shine { opacity: 1; }
.card-copy { padding: 13px 0 0; display: flex; flex: 1; flex-direction: column; }
.card-meta { font-size: 11px; color: var(--muted); margin: 0 0 5px; }
.card-meta span { color: var(--orange); font-weight: 740; }
.work-card h3 { margin: 0 0 7px; }
.work-card .card-copy>p:not(.card-meta) { color: var(--muted); font-size: 13px; line-height: 1.72; margin: 0 0 13px; }
.chapter-link { color: var(--purple-light); font-size: 12px; border-top: 1px solid var(--line); display: block; padding-top: 11px; margin-top: auto; line-height: 1.55; }
.chapter-link span { padding-left: 4px; }
.section-deep { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.deep-grid h2 { max-width: 500px; }
.deep-grid p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.genre-links { border-top: 1px solid var(--line); }
.genre-links a { display: grid; grid-template-columns: 85px 1fr 20px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 17px 2px; }
.genre-links a:hover { background: rgba(147,101,220,.1); }
.genre-links b { font-weight: 740; font-size: 17px; }
.genre-links span { color: var(--muted); font-size: 13px; }
.chapter-index { border-top: 1px solid var(--line); }
.index-item { display: grid; grid-template-columns: 50px minmax(0,1.25fr) minmax(0,.9fr); gap: 20px; align-items: center; padding: 18px 5px; border-bottom: 1px solid var(--line); }
.index-ordinal { color: var(--purple-light); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.index-item h3 { font-size: 16px; margin: 0 0 5px; }
.index-item p { color: var(--muted); font-size: 12px; margin: 0; }
.index-item>a { text-align: right; color: var(--orange); font-size: 13px; }
.index-item>a:hover { color: var(--white); }
.closing-info { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; border-top: 1px solid var(--line); padding-top: 38px; padding-bottom: 70px; }
.closing-info p:not(.eyebrow) { color: var(--muted); }
.closing-info h3 { padding-top: 3px; }
.site-footer { border-top: 1px solid var(--line); padding: 38px 0 42px; background: var(--deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; }
.footer-inner>div { max-width: 600px; }
.footer-brand { font-size: 20px; font-weight: 780; }
.footer-inner p { color: var(--muted); font-size: 12px; margin-top: 9px; }
.footer-inner .fine-print { font-size: 11px; line-height: 1.75; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: start; font-size: 12px; }
.back-top { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface); color: var(--white); z-index: 20; }
.back-top[hidden] { display: none; }
.inner-page { padding-top: 22px; padding-bottom: 80px; min-height: 60vh; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12px; margin: 3px 0 36px; }
.breadcrumbs [aria-current] { color: var(--white); }
.breadcrumbs>span[aria-hidden] { opacity: .55; }
.page-lead { max-width: 790px; padding-bottom: 23px; }
.page-lead h1 { font-size: clamp(2rem,4vw,3.2rem); }
.page-lead>p:last-child { font-size: 15px; line-height: 1.85; color: var(--muted); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding: 18px 0 28px; }
.filter-tabs a { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line-strong); }
.filter-tabs a:hover,.filter-tabs a[aria-current="page"] { border-color: var(--purple); background: var(--surface); color: var(--white); }
.catalog-grid { padding-bottom: 32px; }
.detail-hero { display: grid; grid-template-columns: minmax(230px,.68fr) minmax(0,1.35fr); gap: clamp(30px,6vw,85px); padding: 10px 0 56px; border-bottom: 1px solid var(--line); }
.detail-visual { border: 1px solid var(--line-strong); background: var(--surface); align-self: start; max-width: 410px; aspect-ratio: 3/4; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; }
.detail-copy h1 { font-size: clamp(2.3rem,4vw,3.8rem); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 28px; }
.badge-row span { font-size: 12px; color: var(--purple-light); padding: 4px 10px; border: 1px solid var(--line-strong); }
.detail-summary { font-size: 17px; line-height: 1.85; max-width: 670px; }
.detail-copy h2 { font-size: 18px; padding-top: 6px; }
.detail-copy h2+p { color: var(--muted); font-size: 14px; max-width: 630px; line-height: 1.9; }
.detail-copy .action { margin-top: 18px; }
.detail-chapters { padding: 54px 0 58px; }
.detail-chapter-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.detail-chapter-list li { border-bottom: 1px solid var(--line); }
.detail-chapter-list a { display: grid; grid-template-columns: 92px 1fr 20px; gap: 24px; align-items: center; padding: 20px 10px; }
.detail-chapter-list a:hover { background: var(--surface); }
.chapter-no { font-size: 13px; color: var(--orange); font-weight: 780; }
.detail-chapter-list strong,.detail-chapter-list small { display: block; }
.detail-chapter-list strong { font-size: 17px; }
.detail-chapter-list small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.link-arrow { color: var(--purple-light); }
.related-block { padding-top: 20px; }
.related-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.related-list>a { border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; position: relative; background: rgba(40,34,49,.4); }
.related-list>a:hover { border-color: var(--purple); }
.related-list strong { font-size: 17px; }
.related-list span { font-size: 12px; line-height: 1.7; color: var(--muted); padding-top: 7px; padding-right: 16px; }
.related-list b { position: absolute; right: 14px; top: 15px; color: var(--orange); }
.reader-page { max-width: 1160px; }
.reader-head { max-width: 780px; padding: 4px 0 44px; }
.reader-head h1 { font-size: clamp(2rem,4vw,3.3rem); margin-bottom: 15px; }
.reader-head>p:last-child { color: var(--muted); font-size: 14px; }
.reader-series { color: var(--orange); font-size: 15px; font-weight: 720; }
.reader-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 34px; align-items: start; }
.story-panels { display: grid; gap: 12px; }
.story-panel { min-height: 210px; padding: 25px clamp(20px,4vw,50px); border: 1px solid var(--line-strong); background: linear-gradient(130deg,#282231,#201b29); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.story-panel:nth-child(2n) { background: linear-gradient(120deg,#201b29,#32263d); }
.story-panel:nth-child(3n) { background: radial-gradient(ellipse at right bottom,rgba(147,101,220,.2),transparent 55%),#24202d; }
.panel-top { color: var(--purple-light); display: flex; justify-content: space-between; font-size: 11px; font-weight: 750; letter-spacing: .07em; }
.story-panel p { margin: 26px 0; max-width: 660px; font-size: clamp(18px,2.7vw,24px); line-height: 1.8; font-weight: 650; letter-spacing: .025em; }
.panel-edge { height: 2px; width: min(120px,40%); background: var(--purple); opacity: .7; }
.chapter-end { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 8px; }
.reader-sidebar { position: sticky; top: 105px; border-top: 2px solid var(--purple); background: var(--surface); padding: 20px; }
.reader-sidebar h2 { font-size: 16px; }
.reader-sidebar>p { color: var(--muted); font-size: 13px; }
.reader-sidebar ol { list-style: none; padding: 0; margin: 10px 0; }
.reader-sidebar li { border-bottom: 1px solid var(--line); }
.reader-sidebar li a { display: block; padding: 10px 0; font-size: 13px; }
.reader-sidebar li a[aria-current="page"] { color: var(--orange); font-weight: 760; }
.sidebar-return { font-size: 12px; display: inline-block; margin-top: 19px; color: var(--purple-light); }
.reader-pagination { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; width: calc(100% - 279px); margin: 25px 0 0; }
.reader-pagination a { display: grid; gap: 3px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.reader-pagination a:hover { border-color: var(--purple); }
.reader-pagination a:last-child { text-align: right; }
.reader-pagination small { font-size: 12px; color: var(--muted); }
.reader-pagination strong { font-size: 15px; }
.narrow-page { max-width: 840px; }
.prose-section { border-top: 1px solid var(--line); padding: 30px 0 18px; }
.prose-section h2 { font-size: 23px; }
.prose-section p { color: var(--muted); font-size: 15px; line-height: 2; }
.prose-section a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.error-page { padding-top: 100px; padding-bottom: 120px; min-height: 65vh; }
.error-page h1 { max-width: 680px; }
.error-page p:not(.eyebrow) { color: var(--muted); }
.error-page .action { margin-top: 18px; }
@media (max-width: 1024px) {
  .intro-grid { gap: 38px; }
  .works-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .deep-grid { gap: 7%; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 32px,var(--content)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; font-size: 12px; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 12px 18px 20px; border-bottom: 1px solid var(--line-strong); background: var(--deep); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .intro-grid { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 42px; gap: 30px; }
  .intro-copy h1 { max-width: 580px; }
  .hero-index { max-width: none; }
  .works-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 15px; }
  .deep-grid,.closing-info { grid-template-columns: 1fr; gap: 20px; }
  .deep-grid { padding-top: 43px; padding-bottom: 42px; }
  .closing-info { padding-bottom: 48px; }
  .content-section { padding-top: 45px; padding-bottom: 52px; }
  .detail-hero { grid-template-columns: minmax(140px,.7fr) 1.3fr; gap: 23px; }
  .reader-layout { grid-template-columns: minmax(0,1fr); }
  .reader-sidebar { position: static; }
  .reader-pagination { width: 100%; }
  .related-list { grid-template-columns: 1fr; }
  .related-list>a { padding: 15px; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .identity strong { font-size: 17px; }
  .identity small { font-size: 10px; }
  .identity img { width: 35px; height: 35px; }
  .intro-grid { padding-top: 34px; }
  .intro-lead { font-size: 14px; }
  .intro-facts { gap: 18px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .section-note { text-align: left; }
  .works-grid { gap: 20px 12px; }
  .cover { aspect-ratio: 3/4; }
  .card-meta { font-size: 10px; }
  .work-card h3 { font-size: 15px; }
  .work-card .card-copy>p:not(.card-meta) { font-size: 12px; line-height: 1.55; }
  .chapter-link { font-size: 11px; }
  .index-item { grid-template-columns: 32px 1fr; gap: 8px 10px; align-items: start; }
  .index-item>a { grid-column: 2; text-align: left; }
  .footer-inner { flex-direction: column; gap: 19px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-visual { width: min(240px,70%); }
  .detail-copy h1 { margin: 0; }
  .detail-chapter-list a { grid-template-columns: 62px minmax(0,1fr) 18px; gap: 10px; padding: 17px 5px; }
  .detail-chapter-list strong { font-size: 15px; }
  .reader-head { padding-bottom: 22px; }
  .story-panel { min-height: 185px; padding: 20px; }
  .story-panel p { font-size: 18px; }
  .reader-pagination { gap: 8px; }
  .reader-pagination a { padding: 13px 11px; }
  .reader-pagination strong { font-size: 13px; }
  .filter-tabs { gap: 6px; }
  .filter-tabs a { font-size: 12px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
