.page-home {
  position: relative;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--white);
}

.page-home .section {
  padding-block: 48px;
}

.page-home .container-wide,
.page-home .container-narrow {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-x);
}

.page-home .container-wide {
  max-width: var(--content-max);
}

.page-home .container-narrow {
  max-width: 820px;
}

.page-home .section-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 6px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  margin-bottom: 14px;
}

.page-home .section-title {
  font-family: var(--font-heavy);
  letter-spacing: -0.02em;
}

.page-home .section-lead {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
  margin: 16px 0 0;
}

.page-home .subhead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 640px;
}

.page-home .data-num {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 20px;
}

.page-home .panel-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  border-bottom: 1px solid rgba(160, 168, 184, 0.14);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.page-home .stats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(160, 168, 184, 0.1);
}

.page-home .stats-row:last-child {
  border-bottom: none;
}

.page-home .stats-label {
  color: var(--gray);
  font-size: 14px;
}

/* ===== 海报首屏 ===== */
.page-home .poster-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  padding: calc(var(--header-h) + 28px) 0 40px;
  background: var(--bg-deep);
}

.page-home .poster-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.42;
}

.page-home .poster-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.72) 0%, rgba(11, 15, 25, 0.28) 48%, rgba(11, 15, 25, 0.96) 86%, var(--bg-deep) 100%);
}

