/* ==========================================================================
   博万体育 · 共享站点样式 / assets/site.css
   高原竞技场 · 深蓝夜空 / 雪线纸面 / 经幡五色 / 比分琥珀
   ========================================================================== */

/* ---------- 0. 设计变量 ---------- */
:root{
  --ink:#0B1B33;
  --ink-deep:#08152a;
  --ink-soft:#132a4d;
  --paper:#F4F7FB;
  --white:#FFFFFF;
  --blue:#1D6FB8;
  --red:#D63B3B;
  --green:#2E8B57;
  --green-bright:#43b67c;
  --yellow:#F2C94C;
  --amber:#FFB020;
  --stone:#6B7785;
  --black:#111827;

  --line-dark:rgba(244,247,251,.12);
  --line-dark-strong:rgba(244,247,251,.24);
  --line-light:rgba(11,27,51,.14);

  --font-display:"Noto Sans SC","Source Han Sans SC",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --font-body:"Noto Sans SC","Source Han Sans SC",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --font-mono:"IBM Plex Mono","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  --shell:1240px;
  --gutter:clamp(1rem,3vw,1.75rem);
  --radius:2px;
  --ease:.2s ease;
}

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after{box-sizing:border-box;}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.75;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,
svg,
canvas,
video{display:block;max-width:100%;}

h1,h2,h3,h4,h5,h6,p,ul,ol,dl,figure,blockquote,address{margin:0;}

ul,ol{padding:0;list-style:none;}

button{
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
}

a{color:inherit;}

table{border-collapse:collapse;width:100%;}

hr{border:0;border-top:1px solid var(--line-dark);margin:2rem 0;}

::selection{background:var(--amber);color:var(--ink);}

/* ---------- 2. 焦点与动效基线 ---------- */
:where(a,button,summary,[tabindex]):focus-visible{
  outline:3px solid var(--amber);
  outline-offset:2px;
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  html{scroll-behavior:auto;}
}

/* ---------- 3. 跳过导航 ---------- */
.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:400;
  display:inline-block;
  padding:.7rem 1.2rem;
  background:var(--amber);
  color:var(--ink);
  font-family:var(--font-display);
  font-weight:700;
  font-size:.92rem;
  letter-spacing:.04em;
  text-decoration:none;
  border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{left:0;}

/* ---------- 4. 顶栏外壳 ---------- */
.site-top{
  position:sticky;
  top:0;
  z-index:80;
  background:var(--ink);
  box-shadow:0 1px 0 rgba(0,0,0,.35);
}

/* ---------- 5. 比分条 ---------- */
.score-strip{
  background:var(--ink-deep);
  border-bottom:1px solid var(--line-dark);
}

.score-strip__inner{
  display:flex;
  align-items:center;
  gap:.85rem;
  max-width:var(--shell);
  margin:0 auto;
  padding:.45rem var(--gutter);
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.score-strip__inner::-webkit-scrollbar{display:none;}

.score-strip__label{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding-right:.85rem;
  border-right:1px solid var(--line-dark);
  font-family:var(--font-mono);
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--amber);
}

.score-strip__dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--amber);
  box-shadow:0 0 0 3px rgba(255,176,32,.18);
  flex:0 0 auto;
}

.score-strip__list{
  display:flex;
  align-items:center;
  gap:.55rem;
  margin:0;
  padding:0;
  flex:1 1 auto;
}

.score-strip__item{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.25rem .6rem;
  background:rgba(244,247,251,.05);
  border:1px solid rgba(244,247,251,.09);
  border-radius:var(--radius);
  white-space:nowrap;
  transition:border-color var(--ease),background-color var(--ease);
}
.score-strip__item:hover{
  border-color:rgba(255,176,32,.5);
  background:rgba(244,247,251,.08);
}

.score-strip__match{
  display:inline-flex;
  align-items:baseline;
  gap:.32rem;
  font-size:.82rem;
  line-height:1.4;
}
.score-strip__team{color:rgba(244,247,251,.8);}
.score-strip__num{
  font-family:var(--font-mono);
  font-weight:600;
  font-size:.95rem;
  color:var(--amber);
}
.score-strip__sep{color:rgba(244,247,251,.32);}

