/* ══════════════════════════════════════════════════════════════
   成人短剧 — cinema-led visual language
   All information remains available without JavaScript.
   ══════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
  --canvas: #191821;
  --ink: #F2EFF5;
  --muted: #B3AEBD;
  --surface: #25232F;
  --surface-2: #302C3A;
  --deep: #15141D;
  --accent: #A54568;
  --accent-light: #C8698C;
  --digital: #8994C6;
  --gold: #E7B877;
  --rule: rgba(242,239,245,.12);
  --rule-bright: rgba(242,239,245,.22);
  --glow: rgba(165,69,104,.16);
  --space: clamp(16px,2.35vw,38px);
  --width: 1380px;
  --ease: cubic-bezier(.2,.75,.2,1);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); line-height: 1.65; }
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 640px; pointer-events: none; background: radial-gradient(ellipse 58% 55% at 78% 2%,rgba(165,69,104,.11),transparent 85%), linear-gradient(180deg,#201A27 0%,var(--canvas) 100%); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin-top: 0; }
p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.24; font-weight: 740; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem,5vw,5.5rem); }
h2 { font-size: clamp(1.5rem,2.5vw,2.4rem); }
h3 { font-size: clamp(1.15rem,1.45vw,1.5rem); }
::selection { background: var(--accent); color: white; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.shell { width: min(calc(100% - 2 * var(--space)),var(--width)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 1rem; background: var(--gold); color: var(--deep); z-index: 30; padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 8px; }
.site-header { position: relative; z-index: 10; background: rgba(21,20,29,.93); border-bottom: 1px solid var(--rule); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; gap: 12px; align-items: center; flex-shrink: 0; font-size: 1.28rem; font-weight: 800; line-height: 1; letter-spacing: .06em; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 5px; }
.brand small { display: block; margin-top: 7px; color: var(--muted); font-size: .51rem; font-weight: 600; letter-spacing: .19em; }
.site-nav { display: flex; align-items: center; gap: clamp(12px,3.4vw,56px); }
.site-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: .92rem; font-weight: 620; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; height: 2px; position: absolute; bottom: 0; left: 0; right: 0; background: var(--accent-light); }
.nav-toggle { display: none; border: 1px solid var(--rule-bright); background: var(--surface); color: var(--ink); width: 44px; height: 44px; border-radius: 4px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.section-kicker, .eyebrow { font-size: .72rem; color: var(--gold); letter-spacing: .18em; font-weight: 700; text-transform: uppercase; }
.section-kicker { display: inline-block; line-height: 1.5; }
.kicker-line { width: 26px; height: 1px; display: inline-block; vertical-align: middle; background: currentColor; margin-right: 10px; }
.eyebrow { color: var(--digital); letter-spacing: .085em; }
.eyebrow span { padding: 0 .4rem; color: var(--muted); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; color: var(--gold); font-size: .88rem; font-weight: 700; border-bottom: 1px solid rgba(231,184,119,.32); padding-bottom: .3rem; }
.text-link:hover { color: #FFDEAB; border-color: currentColor; }
.button-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; background: var(--accent); border: 1px solid var(--accent-light); padding: 1rem 1.3rem; font-size: .91rem; font-weight: 720; border-radius: 4px; color: white; transition: transform .2s var(--ease),background .2s; }
.button-link:hover { color: white; background: #BA5379; transform: translateY(-2px); }
.opening { display: grid; grid-template-columns: minmax(290px,.9fr) minmax(0,1.32fr); gap: clamp(22px,4vw,72px); padding-top: clamp(33px,5vw,75px); padding-bottom: clamp(60px,8vw,130px); align-items: start; }
.opening__title { padding-top: clamp(24px,4.2vw,72px); }
.opening h1 { margin: 25px 0; letter-spacing: -.055em; line-height: 1.04; }
.title-break { display: block; margin-top: 20px; font-size: clamp(1.1rem,2.1vw,2.25rem); line-height: 1.4; letter-spacing: -.025em; color: var(--muted); font-weight: 540; }
.opening__intro { max-width: 39ch; font-size: clamp(.98rem,1.23vw,1.12rem); color: var(--muted); line-height: 2; margin-bottom: 32px; }
.intro-details { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-details span { border-left: 2px solid var(--accent); padding-left: 10px; font-size: .72rem; color: var(--ink); margin-right: 8px; }
.spotlight-image { display: block; position: relative; overflow: hidden; border-radius: 5px; background: var(--surface); border: 1px solid var(--rule); }
.spotlight-image::after { content: ""; position: absolute; pointer-events: none; inset: 45% 0 0; background: linear-gradient(transparent,rgba(21,20,29,.42)); }
.spotlight-image img { aspect-ratio: 1.48; width: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.spotlight-image:hover img { transform: scale(1.035); }
.frame-index { position: absolute; z-index: 1; bottom: 18px; left: 22px; padding: .36rem .65rem; font-size: .63rem; font-weight: 700; letter-spacing: .17em; border: 1px solid rgba(255,255,255,.45); background: rgba(15,15,22,.7); color: white; }
.spotlight-info { display: grid; gap: .5rem; padding-top: 22px; }
.spotlight-info .eyebrow { margin-bottom: 1px; }
.spotlight-info h2 { margin-bottom: 0; font-size: clamp(1.75rem,2.7vw,2.65rem); }
.spotlight-info p { color: var(--muted); max-width: 72ch; margin: .2rem 0 1rem; }
.spotlight-info .text-link { justify-self: start; }
.content-section { padding: 0 0 clamp(60px,8vw,120px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 22px; border-bottom: 1px solid var(--rule-bright); margin-bottom: 26px; }
.section-heading h2 { margin: 8px 0 0; }
.section-heading > p { text-align: right; max-width: 30ch; color: var(--muted); font-size: .85rem; line-height: 1.8; margin: 0 0 4px; }
.section-heading .text-link { flex-shrink: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,2.5vw,38px); }
.work-card { min-width: 0; background: linear-gradient(180deg,var(--surface) 0%,rgba(37,35,47,.4) 100%); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.poster-link { position: relative; display: block; overflow: hidden; background: var(--deep); }
.poster-link img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .55s var(--ease),filter .4s ease; }
.poster-link:hover img { transform: scale(1.05); filter: brightness(1.08); }
.poster-flag { position: absolute; top: 12px; left: 12px; color: white; background: rgba(21,20,29,.82); border: 1px solid rgba(255,255,255,.25); font-size: .68rem; font-weight: 700; padding: .25rem .58rem; letter-spacing: .04em; }
.work-card__body { padding: clamp(17px,2vw,25px); }
.work-card__body .eyebrow { margin: 0 0 10px; }
.work-card h3 { margin: 0 0 10px; }
.work-card p:not(.eyebrow) { font-size: .9rem; line-height: 1.86; color: var(--muted); margin-bottom: 16px; }
.work-card__body .text-link { font-size: .78rem; }
.work-card--feature .poster-link img { aspect-ratio: 1.5; }
.split-feature { position: relative; display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.5fr); gap: clamp(26px,4vw,76px); padding: clamp(30px,4vw,65px); background: linear-gradient(125deg,rgba(137,148,198,.11),transparent 57%),var(--surface); border: 1px solid var(--rule); margin-bottom: clamp(65px,8vw,120px); overflow: hidden; }
.split-feature::before { content: "AI"; pointer-events: none; position: absolute; right: -12px; top: -100px; font-weight: 800; font-size: 280px; line-height: 1; color: rgba(137,148,198,.04); }
.split-feature__intro { position: relative; z-index: 1; align-self: center; }
.split-feature__intro .section-kicker { color: var(--digital); }
.split-feature__intro h2 { margin: 13px 0 20px; max-width: 13ch; }
.split-feature__intro p { color: var(--muted); max-width: 36ch; line-height: 2; margin-bottom: 28px; }
.split-feature__cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; position: relative; z-index: 1; }
.split-feature__cards .work-card { background: var(--canvas); }
.split-feature__cards .poster-link img { aspect-ratio: .97; }
.split-feature__cards .work-card__body { padding: 18px; }
.split-feature__cards .work-card__body p:not(.eyebrow) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.compact-feature { display: grid; grid-template-columns: minmax(230px,.65fr) minmax(0,1.35fr); gap: clamp(20px,4vw,70px); align-items: center; border-top: 1px solid var(--rule-bright); border-bottom: 1px solid var(--rule-bright); padding: clamp(24px,3.8vw,55px) 0; margin-bottom: clamp(35px,5vw,75px); }
.compact-feature h2 { margin: 12px 0 18px; }
.compact-feature p { color: var(--muted); max-width: 35ch; line-height: 1.9; }
.compact-feature__visual { overflow: hidden; border-radius: 4px; background: var(--surface); }
.compact-feature__visual img { width: 100%; aspect-ratio: 2.35; object-fit: cover; }
.editorial-note { margin-bottom: 55px; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; background: rgba(137,148,198,.045); border-left: 2px solid var(--digital); padding: 1rem 1.4rem; font-size: .78rem; color: var(--muted); }
.editorial-note p { margin: 0; }
.editorial-note a { color: var(--digital); font-weight: 700; white-space: nowrap; }
.site-footer { margin-top: 60px; background: var(--deep); border-top: 1px solid var(--rule); }
.footer-grid { padding-block: 60px 50px; display: flex; justify-content: space-between; gap: 5vw; }
.footer-grid > div { max-width: 590px; }
.footer-brand { color: var(--ink) !important; font-size: 1.4rem !important; font-weight: 800; letter-spacing: .04em; }
.footer-grid p { color: var(--muted); max-width: 63ch; font-size: .86rem; line-height: 1.85; }
.footer-grid .footer-muted { font-size: .74rem; opacity: .8; margin-bottom: 0; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2,minmax(100px,1fr)); align-content: start; gap: 18px 48px; }
.footer-grid nav a { font-size: .86rem; color: var(--muted); }
.footer-grid nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--rule); padding: 19px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .73rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }
/* Interior collections */
.inner-page { min-height: 65vh; padding-bottom: clamp(30px,5vw,65px); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 25px 0; font-size: .74rem; color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumbs a:hover { color: var(--gold); }
.collection-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule-bright); padding: clamp(25px,5vw,75px) 0 clamp(34px,5vw,75px); margin-bottom: clamp(40px,6vw,85px); }
.collection-head::after { content: ""; position: absolute; z-index: -1; top: 0; right: 2%; width: 45%; height: 95%; background: radial-gradient(ellipse at center,rgba(137,148,198,.1),transparent 70%); }
.collection-head h1 { font-size: clamp(2.6rem,5.5vw,5.3rem); letter-spacing: -.05em; margin: 18px 0 22px; }
.collection-head h1 em { font-style: normal; font-size: .54em; font-weight: 470; color: var(--digital); letter-spacing: -.025em; }
.collection-head > p { color: var(--muted); max-width: 70ch; font-size: 1.04rem; line-height: 1.95; }
.collection-head--comic h1 em { color: var(--gold); }
.work-grid--wide { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.work-grid--wide .poster-link img { aspect-ratio: 1.45; }
.work-grid--wide .work-card__body { padding: clamp(22px,3vw,34px); }
.work-grid--wide .work-card p:not(.eyebrow) { max-width: 68ch; }
.reading-panel { display: grid; grid-template-columns: minmax(230px,.68fr) minmax(0,1.32fr); gap: clamp(25px,5vw,90px); background: var(--surface); border-top: 2px solid var(--digital); padding: clamp(25px,4vw,60px); margin-top: clamp(60px,8vw,120px); }
.reading-panel h2 { max-width: 14ch; margin: 18px 0; }
.reading-panel__copy p { color: var(--muted); line-height: 2.1; font-size: .97rem; margin-bottom: 25px; }
.reading-panel__copy .text-link { margin-top: 8px; }
.narrow-content { max-width: 960px; }
.narrow-content .collection-head h1 { font-size: clamp(2.8rem,5vw,4.2rem); }
.prose-block { padding: 12px 0 50px; }
.prose-block h2 { font-size: clamp(1.45rem,2.3vw,2rem); border-left: 3px solid var(--accent); padding-left: 16px; margin: 20px 0; }
.prose-block p { color: var(--muted); font-size: 1rem; line-height: 2.15; margin-bottom: 30px; }
.prose-block h2:not(:first-child) { margin-top: 50px; }
/* Work pages */
.story-hero { display: grid; grid-template-columns: minmax(260px,.79fr) minmax(0,1.21fr); gap: clamp(30px,6vw,115px); padding: clamp(15px,3vw,48px) 0 clamp(65px,8vw,130px); align-items: center; }
.story-hero__visual { position: relative; overflow: hidden; border: 1px solid var(--rule); background: var(--surface); box-shadow: 18px 22px 0 rgba(165,69,104,.07); }
.story-hero__visual img { width: 100%; max-height: 720px; aspect-ratio: .86; object-fit: cover; }
.story-hero__visual .poster-flag { top: auto; left: 18px; bottom: 18px; }
.story-hero__copy .section-kicker { color: var(--digital); }
.story-hero__copy .eyebrow { margin-top: 30px; margin-bottom: 12px; }
.story-hero__copy h1 { font-size: clamp(2.8rem,5.8vw,6rem); line-height: 1.13; margin: 0 0 25px; }
.story-summary { max-width: 55ch; font-size: clamp(1.06rem,1.45vw,1.3rem); line-height: 2; color: var(--ink); margin-bottom: 30px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row span { border: 1px solid var(--rule-bright); color: var(--muted); font-size: .78rem; padding: 6px 13px; }
.story-state { margin: 30px 0 16px; font-size: .76rem; color: var(--muted); }
.story-body { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--rule-bright); border-bottom: 1px solid var(--rule-bright); }
.story-copy { padding: 40px clamp(20px,2.7vw,45px) 50px; border-right: 1px solid var(--rule); }
.story-copy:first-child { padding-left: 0; }
.story-copy:last-child { border-right: 0; }
.story-copy h2 { font-size: clamp(1.5rem,2vw,2.1rem); margin: 14px 0 27px; }
.story-copy p { color: var(--muted); line-height: 2.2; font-size: .96rem; }
.story-copy--highlight { background: linear-gradient(165deg,rgba(165,69,104,.09),transparent); }
.related { padding: clamp(60px,9vw,130px) 0 10px; }
.error-page { padding: clamp(100px,13vw,200px) 0; }
.error-page h1 { margin: 14px 0 20px; }
.error-page p { max-width: 55ch; color: var(--muted); font-size: 1.04rem; line-height: 1.9; margin-bottom: 35px; }
.error-links { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
/* Enhanced hover and motion conditions */
@media (hover:hover) {
  .work-card { transition: transform .25s var(--ease),border-color .25s var(--ease),box-shadow .25s var(--ease); }
  .work-card:hover { transform: translateY(-4px); border-color: rgba(165,69,104,.5); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
  .brand:hover { color: var(--ink); }
}
@media (max-width: 1100px) {
  .opening { grid-template-columns: .92fr 1.08fr; gap: 28px; }
  .opening h1 { font-size: clamp(2.6rem,4.6vw,4.5rem); }
  .split-feature { padding: 30px; gap: 25px; grid-template-columns: .75fr 1.25fr; }
  .split-feature__cards { grid-template-columns: 1fr; }
  .split-feature__cards .work-card { display: grid; grid-template-columns: 35% 65%; }
  .split-feature__cards .poster-link img { height: 100%; aspect-ratio: .8; }
  .split-feature__cards .work-card h3 { font-size: 1.1rem; }
  .split-feature__cards .work-card__body p:not(.eyebrow) { -webkit-line-clamp: 2; }
  .story-hero { gap: 45px; }
}
@media (max-width: 800px) {
  .site-header__inner { min-height: 74px; }
  .nav-toggle { display: block; }
  .site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; position: absolute; top: calc(100% - 1px); left: 0; right: 0; padding: 12px var(--space) 20px; background: var(--deep); border-bottom: 1px solid var(--rule-bright); box-shadow: 0 18px 20px rgba(0,0,0,.24); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 40px; font-size: .87rem; }
  .opening { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; padding-bottom: 60px; }
  .opening__title { padding-top: 16px; }
  .opening h1 { max-width: none; margin: 16px 0; }
  .opening__intro { max-width: 65ch; margin-bottom: 21px; }
  .spotlight-image img { aspect-ratio: 1.75; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature__intro h2, .split-feature__intro p { max-width: 60ch; }
  .split-feature__cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-feature__cards .work-card { display: block; }
  .split-feature__cards .poster-link img { height: auto; aspect-ratio: 1.1; }
  .compact-feature { grid-template-columns: 1fr; }
  .compact-feature__visual img { aspect-ratio: 2.1; }
  .story-hero { grid-template-columns: .8fr 1.2fr; gap: 30px; }
  .story-hero__visual img { aspect-ratio: .75; }
  .story-body { grid-template-columns: 1fr; }
  .story-copy { border-right: 0; border-bottom: 1px solid var(--rule); padding: 29px 0; }
  .story-copy:last-child { border-bottom: 0; }
  .story-copy--highlight { padding-inline: 22px; }
  .reading-panel { grid-template-columns: 1fr; }
  .reading-panel h2 { max-width: none; }
}
@media (max-width: 600px) {
  :root { --space: 18px; }
  html { scroll-padding-top: 75px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 38px; height: 38px; }
  .brand small { font-size: .46rem; }
  .opening h1 { font-size: clamp(2.7rem,10vw,4rem); }
  .title-break { margin-top: 12px; font-size: 1.15rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .section-heading > p { text-align: left; max-width: 65ch; }
  .work-grid { gap: 12px; }
  .work-card__body { padding: 14px; }
  .work-card h3 { font-size: 1.03rem; }
  .work-card p:not(.eyebrow) { font-size: .8rem; line-height: 1.65; }
  .work-card__body .text-link { font-size: .73rem; }
  .work-card .eyebrow { font-size: .62rem; }
  .poster-link img { aspect-ratio: .85; }
  .split-feature { padding: 20px 16px; margin-inline: calc(-1 * var(--space)); }
  .split-feature__cards { gap: 10px; }
  .split-feature__cards .work-card__body { padding: 12px; }
  .split-feature__cards .poster-link img { aspect-ratio: .85; }
  .compact-feature__visual img { aspect-ratio: 1.5; }
  .editorial-note { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-grid { flex-direction: column; padding-block: 36px; }
  .footer-grid nav { gap: 16px; }
  .collection-head { margin-bottom: 45px; padding-top: 24px; }
  .collection-head h1 { font-size: clamp(2.5rem,9vw,3.8rem); }
  .collection-head h1 em { font-size: .53em; display: inline-block; margin-top: 8px; }
  .work-grid--wide { grid-template-columns: 1fr; }
  .work-grid--wide .poster-link img { aspect-ratio: 1.45; }
  .reading-panel { padding: 26px 22px; margin-inline: calc(-1 * var(--space)); }
  .story-hero { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 55px; gap: 28px; }
  .story-hero__visual img { aspect-ratio: 1.25; max-height: 490px; }
  .story-hero__copy .eyebrow { margin-top: 15px; }
  .story-hero__copy h1 { font-size: clamp(2.7rem,9vw,4.5rem); }
  .story-summary { font-size: 1.02rem; }
  .story-copy { padding: 30px 0; }
  .related .work-grid { grid-template-columns: 1fr 1fr; }
  .related .poster-link img { aspect-ratio: .9; }
}
@media (max-width: 390px) {
  .work-grid:not(.work-grid--wide) { grid-template-columns: 1fr; }
  .work-card .poster-link img { aspect-ratio: 1.45; }
  .split-feature__cards { grid-template-columns: 1fr; }
  .related .work-grid { grid-template-columns: 1fr; }
  .intro-details span { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; }
  body::before { display: none; }
  .site-header,.site-footer,.nav-toggle,.button-link,.text-link { display:none !important; }
  .shell { width: 100%; }
  .work-card,.story-hero__visual { break-inside: avoid; box-shadow: none; }
  .story-copy p,.prose-block p { color: #222; }
}
