.page-home {
  --home-sidebar-w: 220px;
  --home-deck-cut: 18px;
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 8vw, 120px);
  background: var(--c-bg-deep);
  color: var(--c-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .home-layout {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .page-home .home-layout {
    grid-template-columns: var(--home-sidebar-w) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .home-sidenav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}

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

.page-home .home-sidenav .home-sidenav__context {
  display: none;
}

.page-home .home-sidenav__nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.page-home .home-sidenav__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-mist);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-sidenav__link.is-current {
  color: var(--c-accent);
  border-color: currentColor;
  background: rgba(0, 212, 255, 0.08);
}

.page-home .home-sidenav__foot {
  display: none;
}

@media (min-width: 1024px) {
  .page-home .home-sidenav {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    gap: 20px;
    padding-bottom: 0;
  }

  .page-home .home-sidenav__context {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-mist);
  }

  .page-home .home-sidenav__nav {
    flex-direction: column;
    gap: 4px;
  }

  .page-home .home-sidenav__link {
    border: none;
    border-left: 2px solid var(--c-line);
    border-radius: 0;
    padding: 10px 14px;
    font-size: 14px;
  }

  .page-home .home-sidenav__link.is-current {
    background: rgba(0, 212, 255, 0.08);
  }

  .page-home .home-sidenav__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .page-home .home-sidenav__foot-link {
    color: var(--c-mist);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .page-home .home-sidenav__foot-link:hover {
    color: var(--c-accent);
  }
}

.page-home .section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .section-hd h2 {
  margin: 6px 0 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.page-home .region-deck,
.page-home .match-progress,
.page-home .data-dashboard,
.page-home .patch-report,
.page-home .membership,
.page-home .latest-articles {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-home #region-deck:target,
.page-home #match-progress:target,
.page-home #data-dashboard:target,
.page-home #patch-report:target,
.page-home #membership:target,
.page-home #latest-articles:target {
  outline: 1px solid rgba(0, 212, 255, 0.35);
  outline-offset: 6px;
}

.page-home .region-deck {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 56px);
}

.page-home .region-deck::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -90px;
  width: 60%;
  height: 90%;
  background: linear-gradient(120deg, transparent, rgba(0, 212, 255, 0.10) 55%, rgba(255, 106, 0, 0.09));
  transform: rotate(-7deg);
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
  pointer-events: none;
}

.page-home .region-deck::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--line-grad);
  opacity: 0.9;
}

.page-home .region-deck__media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  max-width: 380px;
  opacity: 0.14;
  clip-path: polygon(14% 0, 100% 0, 100% 86%, 0 100%);
  pointer-events: none;
}

.page-home .region-deck__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .region-deck__content {
  position: relative;
  z-index: 1;
}

.page-home .region-deck__lead {
  max-width: 640px;
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-mist);
}

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

.page-home .region-tabs__btn {
  appearance: none;
  border: 1px solid var(--c-line);
  background: var(--c-bg-deep);
  color: var(--c-mist);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .region-tabs__btn:hover {
  color: var(--c-white);
  border-color: var(--c-accent);
}

.page-home .region-tabs__btn.is-active {
  color: var(--c-bg-deep);
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-glow);
}

.page-home .region-deck__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .match-progress__grid {
  display: grid;
  gap: 24px;
}

.page-home .match-progress__cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg-card);
}

.page-home .match-progress__cover img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-home .match-progress__caption {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-mist);
  border-top: 1px solid var(--c-line);
}

.page-home .match-list__hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--c-mist);
}

.page-home .match-list__items {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg-card);
  overflow: hidden;
}

.page-home .match-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto minmax(0, 1fr) 72px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  transition: background 0.2s ease;
}

.page-home .match-row:last-child {
  border-bottom: 0;
}

.page-home .match-row:hover {
  background: rgba(0, 212, 255, 0.05);
}

.page-home .match-row__region {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  text-transform: uppercase;
}

.page-home .match-row__team {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .match-row__team:nth-of-type(3) {
  text-align: right;
}

.page-home .match-row__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  min-width: 44px;
}

.page-home .match-row__colon {
  color: var(--c-line);
}

.page-home .match-row__num {
  min-width: 12px;
  text-align: center;
}

