.page-home .breadcrumb {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 20px 0;
}
.page-home .breadcrumb__current {
  color: var(--text-secondary);
}

.page-home .home-toc {
  padding: 32px 0 72px;
}
.page-home .home-toc .section__head {
  margin-bottom: 32px;
}
.page-home .home-toc .section__title {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.page-home .home-toc .section__lead {
  margin-top: 12px;
  max-width: 30em;
}

.page-home .toc-grid {
  display: grid;
  gap: 16px;
}
.page-home .toc-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-home .toc-item--feature {
  background: linear-gradient(135deg, var(--primary-bg), var(--indigo));
  border-color: transparent;
  color: #fff;
  min-height: 240px;
}
.page-home .toc-item--feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(11, 27, 61, .28);
}
.page-home .toc-item__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-orange);
  letter-spacing: .08em;
}
.page-home .toc-item__name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
}
.page-home .toc-item__intro {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.page-home .toc-item--feature .toc-item__intro {
  color: rgba(255, 255, 255, .72);
}
.page-home .toc-item__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.page-home .toc-item--feature .toc-item__meta {
  color: var(--accent-green);
}
.page-home .toc-item__trust {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.page-home .toc-item__cta {
  margin-top: 12px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-orange);
}

@media (min-width: 900px) {
  .page-home .toc-grid {
    grid-template-columns: 1.15fr 1fr;
    grid-auto-rows: 1fr;
  }
  .page-home .toc-item--feature {
    grid-row: span 2;
  }
}

.page-home .home-live {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 20%, var(--indigo) 0%, transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(0, 255, 163, .10) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-bg) 0%, var(--indigo) 100%);
}
.page-home .home-live::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .25) 1px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: .35;
  animation: home-dot-drift 60s linear infinite;
  pointer-events: none;
}
@keyframes home-dot-drift {
  from { background-position: 0 0; }
  to { background-position: 640px 640px; }
}
.page-home .home-live .container {
  position: relative;
  z-index: 1;
}
.page-home .home-live__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.page-home .home-live__head .section__index {
  padding-top: 4px;
}
.page-home .home-live .section__title {
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-home .home-live__lead {
  max-width: 46em;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 32px;
}

.page-home .home-live__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-home .home-live__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.page-home .home-live__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-home .home-live__refresh {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
}
.page-home .refresh-ring {
  position: relative;
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
}
.page-home .refresh-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.page-home .refresh-ring__svg {
  transform-origin: center;
  animation: home-ring-spin 30s linear infinite;
}
@keyframes home-ring-spin {
  to { transform: rotate(360deg); }
}
.page-home .refresh-ring__track {
  stroke: rgba(255, 255, 255, .10);
  stroke-width: 3;
}
.page-home .refresh-ring__dots {
  stroke: var(--accent-green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 24;
  fill: none;
}
.page-home .refresh-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.page-home .refresh-ring__value span {
  font-size: 13px;
  color: var(--accent-green);
  margin-left: 2px;
}
.page-home .home-live__refresh-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-home .home-live__refresh-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.page-home .home-live__refresh-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-green);
}
.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(0, 255, 163, .45);
  animation: home-pulse 1.6s ease-out infinite;
}
@keyframes home-pulse {
  70% { box-shadow: 0 0 0 12px rgba(0, 255, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 163, 0); }
}
.page-home .home-live__refresh-sub {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}
.page-home .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}
.page-home .stat-grid__item {
  background: rgba(11, 27, 61, .72);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .stat-grid__label {
  font-size: 12px;
  color: rgba(255, 255, 255, .52);
}
.page-home .stat-grid__value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-green);
  margin: 0;
}
.page-home .stat-grid__value em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  margin-left: 2px;
}
.page-home .home-live__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.page-home .home-live__img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .home-live__foot {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.page-home .home-live__version {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-mono);
}

