/* ============ HTH 首页专属样式 ============ */
.page-home {
  --home-radius-xl: 40px;
  --home-radius-lg: 32px;
  --home-radius-md: 20px;
  --home-gradient: linear-gradient(135deg, #0B3B60 0%, #1D4E7A 100%);
  --home-gradient-dark: linear-gradient(135deg, #071E33 0%, #0B3B60 60%, #1D4E7A 100%);
  scroll-behavior: smooth;
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .su-container {
  width: calc(100% - 3rem);
  max-width: 1280px;
  margin-inline: auto;
}

/* ---------- 面包屑 ---------- */
.page-home .home-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 2rem 0 0;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--su-color-gray);
}

.page-home .home-breadcrumb span {
  display: inline-flex;
  align-items: center;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-entry {
  padding: 1.5rem 0 4rem;
}

.page-home .home-entry-layout {
  display: grid;
  gap: 1.5rem;
}

.page-home .home-eyebrow-invert {
  color: var(--su-color-lime);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8125rem;
}

/* 左侧赛事日历大色块 */
.page-home .home-calendar-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--home-gradient);
  color: var(--su-color-warm);
  border-radius: var(--su-radius-lg);
  overflow: hidden;
  box-shadow: var(--su-shadow-md);
  min-height: 480px;
}

.page-home .home-calendar-hero::before {
  content: "";
  position: absolute;
  left: -12%;
  top: -22%;
  width: 58%;
  height: 140%;
  background: linear-gradient(to bottom, rgba(255, 107, 53, .28), transparent 70%);
  transform: rotate(12deg);
  pointer-events: none;
}

.page-home .home-hero-copy,
.page-home .home-calendar-overview,
.page-home .home-hero-cta {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-big-number {
  position: absolute;
  top: 2.2rem;
  right: -1rem;
  font-family: var(--su-font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  color: rgba(255, 253, 247, .16);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-home .home-entry-title {
  margin: .5rem 0 0;
  font-family: var(--su-font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 13em;
}

.page-home .home-entry-sub {
  margin: .75rem 0 0;
  font-size: 1.125rem;
  color: #E6F2FA;
}

.page-home .home-entry-desc {
  margin: .5rem 0 0;
  max-width: 42ch;
  color: #CFE3F5;
  line-height: 1.8;
}

.page-home .home-calendar-overview {
  display: grid;
  gap: .65rem;
  margin-top: auto;
}

.page-home .home-calendar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  padding: .65rem .8rem;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--su-radius-pill);
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-home .home-calendar-hero .su-tag {
  background: rgba(255, 255, 255, .14);
  color: var(--su-color-warm);
  border-color: rgba(255, 255, 255, .18);
}

.page-home .home-calendar-hero .su-tag-live {
  background: var(--su-color-lime);
  color: var(--su-color-ink);
}

.page-home .home-calendar-days {
  color: #CFE3F5;
  font-size: .8125rem;
  letter-spacing: .04em;
}

.page-home .home-btn-on-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid rgba(255, 253, 247, .45);
  color: var(--su-color-warm);
  border-radius: var(--su-radius-pill);
  padding: .75rem 1.5rem;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--su-ease), color var(--su-ease), border-color var(--su-ease);
}

.page-home .home-btn-on-navy:hover,
.page-home .home-btn-on-navy:focus-visible {
  background: var(--su-color-lime);
  color: var(--su-color-ink);
  border-color: transparent;
}

/* 右上快速登录 */
.page-home .home-login-card {
  background: var(--su-color-warm);
  border-radius: var(--su-radius-lg);
  overflow: hidden;
  border: 1px solid #EAE6DC;
  box-shadow: var(--su-shadow-md);
  display: flex;
  flex-direction: column;
}

.page-home .home-login-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.page-home .home-login-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.page-home .home-login-card-content h2 {
  margin: 0;
  font-family: var(--su-font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.page-home .home-login-card-content p {
  margin: 0;
  color: var(--su-color-gray);
}

/* 右下数据面板 */
.page-home .home-data-panel {
  position: relative;
  background: var(--su-color-warm);
  background-image:
    linear-gradient(rgba(11, 59, 96, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 59, 96, .04) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: var(--su-radius-lg);
  border: 1px solid #EAE6DC;
  padding: 1.5rem;
  box-shadow: var(--su-shadow-md);
  display: flex;
  flex-direction: column;
}

.page-home .home-data-metrics {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.page-home .home-metric-card {
  background: var(--su-color-warm);
  border: 1px solid #EEE9DF;
  border-radius: var(--su-radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--su-shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .75rem;
  align-items: center;
  transition: transform var(--su-ease), box-shadow var(--su-ease);
}

.page-home .home-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--su-shadow-hover);
}

.page-home .home-metric-card .su-metric-value {
  grid-column: 2;
  font-family: var(--su-font-display);
  font-size: 2rem;
  line-height: 1;
}

.page-home .home-metric-card .su-metric-label {
  grid-column: 2;
  font-size: .8125rem;
  color: var(--su-color-gray);
}

.page-home .home-flash-dot {
  grid-row: 1 / 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--su-color-lime);
  animation: home-flash 1.5s ease-in-out infinite;
}

@keyframes home-flash {
  0%, 100% {
    box-shadow: 0 0 0 2px var(--su-color-cream), 0 0 0 4px rgba(163, 230, 53, .4);
  }
  50% {
    box-shadow: 0 0 0 2px var(--su-color-cream), 0 0 0 8px rgba(163, 230, 53, 0);
  }
}

.page-home .home-data-quicknote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .65rem .8rem;
  background: var(--su-color-cream);
  border-radius: var(--su-radius-pill);
  font-size: .8125rem;
  color: var(--su-color-ink);
  margin-bottom: .5rem;
}

.page-home .home-data-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--su-radius-md);
  margin-top: .75rem;
}