.page-home .poster-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .hero-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.24);
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.page-home .hero-main {
  max-width: 840px;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.page-home .kicker-block {
  width: 10px;
  height: 10px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
}

.page-home .page-title {
  display: block;
  font-family: var(--font-heavy);
  font-size: clamp(52px, 10vw, 108px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.page-home .page-title::after {
  content: "08";
  display: inline-block;
  margin-left: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  font-size: 0.32em;
  vertical-align: super;
  letter-spacing: 0;
  font-family: var(--font-mono);
}

.page-home .poster-hero-inner .giant-num {
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  z-index: -1;
  font-family: var(--font-mono);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 900;
  line-height: 1;
  color: rgba(230, 0, 18, 0.12);
  pointer-events: none;
}

.page-home .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ===== 核心入口面板 ===== */
.page-home .hero-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

.page-home .hero-panel {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(160, 168, 184, 0.12);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 18px;
  color: var(--white);
  text-decoration: none;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.page-home .hero-panel:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.page-home .panel-index {
  display: block;
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.page-home .panel-name {
  display: block;
  font-family: var(--font-heavy);
  font-size: 19px;
  font-weight: 900;
  margin: 8px 0 4px;
}

.page-home .panel-desc {
  display: block;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== 战绩面板 ===== */
.page-home .form-section {
  background: var(--bg-deep);
  border-top: 1px solid rgba(160, 168, 184, 0.08);
}

.page-home .form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 30px;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .filter-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  background: rgba(27, 31, 42, 0.8);
  border: 1px solid rgba(160, 168, 184, 0.2);
  padding: 8px 16px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.page-home .filter-btn:hover,
.page-home .filter-btn.is-active {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.page-home .form-chart-card {
  background: var(--bg-card);
  border: 1px solid rgba(160, 168, 184, 0.1);
  padding: 18px;
  margin-bottom: 18px;
}

.page-home .chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .card-title {
  font-family: var(--font-heavy);
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
}

.page-home .chart-legend {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
}

.page-home .legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: 1px;
}

.page-home .legend-win {
  background: var(--green);
}

.page-home .legend-draw {
  background: var(--gold);
}

.page-home .legend-loss {
  background: var(--red);
}

.page-home .legend-box {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  vertical-align: 0;
}

.page-home .legend-box-yellow {
  background: var(--gold);
}

.page-home .legend-box-red {
  background: var(--red);
}

.page-home .form-chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .chart-gridline {
  stroke: rgba(160, 168, 184, 0.18);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.page-home .chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .chart-dot {
  fill: var(--bg-deep);
  stroke: var(--green);
  stroke-width: 2.5;
}

.page-home .chart-label {
  fill: var(--gray);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-home .form-table-wrap {
  overflow-x: auto;
}

.page-home .form-table {
  width: 100%;
  min-width: 560px;
  font-size: 14px;
  border-collapse: collapse;
}

.page-home .form-table th {
  text-align: left;
  padding: 10px 8px;
  color: var(--gray);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(160, 168, 184, 0.18);
}

.page-home .form-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(160, 168, 184, 0.07);
  color: var(--white);
}

.page-home .score-cell {
  font-weight: 700;
  color: var(--light-gold);
}

.page-home .form-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .stats-panel {
  margin: 0;
}

/* ===== 阵容变动 ===== */
.page-home .lineup-section {
  position: relative;
  background: linear-gradient(175deg, var(--bg-blue) 0%, var(--bg-deep) 78%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

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

.page-home .lineup-head,
.page-home .lineup-layout {
  position: relative;
  z-index: 1;
}

.page-home .lineup-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.page-home .lineup-field-visual {
  background: rgba(11, 15, 25, 0.46);
  border: 1px solid rgba(160, 168, 184, 0.14);
  border-radius: 18px;
  padding: 10px;
}

.page-home .lineup-field {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .field-rect {
  fill: none;
  stroke: rgba(160, 168, 184, 0.4);
  stroke-width: 2;
}

.page-home .field-line {
  fill: none;
  stroke: rgba(160, 168, 184, 0.3);
  stroke-width: 1.5;
}

.page-home .field-circle {
  fill: none;
  stroke: rgba(160, 168, 184, 0.3);
  stroke-width: 1.5;
}

.page-home .field-penalty {
  fill: none;
  stroke: rgba(160, 168, 184, 0.3);
  stroke-width: 1.5;
}

.page-home .player-spot {
  fill: var(--gold);
  stroke: var(--bg-deep);
  stroke-width: 2;
}

.page-home .player-spot.swap-out {
  fill: var(--red);
}

.page-home .player-spot.swap-in {
  fill: var(--green);
}

.page-home .player-num {
  fill: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.page-home .swap-arrow {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
}

.page-home .swap-arrow-in {
  stroke: var(--green);
}

.page-home .swap-arrow-out {
  stroke: var(--red);
}

.page-home .lineup-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .lineup-panel {
  margin: 0;
}

.page-home .lineup-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .lineup-feed-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(27, 31, 42, 0.72);
  border: 1px solid rgba(160, 168, 184, 0.1);
  padding: 12px 14px;
  font-size: 14px;
}

.page-home .feed-round {
  color: var(--green);
  font-size: 13px;
}

.page-home .feed-team {
  font-weight: 800;
  color: var(--white);
}

.page-home .feed-detail {
  color: var(--gray);
  flex-basis: 100%;
  font-size: 13px;
}

/* ===== 历史交锋 ===== */
.page-home .h2h-section {
  background: var(--bg-deep);
  border-top: 1px solid rgba(160, 168, 184, 0.08);
}

.page-home .h2h-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 30px;
}

.page-home .h2h-search-panel {
  background: var(--bg-card);
  border: 1px solid rgba(160, 168, 184, 0.12);
  padding: 22px;
}

.page-home .h2h-search-label {
  display: block;
  font-family: var(--font-heavy);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-home .h2h-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-deep);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 12px 14px;
  margin-bottom: 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .h2h-search-box .search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-sans);
}

.page-home .h2h-search-box .search-input::placeholder {
  color: var(--gray);
  opacity: 0.8;
}

.page-home .search-icon {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.page-home .search-key-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 8px;
}

.page-home .h2h-suggest {
  display: grid;
  gap: 8px;
}

.page-home .h2h-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid rgba(160, 168, 184, 0.1);
  padding: 11px 12px;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.page-home .h2h-suggest-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.page-home .suggest-teams {
  flex: 1;
  min-width: 0;
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .h2h-result {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .h2h-preview {
  background: var(--bg-card);
  border-left: 3px solid var(--red);
  padding: 18px;
}

.page-home .h2h-preview-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-home .h2h-preview-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .team-name {
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 16px;
  color: var(--white);
}

.page-home .h2h-preview-note {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ===== 判罚明细 ===== */
.page-home .discipline-section {
  background: var(--bg-deep);
}

.page-home .disc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 30px;
}

.page-home .disc-chart-card {
  background: var(--bg-card);
  border: 1px solid rgba(160, 168, 184, 0.1);
  padding: 20px;
}

.page-home .disc-chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .disc-bar-yellow {
  fill: var(--gold);
}

.page-home .disc-bar-red {
  fill: var(--red);
}

.page-home .disc-name {
  fill: var(--gray);
  font-family: var(--font-sans);
  font-size: 12px;
}

.page-home .disc-value {
  fill: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-home .disc-quick {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-home .disc-feature-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: grid;
  gap: 10px;
}

.page-home .disc-feature-list li {
  position: relative;
  padding-left: 14px;
  color: var(--gray);
  font-size: 14px;
}

.page-home .disc-feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--font-mono);
}

.page-home .disc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 数据更新动态 ===== */
.page-home .updates-section {
  background: rgba(26, 34, 51, 0.42);
  border-top: 1px solid rgba(160, 168, 184, 0.08);
  border-bottom: 1px solid rgba(160, 168, 184, 0.08);
}

.page-home .timeline {
  position: relative;
  display: grid;
  gap: 30px;
  margin-top: 30px;
  padding-left: 30px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  opacity: 0.55;
}

.page-home .timeline-item {
  position: relative;
  display: grid;
  gap: 8px;
}

.page-home .timeline-dot {
  position: absolute;
  left: -30px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.14);
}

.page-home .timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .timeline-time {
  color: var(--green);
  font-size: 15px;
}

.page-home .timeline-body h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
}

.page-home .timeline-body p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ===== 信任与延伸 ===== */
.page-home .trust-section {
  position: relative;
  overflow: hidden;
}

.page-home .trust-inner {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding-block: 24px;
}

.page-home .trust-inner .section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.page-home .trust-num {
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  font-family: var(--font-mono);
  font-size: clamp(120px, 18vw, 230px);
  font-weight: 900;
  line-height: 1;
  color: rgba(212, 175, 55, 0.08);
  pointer-events: none;
}

.page-home .trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}

.page-home .trust-badge {
  display: grid;
  gap: 2px;
  text-align: center;
  background: rgba(27, 31, 42, 0.7);
  border: 1px solid rgba(160, 168, 184, 0.1);
  padding: 18px 8px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-home .trust-badge-num {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 28px;
  color: var(--gold);
}

.page-home .trust-badge-label {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.4;
}

.page-home .trust-inner .cta-row {
  justify-content: center;
  margin-top: 26px;
}

/* ===== 响应式 ≥640px ===== */
@media (min-width: 640px) {
  .page-home .section {
    padding-block: 64px;
  }

  .page-home .hero-panels {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: -36px;
  }

  .page-home .hero-panel {
    padding: 22px 18px;
  }

  .page-home .panel-name {
    font-size: 18px;
  }

  .page-home .form-layout {
    grid-template-columns: 1fr;
  }

  .page-home .lineup-feed-item {
    flex-wrap: nowrap;
  }

  .page-home .feed-detail {
    flex-basis: auto;
    margin-left: auto;
    text-align: right;
  }

  .page-home .disc-cta {
    flex-wrap: nowrap;
  }
}

/* ===== 响应式 ≥960px ===== */
@media (min-width: 960px) {
  .page-home .section {
    padding-block: 88px;
  }

  .page-home .poster-hero {
    min-height: 88vh;
  }

  .page-home .hero-panels {
    margin-top: -48px;
    gap: 16px;
  }

  .page-home .hero-panel {
    padding: 26px 22px;
  }

  .page-home .panel-name {
    font-size: 21px;
  }

  .page-home .panel-desc {
    font-size: 14px;
  }

  .page-home .form-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
  }

  .page-home .form-side {
    gap: 20px;
  }

  .page-home .form-chart-card {
    padding: 24px;
  }

  .page-home .lineup-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .lineup-field-visual {
    padding: 16px;
  }

  .page-home .lineup-side {
    gap: 20px;
  }

  .page-home .h2h-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .h2h-search-panel {
    padding: 28px;
  }

  .page-home .disc-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: start;
  }

  .page-home .disc-chart-card {
    padding: 28px;
  }

  .page-home .timeline {
    gap: 36px;
  }

  .page-home .timeline-item {
    grid-template-columns: 150px 1fr;
    align-items: baseline;
  }

  .page-home .trust-badges {
    gap: 18px;
  }

  .page-home .trust-badge {
    padding: 22px 12px;
  }
}
