.page-home {
  --home-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --home-clip-lg: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  --home-grid: linear-gradient(rgba(184,196,206,0.05) 1px, transparent 1px),
               linear-gradient(90deg, rgba(184,196,206,0.05) 1px, transparent 1px);
  --home-grid-size: 42px 42px;
  background: var(--color-deep-space);
  color: var(--color-text);
}

.page-home .home-context {
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid var(--color-line);
}

.page-home .home-context__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.page-home .home-context__link {
  color: var(--color-neon);
  text-decoration: none;
  font-weight: 600;
}

.page-home .home-context__divider {
  color: var(--color-line);
}

.page-home .home-context__current {
  color: var(--color-text);
}

.page-home .section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-home .section-index {
  font-family: var(--font-number);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--color-neon);
  letter-spacing: -0.04em;
  min-width: 1.6em;
}

.page-home .section-header__block h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.page-home .section-desc {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.page-home .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.page-home .home-btn--primary {
  background: var(--color-neon);
  color: #08131f;
  clip-path: var(--home-clip);
  font-weight: 700;
}

.page-home .home-btn--primary:hover {
  background: var(--color-orange);
  color: #fff;
  transform: translateY(-2px);
}

.page-home .home-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-silver);
  clip-path: var(--home-clip);
}

.page-home .home-btn--ghost:hover {
  border-color: var(--color-neon);
  color: var(--color-neon);
  transform: translateY(-2px);
}

.page-home .home-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-line);
  color: var(--color-silver);
  background: rgba(15, 32, 43, 0.7);
  white-space: nowrap;
}

.page-home .home-tag--neon {
  color: var(--color-deep-space);
  background: var(--color-neon);
  border-color: var(--color-neon);
}

.page-home .home-tag--orange {
  color: #fff;
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.page-home .home-tag--warn {
  color: var(--color-deep-space);
  background: var(--color-warn);
  border-color: var(--color-warn);
}

.page-home .home-directory {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 255, 135, 0.12), transparent 44%),
    radial-gradient(circle at 8% 92%, rgba(0, 184, 255, 0.08), transparent 50%);
}

.page-home .home-directory::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--home-grid);
  background-size: var(--home-grid-size);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-directory > .container {
  position: relative;
  z-index: 1;
}

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

.page-home .home-directory__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-directory__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-number);
  font-size: 0.8rem;
  color: var(--color-silver);
  border-left: 3px solid var(--color-neon);
  background: rgba(15, 32, 43, 0.65);
  clip-path: var(--home-clip);
  margin-bottom: 1rem;
}

.page-home .home-directory__intro h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.page-home .home-directory__slogan {
  display: block;
  margin-top: 0.4rem;
  color: var(--color-neon);
  text-shadow: 0 0 24px rgba(0, 255, 135, 0.25);
}

.page-home .home-directory__lead {
  max-width: 56rem;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-home .home-directory__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-home .home-directory__meta-item {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--color-silver);
  border: 1px solid var(--color-line);
  background: rgba(15, 32, 43, 0.7);
}

.page-home .home-directory__meta-item strong {
  color: var(--color-text);
  margin-right: 0.2rem;
  font-family: var(--font-number);
}

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

.page-home .home-directory__index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.page-home .dir-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  background: rgba(15, 32, 43, 0.9);
  border: 1px solid var(--color-line);
  clip-path: var(--home-clip);
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.page-home .dir-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-data);
  transition: width 0.3s var(--ease);
}

.page-home .dir-card:hover {
  background: rgba(0, 255, 135, 0.08);
  border-color: rgba(0, 255, 135, 0.5);
  transform: translateY(-3px);
}

.page-home .dir-card:hover::after {
  width: 100%;
}

.page-home .dir-card__num {
  font-family: var(--font-number);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-neon);
  line-height: 1;
}

.page-home .dir-card__body {
  display: block;
  min-width: 0;
}

.page-home .dir-card__name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .dir-card__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.page-home .home-directory__figure {
  margin: 1.5rem 0 0;
  position: relative;
  z-index: 1;
  height: 300px;
  overflow: hidden;
  clip-path: var(--home-clip);
  background: var(--color-surface);
}