.page-home .home-functions {
  padding: 72px 0;
}
.page-home .home-functions__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.page-home .filter-bar {
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 900px) {
  .page-home .home-functions__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.page-home .functions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .page-home .functions-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1020px) {
  .page-home .functions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .function-card--span2 {
    grid-column: span 2;
  }
}
.page-home .function-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-home .function-card > * {
  position: relative;
}
.page-home .function-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(11, 27, 61, .10);
}
.page-home .function-card--dark {
  background: linear-gradient(135deg, var(--primary-bg), var(--indigo));
  border-color: transparent;
  color: #fff;
}
.page-home .function-card--dark:hover,
.page-home .function-card--indigo:hover,
.page-home .function-card--wine:hover {
  box-shadow: 0 18px 50px rgba(11, 27, 61, .35);
}
.page-home .function-card--indigo {
  background: var(--indigo);
  border-color: transparent;
  color: #fff;
}
.page-home .function-card--indigo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .18) 1px, transparent 1.4px);
  background-size: 20px 20px;
  opacity: .35;
  pointer-events: none;
}
.page-home .function-card--wine {
  background: var(--wine);
  border-color: transparent;
  color: #fff;
}
.page-home .function-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.page-home .function-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.page-home .function-card--dark .function-card__desc,
.page-home .function-card--indigo .function-card__desc,
.page-home .function-card--wine .function-card__desc {
  color: rgba(255, 255, 255, .72);
}
.page-home .function-card__link {
  margin-top: auto;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-orange);
}
.page-home .function-card--dark .function-card__link,
.page-home .function-card--indigo .function-card__link,
.page-home .function-card--wine .function-card__link {
  color: var(--accent-green);
}
.page-home .mini-chart {
  width: 100%;
  height: auto;
  max-height: 96px;
  margin-top: 6px;
}
.page-home .mini-chart__line {
  stroke: var(--accent-green);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.page-home .mini-chart__area {
  fill: rgba(0, 255, 163, .16);
}
.page-home .function-card__media {
  width: 100%;
  margin-top: 4px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: rgba(255, 255, 255, .08);
}
.page-home .function-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-timeline .section__head {
  margin-bottom: 40px;
}
.page-home .timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .page-home .timeline-grid {
    grid-template-columns: 1.05fr 0.85fr;
    align-items: start;
  }
}
.page-home .timeline-list {
  position: relative;
  padding-left: 28px;
}
.page-home .timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-green), var(--accent-orange));
  border-radius: 2px;
  opacity: .35;
}
.page-home .match-card {
  position: relative;
}
.page-home .match-card::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 5px rgba(0, 255, 163, .18);
  z-index: 1;
}
.page-home .match-card + .match-card {
  margin-top: 14px;
}
.page-home .match-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  list-style: none;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.page-home .match-card__head::-webkit-details-marker {
  display: none;
}
.page-home .match-card__head:hover,
.page-home .match-card[open] .match-card__head {
  border-color: rgba(0, 255, 163, .6);
  box-shadow: 0 10px 30px rgba(11, 27, 61, .06);
}
.page-home .match-card__round {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: .06em;
}
.page-home .match-card__teams {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
}
.page-home .match-card__teams b {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--indigo);
  background: var(--light-bg);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  margin: 0 4px;
}
.page-home .match-card__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.page-home .hint--close {
  display: none;
}
.page-home .match-card[open] .hint--open {
  display: none;
}
.page-home .match-card[open] .hint--close {
  display: inline;
}
.page-home .match-card[open] .match-card__head {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.page-home .match-card__body {
  padding: 14px 20px 20px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: #fff;
}
.page-home .match-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .match-stats li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--light-bg);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.page-home .match-stats b {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 14px;
}
.page-home .timeline-media {
  position: sticky;
  top: 110px;
}
.page-home .timeline-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(11, 27, 61, .16);
}
.page-home .timeline-media__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: #fff;
  border-left: 3px solid var(--accent-green);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-home .home-offline {
  color: #fff;
}
.page-home .home-offline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-home .home-offline__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.page-home .home-offline .section__title {
  font-size: clamp(26px, 4vw, 42px);
  color: #fff;
  margin-top: 8px;
}
.page-home .home-offline__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  max-width: 30em;
  margin: 12px 0 0;
}
.page-home .home-offline__list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .home-offline__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}
.page-home .home-offline__trust {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .16);
  border-left: 3px solid var(--accent-green);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.page-home .btn--download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 14px;
  line-height: 1;
}
.page-home .home-offline__media {
  position: relative;
}
.page-home .home-offline__media::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 163, .28) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.page-home .home-offline__media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
