:root{
  --turf-900:#06301F;
  --turf-800:#0B4A2E;
  --turf-700:#12633E;
  --ref-yellow:#FFD400;
  --whistle:#FFA51F;
  --pen-red:#E63946;
  --chalk:#F5F7F2;
  --violet-a:#5B4BE0;
  --violet-b:#9A6BFF;
  --ink:#050A07;
  --mist:#A9BDB1;

  --font-head:"PingFang SC","Hiragino Sans GB","Source Han Sans SC","Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --font-body:var(--font-head);
  --font-mono:"JetBrains Mono","SFMono-Regular","Cascadia Mono",Consolas,"Liberation Mono",Menlo,monospace;

  --edge:3px solid var(--ink);
  --edge-thin:2px solid var(--ink);
  --shadow:6px 6px 0 var(--ink);
  --shadow-lift:2px 2px 0 var(--ink);
  --header-h:68px;
  --shell-w:1440px;
  --shear:32px;
  --focus:2px solid var(--ref-yellow);
}

*,*::before,*::after{box-sizing:border-box}

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

body{
  margin:0;
  min-height:100vh;
  background-color:var(--turf-900);
  background-image:
    repeating-linear-gradient(90deg,rgba(18,99,62,.24) 0 2px,transparent 2px 96px),
    repeating-linear-gradient(0deg,rgba(18,99,62,.16) 0 2px,transparent 2px 96px);
  color:var(--chalk);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  letter-spacing:.01em;
  text-wrap:pretty;
}

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--chalk);
}

[data-count],[data-year]{font-variant-numeric:tabular-nums}

p{margin:0 0 1em}
p:last-child{margin-bottom:0}

a{color:var(--chalk)}
a:active{color:var(--ref-yellow)}

ul,ol{margin:0 0 1em;padding-left:1.25em}

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

button{font:inherit;color:inherit}

:focus-visible{outline:var(--focus);outline-offset:3px}

.mono,
[data-count],
.nav__idx,
.cmd-btn__key,
.sync-chip,
.foot-stamp,
.foot-list--contact .mono{
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
}

[id]{scroll-margin-top:96px}

/* ---------- 通用骨架 ---------- */
.shell{
  width:100%;
  max-width:var(--shell-w);
  margin:0 auto;
  padding-inline:24px;
}

#main-content{display:block}

.skip-link{
  position:absolute;
  left:16px;
  top:-80px;
  z-index:200;
  padding:12px 18px;
  background:var(--ref-yellow);
  color:var(--ink);
  font-weight:900;
  font-size:15px;
  text-decoration:none;
  border:var(--edge);
  box-shadow:var(--shadow-lift);
  transition:top .18s ease;
}
.skip-link:focus{top:12px}

/* ---------- 左侧赛事数据轴 ---------- */
.rail{display:grid;gap:24px;align-items:start}
.rail__side{display:grid;gap:14px;align-content:start}
.rail__title{
  margin:0;
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  color:var(--ref-yellow);
}
.rail__note{font-size:14px;color:var(--mist);line-height:1.6}

@media (min-width:1080px){
  .rail{grid-template-columns:240px minmax(0,1fr)}
  .rail__side{position:sticky;top:calc(var(--header-h) + 20px)}
}

