.page-home {
  --home-axis: 96px;
  --home-pad: clamp(18px, 4vw, 44px);
  padding-bottom: clamp(40px, 8vw, 96px);
}

/* ===== 首屏：斜切战术板 ===== */
.page-home .hd {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(30px, 6vw, 68px);
  padding: clamp(30px, 7vw, 80px) var(--home-pad) clamp(58px, 12vw, 120px);
  background: linear-gradient(155deg, var(--ink-soft) 0%, var(--night) 62%, #0b1f1a 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

.page-home .hd__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05);
  pointer-events: none;
  z-index: 0;
}

.page-home .hd::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 48%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 75, 43, 0.18), rgba(255, 75, 43, 0) 72%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 0;
}

.page-home .hd__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.page-home .hd .eyebrow {
  color: var(--pulse);
  letter-spacing: 0.16em;
  font-size: 12px;
}

.page-home .hd h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(27px, 6.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--line);
  margin: 12px 0 16px;
  max-width: 22ch;
}

.page-home .hd .lead {
  color: rgba(242, 245, 240, 0.78);
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.8;
  max-width: 38rem;
  margin: 0;
}

.page-home .hd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

/* ===== 章节头 ===== */
.page-home .sec-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.page-home .sec-no {
  flex: 0 0 auto;
  font-family: var(--font-score);
  font-weight: 800;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 92, 0.65);
}

.page-home h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 4.4vw, 30px);
  line-height: 1.32;
  color: var(--line);
  margin: 0 0 10px;
}

.page-home .sec-sub {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--stone);
}

.page-home .scoreboard,
.page-home .entries,
.page-home .forms {
  margin-bottom: clamp(40px, 9vw, 92px);
}

/* ===== 日期轴 + 赛程 ===== */
.page-home .scoreboard__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .dateaxis {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .dateaxis__node {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--stone);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .dateaxis__node:hover {
  color: var(--line);
  border-color: rgba(255, 75, 43, 0.5);
}

.page-home .dateaxis__node--today {
  color: var(--line);
  border-color: rgba(255, 75, 43, 0.55);
  background: rgba(255, 75, 43, 0.1);
}

.page-home .dateaxis__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stone);
}

.page-home .dateaxis__node--today .dateaxis__dot {
  background: var(--pulse);
}

.page-home .dateaxis__day {
  font-family: var(--font-score);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.page-home .days {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.page-home .daygroup {
  scroll-margin-top: 100px;
  min-width: 0;
}

.page-home .daygroup__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ochre);
}

.page-home .daygroup__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.5), rgba(201, 164, 92, 0));
}

.page-home .daygroup:target .daygroup__title {
  color: var(--pulse);
}

.page-home .daygroup:target .daygroup__title::after {
  background: linear-gradient(90deg, rgba(255, 75, 43, 0.6), rgba(255, 75, 43, 0));
}

.page-home .matches {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .match {
  min-width: 0;
  background: var(--ink-soft);
  border: var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .match:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(7, 22, 20, 0.55);
  border-color: rgba(242, 245, 240, 0.2);
}

.page-home .match[open] {
  border-color: rgba(255, 75, 43, 0.42);
}

.page-home .match__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px;
  min-height: 60px;
  cursor: pointer;
  list-style: none;
}

.page-home .match__top::-webkit-details-marker {
  display: none;
}

.page-home .match__line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.page-home .match__team {
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--line);
  overflow-wrap: anywhere;
}

.page-home .match__team:last-child {
  text-align: right;
}

.page-home .match__score {
  font-family: var(--font-score);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--pulse);
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
}

.page-home .match__state {
  justify-self: end;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.page-home .match--live .match__state {
  color: var(--pulse);
}

.page-home .match__body {
  padding: 14px 16px 16px;
  border-top: 1px dashed rgba(201, 164, 92, 0.3);
  font-size: 14px;
  line-height: 1.72;
  color: var(--stone);
}

.page-home .match__body p {
  margin: 0 0 6px;
}

.page-home .match__body p:last-child {
  margin-bottom: 0;
}

@keyframes home-score-pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 75, 43, 0);
  }
  38% {
    transform: scale(1.09);
    text-shadow: 0 0 18px rgba(255, 75, 43, 0.6);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 75, 43, 0);
  }
}

