.page-home {
  --home-hair: rgba(244, 241, 232, 0.10);
  --home-soft: rgba(123, 92, 255, 0.12);
  display: block;
  color: var(--chalk);
  background:
    radial-gradient(880px 520px at 86% -6%, rgba(123, 92, 255, 0.20), transparent 70%),
    radial-gradient(700px 420px at 4% 10%, rgba(0, 229, 195, 0.08), transparent 72%),
    var(--void);
  overflow-x: hidden;
  padding-bottom: clamp(56px, 9vw, 96px);
  scroll-behavior: smooth;
}

.page-home .home-top {
  padding-top: clamp(16px, 3vw, 30px);
}

.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.page-home .breadcrumb-link {
  color: var(--cyan);
  text-decoration: none;
}

.page-home .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--rock);
}

.page-home .breadcrumb-current {
  color: var(--muted);
}

/* 首屏 */
.page-home .masthead {
  position: relative;
  padding: clamp(8px, 2vw, 20px) 0 0;
}

.page-home .masthead::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -12%;
  width: 62%;
  height: 320px;
  background: repeating-linear-gradient(
    112deg,
    rgba(123, 92, 255, 0.13) 0px,
    rgba(123, 92, 255, 0.13) 1px,
    transparent 1px,
    transparent 46px
  );
  pointer-events: none;
  z-index: 0;
}

.page-home .mast-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 15px;
  border: 1px solid rgba(0, 229, 195, 0.28);
  border-radius: var(--pill);
  background: rgba(0, 229, 195, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--cyan);
}

.page-home .mast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
}

.page-home .mast-title {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  max-width: 18ch;
  font-size: clamp(34px, 8.4vw, 74px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--chalk);
}

.page-home .mast-title em {
  font-style: normal;
  color: var(--cyan);
  background-image: linear-gradient(100deg, var(--cyan), var(--phantom-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .mast-lede {
  position: relative;
  z-index: 1;
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.75;
  color: var(--muted);
}

.page-home .mast-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

/* 章节索引 */
.page-home .index-grid {
  list-style: none;
  margin: clamp(30px, 5vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--home-hair);
  position: relative;
  z-index: 1;
}

.page-home .index-link {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: baseline;
  gap: 2px 14px;
  padding: 15px 12px 15px 6px;
  border-bottom: 1px solid var(--home-hair);
  text-decoration: none;
  color: var(--chalk);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.page-home .index-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.2;
  color: var(--phantom-soft);
}

.page-home .index-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .index-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

.page-home .index-link:hover,
.page-home .index-link:focus-visible {
  background: var(--home-soft);
  transform: translateX(4px);
  border-color: rgba(123, 92, 255, 0.5);
}

.page-home .index-link:hover .index-num,
.page-home .index-link:focus-visible .index-num {
  color: var(--cyan);
}

/* 首屏视觉 */
.page-home .hero-visual {
  position: relative;
  margin: clamp(30px, 5vw, 52px) 0 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  z-index: 1;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0.08), rgba(7, 8, 13, 0.84));
}

.page-home .hero-visual figcaption {
  position: absolute;
  left: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 24px);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* 章节通用 */
.page-home .section {
  padding: clamp(52px, 9vw, 100px) 0 0;
  scroll-margin-top: 88px;
  position: relative;
}

.page-home .section-head {
  max-width: 720px;
}

.page-home .section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--phantom);
  transform: rotate(-3deg);
}

.page-home .section-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 4.6vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--chalk);
}

.page-home .section-lede {
  margin: 14px 0 0;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.75;
  color: var(--muted);
}

/* 01 双场赛程 */
.page-home .weekend-layout {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .match-stack {
  display: grid;
  gap: var(--gap);
}

.page-home .match-card {
  position: relative;
  padding: clamp(18px, 3.4vw, 28px);
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(123, 92, 255, 0.16), transparent 70%),
    linear-gradient(140deg, var(--night), var(--panel));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .match-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  width: 3px;
  height: 56%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--phantom), transparent);
  opacity: 0.75;
}

.page-home .match-card:hover,
.page-home .match-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 195, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
}

.page-home .match-day {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.page-home .match-time {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(38px, 10vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--chalk);
}

.page-home .match-time small {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ember);
  font-weight: 400;
}

.page-home .match-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  font-size: clamp(16px, 2.6vw, 20px);
  font-weight: 700;
  color: var(--chalk);
}

.page-home .match-vs {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--phantom-soft);
}

.page-home .match-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--dim);
}

.page-home .match-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .match-visual {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night);
  align-self: start;
}

.page-home .match-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-home .match-visual figcaption,
.page-home .devices-visual figcaption,
.page-home .reports-visual figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  border-top: 1px solid var(--home-hair);
}

/* 02 换设备四步 */
.page-home .devices-layout {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2.4vw, 22px);
}