.page-home .match-row__status {
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
  color: var(--c-mist);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.page-home .match-row__status--live {
  color: var(--c-success);
}

.page-home .match-row__status--done {
  color: var(--c-mist);
}

.page-home .match-row__status--soon {
  color: var(--c-line);
}

.page-home .match-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  animation: page-home-pulse 1.6s ease-out infinite;
}

@keyframes page-home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 255, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0);
  }
}

@media (min-width: 900px) {
  .page-home .match-progress__grid {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .match-progress__cover img {
    height: 100%;
    min-height: 320px;
  }
}

@media (min-width: 1200px) {
  .page-home .match-progress__grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

.page-home .data-dashboard {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
}

.page-home .data-dashboard__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  opacity: 0.09;
  pointer-events: none;
}

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

.page-home .data-dashboard__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .page-home .data-dashboard__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .page-home .data-dashboard__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .data-card {
  background: var(--c-bg-deep);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .data-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: var(--shadow-glow);
}

.page-home .data-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

.page-home .data-card__meta {
  margin: 6px 0 16px;
  font-size: 12px;
  color: var(--c-mist);
}

.page-home .data-card__foot {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-mist);
  border-top: 1px solid var(--c-line);
  padding-top: 12px;
}

.page-home .data-chart {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .rate-bars {
  display: grid;
  gap: 14px;
  padding: 6px 0 4px;
}

.page-home .rate-bar {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.page-home .rate-bar__name {
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .rate-bar__track {
  height: 8px;
  border-radius: 20px;
  background: var(--c-bg-card);
  overflow: hidden;
}

.page-home .rate-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: filter 0.2s ease;
}

.page-home .data-card:hover .rate-bar__fill {
  filter: brightness(1.2);
}

.page-home .rate-bar__fill--hot {
  background: var(--c-accent-warm);
}

.page-home .rate-bar__fill--blue {
  background: var(--c-accent);
}

.page-home .rate-bar__fill--data {
  background: var(--c-data);
}

.page-home .rate-bar__value {
  text-align: right;
  color: var(--c-white);
  font-family: var(--font-head);
  font-weight: 700;
}

.page-home .patch-report__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-home .patch-report__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}

.page-home .patch-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  position: relative;
}

.page-home .patch-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--c-line);
}

.page-home .patch-timeline__item {
  position: relative;
  padding: 0 0 28px 36px;
}

.page-home .patch-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .patch-timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-bg-deep);
  border: 2px solid var(--c-accent);
  box-shadow: var(--shadow-glow);
}

.page-home .patch-timeline__day {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent-warm);
}

.page-home .patch-timeline__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.page-home .patch-timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .patch-report__side {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.page-home .patch-stats {
  margin: 0;
  display: grid;
  gap: 0;
}

.page-home .patch-stats__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .patch-stats__row:last-child {
  border-bottom: 0;
}

.page-home .patch-stats__row dt {
  color: var(--c-mist);
  font-size: 13px;
}

.page-home .patch-stats__row dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-accent);
}

.page-home .patch-report__note {
  margin: 16px 0;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .membership__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg-card);
}

.page-home .membership-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .membership-table th,
.page-home .membership-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

.page-home .membership-table thead th {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.page-home .membership-table tbody tr:last-child th,
.page-home .membership-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .membership-table tbody th {
  color: var(--c-white);
  font-weight: 500;
}

.page-home .membership-table td {
  color: var(--c-mist);
}

.page-home .membership-table td:last-child {
  color: var(--c-accent);
  font-weight: 600;
}

.page-home .membership__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .article-stack {
  display: grid;
  gap: 12px;
}

.page-home .article-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .article-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-1px);
}

.page-home .article-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-bg-deep);
}

.page-home .article-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .article-card__index {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .article-card:hover .article-card__index {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.page-home .article-card__body h3 {
  margin: 6px 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .article-card__body h3 a {
  color: var(--c-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .article-card__body h3 a:hover {
  color: var(--c-accent);
}

.page-home .article-card__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-mist);
}

@media (min-width: 700px) {
  .page-home .article-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .page-home .article-card__thumb,
  .page-home .article-card__index {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .match-row__dot {
    animation: none;
  }

  .page-home .article-card {
    transition: none;
  }
}