.page-home .home-directory__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.page-home .home-schedule {
  position: relative;
  padding: 3rem 0 0;
  background: var(--color-surface);
  overflow: hidden;
}

.page-home .home-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-neon) 30%, var(--color-orange) 70%, transparent 100%);
  transform: skewY(-2deg);
}

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

.page-home .home-schedule__copy p {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 42rem;
}

.page-home .video-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  background: rgba(0, 184, 255, 0.1);
  border: 1px solid rgba(0, 184, 255, 0.45);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  clip-path: var(--home-clip);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.page-home .video-chip:hover {
  border-color: var(--color-neon);
  background: rgba(0, 255, 135, 0.1);
  transform: translateY(-2px);
}

.page-home .video-chip__play {
  width: 0;
  height: 0;
  border-left: 12px solid var(--color-neon);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  animation: home-play-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes home-play-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.page-home .schedule-progress {
  padding: 1.25rem;
  background: var(--color-deep-space);
  border: 1px solid var(--color-line);
  clip-path: var(--home-clip);
}

.page-home .schedule-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.page-home .schedule-progress__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-number);
  font-size: 0.75rem;
  color: var(--color-neon);
}

.page-home .schedule-progress__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 10px var(--color-neon);
  animation: home-live-blink 1.2s ease-in-out infinite;
}

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

.page-home .schedule-progress__value {
  font-family: var(--font-number);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.page-home .schedule-progress__track {
  position: relative;
  height: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.page-home .schedule-progress__fill {
  display: block;
  position: relative;
  width: 44%;
  height: 100%;
  background: var(--gradient-data);
  overflow: hidden;
}

.page-home .schedule-progress__fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: home-progress-scan 2.4s linear infinite;
}

@keyframes home-progress-scan {
  0% { left: -40%; }
  100% { left: 130%; }
}

.page-home .schedule-progress__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.page-home .home-schedule__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.page-home .home-schedule__stat {
  padding: 1rem 0.9rem;
  background: var(--color-deep-space);
  border-top: 2px solid var(--color-neon);
  border-bottom: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-home .home-schedule__stat-num {
  font-family: var(--font-number);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
}

.page-home .home-schedule__stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.page-home .home-schedule__note {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-muted);
  background: rgba(255, 106, 0, 0.08);
  border-left: 3px solid var(--color-orange);
}

.page-home .home-schedule__figure {
  margin: 2rem 0 0;
  overflow: hidden;
  clip-path: var(--home-clip-lg);
  background: var(--color-deep-space);
  height: 220px;
}

.page-home .home-schedule__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-ranking {
  padding: 3rem 0;
}

.page-home .home-ranking__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.page-home .home-ranking__figure {
  width: min(58vw, 240px);
  aspect-ratio: 1 / 2;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  clip-path: var(--home-clip);
  transform: rotate(2deg);
}

.page-home .home-ranking__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.page-home .home-ranking__content {
  width: 100%;
}

.page-home .home-ranking__content > p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 40rem;
}

.page-home .home-ranking__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.page-home .home-ranking__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--color-line);
  transition: background 0.25s;
}

.page-home .home-ranking__list li:hover {
  background: rgba(0, 255, 135, 0.05);
}

.page-home .home-ranking__pos {
  font-family: var(--font-number);
  font-weight: 700;
  color: var(--color-neon);
}

.page-home .home-ranking__team {
  font-weight: 600;
  color: var(--color-text);
}

.page-home .home-ranking__pts {
  font-family: var(--font-number);
  color: var(--color-silver);
}

.page-home .home-ranking__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.page-home .home-lineup {
  position: relative;
  padding: 3rem 0;
  background: var(--color-surface);
  overflow: hidden;
}

.page-home .home-lineup::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4%;
  width: 24%;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 135, 0.06), transparent);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-home .home-lineup__layout {
  display: grid;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.page-home .home-lineup__content > p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 40rem;
}

.page-home .lineup-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--color-deep-space);
  border: 1px solid var(--color-line);
  clip-path: var(--home-clip);
  margin-bottom: 1.5rem;
}

.page-home .lineup-switch__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.page-home .lineup-switch__track {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--color-neon);
  border-radius: 2px;
  transition: background 0.3s;
}

.page-home .lineup-switch__knob {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  background: var(--color-deep-space);
  border-radius: 2px;
}