/* ---------- 命令栏头部 ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:80;
  height:var(--header-h);
  background:var(--turf-900);
  border-bottom:var(--edge);
  transition:height .2s ease;
}
.site-header[data-shrunk]{height:56px}

.cmd-bar{
  height:100%;
  width:100%;
  max-width:var(--shell-w);
  margin:0 auto;
  padding-inline:24px;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
  color:var(--chalk);
}
.brand__mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  background:var(--ref-yellow);
  color:var(--ink);
  border:var(--edge-thin);
  box-shadow:3px 3px 0 var(--ink);
  font-weight:900;
  font-size:18px;
  line-height:1;
}
.brand__word{
  font-weight:900;
  font-size:19px;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.brand__pulse{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--ref-yellow);
  box-shadow:0 0 0 3px rgba(255,212,0,.18);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}

.nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:center;
}
.nav__list{
  display:flex;
  align-items:center;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav__link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  padding:0 11px;
  border:var(--edge-thin);
  border-color:transparent;
  color:var(--chalk);
  font-size:14px;
  font-weight:500;
  letter-spacing:.01em;
  text-decoration:none;
  white-space:nowrap;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.nav__idx{font-size:11px;color:var(--mist)}
.nav__link:hover{
  background:var(--turf-800);
  border-color:var(--whistle);
  color:var(--ref-yellow);
}
.nav__link[aria-current="page"]{
  background:var(--ref-yellow);
  border-color:var(--ink);
  color:var(--ink);
  font-weight:700;
  box-shadow:3px 3px 0 var(--ink);
}
.nav__link[aria-current="page"] .nav__idx{color:var(--ink);opacity:.55}

.cmd-bar__tail{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:12px;
}

.cmd-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 12px;
  background:transparent;
  border:var(--edge-thin);
  border-color:var(--turf-700);
  color:var(--chalk);
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  cursor:pointer;
  transition:border-color .16s ease,color .16s ease,background .16s ease;
}
.cmd-btn:hover{border-color:var(--ref-yellow);color:var(--ref-yellow);background:var(--turf-800)}
.cmd-btn[aria-expanded="true"]{background:var(--ref-yellow);border-color:var(--ink);color:var(--ink)}
.cmd-btn[aria-expanded="true"] .cmd-btn__key{background:var(--ink);color:var(--ref-yellow)}
.cmd-btn__key{
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  background:var(--turf-700);
  color:var(--chalk);
  font-size:12px;
  line-height:1;
}

.sync-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:13px;
  color:var(--mist);
  white-space:nowrap;
}
.sync-chip b{color:var(--ref-yellow);font-weight:700}
.sync-chip__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ref-yellow);
  animation:pulse 2.4s ease-in-out infinite;
}

.nav-toggle{
  display:none;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0 12px;
  background:var(--ref-yellow);
  border:var(--edge);
  color:var(--ink);
  font-weight:900;
  font-size:14px;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow:3px 3px 0 var(--ink);
}
.nav-toggle[aria-expanded="true"]{background:var(--pen-red);color:var(--chalk)}
.nav-toggle__bars{display:inline-grid;gap:3px;width:18px}
.nav-toggle__bars i{display:block;height:3px;background:currentColor}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2){opacity:.4}
.nav-toggle__text{white-space:nowrap}

/* ---------- 命令面板 ---------- */
.cmd-panel{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:70;
  background:var(--turf-800);
  border-bottom:var(--edge);
  box-shadow:0 10px 0 rgba(5,10,7,.75);
  padding:22px 0 28px;
}
.cmd-panel[hidden]{display:none}
.cmd-panel__inner{display:grid;gap:4px}
.cmd-panel__hint{
  margin:0;
  font-size:14px;
  color:var(--mist);
}
.cmd-panel__hint b{color:var(--ref-yellow);font-weight:700}
.cmd-panel__list{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:8px;
}
.cmd-panel__link{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:48px;
  padding:0 14px;
  background:var(--turf-900);
  border:var(--edge-thin);
  border-color:var(--turf-700);
  color:var(--chalk);
  font-size:15px;
  text-decoration:none;
  transition:border-color .16s ease,color .16s ease,transform .16s ease;
}
.cmd-panel__link .mono{color:var(--mist);font-size:13px}
.cmd-panel__link:hover{
  border-color:var(--ref-yellow);
  color:var(--ref-yellow);
  transform:translateX(3px);
}
.cmd-panel__link:hover .mono{color:var(--ref-yellow)}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:12px 22px;
  background:var(--ref-yellow);
  border:var(--edge);
  color:var(--ink);
  font-family:var(--font-head);
  font-weight:900;
  font-size:15px;
  letter-spacing:.02em;
  text-decoration:none;
  box-shadow:4px 4px 0 var(--ink);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease;
}
.btn:hover{transform:translate(2px,2px);box-shadow:var(--shadow-lift);background:var(--whistle)}
.btn--ghost{background:transparent;color:var(--chalk);border-color:var(--chalk)}
.btn--ghost:hover{background:var(--turf-800);color:var(--ref-yellow);border-color:var(--ref-yellow)}
.btn--violet{
  background-image:linear-gradient(120deg,var(--violet-a),var(--violet-b));
  color:var(--chalk);
}
.btn--violet:hover{background-image:linear-gradient(120deg,var(--violet-b),var(--violet-a))}

