.page-home {
  display: block;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 700;
}

.page-home p {
  line-height: 1.75;
}

/* ---------- 面包屑 ---------- */
.page-home .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.page-home .crumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .crumb a:hover,
.page-home .crumb a:focus-visible {
  color: var(--spring);
  border-bottom-color: var(--spring);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 26px) 0 42px;
  background:
    radial-gradient(120% 88% at 92% -8%, rgba(46, 212, 122, 0.18), rgba(46, 212, 122, 0) 60%),
    linear-gradient(158deg, var(--ink) 0 50%, var(--panel) 50% 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 62%;
  height: 68%;
  background: linear-gradient(150deg, rgba(91, 155, 255, 0.2), rgba(91, 155, 255, 0) 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.page-home .hero-crumb {
  margin-bottom: 4px;
}

.page-home .hero-copy {
  max-width: 40rem;
}

.page-home .hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.25rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.page-home .hero-lead {
  margin: 0 0 24px;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: #d5dde5;
}

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

.page-home .hero-visual {
  position: relative;
  margin: 0;
  background: var(--slate);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

/* ---------- 首排六个入口 ---------- */
.page-home .hero-gates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .gate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 18px 16px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .gate::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--spring);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.8;
}

.page-home .gate:hover,
.page-home .gate:focus-visible {
  transform: translateY(-2px);
  border-color: var(--spring);
  background: var(--slate);
}

.page-home .gate-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .gate-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-home .gate-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .gate-time {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--spring);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .gate:hover .gate-time,
.page-home .gate:focus-visible .gate-time {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .page-home .gate-time {
    opacity: 0.9;
    transform: none;
  }
}

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

@media (min-width: 1040px) {
  .page-home .hero-shell {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    grid-template-areas:
      "crumb crumb"
      "copy visual"
      "gates gates";
    column-gap: 36px;
    row-gap: 30px;
  }

  .page-home .hero-crumb {
    grid-area: crumb;
  }

  .page-home .hero-copy {
    grid-area: copy;
    align-self: center;
  }

  .page-home .hero-visual {
    grid-area: visual;
  }

  .page-home .hero-gates {
    grid-area: gates;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    margin-top: 6px;
  }

  .page-home .hero-gates > li:nth-child(even) {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-gates > li {
    animation: home-fade-rise 0.5s ease both;
  }

  .page-home .hero-gates > li:nth-child(1) { animation-delay: 0.04s; }
  .page-home .hero-gates > li:nth-child(2) { animation-delay: 0.09s; }
  .page-home .hero-gates > li:nth-child(3) { animation-delay: 0.14s; }
  .page-home .hero-gates > li:nth-child(4) { animation-delay: 0.19s; }
  .page-home .hero-gates > li:nth-child(5) { animation-delay: 0.24s; }
  .page-home .hero-gates > li:nth-child(6) { animation-delay: 0.29s; }
}

@keyframes home-fade-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用区块 ---------- */
.page-home .section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.page-home .section-head {
  max-width: 44rem;
  margin: 0 0 30px;
}

.page-home .section-idx {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .section-rule {
  flex: 0 1 120px;
  height: 1px;
  background: var(--line);
}

.page-home .section-lead {
  margin: 0;
  font-size: 1rem;
  color: #c3cdd8;
}

.page-home .img-frame {
  margin: 0;
  overflow: hidden;
  background: var(--slate);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

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

.page-home .img-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- 赛季四阶段 ---------- */
.page-home .stage-grid {
  display: grid;
  gap: 26px;
}

.page-home .stage-figure {
  margin: 0;
}

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

.page-home .stage-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left-width: 3px;
}

.page-home .stage-list li:nth-child(1) { border-left-color: var(--spring); }
.page-home .stage-list li:nth-child(2) { border-left-color: var(--summer); }
.page-home .stage-list li:nth-child(3) { border-left-color: var(--autumn); }
.page-home .stage-list li:nth-child(4) { border-left-color: var(--winter); }

.page-home .stage-no {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-home .stage-list p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .stage-count {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}

@media (min-width: 900px) {
  .page-home .stage-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: start;
  }
}

/* ---------- 转会与轮换 ---------- */
.page-home .move-line {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-home .move-line::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.page-home .move-item {
  position: relative;
  padding-left: 28px;
}

.page-home .move-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--summer);
}

.page-home .move-time {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--summer);
}

.page-home .move-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 860px) {
  .page-home .move-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
  }

  .page-home .move-line::before {
    display: none;
  }
}