.score-strip__match--simple{font-size:.82rem;}
.score-strip__match--simple .score-strip__team{color:rgba(244,247,251,.86);}

.score-strip__state{
  font-family:var(--font-mono);
  font-size:.68rem;
  letter-spacing:.06em;
  color:var(--stone);
}
.score-strip__state--live{
  color:var(--green-bright);
  font-weight:600;
}

.score-strip__update{
  flex:0 0 auto;
  padding-left:.85rem;
  border-left:1px solid var(--line-dark);
  font-family:var(--font-mono);
  font-size:.68rem;
  letter-spacing:.08em;
  color:var(--stone);
}

/* ---------- 6. 标签 ---------- */
.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.05rem .42rem;
  border-radius:var(--radius);
  font-family:var(--font-mono);
  font-size:.66rem;
  font-weight:600;
  letter-spacing:.08em;
  line-height:1.6;
  white-space:nowrap;
}
.tag--blue{background:var(--blue);color:var(--white);}
.tag--red{background:var(--red);color:var(--white);}
.tag--green{background:var(--green);color:var(--white);}
.tag--yellow{background:var(--yellow);color:var(--ink);}
.tag--white{background:var(--white);color:var(--ink);}
.tag--amber{background:var(--amber);color:var(--ink);}

/* ---------- 7. 页头 ---------- */
.site-header{
  position:relative;
  background:var(--ink);
  border-bottom:1px solid var(--line-dark);
}

.site-header__inner{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.75rem;
  max-width:var(--shell);
  margin:0 auto;
  padding:.75rem var(--gutter);
}

/* 品牌 */
.brand{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  flex:0 0 auto;
  text-decoration:none;
  color:var(--paper);
}

.brand__mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:var(--white);
  color:var(--ink);
  font-family:var(--font-display);
  font-weight:900;
  font-size:1.15rem;
  line-height:1;
  border-radius:var(--radius);
  box-shadow:3px 3px 0 var(--amber),6px 6px 0 rgba(29,111,184,.5);
  transition:transform var(--ease),box-shadow var(--ease);
}
.brand:hover .brand__mark{
  transform:translate(-1px,-1px);
  box-shadow:4px 4px 0 var(--amber),8px 8px 0 rgba(29,111,184,.5);
}

.brand__text{display:flex;flex-direction:column;line-height:1.2;}

.brand__name{
  font-family:var(--font-display);
  font-weight:900;
  font-size:1.12rem;
  letter-spacing:.08em;
}

.brand__note{
  font-family:var(--font-mono);
  font-size:.64rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--stone);
}

/* 主导航 */
.primary-nav{
  flex:1 1 auto;
  display:flex;
  justify-content:flex-end;
}

.primary-nav__list{
  display:flex;
  align-items:center;
  gap:.1rem;
  margin:0;
  padding:0;
}

.primary-nav__list a{
  display:block;
  padding:.5rem .78rem;
  font-size:.94rem;
  font-weight:500;
  text-decoration:none;
  color:rgba(244,247,251,.76);
  border:1px solid transparent;
  border-radius:var(--radius);
  transition:color var(--ease),border-color var(--ease),background-color var(--ease);
}
.primary-nav__list a:hover{
  color:var(--white);
  border-color:rgba(255,176,32,.55);
}
.primary-nav__list a[aria-current="page"]{
  color:var(--ink);
  background:var(--amber);
  border-color:var(--amber);
  font-weight:700;
}

/* 右侧操作 */
.site-header__actions{
  display:flex;
  align-items:center;
  gap:.55rem;
  flex:0 0 auto;
  margin-left:auto;
}

