/* 黄果漫剧 2026 · 原创动态漫画企划馆 */
:root {
  --bg: #0c1021;
  --surface: #151a32;
  --surface-soft: #1d2442;
  --text: #f6f5ff;
  --muted: #adb5d0;
  --coral: #ffb17b;
  --violet: #9f89ff;
  --line: rgba(255, 255, 255, .13);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: -50px; left: 1rem; padding: .5rem 1rem; background: white; color: black; }
.skip:focus { top: 8px; }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: #10142a; }
.header-inner, .brand, .main-nav, .footer-inner, .footer-inner nav { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand-symbol { display: grid; place-items: center; position: relative; width: 52px; height: 52px; background: linear-gradient(135deg, #ae92ff, #fc9d92); border-radius: 17px; font-size: 29px; font-weight: 950; color: #10142a; line-height: 1; }
.brand-symbol span { position: absolute; top: 6px; right: 5px; font-size: 10px; }
.brand strong { display: block; font-size: 21px; line-height: 1.1; letter-spacing: .05em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.main-nav { gap: 25px; flex-wrap: wrap; }
.main-nav a { font-size: 14px; color: #d9d9eb; white-space: nowrap; }
.main-nav a:hover, .footer-inner a:hover { color: var(--coral); }
.header-link { border: 1px solid var(--line); padding: 8px 18px; border-radius: 30px; font-size: 13px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr) 30px; position: relative; min-height: 650px; padding-top: 54px; gap: 24px; }
.hero-copy { position: relative; z-index: 1; padding: 45px 0 20px; }
.kicker, .section-num, .side-index { color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.pulse { display: inline-block; width: 7px; height: 7px; background: #fcba8c; border-radius: 50%; margin-right: 8px; }
.hero-overline { margin: 48px 0 12px; font-size: 14px; color: #d3c9e7; letter-spacing: .16em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(38px, 4vw, 68px); line-height: 1.26; letter-spacing: -.05em; margin: 0; font-weight: 900; }
.hero h1 span { display: inline-block; background: linear-gradient(120deg, #f9c295, #ab95ff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-summary { font-size: 14px; color: var(--muted); line-height: 2; max-width: 540px; margin: 25px 0 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 24px; font-weight: 700; font-size: 14px; border-radius: 100px; }
.btn-primary { color: #17162b; background: linear-gradient(100deg, #ffc69d, #d4b1ff); }
.btn-outline { border: 1px solid var(--line); }
.hero-index { display: flex; gap: 25px; margin-top: 54px; color: var(--muted); font-size: 11px; }
.hero-index b { display: block; color: white; font-size: 25px; }
.hero-art { position: relative; height: 570px; align-self: center; border-radius: 44% 44% 16px 16px; overflow: hidden; background: #242745; }
.hero-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,39,.35), transparent 60%), linear-gradient(0deg, rgba(10,12,25,.65), transparent 30%); pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.art-marker { position: absolute; bottom: 21px; left: 24px; z-index: 1; color: white; letter-spacing: .15em; font-size: 11px; }
.vertical-note { position: absolute; right: 22px; top: 25%; z-index: 1; writing-mode: vertical-rl; letter-spacing: .2em; font-size: 10px; }
.hero-side { align-self: center; writing-mode: vertical-rl; color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.hero-side span { padding-top: 20px; color: var(--coral); }
.intro-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 0; border-block: 1px solid var(--line); text-align: center; color: #b8bfd6; font-size: 11px; letter-spacing: .16em; }
.category-section, .library, .faq { padding-block: 90px 25px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 29px; }
.section-heading h2 { font-size: clamp(27px, 3vw, 42px); line-height: 1.3; margin: 9px 0 0; }
.section-heading p { max-width: 350px; color: var(--muted); font-size: 14px; }
.world-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr; gap: 15px; }
.world { min-height: 355px; border-radius: var(--radius); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; isolation: isolate; }
.world:after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5,7,22,.9), rgba(5,7,22,.08) 75%); }
.world img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.world:hover img { transform: scale(1.06); }
.world span, .world small { color: #e6dcff; font-size: 11px; letter-spacing: .08em; }
.world strong { font-size: 29px; line-height: 1.4; }
.world small { margin-top: 7px; }
.library { padding-top: 100px; }
.library-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; }
.library-aside { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.library-aside h3 { font-size: 26px; line-height: 1.5; margin: 18px 0; }
.library-aside p { font-size: 13px; color: var(--muted); }
.side-links { display: grid; gap: 13px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }
.side-links a { font-size: 13px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.card-image { display: block; aspect-ratio: 1.35; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-image:hover img { transform: scale(1.06); }
.image-arrow { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(10,12,23,.78); border-radius: 100%; }
.card-copy { padding: 19px; }
.eyebrow { color: var(--coral); font-size: 11px; font-weight: 700; }
.card-copy h3 { font-size: 19px; margin: 5px 0 10px; }
.card-copy p { color: var(--muted); font-size: 12px; min-height: 49px; line-height: 1.8; }
.text-link { color: #ddd0ff; font-size: 12px; }
.manifesto { margin-top: 90px; min-height: 420px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; background: #252a48; }
.manifesto-art img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-copy { padding: clamp(35px, 6vw, 70px); align-self: center; }
.manifesto-copy h2 { font-size: clamp(32px, 4vw, 55px); line-height: 1.3; margin: 14px 0; }
.manifesto-copy em { font-style: normal; color: #e0aafa; }
.manifesto-copy p { color: #c1c7db; font-size: 14px; margin-bottom: 30px; }
.faq { padding-bottom: 110px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.faq-grid article { padding: 28px; background: var(--surface); border-radius: var(--radius); }
.faq-grid h3 { font-size: 17px; }
.faq-grid p { font-size: 13px; color: var(--muted); }
.site-footer { background: #12162b; border-top: 1px solid var(--line); }
.footer-inner { justify-content: space-between; gap: 30px; padding-block: 35px; }
.footer-inner strong { font-size: 22px; }
.footer-inner p { max-width: 640px; font-size: 12px; color: var(--muted); }
.footer-inner nav { gap: 16px; flex-wrap: wrap; font-size: 13px; }
.copyright { padding-bottom: 28px; color: #8890a8; font-size: 11px; }
.breadcrumb { padding: 34px 0; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--coral); }
.category-heading { padding: 65px 0; border-bottom: 1px solid var(--line); }
.category-heading h1, .article-intro h1, .text-page h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.25; margin: 18px 0; }
.category-heading p { color: var(--muted); max-width: 720px; }
.category-cards { grid-template-columns: repeat(3, 1fr); padding-top: 35px; }
.category-tail { max-width: 850px; padding: 55px 0 90px; }
.category-tail p { color: var(--muted); }
.article-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 28px 0 50px; }
.article-intro figure { margin: 0; }
.article-intro img { width: 100%; border-radius: 25px; }
.article-intro figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
.article-lead { font-size: 19px; line-height: 1.85; color: #d0cde6; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.article-meta span { border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; font-size: 11px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 65px; padding-bottom: 110px; }
.article-prose { max-width: 760px; }
.article-section { border-top: 1px solid var(--line); padding: 28px 0; }
.article-section h2 { font-size: 24px; }
.article-section p { color: #bfc6dc; line-height: 2.15; }
.article-sidebar { align-self: start; background: var(--surface); border-radius: 22px; padding: 22px; }
.article-sidebar h2 { font-size: 17px; }
.article-sidebar>a:not(.more-category) { display: flex; gap: 12px; margin: 18px 0; align-items: center; font-size: 13px; }
.article-sidebar img { width: 85px; height: 68px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-sidebar small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.more-category { display: inline-block; color: var(--coral); font-size: 12px; margin-top: 20px; }
.text-page { max-width: 900px; padding-block: 90px 110px; }
.text-page section { border-top: 1px solid var(--line); padding: 25px 0; }
.text-page section h2 { font-size: 26px; }
.text-page section p { color: var(--muted); line-height: 2.15; }
@media (max-width: 1100px) {
  .header-link { display: none; }
  .main-nav { gap: 13px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-side { display: none; }
  .hero-index { gap: 12px; }
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .library-layout { grid-template-columns: 1fr; }
  .library-aside { position: static; }
  .side-links { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 600px); }
  .header-inner { flex-wrap: wrap; padding: 15px 0; }
  .main-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 18px; }
  .hero-copy { padding-top: 15px; }
  .hero-overline { margin-top: 30px; }
  .hero-index { margin-top: 27px; }
  .hero-art { height: 340px; border-radius: 100px 100px 15px 15px; }
  .intro-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section-heading { display: block; }
  .category-section, .library { padding-top: 65px; }
  .world-grid { gap: 12px; }
  .world { min-height: 245px; padding: 16px; }
  .world strong { font-size: 22px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-copy { padding: 13px; }
  .card-copy h3 { font-size: 17px; }
  .side-links { grid-template-columns: repeat(2, 1fr); }
  .manifesto, .article-intro, .article-layout { grid-template-columns: 1fr; }
  .manifesto-art { height: 300px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: start; }
  .article-layout { gap: 25px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 36px; }
  .hero-index { font-size: 10px; }
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world { min-height: 210px; }
  .world strong { font-size: 18px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card-image { aspect-ratio: 1.65; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
