:root{
  --ink:#000000;
  --paper:#ffffff;
  --soft:#f2f2f2;
  --mid:#6a6a6a;
  --r:10px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Atkinson Hyperlegible',system-ui,-apple-system,'PingFang SC','Noto Sans SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.7;
  font-weight:400;
}
img{max-width:100%}
a{color:inherit}
p{margin:0}
:focus-visible{outline:2px solid #000;outline-offset:3px}
.foot :focus-visible{outline-color:#fff}
[id]{scroll-margin-top:104px}

/* ---- 顶部 ---- */
.mast{
  position:sticky;top:0;z-index:30;
  display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;gap:.7rem;
  padding:.35rem clamp(1rem,4vw,2.5rem);
  background:#fff;border-bottom:2px solid #000;
}
.mark{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;text-decoration:none;
  transition:opacity .22s ease;
}
.mark:hover{opacity:.55}
.mark img{display:block;width:38px;height:38px;object-fit:contain}
.marktxt{
  display:inline-block;font-weight:700;font-size:.85rem;letter-spacing:.12em;
  line-height:1.1;border:2px solid #000;border-radius:var(--r);padding:.3rem .45rem;
}
.nav{min-width:0;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav ol{list-style:none;display:flex;align-items:center;gap:.1rem;margin:0;padding:0}
.nav a{
  display:flex;align-items:center;min-height:44px;
  padding:.5rem .7rem;white-space:nowrap;
  text-decoration:none;font-size:.95rem;border-radius:var(--r);
  transition:background .22s ease,color .22s ease;
}
.nav a:hover,.nav a.on{background:#000;color:#fff}
@media (min-width:980px){.nav ol{justify-content:flex-end}}

.ticker{
  display:flex;align-items:center;
  background:#000;color:#fff;overflow:hidden;
  padding:.45rem clamp(1rem,4vw,2.5rem);
  font-size:.8rem;letter-spacing:.28em;
}
.ticker span{white-space:nowrap}
.ticker span+span::before{content:"·";margin:0 1.3rem;letter-spacing:0}

/* ---- 头图 ---- */
.hero{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:clamp(1.5rem,4vw,3.5rem);
  max-width:1200px;margin:0 auto;min-height:70vh;
  padding:clamp(1.6rem,5vw,4.5rem) clamp(1rem,4vw,2.5rem);
}
.heromedia{
  position:relative;overflow:hidden;
  border-radius:var(--r);background:#000;aspect-ratio:4/5;
}
.heromedia img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hero:hover .heromedia img{transform:scale(1.03)}
.heroblock{
  width:100%;height:100%;background-color:#000;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);
  background-size:44px 44px;
}
.badge{
  position:absolute;left:.9rem;bottom:.9rem;
  background:#fff;color:#000;border-radius:var(--r);
  padding:.35rem .7rem;font-size:.78rem;font-weight:700;letter-spacing:.16em;
}
.herotext{text-align:right;min-width:0}
.herotext h1{
  margin:0;font-weight:700;
  font-size:clamp(1.95rem,4.6vw,3.4rem);
  line-height:1.16;letter-spacing:-.015em;
  text-wrap:balance;
}

/* ---- 主体 ---- */
.wrap{
  max-width:1200px;margin:0 auto;
  padding:0 clamp(1rem,4vw,2.5rem) clamp(3rem,6vw,5rem);
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:clamp(2rem,4vw,3.5rem);
}
@media (min-width:900px){.wrap{grid-template-columns:minmax(0,1fr) 236px}}

.prose{min-width:0}
.prose small,.side small{
  display:block;font-size:.78rem;letter-spacing:.28em;
  color:var(--mid);margin-bottom:.4rem;
}
.prose h2{
  margin:2.6rem 0 .9rem;padding-top:.9rem;
  border-top:2px solid #000;
  font-size:clamp(1.35rem,2.6vw,1.7rem);line-height:1.32;letter-spacing:-.01em;
}
.prose h3{margin:1.8rem 0 .55rem;font-size:1.15rem;line-height:1.4}
.prose p{margin:0 0 1.05rem}
.prose ul,.prose ol{margin:0 0 1.15rem;padding-left:1.3rem}
.prose li{margin:.35rem 0}
.prose a{text-underline-offset:3px}
.prose strong{font-weight:700}
.prose blockquote{
  margin:1.5rem 0;padding:1rem 1.2rem;
  background:var(--soft);border-left:6px solid #000;border-radius:var(--r);
}
.prose blockquote p:last-child{margin:0}
.prose img{display:block;height:auto;margin:1.4rem 0;border-radius:var(--r)}
.prose figure{margin:1.5rem 0}
.prose table{width:100%;border-collapse:collapse;margin:1.4rem 0;font-size:.95rem}
.prose th,.prose td{border-bottom:1px solid #000;padding:.55rem .4rem;text-align:left}
.prose hr{border:0;border-top:2px solid #000;margin:2.5rem 0}
.prose div+div{margin-top:3.2rem}

/* ---- 侧栏 ---- */
.side{min-width:0;border-top:3px solid #000;padding-top:1rem}
.side h2{margin:0 0 .85rem;font-size:1.08rem;letter-spacing:.02em}
.side ol{list-style:none;display:grid;gap:.1rem;margin:0;padding:0}
.side a{
  display:flex;align-items:center;min-height:40px;
  padding:.3rem .5rem;text-decoration:none;font-size:.95rem;
  border-radius:var(--r);transition:background .2s ease,color .2s ease;
}
.side a:hover{background:#000;color:#fff}
@media (min-width:900px){.side{position:sticky;top:100px;align-self:start}}

/* ---- 页脚 ---- */
.foot{
  background:#000;color:#fff;
  padding:clamp(2rem,5vw,3.5rem) clamp(1rem,4vw,2.5rem) 1.8rem;
  margin-top:clamp(2rem,6vw,4rem);
}
.foot p{margin:0}
.brandline{
  font-size:clamp(2.6rem,12vw,7rem);font-weight:700;
  line-height:.94;letter-spacing:-.02em;word-break:break-word;
}
.cols{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.4rem;margin:2.4rem 0;
  padding-top:1.6rem;border-top:1px solid rgba(255,255,255,.35);
}
.foot dl{margin:0}
.foot dt{font-size:.78rem;letter-spacing:.28em;color:#b9b9b9;margin-bottom:.4rem}
.foot dd{margin:0}
.foot dd a{
  display:inline-flex;align-items:center;min-height:40px;
  text-decoration:none;border-bottom:1px solid transparent;
  transition:border-color .2s ease;
}
.foot dd a:hover{border-bottom-color:#fff}
.host{display:inline-flex;align-items:center;min-height:40px;color:#b9b9b9;word-break:break-all}
.bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;
  padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.35);font-size:.9rem;
}
.bottom a{
  display:inline-flex;align-items:center;min-height:40px;
  text-decoration:none;border-bottom:1px solid transparent;
}
.bottom a:hover{border-bottom-color:#fff}

/* ---- 动效 ---- */
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .rv{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
  .rv.in{opacity:1;transform:none}
}

/* ---- 窄屏 ---- */
@media (max-width:860px){
  .hero{
    grid-template-columns:minmax(0,1fr);
    min-height:0;padding-top:1.3rem;
    gap:1.3rem;
  }
  .heromedia{aspect-ratio:16/11}
  .herotext{text-align:left}
  .nav a{font-size:.9rem;padding:.5rem .55rem}
  .ticker{font-size:.72rem;letter-spacing:.2em}
  .ticker span:nth-child(3){display:none}
}
@media (max-width:560px){
  .cols{grid-template-columns:minmax(0,1fr);gap:.5rem}
  .prose div+div{margin-top:2.4rem}
}

button[aria-expanded]{min-width:44px;min-height:44px}