/* ---------- 8. 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  padding:.6rem 1.05rem;
  font-family:var(--font-display);
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.05em;
  line-height:1.25;
  text-decoration:none;
  border-radius:var(--radius);
  border:1px solid transparent;
  transition:transform var(--ease),box-shadow var(--ease),background-color var(--ease),color var(--ease),border-color var(--ease);
}

.btn--amber{
  background:var(--amber);
  color:var(--ink);
  box-shadow:3px 3px 0 rgba(214,59,59,.75);
}
.btn--amber:hover{
  transform:translate(-1px,-1px);
  box-shadow:4px 4px 0 rgba(214,59,59,.75);
}
.btn--amber:active{
  transform:translate(1px,1px);
  box-shadow:1px 1px 0 rgba(214,59,59,.75);
}
.btn--amber:focus-visible{outline-color:var(--white);}

.btn--ink{
  background:var(--ink);
  color:var(--paper);
  box-shadow:3px 3px 0 rgba(29,111,184,.45);
}
.btn--ink:hover{
  transform:translate(-1px,-1px);
  box-shadow:4px 4px 0 rgba(29,111,184,.45);
}

.btn--outline{
  background:transparent;
  color:var(--paper);
  border-color:var(--line-dark-strong);
}
.btn--outline:hover{
  color:var(--amber);
  border-color:var(--amber);
}

.btn--line{
  background:transparent;
  color:var(--ink);
  border-color:rgba(11,27,51,.32);
}
.btn--line:hover{
  border-color:var(--ink);
  background:rgba(11,27,51,.05);
}

.btn--sm{
  padding:.46rem .82rem;
  font-size:.84rem;
}

/* ---------- 9. 移动菜单按钮 ---------- */
.nav-toggle{
  display:none;
  align-items:center;
  gap:.5rem;
  padding:.46rem .7rem;
  border:1px solid rgba(244,247,251,.28);
  border-radius:var(--radius);
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--paper);
  transition:border-color var(--ease),color var(--ease);
}
.nav-toggle:hover{border-color:var(--amber);color:var(--amber);}

.nav-toggle__box{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:16px;
  height:14px;
}

.nav-toggle__bar{
  display:block;
  height:2px;
  width:100%;
  background:currentColor;
  transition:transform var(--ease),opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

/* ---------- 10. 滚动进度 ---------- */
.scroll-progress{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:rgba(244,247,251,.07);
  overflow:hidden;
  pointer-events:none;
}

.scroll-progress__bar{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg,var(--blue) 0%,var(--green) 34%,var(--yellow) 68%,var(--amber) 100%);
  transition:width .1s linear;
}

/* ---------- 11. 通用容器与分区 ---------- */
.shell{
  width:100%;
  max-width:var(--shell);
  margin:0 auto;
  padding-inline:var(--gutter);
}

.section{
  padding-block:clamp(2.5rem,6vw,4.5rem);
}

#main-content{display:block;scroll-margin-top:7rem;}

.surface-paper{background:var(--paper);color:var(--black);}
.surface-ink{background:var(--ink);color:var(--paper);}

/* ---------- 12. 排版层级 ---------- */
.display{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(2.2rem,5.4vw,4.2rem);
  line-height:1.08;
  letter-spacing:-.015em;
  margin:0;
}

.h2{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(1.5rem,3vw,2.25rem);
  line-height:1.22;
  letter-spacing:-.008em;
  margin:0;
}

.h3{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(1.1rem,2vw,1.35rem);
  line-height:1.35;
  letter-spacing:.005em;
  margin:0;
}

.lead{
  font-size:clamp(1rem,1.5vw,1.12rem);
  line-height:1.85;
  color:rgba(244,247,251,.78);
  max-width:58ch;
  margin:0;
}
.lead--ink{color:rgba(17,24,39,.76);}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-mono);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--amber);
}

.mono{
  font-family:var(--font-mono);
  letter-spacing:.08em;
}

