.page-home {
  --home-pad: 24px;
  background: var(--c-warm-white);
}

.page-home .container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

.page-home .section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 18px;
}

.page-home .section-head__idx {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-violet);
  letter-spacing: 0.08em;
}

.page-home .section-head__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.page-home .section-head__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(45, 45, 45, 0.72);
  margin-left: auto;
  white-space: nowrap;
}

.page-home .section-band--amber .section-head__meta,
.page-home .section-band--peacock .section-head__meta {
  color: rgba(45, 45, 45, 0.78);
}

.page-home .section-band--charcoal .section-head__meta {
  color: rgba(255, 248, 240, 0.6);
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.page-home .breadcrumb__item {
  color: var(--c-ink);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.18s ease;
}

.page-home .breadcrumb__item[aria-current="page"] {
  opacity: 1;
  font-weight: 700;
  color: var(--c-violet);
}

.page-home .breadcrumb__item:hover,
.page-home .breadcrumb__item:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--c-neon);
  text-underline-offset: 3px;
}

.page-home .breadcrumb__sep {
  color: var(--c-peacock);
  opacity: 0.6;
}

.page-home .home-hero {
  background: var(--c-warm-white);
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}

.page-home .home-hero__strip {
  height: 6px;
  background: linear-gradient(90deg,
    var(--c-peacock) 0 16.66%,
    var(--c-amber) 16.66% 33.33%,
    var(--c-coral) 33.33% 50%,
    var(--c-teal) 50% 66.66%,
    var(--c-violet) 66.66% 83.33%,
    var(--c-neon) 83.33% 100%);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-block: 28px 20px;
}

.page-home .home-hero__aside {
  display: flex;
  gap: 18px;
  font-size: 0.72rem;
  color: var(--c-ink);
  opacity: 0.6;
  flex-wrap: wrap;
}

.page-home .home-hero__main h1 {
  font-family: var(--font-headline);
  font-size: clamp(2.1rem, 7vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: var(--c-ink);
  text-wrap: balance;
}

.page-home .home-hero__ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-ink);
  margin: 0 0 16px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-hero__actions .btn {
  font-family: var(--font-body);
  font-weight: 600;
}

@media (min-width: 48em) {
  .page-home .home-hero__grid {
    grid-template-columns: 150px 1fr 150px;
    align-items: end;
    gap: 24px;
    padding-block: 36px 28px;
  }

  .page-home .home-hero__aside {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
  }

  .page-home .home-hero__aside--right {
    align-items: flex-end;
  }
}

.page-home .channel-section {
  padding-block: 28px 36px;
}

.page-home .channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-warm-white);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .channel-card:hover,
.page-home .channel-card:focus-within {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-home .channel-card--coral {
  background: var(--c-coral);
  color: #fff;
}

.page-home .channel-card--violet {
  background: var(--c-violet);
  color: #fff;
}

.page-home .channel-card--teal {
  background: var(--c-teal);
  color: #fff;
}

.page-home .channel-card--amber {
  background: var(--c-amber);
  color: var(--c-ink);
}

.page-home .channel-card--peacock {
  background: var(--c-peacock);
  color: var(--c-ink);
}

.page-home .channel-card__preview {
  position: relative;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(30, 30, 30, 0.12));
}

.page-home .channel-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.page-home .channel-card__badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.page-home .channel-card__preview .grad-label {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
}

.page-home .channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  flex: 1;
}

.page-home .channel-card__name {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.02em;
}

.page-home .channel-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.page-home .channel-card__meta .status-badge {
  font-size: 0.72rem;
}

.page-home .channel-card--amber .channel-card__name,
.page-home .channel-card--peacock .channel-card__name {
  color: var(--c-ink);
}

.page-home .channel-card--coral .status-badge,
.page-home .channel-card--violet .status-badge,
.page-home .channel-card--teal .status-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (min-width: 36em) {
  .page-home .channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 64em) {
  .page-home .channel-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-home .channel-card:nth-child(3n+2) {
    transform: translateY(14px);
  }

  .page-home .channel-card:nth-child(3n+2):hover,
  .page-home .channel-card:nth-child(3n+2):focus-within {
    transform: translateY(12px);
  }
}

.page-home .schedule-section {
  padding-block: 30px 34px;
}

.page-home .schedule-scroll {
  margin-inline: -16px;
  padding-inline: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-peacock) rgba(30, 30, 30, 0.08);
}

.page-home .schedule-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 84vw);
  gap: 12px;
  min-width: 100%;
  padding-top: 28px;
  position: relative;
}

.page-home .schedule-track::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-success), var(--c-buffer), var(--c-error), var(--c-violet));
}

.page-home .schedule-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--c-warm-white);
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.page-home .schedule-item:hover,
.page-home .schedule-item:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.page-home .schedule-item::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-neon);
  border: 2px solid rgba(30, 30, 30, 0.16);
}

.page-home .schedule-item__time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--c-peacock);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.page-home .schedule-item__channel {
  font-size: 0.72rem;
  color: rgba(45, 45, 45, 0.66);
  font-family: var(--font-mono);
}

.page-home .schedule-item__name {
  font-size: 0.98rem;
  color: var(--c-ink);
  margin: 4px 0 6px;
  line-height: 1.3;
}

.page-home .schedule-item .status-badge {
  align-self: flex-start;
  font-size: 0.7rem;
}

@media (min-width: 48em) {
  .page-home .schedule-scroll {
    margin-inline: 0;
    padding-inline: 0;
  }

  .page-home .schedule-track {
    grid-auto-columns: minmax(240px, 1fr);
  }
}

.page-home .replay-section {
  padding-block: 30px 36px;
}

