:root {
  --primary: #7C5CE7;
  --primary-deep: #6446cc;
  --primary-soft: #ece6ff;
  --pink: #E8B7D8;
  --ink: #242235;
  --text: #302E3A;
  --muted: #777386;
  --bg: #FAF9FD;
  --bg-soft: #F1EEF8;
  --accent: #F29B72;
  --white: #ffffff;
  --line: rgba(36,34,53,.12);
  --shadow: 0 18px 50px rgba(63,48,105,.10);
  --shadow-soft: 0 10px 30px rgba(63,48,105,.07);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,253,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(36,34,53,.05);
  background: rgba(250,249,253,.96);
}
.header-inner {
  width: min(calc(100% - 36px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px 14px 14px 5px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: white;
  background: linear-gradient(145deg, var(--primary), #9c80f0);
  box-shadow: 0 9px 24px rgba(124,92,231,.25);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 18px; color: var(--ink); letter-spacing: .04em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  border-radius: 12px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--primary-deep);
  background: var(--primary-soft);
  outline: none;
}
.site-nav a.active { color: var(--primary-deep); background: #efeafe; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 999px;
  background: var(--accent);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 4px; }

main { overflow: hidden; }
.hero-shell,
.section,
.page-intro,
.not-found-shell {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}
.hero-shell {
  min-height: 640px;
  padding: 78px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 58px;
}
.hero-copy { max-width: 690px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-shell h1,
.page-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-lead,
.page-intro p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #5f5a70;
  font-size: 18px;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }
.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(124,92,231,.25);
}
.button.primary:hover { background: var(--primary-deep); }
.button.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.button.secondary { background: var(--ink); color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-points span,
.tag,
.chapter-chip,
.duration-chip,
.count-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: #5f5972;
  font-size: 12px;
  font-weight: 700;
}
.hero-art {
  margin: 0;
  position: relative;
  border-radius: 34px 34px 34px 10px;
  background: linear-gradient(145deg, #eee9fb, #f9e9f3);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}
.hero-art::before { width: 96px; height: 96px; right: -30px; top: 12%; background: rgba(242,155,114,.22); }
.hero-art::after { width: 130px; height: 130px; left: -38px; bottom: 8%; background: rgba(124,92,231,.15); }
.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px 24px 24px 7px;
  background: #e8e3f1;
}
.hero-art figcaption { padding: 13px 6px 0; color: var(--muted); font-size: 13px; }

.section { padding: 76px 0; }
.section-tight { padding-top: 38px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2,
.pane-header h2,
.guide-copy h2,
.cross-link-band h2,
.domain-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.section-heading p { margin: 10px 0 0; color: var(--muted); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.text-link { color: var(--primary-deep); font-weight: 800; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; outline: none; }

.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 18px;
}
.feature-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.feature-card-large { grid-row: 1 / span 2; }
.feature-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-soft);
}
.feature-card-large > img { aspect-ratio: 4 / 3; height: 54%; }
.card-body { padding: 20px; }
.card-body h3 { margin: 9px 0 8px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.feature-card-large .card-body h3 { font-size: 27px; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--primary-deep); font-size: 12px; font-weight: 800; }
.meta-line > span:first-child { margin-right: 2px; }
.tag { padding: 4px 8px; background: #f8f6fc; }

.media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.media-pane {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}
.manga-pane { background: linear-gradient(145deg, #fbf0f7, #fff); }
.video-pane { background: linear-gradient(145deg, #f0edfb, #fff); }
.media-pane::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -90px;
  top: -80px;
  background: rgba(255,255,255,.7);
}
.media-pane > p { color: var(--muted); }
.pane-header h2 { font-size: 32px; max-width: 520px; }
.mini-list { display: grid; gap: 8px; margin: 24px 0; }
.mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(36,34,53,.08);
}
.mini-item strong { color: var(--ink); }
.mini-item span { color: var(--muted); font-size: 12px; text-align: right; }
.stacked-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 25px; }
.stacked-tags span { padding: 10px 12px; background: rgba(255,255,255,.78); border: 1px solid rgba(36,34,53,.08); border-radius: 12px; font-size: 13px; }

.editorial-band {
  position: relative;
  margin-top: 30px;
}
.note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.note-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note-grid article {
  padding: 25px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.note-grid h3 { margin: 0 0 9px; color: var(--ink); font-size: 19px; }
.note-grid p { margin: 0; color: var(--muted); }

.info-strip {
  margin-top: 46px;
  margin-bottom: 70px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.info-strip .eyebrow { color: #cabbff; }
.info-copy h2 { margin: 0; font-size: 33px; line-height: 1.2; }
.info-copy p:last-child { color: #c9c5d7; }
.info-links { display: grid; gap: 12px; align-content: center; }
.info-links a { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); }
.info-links a:hover { background: rgba(255,255,255,.12); }
.info-links strong { display: block; }
.info-links span { color: #c9c5d7; font-size: 13px; }

.page-intro {
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 { font-size: clamp(38px, 4.5vw, 62px); }
.page-intro img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px 28px 28px 8px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.watch-intro img { aspect-ratio: 1 / 1; }
.manga-intro img { aspect-ratio: 5 / 4; }
.video-intro img { aspect-ratio: 16 / 12; }
.info-intro img { aspect-ratio: 1 / 1; }
.explore-intro img { aspect-ratio: 4 / 3; }

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: start;
}
.watch-main { min-width: 0; }
.watch-list { display: grid; gap: 16px; }
.watch-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.watch-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px; background: var(--bg-soft); }
.watch-item h3 { margin: 9px 0 7px; color: var(--ink); font-size: 22px; }
.watch-item p { margin: 0; color: var(--muted); font-size: 14px; }
.sticky-card {
  position: sticky;
  top: 104px;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sticky-card h2 { margin: 0 0 12px; color: var(--ink); font-size: 18px; }
.sticky-card a { display: block; padding: 10px 0; color: #625b78; border-bottom: 1px dashed rgba(36,34,53,.12); }
.sticky-card a:last-child { border-bottom: 0; }
.sticky-card a:hover { color: var(--primary-deep); }
.collection-rows { display: grid; gap: 14px; }
.collection-row {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.collection-row h2 { margin: 0; color: var(--ink); font-size: 27px; line-height: 1.25; }
.collection-row > p { margin: 0; color: var(--muted); }

.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.manga-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.manga-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.manga-card-body { padding: 20px; }
.manga-card h3 { margin: 10px 0 9px; color: var(--ink); font-size: 22px; }
.manga-card p { margin: 0; color: var(--muted); font-size: 14px; }
.chapter-chip { background: #fff2eb; border-color: #f7d2bf; color: #bd6943; }
.focus-line { display: grid; gap: 3px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.focus-line strong { font-size: 12px; color: var(--ink); }
.focus-line span { font-size: 12px; color: var(--muted); }
.reading-guide {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.guide-visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 30px 30px 30px 9px; background: var(--bg-soft); }
.guide-copy > p { color: var(--muted); }
.clean-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.clean-list li { position: relative; padding-left: 21px; color: #5d586c; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.clean-list.compact { margin-top: 17px; gap: 8px; }
.cross-link-band {
  margin-bottom: 60px;
  padding: 32px 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #eee9fb, #f8edf4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cross-link-band p { margin: 8px 0 0; color: var(--muted); }

.video-catalog { display: grid; gap: 28px; }
.video-row {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}
.video-row.reverse .video-thumb { order: 2; }
.video-row.reverse .video-copy { order: 1; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--bg-soft); }
.video-copy h2 { margin: 11px 0 10px; color: var(--ink); font-size: 30px; line-height: 1.22; }
.video-copy p { color: var(--muted); }
.duration-chip { background: var(--primary-soft); color: var(--primary-deep); border-color: #ddd4ff; }
.viewing-notes { padding-bottom: 100px; }

.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fact-grid article { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.fact-grid span { color: var(--primary-deep); font-size: 12px; font-weight: 850; }
.fact-grid p { margin: 7px 0 0; color: var(--text); }
.route-list { display: grid; gap: 10px; }
.route-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 19px 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.route-list a:hover { transform: translateX(5px); border-color: rgba(124,92,231,.35); box-shadow: var(--shadow-soft); }
.route-list > a > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary-deep); font-size: 12px; font-weight: 850; }
.route-list strong { color: var(--ink); font-size: 19px; }
.route-list p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.domain-card { padding: 42px; border-radius: var(--radius-xl); background: var(--ink); color: #fff; margin-bottom: 70px; }
.domain-card .eyebrow { color: #c9bdff; }
.domain-card h2 { color: #fff; word-break: break-word; }
.domain-card p { color: #c9c5d7; max-width: 760px; }

.topic-stack { display: grid; gap: 22px; }
.topic-panel {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.topic-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--bg-soft); }
.topic-panel h2 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.22; }
.topic-panel p { color: var(--muted); }
.recommend-matrix { padding-bottom: 100px; }
.matrix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.matrix-grid a { padding: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; }
.matrix-grid strong { display: block; color: var(--ink); font-size: 18px; }
.matrix-grid span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.matrix-grid a:hover strong { color: var(--primary-deep); }

.not-found-shell { padding: 120px 0; text-align: center; max-width: 720px; }
.error-code { display: block; color: var(--primary); font-weight: 950; font-size: clamp(80px, 16vw, 170px); line-height: .8; opacity: .18; }
.not-found-shell h1 { margin: 24px 0 0; color: var(--ink); font-size: 42px; }
.not-found-shell p { color: var(--muted); }
.not-found-shell .hero-actions { justify-content: center; }

.site-footer { background: #201f2e; color: #cbc7d6; padding: 54px 0 24px; }
.footer-grid,
.footer-bottom { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 42px; }
.footer-brand { color: #fff; font-size: 24px; font-weight: 900; }
.footer-grid p { max-width: 520px; color: #aaa5b8; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 14px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #8f899f; }

/* Page-specific surface variations keep the inner pages visually related without cloning the same rhythm. */
.watch-page .page-intro { background: radial-gradient(circle at 90% 15%, rgba(124,92,231,.08), transparent 25%); }
.manga-page .page-intro { background: radial-gradient(circle at 90% 15%, rgba(232,183,216,.18), transparent 28%); }
.videos-page .page-intro { background: radial-gradient(circle at 90% 20%, rgba(242,155,114,.10), transparent 27%); }
.website-page .page-intro { background: radial-gradient(circle at 90% 15%, rgba(124,92,231,.07), transparent 30%); }
.explore-page .page-intro { background: radial-gradient(circle at 88% 15%, rgba(232,183,216,.16), transparent 28%); }

/* Enhanced focus states */
a:focus-visible,
button:focus-visible { outline: 3px solid rgba(124,92,231,.35); outline-offset: 3px; }

/* Fine-grained spacing for Chinese long-form reading */
p { orphans: 2; widows: 2; }
.watch-item p,
.manga-card p,
.topic-panel p,
.note-grid p,
.collection-row > p,
.video-copy p { text-wrap: pretty; }

/* Tablet */
@media (max-width: 1020px) {
  .header-inner { min-height: 72px; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: 9px; font-size: 13px; }
  .hero-shell { grid-template-columns: 1fr .8fr; min-height: auto; padding-top: 58px; gap: 36px; }
  .hero-shell h1 { font-size: clamp(38px, 5.6vw, 58px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
  .feature-card-large { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .feature-card-large > img { height: 100%; aspect-ratio: auto; }
  .manga-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-intro { grid-template-columns: minmax(0,1fr) 300px; gap: 34px; }
  .watch-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 24px; }
  .watch-item { grid-template-columns: 170px minmax(0,1fr); }
  .topic-panel { grid-template-columns: 290px minmax(0,1fr); gap: 25px; }
}

/* Mobile navigation and stacked reading layout */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 72px 18px auto 18px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(36,34,53,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 12px 13px; font-size: 14px; }
  .site-nav a.active::after { display: none; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-art { max-width: 620px; }
  .hero-art img { aspect-ratio: 16 / 11; }
  .media-split { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .page-intro { grid-template-columns: 1fr; padding-top: 50px; }
  .page-intro img { max-width: 620px; aspect-ratio: 16 / 9; }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-aside { order: -1; }
  .sticky-card { position: static; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .sticky-card h2 { width: 100%; }
  .sticky-card a { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; }
  .collection-row { grid-template-columns: 1fr; gap: 14px; }
  .reading-guide { grid-template-columns: 1fr; }
  .video-row, .video-row.reverse { grid-template-columns: 1fr; gap: 20px; }
  .video-row.reverse .video-thumb, .video-row.reverse .video-copy { order: initial; }
  .topic-panel { grid-template-columns: 1fr; }
  .topic-panel img { max-width: 620px; aspect-ratio: 16 / 9; }
  .matrix-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-shell,
  .section,
  .page-intro,
  .not-found-shell,
  .footer-grid,
  .footer-bottom { width: min(calc(100% - 24px), var(--max)); }
  .header-inner { min-height: 66px; }
  .site-nav { inset-top: 66px; }
  .brand-copy small { display: none; }
  .hero-shell { padding: 34px 0 46px; gap: 28px; }
  .hero-shell h1, .page-intro h1 { font-size: 38px; letter-spacing: -.035em; }
  .hero-lead, .page-intro p { font-size: 16px; line-height: 1.82; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-art { border-radius: 24px 24px 24px 8px; padding: 11px; }
  .hero-art img { border-radius: 18px 18px 18px 6px; }
  .section { padding: 52px 0; }
  .split-heading { align-items: start; flex-direction: column; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: auto; display: block; }
  .feature-card-large > img { height: auto; aspect-ratio: 16 / 10; }
  .media-pane { padding: 26px 22px; }
  .pane-header h2, .section-heading h2, .guide-copy h2, .cross-link-band h2, .domain-card h2 { font-size: 28px; }
  .mini-item { align-items: start; flex-direction: column; gap: 3px; }
  .mini-item span { text-align: left; }
  .note-grid, .note-grid.three-col { grid-template-columns: 1fr; }
  .info-strip { padding: 25px 22px; margin-top: 24px; margin-bottom: 44px; }
  .info-copy h2 { font-size: 28px; }
  .page-intro { padding: 42px 0 40px; gap: 26px; }
  .watch-item { grid-template-columns: 1fr; }
  .watch-item img { aspect-ratio: 16 / 9; }
  .collection-row { padding: 23px 20px; }
  .manga-grid { grid-template-columns: 1fr; }
  .cross-link-band { align-items: stretch; flex-direction: column; padding: 25px 22px; }
  .video-row { padding: 15px; border-radius: 22px; }
  .video-copy { padding: 4px 4px 8px; }
  .video-copy h2 { font-size: 26px; }
  .fact-grid { grid-template-columns: 1fr; }
  .route-list a { grid-template-columns: 45px minmax(0,1fr); padding: 16px; gap: 13px; }
  .route-list > a > span { width: 40px; height: 40px; }
  .domain-card { padding: 28px 22px; }
  .topic-panel { padding: 15px; border-radius: 22px; gap: 20px; }
  .topic-panel > div { padding: 0 6px 8px; }
  .topic-panel h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 380px) {
  .hero-shell h1, .page-intro h1 { font-size: 33px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .media-pane, .note-grid article { padding-inline: 18px; }
  .watch-item, .manga-card-body { padding: 14px; }
}

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

@media print {
  .site-header, .site-footer, .menu-toggle, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .page-intro { width: 100%; padding: 24px 0; }
  a { color: #000; text-decoration: underline; }
  .feature-card, .manga-card, .watch-item, .topic-panel, .video-row { box-shadow: none; break-inside: avoid; }
}

/* Individual work detail */
.work-detail { width: 100%; }
.work-hero {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 70px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: center;
}
.work-hero-copy h1 {
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.work-hero-copy > p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.work-hero > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px 30px 30px 9px; background: var(--bg-soft); box-shadow: var(--shadow); }
.back-link { display: inline-flex; margin-bottom: 20px; color: var(--primary-deep); font-weight: 800; }
.work-body {
  width: min(calc(100% - 36px), 980px);
  margin: 0 auto;
  padding: 58px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 44px;
  align-items: start;
}
.work-copy h2 { margin: 0; color: var(--ink); font-size: 34px; }
.work-copy > p:not(.eyebrow) { color: #5e596d; font-size: 16px; line-height: 1.95; }
.work-side { padding: 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; position: sticky; top: 100px; }
.work-side strong { display: block; margin-bottom: 8px; color: var(--ink); }
.work-side a { display: block; padding: 9px 0; color: var(--muted); border-bottom: 1px dashed rgba(36,34,53,.13); }
.work-side a:last-child { border-bottom: 0; }
.work-side a:hover { color: var(--primary-deep); }
.related-work { padding-top: 40px; padding-bottom: 100px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.related-card { overflow: hidden; padding-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.related-card span, .related-card strong { display: block; padding-inline: 16px; }
.related-card span { margin-top: 13px; color: var(--primary-deep); font-size: 11px; font-weight: 800; }
.related-card strong { margin-top: 4px; color: var(--ink); line-height: 1.4; }
.related-card:hover strong { color: var(--primary-deep); }
.watch-item h3 a:hover { color: var(--primary-deep); }

/* Subtle reveal enhancement; content stays visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .manga-card,
  .watch-item,
  .topic-panel { transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease; }
  .feature-card:hover,
  .manga-card:hover,
  .watch-item:hover,
  .topic-panel:hover { transform: translateY(-3px); border-color: rgba(124,92,231,.24); box-shadow: 0 18px 44px rgba(63,48,105,.11); }
}

@media (max-width: 980px) {
  .work-hero { grid-template-columns: minmax(0,1fr) 340px; gap: 34px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .work-hero { grid-template-columns: 1fr; padding-top: 48px; }
  .work-hero > img { max-width: 620px; }
  .work-body { grid-template-columns: 1fr; }
  .work-side { position: static; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .work-side strong { grid-column: 1 / -1; }
  .work-side a { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px; text-align: center; }
}
@media (max-width: 620px) {
  .work-hero, .work-body { width: min(calc(100% - 24px), var(--max)); }
  .work-hero { padding-top: 36px; gap: 26px; }
  .work-hero-copy h1 { font-size: 38px; }
  .work-body { padding-top: 40px; gap: 28px; }
  .work-side { grid-template-columns: 1fr; }
  .work-side strong { grid-column: auto; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Accessible native FAQ, useful even when JavaScript is unavailable. */
.faq-section { padding-top: 48px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; align-items: start; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}
.faq-list details[open] { border-color: rgba(124,92,231,.28); box-shadow: var(--shadow-soft); }
.faq-list summary {
  position: relative;
  padding: 18px 48px 18px 19px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 17px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 19px 18px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* Additional layout polish for large displays and accessibility preferences. */
@media (min-width: 1280px) {
  .hero-shell { padding-top: 88px; padding-bottom: 78px; }
  .hero-copy { padding-left: 8px; }
  .hero-art { transform: rotate(.25deg); }
  .feature-grid { gap: 20px; }
  .media-split { gap: 26px; }
  .watch-layout { gap: 44px; }
  .manga-grid { gap: 22px; }
  .video-catalog { gap: 32px; }
  .topic-stack { gap: 26px; }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark { transform: rotate(-3deg) translateY(-1px); }
  .brand-mark { transition: transform .2s ease; }
  .hero-art img,
  .page-intro img,
  .video-thumb img,
  .topic-panel img,
  .manga-card img,
  .related-card img { transition: transform .35s ease, filter .35s ease; }
  .hero-art:hover img { transform: scale(1.012); }
  .feature-card:hover > img,
  .manga-card:hover img,
  .related-card:hover img { transform: scale(1.02); }
  .video-row:hover .video-thumb img,
  .topic-panel:hover img { transform: scale(1.01); }
  .info-links a,
  .matrix-grid a,
  .route-list a { transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
  .matrix-grid a:hover { transform: translateY(-2px); background: #ebe6f7; }
}

/* Keep image areas stable before user-provided WebP files finish loading. */
.hero-art img,
.page-intro img,
.feature-card > img,
.watch-item img,
.manga-card img,
.video-thumb img,
.topic-panel img,
.guide-visual img,
.related-card img {
  color: transparent;
  background-image: linear-gradient(115deg, rgba(124,92,231,.06), rgba(232,183,216,.08));
}

/* Typography refinements for long Chinese titles and mixed Latin tokens. */
.hero-shell h1,
.page-intro h1,
.work-hero-copy h1,
.section-heading h2,
.topic-panel h2,
.video-copy h2,
.collection-row h2 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.card-body h3,
.watch-item h3,
.manga-card h3,
.related-card strong,
.route-list strong { text-wrap: pretty; }

/* Compact landscape phones: prioritize useful content over decorative height. */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 920px) {
  .site-header { position: relative; }
  .header-inner { min-height: 58px; }
  .site-nav { inset: 58px 12px auto 12px; max-height: calc(100vh - 72px); overflow: auto; }
  .hero-shell { padding-top: 26px; padding-bottom: 34px; grid-template-columns: 1.15fr .85fr; }
  .hero-art img { aspect-ratio: 16 / 10; }
  .page-intro { padding-top: 28px; padding-bottom: 30px; grid-template-columns: 1.15fr .85fr; }
  .page-intro img { aspect-ratio: 16 / 10; }
  .work-hero { padding-top: 30px; padding-bottom: 34px; grid-template-columns: 1.1fr .9fr; }
}

/* Windows high-contrast / forced-colors support. */
@media (forced-colors: active) {
  .button,
  .site-nav a,
  .feature-card,
  .manga-card,
  .watch-item,
  .video-row,
  .topic-panel,
  .route-list a,
  .faq-list details,
  .related-card { border: 1px solid ButtonText; }
  .brand-mark,
  .button.primary,
  .button.secondary { forced-color-adjust: none; }
  .tag,
  .chapter-chip,
  .duration-chip,
  .count-chip { border: 1px solid ButtonText; }
  .site-nav a.active::after { background: Highlight; }
}

/* Very wide screens retain a comfortable reading measure. */
@media (min-width: 1600px) {
  :root { --max: 1240px; }
  .hero-copy { max-width: 720px; }
  .page-intro > div:first-child { max-width: 760px; }
  .watch-item p { max-width: 760px; }
  .video-copy { max-width: 650px; }
  .topic-panel > div { max-width: 720px; }
}

/* Small-screen spacing safeguards for dense cards. */
@media (max-width: 520px) {
  .meta-line { row-gap: 5px; }
  .tag { white-space: nowrap; }
  .watch-item .meta-line { margin-bottom: 3px; }
  .manga-card-body, .card-body { min-width: 0; }
  .faq-list summary { padding-right: 46px; }
  .route-list p, .manga-card p, .watch-item p { overflow-wrap: anywhere; }
  .hero-points { gap: 6px; }
  .hero-points span { padding-inline: 9px; }
  .footer-grid { gap: 26px; }
  .section-heading { margin-bottom: 22px; }
  .video-catalog { gap: 18px; }
  .topic-stack { gap: 18px; }
}
