.page-home {
  background-color: var(--c-paper);
  background-image:
    linear-gradient(rgba(10, 31, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.page-home .section-index {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1;
  color: var(--c-orange);
  flex: 0 0 auto;
}

.page-home .eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue-2);
  margin: 0 0 6px;
}

.page-home .section-head__text h2 {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.15;
  color: var(--c-blue);
  margin: 0;
}

.page-home .section-head--light .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.page-home .section-head--light h2 {
  color: var(--c-white);
}

.page-home .home-cover {
  position: relative;
  padding: 48px 20px 72px;
  color: var(--c-white);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 107, 53, 0.22), transparent 34%),
    radial-gradient(circle at 35% 85%, rgba(255, 215, 0, 0.1), transparent 28%),
    linear-gradient(140deg, var(--c-blue-0) 0%, var(--c-blue) 58%, var(--c-blue-2) 100%);
  border-bottom: 2px solid var(--c-orange);
}

.page-home .home-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

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

.page-home .home-cover__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.page-home .home-cover__coordinate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.page-home .home-cover__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 6.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 20px 0 12px;
  text-transform: uppercase;
}

.page-home .home-cover__lead {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

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

.page-home .home-cover__toc-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: var(--c-blue);
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(7, 21, 48, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-cover__toc-card:hover,
.page-home .home-cover__toc-card.is-active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 21, 48, 0.18);
}

.page-home .home-cover__toc-card.is-active {
  box-shadow: 0 0 0 2px var(--c-orange), 0 8px 20px rgba(7, 21, 48, 0.2);
}

.page-home .home-cover__toc-index {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
  color: var(--c-orange);
}

.page-home .home-cover__toc-name {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.2;
}

.page-home .home-cover__toc-desc {
  font-size: 12px;
  color: var(--c-blue-2);
  line-height: 1.5;
}

.page-home .home-cover__toc-card--sub .home-cover__toc-index {
  font-size: 20px;
}

.page-home .home-cover__toc-card--sub .home-cover__toc-name {
  font-size: 15px;
}

.page-home .home-flash {
  position: relative;
  padding: 72px 20px 56px;
  background-color: var(--c-paper);
  overflow: hidden;
}

.page-home .home-flash__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-flash__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(0.5);
}

.page-home .home-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 240, 0.88) 0%, rgba(245, 245, 240, 0.35) 60%, rgba(245, 245, 240, 0.8) 100%);
  z-index: 0;
}

.page-home .home-flash__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.page-home .home-flash__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-home .home-flash__match {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 0 var(--c-line), 0 10px 24px rgba(10, 31, 68, 0.08);
  display: grid;
  gap: 18px;
}

.page-home .home-flash__row--score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.page-home .home-flash__team-score {
  font-family: var(--font-head);
  font-size: 52px;
  line-height: 1;
  color: var(--c-blue);
  display: block;
}

.page-home .home-flash__team-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue-2);
  display: block;
  margin-bottom: 6px;
}

.page-home .home-flash__colon {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--c-orange);
  padding-top: 12px;
}

.page-home .home-flash__row--stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px dashed var(--c-line);
  padding-top: 16px;
}

.page-home .home-flash__stat {
  text-align: center;
  padding: 8px 4px;
  background: var(--c-paper);
  border-radius: 8px;
}

.page-home .home-flash__stat-label {
  display: block;
  font-size: 11px;
  color: var(--c-blue-2);
  margin-bottom: 4px;
}

.page-home .home-flash__stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-blue);
}

.page-home .home-flash__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.page-home .home-flash__sync {
  font-size: 12px;
  color: var(--c-blue-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-flash__sync::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}

.page-home .home-flash__note {
  background: var(--c-white);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ink);
}

.page-home .home-flash__note p {
  margin: 0;
}

.page-home .home-flash__note-meta {
  color: var(--c-blue-2);
  font-size: 12px;
  margin-top: 6px;
}

