/* 狼友视频 · 独立视觉档案馆主题 | 清晰分区，避免内联样式 */
:root {
  color-scheme: dark;
  --bg: #09111a;
  --surface: #111e2a;
  --surface-raised: #172636;
  --text: #f1f3f5;
  --muted: #a8b5c0;
  --gold: #f6be78;
  --border: rgba(218,231,243,.14);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 40px),var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -80px; background: var(--gold); color: #101820; padding: .4rem .8rem; z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--border); background: rgba(9,17,26,.97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: .04em; font-size: 22px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; color: #10171c; border-radius: 13px; background: var(--gold); font-size: 21px; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .2em; font-weight: 600; line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.site-nav a { font-size: 14px; color: #d4dee6; }
.site-nav a[aria-current="page"],.site-nav a:hover { color: var(--gold); }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; letter-spacing: .19em; font-weight: 750; font-size: 11px; text-transform: uppercase; color: var(--gold); }
.eyebrow:before { content: ""; width: 20px; height: 1px; background: currentColor; }
.hero { padding: 48px 0 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); align-items: center; gap: 55px; }
.hero-copy { padding: 26px 0; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(34px,4.1vw,59px); line-height: 1.21; letter-spacing: -.035em; margin: 22px 0; }
h1 span { color: var(--gold); }
.hero-copy>p { color: var(--muted); max-width: 570px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; aspect-ratio: 1.21; object-fit: cover; border-radius: 8px 84px 8px 8px; }
.hero-visual figcaption { position: absolute; right: 16px; bottom: 16px; background: rgba(7,15,24,.82); padding: 7px 13px; color: #d8e3ea; font-size: 12px; border-radius: 7px; }
.action-link { display: inline-flex; padding: 11px 22px; background: var(--gold); color: #17202a; font-weight: 750; border-radius: 7px; margin-top: 16px; }
.action-link:hover { background: #ffd49e; color: #101820; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #c7d2dc; font-size: 12px; letter-spacing: .07em; }
.hero-meta span:before { content: "•"; color: var(--gold); margin-right: 9px; }
.section { padding: 67px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.section-head h2 { font-size: clamp(26px,3vw,37px); line-height: 1.3; margin: 8px 0 0; }
.section-head p { color: var(--muted); margin-bottom: 0; max-width: 500px; font-size: 14px; }
.all-link { font-size: 13px; color: var(--gold); white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.category { border: 1px solid var(--border); background: var(--surface); min-height: 208px; padding: 24px; border-radius: 6px 26px 6px 6px; transition: transform .2s,border-color .2s; }
.category:hover { transform: translateY(-3px); border-color: var(--gold); }
.category .num { color: var(--gold); font-size: 12px; letter-spacing: .15em; }
.category h3 { font-size: 21px; margin: 22px 0 6px; }
.category p { color: var(--muted); margin: 0; font-size: 13px; }
.feature-band { padding: 56px 0; background: #0e1a25; border-block: 1px solid var(--border); }
.feature-band .container { display: grid; grid-template-columns: .36fr 1fr; gap: 35px; align-items: start; }
.feature-band h2 { font-size: 32px; line-height: 1.35; margin: 0; }
.feature-band p { color: #bdc9d3; margin: 0; }
.story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.story-card { display: block; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; transition: border-color .2s; }
.story-card:hover { border-color: rgba(246,190,120,.75); }
.card-graphic { position: relative; min-height: 165px; padding: 22px; overflow: hidden; display: flex; align-items: flex-end; background: radial-gradient(circle at 75% 5%,color-mix(in srgb,var(--accent),transparent 46%),transparent 55%),linear-gradient(140deg,#233d50,#101923); }
.card-graphic::before { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; right: -20px; top: -68px; }
.card-graphic::after { content: ""; position: absolute; width: 95px; height: 95px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; right: 47px; top: 13px; }
.card-graphic strong { font-size: 22px; position: relative; z-index: 1; letter-spacing: .04em; }
.card-graphic small { position: absolute; top: 20px; left: 22px; font-size: 10px; color: #d9e5ef; letter-spacing: .22em; }
.story-body { padding: 21px 22px 25px; }
.story-body .tag,.article-tag { display: inline-block; color: var(--gold); font-size: 11px; letter-spacing: .1em; margin-bottom: 8px; }
.story-body h3 { font-size: 18px; line-height: 1.45; margin: 0 0 10px; }
.story-body p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; }
.topic-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.topic-panel { border: 1px solid var(--border); padding: 29px; background: var(--surface); border-radius: 12px; }
.topic-panel h3 { font-size: 22px; }
.topic-panel p { color: var(--muted); font-size: 14px; }
.topic-panel a { color: var(--gold); font-size: 13px; font-weight: 700; }
.breadcrumb { color: var(--muted); font-size: 13px; padding: 29px 0 2px; }
.breadcrumb a { color: #c6d4dc; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 42px; padding: 39px 0 80px; }
.article-main { max-width: 780px; }
.article-main h1 { font-size: clamp(31px,4vw,46px); margin: 10px 0 18px; }
.article-lede { font-size: 19px; color: #cfdae1; border-left: 3px solid var(--gold); padding-left: 19px; margin: 28px 0 38px; }
.article-main h2 { font-size: 25px; margin: 38px 0 13px; }
.article-main p { color: #c9d3dc; line-height: 2; }
.article-panel { background: var(--surface); border: 1px solid var(--border); padding: 23px; border-radius: 10px; }
.article-panel h2 { font-size: 20px; margin: 0 0 18px; }
.article-panel a { display: block; border-top: 1px solid var(--border); padding: 13px 0; font-size: 14px; }
.article-panel a:first-of-type { border: 0; }
.article-panel p { font-size: 13px; color: var(--muted); }
.inline-list { padding-left: 20px; color: #d1dce4; }
.inline-list li { padding-bottom: 9px; }
.site-footer { background: #080f16; border-top: 1px solid var(--border); padding: 43px 0 27px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.footer-grid h2 { color: var(--text); font-size: 22px; margin-bottom: 9px; }
.footer-grid p { max-width: 620px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 13px; }
.footer-bottom { padding-top: 23px; border-top: 1px solid var(--border); margin-top: 23px; font-size: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual img { max-height: 470px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .feature-band .container { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px),var(--container)); }
  .header-inner { display: block; padding: 16px 0; }
  .site-nav { margin-top: 12px; gap: 9px 18px; }
  .site-nav a { font-size: 12px; }
  .hero { padding-top: 22px; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: 34px; }
  .hero-visual img { aspect-ratio: 1.43; border-top-right-radius: 55px; }
  .section { padding: 43px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .category-grid,.story-grid,.topic-layout,.footer-grid { grid-template-columns: 1fr; }
  .category { min-height: 155px; }
  .category h3 { margin-top: 9px; }
  .content-layout { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .category { transition: none; } }