.page-home .lineup-switch__state {
  font-family: var(--font-number);
  font-size: 0.82rem;
  color: var(--color-neon);
}

.page-home .home-lineup__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .home-lineup__features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.page-home .home-lineup__feature-num {
  font-family: var(--font-number);
  font-size: 0.8rem;
  color: var(--color-orange);
  background: rgba(255, 106, 0, 0.12);
  padding: 0.2rem 0.45rem;
  clip-path: var(--home-clip);
}

.page-home .home-lineup__figure {
  overflow: hidden;
  clip-path: var(--home-clip-lg);
  background: var(--color-deep-space);
  height: 220px;
}

.page-home .home-lineup__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.page-home .home-archive {
  padding: 3rem 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 0, 0.08), transparent 42%),
    var(--color-deep-space);
}

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

.page-home .home-archive__panel {
  position: relative;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  clip-path: var(--home-clip-lg);
  background-image: var(--home-grid);
  background-size: var(--home-grid-size);
}

.page-home .home-archive__panel p {
  margin: 0 0 1.4rem;
  color: var(--color-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

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

.page-home .home-archive__status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.page-home .archive-status-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 0.9rem;
  background: var(--color-surface);
  border-top: 3px solid var(--color-orange);
  border-bottom: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
}

.page-home .archive-status-card__label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.page-home .archive-status-card__value {
  font-family: var(--font-number);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
}

.page-home .home-ticker {
  position: relative;
  padding: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-neon);
  overflow: hidden;
}

.page-home .home-ticker__viewport {
  overflow: hidden;
}

.page-home .home-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.5rem;
  padding: 0.9rem 1rem;
  animation: home-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.page-home .home-ticker:hover .home-ticker__track {
  animation-play-state: paused;
}

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

.page-home .home-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-silver);
  white-space: nowrap;
}

.page-home .home-ticker__item strong {
  color: var(--color-neon);
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-home .home-directory__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-directory__index {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .page-home .home-directory__figure {
    height: 380px;
    margin-top: 2.5rem;
  }

  .page-home .home-schedule {
    padding-top: 3.5rem;
  }

  .page-home .home-schedule__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    align-items: start;
  }

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

  .page-home .home-schedule__figure {
    height: 280px;
  }

  .page-home .home-ranking__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .page-home .home-ranking__figure {
    width: 220px;
    flex: 0 0 220px;
    transform: rotate(1.5deg);
  }

  .page-home .home-ranking__content {
    flex: 1;
  }

  .page-home .home-lineup__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }

  .page-home .home-lineup__figure {
    height: 320px;
  }

  .page-home .home-archive__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }

  .page-home .home-archive__panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .page-home .home-directory__grid {
    gap: 3rem;
  }

  .page-home .home-directory__figure {
    height: 480px;
  }

  .page-home .dir-card {
    padding: 1.25rem 1.4rem;
  }

  .page-home .dir-card__num {
    font-size: 1.7rem;
  }

  .page-home .dir-card__name {
    font-size: 1.15rem;
  }

  .page-home .home-schedule__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr);
  }

  .page-home .home-schedule__trust {
    grid-column: auto;
  }

  .page-home .home-schedule__figure {
    height: 360px;
  }

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

  .page-home .home-ranking__figure {
    width: 240px;
    flex-basis: 240px;
  }

  .page-home .home-ranking__list li {
    padding: 1rem 1.1rem;
  }

  .page-home .home-lineup__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 3rem;
  }

  .page-home .home-lineup__figure {
    height: 400px;
  }

  .page-home .home-archive__layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 2.5rem;
  }

  .page-home .home-archive__panel {
    padding: 2rem;
  }

  .page-home .archive-status-card {
    padding: 1.4rem 1.1rem;
  }

  .page-home .home-ticker__item {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .video-chip__play,
  .page-home .schedule-progress__live::before,
  .page-home .schedule-progress__fill::after,
  .page-home .home-ticker__track {
    animation: none;
  }

  .page-home .home-ticker__track {
    animation-play-state: paused;
  }

  .page-home .dir-card,
  .page-home .home-btn,
  .page-home .video-chip {
    transition: none;
  }
}

.page-home .container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}
