.page-home {
  --home-hero-grad: linear-gradient(120deg, rgba(5, 13, 31, 0.96) 0%, rgba(8, 20, 40, 0.82) 45%, rgba(15, 31, 61, 0.55) 100%);
}

.page-home .hero-panel {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--color-line);
}

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

.page-home .hero-panel__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .hero-panel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--home-hero-grad);
}

.page-home .hero-panel__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hero-panel__copy {
  max-width: 34rem;
}

.page-home .hero-panel__tagline {
  margin: 0 0 0.9rem;
  font-family: var(--font-data);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neon);
}

.page-home .hero-panel__copy h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: var(--color-white);
}

.page-home .hero-panel__lead {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.page-home .hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-panel__aux {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.page-home .hero-panel__aux a {
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.page-home .hero-panel__aux a:hover,
.page-home .hero-panel__aux a:focus-visible {
  color: var(--color-white);
  border-bottom-color: var(--color-orange);
}

.page-home .dashboard-frame {
  position: relative;
  align-self: end;
  border: 1px solid var(--color-line);
  background: rgba(15, 31, 61, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-home .dashboard-frame::before,
.page-home .dashboard-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}

.page-home .dashboard-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-orange);
  border-left: 2px solid var(--color-orange);
}

.page-home .dashboard-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--color-neon);
  border-bottom: 2px solid var(--color-neon);
}

.page-home .dashboard-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-line);
  background: rgba(8, 20, 40, 0.8);
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.page-home .dashboard-frame__view {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-home .dashboard-frame__hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-neon);
  font-family: var(--font-data);
  font-size: 0.75rem;
  line-height: 1;
  cursor: help;
}

.page-home .dashboard-frame__hint::after {
  content: "数据每日更新，支持未来30天与整赛季视图切换";
  position: absolute;
  top: 140%;
  right: 0;
  z-index: 5;
  display: none;
  width: 15rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-line);
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-home .dashboard-frame__hint:hover::after,
.page-home .dashboard-frame__hint:focus::after {
  display: block;
}

.page-home .dashboard-frame__body {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.page-home .dashboard-frame__events {
  display: grid;
  gap: 0.85rem;
}

.page-home .dashboard-event {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-left: 2px solid var(--color-line);
  background: rgba(8, 20, 40, 0.6);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.page-home .dashboard-event:hover {
  border-left-color: var(--color-orange);
  background: rgba(19, 38, 72, 0.75);
  transform: translateX(2px);
}

.page-home .dashboard-event__detail {
  min-width: 0;
}

.page-home .dashboard-event__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}

.page-home .dashboard-event__meta {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.page-home .dashboard-frame__chart {
  margin: 0;
  border: 1px solid var(--color-line);
  background: var(--color-ink);
}

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

.page-home .dashboard-frame__ticks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(184, 196, 214, 0.06) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(to bottom, rgba(184, 196, 214, 0.06) 0 1px, transparent 1px 16px);
}

.page-home .season-update {
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-deep);
}

.page-home .season-update__band {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  background: linear-gradient(135deg, var(--color-card), var(--color-ink));
}

.page-home .season-update__band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-neon), var(--color-orange));
}

.page-home .season-update__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neon);
}

.page-home .season-update__heading {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--color-white);
}

.page-home .season-update__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .core-sections {
  padding: var(--spacing-section) 0;
}

.page-home .core-sections__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.page-home .core-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home .core-card:hover,
.page-home .core-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 92, 0, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.page-home .core-card__index {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  color: rgba(255, 92, 0, 0.4);
}

.page-home .core-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
}

.page-home .core-card__desc {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .core-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .core-card__link::after {
  content: "→";
  transition: transform 0.2s;
}

.page-home .core-card__link:hover::after,
.page-home .core-card__link:focus-visible::after {
  transform: translateX(3px);
}

.page-home .core-card--media {
  padding: 0;
}

.page-home .core-card--media .core-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-ink);
}

.page-home .core-card--media .core-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .core-card--media .core-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
}

.page-home .today-focus {
  padding: var(--spacing-section) 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-ink);
}

.page-home .section-head--row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .section-head--row .btn {
  align-self: flex-start;
}

.page-home .today-focus__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.page-home .focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .focus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.page-home .focus-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 92, 0, 0.75) 50%);
}

.page-home .focus-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
}

.page-home .focus-card__meta {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.88rem;
  color: var(--color-muted);
}

.page-home .focus-card__data {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.page-home .focus-card__link {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-neon);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .focus-card__link:hover,
.page-home .focus-card__link:focus-visible {
  border-bottom-color: var(--color-neon);
}

.page-home .latest-news {
  padding: var(--spacing-section) 0;
}

.page-home .latest-news__timeline {
  position: relative;
  margin-top: 2.75rem;
  padding-left: 1.6rem;
}

.page-home .latest-news__timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.35rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-neon), var(--color-line) 30%, var(--color-line));
}

.page-home .news-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 1.35rem;
  border: 1px solid var(--color-line);
  background: var(--color-card);
  transition: border-color 0.2s, transform 0.2s;
}

.page-home .news-item:hover {
  border-color: rgba(0, 255, 163, 0.35);
  transform: translateX(2px);
}

.page-home .news-item::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: -1.54rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--color-neon);
  transform: rotate(45deg);
}

.page-home .news-item__title {
  margin: 0.6rem 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
}

.page-home .news-item__text {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .news-item__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .news-item__link::after {
  content: "→";
}

.page-home .news-item__link:hover,
.page-home .news-item__link:focus-visible {
  border-bottom-color: var(--color-orange);
}

.page-home .connect-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-orange);
  background: rgba(15, 31, 61, 0.7);
}

.page-home .connect-note__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .page-home .dashboard-frame__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .season-update__band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .season-update__band .btn {
    flex-shrink: 0;
  }

  .page-home .core-sections__grid,
  .page-home .today-focus__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .section-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-panel__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .page-home .core-sections__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .today-focus__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .latest-news__timeline {
    padding-left: 2rem;
  }

  .page-home .news-item::before {
    left: -1.75rem;
  }
}
