.page-home {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-gray) 340px);
  color: var(--c-ink);
  overflow-x: hidden;
}
.page-home .home-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gut);
  padding-block: var(--gut);
}
.page-home .home-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--c-space);
  color: #D8E2F2;
  border: var(--border-w) solid #15233D;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.page-home .home-rail::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-red) 100%);
}
.page-home .rail-section {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-home .rail-section:last-child {
  border-bottom: 0;
}
.page-home .rail-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.55rem;
}
.page-home .rail-title {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  font-weight: 800;
}
.page-home .rail-note {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #AFC0DB;
  margin: 0 0 1rem;
}
.page-home .index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.page-home .index-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #C8D6EC;
  text-decoration: none;
  font-size: 0.94rem;
  transition: var(--transition);
}
.page-home .index-link:hover,
.page-home .index-link:focus {
  border-color: rgba(245, 179, 1, 0.5);
  background: rgba(245, 179, 1, 0.08);
  color: #ffffff;
  transform: translateX(4px);
}
.page-home .index-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-gold);
  font-size: 0.85rem;
}
.page-home .index-text {
  font-weight: 600;
}
.page-home .team-spotlight {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--c-navy);
  border: 1px solid rgba(245, 179, 1, 0.45);
  position: relative;
}
.page-home .team-spotlight__media {
  width: 100%;
  max-width: 180px;
  margin-bottom: 0.75rem;
}
.page-home .team-spotlight__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--c-gold);
}
.page-home .team-spotlight__rank {
  font-family: var(--font-mono);
  color: var(--c-gold);
  font-size: 0.8rem;
}
.page-home .team-spotlight__name {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0.2rem 0 0.5rem;
}
.page-home .team-spotlight p {
  font-size: 0.88rem;
  color: #B7C7E2;
  line-height: 1.7;
}
.page-home .team-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-home .team-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.page-home .team-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}
.page-home .team-list li span {
  font-family: var(--font-mono);
  color: var(--c-gold);
}
.page-home .team-list li strong {
  color: #ffffff;
}
.page-home .team-list li em {
  margin-left: auto;
  font-style: normal;
  color: #8FA5C8;
  font-size: 0.8rem;
}
.page-home .rail-login {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-space) 100%);
  border-top: 2px solid var(--c-red);
}
.page-home .rail-login .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.8rem;
}
.page-home .rail-login__note {
  font-size: 0.8rem;
  color: #9DB1D0;
  margin-top: 0.7rem;
  line-height: 1.6;
}
.page-home .rail-mini-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.page-home .rail-mini-links a {
  color: #C8D6EC;
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 179, 1, 0.5);
  transition: var(--transition);
}
.page-home .rail-mini-links a:hover {
  color: var(--c-gold);
}
.page-home .home-stage {
  min-width: 0;
}
.page-home .home-stage .breadcrumb {
  margin-bottom: 1rem;
}
.page-home .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-space) 100%);
  color: #ffffff;
  overflow: hidden;
  border: var(--border-w) solid var(--c-space);
  box-shadow: var(--shadow-lg);
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-red));
  z-index: 3;
}
.page-home .home-hero__copy {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
}
.page-home .home-hero__title {
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
  font-weight: 800;
}
.page-home .home-hero__lead {
  color: #C6D4EA;
  max-width: 56ch;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.page-home .hero-updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #9FB2D0;
}
.page-home .home-hero__media {
  position: relative;
  min-height: 260px;
}
.page-home .home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .hero-stamp {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: var(--c-gold);
  color: var(--c-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
}
.page-home .hero-trail {
  position: absolute;
  right: 1.25rem;
  bottom: 4.5rem;
  width: min(240px, 40%);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.page-home .home-hero__copy > *:not(.hero-trail) {
  position: relative;
}
.page-home .updates-panel {
  background: var(--c-gray);
  padding: 1.75rem 1.25rem;
  border: var(--border-w) solid var(--c-navy);
  box-shadow: 6px 6px 0 rgba(27, 58, 107, 0.18);
  margin-top: var(--gut);
}
.page-home .section-head {
  margin-bottom: 1.5rem;
}
.page-home .update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.page-home .update-tile {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: var(--border-w) solid var(--c-ink);
  box-shadow: 6px 6px 0 var(--c-navy);
}
.page-home .update-tile--dark {
  background: var(--c-navy);
  color: #ffffff;
  border-color: var(--c-space);
  box-shadow: 6px 6px 0 var(--c-gold);
}
.page-home .update-tile--gold {
  background: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-ink);
  box-shadow: 6px 6px 0 var(--c-red);
}
.page-home .update-tile__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-slate);
}
.page-home .update-tile--dark .update-tile__label {
  color: #AFC3E0;
}
.page-home .update-tile--gold .update-tile__label {
  color: #5A4313;
}
.page-home .update-tile__num {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.page-home .update-tile__num small {
  font-size: 0.38em;
  font-weight: 600;
  margin-left: 0.15em;
}
.page-home .update-tile--dark .update-tile__num {
  color: #ffffff;
}
.page-home .update-tile--gold .update-tile__num {
  color: var(--c-ink);
}
.page-home .update-tile__note {
  font-size: 0.85rem;
  color: var(--c-slate);
  line-height: 1.6;
}
.page-home .update-tile--dark .update-tile__note {
  color: #B7C7E2;
}
.page-home .update-tile--gold .update-tile__note {
  color: #5A4313;
}
.page-home .feed-wrap {
  margin-top: 2rem;
  background: var(--c-white);
  border: 1px solid #DDE4ED;
  padding: 1.5rem;
}
.page-home .feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.page-home .live-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.page-home .live-feed__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed #E2E7EF;
  font-size: 0.93rem;
  line-height: 1.75;
}
.page-home .live-feed__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.page-home .live-feed__item strong {
  min-width: 5.2em;
  color: var(--c-navy);
}
.page-home .live-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.7em;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.15);
  flex: 0 0 auto;
}
.page-home .v3-panel {
  display: grid;
  gap: 2rem;
  margin-top: var(--gut);
  padding: 1.75rem 1.25rem;
  background: var(--c-space);
  color: #D8E2F2;
  border: var(--border-w) solid var(--c-gold);
  box-shadow: 8px 8px 0 var(--c-navy);
}
.page-home .v3-panel .section-title {
  color: #ffffff;
}
.page-home .v3-panel .section-subtitle {
  color: #B7C7E2;
}
.page-home .feature-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.page-home .feature-list li {
  padding-left: 1.9rem;
  position: relative;
  list-style: none;
  line-height: 1.7;
}
.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--c-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.page-home .v3-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--c-gold);
  box-shadow: 12px 12px 0 rgba(245, 179, 1, 0.12);
}
.page-home .version-timeline {
  display: grid;
  gap: 0.75rem;
}
.page-home .timeline-step {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--c-gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #C6D4EA;
  line-height: 1.7;
}
.page-home .timeline-step span {
  color: var(--c-gold);
  font-weight: 700;
  margin-right: 0.5rem;
}
.page-home .timeline-step em {
  font-style: normal;
  color: #ffffff;
  font-weight: 600;
  margin-right: 0.4rem;
}
.page-home .schedule-panel {
  margin-top: var(--gut);
  padding: 1.75rem 1.25rem;
  background: var(--c-white);
  border: var(--border-w) solid var(--c-ink);
  box-shadow: 8px 8px 0 #E3E8F1;
}
.page-home .schedule-table {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.page-home .schedule-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 0.9fr;
  gap: 0.4rem;
  align-items: center;
  padding: 0.9rem 0.6rem;
  background: var(--c-gray);
  border: 1px solid #E0E6EE;
  font-size: 0.82rem;
  transition: var(--transition);
}
.page-home .schedule-row--head {
  background: var(--c-navy);
  color: #ffffff;
  border-color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-home .schedule-row:hover {
  background: #FFF7E0;
  border-color: var(--c-gold);
  transform: translateX(6px);
}
.page-home .schedule-row strong {
  color: var(--c-ink);
}
.page-home .match-state {
  color: var(--c-slate);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.page-home .hover-reveal {
  display: none;
  color: var(--c-red);
}
.page-home .schedule-row:hover .hover-reveal {
  display: inline;
}
.page-home .schedule-actions {
  margin-top: 1.5rem;
  display: flex;
}
.page-home .stats-panel {
  margin-top: var(--gut);
  padding: 1.75rem 1.25rem;
  background: var(--c-gray);
  border: var(--border-w) solid var(--c-navy);
  border-top-color: var(--c-red);
  box-shadow: 8px 8px 0 #DEE3EA;
}
.page-home .stats-grid {
  display: grid;
  gap: 1.5rem;
}
.page-home .stats-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-navy);
}
.page-home .stats-timeline {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.page-home .stats-node {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 0.8fr;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
  background: var(--c-white);
  border: 1px solid #D9E0EA;
  box-shadow: 4px 4px 0 rgba(225, 230, 240, 0.8);
}
.page-home .node-time {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.85rem;
}
.page-home .node-label {
  font-size: 0.88rem;
  color: var(--c-ink);
  line-height: 1.5;
}
.page-home .node-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
}
.page-home .node-status--done {
  color: var(--c-green);
  background: rgba(33, 181, 115, 0.1);
  border: 1px solid var(--c-green);
}
.page-home .node-status--go {
  color: var(--c-red);
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid var(--c-red);
}
.page-home .stats-note {
  font-size: 0.82rem;
  color: var(--c-slate);
  line-height: 1.7;
  margin: 1rem 0 0;
}
.page-home .stats-note a {
  color: var(--c-navy);
  font-weight: 600;
  text-decoration: underline;
}
@media (min-width: 640px) {
  .page-home .update-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .version-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .schedule-row {
    font-size: 0.88rem;
  }
}
@media (min-width: 900px) {
  .page-home .home-shell {
    grid-template-columns: minmax(274px, 27%) 1fr;
    align-items: start;
  }
  .page-home .home-rail {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow: auto;
  }
  .page-home .home-hero {
    grid-template-columns: 55% 45%;
    min-height: 440px;
  }
  .page-home .home-hero__copy {
    padding: 3.5rem var(--gut);
    clip-path: polygon(0 0, 100% 0, calc(100% - 2rem) 100%, 0 100%);
  }
  .page-home .home-hero__media {
    min-height: 0;
  }
  .page-home .updates-panel,
  .page-home .v3-panel,
  .page-home .schedule-panel,
  .page-home .stats-panel {
    padding: 2.5rem var(--gut);
  }
  .page-home .v3-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--gut);
  }
  .page-home .version-timeline {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .stats-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
  .page-home .schedule-row {
    grid-template-columns: 1.1fr 0.9fr 1fr 0.9fr;
    font-size: 0.9rem;
  }
}