.page-home .home-form {
  background-color: var(--c-blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  color: rgba(255, 255, 255, 0.94);
  padding: 72px 20px 64px;
}

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

.page-home .form-axis {
  display: grid;
  grid-template-columns: repeat(5, minmax(106px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.page-home .form-axis::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 0;
}

.page-home .form-axis__item {
  position: relative;
  z-index: 1;
}

.page-home .form-axis__item[open] {
  z-index: 6;
}

.page-home .form-axis__point {
  list-style: none;
  margin: 0;
  padding: 8px 2px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: inherit;
}

.page-home .form-axis__point::-webkit-details-marker {
  display: none;
}

.page-home .form-axis__point::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-blue-2);
  border: 3px solid var(--c-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(3, 8, 18, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .form-axis__item--win .form-axis__point::before {
  background: var(--c-orange);
}

.page-home .form-axis__item--draw .form-axis__point::before {
  background: var(--c-gold);
}

.page-home .form-axis__item--loss .form-axis__point::before {
  background: var(--c-blue-0);
}

.page-home .form-axis__item[open] .form-axis__point::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.35);
}

.page-home .form-axis__round {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .form-axis__result {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.page-home .form-axis__result--win {
  color: var(--c-orange);
}

.page-home .form-axis__result--draw {
  color: var(--c-gold);
}

.page-home .form-axis__result--loss {
  color: rgba(255, 255, 255, 0.55);
}

.page-home .form-axis__detail {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: var(--c-white);
  color: var(--c-ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(3, 8, 18, 0.4);
}

.page-home .form-axis__detail-item span {
  display: block;
  font-size: 10px;
  color: var(--c-blue-2);
  margin-bottom: 2px;
}

.page-home .form-axis__detail-item strong {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--c-blue);
}

.page-home .home-form__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.page-home .home-form__meta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.page-home .home-form__chart {
  align-self: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px;
}

.page-home .home-form__chart-frame {
  border-radius: 8px;
  overflow: hidden;
}

.page-home .home-form__chart .image-frame__label {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.page-home .home-index {
  padding: 72px 20px;
}

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

.page-home .home-index__intro {
  max-width: 480px;
}

.page-home .home-index__count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.page-home .home-index__num {
  font-family: var(--font-head);
  font-size: 72px;
  line-height: 1;
  color: var(--c-blue);
}

.page-home .home-index__unit {
  font-size: 14px;
  color: var(--c-blue-2);
}

.page-home .home-index__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-ink);
  margin: 10px 0 16px;
}

.page-home .home-index__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--c-blue-2);
  margin-bottom: 18px;
}

.page-home .home-index__meta span {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 10px;
}

.page-home .home-index__emblem {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 0 var(--c-line);
}

.page-home .home-index__finder {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.06);
}

.page-home .home-index__search {
  display: block;
  margin-bottom: 16px;
}

.page-home .home-index__search-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue-2);
  margin-bottom: 6px;
}

.page-home .home-index__search input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: var(--c-ink);
  background: var(--c-paper);
}

.page-home .home-index__search input:focus {
  outline: 2px solid var(--c-orange);
  outline-offset: 1px;
}

.page-home .home-index__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.page-home .home-index__filters legend {
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue-2);
  margin-bottom: 8px;
}