/* ---------- 卡片 / 标签 / 数据 ---------- */
.card{
  position:relative;
  background:var(--turf-800);
  border:var(--edge);
  box-shadow:var(--shadow);
  padding:22px;
}
.card--lift{transition:transform .18s ease,box-shadow .18s ease}
.card--lift:hover{transform:translate(4px,-4px);box-shadow:var(--shadow-lift)}

.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  background:var(--whistle);
  border:var(--edge-thin);
  color:var(--ink);
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  white-space:nowrap;
}
.tag--red{background:var(--pen-red);color:var(--chalk)}
.tag--violet{
  background-image:linear-gradient(120deg,var(--violet-a),var(--violet-b));
  color:var(--chalk);
  border-color:var(--ink);
}
.tag--outline{background:transparent;color:var(--mist);border-color:var(--turf-700)}

.stat{display:block}
.stat__num{
  display:block;
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  font-weight:700;
  font-size:clamp(32px,5vw,56px);
  line-height:1;
  letter-spacing:-.01em;
  color:var(--ref-yellow);
}
.stat__num--chalk{color:var(--chalk)}
.stat__label{
  display:block;
  margin-top:10px;
  font-size:13px;
  letter-spacing:.08em;
  color:var(--mist);
}

/* ---------- 图片容器（页面阶段放置占位） ---------- */
.figure{
  position:relative;
  margin:0;
  background:var(--turf-800);
  border:var(--edge);
  overflow:hidden;
}
.figure > img,
.figure > svg{
  width:100%;
  height:100%;
  object-fit:cover;
}
.figure--16x9{aspect-ratio:16 / 9}
.figure--4x3{aspect-ratio:4 / 3}
.figure--1x1{aspect-ratio:1 / 1}
.figure--wide{aspect-ratio:21 / 9}
.figure--shear{
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--shear)),0 100%);
}
.figure__cap{
  position:absolute;
  left:0;
  bottom:0;
  max-width:100%;
  padding:8px 12px;
  background:var(--ink);
  color:var(--chalk);
  font-size:13px;
  letter-spacing:.04em;
}

/* ---------- 斜切容器工具类 ---------- */
.shear{
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--shear)),0 100%);
}
.shear--top{
  clip-path:polygon(0 0,100% var(--shear),100% 100%,0 100%);
}

/* ---------- 面包屑 ---------- */
.crumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 20px;
  padding:0;
  list-style:none;
  font-size:14px;
  letter-spacing:.02em;
  color:var(--mist);
}
.crumb li{display:inline-flex;align-items:center;gap:8px}
.crumb a{
  color:var(--chalk);
  text-decoration:none;
  border-bottom:2px solid var(--whistle);
  padding-bottom:1px;
}
.crumb a:hover{color:var(--ref-yellow);border-bottom-color:var(--ref-yellow)}
.crumb__sep{color:var(--turf-700)}
.crumb [aria-current="page"]{color:var(--ref-yellow);font-weight:700}

/* ---------- 正文容器 ---------- */
.prose{
  max-width:68ch;
  font-size:17px;
  line-height:1.75;
  color:var(--chalk);
}
.prose h2{margin-top:1.6em;font-size:clamp(22px,2.4vw,30px)}
.prose h3{margin-top:1.4em;font-size:clamp(18px,1.8vw,22px)}
.prose a{color:var(--ref-yellow);text-decoration:underline;text-decoration-color:var(--whistle);text-underline-offset:3px}
.prose ul,.prose ol{color:var(--chalk)}
.prose li{margin-bottom:.4em}

/* ---------- 显现动效 ---------- */
html[data-motion="on"] [data-reveal]{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease,transform .5s ease;
}
html[data-motion="on"] [data-reveal].is-in{
  opacity:1;
  transform:none;
}

