/* ============================================================
   华体育主站 · 共享外壳样式 /assets/site.css
   分区：01 变量 / 02 复位与基准 / 03 可达性 / 04 布局骨架
        05 排版构件 / 06 通用组件 / 07 头部 / 08 页脚
        09 动效与显现 / 10 响应式
   ============================================================ */

/* ---------- 01 变量 ---------- */
:root{
  --ht-ink:#070C1A;
  --ht-surface:#0E1730;
  --ht-band:#16224A;
  --ht-line:#233163;
  --ht-red:#D6202E;
  --ht-red-hi:#FF4A3D;
  --ht-cyan:#2FE8C0;
  --ht-cyan-soft:#8CF2DE;
  --ht-text:#F2F5FA;
  --ht-body:#CDD6E8;
  --ht-muted:#9AA7C2;
  --ht-faint:#6B7A9B;

  --ht-font-sans:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC",system-ui,-apple-system,sans-serif;
  --ht-font-mono:ui-monospace,"JetBrains Mono",Menlo,Consolas,"Courier New",monospace;

  --ht-shell:1440px;
  --ht-wrap:1120px;
  --ht-gutter:72px;
  --ht-header-h:70px;
  --ht-ease:cubic-bezier(.2,.6,.2,1);
}

/* ---------- 02 复位与基准 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body,h1,h2,h3,h4,h5,p,ul,ol,li,figure,blockquote,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
img,svg,video{max-width:100%}
img{height:auto}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,h4{font-weight:800;line-height:1.16;letter-spacing:-0.015em}
main{display:block}
[id]{scroll-margin-top:calc(var(--ht-header-h) + 24px)}

body{
  min-height:100vh;
  font-family:var(--ht-font-sans);
  font-size:16px;
  line-height:1.75;
  letter-spacing:.01em;
  color:var(--ht-text);
  background-color:var(--ht-ink);
  background-image:
    radial-gradient(1100px 520px at 78% -10%, rgba(47,232,192,.06), transparent 70%),
    radial-gradient(900px 460px at 6% 2%, rgba(214,32,46,.07), transparent 72%),
    linear-gradient(to right, rgba(35,49,99,.20) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35,49,99,.20) 1px, transparent 1px);
  background-size:auto,auto,96px 96px,96px 96px;
  background-repeat:no-repeat,no-repeat,repeat,repeat;
  background-position:center top,left top,center top,center top;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
::selection{background:var(--ht-red);color:#fff}

/* ---------- 03 可达性 ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible{
  outline:2px solid var(--ht-cyan);
  outline-offset:3px;
}
#main-content:focus{outline:none}

.ht-skip{
  position:fixed;
  top:0;
  left:0;
  z-index:300;
  transform:translateY(-130%);
  display:inline-block;
  padding:14px 22px;
  background:var(--ht-red);
  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none;
  transition:transform .18s var(--ht-ease);
}
.ht-skip:focus{transform:translateY(0);outline:2px solid var(--ht-cyan);outline-offset:0}

/* ---------- 04 布局骨架 ---------- */
.ht-shell{
  width:100%;
  max-width:var(--ht-shell);
  margin-inline:auto;
  padding-inline:var(--ht-gutter);
}
.ht-wrap{
  width:100%;
  max-width:var(--ht-wrap);
  margin-inline:auto;
}
.ht-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:24px;
}
.ht-span-3{grid-column:span 3}
.ht-span-4{grid-column:span 4}
.ht-span-5{grid-column:span 5}
.ht-span-6{grid-column:span 6}
.ht-span-7{grid-column:span 7}
.ht-span-8{grid-column:span 8}
.ht-span-9{grid-column:span 9}
.ht-span-12{grid-column:span 12}

.ht-section{
  padding-block:76px;
  border-top:1px solid var(--ht-line);
}
.ht-section:first-child{border-top:0}

.ht-band{
  height:8px;
  background:linear-gradient(90deg,var(--ht-red) 0 18%,var(--ht-band) 18% 100%);
  border-top:1px solid var(--ht-line);
  border-bottom:1px solid var(--ht-line);
}

