
:root {
  --red-950: #170d0f;
  --red-900: #241013;
  --red-800: #3a161a;
  --red-700: #5a1f25;
  --gold: #d2a85b;
  --gold-soft: #ead5a7;
  --paper: #f3ead8;
  --ink: #1c1918;
  --charcoal: #211f1e;
  --muted: #aa9f93;
  --line: rgba(210, 168, 91, .28);
  --radius: 4px;
  --display: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--red-950); }
body { margin: 0; color: var(--paper); background: var(--red-950); font-family: var(--sans); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: var(--ink); background: var(--gold-soft); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(23, 13, 15, .96); backdrop-filter: blur(16px); }
.header-inner { width: min(1500px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 196px; }
.brand-mark { width: 40px; height: 46px; display: grid; place-items: center; color: var(--ink); background: var(--gold); font: 700 15px/1 var(--display); clip-path: polygon(0 0,100% 0,100% 38%,88% 50%,100% 62%,100% 100%,0 100%,0 62%,12% 50%,0 38%); }
.brand strong { display: block; color: var(--gold-soft); font: 700 20px/1.15 var(--display); letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .17em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.7vw, 28px); flex: 1; }
.main-nav a { color: #d7cbc0; font-size: 13px; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }
.ticket-link { padding: 8px 15px; border: 1px solid var(--gold); color: var(--gold-soft); font-size: 12px; letter-spacing: .04em; }
.kicker { margin: 0 0 12px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--gold); font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-ghost { color: var(--gold-soft); background: transparent; }
.hero { width: min(1500px, calc(100% - 40px)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.25fr; align-items: center; gap: clamp(34px, 6vw, 100px); padding: 64px 0 76px; }
.hero-copy h1 { max-width: 700px; margin: 0; font: 600 clamp(42px, 5vw, 78px)/1.13 var(--display); letter-spacing: -.035em; }
.hero-lead { max-width: 650px; margin: 24px 0; color: #c6b8ad; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.ticket-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 30px 0 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.ticket-facts div { padding: 14px 8px; border-right: 1px dashed var(--line); }
.ticket-facts div:last-child { border: 0; }
.ticket-facts dt { color: var(--muted); font-size: 11px; }
.ticket-facts dd { margin: 2px 0 0; color: var(--gold-soft); font-weight: 700; }
.hero-visual { position: relative; margin: 0; padding: 16px; border: 1px solid var(--line); background: #120b0c; box-shadow: 0 32px 80px rgba(0,0,0,.35); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; top: 45%; width: 25px; height: 56px; background: var(--red-950); border: 1px solid var(--line); border-radius: 50%; z-index: 2; }
.hero-visual::before { left: -13px; } .hero-visual::after { right: -13px; }
.hero-visual img { width: 100%; filter: saturate(.8) contrast(1.05); }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.hero-visual figcaption span { color: var(--gold); letter-spacing: .16em; }
.trust-strip { width: min(1500px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--red-900); }
.trust-strip p { margin: 0; padding: 20px; display: flex; gap: 14px; border-right: 1px solid var(--line); }
.trust-strip p:last-child { border: 0; }
.trust-strip b { color: var(--gold); font: 700 23px/1 var(--display); }
.trust-strip span, .trust-strip strong { display: block; }
.trust-strip strong { color: var(--paper); font-size: 13px; }
.trust-strip span { color: var(--muted); font-size: 11px; line-height: 1.6; }
.section-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 38px; }
.section-heading h2, .section-shell > h2 { margin: 0; font: 600 clamp(30px, 3vw, 48px)/1.2 var(--display); }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.channel-card { min-height: 300px; padding: 32px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(90,31,37,.25), transparent); }
.channel-card > span { color: rgba(210,168,91,.35); font: 700 52px/1 var(--display); }
.channel-card small { margin-top: -18px; color: var(--gold); letter-spacing: .15em; }
.channel-card h3 { margin: 26px 0 8px; font: 600 27px/1.2 var(--display); }
.channel-card p { margin: 0 0 20px; color: var(--muted); }
.channel-card b { margin-top: auto; color: var(--gold-soft); font-size: 13px; }
.channel-card:hover { background: var(--red-800); }
.featured-section { width: auto; max-width: none; padding-left: max(20px, calc((100vw - 1320px)/2)); padding-right: max(20px, calc((100vw - 1320px)/2)); background: var(--paper); color: var(--ink); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 310px; padding: 26px; display: flex; flex-direction: column; border: 1px solid rgba(69,42,29,.18); background: #fbf6eb; color: var(--ink); }
.article-card::before { content: ""; align-self: center; width: 28px; height: 12px; margin-top: -33px; border-radius: 0 0 30px 30px; background: var(--paper); border: 1px solid rgba(69,42,29,.16); border-top: 0; }
.card-meta { display: flex; justify-content: space-between; margin-top: 16px; color: #7a5b35; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.article-card h3 { margin: 24px 0 12px; font: 600 23px/1.35 var(--display); }
.article-card h3 a:hover { color: #7b272e; }
.article-card p { margin: 0; color: #655d55; font-size: 14px; }
.read-more { margin-top: auto; padding-top: 24px; color: #7b272e; font-size: 13px; font-weight: 800; }
.deep-guide { position: relative; width: min(1500px, calc(100% - 40px)); margin: 100px auto; min-height: 720px; display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 30% 30%, #6a292c, #261315 54%, #170d0f); }
.deep-number { display: grid; place-items: center; color: rgba(210,168,91,.14); font: 700 min(42vw, 550px)/1 var(--display); letter-spacing: -.14em; transform: translateX(-6%); }
.deep-copy { padding: clamp(48px, 7vw, 110px); background: rgba(20,11,12,.6); }
.deep-copy h2 { margin: 0; font: 600 clamp(36px, 4vw, 58px)/1.15 var(--display); }
.deep-copy > p:not(.kicker) { color: #c5b7aa; }
.deep-copy ol { margin: 34px 0; padding: 0; list-style: none; border-top: 1px dashed var(--line); }
.deep-copy li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.deep-copy li > span { color: var(--gold); font: 700 20px/1.4 var(--display); }
.deep-copy li b, .deep-copy li small { display: block; }
.deep-copy li small { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 4px; cursor: pointer; color: var(--gold-soft); font: 600 20px/1.4 var(--display); }
.faq-list details p { max-width: 820px; margin: -6px 0 24px 28px; color: var(--muted); }
.text-link { color: var(--gold); font-weight: 700; }
.comments-section { width: min(1500px, calc(100% - 40px)); margin: 0 auto 100px; padding: 64px; color: var(--ink); background: var(--gold-soft); }
.comments-section .kicker { color: #7b272e; }
.comments-section .section-heading p { color: #6b5840; }
.comment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.comment-grid blockquote { margin: 0; padding: 24px; border: 1px dashed rgba(89,52,31,.35); background: rgba(255,255,255,.28); }
.comment-grid blockquote p { margin: 0 0 18px; font: 600 18px/1.6 var(--display); }
.comment-grid footer { color: #785b36; font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); background: #100a0b; }
.footer-grid { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-grid p { color: var(--muted); }
.footer-brand { color: var(--gold-soft) !important; font: 600 24px/1.2 var(--display); }
.footer-title { color: var(--paper) !important; font-weight: 800; }
.footer-grid > div > a { display: block; margin: 7px 0; color: var(--muted); font-size: 13px; }
.status-card { padding: 24px; border: 1px dashed var(--line); }
.status-card span, .status-card strong, .status-card small { display: block; }
.status-card span { color: var(--muted); font-size: 11px; }
.status-card strong { margin: 6px 0; color: var(--gold); font: 600 22px/1.2 var(--display); }
.status-card small { color: #d1c3b7; }
.footer-bottom { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #776c65; font-size: 11px; }
.page-banner { position: relative; width: min(1500px, calc(100% - 40px)); min-height: 420px; margin: 0 auto; padding: 70px max(24px, 7vw); display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: radial-gradient(circle at 80% 40%, #63252b, #2a1316 55%, #170d0f); }
.page-banner.compact { min-height: 350px; }
.page-banner h1 { position: relative; max-width: 900px; margin: 0; font: 600 clamp(40px, 5vw, 70px)/1.12 var(--display); }
.page-banner > p:not(.kicker) { position: relative; max-width: 720px; color: #c9bbb0; }
.banner-stamp { position: absolute; right: 5%; bottom: -10%; color: rgba(210,168,91,.11); font: 800 clamp(70px, 10vw, 150px)/1 var(--display); white-space: nowrap; }
.breadcrumbs { position: absolute; top: 30px; left: max(24px, 7vw); display: flex; gap: 12px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--gold-soft); }
.breadcrumbs i { font-style: normal; }
.listing-page > .section-shell { padding-top: 76px; }
.listing-page .article-card { background: #211719; color: var(--paper); border-color: var(--line); }
.listing-page .article-card::before { background: var(--red-950); border-color: var(--line); }
.listing-page .article-card p { color: var(--muted); }
.listing-page .article-card .card-meta, .listing-page .article-card .read-more { color: var(--gold); }
.next-ticket { width: min(1320px, calc(100% - 40px)); margin: 0 auto 90px; padding: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border: 1px dashed var(--line); }
.next-ticket > span { color: var(--gold); font: 700 30px/1 var(--display); }
.next-ticket b { color: var(--paper); }.next-ticket p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.article-hero { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 60px; }
.article-hero .breadcrumbs { position: static; margin-bottom: 54px; }
.article-hero h1 { max-width: 1000px; margin: 0; font: 600 clamp(42px, 5.5vw, 76px)/1.13 var(--display); }
.article-deck { max-width: 820px; margin: 24px 0; color: #c8baae; font-size: 19px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.byline a { color: var(--gold); font-weight: 700; }
.article-layout { width: min(1100px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 730px) 270px; gap: 80px; align-items: start; }
.article-body { padding: 56px clamp(24px, 5vw, 70px); color: var(--ink); background: var(--paper); }
.article-body section + section { margin-top: 46px; }
.article-body h2 { margin: 0 0 18px; font: 600 34px/1.25 var(--display); }
.article-body h3 { margin: 18px 0 8px; font: 600 21px/1.35 var(--display); }
.article-body p { color: #514a45; font-size: 17px; line-height: 1.95; }
.scope-note { margin-bottom: 46px; padding: 20px; border: 1px dashed #a77748; background: #ead9b8; }
.scope-note b { color: #7b272e; }.scope-note p { margin: 4px 0 0; font-size: 14px; }
.checklist-box { padding: 28px; border: 2px solid #8b5734; background: #f8f0df; }
.checklist-box .kicker { color: #7b272e; }
.checklist-box ul { margin: 0; padding: 0; list-style: none; }
.checklist-box li { padding: 10px 0; border-bottom: 1px dashed #c7aa81; }
.checklist-box li span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; color: var(--paper); background: #7b272e; }
.mini-faq { border-top: 3px solid #7b272e; }
.article-rail { position: sticky; top: 110px; display: grid; gap: 14px; }
.rail-card { padding: 22px; border: 1px solid var(--line); background: var(--red-900); }
.rail-card > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.rail-card > a { color: var(--gold-soft); font: 600 23px/1.3 var(--display); }
.rail-card p { margin: 0; color: #b9aaa0; font-size: 13px; }
.rail-card.warning { border-style: dashed; }
.tag-links { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-links a { padding: 4px 8px; color: var(--gold-soft); background: var(--red-800); font-size: 12px; }
.related-section { padding-top: 110px; }
.two-column { grid-template-columns: repeat(2,1fr); }
.tag-index-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 36px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tag-index-card { padding: 28px; display: flex; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tag-index-card span { color: var(--gold-soft); font: 600 20px/1.3 var(--display); }
.tag-index-card small { color: var(--muted); }
.author-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.author-card { padding: 36px; border: 1px solid var(--line); background: var(--red-900); }
.avatar { width: 64px; height: 64px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font: 700 28px/1 var(--display); }
.avatar.large { width: 80px; height: 80px; font-size: 36px; }
.author-card h3 { margin: 0; font: 600 30px/1.3 var(--display); }
.author-card b { color: var(--gold); font-size: 12px; }
.author-card p { color: var(--muted); }
.author-banner strong { color: var(--gold); }
.utility-page .section-shell { padding-top: 70px; }
.checklist-page > h2, .glossary-page > h2, .editorial-log > h2 { margin-bottom: 36px; }
.checklist-page ol { padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; list-style: none; }
.checklist-page li { padding: 24px; display: flex; gap: 18px; border: 1px solid var(--line); background: var(--red-900); }
.checklist-page li > span { color: var(--gold); font: 700 30px/1 var(--display); }
.checklist-page h3 { margin: 0; font: 600 22px/1.3 var(--display); }
.checklist-page p { margin: 5px 0 0; color: var(--muted); }
.checklist-page .scope-note { max-width: 900px; margin-top: 34px; color: var(--ink); }
.glossary-page dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.glossary-page dl div { padding: 24px; border: 1px solid var(--line); background: var(--red-900); }
.glossary-page dt { color: var(--gold-soft); font: 600 23px/1.3 var(--display); }
.glossary-page dd { margin: 8px 0 0; color: var(--muted); }
.editorial-log ol { max-width: 900px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.editorial-log li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.editorial-log time { color: var(--gold); font-weight: 700; }
.editorial-log p { margin: 0; color: var(--muted); }
.prose-page { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; }
.prose-page section { margin-bottom: 46px; }
.prose-page h2 { margin: 0 0 12px; font: 600 32px/1.3 var(--display); color: var(--gold-soft); }
.prose-page p { color: #c8b9ad; font-size: 17px; }
.last-updated { padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted) !important; font-size: 12px !important; }
.not-found { min-height: 650px; display: grid; place-items: center; padding: 60px 20px; text-align: center; background: radial-gradient(circle at center, #4c1c21, #170d0f 65%); }
.not-found section { max-width: 720px; }
.error-number { margin: 0; color: rgba(210,168,91,.2); font: 700 clamp(120px, 20vw, 260px)/.7 var(--display); }
.not-found h1 { margin: 20px 0; font: 600 clamp(36px, 5vw, 60px)/1.2 var(--display); }
.not-found h2 { margin-top: 35px; font: 600 22px/1.2 var(--display); }
.not-found .hero-actions { justify-content: center; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .ticket-link { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 24px; }
  .channel-grid, .article-grid { grid-template-columns: repeat(2,1fr); }
  .deep-guide { grid-template-columns: .6fr 1.4fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .status-card { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .header-inner, .hero, .trust-strip, .deep-guide, .comments-section, .page-banner { width: min(100% - 24px, 1500px); }
  .section-shell, .footer-grid, .footer-bottom, .article-hero, .article-layout, .next-ticket { width: min(100% - 32px, 1320px); }
  .ticket-link { display: none; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 60px); }
  .ticket-facts, .trust-strip, .channel-grid, .article-grid, .comment-grid, .tag-index-grid, .author-grid, .checklist-page ol, .glossary-page dl { grid-template-columns: 1fr; }
  .trust-strip p { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-shell { padding: 70px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .deep-guide { grid-template-columns: 1fr; margin: 60px auto; }
  .deep-number { min-height: 230px; font-size: 210px; }
  .comments-section { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child, .status-card { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-rail { position: static; grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; }
  .next-ticket { grid-template-columns: 1fr; }
  .page-banner { min-height: 390px; }
  .breadcrumbs { overflow-x: auto; white-space: nowrap; max-width: calc(100% - 48px); }
}
@media (max-width: 500px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 17px; }
  .main-nav { gap: 18px; }
  .hero-actions .button { width: 100%; }
  .ticket-facts { grid-template-columns: 1fr; }
  .ticket-facts div { border-right: 0; border-bottom: 1px dashed var(--line); }
  .ticket-facts div:last-child { border-bottom: 0; }
  .hero-visual { padding: 8px; }
  .channel-card { min-height: 260px; }
  .deep-copy { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .status-card { grid-column: auto; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .article-body { padding: 36px 22px; }
  .article-body h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