.page-home .replay-list {
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.page-home .replay-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
  transition: background 0.14s ease;
}

.page-home .replay-row:hover {
  background: rgba(0, 165, 207, 0.04);
}

.page-home .replay-row__batch {
  font-size: 0.76rem;
  color: var(--c-violet);
  font-weight: 700;
}

.page-home .replay-row__name {
  font-size: 0.95rem;
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1.3;
}

.page-home .replay-row__time {
  font-size: 0.78rem;
  color: rgba(45, 45, 45, 0.62);
}

.page-home .replay-row__duration {
  font-size: 0.78rem;
  color: rgba(45, 45, 45, 0.62);
}

.page-home .replay-row__track {
  font-size: 0.78rem;
  color: var(--c-peacock);
}

.page-home .replay-row__tag {
  justify-self: start;
  font-size: 0.74rem;
}

.page-home .replay-section__foot {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

@media (min-width: 48em) {
  .page-home .replay-row {
    grid-template-columns: 76px 1fr 72px 80px 62px 96px;
    align-items: center;
    padding: 10px 8px;
  }

  .page-home .replay-row__tag {
    justify-self: start;
  }
}

.page-home .tile-section {
  padding-block: 30px 38px;
}

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

.page-home .home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 128px;
  padding: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}

.page-home .home-tile:hover,
.page-home .home-tile:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-home .home-tile:hover .home-tile__icon,
.page-home .home-tile:focus-visible .home-tile__icon {
  transform: scale(1.06);
}

.page-home .home-tile--coral {
  background: var(--c-coral);
  color: #fff;
}

.page-home .home-tile .tile--coral,
.page-home .home-tile.tile--coral {
  background: var(--c-coral);
  color: #fff;
}

.page-home .home-tile.tile--amber {
  color: var(--c-ink);
}

.page-home .home-tile.tile--peacock {
  color: var(--c-ink);
}

.page-home .home-tile__icon {
  width: 34px;
  height: 34px;
  margin-bottom: auto;
  transition: transform 0.18s ease;
}

.page-home .home-tile__name {
  font-family: var(--font-headline);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.page-home .home-tile__meta {
  font-size: 0.7rem;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

@media (min-width: 36em) {
  .page-home .home-tile-matrix {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 64em) {
  .page-home .home-tile-matrix {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .page-home .home-tile {
    min-height: 136px;
  }
}

.page-home .rank-section {
  padding-block: 30px 36px;
}

.page-home .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(45, 45, 45, 0.08);
}

.page-home .rank-row {
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 11px 6px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
  transition: background 0.14s ease;
}

.page-home .rank-row:hover {
  background: rgba(255, 193, 7, 0.06);
}

.page-home .rank-row__num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-violet);
  text-align: center;
}

.page-home .rank-row:nth-child(-n+3) .rank-row__num {
  color: var(--c-coral);
}

.page-home .rank-row__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .rank-row__name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .rank-row__value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-ink);
  text-align: right;
}

.page-home .rank-row .metric-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(45, 45, 45, 0.07);
  overflow: hidden;
}

.page-home .rank-row .metric-bar__fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-teal));
  min-width: 2%;
}

.page-home .rank-row .metric-bar--coral .metric-bar__fill {
  background: linear-gradient(90deg, var(--c-neon), var(--c-teal));
}

.page-home .update-section {
  padding-block: 30px 40px;
}

.page-home .update-section .section-head__title {
  color: var(--c-warm-white);
}

.page-home .update-section .section-head__idx {
  color: var(--c-neon);
}

.page-home .update-image {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  margin: 0 auto 26px;
  background: rgba(255, 255, 255, 0.04);
}

.page-home .update-timeline {
  position: relative;
  padding-left: 26px;
}

.page-home .update-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--c-neon), var(--c-peacock), var(--c-amber));
}

.page-home .update-batch {
  position: relative;
  margin-bottom: 22px;
}

.page-home .update-batch::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.14);
}

.page-home .update-batch--version::before {
  background: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.18);
}

.page-home .update-batch__marker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--c-charcoal);
  background: var(--c-neon);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.page-home .update-batch--version .update-batch__marker {
  background: var(--c-amber);
  color: var(--c-ink);
}

.page-home .update-batch__body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.page-home .update-batch__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.page-home .update-batch__head h3 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--c-warm-white);
  margin: 0;
}

.page-home .update-batch__meta {
  font-size: 0.74rem;
  color: rgba(255, 248, 240, 0.64);
}

.page-home .update-batch__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .update-batch__items li {
  font-size: 0.88rem;
  color: rgba(255, 248, 240, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .update-batch__items li::before {
  content: "▹";
  color: var(--c-neon);
  font-size: 0.76rem;
}

.page-home .update-batch__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px dashed rgba(57, 255, 20, 0.5);
}

.page-home .update-batch__link:hover,
.page-home .update-batch__link:focus-visible {
  color: var(--c-amber);
  border-bottom-color: var(--c-amber);
}

@media (min-width: 48em) {
  .page-home .update-timeline {
    max-width: 720px;
    margin-inline: auto;
  }

  .page-home .update-batch__body {
    padding: 18px 20px;
  }
}

.page-home .home-closing {
  padding-block: 30px 38px;
}

.page-home .home-closing__visual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0, 165, 207, 0.12), rgba(255, 193, 7, 0.14));
  margin-bottom: 24px;
}

.page-home .home-closing__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-home .home-closing__links .btn {
  min-width: 150px;
  justify-content: center;
}

@media (max-width: 31em) {
  .page-home .home-tile-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-home .home-tile__name {
    font-size: 1rem;
  }
}