/* ---------- 05 排版构件 ---------- */
.ht-display{
  font-size:clamp(2.1rem,5.2vw,4.3rem);
  font-weight:900;
  line-height:1.06;
  letter-spacing:-0.02em;
  color:var(--ht-text);
}
.ht-h2{
  font-size:clamp(1.55rem,2.6vw,2.25rem);
  font-weight:800;
  line-height:1.18;
  letter-spacing:-0.015em;
}
.ht-h3{font-size:1.15rem;font-weight:700;line-height:1.4}
.ht-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--ht-font-mono);
  font-size:11.5px;
  font-weight:400;
  letter-spacing:.18em;
  line-height:1.4;
  color:var(--ht-cyan-soft);
}
.ht-eyebrow::before{
  content:"";
  width:20px;
  height:1px;
  flex:none;
  background:var(--ht-red);
}
.ht-lede{
  max-width:34em;
  font-size:clamp(1rem,1.4vw,1.12rem);
  line-height:1.8;
  color:var(--ht-muted);
}
.ht-num{
  font-family:var(--ht-font-mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
  color:var(--ht-faint);
}
.ht-data{
  font-family:var(--ht-font-mono);
  font-variant-numeric:tabular-nums;
  font-size:1.25em;
  color:var(--ht-cyan);
  letter-spacing:-0.01em;
}
.ht-note{
  padding-left:14px;
  border-left:1px solid var(--ht-line);
  font-size:13px;
  line-height:1.75;
  color:var(--ht-faint);
}
.ht-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  border:1px solid var(--ht-line);
  font-family:var(--ht-font-mono);
  font-size:11px;
  letter-spacing:.08em;
  line-height:1.6;
  color:var(--ht-muted);
}
.ht-link{
  color:var(--ht-text);
  text-decoration:none;
  border-bottom:1px solid var(--ht-red);
  padding-bottom:1px;
  transition:color .18s var(--ht-ease),border-color .18s var(--ht-ease);
}
.ht-link:hover{color:var(--ht-red-hi);border-bottom-color:var(--ht-red-hi)}

.ht-prose{max-width:38em}
.ht-prose > * + *{margin-top:1.2em}
.ht-prose p{color:var(--ht-body)}
.ht-prose h2,.ht-prose h3{color:var(--ht-text)}
.ht-prose ul{list-style:none}
.ht-prose ul > li{position:relative;padding-left:20px;color:var(--ht-body)}
.ht-prose ul > li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:8px;
  height:1px;
  background:var(--ht-red);
}

/* ---------- 06 通用组件 ---------- */
.ht-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 20px;
  border:1px solid var(--ht-line);
  background:transparent;
  color:var(--ht-text);
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.02em;
  text-decoration:none;
  cursor:pointer;
  transition:background .18s var(--ht-ease),border-color .18s var(--ht-ease),
             color .18s var(--ht-ease),transform .18s var(--ht-ease);
}
.ht-btn:hover{transform:translateY(-2px)}
.ht-btn--primary{
  border-color:var(--ht-red);
  background:var(--ht-red);
  color:#fff;
}
.ht-btn--primary:hover{
  background:var(--ht-red-hi);
  border-color:var(--ht-red-hi);
  color:#fff;
}
.ht-btn--ghost{color:var(--ht-text)}
.ht-btn--ghost:hover{border-color:var(--ht-red);color:#fff}
.ht-btn--sm{padding:8px 14px;font-size:13px}

.ht-crumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  font-family:var(--ht-font-mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--ht-faint);
}
.ht-crumb a{color:var(--ht-muted);text-decoration:none;transition:color .18s var(--ht-ease)}
.ht-crumb a:hover{color:var(--ht-cyan)}
.ht-crumb__sep{color:var(--ht-line)}
.ht-crumb [aria-current="page"]{color:var(--ht-text)}

.ht-panel{
  position:relative;
  padding:24px;
  border:1px solid var(--ht-line);
  background:var(--ht-surface);
  transition:transform .18s var(--ht-ease),border-color .18s var(--ht-ease);
}
.ht-panel:hover{transform:translateY(-2px);border-color:var(--ht-red)}

.ht-media{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:16/9;
  border:1px solid var(--ht-line);
  background:var(--ht-surface);
}
.ht-media img,
.ht-media video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.95) contrast(1.06) brightness(.92);
}
.ht-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,rgba(7,12,26,.62) 0 34%,rgba(7,12,26,0) 34% 100%);
}
.ht-media--wide{aspect-ratio:21/9}
.ht-media--tall{aspect-ratio:4/5}
.ht-media--square{aspect-ratio:1/1}
.ht-media__cap{
  margin-top:10px;
  font-family:var(--ht-font-mono);
  font-size:11px;
  line-height:1.6;
  letter-spacing:.06em;
  color:var(--ht-faint);
}