/* ---------- 页脚 ---------- */
.site-footer{
  margin-top:72px;
  background:var(--turf-800);
  border-top:var(--edge);
  padding:56px 0 0;
}
.foot-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1.5fr 1.5fr;
  gap:32px;
}
.foot-col{min-width:0}
.foot-col--brand{display:grid;align-content:start;gap:12px}
.foot-brand{
  margin:0;
  font-family:var(--font-head);
  font-weight:900;
  font-size:26px;
  letter-spacing:-.02em;
  color:var(--chalk);
}
.foot-tagline{
  margin:0;
  max-width:34ch;
  font-size:15px;
  line-height:1.7;
  color:var(--mist);
}
.foot-stamp{
  margin:0;
  font-size:13px;
  color:var(--whistle);
  letter-spacing:.08em;
}
.foot-col__title{
  margin:0 0 14px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  color:var(--ref-yellow);
}
.foot-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
  font-size:15px;
  line-height:1.6;
  color:var(--mist);
}
.foot-list a{
  color:var(--chalk);
  text-decoration:none;
  border-bottom:2px solid transparent;
  padding-bottom:2px;
  transition:color .16s ease,border-color .16s ease;
}
.foot-list a:hover{color:var(--ref-yellow);border-bottom-color:var(--whistle)}
.foot-list--meta li{
  position:relative;
  padding-left:14px;
}
.foot-list--meta li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:6px;
  height:6px;
  background:var(--turf-700);
}
.foot-list--contact li{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:baseline;
}
.foot-list--contact .foot-links{display:block}
.foot-k{
  flex:0 0 auto;
  min-width:40px;
  font-size:13px;
  letter-spacing:.08em;
  color:var(--ref-yellow);
}
.foot-bottom{
  margin-top:48px;
  border-top:1px solid var(--turf-700);
  padding:18px 0 22px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  color:var(--mist);
}
.foot-bottom p{margin:0}

/* ---------- 响应式 ---------- */
@media (max-width:1240px){
  .nav__idx{display:none}
  .nav__link{padding:0 9px;font-size:13.5px}
  .foot-grid{grid-template-columns:1.2fr 1fr 1.4fr 1.4fr;gap:24px}
}

@media (max-width:1040px){
  .sync-chip{display:none}
  .nav__link{font-size:13px;padding:0 7px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
}

@media (max-width:860px){
  .cmd-bar{gap:12px;padding-inline:16px}
  .shell{padding-inline:16px}
  .nav-toggle{display:inline-flex;order:2;margin-left:auto}
  .cmd-bar__tail{order:3;margin-left:0}
  .cmd-btn__text{display:none}
  .cmd-btn{padding:0 10px}

  .nav{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    display:none;
    flex-direction:column;
    justify-content:flex-start;
    background:var(--turf-800);
    border-bottom:var(--edge);
    box-shadow:0 10px 0 rgba(5,10,7,.75);
    padding:8px 16px 20px;
    max-height:calc(100vh - var(--header-h));
    overflow-y:auto;
  }
  .nav[data-open]{display:flex}
  .nav__list{flex-direction:column;align-items:stretch;gap:0;width:100%}
  .nav__link{
    width:100%;
    min-height:52px;
    padding:0 12px;
    font-size:16px;
    border-color:transparent;
    border-bottom:1px solid var(--turf-700);
  }
  .nav__link[aria-current="page"]{box-shadow:none;border-color:var(--ink)}
  .nav__idx{display:inline;font-size:12px}

  .cmd-panel{padding:18px 0 22px}
  .cmd-panel__list{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr;gap:32px}
  .site-footer{padding-top:44px;margin-top:56px}
}

@media (max-width:420px){
  body{font-size:16px}
  .brand__word{font-size:17px}
  .brand__mark{width:30px;height:30px;font-size:16px}
  .nav-toggle__text{display:none}
}

@media (prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  html[data-motion="on"] [data-reveal]{opacity:1;transform:none;transition:none}
  .brand__pulse,.sync-chip__dot{animation:none}
}
