.page-home{
  --home-radius:16px;
  --home-line:1px solid var(--steel);
  --home-gap:clamp(18px,3vw,34px);
  --home-pad:clamp(40px,6vw,84px);
  background:var(--ink);
  color:var(--bone);
  padding-bottom:clamp(24px,4vw,56px);
}

.page-home a:focus-visible,
.page-home summary:focus-visible{
  outline:3px solid var(--jade);
  outline-offset:3px;
  border-radius:4px;
}

.page-home .eyebrow{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.18em;
  color:var(--jade);
}
.page-home .eyebrow::after{
  content:"";
  flex:none;
  width:56px;
  height:1px;
  background:linear-gradient(90deg,rgba(47,211,174,.6),rgba(47,211,174,0));
}

.page-home .home-h2{
  margin:14px 0 0;
  font-family:var(--font-sans);
  font-weight:800;
  font-size:clamp(22px,3.2vw,36px);
  line-height:1.18;
  letter-spacing:-.01em;
  color:var(--bone);
  max-width:640px;
}

/* ---------- 首屏分屏 ---------- */
.page-home .home-open{
  position:relative;
  display:grid;
  gap:clamp(24px,4vw,44px);
  padding-block:clamp(26px,4.5vw,58px) clamp(36px,6vw,76px);
  overflow:hidden;
}
.page-home .home-open::after{
  content:"";
  position:absolute;
  right:-16%;
  top:4%;
  width:min(520px,70vw);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,90,31,.12),rgba(255,90,31,0) 70%);
  pointer-events:none;
  z-index:0;
}
.page-home .home-open__intro{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.page-home .home-context{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--fog);
}
.page-home .home-context__dot{
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--jade);
  box-shadow:0 0 0 4px rgba(47,211,174,.16);
}
.page-home .home-title{
  margin:18px 0 14px;
  font-family:var(--font-sans);
  font-weight:900;
  font-size:clamp(30px,5vw,54px);
  line-height:1.06;
  letter-spacing:-.02em;
  color:var(--bone);
  max-width:560px;
  transform:skewX(-3deg);
  transform-origin:left bottom;
}
.page-home .home-lede{
  margin:0;
  max-width:52ch;
  font-size:clamp(15px,1.6vw,17px);
  line-height:1.75;
  color:var(--fog);
}
.page-home .home-index{
  list-style:none;
  margin:clamp(22px,3vw,34px) 0 0;
  padding:0;
  border-top:var(--home-line);
}
.page-home .home-index li{
  border-bottom:var(--home-line);
}
.page-home .home-index a{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:4px 16px;
  padding:14px 2px;
  color:var(--bone);
  text-decoration:none;
  transition:color .18s ease,padding-left .18s ease;
}
.page-home .home-index__label{
  font-size:16px;
  font-weight:600;
}
.page-home .home-index__note{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--fog);
}
.page-home .home-index a:hover,
.page-home .home-index a:focus-visible{
  color:var(--jade);
  padding-left:8px;
}

.page-home .home-open__stage{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:420px;
  padding-bottom:4px;
}
.page-home .home-stage__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:.42;
  filter:saturate(.92);
  clip-path:polygon(0 0,100% 0,100% 94%,0 100%);
  border-radius:18px;
}
.page-home .home-stage__card{
  position:relative;
  z-index:1;
  margin-top:clamp(48px,14vw,110px);
  padding:18px 20px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),var(--slate);
  border:1px solid var(--steel);
  border-radius:var(--home-radius);
  backdrop-filter:blur(6px);
  clip-path:polygon(0 14px,100% 0,100% 100%,0 100%);
}
.page-home .home-stage__head{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.page-home .home-stage__badge{
  padding:3px 10px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.08em;
  color:var(--ink);
  background:var(--gold);
  border-radius:4px;
}
.page-home .home-stage__league{
  font-size:13px;
  color:var(--fog);
}
.page-home .home-score{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:14px 0 10px;
}
.page-home .home-score__team{
  font-size:clamp(16px,2vw,20px);
  font-weight:700;
  color:var(--bone);
}
.page-home .home-score__team--away{
  text-align:right;
}
.page-home .home-score__num{
  flex:none;
  padding:6px 14px;
  font-family:var(--font-mono);
  font-weight:800;
  font-size:clamp(24px,3.6vw,38px);
  line-height:1;
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  background:var(--ember);
  border-radius:6px;
}
.page-home .home-stage__meta{
  margin:0;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--fog);
}
.page-home .home-stage__entry{
  position:relative;
  z-index:1;
  align-self:flex-start;
  display:block;
  margin-top:12px;
  padding:10px 24px 10px 16px;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.05em;
  color:var(--ink);
  background:var(--ember);
  text-decoration:none;
  clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%);
  transition:background .16s ease;
}
.page-home .home-stage__entry:hover,
.page-home .home-stage__entry:focus-visible{
  background:var(--gold);
}