.prose p{margin:0 0 1.1em;max-width:70ch;}
.prose p:last-child{margin-bottom:0;}
.prose ul,
.prose ol{margin:0 0 1.2em;padding:0;list-style:none;}
.prose ul li,
.prose ol li{position:relative;padding-left:1.15rem;margin-bottom:.5em;}
.prose ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:.42rem;
  height:.42rem;
  background:var(--amber);
}
.prose ol{counter-reset:prose-ol;}
.prose ol li{padding-left:1.9rem;}
.prose ol li::before{
  counter-increment:prose-ol;
  content:counter(prose-ol,decimal-leading-zero);
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:600;
  color:var(--blue);
  background:none;
  width:auto;
  height:auto;
  top:0;
  left:0;
}
.prose strong{font-weight:700;}
.prose a:not(.btn){
  color:var(--blue);
  text-decoration:none;
  border-bottom:1px solid rgba(29,111,184,.45);
  transition:color var(--ease),border-color var(--ease);
}
.prose a:not(.btn):hover{color:var(--amber);border-bottom-color:var(--amber);}

/* ---------- 13. 章节体系 ---------- */
.chapter{position:relative;}

.chapter__head{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.4rem 1rem;
  margin-bottom:1.2rem;
}

.chapter__index{
  font-family:var(--font-mono);
  font-weight:600;
  font-size:clamp(2rem,5vw,3.2rem);
  line-height:1;
  letter-spacing:-.03em;
  color:var(--chapter-accent,var(--amber));
}

.chapter__title{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(1.3rem,2.6vw,1.85rem);
  line-height:1.25;
  letter-spacing:.01em;
}

.chapter__kicker{
  font-family:var(--font-mono);
  font-size:.7rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--stone);
  padding-bottom:.35rem;
}

/* 经幡色带分隔 */
.ribbon{
  display:flex;
  width:100%;
  height:4px;
  margin-block:clamp(1.75rem,4.5vw,3rem);
}
.ribbon i{display:block;flex:1;}
.ribbon i:nth-child(1){background:var(--blue);}
.ribbon i:nth-child(2){background:var(--white);}
.ribbon i:nth-child(3){background:var(--red);}
.ribbon i:nth-child(4){background:var(--green);}
.ribbon i:nth-child(5){background:var(--yellow);}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb{margin-bottom:1.25rem;}

.breadcrumb__list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem;
  margin:0;
  padding:0;
  font-family:var(--font-mono);
  font-size:.7rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--stone);
}
.breadcrumb__list li{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}
.breadcrumb__list li + li::before{
  content:"/";
  color:rgba(107,119,133,.55);
}
.breadcrumb a{
  color:rgba(244,247,251,.66);
  text-decoration:none;
  padding-bottom:1px;
  border-bottom:1px solid rgba(107,119,133,.45);
  transition:color var(--ease),border-color var(--ease);
}
.breadcrumb a:hover{color:var(--amber);border-bottom-color:var(--amber);}
.breadcrumb [aria-current="page"]{color:var(--paper);}

.breadcrumb--light a{color:rgba(17,24,39,.72);border-bottom-color:rgba(107,119,133,.5);}
.breadcrumb--light a:hover{color:var(--blue);border-bottom-color:var(--blue);}
.breadcrumb--light [aria-current="page"]{color:var(--black);font-weight:600;}