.page-home .step {
  position: relative;
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(123, 92, 255, 0.34);
}

.page-home .step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-home .step-title {
  margin: 8px 0 0;
  font-size: clamp(17px, 2.6vw, 20px);
  font-weight: 700;
  color: var(--chalk);
}

.page-home .step-text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .devices-visual {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night);
}

.page-home .devices-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .devices-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.4vw, 32px);
}

/* 03 战报 */
.page-home .reports-layout {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(24px, 4vw, 40px);
}

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

.page-home .report-details {
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.page-home .report-details[open] {
  border-color: rgba(0, 229, 195, 0.36);
}

.page-home .report-details summary {
  display: grid;
  grid-template-columns: 52px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .report-time {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ember);
  letter-spacing: 0.04em;
}

.page-home .report-head {
  display: grid;
  gap: 8px;
}

.page-home .report-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--chalk);
}

.page-home .report-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.page-home .report-toggle::before,
.page-home .report-toggle::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-home .report-toggle::after {
  transform: rotate(90deg);
}

.page-home .report-details[open] .report-toggle {
  transform: rotate(45deg);
}

.page-home .report-body {
  padding: 0 16px 18px 80px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .report-body p {
  margin: 0;
}

.page-home .reports-visual {
  margin: 0;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night);
  align-self: start;
}

.page-home .reports-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .reports-more {
  margin: clamp(20px, 3vw, 28px) 0 0;
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 195, 0.35);
  padding-bottom: 3px;
}

.page-home .link-arrow:hover {
  color: var(--chalk);
  border-color: var(--chalk);
}

/* 04 快捷入口 */
.page-home .quick-layout {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

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

.page-home .quick-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .quick-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--phantom);
}

.page-home .quick-points strong {
  color: var(--chalk);
  font-weight: 700;
}

.page-home .quick-rail {
  display: grid;
  gap: 14px;
  align-self: start;
}

.page-home .quick-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 20px 22px;
  border-radius: var(--pill);
  text-decoration: none;
  color: var(--chalk);
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.page-home .quick-pill--phantom {
  background: linear-gradient(120deg, rgba(123, 92, 255, 0.30), rgba(123, 92, 255, 0.10));
  border-color: rgba(123, 92, 255, 0.55);
}

.page-home .quick-pill--cyan {
  background: linear-gradient(120deg, rgba(0, 229, 195, 0.18), rgba(0, 229, 195, 0.05));
  border-color: rgba(0, 229, 195, 0.45);
}

.page-home .quick-pill:hover,
.page-home .quick-pill:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.page-home .quick-pill-label {
  font-size: clamp(17px, 2.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .quick-pill-desc {
  grid-column: 1 / 2;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .quick-pill-arrow {
  grid-row: 1 / span 2;
  grid-column: 2 / 3;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--cyan);
}

.page-home .quick-pill--phantom .quick-pill-arrow {
  color: var(--chalk);
}

/* 05 客服 */
.page-home .support-panel {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 280px at 8% 0%, rgba(0, 229, 195, 0.10), transparent 68%),
    radial-gradient(520px 260px at 92% 100%, rgba(123, 92, 255, 0.16), transparent 70%),
    var(--night);
}

.page-home .support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .support-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.page-home .support-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .support-row:first-child {
  border-top: 1px solid var(--home-hair);
}

.page-home .support-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--moss);
  margin: 0;
}

.page-home .support-val {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--chalk);
  word-break: break-word;
}

.page-home .support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .chip-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--rock);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .chip-link:hover,
.page-home .chip-link:focus-visible {
  color: var(--cyan);
  border-color: rgba(0, 229, 195, 0.5);
}

/* 窄屏修正 */
@media (max-width: 480px) {
  .page-home .report-details summary {
    grid-template-columns: 46px 1fr 18px;
    gap: 10px;
  }

  .page-home .report-body {
    padding: 0 16px 18px 16px;
  }

  .page-home .masthead::before {
    width: 80%;
    opacity: 0.7;
  }
}

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

  .page-home .index-link {
    border-right: 1px solid var(--home-hair);
  }

  .page-home .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
  }

  .page-home .step:nth-child(even) {
    margin-top: 26px;
  }

  .page-home .support-row {
    grid-template-columns: 120px 1fr;
    align-items: baseline;
    gap: 14px;
  }
}

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

  .page-home .weekend-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .match-card:nth-child(2) {
    margin-top: 34px;
  }

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

  .page-home .devices-visual {
    margin-top: -18px;
  }

  .page-home .reports-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: start;
  }

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

  .page-home .quick-rail {
    position: sticky;
    top: 96px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home {
    scroll-behavior: auto;
  }

  .page-home .index-link,
  .page-home .match-card,
  .page-home .quick-pill,
  .page-home .report-toggle {
    transition: none;
  }
}
