.page-home{
  --home-soft: rgba(245,238,220,.74);
  --home-ink-soft: rgba(35,26,18,.7);
  background: var(--pitch);
  color: var(--white);
  overflow-x: hidden;
}
.page-home [hidden]{ display: none !important; }

.page-home .home-rail-bar{
  border-bottom: 1px solid var(--line-soft);
  background: var(--pitch-deep);
}
.page-home .home-rail{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}
.page-home .home-rail__pulse{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200,16,46,.2);
}
.page-home .home-rail__sep{ color: rgba(217,210,195,.4); }
.page-home .home-rail__link{
  margin-left: auto;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(242,201,76,.5);
  padding-bottom: 1px;
}
.page-home .home-rail__link:hover{ color: var(--white); }

/* ---------- 首屏记分牌 ---------- */
.page-home .kickoff{
  position: relative;
  padding: clamp(26px,5vw,52px) 0 clamp(34px,6vw,64px);
  isolation: isolate;
}
.page-home .kickoff__bg{
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.page-home .kickoff__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.8);
}
.page-home .kickoff__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(11,61,46,.35) 0%, rgba(11,61,46,.94) 62%, var(--pitch) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px);
}
.page-home .kickoff__inner{
  position: relative;
  display: grid;
  gap: clamp(24px,4vw,38px);
}
.page-home .kickoff__title{
  font-family: var(--font-display);
  font-size: clamp(2.3rem,8vw,4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: none;
  margin: 10px 0 16px;
  color: var(--white);
}
.page-home .kickoff__sub{
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--yellow);
  font-weight: 600;
}
.page-home .kickoff__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.page-home .score-stats{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.page-home .score-stats .stat{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .score-stats .stat__num{
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.page-home .score-stats .stat__label{
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-home .kickoff__board{
  display: grid;
  gap: 12px;
  align-content: start;
}
.page-home .score-card{
  background: linear-gradient(158deg, var(--pitch-2), var(--pitch-deep) 72%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  box-shadow: 0 22px 44px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
}
.page-home .score-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.page-home .score-card__live{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--white);
}
.page-home .score-card__live .status-dot{
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200,16,46,.22);
}
.page-home .score-card__line{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
}
.page-home .score-card__team{
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--mist);
  text-align: center;
}
.page-home .score-card__digits{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.page-home .score-card__num{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem,13vw,4.6rem);
  line-height: .92;
  color: var(--white);
  text-shadow: 0 0 26px rgba(255,255,255,.18);
}
.page-home .score-card__colon{
  font-family: var(--font-mono);
  font-size: clamp(1.6rem,6vw,2.4rem);
  color: var(--yellow);
}
.page-home .score-card__note{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.page-home .stub-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.page-home .stub{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-home .stub::before,
.page-home .stub::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pitch-deep);
  transform: translateY(-50%);
}
.page-home .stub::before{ left: -6px; }
.page-home .stub::after{ right: -6px; }
.page-home .stub--yellow{
  background: var(--yellow);
  color: var(--ink);
}
.page-home .stub--red{
  background: var(--red);
  color: var(--white);
}
.page-home .stub__label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.page-home .stub__num{
  font-family: var(--font-mono);
  font-size: clamp(2rem,8vw,2.9rem);
  font-weight: 700;
  line-height: 1;
}
.page-home .stub-photo{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
}
.page-home .stub-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 订阅轨道 ---------- */
.page-home .sub-band{
  background: var(--pitch-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .sub-band__head{
  max-width: 62ch;
}
.page-home .sub-band h2{
  font-family: var(--font-display);
  font-size: clamp(1.6rem,4.4vw,2.4rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 8px 0 12px;
}
.page-home .sub-band__intro{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-soft);
}
.page-home .sub-rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 78%);
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}
.page-home .sub-rail::-webkit-scrollbar{ height: 6px; }
.page-home .sub-rail::-webkit-scrollbar-thumb{
  background: var(--pitch-2);
  border-radius: 99px;
}
.page-home .sub-ticket{
  position: relative;
  scroll-snap-align: start;
  display: grid;
  gap: 4px;
  padding: 14px 40px 14px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.page-home .sub-ticket:hover{
  border-color: rgba(45,156,219,.7);
  transform: translateY(-2px);
}
.page-home .sub-ticket:focus-within{
  outline: 2px solid var(--whistle);
  outline-offset: 2px;
}
.page-home .sub-ticket input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.page-home .sub-ticket__league{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--yellow);
}
.page-home .sub-ticket__match{
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.page-home .sub-ticket__time{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}
.page-home .sub-ticket__mark{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
}
.page-home .sub-ticket input:checked ~ .sub-ticket__mark{
  border-color: var(--sky);
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(45,156,219,.18);
}
.page-home .sub-ticket input:checked ~ .sub-ticket__mark::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--pitch-deep);
  border-bottom: 2px solid var(--pitch-deep);
  transform: rotate(42deg);
}
.page-home .sub-ticket:has(input:checked){
  border-style: solid;
  border-color: var(--sky);
  background: rgba(45,156,219,.14);
}
.page-home .sub-band__foot{
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--mist);
}
.page-home .sub-band__foot a{
  color: var(--sky);
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 联赛索引 ---------- */
.page-home .leagues__inner{
  display: grid;
  gap: 22px;
}
.page-home .leagues h2{
  font-family: var(--font-display);
  font-size: clamp(1.7rem,4.6vw,2.5rem);
  line-height: 1.1;
  margin: 8px 0 10px;
}
.page-home .leagues__text{
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--home-soft);
}
.page-home .leagues__link{
  font-size: 13px;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(242,201,76,.45);
}
.page-home .leagues__link:hover{ color: var(--white); }
.page-home .league-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.page-home .league-item{
  border-bottom: 1px solid var(--line-soft);
}
.page-home .league-item__link{
  display: grid;
  grid-template-columns: 34px 1fr auto;
  grid-template-areas:
    "no name go"
    "no note go";
  align-items: center;
  gap: 0 12px;
  padding: 12px 6px;
  text-decoration: none;
  color: var(--white);
  transition: background .16s ease, padding-left .16s ease;
}
.page-home .league-item__link:hover{
  background: rgba(242,201,76,.08);
  padding-left: 12px;
}
.page-home .league-item__no{
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow);
}
.page-home .league-item__name{
  grid-area: name;
  font-size: clamp(1.02rem,2.6vw,1.3rem);
  font-weight: 800;
  letter-spacing: -.01em;
}
.page-home .league-item__note{
  grid-area: note;
  font-size: 12px;
  color: var(--mist);
}
.page-home .league-item__go{
  grid-area: go;
  font-family: var(--font-mono);
  color: var(--pitch-2);
  font-size: 15px;
}
.page-home .league-item__link:hover .league-item__go{ color: var(--yellow); }