.ht-index{border-top:1px solid var(--ht-line)}
.ht-index li{border-bottom:1px solid var(--ht-line)}
.ht-index a{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:15px 4px;
  color:var(--ht-text);
  font-size:15px;
  text-decoration:none;
  transition:color .18s var(--ht-ease),padding-left .18s var(--ht-ease);
}
.ht-index a:hover{color:var(--ht-cyan);padding-left:10px}
.ht-index__meta{
  flex:none;
  font-family:var(--ht-font-mono);
  font-size:11.5px;
  letter-spacing:.08em;
  color:var(--ht-faint);
}

/* ---------- 07 头部 ---------- */
.ht-header{
  position:sticky;
  top:0;
  z-index:70;
  background:var(--ht-ink);
}
.ht-progress{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  z-index:3;
  background:rgba(35,49,99,.65);
}
.ht-progress__bar{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg,var(--ht-red) 0%,var(--ht-red-hi) 45%,var(--ht-cyan) 100%);
  transition:width .1s linear;
}

.ht-masthead{
  height:46px;
  overflow:hidden;
  background:var(--ht-ink);
  border-bottom:1px solid var(--ht-line);
  transition:height .22s var(--ht-ease),opacity .18s linear,border-color .18s linear;
}
.ht-header[data-condensed="true"] .ht-masthead{
  height:0;
  opacity:0;
  border-bottom-color:transparent;
}
.ht-masthead__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  height:46px;
}
.ht-masthead__brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.ht-masthead__meta{
  display:flex;
  align-items:center;
  gap:14px;
  flex:none;
  font-family:var(--ht-font-mono);
  font-size:11.5px;
  letter-spacing:.1em;
  color:var(--ht-faint);
}
.ht-edition{color:var(--ht-faint);white-space:nowrap}
.ht-masthead__sep{
  width:1px;
  height:12px;
  background:var(--ht-line);
}
.ht-help{
  color:var(--ht-muted);
  text-decoration:none;
  white-space:nowrap;
  transition:color .18s var(--ht-ease);
}
.ht-help:hover{color:var(--ht-cyan)}

.ht-mark{
  position:relative;
  display:inline-block;
  width:16px;
  height:16px;
  flex:none;
}
.ht-mark__a{
  position:absolute;
  top:0;
  right:0;
  width:11px;
  height:11px;
  background:var(--ht-red);
}
.ht-mark__b{
  position:absolute;
  bottom:0;
  left:0;
  width:11px;
  height:11px;
  border:1px solid var(--ht-cyan);
}
.ht-mark--sm{transform:scale(.86);transform-origin:left center}

.ht-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:var(--ht-text);
  text-decoration:none;
}
.ht-brand__name{
  font-size:15px;
  font-weight:800;
  letter-spacing:-0.01em;
  white-space:nowrap;
}
.ht-brand__line{
  padding-left:12px;
  border-left:1px solid var(--ht-line);
  font-size:12.5px;
  font-weight:400;
  line-height:1.4;
  letter-spacing:.02em;
  color:var(--ht-faint);
  white-space:nowrap;
}
.ht-brand:hover .ht-brand__name{color:var(--ht-cyan-soft)}