.page-home .match--live[open] > .match__top .match__score {
  animation: home-score-pulse 2.8s var(--ease) infinite;
}

/* ===== 常用入口 ===== */
.page-home .entrygrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px 20px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--ink-soft);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .entry:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 75, 43, 0.45);
  background: #163f35;
}

.page-home .entry__no {
  font-family: var(--font-score);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ochre);
}

.page-home .entry__t {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--line);
}

.page-home .entry__d {
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .entry__go {
  font-size: 13px;
  font-weight: 700;
  color: var(--pulse);
}

/* ===== 近期战绩 ===== */
.page-home .forms__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .forms__media {
  margin: 0;
}

.page-home .forms__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .forms__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .form-card {
  min-width: 0;
  padding: 20px;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--ink-soft);
}

.page-home .form-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .form-card__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--line);
}

.page-home .bars {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}

.page-home .bar {
  flex: 1 1 0;
  min-width: 0;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
}

.page-home .bar--w {
  background: rgba(47, 93, 78, 0.9);
  color: var(--line);
}

.page-home .bar--d {
  background: rgba(201, 164, 92, 0.26);
  color: var(--ochre);
}

.page-home .bar--l {
  background: rgba(255, 75, 43, 0.16);
  color: #ff8f76;
}

.page-home .form-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.page-home .form-card__k {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .form-card__k dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.page-home .form-card__k dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--line);
  font-variant-numeric: tabular-nums;
}

/* ===== 多联赛聚合 ===== */
.page-home .board {
  margin-bottom: clamp(40px, 9vw, 92px);
}

.page-home .board__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

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

.page-home .step {
  position: relative;
  padding: 16px 18px;
  border: var(--hairline);
  border-radius: var(--radius-md);
  background: var(--ink-soft);
}

.page-home .step + .step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -12px;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(-45deg);
}

.page-home .step__n {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-score);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.page-home .step h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--line);
}

.page-home .step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stone);
}

.page-home .views {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .views li {
  padding: 8px 14px;
  border: var(--hairline-ochre);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ochre);
}

.page-home .board__media {
  margin: 0;
}

.page-home .board__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 服务范围与支持 ===== */
.page-home .reach {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 5vw, 46px);
  background: var(--night);
}

.page-home .reach__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

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

.page-home .reach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .reach__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .stat {
  min-width: 0;
  padding: 16px;
  border: var(--hairline);
  border-radius: var(--radius-md);
  background: rgba(20, 58, 49, 0.72);
}

.page-home .stat b {
  display: block;
  font-family: var(--font-score);
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--line);
}

.page-home .stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone);
}

.page-home .reach__contact {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
}

.page-home .reach__line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(201, 164, 92, 0.25);
  font-size: 14px;
}

.page-home .reach__line dt {
  font-size: 13px;
  color: var(--stone);
}

.page-home .reach__line dd {
  margin: 0;
  color: var(--line);
  overflow-wrap: anywhere;
}

.page-home .reach__line a {
  color: var(--pulse);
  text-decoration: none;
}

.page-home .reach__line a:hover {
  text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .entrygrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .scoreboard__grid {
    grid-template-columns: var(--home-axis) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }

  .page-home .dateaxis {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 4px 0 4px 18px;
    margin-bottom: 0;
    border-left: 1px solid rgba(201, 164, 92, 0.4);
    position: sticky;
    top: 92px;
    align-self: start;
  }

  .page-home .dateaxis__node {
    width: 100%;
    min-height: 52px;
    padding: 12px 0;
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .page-home .dateaxis__node--today {
    background: none;
  }

  .page-home .dateaxis__dot {
    margin-left: -22px;
  }

  .page-home .reach__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
  }
}

@media (min-width: 980px) {
  .page-home .forms__grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .page-home .board__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 30px;
    align-items: center;
  }

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

@media (min-width: 1040px) {
  .page-home .matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
  }

  .page-home .matches > .match:nth-child(2) {
    margin-top: 30px;
  }

  .page-home .matches > .match:nth-child(3) {
    margin-top: 12px;
  }

  .page-home .matches > .match:nth-child(4) {
    margin-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .match--live[open] > .match__top .match__score {
    animation: none;
  }

  .page-home .match:hover,
  .page-home .entry:hover {
    transform: none;
  }
}