/* ---------- 15. 图片容器基础 ---------- */
.media{
  position:relative;
  display:block;
  overflow:hidden;
  border:1px solid var(--line-dark);
  border-radius:var(--radius);
  background:
    radial-gradient(120% 90% at 18% 8%,rgba(29,111,184,.55),transparent 62%),
    linear-gradient(160deg,#132a4d 0%,#0B1B33 55%,#08152a 100%);
}
.media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.45;
  background-image:linear-gradient(rgba(244,247,251,.06) 1px,transparent 1px);
  background-size:100% 22px;
}
.media > img,
.media > picture,
.media > picture > img,
.media > svg{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.media--16x9{aspect-ratio:16/9;}
.media--3x2{aspect-ratio:3/2;}
.media--4x3{aspect-ratio:4/3;}
.media--1x1{aspect-ratio:1/1;}
.media--21x9{aspect-ratio:21/9;}
.media--tall{aspect-ratio:3/4;}

.media--paper{
  border-color:var(--line-light);
  background:
    radial-gradient(110% 80% at 14% 10%,rgba(29,111,184,.18),transparent 66%),
    linear-gradient(160deg,#e8eef7 0%,#F4F7FB 55%,#dbe5f2 100%);
}
.media--paper::after{
  background-image:linear-gradient(rgba(11,27,51,.06) 1px,transparent 1px);
}

.media__label{
  position:absolute;
  left:0;
  bottom:0;
  z-index:2;
  padding:.32rem .68rem;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--font-mono);
  font-size:.66rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* ---------- 16. 卡片 ---------- */
.card{
  position:relative;
  padding:1.25rem;
  background:rgba(244,247,251,.04);
  border:1px solid var(--line-dark);
  border-radius:var(--radius);
  transition:border-color var(--ease),background-color var(--ease),transform var(--ease);
}
.card:hover{
  border-color:rgba(255,176,32,.55);
  background:rgba(244,247,251,.07);
}

.card--paper{
  background:var(--white);
  border-color:var(--line-light);
  color:var(--black);
}
.card--paper:hover{
  border-color:rgba(29,111,184,.5);
  background:var(--white);
}

/* ---------- 17. 折叠问答 ---------- */
.fold{
  border-top:1px solid var(--line-dark);
}
.fold:last-child{border-bottom:1px solid var(--line-dark);}

.fold > summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem .25rem;
  cursor:pointer;
  list-style:none;
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.02rem;
  line-height:1.5;
  transition:color var(--ease);
}
.fold > summary::-webkit-details-marker{display:none;}
.fold > summary::after{
  content:"+";
  flex:0 0 auto;
  font-family:var(--font-mono);
  font-size:1.15rem;
  font-weight:600;
  color:var(--amber);
  transition:transform var(--ease);
}
.fold[open] > summary::after{content:"–";}
.fold > summary:hover{color:var(--amber);}

.fold__body{
  padding:0 .25rem 1.15rem;
  font-size:.95rem;
  line-height:1.8;
  color:rgba(244,247,251,.74);
}

.fold--paper{border-color:var(--line-light);}
.fold--paper > summary{color:var(--black);}
.fold--paper > summary:hover{color:var(--blue);}
.fold--paper > summary::after{color:var(--blue);}
.fold--paper .fold__body{color:rgba(17,24,39,.74);}

/* ---------- 18. 页脚 ---------- */
.site-footer{
  position:relative;
  margin-top:clamp(3rem,8vw,6rem);
  background:var(--ink-deep);
  color:var(--paper);
}

.site-footer__band{
  display:flex;
  height:6px;
  width:100%;
}
.site-footer__band-item{display:block;flex:1;}
.site-footer__band-item--blue{background:var(--blue);}
.site-footer__band-item--white{background:var(--white);}
.site-footer__band-item--red{background:var(--red);}
.site-footer__band-item--green{background:var(--green);}
.site-footer__band-item--yellow{background:var(--yellow);}

.site-footer__inner{
  display:grid;
  grid-template-columns:1.5fr repeat(3,minmax(0,1fr));
  gap:clamp(1.75rem,4vw,3rem);
  max-width:var(--shell);
  margin:0 auto;
  padding:clamp(2.25rem,5vw,3.5rem) var(--gutter) clamp(1.75rem,4vw,2.5rem);
}

.site-footer__intro{min-width:0;}

.brand--footer{margin-bottom:0;}
.brand--footer .brand__mark{
  box-shadow:3px 3px 0 var(--amber);
}

.site-footer__summary{
  margin-top:.9rem;
  max-width:36ch;
  font-size:.92rem;
  line-height:1.8;
  color:rgba(244,247,251,.62);
}

.site-footer__contact{
  margin-top:1.35rem;
  padding-top:1rem;
  border-top:1px dashed rgba(244,247,251,.18);
}

.site-footer__contact-label{
  margin-bottom:.5rem;
  font-family:var(--font-mono);
  font-size:.66rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--stone);
}

