.page-home{
  --ph-gap:clamp(10px,1.2vw,16px);
  --ph-pad:clamp(16px,2vw,26px);
  background-color:var(--ink);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg,var(--grid) 1px, transparent 1px);
  background-size:32px 32px;
  color:var(--paper);
  overflow-x:hidden;
}

.page-home .wrap{position:relative}

/* ---------- 上下文条 ---------- */
.page-home .ctx{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  padding-top:clamp(14px,2.4vw,22px);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.page-home .ctx__id{color:var(--silver)}
.page-home .ctx__live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--amber);
}
.page-home .ctx__live i{
  display:block;
  width:6px;
  height:6px;
  background:var(--orange);
  animation:ph-pulse 2s var(--ease) infinite;
}
.page-home .ctx__jump{
  margin-left:auto;
  color:var(--silver);
  text-decoration:none;
  padding-bottom:2px;
  border-bottom:1px solid var(--line);
  transition:color .25s var(--ease),border-color .25s var(--ease);
}
.page-home .ctx__jump:hover,
.page-home .ctx__jump:focus-visible{color:var(--orange);border-color:var(--orange)}

@keyframes ph-pulse{
  0%,100%{opacity:1}
  50%{opacity:.2}
}

/* ---------- 首屏 ---------- */
.page-home .hero{
  position:relative;
  padding:clamp(26px,4.5vw,58px) 0 clamp(40px,6vw,84px);
}
.page-home .hero::before{
  content:"";
  position:absolute;
  left:-12%;
  right:-12%;
  top:-30%;
  height:130%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(46% 58% at 16% 28%, rgba(255,106,26,.20), transparent 68%),
    radial-gradient(42% 54% at 92% 6%, rgba(255,178,94,.11), transparent 70%);
}
.page-home .hero > .wrap{position:relative;z-index:1}

.page-home .hero__intro{max-width:min(100%,780px)}
.page-home .hero__title{
  margin:.26em 0 .5em;
  font-size:clamp(2.2rem,5vw,4.4rem);
  line-height:1;
  font-weight:900;
  letter-spacing:-.02em;
}
.page-home .hero__lead{
  margin:0;
  max-width:58ch;
  font-size:clamp(16px,1vw + 12px,18px);
  line-height:1.75;
  color:var(--silver);
}
.page-home .hero__facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px 30px;
  margin:22px 0 0;
  padding:0;
  list-style:none;
  font-size:13px;
  color:var(--muted);
}
.page-home .hero__facts b{
  color:var(--paper);
  font-weight:600;
  letter-spacing:.04em;
}

/* 拼贴 */
.page-home .hero__collage{
  display:flex;
  flex-direction:column;
  gap:var(--ph-gap);
  margin-top:clamp(26px,4vw,48px);
}
.page-home .hero__aside{
  display:flex;
  flex-direction:column;
  gap:var(--ph-gap);
}

/* 比分板 */
.page-home .board{
  display:flex;
  flex-direction:column;
  gap:clamp(14px,1.6vw,20px);
  padding:var(--ph-pad);
  background:linear-gradient(160deg,rgba(16,36,31,.97),rgba(11,20,18,.97) 62%);
  border:1px solid var(--line);
  border-top:2px solid var(--orange);
}
.page-home .board__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.page-home .board__title{
  margin:0;
  font-size:13px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--amber);
}
.page-home .board__live{
  font-size:11px;
  letter-spacing:.1em;
  color:var(--muted);
}
.page-home .board__list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
}
.page-home .board__row{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  grid-template-areas:
    "meta meta tag"
    "home score away";
  align-items:center;
  gap:6px 10px;
  padding:clamp(10px,1.2vw,14px) 0;
  border-top:1px solid var(--line);
}
.page-home .board__row:first-child{border-top:0}
.page-home .board__meta{
  grid-area:meta;
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}
.page-home .board__tag{grid-area:tag;justify-self:end}
.page-home .board__home{
  grid-area:home;
  text-align:right;
  font-size:15px;
  font-weight:600;
  min-width:0;
}
.page-home .board__away{
  grid-area:away;
  text-align:left;
  font-size:15px;
  font-weight:600;
  min-width:0;
}
.page-home .board__score{
  grid-area:score;
  padding:0 10px;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:clamp(22px,2.4vw,30px);
  font-weight:700;
  line-height:1;
  letter-spacing:.05em;
  color:var(--orange);
}
.page-home .board__score i{
  font-style:normal;
  margin:0 .08em;
  color:var(--muted);
}
.page-home .board__foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.page-home .board__note{
  font-size:11px;
  letter-spacing:.06em;
  color:var(--muted);
}

/* 首屏竖幅图 */
.page-home .hero__figure{margin:0}
.page-home .hero__figure .figure__frame{
  position:relative;
  overflow:hidden;
  background:var(--ink-2);
  border:1px solid var(--line);
  aspect-ratio:16/9;
}
.page-home .hero__figure img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.85) contrast(1.06);
}