.page-home .home-index__filters label {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-blue);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .home-index__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-index__filters:has(#league-all:checked) label[for="league-all"],
.page-home .home-index__filters:has(#league-csl:checked) label[for="league-csl"],
.page-home .home-index__filters:has(#league-jia:checked) label[for="league-jia"],
.page-home .home-index__filters:has(#league-sea:checked) label[for="league-sea"],
.page-home .home-index__filters:has(#league-other:checked) label[for="league-other"] {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  font-weight: 700;
}

.page-home .home-index__results {
  border-top: 1px dashed var(--c-line);
  padding-top: 14px;
}

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

.page-home .home-index__filters:has(#league-all:checked) ~ .home-index__results [data-league="all"],
.page-home .home-index__filters:has(#league-csl:checked) ~ .home-index__results [data-league="csl"],
.page-home .home-index__filters:has(#league-jia:checked) ~ .home-index__results [data-league="jia"],
.page-home .home-index__filters:has(#league-sea:checked) ~ .home-index__results [data-league="sea"],
.page-home .home-index__filters:has(#league-other:checked) ~ .home-index__results [data-league="other"] {
  display: block;
}

.page-home .home-index__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-index__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 8px;
  font-size: 13px;
  color: var(--c-ink);
}

.page-home .home-index__list li strong {
  font-family: var(--font-mono);
  color: var(--c-blue);
}

.page-home .home-index__sum {
  font-size: 12px;
  color: var(--c-blue-2);
  text-align: right;
}

.page-home .home-expert {
  background-color: var(--c-blue);
  background-image: radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.16), transparent 40%);
  color: var(--c-white);
  padding: 72px 20px 64px;
}

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

.page-home .home-expert__card {
  background: var(--c-paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(3, 8, 18, 0.35);
  display: grid;
  grid-template-rows: auto 1fr;
}

.page-home .home-expert__media {
  border-radius: 0;
}

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

.page-home .home-expert__visual {
  padding: 24px;
  background: var(--c-blue-0);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .home-expert__visual svg {
  width: 100%;
  max-height: 140px;
}

.page-home .home-expert__content {
  padding: 20px;
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-expert__content h3 {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.2;
  color: var(--c-blue);
  margin: 0;
}

.page-home .home-expert__content p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.page-home .home-expert__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--c-line);
  padding-top: 12px;
}

.page-home .home-expert__meta {
  font-size: 12px;
  color: var(--c-blue-2);
}

.page-home .home-expert__more {
  margin-top: 32px;
  text-align: right;
}

.page-home .home-expert__more a {
  color: var(--c-orange);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
  padding-bottom: 2px;
}

.page-home .home-expert__more a:hover {
  border-bottom-color: var(--c-orange);
}

.page-home .home-help {
  padding: 72px 20px 88px;
}

.page-home .home-help__inner {
  max-width: 960px;
}

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

.page-home .home-help__lead p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-ink);
  margin: 0 0 18px;
  max-width: 680px;
}

.page-home .home-help__points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.page-home .home-help__points li {
  font-size: 13px;
  color: var(--c-blue);
  padding-left: 20px;
  position: relative;
}

.page-home .home-help__points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-orange);
  font-family: var(--font-mono);
}

.page-home .home-help__aside {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-orange);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  box-shadow: 0 2px 0 var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.page-home .home-help__aside-quote {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.3;
  color: var(--c-blue);
  margin: 0;
}

.page-home .home-help__aside-link {
  font-size: 13px;
  color: var(--c-blue-2);
  margin: 0;
}

.page-home .home-help__aside-link a {
  color: var(--c-orange);
  text-decoration: none;
}

.page-home .btn--primary {
  padding: 10px 20px;
  background: var(--c-orange);
  color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.page-home .btn--ghost {
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-home .home-form__meta .btn--ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.page-home .home-expert__content .btn--ghost {
  color: var(--c-blue);
  border-color: var(--c-blue);
}

.page-home .home-index__result .btn--line {
  display: inline-block;
  border: 1px solid var(--c-blue-2);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--c-blue);
  text-decoration: none;
}

@media (min-width: 900px) {
  .page-home .home-cover {
    padding: 64px 20px 96px;
  }

  .page-home .home-cover__title {
    font-size: 56px;
  }

  .page-home .home-cover__toc {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
  }

  .page-home .home-flash__body {
    grid-template-columns: 2fr 1fr;
  }

  .page-home .home-form__layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }

  .page-home .home-index__body {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .home-expert__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-home .home-help__body {
    grid-template-columns: 1.5fr 0.7fr;
    align-items: start;
  }
}