.ht-navbar{
  position:relative;
  background:rgba(14,23,48,.94);
  border-bottom:1px solid var(--ht-line);
}
.ht-navbar__inner{
  display:flex;
  align-items:center;
  gap:16px;
  height:var(--ht-header-h);
}
.ht-navbar__label{
  display:inline-block;
  align-self:center;
  height:34px;
  padding-right:10px;
  margin-right:2px;
  border-right:1px solid var(--ht-line);
  writing-mode:vertical-rl;
  text-orientation:upright;
  font-family:var(--ht-font-mono);
  font-size:10.5px;
  line-height:1;
  letter-spacing:.26em;
  color:var(--ht-faint);
  flex:none;
}
.ht-nav{
  display:flex;
  align-items:stretch;
  height:100%;
  min-width:0;
}
.ht-nav__list{
  display:flex;
  align-items:stretch;
  height:100%;
}
.ht-nav__list > li{display:flex}
.ht-nav__link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:100%;
  padding:0 18px;
  color:var(--ht-muted);
  font-size:15px;
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:none;
  white-space:nowrap;
  transition:color .18s var(--ht-ease);
}
.ht-nav__link::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:0;
  height:2px;
  background:var(--ht-red);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .18s var(--ht-ease);
}
.ht-nav__link:hover{color:var(--ht-text)}
.ht-nav__link:hover::after{transform:scaleX(1)}
.ht-nav__link[aria-current="page"]{color:var(--ht-text)}
.ht-nav__link[aria-current="page"]::after{
  left:0;
  right:0;
  transform:scaleX(1);
}
.ht-nav__num{
  font-family:var(--ht-font-mono);
  font-size:10.5px;
  font-weight:400;
  letter-spacing:.08em;
  color:var(--ht-faint);
  transition:color .18s var(--ht-ease);
}
.ht-nav__link[aria-current="page"] .ht-nav__num{color:var(--ht-red-hi)}
.ht-navbar__actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
  flex:none;
}
.ht-navbar__cta{
  padding:9px 16px;
  font-size:13.5px;
  letter-spacing:.04em;
}

.ht-toggle{
  display:none;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border:1px solid var(--ht-line);
  background:transparent;
  color:var(--ht-text);
  font-size:13px;
  letter-spacing:.08em;
  cursor:pointer;
  transition:border-color .18s var(--ht-ease),color .18s var(--ht-ease);
}
.ht-toggle:hover{border-color:var(--ht-red);color:#fff}
.ht-toggle__box{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:16px;
  height:14px;
  flex:none;
}
.ht-toggle__box span{
  display:block;
  height:1.5px;
  width:100%;
  background:currentColor;
  transition:transform .18s var(--ht-ease),opacity .18s var(--ht-ease);
}
.ht-toggle[aria-expanded="true"] .ht-toggle__box span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.ht-toggle[aria-expanded="true"] .ht-toggle__box span:nth-child(2){opacity:0}
.ht-toggle[aria-expanded="true"] .ht-toggle__box span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}

/* ---------- 08 页脚 ---------- */
.ht-footer{
  background:var(--ht-surface);
  color:var(--ht-muted);
}
.ht-footer .ht-band{border-top:0}
.ht-footer__inner{
  display:grid;
  grid-template-columns:1.7fr 1fr 1fr 1fr 1.35fr;
  gap:48px 40px;
  padding-top:64px;
  padding-bottom:56px;
}
.ht-footer__brand{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}
.ht-brand--footer{color:var(--ht-text);gap:12px}
.ht-brand--footer .ht-brand__name{font-size:17px}
.ht-footer__short{
  max-width:22em;
  padding-left:14px;
  border-left:2px solid var(--ht-red);
  font-size:14px;
  line-height:1.75;
  color:var(--ht-muted);
}
.ht-footer__edition{
  font-family:var(--ht-font-mono);
  font-size:11px;
  letter-spacing:.1em;
  color:var(--ht-faint);
}
.ht-footer__col{min-width:0}
.ht-footer__title{
  display:flex;
  align-items:center;
  gap:8px;
  padding-bottom:12px;
  margin-bottom:6px;
  border-bottom:1px solid var(--ht-line);
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  color:var(--ht-cyan-soft);
}
.ht-footer__title::before{
  content:"";
  width:6px;
  height:6px;
  flex:none;
  background:var(--ht-red);
}
.ht-footer__list a{
  display:inline-block;
  padding:6px 0;
  color:var(--ht-muted);
  font-size:14px;
  text-decoration:none;
  transition:color .18s var(--ht-ease);
}
.ht-footer__list a:hover{
  color:var(--ht-text);
  text-decoration:underline;
  text-decoration-color:var(--ht-red);
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
.ht-footer__contact{
  display:block;
  padding:6px 0;
  font-family:var(--ht-font-mono);
  font-size:12.5px;
  line-height:1.7;
  color:var(--ht-muted);
  word-break:break-word;
}
.ht-footer__contact--addr{
  font-family:var(--ht-font-sans);
  font-size:13px;
  line-height:1.8;
  color:var(--ht-faint);
}
.ht-footer__base{
  background:var(--ht-ink);
  border-top:1px solid var(--ht-line);
}
.ht-footer__base-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 20px;
  padding-top:16px;
  padding-bottom:16px;
  font-size:12px;
  color:var(--ht-faint);
}
.ht-footer__copy{letter-spacing:.02em}
.ht-footer__status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--ht-font-mono);
  font-size:11.5px;
  letter-spacing:.08em;
  color:var(--ht-cyan-soft);
}
.ht-dot{
  width:6px;
  height:6px;
  flex:none;
  background:var(--ht-cyan);
  animation:ht-pulse 2.4s ease-in-out infinite;
}
@keyframes ht-pulse{
  0%,100%{opacity:1}
  50%{opacity:.25}
}