/* 入口块 */
.page-home .tile{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:var(--ph-pad);
  border:1px solid var(--line);
  background:rgba(16,36,31,.72);
  color:inherit;
  text-decoration:none;
  transition:border-color .3s var(--ease),background .3s var(--ease);
}
.page-home .tile:hover,
.page-home .tile:focus-visible{
  border-color:var(--orange);
  background:rgba(16,36,31,.96);
}
.page-home .tile__k{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--amber);
}
.page-home .tile__title{
  margin:0;
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.3;
  font-weight:800;
  letter-spacing:-.01em;
}
.page-home .tile__text{
  margin:0;
  font-size:14px;
  line-height:1.72;
  color:var(--muted);
}
.page-home .tile__go{
  margin-top:auto;
  padding-top:6px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--orange);
}
.page-home .tile--install{
  background:linear-gradient(155deg,rgba(255,106,26,.14),rgba(16,36,31,.9) 62%);
  border-color:rgba(255,106,26,.38);
}
.page-home .tile--install:hover,
.page-home .tile--install:focus-visible{border-color:var(--orange)}

/* ---------- 通用章节 ---------- */
.page-home .section{
  position:relative;
  padding:clamp(40px,6vw,88px) 0;
  border-top:1px solid var(--line);
}
.page-home .section--ink{
  background:linear-gradient(180deg,rgba(16,36,31,.82),rgba(16,36,31,.99));
}
.page-home .section__head{
  max-width:820px;
  margin-bottom:clamp(22px,3vw,40px);
}
.page-home .section__index{
  display:inline-block;
  margin-bottom:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--orange);
}
.page-home .section__title{
  margin:0 0 14px;
  font-size:clamp(1.6rem,3vw,2.6rem);
  line-height:1.14;
  font-weight:900;
  letter-spacing:-.02em;
}
.page-home .section__lead{
  margin:0;
  max-width:62ch;
  font-size:16px;
  line-height:1.78;
  color:var(--silver);
}
.page-home .link-amber{
  margin-left:6px;
  color:var(--amber);
  text-decoration:none;
  border-bottom:1px solid rgba(255,178,94,.4);
}
.page-home .link-amber:hover,
.page-home .link-amber:focus-visible{color:var(--orange);border-color:var(--orange)}

/* ---------- 赛程面板路线 ---------- */
.page-home .route__stage{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--ink);
}
.page-home .route__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.26;
  filter:saturate(.5) contrast(1.1);
}
.page-home .route__stage::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(11,20,18,.95) 0%,rgba(11,20,18,.68) 48%,rgba(11,20,18,.92) 100%);
}
.page-home .route__grid{
  position:relative;
  z-index:1;
  display:grid;
  gap:1px;
  background:var(--grid-strong);
}
.page-home .route__cell{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:clamp(20px,2.6vw,34px);
  background:rgba(11,20,18,.86);
}
.page-home .route__key{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--orange);
}
.page-home .route__name{
  margin:0;
  font-size:clamp(17px,1.5vw,21px);
  line-height:1.32;
  font-weight:800;
}
.page-home .route__desc{
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.page-home .route__foot{
  margin:clamp(20px,2.6vw,32px) 0 0;
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
}

/* ---------- 球员数据 ---------- */
.page-home .metrics__grid{
  display:grid;
  gap:clamp(22px,3vw,44px);
}
.page-home .metrics__figure{margin:0}
.page-home .metrics__figure .figure__frame{
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--ink-2);
  aspect-ratio:3/2;
}
.page-home .metrics__figure img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.page-home .metrics__figure .figure__cap{
  margin-top:12px;
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
}
.page-home .metrics__figure .figure__cap b{color:var(--amber);font-weight:600}
.page-home .metrics__path{
  margin:0 0 20px;
  padding:14px 16px;
  border-left:2px solid var(--orange);
  background:rgba(30,58,51,.42);
  font-size:15px;
  line-height:1.78;
  color:var(--silver);
}
.page-home .metrics__table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.page-home .metrics__table thead th{
  padding:10px 12px;
  text-align:left;
  font-family:var(--mono);
  font-size:10px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  border-bottom:1px solid var(--silver);
}
.page-home .metrics__table tbody th,
.page-home .metrics__table tbody td{
  padding:12px;
  text-align:left;
  vertical-align:top;
  line-height:1.65;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.page-home .metrics__table tbody tr:nth-child(even){background:rgba(30,58,51,.35)}
.page-home .metrics__table tbody td:first-child{
  white-space:nowrap;
  font-weight:700;
  color:var(--paper);
}
.page-home .metrics__note{
  margin:18px 0 0;
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
}
.page-home .visually-hidden{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;border:0;
}

/* ---------- 栏目与轮次 ---------- */
.page-home .filter-bar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:clamp(18px,2.4vw,28px);
}
.page-home .filter-btn{
  appearance:none;
  padding:8px 14px;
  font:inherit;
  font-size:13px;
  letter-spacing:.06em;
  color:var(--silver);
  background:transparent;
  border:1px solid var(--line);
  cursor:pointer;
  transition:color .25s var(--ease),border-color .25s var(--ease),background .25s var(--ease);
}
.page-home .filter-btn:hover,
.page-home .filter-btn:focus-visible{color:var(--amber);border-color:var(--amber)}
.page-home .filter-btn[aria-pressed="true"]{
  background:var(--orange);
  border-color:var(--orange);
  color:var(--ink);
  font-weight:700;
}
.page-home .filter-bar__count{
  margin-left:auto;
  font-family:var(--mono);
  font-size:12px;
  color:var(--muted);
}
.page-home .zone-list{
  display:grid;
  gap:1px;
  background:var(--grid-strong);
  border:1px solid var(--line);
}
.page-home .zone{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:clamp(16px,2vw,24px);
  background:var(--ink);
}
.page-home .zone[hidden]{display:none}
.page-home .zone__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}
.page-home .zone__name{
  margin:0;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.01em;
}
.page-home .zone__rounds{
  font-size:10px;
  letter-spacing:.12em;
  color:var(--muted);
}
.page-home .zone__detail{
  padding-top:10px;
  border-top:1px solid var(--line);
}
.page-home .zone__detail summary{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--amber);
  cursor:pointer;
  list-style:none;
}
.page-home .zone__detail summary::-webkit-details-marker{display:none}
.page-home .zone__detail summary::before{
  content:"+";
  font-family:var(--mono);
  color:var(--orange);
}
.page-home .zone__detail[open] summary::before{content:"–"}
.page-home .zone__weeks{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.page-home .zone__weeks li{
  position:relative;
  padding-left:16px;
  font-size:13.5px;
  line-height:1.7;
  color:var(--muted);
}
.page-home .zone__weeks li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:1px;
  background:var(--orange);
}
.page-home .column__foot{
  margin:clamp(20px,2.6vw,30px) 0 0;
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
}

