.page-home {
  overflow-x: hidden;
  background: var(--porcelain);
}

/* ===== Hero 首屏：站点索引与时间表 ===== */
.page-home .home-hero {
  --grid-color: rgba(140, 198, 63, 0.07);
  position: relative;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
    var(--deep);
  background-size: 36px 36px;
  color: var(--porcelain);
  padding: calc(var(--header-h) + 24px) 0 72px;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 40%, rgba(140, 198, 63, 0.09) 100%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero-art {
  position: absolute;
  top: 0;
  right: -18%;
  width: 72%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

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

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

.page-home .breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 233, 0.6);
}

.page-home .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

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

.page-home .breadcrumb li + li::before {
  content: "⁄";
  margin: 0 8px;
  color: rgba(247, 244, 233, 0.35);
}

.page-home .breadcrumb a {
  color: rgba(247, 244, 233, 0.7);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-home .breadcrumb a:hover {
  color: var(--kiwi);
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--kiwi);
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--kiwi);
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(140, 198, 63, 0.35);
  border-radius: 999px;
  background: rgba(15, 76, 92, 0.18);
  margin: 0 0 18px;
}

.page-home .home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--porcelain);
}

.page-home .home-hero-bar {
  color: var(--orange);
  margin: 0 6px;
}

.page-home .home-hero-slogan {
  display: block;
  color: var(--kiwi);
  font-size: 0.72em;
  letter-spacing: 0.08em;
}

.page-home .home-hero-desc {
  margin: 0;
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 244, 233, 0.75);
}

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

.page-home .home-hero-actions .ghost-btn {
  border-color: rgba(247, 244, 233, 0.5);
  color: var(--porcelain);
}

.page-home .home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.page-home .home-hero-meta-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 128px;
}

.page-home .home-hero-meta dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 233, 0.5);
}

.page-home .home-hero-meta dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--kiwi);
}

/* 章节目录卡 */
.page-home .home-hero-toc {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(140, 198, 63, 0.25);
  border-radius: 28px;
  padding: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.page-home .home-toc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .home-toc-label {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-toc-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--kiwi);
  letter-spacing: 0.14em;
}

.page-home .home-toc-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.page-home .home-toc-item a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(247, 244, 233, 0.64);
  text-decoration: none;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .home-toc-item a:hover,
.page-home .home-toc-item.is-active a {
  color: #fff;
  padding-left: 12px;
}

.page-home .home-toc-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--kiwi);
}

.page-home .home-toc-text {
  font-size: 0.92rem;
  font-weight: 500;
}

.page-home .home-toc-refresh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(247, 244, 233, 0.55);
}

.page-home .home-refresh-ring {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(140, 198, 63, 0.25);
  border-top-color: var(--kiwi);
  animation: home-rotate 2s linear infinite;
}

.page-home .home-refresh-label {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.page-home .home-refresh-time {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--kiwi);
  letter-spacing: 0.06em;
  animation: home-blink 2s ease infinite;
}

@keyframes home-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes home-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* ===== 章节公共样式 ===== */
.page-home .home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.page-home .home-section-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--warm);
  text-transform: uppercase;
}

.page-home .home-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 8px 0 0;
  width: 100%;
}

.page-home .home-section-lead {
  margin: 16px 0 32px;
  max-width: 640px;
  color: var(--warm);
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== 02 实时判罚速览 ===== */
.page-home .home-live.section {
  background:
    linear-gradient(rgba(14, 30, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 30, 28, 0.035) 1px, transparent 1px),
    var(--porcelain);
  background-size: 32px 32px;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.page-home .home-live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 6px;
  background: linear-gradient(90deg, var(--kiwi), var(--orange));
  border-radius: 0 6px 6px 0;
}

.page-home .home-live-ticker {
  overflow: hidden;
  border-radius: 18px;
  background: var(--mist);
  padding: 12px 0;
  margin: 24px 0 32px;
}

.page-home .home-ticker-track {
  display: flex;
  width: max-content;
  animation: home-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.page-home .home-ticker-group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.page-home .home-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(14, 30, 28, 0.06);
}

.page-home .home-ticker-league {
  font-weight: 700;
  color: var(--teal);
}

.page-home .home-ticker-time {
  font-family: var(--font-mono);
  color: var(--orange);
}

.page-home .home-ticker-type {
  color: var(--warm);
}

@keyframes home-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page-home .home-live-stats {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}

.page-home .home-stat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(14, 30, 28, 0.05);
}

.page-home .home-stat-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--kiwi);
  opacity: 0.1;
}

.page-home .home-stat-card:nth-child(2)::after {
  background: var(--orange);
}

.page-home .home-stat-card:nth-child(3)::after {
  background: var(--teal);
}

.page-home .home-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--warm);
  text-transform: uppercase;
}

.page-home .home-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  margin-top: 10px;
  color: var(--ink);
}

.page-home .home-stat-value small {
  font-family: var(--font-body);
  font-size: 0.4em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--warm);
}

.page-home .home-stat-note {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--warm);
  line-height: 1.5;
}

.page-home .home-live-judge {
  margin-top: 24px;
  background: var(--mist);
  border-radius: 28px;
  padding: 24px;
}

.page-home .home-judge-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.page-home .home-judge-head p {
  margin: 0 0 16px;
  color: var(--warm);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .home-judge-grid {
  display: grid;
  gap: 14px;
}

.page-home .home-judge-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  padding: 20px;
}

.page-home .home-judge-card--yellow {
  background: linear-gradient(135deg, var(--gold), var(--kiwi));
  color: var(--ink);
}