/* ---------- 比分带 ---------- */
.page-home .home-scores{
  position:relative;
  background:var(--slate);
  border-block:var(--home-line);
  padding-block:clamp(34px,5vw,68px);
}
.page-home .home-scores::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:8px;
  background:linear-gradient(90deg,var(--ember) 0%,rgba(255,90,31,.55) 34%,rgba(34,49,74,0) 78%);
  clip-path:polygon(0 100%,100% 0,100% 45%,0 100%);
}
.page-home .score-switch{
  position:relative;
  margin-top:24px;
}
.page-home .score-switch__input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  overflow:hidden;
}
.page-home .score-switch__tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:20px;
}
.page-home .score-switch__tabs label{
  cursor:pointer;
  padding:9px 20px;
  font-size:14px;
  color:var(--fog);
  background:var(--deep);
  border:1px solid var(--steel);
  border-radius:999px;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.page-home .score-switch__tabs label:hover{
  border-color:var(--ember-soft);
  color:var(--bone);
}
.page-home #lg-football:checked ~ .score-switch__tabs label[for="lg-football"],
.page-home #lg-basket:checked ~ .score-switch__tabs label[for="lg-basket"],
.page-home #lg-other:checked ~ .score-switch__tabs label[for="lg-other"]{
  background:var(--ember);
  border-color:var(--ember);
  color:var(--ink);
  font-weight:700;
}
.page-home #lg-football:focus-visible ~ .score-switch__tabs label[for="lg-football"],
.page-home #lg-basket:focus-visible ~ .score-switch__tabs label[for="lg-basket"],
.page-home #lg-other:focus-visible ~ .score-switch__tabs label[for="lg-other"]{
  outline:3px solid var(--jade);
  outline-offset:2px;
}
.page-home .score-panel{
  display:none;
}
.page-home #lg-football:checked ~ .score-switch__panels .score-panel--football,
.page-home #lg-basket:checked ~ .score-switch__panels .score-panel--basket,
.page-home #lg-other:checked ~ .score-switch__panels .score-panel--other{
  display:block;
}
.page-home .match-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.page-home .match{
  display:grid;
  gap:6px 16px;
  align-items:center;
  padding:14px 16px;
  background:var(--deep);
  border:1px solid var(--steel);
  border-radius:12px;
  transition:border-color .16s ease;
}
.page-home .match:hover{
  border-color:var(--ember);
}
.page-home .match__league{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.04em;
  color:var(--fog);
}
.page-home .match__teams{
  font-size:16px;
  font-weight:600;
  color:var(--bone);
}
.page-home .match__score{
  display:inline-block;
  margin:0 8px;
  padding:2px 10px;
  font-family:var(--font-mono);
  font-weight:800;
  font-size:15px;
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  background:var(--gold);
  border-radius:5px;
}
.page-home .match__state{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--fog);
  white-space:nowrap;
}
.page-home .match__state--live{
  color:var(--jade);
}
.page-home .match__state--next{
  color:var(--ember-soft);
}
.page-home .home-scores__foot{
  margin:22px 0 0;
  font-size:14px;
  line-height:1.7;
  color:var(--fog);
  max-width:66ch;
}
.page-home .home-scores__foot a{
  color:var(--jade);
}

/* ---------- 斜切条带 ---------- */
.page-home .home-band{
  margin:clamp(28px,5vw,56px) 0 0;
}
.page-home .home-band img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  clip-path:polygon(0 8%,100% 0,100% 92%,0 100%);
  filter:saturate(.85) brightness(.85);
}
.page-home .home-band figcaption{
  margin-top:12px;
  font-family:var(--font-serif);
  font-size:14px;
  line-height:1.7;
  color:var(--fog);
  text-align:right;
}

