.page-home {
  --home-text: #F4EDE2;
  --home-panel: rgba(20, 38, 58, 0.55);
  --home-panel-solid: #14263A;
  --home-line: #2E4057;
  --home-ink: #060C14;
  --home-gold: #D4A843;
  --home-red: #E04A3A;
  --home-teal: #3DBBA3;
  --home-slate: #9BB0C8;
  --home-muted: #6B7C93;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 56%;
  height: 100%;
  background: linear-gradient(135deg, transparent 46%, rgba(212, 168, 67, 0.05) 46%, rgba(212, 168, 67, 0.05) 52%, transparent 52%);
  pointer-events: none;
}

.page-home .hero-shell {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  gap: 28px;
}

.page-home .hero-media {
  position: relative;
  border: 1px solid var(--home-line);
  background: var(--home-ink);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.page-home .hero-media__inner {
  margin: 0;
  height: 420px;
  overflow: hidden;
}

.page-home .hero-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05);
  display: block;
}

.page-home .hero-media__ticks {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.page-home .hero-media__ticks--left {
  left: 8px;
}

.page-home .hero-media__ticks--right {
  right: 8px;
}

.page-home .hero-media__ticks i {
  display: block;
  width: 8px;
  height: 1px;
  background: rgba(212, 168, 67, 0.6);
}

.page-home .hero-media__badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--home-text);
  background: rgba(6, 12, 20, 0.78);
  border-left: 3px solid var(--home-gold);
  border-radius: 2px;
  backdrop-filter: blur(6px);
}

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

.page-home .hero-panel__brand {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--home-gold);
  text-transform: uppercase;
}

.page-home .hero-panel__title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--home-text);
  display: flex;
  flex-direction: column;
}

.page-home .hero-panel__title-line {
  display: block;
}

.page-home .hero-panel__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-slate);
  max-width: 62ch;
}

.page-home .hero-console {
  width: 100%;
  border-top: 1px solid var(--home-line);
  margin-bottom: 18px;
}

.page-home .hero-console__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--home-line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-home .hero-console__item:hover,
.page-home .hero-console__item:focus-visible {
  background: rgba(20, 38, 58, 0.6);
  border-color: var(--home-gold);
  outline: none;
}

.page-home .hero-console__item:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 2px;
}

.page-home .hero-console__idx {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--home-muted);
}

.page-home .hero-console__item--active .hero-console__idx {
  color: var(--home-gold);
}

.page-home .hero-console__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--home-text);
  letter-spacing: 0.02em;
}

.page-home .hero-console__meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-slate);
  text-align: right;
}

.page-home .hero-panel__foot {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .hero-panel__foot a {
  color: var(--home-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 67, 0.4);
  transition: border-color 0.2s ease;
}

.page-home .hero-panel__foot a:hover,
.page-home .hero-panel__foot a:focus-visible {
  border-color: var(--home-gold);
  outline: none;
}

.page-home .hero-scale {
  display: none;
}

.page-home .home-console {
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-home .section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .section-head__text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.page-home .section-head__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--home-slate);
  max-width: 64ch;
}

.page-home .console-board {
  display: grid;
  gap: 16px;
}

.page-home .console-entry {
  text-decoration: none;
  border: 1px solid var(--home-line);
  background: var(--home-panel);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.page-home .console-entry:hover,
.page-home .console-entry:focus-visible {
  border-color: var(--home-gold);
  transform: translateY(-2px);
  outline: none;
}

.page-home .console-entry:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 2px;
}

.page-home .console-entry--feature {
  display: grid;
  grid-template-columns: 1fr;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}

.page-home .console-entry__media {
  overflow: hidden;
  max-height: 220px;
}

.page-home .console-entry__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.page-home .console-entry__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .console-entry__tag {
  margin-bottom: 10px;
}

.page-home .console-entry__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--home-text);
}

.page-home .console-entry__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-slate);
}

.page-home .console-entry__more {
  margin-top: auto;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--home-gold);
  border-bottom: 1px solid rgba(212, 168, 67, 0.4);
  padding-bottom: 2px;
}

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

.page-home .console-entry--compact {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-left: 3px solid transparent;
}