/* ---------- 平板同屏 ---------- */
.page-home .tablet{
  background: var(--pitch-2);
  border-top: 1px solid var(--line-soft);
}
.page-home .tablet__inner{
  display: grid;
  gap: 22px;
  align-items: center;
}
.page-home .tablet__figure{
  margin: 0;
}
.page-home .tablet__figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .tablet h2{
  font-family: var(--font-display);
  font-size: clamp(1.6rem,4.4vw,2.3rem);
  line-height: 1.12;
  margin: 8px 0 12px;
}
.page-home .tablet__copy p{
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.86);
}
.page-home .tablet__list{
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-home .tablet__list li{
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white);
}
.page-home .tablet__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 3px;
  background: var(--yellow);
}

/* ---------- 三步路径 ---------- */
.page-home .path h2{
  font-family: var(--font-display);
  font-size: clamp(1.7rem,4.6vw,2.5rem);
  margin: 8px 0 20px;
}
.page-home .path__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .path__step{
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(31,90,69,.55), rgba(8,46,34,.7));
}
.page-home .path__no{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--pitch-deep);
  background: var(--yellow);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .1em;
}
.page-home .path__step h3{
  font-size: 1.16rem;
  font-weight: 800;
  margin: 12px 0 8px;
}
.page-home .path__step p{
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-soft);
}
.page-home .path__link{
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(242,201,76,.5);
}
.page-home .path__link:hover{ color: var(--white); }

/* ---------- 最新轮次摘要 ---------- */
.page-home .roundup{
  background: var(--paper);
  color: var(--ink);
}
.page-home .roundup .eyebrow{ color: var(--red); }
.page-home .roundup h2{
  font-family: var(--font-display);
  font-size: clamp(1.7rem,4.6vw,2.5rem);
  line-height: 1.1;
  margin: 8px 0 0;
  color: var(--ink);
}
.page-home .roundup__head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.page-home .roundup .btn--ghost{
  color: var(--ink);
  border-color: rgba(35,26,18,.4);
}
.page-home .roundup .btn--ghost:hover{
  background: var(--ink);
  color: var(--paper);
}
.page-home .roundup .filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.page-home .roundup .filter-btn{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(35,26,18,.28);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.page-home .roundup .filter-btn[aria-pressed="true"]{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.page-home .roundup .filter-btn:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.page-home .roundup__grid{
  display: grid;
  gap: 18px;
}
.page-home .roundup__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .roundup__item{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(35,26,18,.16);
  border-radius: var(--radius);
}
.page-home .roundup__tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.page-home .roundup__tag--yellow{
  background: var(--yellow);
  color: var(--ink);
}
.page-home .roundup__tag--red{
  background: var(--red);
  color: var(--white);
}
.page-home .roundup__text h3{
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}
.page-home .roundup__text p{
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--home-ink-soft);
}
.page-home .roundup__link{
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,16,46,.4);
  white-space: nowrap;
  align-self: center;
}
.page-home .roundup__link:hover{ color: var(--ink); }
.page-home .roundup__figure{
  margin: 0;
  border: 1px solid rgba(35,26,18,.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pitch-deep);
}
.page-home .roundup__figure img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}
.page-home .roundup__figure figcaption{
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}
.page-home .roundup .meta-note{ color: var(--home-ink-soft); }

@media (min-width: 760px){
  .page-home .kickoff__inner{
    grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
    align-items: start;
  }
  .page-home .sub-rail{
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0,1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }
  .page-home .roundup__grid{
    grid-template-columns: minmax(0,1.45fr) minmax(0,.75fr);
    align-items: start;
  }
  .page-home .path__list{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .page-home .tablet__inner{
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: 30px;
  }
}

@media (min-width: 1000px){
  .page-home .sub-rail{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .page-home .leagues__inner{
    grid-template-columns: minmax(0,3fr) minmax(0,7fr);
    gap: 36px;
    align-items: start;
  }
  .page-home .leagues__aside{
    position: sticky;
    top: 24px;
  }
  .page-home .kickoff__board{
    gap: 14px;
  }
  .page-home .score-card__team{ font-size: 13.5px; }
  .page-home .roundup__figure img{ aspect-ratio: 4 / 5; }
  .page-home .path__step{ padding: 24px 22px 22px; }
}
