@charset "UTF-8";

:root {
    color-scheme: dark;
    --ink: #0B0D0C;
    --night: #121514;
    --panel: #191D1C;
    --panel-raised: #202624;
    --green: #1F7A5C;
    --green-soft: #3B5950;
    --amber: #D48858;
    --paper: #E6E3DC;
    --muted: #969C99;
    --line: rgba(150, 156, 153, .22);
    --line-strong: rgba(150, 156, 153, .38);
    --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --shell: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--night);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: .015em;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 100% 5px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--green); }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 8px 14px; background: var(--amber); color: var(--ink);
}
.skip-link:focus { top: 12px; }
.site-header {
    position: relative; z-index: 10;
    background: rgba(11,13,12,.96);
    border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-lockup img { width: 42px; height: 42px; object-fit: contain; }
.brand-lockup strong { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.25; letter-spacing: .08em; }
.brand-lockup small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-nav a { color: #C0C5C1; font-size: 13px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--amber); }
.header-mark {
    border: 1px solid var(--green-soft); color: #D7DED9; padding: 7px 12px;
    font-size: 12px; letter-spacing: .05em; white-space: nowrap;
}
.header-mark span { color: var(--amber); margin-left: 8px; }
.entry-band { background: linear-gradient(112deg, #0B0D0C 0%, #111916 55%, #121514 100%); border-bottom: 1px solid var(--line); }
.entry-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.75fr); gap: 64px; padding-block: 42px 38px; align-items: center; }
.eyebrow { margin: 0 0 13px; color: #AAB5AF; font-size: 11px; letter-spacing: .16em; line-height: 1.5; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,122,92,.16); }
.entry-copy h1 { max-width: 730px; margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px,3.5vw,42px); line-height: 1.35; letter-spacing: .04em; }
.entry-lead { max-width: 690px; margin: 0; color: #B9C0BB; font-size: 15px; line-height: 2; }
.entry-facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); }
.entry-facts div { min-width: 0; }
.entry-facts span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.entry-facts strong { display: block; margin-top: 3px; color: #D8DDD8; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.entry-card { padding: 20px 21px 18px; background: rgba(25,29,28,.92); border: 1px solid var(--line-strong); border-top: 2px solid var(--amber); }
.entry-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.amber-label { color: var(--amber); border: 1px solid rgba(212,136,88,.35); padding: 2px 7px; }
.entry-card h2 { margin: 13px 0 5px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.entry-card > p { margin: 0 0 13px; color: #ADB4AF; font-size: 12px; line-height: 1.9; }
.domain-box { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: #0E1210; border: 1px solid var(--line); }
.domain-box code { min-width: 0; color: #E8D4C4; font: 11px var(--mono); overflow-wrap: anywhere; }
.copy-button { flex: 0 0 auto; border: 1px solid var(--green-soft); background: var(--green); padding: 5px 9px; font-size: 11px; cursor: pointer; }
.copy-button:hover { background: #286F56; }
.entry-card .small-note { margin: 10px 0 5px; color: #818A85; font-size: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #D5B18F; font-size: 12px; border-bottom: 1px solid rgba(212,136,88,.35); padding-bottom: 2px; }
.text-link:hover { color: #F0C49E; border-color: var(--amber); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.4; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.screening-section { padding-block: 44px 50px; }
.film-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.film-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.film-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; background: #202724; }
.film-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(.96); transition: transform .5s ease, filter .5s ease; }
.film-image:hover img { transform: scale(1.035); filter: saturate(.9); }
.film-image::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.58)); pointer-events: none; }
.film-duration, .film-number { position: absolute; z-index: 1; bottom: 10px; color: #F1EDE5; font: 11px var(--mono); }
.film-duration { right: 11px; padding: 2px 6px; background: rgba(11,13,12,.72); }
.film-number { left: 12px; letter-spacing: .08em; }
.film-info { padding: 16px 17px 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span { border: 1px solid rgba(59,89,80,.7); color: #A8B8AF; padding: 1px 7px; font-size: 10px; line-height: 1.7; }
.film-info h3 { margin: 10px 0 5px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.film-info > p { min-height: 72px; margin: 0 0 12px; color: #AAB1AC; font-size: 12px; line-height: 1.9; }
.reading-section { padding-block: 43px 48px; background: #0E1210; border-block: 1px solid var(--line); }
.section-heading--line { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.reading-layout { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: 44px; }
.featured-reading { padding: 20px 24px 22px; background: #171D1A; border: 1px solid var(--line); border-left: 2px solid var(--green); }
.chapter-stamp { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; color: var(--muted); font-size: 10px; }
.chapter-stamp strong { color: var(--amber); font: 26px var(--mono); }
.featured-reading h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.5; }
.reading-intro { margin: 0 0 14px; color: #AEB6B0; font-size: 12px; }
.featured-reading blockquote { margin: 0 0 17px; padding: 12px 0 12px 16px; border-left: 1px solid var(--amber); color: #D1D0C9; font-family: var(--serif); font-size: 14px; line-height: 2; }
.reading-list { display: flex; flex-direction: column; }
.reading-item { display: grid; grid-template-columns: 55px 1fr auto; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: start; }
.reading-index { color: var(--amber); font: 10px var(--mono); padding-top: 4px; }
.reading-item h3 { margin: 0 0 3px; font-family: var(--serif); font-size: 16px; font-weight: 500; }
.reading-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.reading-item time { color: #7E8781; font: 10px var(--mono); white-space: nowrap; padding-top: 5px; }
.reading-note { margin-top: 17px; padding: 11px 13px; border: 1px dashed var(--line-strong); }
.reading-note strong { color: #D7B28F; font-size: 11px; }
.reading-note p { margin: 3px 0 0; color: #87918B; font-size: 10px; line-height: 1.8; }
.collection-section { padding-block: 45px 50px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.collection-card { display: flex; flex-direction: column; min-height: 195px; padding: 18px 19px 15px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.collection-card:hover { border-color: var(--green-soft); transform: translateY(-2px); }
.collection-code, .archive-kicker { color: var(--amber); font: 10px var(--mono); letter-spacing: .1em; }
.collection-card h3 { margin: 13px 0 5px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.collection-card p { flex: 1; margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.collection-count { display: flex; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--line); color: #B9C1BB; font-size: 10px; }
.collection-count b { color: var(--amber); font-size: 15px; font-weight: 400; }
.tree-section { padding-block: 43px 48px; background: #171C1A; border-block: 1px solid var(--line); }
.tree-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 55px; }
.tree-intro h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.55; }
.tree-intro > p:not(.eyebrow) { margin: 0 0 17px; color: #A8B0AA; font-size: 12px; line-height: 2; }
.tree-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tree-note { padding: 15px 16px; background: #1D2320; border: 1px solid var(--line); }
.note-id { color: var(--amber); font: 10px var(--mono); }
.tree-note h3 { margin: 8px 0 5px; font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.55; }
.tree-note p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.tree-note .text-link { font-size: 10px; }
.relation-note { padding-block: 36px 42px; }
.relation-note h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.relation-note > p:last-child { max-width: 900px; margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.site-footer { padding-block: 28px 16px; background: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 22px; }
.footer-brand { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; }
.footer-grid p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: #8E9791; font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: #737D76; font-size: 10px; }
.footer-bottom a { color: #B4BDB6; }
.collection-page { padding-block: 38px 65px; }
.page-intro { max-width: 850px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(29px,4vw,40px); font-weight: 500; line-height: 1.4; }
.page-intro > p:not(.eyebrow) { max-width: 790px; margin: 0; color: #AEB6B0; font-size: 13px; line-height: 2; }
.page-intro__meta { display: flex; gap: 10px; margin-top: 17px; }
.page-intro__meta span { padding: 3px 9px; border: 1px solid var(--line); color: #A7B0A9; font-size: 10px; }
.archive-section { padding-top: 34px; scroll-margin-top: 24px; }
.archive-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.archive-heading h2 { margin: 5px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.archive-total { color: var(--muted); font: 11px var(--mono); }
.archive-description { max-width: 760px; margin: 12px 0 17px; color: var(--muted); font-size: 12px; }
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.archive-card { padding: 17px 18px; background: var(--panel); border: 1px solid var(--line); }
.archive-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--amber); font-size: 10px; }
.archive-card__meta time { color: #7F8982; font-family: var(--mono); }
.archive-card h3 { margin: 8px 0 4px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.archive-card p { margin: 0 0 12px; color: #A6AEA8; font-size: 12px; line-height: 1.9; }
.archive-card .text-link { font-size: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 23px; color: #7F8982; font-size: 11px; }
.breadcrumbs a { color: #C0C7C1; }
.article-page { padding-bottom: 58px; }
.article-body { max-width: 820px; margin: 0 auto; }
.article-header { padding: 16px 0 24px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(29px,4vw,42px); font-weight: 500; line-height: 1.42; }
.eyebrow-separator { color: var(--amber); margin-inline: 6px; }
.article-summary { margin: 0 0 16px; color: #B7BEB8; font-size: 14px; line-height: 2; }
.article-visual { margin: 25px 0 20px; }
.article-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.72); }
.article-visual figcaption { padding-top: 7px; color: #78837C; font-size: 10px; }
.article-content { padding-block: 14px 22px; }
.article-content p { margin: 0 0 20px; color: #D0D1CA; font-size: 15px; line-height: 2.15; }
.creator-note { margin-top: 28px; padding: 18px 20px; background: var(--panel); border-left: 2px solid var(--amber); }
.creator-note h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.creator-note p { margin: 0; color: #AEB6B0; font-size: 13px; }
.article-disclaimer { padding: 13px 16px; border: 1px dashed var(--line-strong); color: #9AA49D; }
.article-disclaimer strong { color: #D8B18F; font-size: 11px; }
.article-disclaimer p { margin: 4px 0 0; font-size: 11px; line-height: 1.8; }
.article-next { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: 820px; margin: 35px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.article-next h2 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.article-next > a { color: #D5B18F; font-size: 12px; }
.empty-state { margin-block: 75px 90px; padding: 36px; background: var(--panel); border: 1px solid var(--line); }
.empty-state h1 { margin: 0 0 8px; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.empty-state > p:not(.eyebrow) { color: var(--muted); }
.empty-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.button-link { display: inline-block; padding: 8px 15px; background: var(--green); border: 1px solid var(--green); color: #fff; font-size: 12px; }
.button-link:hover { background: #286F56; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (max-width: 900px) {
    .header-inner { gap: 18px; }
    .brand-lockup { min-width: 175px; }
    .primary-nav { gap: 16px; }
    .entry-layout { gap: 28px; }
    .entry-facts { grid-template-columns: 1fr 1fr; }
    .film-grid { gap: 12px; }
    .film-info { padding-inline: 13px; }
    .reading-layout { gap: 22px; }
    .tree-layout { gap: 28px; }
}
@media (max-width: 680px) {
    html { scroll-padding-top: 15px; }
    .shell { width: min(100% - 30px, var(--shell)); }
    .header-inner { min-height: auto; padding-block: 12px; flex-wrap: wrap; gap: 10px 16px; }
    .brand-lockup { min-width: 0; margin-right: auto; }
    .brand-lockup img { width: 36px; height: 36px; }
    .brand-lockup strong { font-size: 18px; }
    .header-mark { padding: 5px 8px; font-size: 10px; }
    .primary-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line); }
    .primary-nav a { font-size: 11px; }
    .entry-layout { grid-template-columns: 1fr; gap: 21px; padding-block: 28px 27px; }
    .entry-copy h1 { font-size: 29px; }
    .entry-lead { font-size: 13px; }
    .entry-facts { gap: 10px; margin-top: 19px; }
    .entry-facts strong { font-size: 11px; }
    .entry-card { padding: 16px; }
    .section-heading { display: block; margin-bottom: 17px; }
    .section-heading h2 { font-size: 24px; }
    .section-heading > p { margin-top: 8px; }
    .screening-section, .collection-section { padding-block: 30px 34px; }
    .film-grid { grid-template-columns: 1fr; gap: 14px; }
    .film-info > p { min-height: 0; }
    .reading-section, .tree-section { padding-block: 30px 34px; }
    .reading-layout { grid-template-columns: 1fr; gap: 17px; }
    .featured-reading { padding: 17px; }
    .reading-item { grid-template-columns: 45px 1fr; gap: 8px; }
    .reading-item time { grid-column: 2; padding-top: 0; }
    .collection-grid { grid-template-columns: 1fr; gap: 10px; }
    .collection-card { min-height: 0; }
    .tree-layout { grid-template-columns: 1fr; gap: 20px; }
    .tree-intro h2 { font-size: 23px; }
    .tree-list { grid-template-columns: 1fr; }
    .relation-note { padding-block: 27px 32px; }
    .footer-grid { display: block; }
    .footer-meta { align-items: flex-start; margin-top: 14px; }
    .footer-bottom { gap: 10px; flex-wrap: wrap; }
    .collection-page { padding-block: 26px 45px; }
    .page-intro h1 { font-size: 29px; }
    .archive-heading h2 { font-size: 21px; }
    .archive-grid { grid-template-columns: 1fr; }
    .archive-total { font-size: 9px; white-space: nowrap; }
    .article-header h1 { font-size: 29px; }
    .article-content p { font-size: 14px; line-height: 2.05; }
    .article-next { align-items: flex-start; flex-direction: column; }
    .empty-state { margin-block: 45px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.bookmark-live-region { margin: 8px 0 0; color: #D5B18F; font-size: 11px; }
@media print {
    body { background: #fff; color: #111; }
    .site-header, .site-footer, .header-mark, .copy-button, .article-next { display: none !important; }
    .article-content p, .archive-card p { color: #222; }
}