.page-home .home-data-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--su-color-steel);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-data-link:hover {
  text-decoration: underline;
}

/* ---------- 赛事日历章节 ---------- */
.page-home .home-calendar-section,
.page-home .home-injury-section,
.page-home .home-league-section {
  padding: 4rem 0;
}

.page-home .home-section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.page-home .home-section-heading h2 {
  font-family: var(--su-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: .5rem 0 1rem;
}

.page-home .home-section-heading p {
  color: var(--su-color-gray);
  line-height: 1.8;
}

.page-home .home-calendar-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-home .home-calendar-detail-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--su-radius-md);
  transition: transform var(--su-ease), box-shadow var(--su-ease);
  min-width: 0;
}

.page-home .home-calendar-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--su-shadow-hover);
}

.page-home .home-cal-index {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--su-font-display);
  font-size: 1.5rem;
  color: rgba(11, 59, 96, .22);
  line-height: 1;
}

.page-home .home-cal-detail-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .875rem;
  color: var(--su-color-gray);
}

.page-home .home-cal-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.page-home .home-cal-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .8rem;
  background: var(--su-color-cream);
  border-radius: var(--su-radius-pill);
  font-size: .875rem;
}

.page-home .home-cal-day {
  font-weight: 700;
  color: var(--su-color-navy);
}

.page-home .home-cal-foot {
  margin: 1rem 0 .5rem;
  font-size: .8125rem;
  color: var(--su-color-gray);
}

.page-home .home-cal-link {
  color: var(--su-color-orange);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.page-home .home-cal-link:hover {
  border-bottom-color: var(--su-color-orange);
}

/* 篮球媒体块 */
.page-home .home-basketball-media {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--home-gradient);
  border-radius: var(--su-radius-lg);
  padding: 1.25rem;
  color: var(--su-color-warm);
  box-shadow: var(--su-shadow-md);
}

.page-home .home-basketball-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--su-radius-md);
}

.page-home .home-basketball-copy h3 {
  font-family: var(--su-font-display);
  font-size: 1.4rem;
  margin: .25rem 0 .5rem;
}

.page-home .home-basketball-copy p {
  color: #CFE3F5;
  margin: 0 0 1rem;
  line-height: 1.8;
}

