.page-home{
  --ph-gap: clamp(52px, 8vw, 96px);
  --ph-hair: rgba(44, 53, 61, .62);
  background-color: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- 顶部信号条 ---------- */
.page-home .signal-bar{
  padding-top: calc(var(--header-h) + 6px);
  background-image: linear-gradient(180deg, rgba(255, 90, 31, .10), rgba(255, 90, 31, 0) 78%);
}

.page-home .signal-track{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .signal-live{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  font-weight: 700;
}

.page-home .signal-dot{
  width: 7px;
  height: 7px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .signal-text{
  flex: 1 1 200px;
  min-width: 0;
}

.page-home .signal-aux{
  margin-left: auto;
  color: var(--blue);
  font-size: 11.5px;
  letter-spacing: .06em;
}

/* ---------- 首屏目录 ---------- */
.page-home .masthead{
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 54px) 0 clamp(34px, 6vw, 62px);
  background-image:
    linear-gradient(to right, var(--ph-hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ph-hair) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
}

.page-home .masthead::before{
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(60%, 700px);
  height: 170%;
  background-image: linear-gradient(180deg, rgba(255, 90, 31, .20), rgba(255, 90, 31, 0) 72%);
  transform: skewX(-16deg);
  pointer-events: none;
}

.page-home .masthead-inner{
  position: relative;
  z-index: 1;
}

.page-home .page-context{
  margin: 0 0 16px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--orange);
  text-transform: uppercase;
}

.page-home .masthead h1{
  margin: 0 0 20px;
  max-width: 15ch;
  font-size: clamp(32px, 7.4vw, 74px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.02em;
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.page-home .masthead-lede{
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--muted);
}

.page-home .toc{
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .toc-item{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px 18px;
  background: var(--steel);
  color: var(--white);
  text-decoration: none;
  transition: background .18s var(--ease);
}

.page-home .toc-item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .2s var(--ease);
}

.page-home .toc-item:hover,
.page-home .toc-item:focus-visible{
  background: var(--grid);
}

.page-home .toc-item:hover::before,
.page-home .toc-item:focus-visible::before{
  transform: scaleY(1);
}

.page-home .toc-num{
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .toc-title{
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.page-home .toc-desc{
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 通栏图片色带 ---------- */
.page-home .band{
  position: relative;
  margin: 0;
  background: var(--grid);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .band img{
  display: block;
  width: 100%;
  height: clamp(160px, 30vw, 380px);
  max-width: 100%;
  object-fit: cover;
}

.page-home .band figcaption{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 16px;
  background: rgba(10, 12, 14, .84);
  border-left: 3px solid var(--orange);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- 章节通用 ---------- */
.page-home .chapter{
  padding: var(--ph-gap) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .chapter--steel{
  background: var(--steel);
}

.page-home .chapter-head{
  display: grid;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .chapter-num{
  font-family: var(--mono);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.04em;
  color: rgba(255, 90, 31, .32);
  transition: color .25s var(--ease);
}

.page-home [data-chapter].is-current .chapter-num{
  color: var(--orange);
}

.page-home .chapter-title{
  margin: 0;
  font-size: clamp(23px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.page-home .chapter-title::after{
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--orange);
  margin-left: 14px;
  vertical-align: .28em;
}

.page-home .chapter-sub{
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
}

/* ---------- 01 名单确认 ---------- */
.page-home .roster-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .roster-card{
  background: var(--grid);
  padding: 15px 16px 4px;
}

.page-home .roster-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.page-home .roster-clock{
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange);
}

.page-home .roster-status{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px 3px 8px;
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%);
  white-space: nowrap;
}

.page-home .roster-status--ok{
  background: rgba(200, 255, 61, .16);
  color: var(--lime);
}

.page-home .roster-status--wait{
  background: rgba(79, 168, 255, .16);
  color: var(--blue);
}

.page-home .roster-status--adj{
  background: rgba(227, 59, 46, .20);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(227, 59, 46, .55);
}

.page-home .roster-title{
  margin: 0 0 2px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.32;
}

.page-home .roster-versus{
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.page-home .roster-card details{
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.page-home .roster-card summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.page-home .roster-card summary::-webkit-details-marker{
  display: none;
}

.page-home .roster-card summary::after{
  content: "＋";
  font-family: var(--mono);
  font-size: 15px;
  color: var(--orange);
}

.page-home .roster-card details[open] summary{
  color: var(--white);
}

.page-home .roster-card details[open] summary::after{
  content: "－";
}

.page-home .squad-grid{
  display: grid;
  gap: 10px;
  padding: 0 0 14px;
}

.page-home .squad-row{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: baseline;
}

.page-home .squad-k{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

.page-home .squad-v{
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: .07em;
  color: var(--white);
  word-break: break-word;
}

.page-home .squad-hint{
  margin: 16px 0 0;
  padding-left: 13px;
  border-left: 2px solid var(--orange);
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .aside-fig{
  margin: 0 0 16px;
  background: var(--grid);
  border: 1px solid var(--line);
}

.page-home .aside-fig img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-home .aside-fig--board img{
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .aside-fig--card img{
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .aside-fig figcaption{
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .jump-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 90, 31, .45);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: transform .18s var(--ease);
}

.page-home .jump-link:hover,
.page-home .jump-link:focus-visible{
  transform: translateX(2px);
}

/* ---------- 02 关注球队 ---------- */
.page-home .board-svg{
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: -10px 0 18px;
  color: var(--line);
}

.page-home .filter-bar{
  margin-bottom: 0;
}

.page-home .team-list{
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .team-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 14px 16px;
  background: var(--steel);
}

.page-home .team-dot{
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .team-name{
  font-size: 15.5px;
  font-weight: 700;
}

.page-home .team-meta{
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .team-last{
  flex: 1 1 100%;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .filter-empty{
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--grid);
  font-size: 13px;
  color: var(--muted);
}

.page-home .filter-empty[hidden]{
  display: none;
}

/* ---------- 03 判罚检索 ---------- */
.page-home .dim-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .dim-item{
  background: var(--grid);
  padding: 14px 16px;
}

.page-home .dim-key{
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .dim-item p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .archive-stat{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background-image: linear-gradient(90deg, rgba(255, 90, 31, .14), rgba(255, 90, 31, 0));
}

.page-home .archive-num{
  font-family: var(--mono);
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .archive-k{
  flex: 1 1 200px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- 04 转会对照 ---------- */
.page-home .transfer-table{
  width: 100%;
  min-width: 560px;
}

.page-home .transfer-table th,
.page-home .transfer-table td{
  vertical-align: top;
  text-align: left;
}

.page-home .tr-src{
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-home .tr-gap{
  font-family: var(--mono);
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.page-home .transfer-note{
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .transfer-note a{
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, .45);
}

/* ---------- 05 跨设备 ---------- */
.page-home .device-grid{
  display: grid;
  gap: clamp(20px, 4vw, 36px);
}

.page-home .device-shot{
  margin: 0;
  background: var(--grid);
  border: 1px solid var(--line);
}

.page-home .device-shot img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-home .device-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .device-list li{
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .device-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--orange);
}

.page-home .device-list strong{
  color: var(--white);
  font-weight: 700;
}

/* ---------- 06 团队与节奏 ---------- */
.page-home .stat-row{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .stat-row li{
  background: var(--steel);
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .stat-num{
  font-family: var(--mono);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-home .stat-k{
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--muted);
}

.page-home .stat-note{
  margin: 20px 0 0;
  max-width: 70ch;
  padding-left: 13px;
  border-left: 2px solid var(--blue);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 07 下一步 ---------- */
.page-home .next-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .next-link{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 22px 20px 24px;
  background: var(--steel);
  color: var(--white);
  text-decoration: none;
  transition: background .18s var(--ease);
}

.page-home .next-link:hover,
.page-home .next-link:focus-visible{
  background: var(--grid);
}

.page-home .next-idx{
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-home .next-name{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-home .next-copy{
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

.page-home .next-arrow{
  margin-top: auto;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--orange);
  transition: transform .18s var(--ease);
}

.page-home .next-link:hover .next-arrow,
.page-home .next-link:focus-visible .next-arrow{
  transform: translateX(3px);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px){
  .page-home .stat-row{
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .dim-list{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px){
  .page-home .team-last{
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 0;
    text-align: right;
  }
}

@media (min-width: 768px){
  .page-home .chapter-head{
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 28px;
  }

  .page-home .chapter-num{
    align-self: start;
  }
}

@media (min-width: 900px){
  .page-home .device-grid{
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .next-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px){
  .page-home .stat-row{
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .masthead h1{
    max-width: 16ch;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .toc-item,
  .page-home .toc-item::before,
  .page-home .next-link,
  .page-home .next-arrow,
  .page-home .jump-link,
  .page-home .chapter-num{
    transition: none;
  }

  .page-home .masthead h1{
    transform: none;
  }

  .page-home .next-link:hover .next-arrow,
  .page-home .next-link:focus-visible .next-arrow,
  .page-home .jump-link:hover,
  .page-home .jump-link:focus-visible{
    transform: none;
  }
}
