* { box-sizing: border-box; }
:root { color-scheme: light; font: 16px/1.7 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
body.supply {
  --ink: #17183a; --muted: #525672; --key: #553bbb; --surface: #efecff; --paper: #fff;
  --canvas: #f7f8fc; --rule: #dddff0; --dark: #1c1942; --bright: #d6c9ff;
}
body.qingxu {
  --ink: #19392d; --muted: #506156; --key: #286042; --surface: #eaf1da; --paper: #fffef9;
  --canvas: #f7f7ed; --rule: #d8dfcf; --dark: #153d2d; --bright: #dfefad;
}
body { margin: 0; color: var(--ink); background: var(--canvas); }
a { color: var(--key); text-underline-offset: .24em; }
a:focus-visible,summary:focus-visible { outline: 3px solid var(--key); outline-offset: 4px; border-radius: 3px; }
header { background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.bar,.wrap { width: min(1120px, calc(100% - clamp(32px, 8vw, 100px))); margin-inline: auto; }
.bar,.foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 72px; }
.bar nav,.foot nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.bar nav a,.foot nav a { color: var(--ink); text-decoration: none; font-size: .94rem; white-space: nowrap; }
.bar nav a:hover,.foot nav a:hover,.crumb a:hover { text-decoration: underline; }
.bar nav a:last-child { background: var(--surface); border-radius: 999px; color: var(--key); padding: .44rem .95rem; font-weight: 650; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 1.3rem; font-weight: 780; letter-spacing: -.035em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark img { width: 30px; height: 30px; border-radius: 9px; }
h1,h2,p { margin: 0; }
h1,h2 { overflow-wrap: anywhere; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; padding: 1.6rem 0 0; color: var(--muted); font-size: .9rem; }
.crumb a { color: var(--key); text-decoration: none; }
.intro { position: relative; isolation: isolate; }
.intro .category,.story .category { display: inline-block; color: var(--key); font-size: .87rem; font-weight: 700; letter-spacing: .045em; }
.intro h1 { font-size: clamp(2rem, 4.8vw, 3.85rem); line-height: 1.16; letter-spacing: -.048em; margin: .38em 0 .32em; text-wrap: balance; }
.intro p,.story p { color: var(--muted); }
.intro p { max-width: 42em; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.78; }
.index .intro { padding: clamp(24px, 4.5vw, 60px) clamp(22px, 4vw, 50px); margin-top: 1.6rem; border-radius: 22px; overflow: hidden; }
.supply .index .intro { color: white; background: linear-gradient(112deg,#201c47 15%,#32275f 68%,#554397); }
.supply .index .intro p { color: #eee9ff; }
.supply .index .intro .category { color: #cebcff; }
.index .intro::before,.index .intro::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.supply .index .intro::before { width: 360px; height: 105px; top: 2%; right: -30px; border-radius: 50%; border: 2px solid #c0a4ff70; transform: rotate(-32deg); box-shadow: 0 0 38px #a891ff44, inset 0 -2px 12px #b6abff33; }
.supply .index .intro::after { width: 100px; height: 4px; top: 23%; right: 65px; border-radius: 99px; transform: rotate(-32deg); background: linear-gradient(90deg,transparent,#e7d9ff); }
.qingxu .index .intro { color: var(--bright); background: #204a35; }
.qingxu .index .intro .category,.qingxu .index .intro p { color: #e0e8d9; }
.qingxu .index .intro::before { width: 155px; height: 195px; right: 5%; bottom: -90px; background: #a3bd6c55; border-radius: 75% 8% 65% 20%; transform: rotate(19deg); }
.qingxu .index .intro::after { width: 120px; height: 176px; right: 1%; bottom: -98px; border: 1px solid #deecb560; border-radius: 70% 8% 65% 17%; transform: rotate(46deg); }
.cards { margin-top: clamp(24px, 3.2vw, 42px); }
.story { position: relative; display: block; text-decoration: none; color: var(--ink); }
.story h2 { margin: .4em 0 .5em; font-size: clamp(1.22rem, 2vw, 1.56rem); line-height: 1.44; letter-spacing: -.025em; }
.read { display: block; color: var(--key); font-size: .92rem; font-weight: 670; }
.story:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.supply .cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.supply .story { display: flex; flex-direction: column; align-items: start; padding: clamp(20px, 2.5vw, 34px); background: var(--paper); box-shadow: 0 9px 35px #24204b0b; border-radius: 16px; }
.supply .story .read { margin-top: auto; padding-top: 1.5rem; }
.qingxu .story { display: grid; grid-template-columns: 106px 1fr auto; gap: 1.3rem; align-items: center; padding: 22px 10px; border-bottom: 1px solid var(--rule); }
.qingxu .story h2 { margin-top: 0; }
.qingxu .story .category { justify-self: start; background: var(--surface); border-radius: 999px; padding: .22rem .72rem; }
.detail { max-width: 780px; }
.detail .intro { padding: clamp(30px, 4.6vw, 56px) 0 22px; }
.detail .intro .category { padding: .18rem .72rem; background: var(--surface); border-radius: 999px; }
.detail .intro h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.contents { margin: 0 0 30px; border-radius: 12px; padding: .94rem 1.2rem; background: var(--surface); }
.contents summary { color: var(--ink); cursor: pointer; font-weight: 700; }
.contents ol { margin: .7rem 0 0; padding-left: 1.35rem; }
.contents li + li { margin-top: .38rem; }
.copy section { margin-block: 0 1.85rem; scroll-margin-top: 1rem; }
.copy h2 { margin: 0 0 .58rem; font-size: clamp(1.26rem, 2.4vw, 1.65rem); line-height: 1.48; }
.copy p { font-size: 1.04rem; line-height: 1.92; }
.sources,.related { border-top: 1px solid var(--rule); margin-top: 30px; padding-top: 19px; }
.sources h2,.related h2 { font-size: 1.12rem; }
.sources ul,.related ul { padding-left: 1.28rem; margin-block: .5rem 0; }
.sources li,.related li { margin: .34rem 0; overflow-wrap: anywhere; }
footer { margin-top: clamp(38px, 6vw, 78px); background: var(--dark); color: white; }
.foot { min-height: 84px; padding-block: 16px; flex-wrap: wrap; }
.foot strong { font-size: 1.12rem; white-space: nowrap; }
.foot nav { gap: 8px 20px; flex-wrap: wrap; }
.foot nav a { color: var(--bright); }
@media(max-width:760px) {
  .bar { min-height: 62px; }
  .supply .cards { grid-template-columns: 1fr; gap: 12px; }
  .supply .story .read { padding-top: .8rem; }
  .qingxu .story { grid-template-columns: 1fr; gap: 5px; padding-inline: 0; }
  .index .intro { margin-top: 12px; }
  .index .intro h1 { word-break: keep-all; overflow-wrap: break-word; text-wrap: wrap; }
  .index .intro::before,.index .intro::after { opacity: .5; }
  .crumb { padding-top: 15px; }
  .foot { gap: .5rem; }
}
@media(max-width:450px) {
  .bar nav { gap: 10px; }
  .bar nav a { font-size: .86rem; }
  .bar nav a:last-child { padding: .38rem .62rem; }
  .wordmark { font-size: 1.08rem; gap: 6px; }
  .wordmark img { width: 26px; height: 26px; }
  .intro h1 { line-height: 1.24; }
  .detail .intro { padding-top: 22px; }
  .foot { display: grid; padding: 20px 0; }
}
@media(max-width:350px) {
  .bar { gap: 4px; }
  .bar nav { gap: 7px; }
  .bar nav a { font-size: .82rem; }
}
