.page-home {
  --home-hero-radius: 24px;
  --home-num-font: var(--font-mono);
  background: var(--bg-light);
}

.page-home .home-hero {
  position: relative;
  background: var(--gradient-live);
  color: var(--text-on-green);
  padding: 32px 0 56px;
  overflow: hidden;
}

.page-home .hero-wrap {
  position: relative;
  z-index: 1;
}

.page-home .hero-diagonal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -55deg,
    rgba(232, 184, 69, 0.16) 0,
    rgba(232, 184, 69, 0.16) 1px,
    transparent 1px,
    transparent 16px
  );
}

.page-home .hero-number {
  position: absolute;
  right: -16px;
  bottom: -8px;
  z-index: 0;
  font-family: var(--font-mono);
  font-size: 6.5rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(232, 184, 69, 0.16);
  transform: rotate(-12deg);
  letter-spacing: -4px;
  user-select: none;
  pointer-events: none;
}

.page-home .hero-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.82rem;
  color: rgba(240, 245, 241, 0.72);
  margin-bottom: 28px;
}

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

.page-home .hero-breadcrumb a:hover {
  border-color: rgba(232, 184, 69, 0.5);
}

.page-home .hero-grid {
  display: grid;
  gap: 28px;
}

.page-home .hero-kicker {
  margin: 0 0 12px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232, 184, 69, 0.14);
  border: 1px solid rgba(232, 184, 69, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--gold);
}

.page-home .hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.5px;
  max-width: 12em;
}

.page-home .hero-lead {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(240, 245, 241, 0.86);
  max-width: 56ch;
}

.page-home .hero-keyword {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: rgba(232, 184, 69, 0.92);
  font-weight: 600;
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .hero-cta .btn {
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 700;
}

.page-home .live-report {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 184, 69, 0.35);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.page-home .live-report-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 184, 69, 0.6);
  animation: pagehome-livepulse 1.8s infinite;
}

@keyframes pagehome-livepulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 184, 69, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(232, 184, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 69, 0);
  }
}

.page-home .live-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.6px;
}

.page-home .refresh-link {
  margin-left: auto;
  color: rgba(240, 245, 241, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(240, 245, 241, 0.4);
}

.page-home .refresh-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.page-home .live-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.page-home .live-track::-webkit-scrollbar {
  display: none;
}

.page-home .live-slide {
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .live-slide-media {
  aspect-ratio: 16 / 10;
  background: var(--green-deep);
}

.page-home .live-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .live-slide-body {
  padding: 16px;
}

.page-home .live-slide-body h3 {
  margin: 10px 0 8px;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  line-height: 1.3;
}

.page-home .live-slide-body p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-home .live-slide-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-deep);
  border-top: 1px dashed var(--line-soft);
  padding-top: 12px;
}

.page-home .live-slide--compact {
  background: var(--bg-light);
}

.page-home .live-slide--compact .live-slide-meta {
  border-top-color: rgba(220, 229, 222, 0.7);
}

.page-home .home-chapters {
  position: sticky;
  top: var(--header-height-mobile);
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  padding: 0 20px;
}

.page-home .chapter-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .chapter-inner::-webkit-scrollbar {
  display: none;
}

.page-home .chapter-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 6px;
}

.page-home .chapter-inner .chapter-link {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-deep);
  text-decoration: none;
  padding: 10px 4px;
}

.page-home .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.page-home .section-head-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-home .section-head .index-number {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold-deep);
  line-height: 1;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.page-home .section-subtitle {
  margin: 0 0 28px;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .section-more {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.page-home .squad-section {
  background: var(--bg-light);
  padding: 56px 0;
}

.page-home .squad-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 2px 18px;
  margin: 0 -2px;
}

.page-home .squad-track::-webkit-scrollbar {
  height: 6px;
}

.page-home .squad-track::-webkit-scrollbar-thumb {
  background: var(--line-soft);
  border-radius: var(--radius-pill);
}

.page-home .squad-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .squad-card h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
  font-family: var(--font-headline);
  color: var(--text-dark);
}

.page-home .squad-card p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .squad-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-mid);
}

.page-home .tag-section {
  background: var(--bg-white);
  padding: 56px 0;
}

.page-home .tag-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .filter-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.page-home .tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.page-home .tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: var(--bg-light);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
  text-align: center;
}

.page-home .tag-chip:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}

.page-home .tag-media {
  margin: 0;
}

.page-home .tag-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.page-home .download-section {
  background: var(--bg-light);
  padding: 56px 0;
}

.page-home .download-layout {
  display: grid;
  gap: 28px;
}

.page-home .download-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.page-home .download-device {
  margin: 0;
  max-width: 240px;
}

.page-home .download-device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}

.page-home .download-panel {
  background: var(--bg-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.page-home .date-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .date-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  border: 1px solid var(--line-soft);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.page-home .date-tab:hover {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}

.page-home .date-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.page-home .record-list {
  display: grid;
  gap: 12px;
}

.page-home .record-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.page-home .record-item:hover {
  border-color: var(--gold);
  background: #fff;
}

.page-home .record-no {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 0.9rem;
  white-space: nowrap;
}

.page-home .record-info {
  min-width: 0;
  flex: 1;
}

.page-home .record-info h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.page-home .record-info .text-muted {
  font-size: 0.78rem;
}

.page-home .record-item .btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.page-home .stats-section {
  position: relative;
  background: var(--gradient-live);
  color: var(--text-on-green);
  padding: 56px 0;
  overflow: hidden;
}

.page-home .stats-wrap {
  position: relative;
  z-index: 1;
}

.page-home .stats-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.page-home .stats-head .section-title {
  color: #fff;
}

.page-home .stats-head .index-number {
  color: var(--gold);
}

.page-home .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.page-home .stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 184, 69, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}

.page-home .stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-home .stat-label {
  font-size: 0.82rem;
  color: rgba(240, 245, 241, 0.85);
}

.page-home .home-cta {
  background: var(--bg-white);
  padding: 56px 0;
}

.page-home .cta-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-left: 6px solid var(--gold);
}

.page-home .cta-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--text-dark);
}

.page-home .cta-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

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

.page-home .cta-actions .btn {
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .page-home .tag-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .squad-card {
    flex-basis: 46%;
  }

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

@media (min-width: 760px) {
  .page-home .live-slide {
    flex-basis: 58%;
  }

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

  .page-home .stat-item {
    padding: 28px 20px;
  }

  .page-home .stat-number {
    font-size: 2.6rem;
  }
}

@media (min-width: 900px) {
  .page-home .home-chapters {
    top: var(--header-height);
  }

  .page-home .squad-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    overflow: visible;
  }

  .page-home .squad-card {
    flex: initial;
    max-width: none;
  }

  .page-home .squad-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(14, 59, 46, 0.08);
  }

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

  .page-home .cta-copy {
    max-width: 60%;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 48px 0 64px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .live-track {
    flex-wrap: wrap;
    overflow: visible;
  }

  .page-home .live-slide {
    flex: 0 0 calc(50% - 8px);
  }

  .page-home .live-slide:first-child {
    flex: 0 0 100%;
  }

  .page-home .hero-number {
    font-size: 9rem;
  }

  .page-home .tag-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
  }

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

  .page-home .download-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 40px;
  }

  .page-home .download-intro {
    position: sticky;
    top: calc(var(--header-height) + 16px);
  }

  .page-home .download-device {
    max-width: 260px;
  }
}