.page-home .console-entry--compact:hover,
.page-home .console-entry--compact:focus-visible {
  border-left-color: var(--home-gold);
  background: rgba(20, 38, 58, 0.8);
}

.page-home .console-entry__idx {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--home-muted);
}

.page-home .console-entry__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .console-entry__meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-slate);
}

.page-home .console-entry__arrow {
  font-family: var(--font-data);
  font-size: 16px;
  color: var(--home-gold);
  transition: transform 0.2s ease;
}

.page-home .console-entry:hover .console-entry__arrow {
  transform: translateX(4px);
}

.page-home .home-cards {
  padding-top: 56px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, transparent, rgba(20, 38, 58, 0.25));
  border-top: 1px solid var(--home-line);
}

.page-home .cards-layout {
  display: grid;
  gap: 32px;
}

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

.page-home .cards-annotate__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--home-slate);
}

.page-home .cards-annotate__rule {
  margin: 14px 0 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--home-muted);
}

.page-home .cards-annotate__img {
  width: 100%;
  border: 1px solid var(--home-line);
  overflow: hidden;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.page-home .cards-annotate__img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8);
}

.page-home .cards-data {
  min-width: 0;
}

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

.page-home .league-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--home-slate);
  background: rgba(20, 38, 58, 0.4);
  border: 1px solid var(--home-line);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .league-tab:hover,
.page-home .league-tab:focus-visible {
  color: var(--home-text);
  border-color: var(--home-gold);
  outline: none;
}

.page-home .league-tab.is-active {
  color: var(--home-text);
  background: rgba(212, 168, 67, 0.14);
  border-color: var(--home-gold);
}

.page-home .data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--home-text);
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--home-line);
  text-align: left;
  white-space: nowrap;
}

.page-home .data-table thead th {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--home-slate);
  letter-spacing: 0.04em;
  background: rgba(6, 12, 20, 0.55);
}

.page-home .data-table tbody th {
  font-weight: 700;
  color: var(--home-gold);
}

.page-home .data-table tbody tr {
  transition: background-color 0.2s ease;
}

.page-home .data-table tbody tr:hover,
.page-home .data-table tbody tr:focus-within {
  background: rgba(212, 168, 67, 0.06);
}

.page-home .cards-data__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .cards-data__note a {
  color: var(--home-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 67, 0.4);
}

.page-home .home-lineup {
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-home .lineup-board {
  display: grid;
  gap: 20px;
}

.page-home .lineup-dial {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--home-line);
}

.page-home .lineup-dial__ring {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: conic-gradient(var(--home-gold) 0deg 300deg, rgba(155, 176, 200, 0.2) 300deg 360deg);
}

.page-home .lineup-dial__ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--home-panel-solid);
  border-radius: 50%;
}

.page-home .lineup-dial__num,
.page-home .lineup-dial__unit {
  position: relative;
  z-index: 1;
}

.page-home .lineup-dial__num {
  font-family: var(--font-data);
  font-size: 32px;
  font-weight: 700;
  color: var(--home-text);
  line-height: 1;
}

.page-home .lineup-dial__unit {
  margin-top: 6px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-gold);
  letter-spacing: 0.12em;
}

.page-home .lineup-dial__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .lineup-dial__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--home-text);
}

.page-home .lineup-dial__text span {
  font-size: 13px;
  color: var(--home-slate);
}

.page-home .lineup-matches {
  display: grid;
  gap: 12px;
}

.page-home .lineup-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(20, 38, 58, 0.4);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--home-teal);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-home .lineup-match:hover {
  background: rgba(20, 38, 58, 0.72);
  border-color: var(--home-slate);
}

.page-home .lineup-match__league {
  width: 100%;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-slate);
  letter-spacing: 0.08em;
}

.page-home .lineup-match__teams {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .lineup-match__team {
  font-size: 16px;
  font-weight: 900;
  color: var(--home-text);
  letter-spacing: 0.02em;
}

.page-home .lineup-match__vs {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-muted);
}

.page-home .lineup-match__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--home-slate);
}

.page-home .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-gold);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.16);
}

.page-home .home-archive {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(6, 12, 20, 0.3), transparent);
}

.page-home .archive-layout {
  display: grid;
  gap: 32px;
}