/* ---------- 09 动效与显现 ---------- */
.ht-reveal-on [data-reveal]{
  opacity:0;
  transform:translateY(14px);
}
.ht-reveal-on [data-reveal].is-in{
  opacity:1;
  transform:none;
  transition:opacity .22s var(--ht-ease),transform .22s var(--ht-ease);
}

/* ---------- 10 响应式 ---------- */
@media (max-width:1180px){
  .ht-navbar__label{display:none}
  .ht-nav__link{padding:0 13px;font-size:14px}
  .ht-nav__link::after{left:12px;right:12px}
}

@media (max-width:1100px){
  :root{--ht-gutter:40px}
  .ht-footer__inner{
    grid-template-columns:1.4fr 1fr 1fr;
    gap:40px 32px;
  }
}

@media (max-width:1000px){
  .ht-toggle{display:inline-flex}
  .ht-nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:5;
    display:none;
    height:auto;
    max-height:calc(100vh - var(--ht-header-h));
    overflow-y:auto;
    border-bottom:1px solid var(--ht-line);
    background:var(--ht-surface);
    box-shadow:0 22px 44px rgba(7,12,26,.6);
  }
  .ht-nav[data-open="true"]{display:block}
  .ht-nav__list{
    flex-direction:column;
    align-items:stretch;
    height:auto;
    padding:6px 0 16px;
  }
  .ht-nav__list > li{width:100%}
  .ht-nav__link{
    width:100%;
    height:auto;
    padding:14px 24px;
    border-left:3px solid transparent;
    font-size:16px;
    white-space:normal;
  }
  .ht-nav__link::after{display:none}
  .ht-nav__link:hover{background:rgba(35,49,99,.3)}
  .ht-nav__link[aria-current="page"]{
    background:rgba(214,32,46,.1);
    border-left-color:var(--ht-red);
    color:var(--ht-text);
  }
  .ht-nav__link[aria-current="page"]::after{display:none}
  .ht-footer__brand{grid-column:1 / -1}
  .ht-footer__inner{padding-top:48px;padding-bottom:44px}
}

@media (max-width:720px){
  :root{--ht-gutter:20px;--ht-header-h:60px}
  body{font-size:15.5px}
  .ht-brand__line{display:none}
  .ht-masthead__meta{gap:10px}
  .ht-edition{display:none}
  .ht-masthead__sep{display:none}
  .ht-navbar__inner{gap:10px}
  .ht-navbar__cta{padding:8px 12px;font-size:13px}
  .ht-toggle{padding:8px 10px;font-size:12px;gap:8px}
  .ht-toggle__text{display:none}
  .ht-section{padding-block:52px}
  .ht-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
  .ht-span-3,.ht-span-4,.ht-span-5,.ht-span-6{grid-column:span 3}
  .ht-span-7,.ht-span-8,.ht-span-9,.ht-span-12{grid-column:span 6}
  .ht-footer__inner{grid-template-columns:1fr 1fr;gap:32px 24px}
  .ht-footer__brand{grid-column:1 / -1}
  .ht-footer__base-inner{font-size:11.5px}
}

@media (max-width:600px){
  .ht-grid{grid-template-columns:minmax(0,1fr)}
  [class*="ht-span-"]{grid-column:span 1}
  .ht-footer__inner{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .ht-reveal-on [data-reveal]{opacity:1;transform:none}
  .ht-dot{animation:none;opacity:1}
  .ht-progress__bar{transition:none}
  .ht-masthead{transition:none}
  .ht-btn:hover,.ht-panel:hover{transform:none}
}