/* ---------- 赛事日历 ---------- */
.page-home .cal-grid-wrap {
  display: grid;
  gap: 26px;
}

.page-home .cal-figure {
  margin: 0;
}

.page-home .cal-panel {
  display: grid;
  gap: 22px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

.page-home .cal-view-name {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .cal-month {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.page-home .cal-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 54px;
  padding: 8px 6px;
  background: var(--slate);
  border: 1px solid var(--line);
}

.page-home .cal-cell--match {
  border-color: rgba(91, 155, 255, 0.55);
  background: rgba(91, 155, 255, 0.1);
}

.page-home .cal-day {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-home .cal-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  color: var(--winter);
}

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

.page-home .cal-axis li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--slate);
  border-left: 3px solid var(--winter);
  font-size: 0.875rem;
}

.page-home .axis-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .axis-match {
  color: var(--paper);
  font-weight: 600;
}

.page-home .axis-stage {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--winter);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .page-home .cal-axis li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-home .axis-time {
    grid-column: 1 / -1;
  }
}

@media (min-width: 940px) {
  .page-home .cal-grid-wrap {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: start;
  }
}

/* ---------- 赛后战报 ---------- */
.page-home .report-card {
  position: relative;
  padding: 26px 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #c9d2ce;
  box-shadow: var(--shadow-panel);
}

.page-home .report-card h2 {
  color: var(--ink);
}

.page-home .report-card .section-idx {
  color: #66757f;
}

.page-home .report-card .section-rule {
  background: #c9d2ce;
}

.page-home .report-clock {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 16px;
}

.page-home .report-clock-num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-home .report-clock-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .report-clock-label {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #66757f;
}

.page-home .report-text {
  margin: 0 0 22px;
  max-width: 42rem;
  font-size: 1rem;
  color: #3d4a55;
}

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

.page-home .metric {
  padding: 14px 12px;
  background: #e6ece9;
  border: 1px solid #cfd8d4;
}

.page-home .metric-key {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #5d6b76;
}

.page-home .metric-val {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .report-link {
  margin: 22px 0 0;
  font-size: 0.9375rem;
}

.page-home .report-link a {
  color: #16653c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .report-link a:hover,
.page-home .report-link a:focus-visible {
  color: #0d4526;
}

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

/* ---------- 租借名单窄栏 ---------- */
.page-home .loan-shell {
  display: grid;
  gap: 26px;
}

.page-home .loan-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.page-home .loan-copy .loan-note {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--autumn);
}

.page-home .loan-side {
  display: grid;
  gap: 16px;
}

.page-home .loan-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--slate);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

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

.page-home .loan-panel {
  max-height: 480px;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}

.page-home .loan-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 11px 14px;
  background: var(--slate);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .loan-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .loan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.page-home .loan-row:nth-child(odd) {
  background: var(--slate);
}

.page-home .loan-team {
  font-weight: 600;
  color: var(--paper);
}

.page-home .loan-dir {
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid currentColor;
}

.page-home .loan-dir--in {
  color: var(--spring);
}

.page-home .loan-dir--out {
  color: var(--summer);
}

.page-home .loan-pos {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .loan-foot {
  margin: 0;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--panel);
}

@media (min-width: 1024px) {
  .page-home .loan-shell {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
    align-items: start;
  }
}

/* ---------- 更新节拍 ---------- */
.page-home .rhythm-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .rhythm-item {
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top-width: 3px;
}

.page-home .rhythm-item:nth-child(1) { border-top-color: var(--summer); }
.page-home .rhythm-item:nth-child(2) { border-top-color: var(--winter); }
.page-home .rhythm-item:nth-child(3) { border-top-color: var(--autumn); }

.page-home .rhythm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.page-home .rhythm-dot--summer { background: var(--summer); }
.page-home .rhythm-dot--winter { background: var(--winter); }
.page-home .rhythm-dot--autumn { background: var(--autumn); }

.page-home .rhythm-time {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .rhythm-item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .rhythm-cta {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding: 20px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-left: 3px solid var(--spring);
}

.page-home .rhythm-cta p {
  margin: 0;
  font-size: 0.9375rem;
  color: #c3cdd8;
}

.page-home .rhythm-more {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.page-home .rhythm-more a {
  color: var(--spring);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .rhythm-more a:hover,
.page-home .rhythm-more a:focus-visible {
  color: var(--paper);
}

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

  .page-home .rhythm-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .rhythm-dot--autumn {
    animation: home-pulse 2.4s ease-out 1;
  }
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 179, 60, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(232, 179, 60, 0); }
}