.site-footer__contact-line{
  font-family:var(--font-mono);
  font-size:.8rem;
  line-height:1.7;
  color:var(--paper);
  word-break:break-word;
}
.site-footer__contact-line--muted{
  font-size:.74rem;
  letter-spacing:.06em;
  color:var(--stone);
}

.site-footer__address{
  margin-top:.4rem;
  font-style:normal;
  font-size:.8rem;
  line-height:1.7;
  color:rgba(244,247,251,.62);
}

.site-footer__col{min-width:0;}

.site-footer__title{
  margin:0 0 1rem;
  padding-bottom:.55rem;
  border-bottom:1px solid var(--line-dark);
  font-family:var(--font-mono);
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--amber);
}

.site-footer__list{
  display:flex;
  flex-direction:column;
  gap:.1rem;
  margin:0;
  padding:0;
}

.site-footer__list a{
  display:inline-block;
  padding:.26rem 0;
  font-size:.92rem;
  color:rgba(244,247,251,.72);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color var(--ease),border-color var(--ease);
}
.site-footer__list a:hover{
  color:var(--white);
  border-bottom-color:var(--amber);
}
.site-footer__list a[aria-current="page"]{
  color:var(--amber);
  font-weight:600;
}

.site-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.5rem 1.5rem;
  max-width:var(--shell);
  margin:0 auto;
  padding:1.1rem var(--gutter) 2rem;
  border-top:1px solid var(--line-dark);
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.06em;
  color:var(--stone);
}
.site-footer__copy,
.site-footer__icp,
.site-footer__stamp{margin:0;}
.site-footer__stamp{color:rgba(107,119,133,.8);}

/* ---------- 19. 响应式：平板 ---------- */
@media (max-width:980px){
  .site-footer__inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .site-footer__intro{
    grid-column:1 / -1;
  }
}

/* ---------- 20. 响应式：移动导航 ---------- */
@media (max-width:900px){
  .nav-toggle{display:inline-flex;}

  .site-header__inner{
    gap:.6rem;
  }

  .primary-nav{
    order:3;
    flex:1 1 100%;
    display:none;
    justify-content:flex-start;
    margin-top:.35rem;
    padding-top:.65rem;
    border-top:1px solid var(--line-dark);
    max-height:calc(100vh - 9rem);
    overflow-y:auto;
  }
  .primary-nav[data-open]{display:block;}

  .primary-nav__list{
    flex-direction:column;
    align-items:stretch;
    gap:.1rem;
    width:100%;
  }
  .primary-nav__list a{
    padding:.7rem .75rem;
    font-size:.98rem;
    border-radius:var(--radius);
  }
}

/* ---------- 21. 响应式：手机 ---------- */
@media (max-width:640px){
  .site-header__inner{
    padding-block:.6rem;
  }
  .site-header__actions .btn{
    display:none;
  }
  .brand__mark{
    width:36px;
    height:36px;
    font-size:1rem;
    box-shadow:2px 2px 0 var(--amber),4px 4px 0 rgba(29,111,184,.5);
  }
  .brand:hover .brand__mark{
    box-shadow:3px 3px 0 var(--amber),6px 6px 0 rgba(29,111,184,.5);
  }
  .brand__name{font-size:1rem;}
  .brand__note{display:none;}

  .score-strip__label{font-size:.62rem;letter-spacing:.12em;}
  .score-strip__update{display:none;}
  .score-strip__item{padding:.22rem .5rem;}
  .score-strip__match{font-size:.78rem;}

  .site-footer__inner{
    grid-template-columns:1fr;
    gap:1.75rem;
  }
  .site-footer__bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:.35rem;
    padding-bottom:1.75rem;
  }
  .chapter__head{gap:.3rem .75rem;}
}

/* ---------- 22. 高对比度兜底 ---------- */
@media (forced-colors:active){
  .primary-nav__list a[aria-current="page"],
  .btn,
  .tag{border:1px solid currentColor;}
  .media::after{display:none;}
}