/* ---------- 升级版HTH大屏 ---------- */
.page-home .home-bigscreen-section {
  background: var(--home-gradient-dark);
  color: var(--su-color-warm);
  padding: 3.5rem 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.page-home .home-bigscreen-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .home-bigscreen-copy h2 {
  font-family: var(--su-font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: .75rem 0 1rem;
}

.page-home .home-bigscreen-copy p {
  color: #C8DAE9;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-home .home-bigscreen-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: .75rem;
}

.page-home .home-bigscreen-list li {
  display: flex;
  gap: .75rem;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  padding: .8rem 1rem;
  border-radius: var(--su-radius-pill);
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-home .home-bigscreen-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--su-color-lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, .2);
}

.page-home .home-bigscreen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.page-home .home-bigscreen-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--su-radius-lg);
  box-shadow: var(--su-shadow-hover);
}

/* ---------- 订阅球队伤停 ---------- */
.page-home .home-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .home-team-card {
  background: var(--su-color-warm);
  border: 1px solid #EDE7DC;
  border-radius: var(--su-radius-md);
  box-shadow: var(--su-shadow-sm);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  transition: transform var(--su-ease), box-shadow var(--su-ease);
  min-width: 0;
}

.page-home .home-team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--su-shadow-hover);
}

.page-home .home-team-card:focus-visible,
.page-home .home-calendar-detail-card:focus-visible {
  outline: 3px solid var(--su-color-lime);
  outline-offset: 3px;
}

.page-home .home-team-badge {
  width: 56px;
  height: 56px;
  display: block;
}

.page-home .home-team-name {
  font-weight: 700;
  font-size: .9375rem;
}

/* ---------- 联赛专题区 ---------- */
.page-home .home-league-section {
  background: var(--su-color-cream);
}

.page-home .home-league-grid {
  display: grid;
  gap: 1.25rem;
}

.page-home .home-league-card {
  background: var(--su-color-warm);
  border-radius: var(--su-radius-lg);
  box-shadow: var(--su-shadow-sm);
  overflow: hidden;
  border: 1px solid #EDE7DC;
  display: flex;
  flex-direction: column;
  transition: transform var(--su-ease), box-shadow var(--su-ease);
  min-width: 0;
}

.page-home .home-league-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--su-shadow-hover);
}

.page-home .home-league-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-home .home-league-card-featured .home-league-img {
  height: 240px;
}

.page-home .home-league-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  flex: 1;
}

.page-home .home-league-body h3 {
  font-family: var(--su-font-display);
  font-size: 1.35rem;
  margin: 0;
}

.page-home .home-league-body p {
  color: var(--su-color-gray);
  margin: 0;
  line-height: 1.75;
}

.page-home .home-league-body a {
  color: var(--su-color-steel);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--su-color-orange);
}

.page-home .home-league-body a:hover {
  text-decoration: underline;
}

/* ---------- 收尾 ---------- */
.page-home .home-outro {
  padding: 4rem 0 3rem;
}

.page-home .home-outro-panel {
  background: var(--home-gradient);
  color: var(--su-color-warm);
  padding: 2rem 1.75rem;
  border-radius: var(--home-radius-xl);
  box-shadow: var(--su-shadow-md);
}

.page-home .home-outro-panel h2 {
  font-family: var(--su-font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
}

.page-home .home-outro-desc {
  max-width: 72ch;
  color: #CFE3F5;
  line-height: 1.9;
  margin: 0 0 1.75rem;
}

.page-home .home-outro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: .8125rem;
  color: #CFE3F5;
}

.page-home .home-outro-meta span::before {
  content: "·";
  margin-right: .5rem;
  color: var(--su-color-lime);
}

.page-home .home-outro-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

/* ---------- 桌面端布局 ---------- */
@media (min-width: 680px) {
  .page-home .home-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .home-basketball-media {
    grid-template-columns: 2fr 3fr;
  }

  .page-home .home-basketball-copy {
    order: 1;
  }

  .page-home .home-basketball-img {
    order: 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-entry-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }

  .page-home .home-calendar-hero {
    grid-row: 1 / 3;
    min-height: 600px;
  }

  .page-home .home-login-card {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .home-data-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .home-login-img {
    height: 170px;
  }

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

  .page-home .home-bigscreen-section {
    padding: 5rem 0;
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
  }

  .page-home .home-bigscreen-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .page-home .home-league-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .page-home .home-league-card-featured {
    grid-row: span 2;
  }

  .page-home .home-outro-panel {
    padding: 3rem;
  }

  .page-home .home-section-heading {
    margin-bottom: 2.5rem;
  }
}