.page-home .archive-media {
  position: relative;
  border: 1px solid var(--home-line);
  overflow: hidden;
  clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
}

.page-home .archive-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.9);
}

.page-home .archive-media__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--home-text);
  background: rgba(6, 12, 20, 0.8);
  border-left: 3px solid var(--home-gold);
}

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

.page-home .archive-content__lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-slate);
}

.page-home .archive-table {
  width: 100%;
  margin-top: 20px;
}

.page-home .archive-table .data-table th,
.page-home .archive-table .data-table td {
  padding: 10px 12px;
}

.page-home .archive-content__note {
  margin: 16px 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--home-muted);
}

.page-home .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-text);
  background: transparent;
  border: 1px solid var(--home-slate);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .btn-ghost:hover,
.page-home .btn-ghost:focus-visible {
  color: var(--home-text);
  border-color: var(--home-gold);
  background: rgba(212, 168, 67, 0.08);
  outline: none;
}

.page-home .btn-ghost:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 2px;
}

.page-home .home-latest {
  padding-top: 56px;
  padding-bottom: 72px;
  border-top: 1px solid var(--home-line);
}

.page-home .latest-head {
  justify-content: space-between;
  align-items: flex-start;
}

.page-home .latest-grid {
  display: grid;
  gap: 16px;
}

.page-home .latest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 22px;
  background: linear-gradient(145deg, rgba(20, 38, 58, 0.6), rgba(6, 12, 20, 0.4));
  border: 1px solid var(--home-line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .latest-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-width: 0 52px 52px 0;
  border-style: solid;
  border-color: transparent var(--home-gold) transparent transparent;
  transition: border-width 0.2s ease;
}

.page-home .latest-card:hover,
.page-home .latest-card:focus-within {
  border-color: var(--home-gold);
  transform: translateY(-2px);
}

.page-home .latest-card__title {
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--home-text);
  letter-spacing: 0.01em;
}

.page-home .latest-card__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-slate);
}

.page-home .latest-card__tag {
  margin-bottom: 18px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--home-muted);
  letter-spacing: 0.04em;
}

.page-home .latest-card__link {
  margin-top: auto;
}

.page-home .latest-card .btn-ghost {
  font-size: 13px;
  padding: 8px 14px;
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: 44px;
    padding-bottom: 80px;
  }

  .page-home .hero-shell {
    grid-template-columns: 440px 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .hero-media {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .page-home .hero-media__inner {
    height: 560px;
  }

  .page-home .hero-panel {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 20px 0;
  }

  .page-home .hero-panel__title {
    font-size: 52px;
  }

  .page-home .hero-panel__desc {
    font-size: 16px;
  }

  .page-home .hero-console__item {
    padding: 16px 14px;
  }

  .page-home .hero-scale {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding-inline: 18px;
  }

  .page-home .hero-scale__line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--home-gold), transparent);
    position: relative;
  }

  .page-home .hero-scale__line::before,
  .page-home .hero-scale__line::after {
    content: "";
    position: absolute;
    left: -3px;
    width: 7px;
    height: 1px;
    background: var(--home-gold);
  }

  .page-home .hero-scale__line::before {
    top: 25%;
  }

  .page-home .hero-scale__line::after {
    top: 70%;
  }

  .page-home .hero-scale__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-red);
    box-shadow: 0 0 0 4px rgba(224, 74, 58, 0.2);
  }

  .page-home .hero-scale__label {
    writing-mode: vertical-rl;
    font-family: var(--font-data);
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--home-slate);
  }

  .page-home .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .section-head__note {
    text-align: right;
  }

  .page-home .console-board {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
  }

  .page-home .console-entry--feature {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .console-entry__media {
    max-height: none;
    height: 100%;
    min-height: 320px;
  }

  .page-home .console-entry__media img {
    height: 100%;
  }

  .page-home .cards-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .cards-annotate__img {
    max-width: 320px;
  }

  .page-home .lineup-board {
    grid-template-columns: 300px 1fr;
    align-items: stretch;
  }

  .page-home .lineup-dial {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
  }

  .page-home .archive-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .latest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home .latest-card__title {
    font-size: 20px;
  }
}