/* ---------- 联赛导航 ---------- */
.page-home .home-leagues{
  padding-block:var(--home-pad);
}
.page-home .home-leagues__grid{
  display:grid;
  gap:var(--home-gap);
  margin-top:28px;
}
.page-home .league-cards{
  display:grid;
  gap:14px;
}
.page-home .league-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:22px 22px 20px;
  background:var(--slate);
  border:1px solid var(--steel);
  border-radius:14px;
  text-decoration:none;
  color:var(--bone);
  overflow:hidden;
  transition:border-color .16s ease,background .16s ease;
}
.page-home .league-card::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:var(--ember);
  transform:scaleY(0);
  transform-origin:bottom;
  transition:transform .18s ease;
}
.page-home .league-card:hover,
.page-home .league-card:focus-visible{
  border-color:var(--ember);
  background:var(--deep);
}
.page-home .league-card:hover::after,
.page-home .league-card:focus-visible::after{
  transform:scaleY(1);
}
.page-home .league-card__num{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.16em;
  color:var(--jade);
}
.page-home .league-card__title{
  margin:0;
  font-family:var(--font-sans);
  font-size:clamp(17px,2vw,20px);
  font-weight:800;
  line-height:1.3;
}
.page-home .league-card__desc{
  margin:0;
  font-size:14.5px;
  line-height:1.7;
  color:var(--fog);
}
.page-home .league-card__count{
  margin-top:4px;
  align-self:flex-start;
  padding:2px 10px;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--gold);
  border:1px solid rgba(242,181,68,.45);
  border-radius:999px;
  transition:background .16s ease,color .16s ease;
}
.page-home .league-card:hover .league-card__count{
  background:var(--gold);
  color:var(--ink);
}
.page-home .home-leagues__aside{
  padding:22px 22px 24px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0)),var(--deep);
  border:1px solid var(--steel);
  border-left:3px solid var(--jade);
  border-radius:0 14px 14px 0;
}
.page-home .home-aside__kicker{
  margin:0;
  font-family:var(--font-serif);
  font-size:15px;
  color:var(--jade);
}
.page-home .home-aside__title{
  margin:10px 0 12px;
  font-family:var(--font-sans);
  font-size:clamp(18px,2.2vw,22px);
  font-weight:800;
  line-height:1.35;
  color:var(--bone);
}
.page-home .home-aside__text{
  margin:0 0 12px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--fog);
}

/* ---------- 按钮 ---------- */
.page-home .home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.page-home .home-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  color:var(--ink);
  background:var(--ember);
  border:1px solid var(--ember);
  border-radius:999px;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.page-home .home-cta:hover,
.page-home .home-cta:focus-visible{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--ink);
}
.page-home .home-cta--ghost{
  background:transparent;
  color:var(--bone);
  border-color:var(--steel);
}
.page-home .home-cta--ghost:hover,
.page-home .home-cta--ghost:focus-visible{
  background:rgba(47,211,174,.1);
  border-color:var(--jade);
  color:var(--jade);
}

/* ---------- 观赛路径 ---------- */
.page-home .home-paths{
  background:var(--slate);
  border-block:var(--home-line);
  padding-block:var(--home-pad);
}
.page-home .home-paths__grid{
  display:grid;
  gap:var(--home-gap);
  margin-top:28px;
}
.page-home .path{
  margin-bottom:12px;
  padding:16px 18px;
  background:var(--deep);
  border:1px solid var(--steel);
  border-radius:12px;
  transition:border-color .16s ease;
}
.page-home .path[open]{
  border-color:rgba(255,90,31,.5);
}
.page-home .path summary{
  display:flex;
  align-items:flex-start;
  gap:10px;
  cursor:pointer;
  list-style:none;
  font-size:15.5px;
  font-weight:700;
  line-height:1.5;
  color:var(--bone);
}
.page-home .path summary::-webkit-details-marker{
  display:none;
}
.page-home .path summary::before{
  content:"+";
  flex:none;
  width:16px;
  font-family:var(--font-mono);
  font-size:18px;
  line-height:1.2;
  color:var(--ember);
}
.page-home .path[open] summary::before{
  content:"−";
}
.page-home .path ol{
  margin:14px 0 0;
  padding-left:20px;
  font-size:14.5px;
  line-height:1.8;
  color:var(--fog);
}
.page-home .path ol li{
  margin-bottom:6px;
}
.page-home .path ol li::marker{
  font-family:var(--font-mono);
  color:var(--gold);
}
.page-home .path a{
  color:var(--jade);
}
.page-home .home-paths__aside{
  margin:0;
}
.page-home .home-paths__aside img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:14px;
  clip-path:polygon(0 0,100% 3%,100% 100%,0 97%);
  filter:saturate(.9) brightness(.85);
}
.page-home .home-paths__cap{
  margin:12px 0 0;
  font-family:var(--font-serif);
  font-size:14px;
  line-height:1.7;
  color:var(--fog);
}