/* ---------- 主队近五场记录带 ---------- */
.page-home .record-band{
  position:relative;
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--ink);
}
.page-home .record-band__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.22;
  filter:saturate(.6);
}
.page-home .record-band::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(95deg,rgba(11,20,18,.97) 0%,rgba(11,20,18,.7) 44%,rgba(11,20,18,.97) 100%);
}
.page-home .record-band__inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:22px;
  padding:clamp(28px,4.5vw,54px) 0;
}
.page-home .record-band__lead{max-width:340px}
.page-home .record-band__label{
  display:block;
  margin-bottom:10px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--orange);
}
.page-home .record-band__title{
  margin:0;
  font-size:clamp(1.3rem,2.2vw,1.9rem);
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
}
.page-home .record-band__list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.page-home .record{
  position:relative;
  min-width:106px;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:10px 12px 12px;
  border:1px solid var(--line);
  background:rgba(16,36,31,.82);
}
.page-home .record::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
}
.page-home .record--w::after{background:var(--orange)}
.page-home .record--d::after{background:var(--silver)}
.page-home .record--l::after{background:var(--red)}
.page-home .record__round{
  font-size:10px;
  letter-spacing:.1em;
  color:var(--muted);
}
.page-home .record__score{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:18px;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--paper);
}
.page-home .record-band__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 20px;
}
.page-home .link-quiet{
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
}
.page-home .link-quiet:hover,
.page-home .link-quiet:focus-visible{color:var(--amber);border-color:var(--amber)}

/* ---------- 响应式 ---------- */
@media (min-width:640px){
  .page-home .route__grid{grid-template-columns:repeat(2,1fr)}
  .page-home .zone-list{grid-template-columns:repeat(2,1fr)}
  .page-home .record-band__list{flex-wrap:nowrap}
}

@media (min-width:900px){
  .page-home .hero__collage{
    flex-direction:row;
    align-items:stretch;
  }
  .page-home .board{flex:0 0 46%}
  .page-home .hero__figure{flex:0 0 24%}
  .page-home .hero__figure .figure__frame{aspect-ratio:4/5;height:100%}
  .page-home .hero__aside{flex:1 1 auto}
  .page-home .hero__aside .tile{flex:1 1 auto}

  .page-home .metrics__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:start;
  }

  .page-home .record-band__inner{
    flex-direction:row;
    align-items:center;
    gap:clamp(24px,3vw,48px);
  }
  .page-home .record-band__lead{flex:0 0 auto}
  .page-home .record-band__list{flex:1 1 auto}
  .page-home .record-band__actions{flex:0 0 auto;flex-direction:column;align-items:flex-end}
}

@media (min-width:1024px){
  .page-home .route__grid{grid-template-columns:repeat(3,1fr)}
  .page-home .zone-list{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:480px){
  .page-home .board__row{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "meta tag"
      "score score"
      "home away";
  }
  .page-home .board__home,
  .page-home .board__away{font-size:14px}
  .page-home .board__score{padding:4px 0;text-align:left}
  .page-home .filter-bar__count{margin-left:0}
  .page-home .record{flex:1 1 46%;min-width:0}
}

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