.page-home .home-judge-card--red {
  background: linear-gradient(135deg, var(--wine), #5a1f28);
  color: #fff;
}

.page-home .home-judge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  animation: home-pulse 1.6s ease infinite;
}

@keyframes home-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(140, 198, 63, 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(140, 198, 63, 0);
  }
}

.page-home .home-judge-card--red .home-judge-dot {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
}

.page-home .home-judge-body {
  display: flex;
  flex-direction: column;
}

.page-home .home-judge-body strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.page-home .home-judge-body span {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.page-home .home-judge-meta {
  margin-left: auto;
  font-size: 0.78rem;
  text-align: right;
  opacity: 0.75;
  max-width: 180px;
}

/* ===== 03 我的球队与联赛专题 ===== */
.page-home .home-team.section {
  position: relative;
  background:
    radial-gradient(circle at 82% 12%, rgba(140, 198, 63, 0.14) 0%, transparent 42%),
    var(--teal);
  color: var(--porcelain);
  border-radius: 32px 32px 0 0;
  padding-top: 110px;
  padding-bottom: 120px;
  overflow: hidden;
}

.page-home .home-team .home-section-index {
  color: rgba(247, 244, 233, 0.55);
}

.page-home .home-team .home-section-lead,
.page-home .home-experts .home-section-lead {
  color: rgba(247, 244, 233, 0.68);
}

.page-home .home-team-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-home .home-team-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-team-fav {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 22px;
}

.page-home .home-team-fav-star {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(201, 180, 88, 0.2);
  color: var(--gold);
  border-radius: 12px;
  font-size: 1.25rem;
}

.page-home .home-team-fav h3,
.page-home .home-league-panel h3,
.page-home .home-phone-copy h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .home-team-fav p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 244, 233, 0.72);
}

.page-home .home-team-fav .tag {
  grid-column: 2;
  justify-self: start;
}

.page-home .home-league-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 20, 25, 0.28);
  border-radius: 24px;
  padding: 22px;
}

.page-home .home-league-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.page-home .home-league-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--porcelain);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-league-list a:hover {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: var(--ink);
}

.page-home .home-team-cover {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--indigo);
  min-height: 260px;
}

.page-home .home-team-cover img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.page-home .home-team-cover figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(14, 30, 28, 0.72);
  color: var(--porcelain);
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.page-home .home-phone-row {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.page-home .home-phone-figure {
  margin: 0;
  max-width: 340px;
  border-radius: 32px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.page-home .home-phone-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.page-home .home-phone-figure figcaption {
  font-size: 0.8rem;
  text-align: center;
  padding: 10px 0 2px;
  color: rgba(247, 244, 233, 0.55);
}

.page-home .home-phone-copy p {
  margin: 0 0 20px;
  line-height: 1.75;
  color: rgba(247, 244, 233, 0.75);
}

.page-home .home-phone-copy .ghost-btn {
  border-color: rgba(247, 244, 233, 0.45);
  color: var(--porcelain);
}

/* ===== 04 专家专栏与战术拆解 ===== */
.page-home .home-experts.section {
  background: linear-gradient(160deg, var(--ink) 0%, var(--indigo) 100%);
  color: var(--porcelain);
  padding-top: 110px;
  padding-bottom: 120px;
  position: relative;
}

.page-home .home-experts .home-section-index {
  color: rgba(140, 198, 63, 0.9);
}

.page-home .home-expert-grid {
  display: grid;
  gap: 18px;
}

.page-home .home-expert-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.page-home .home-expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 198, 63, 0.5);
}

.page-home .home-expert-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--kiwi);
  text-transform: uppercase;
}

.page-home .home-expert-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 14px 0 10px;
}

.page-home .home-expert-card p {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(247, 244, 233, 0.65);
}

.page-home .home-expert-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kiwi);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.page-home .home-expert-link span {
  transition: transform 0.3s var(--ease);
}

.page-home .home-expert-link:hover span {
  transform: translateX(4px);
}

.page-home .home-expert-figure {
  margin: 56px 0 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.page-home .home-expert-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-home .home-expert-figure figcaption {
  padding: 12px 4px 2px;
  font-size: 0.8rem;
  color: rgba(247, 244, 233, 0.5);
}

.page-home .home-timeline-row {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.page-home .home-timeline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
}

.page-home .home-timeline h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

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

.page-home .home-timeline li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: rgba(247, 244, 233, 0.68);
}

.page-home .home-timeline li span {
  font-family: var(--font-mono);
  color: var(--kiwi);
  white-space: nowrap;
}

.page-home .home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: center;
}

.page-home .home-trust-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 0.88rem;
  color: rgba(247, 244, 233, 0.72);
}

.page-home .home-trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--kiwi);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
}

/* ===== 响应式：平板与桌面 ===== */
@media (min-width: 760px) {
  .page-home .home-live-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .page-home .home-team-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-timeline-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-home .home-hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 40px;
    min-height: 64vh;
  }

  .page-home .home-hero-art {
    right: -8%;
    width: 44%;
    opacity: 0.2;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 48px) 0 96px;
  }

  .page-home .home-team-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    gap: 32px;
  }

  .page-home .home-phone-row {
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .home-phone-figure {
    justify-self: end;
    margin: 0;
  }

  .page-home .home-expert-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .home-expert-figure {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 24px;
    padding: 20px;
  }

  .page-home .home-expert-figure img {
    border-radius: 20px;
  }

  .page-home .home-expert-figure figcaption {
    padding: 0;
    font-size: 1rem;
    color: rgba(247, 244, 233, 0.6);
  }

  .page-home .home-timeline-row {
    margin-top: 32px;
  }
}