/* ---------- 资料更新 ---------- */
.page-home .home-library{
  padding-block:var(--home-pad);
}
.page-home .home-log-list{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  display:grid;
  gap:1px;
  background:var(--steel);
  border:1px solid var(--steel);
  border-radius:14px;
  overflow:hidden;
}
.page-home .home-log-list li{
  display:grid;
  gap:8px;
  padding:20px 20px 22px;
  background:var(--deep);
}
.page-home .home-log__batch{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.06em;
  color:var(--gold);
}
.page-home .home-log-list p{
  margin:0;
  font-size:14.5px;
  line-height:1.75;
  color:var(--fog);
}

/* ---------- 承诺条 ---------- */
.page-home .home-promise{
  position:relative;
  overflow:hidden;
  padding-block:clamp(44px,7vw,88px);
  border-top:var(--home-line);
  background:var(--ink);
}
.page-home .home-promise__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.34;
}
.page-home .home-promise::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(7,13,24,.6),rgba(7,13,24,.93));
  pointer-events:none;
}
.page-home .home-promise .container{
  position:relative;
  z-index:1;
}
.page-home .home-promise__text{
  margin:18px 0 0;
  max-width:64ch;
  font-size:15px;
  line-height:1.8;
  color:var(--fog);
}
.page-home .home-stats{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
}
.page-home .home-stats li{
  padding:2px 0 2px 14px;
  border-left:2px solid var(--ember);
}
.page-home .home-stats b{
  display:block;
  font-family:var(--font-mono);
  font-size:clamp(20px,2.6vw,28px);
  font-weight:800;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
  color:var(--gold);
}
.page-home .home-stats span{
  display:block;
  margin-top:4px;
  font-size:12.5px;
  color:var(--fog);
}

/* ---------- 响应式 ---------- */
@media (min-width:640px){
  .page-home .league-cards{
    grid-template-columns:1fr 1fr;
  }
  .page-home .league-card--wide{
    grid-column:1 / -1;
  }
}

@media (min-width:760px){
  .page-home .match{
    grid-template-columns:minmax(0,1fr) auto auto;
  }
  .page-home .home-log-list li{
    grid-template-columns:200px minmax(0,1fr);
    align-items:start;
    gap:26px;
    padding:22px 24px;
  }
}

@media (min-width:900px){
  .page-home .home-open{
    grid-template-columns:minmax(0,7fr) minmax(0,5fr);
    align-items:stretch;
    min-height:560px;
  }
  .page-home .home-open__stage{
    min-height:0;
  }
  .page-home .home-stage__card{
    margin-top:clamp(60px,10vw,120px);
  }
}

@media (min-width:960px){
  .page-home .home-leagues__grid{
    grid-template-columns:minmax(0,8fr) minmax(0,4fr);
    align-items:start;
  }
  .page-home .home-paths__grid{
    grid-template-columns:minmax(0,7fr) minmax(0,5fr);
    align-items:start;
  }
  .page-home .league-card--wide .league-card__desc{
    max-width:58ch;
  }
}

@media (prefers-reduced-motion:reduce){
  .page-home .home-index a,
  .page-home .league-card,
  .page-home .league-card::after,
  .page-home .league-card__count,
  .page-home .match,
  .page-home .path,
  .page-home .home-cta,
  .page-home .home-stage__entry,
  .page-home .score-switch__tabs label{
    transition:none;
  }
}
