.page-home {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 56px;
  background: var(--ink);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(3, 10, 8, 0) 0%, rgba(3, 10, 8, .92) 78%, var(--charcoal) 100%);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
  opacity: .42;
  filter: saturate(.42) contrast(1.08) brightness(.6) hue-rotate(128deg);
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(8, 19, 15, .95) 0%, rgba(8, 19, 15, .7) 46%, rgba(3, 10, 8, .93) 100%);
}

.page-home .hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 74, 62, .3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 74, 62, .3) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .15));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .15));
}

.page-home .hero-shell {
  position: relative;
  z-index: 2;
}

.page-home .hero-shell .breadcrumbs {
  margin-bottom: 16px;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-top: 22px;
}

.page-home .hero-title {
  margin: 12px 0 0;
  font-size: clamp(29px, 7vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero-title .hl {
  color: var(--cyan);
}

.page-home .hero-lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .entry-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .entry-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: var(--hair);
}

.page-home .entry-num {
  padding-top: 4px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .entry-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .entry-desc {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--stone);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* 比分卡 */
.page-home .score-card {
  position: relative;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(14, 36, 28, .96), rgba(8, 19, 15, .97));
  border: var(--hair);
}

.page-home .score-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 104px;
  height: 1px;
  background: var(--cyan);
}

.page-home .score-card-kicker {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-home .score-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .score-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .score-row {
  padding: 12px 0;
  border-bottom: var(--hair-soft);
}

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

.page-home .score-league {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-home .score-teams {
  font-size: 14px;
  color: var(--silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .score-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .01em;
}

.page-home .score-extra {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--stone);
}

.page-home .score-foot {
  margin: 16px 0 0;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--stone);
}

/* ---------- 三步反馈 ---------- */
.page-home .step-section {
  padding: 56px 0 48px;
}

.page-home .step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.page-home .step-figure {
  align-self: start;
}

.page-home .step-accordion {
  display: block;
}

.page-home .step-item {
  border: var(--hair);
  border-bottom: 0;
  background: rgba(14, 36, 28, .5);
}

.page-home .step-item:last-child {
  border-bottom: var(--hair);
}

.page-home .step-summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .step-item[open] .step-summary {
  border-bottom: var(--hair);
  background: rgba(14, 36, 28, .82);
}

.page-home .step-index {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-home .step-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .step-item[open] .step-name {
  color: var(--cyan);
}

.page-home .step-panel {
  padding: 14px 16px 18px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--silver);
}

.page-home .step-panel p {
  margin: 0;
}

/* ---------- 全宽比分条 ---------- */
.page-home .scorebar {
  position: relative;
  padding: 44px 0 48px;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%);
  border-top: 1px solid var(--cyan);
  border-bottom: var(--hair);
}

.page-home .scorebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 74, 62, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 74, 62, .22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .7;
}

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

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

.page-home .scorebar-figure {
  align-self: start;
}

.page-home .scorebar .section-title {
  margin-top: 8px;
}

.page-home .league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
}

.page-home .league-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
  min-height: 268px;
}

.page-home .league-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: var(--hair-soft);
}

.page-home .league-name {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-home .league-fixture {
  font-size: 14.5px;
  color: var(--silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .league-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
}

.page-home .league-time {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--stone);
}

.page-home .scorebar-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 场馆与球队资料 ---------- */
.page-home .venue-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: var(--deep);
  border-bottom: var(--hair);
}

.page-home .venue-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .venue-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.4) brightness(.66) hue-rotate(126deg);
}

.page-home .venue-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(8, 19, 15, .96) 6%, rgba(8, 19, 15, .74) 56%, rgba(14, 36, 28, .9) 100%);
}

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

.page-home .venue-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--moss);
  border: var(--hair);
}

.page-home .venue-item {
  padding: 20px 18px;
  background: rgba(8, 19, 15, .88);
}

.page-home .venue-key {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .venue-val {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 旧版与新版 ---------- */
.page-home .version-section {
  padding: 56px 0 52px;
}

.page-home .version-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 28px;
  border: var(--hair);
}

.page-home .version-card {
  padding: 26px 20px 28px;
  background: rgba(14, 36, 28, .5);
  border-bottom: var(--hair);
}

.page-home .version-card:last-child {
  border-bottom: 0;
}

.page-home .version-card--alt {
  background: rgba(3, 10, 8, .72);
}

.page-home .version-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--clay);
}

.page-home .version-card--alt .version-tag {
  color: var(--cyan);
}

.page-home .version-name {
  margin: 10px 0 0;
  font-size: 21px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .version-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .version-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: var(--hair-soft);
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 1px;
  background: var(--moss);
}

/* ---------- 会员与客服 ---------- */
.page-home .support-section {
  padding: 8px 0 72px;
}

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

.page-home .member-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .member-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 0;
  border-bottom: var(--hair-soft);
}

.page-home .member-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .member-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .support-card {
  padding: 24px 20px 22px;
  background: rgba(14, 36, 28, .58);
  border: var(--hair);
}

.page-home .support-title {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .support-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .support-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 0;
  border-bottom: var(--hair-soft);
}

.page-home .support-key {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--stone);
}

.page-home .support-val {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.page-home .support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.page-home .copy-chip {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.page-home .copy-chip:hover,
.page-home .copy-chip:focus-visible {
  background: rgba(56, 242, 198, .12);
}

.page-home .copy-status {
  font-size: 12.5px;
  color: var(--cyan);
  min-height: 1em;
}

.page-home .support-link {
  display: inline-block;
  margin-top: 16px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero {
    padding: 44px 0 68px;
  }

  .page-home .member-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }

  .page-home .support-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
  }
}

@media (min-width: 768px) {
  .page-home .venue-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .version-card {
    border-bottom: 0;
    border-right: var(--hair);
  }

  .page-home .version-card:last-child {
    border-right: 0;
  }
}

@media (min-width: 900px) {
  .page-home .step-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .scorebar-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .support-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 40px;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .hero-title {
    font-size: clamp(40px, 4.2vw, 62px);
  }

  .page-home .hero-lead {
    font-size: 16.5px;
  }

  .page-home .score-card {
    position: sticky;
    top: 112px;
    padding: 24px 22px 20px;
  }

  .page-home .step-section {
    padding: 72px 0 60px;
  }

  .page-home .scorebar {
    padding: 56px 0 60px;
  }

  .page-home .venue-section {
    padding: 76px 0;
  }

  .page-home .version-section {
    padding: 72px 0 64px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .page-home .score-extra {
    display: none;
  }

  .page-home .score-row:hover .score-extra,
  .page-home .score-row:focus-within .score-extra {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .copy-chip {
    transition: none;
  }
}
