.page-home {
  --home-cut: 16px;
  --home-gap: clamp(18px, 3vw, 34px);
  display: block;
  background: linear-gradient(180deg, var(--j9-ink) 0%, var(--j9-ink-deep) 60%, var(--j9-ink) 100%);
  color: var(--j9-white);
  font-family: var(--j9-font-body);
  overflow-x: hidden;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--j9-cyan);
  outline-offset: 3px;
}

.page-home .j9-section {
  padding-block: clamp(52px, 8vw, 104px);
}

.page-home .j9-section__title {
  font-family: var(--j9-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.1;
}

.page-home .j9-section__lede {
  max-width: 62ch;
  color: var(--j9-mist);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
}

/* 首屏 */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06111e;
  padding-top: calc(var(--j9-header-h) + 18px);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  filter: saturate(0.85) contrast(1.06);
  z-index: -2;
}

.page-home .home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 30, 0.88) 0%, rgba(6, 17, 30, 0.34) 40%, rgba(11, 26, 47, 0.97) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: var(--home-gap);
  padding-top: clamp(32px, 6vw, 74px);
  padding-bottom: clamp(30px, 5vw, 62px);
}

.page-home .home-hero__crumb {
  margin-bottom: 16px;
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--j9-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(38px, 8.4vw, 80px);
  line-height: 0.98;
}

.page-home .home-hero__title span {
  display: block;
  color: var(--j9-cyan);
  text-shadow: 0 0 34px rgba(0, 229, 255, 0.35);
}

.page-home .home-hero__text {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--j9-mist);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-pulse {
  animation: home-pulse 2.8s var(--j9-ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.42); }
  55% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
}

.page-home .home-hero__board {
  display: grid;
  gap: 10px;
  align-content: end;
}

.page-home .home-hero__board-title {
  margin: 0 0 2px;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--j9-steel);
}

.page-home .home-score {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta num"
    "state num";
  align-items: center;
  gap: 4px 18px;
  padding: 14px 18px;
  border: 1px solid var(--j9-line);
  border-left: 3px solid var(--j9-cyan);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color 0.3s var(--j9-ease), transform 0.3s var(--j9-ease);
}

.page-home .home-score:hover {
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.2), rgba(255, 255, 255, 0.05));
  transform: translateX(3px);
}

.page-home .home-score__meta {
  grid-area: meta;
  margin: 0;
  font-size: 13px;
  color: var(--j9-mist);
}

.page-home .home-score__num {
  grid-area: num;
  margin: 0;
  font-family: var(--j9-font-mono);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1;
  color: var(--j9-flame);
  letter-spacing: -0.02em;
}

.page-home .home-score__sep {
  color: var(--j9-steel);
  padding: 0 2px;
}

.page-home .home-score__state {
  grid-area: state;
  margin: 0;
  font-size: 12px;
  color: var(--j9-steel);
}

.page-home .home-hero__index {
  position: relative;
  border-top: 1px solid var(--j9-line);
  background: rgba(11, 26, 47, 0.74);
  backdrop-filter: blur(12px);
}

.page-home .home-hero__index-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-home .home-hero__idx {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 20px;
  border-right: 1px solid var(--j9-line-soft);
  color: var(--j9-mist);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s var(--j9-ease), background-color 0.25s var(--j9-ease);
}

.page-home .home-hero__idx span {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-steel);
}

.page-home .home-hero__idx:hover {
  color: var(--j9-white);
  background: rgba(0, 229, 255, 0.09);
}

/* 实时比分订阅 */
.page-home .home-live {
  background: var(--j9-ink-deep);
  border-block: 1px solid var(--j9-line-soft);
}

.page-home .home-live__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-live__points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-live__points li {
  position: relative;
  padding-left: 22px;
  color: var(--j9-mist);
  font-size: 15px;
  line-height: 1.7;
}

.page-home .home-live__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 2px;
  background: var(--j9-cyan);
}

.page-home .home-live__foot {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--j9-flame);
  color: var(--j9-steel);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-live__copy .j9-btn {
  margin-top: 26px;
}

.page-home .home-live__feed {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--j9-line);
  background: linear-gradient(152deg, rgba(0, 229, 255, 0.12), rgba(255, 255, 255, 0.03) 46%, rgba(255, 77, 46, 0.1));
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .home-live__feed-title {
  margin: 0 0 16px;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--j9-steel);
}

.page-home .home-push {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px dashed var(--j9-line-soft);
}

.page-home .home-push:first-of-type {
  border-top: 0;
}

.page-home .home-push__time {
  margin: 0;
  font-family: var(--j9-font-mono);
  font-size: 13px;
  color: var(--j9-cyan);
}

.page-home .home-push__match {
  margin: 0;
  font-size: 13px;
  color: var(--j9-steel);
}

.page-home .home-push__text {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--j9-mist);
}

.page-home .home-push__text b {
  font-family: var(--j9-font-mono);
  font-size: 18px;
  color: var(--j9-white);
}

/* J9面板速览 */
.page-home .home-panel__grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .home-panel__chart {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--j9-line);
  background: linear-gradient(160deg, rgba(0, 107, 122, 0.3), rgba(255, 255, 255, 0.03));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .home-dist__head {
  margin: 0 0 18px;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--j9-steel);
}

.page-home .home-dist__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--j9-line-soft);
}

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

.page-home .home-dist__label {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-steel);
}

.page-home .home-dist__track {
  display: block;
  height: 8px;
  background: rgba(143, 166, 184, 0.16);
  overflow: hidden;
}

.page-home .home-dist__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--j9-cyan-deep), var(--j9-cyan));
  animation: home-bar 0.9s var(--j9-ease) both;
}

.page-home .home-dist__row:nth-child(2) .home-dist__bar { width: 66%; animation-delay: 0.05s; }
.page-home .home-dist__row:nth-child(3) .home-dist__bar { width: 84%; animation-delay: 0.12s; }
.page-home .home-dist__row:nth-child(4) .home-dist__bar { width: 57%; animation-delay: 0.19s; }
.page-home .home-dist__row:nth-child(5) .home-dist__bar {
  width: 93%;
  background: linear-gradient(90deg, var(--j9-flame-deep), var(--j9-flame));
  animation-delay: 0.26s;
}

@keyframes home-bar {
  from { transform: scaleX(0); transform-origin: left center; }
  to { transform: scaleX(1); transform-origin: left center; }
}

.page-home .home-dist__value {
  text-align: right;
  font-family: var(--j9-font-mono);
  font-size: 14px;
  color: var(--j9-white);
}

.page-home .home-dist__note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--j9-steel);
}

.page-home .home-panel__stats {
  display: grid;
  gap: 14px;
}

/* 轮次安排 */
.page-home .home-rounds {
  background: var(--j9-ink-deep);
  border-block: 1px solid var(--j9-line-soft);
}

.page-home .home-rounds__grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .home-rounds__days {
  display: grid;
  gap: 10px;
}

.page-home .home-rounds__days .j9-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--j9-line);
  color: var(--j9-white);
  font-family: var(--j9-font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.25s var(--j9-ease), border-color 0.25s var(--j9-ease);
}

.page-home .home-rounds__days .j9-accordion__trigger:hover {
  background: rgba(0, 229, 255, 0.09);
  border-color: rgba(0, 229, 255, 0.42);
}

.page-home .home-rounds__days .j9-accordion__trigger[aria-expanded="true"] {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.1);
}

.page-home .j9-accordion__index {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-cyan);
}

.page-home .home-day__label {
  flex: 1 1 auto;
}

.page-home .home-day__count {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-steel);
}

.page-home .j9-accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.page-home .j9-accordion__icon::before,
.page-home .j9-accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--j9-cyan);
}

.page-home .j9-accordion__icon::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-home .j9-accordion__icon::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
  transition: transform 0.3s var(--j9-ease);
}

.page-home .j9-accordion__trigger[aria-expanded="true"] .j9-accordion__icon::after {
  transform: scaleY(0);
}

.page-home .home-rounds__days .j9-accordion__panel {
  border: 1px solid var(--j9-line);
  border-top: 0;
  background: rgba(0, 0, 0, 0.22);
  padding: 6px 18px 16px;
}

.page-home .home-day__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-day__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--j9-line-soft);
}

.page-home .home-day__list li:last-child {
  border-bottom: 0;
}

.page-home .home-day__sport {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid var(--j9-line);
  color: var(--j9-cyan);
}

.page-home .home-day__round {
  font-size: 14px;
  color: var(--j9-mist);
}

.page-home .home-day__time {
  font-family: var(--j9-font-mono);
  font-size: 14px;
  color: var(--j9-white);
}

/* 赛后战报 */
.page-home .home-notes__grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .home-report {
  padding: 20px 0;
  border-top: 1px solid var(--j9-line);
}

.page-home .home-report:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .home-report__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-steel);
}

.page-home .home-report__title {
  margin: 0;
  font-family: var(--j9-font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.3;
  color: var(--j9-white);
  transition: color 0.25s var(--j9-ease);
}

.page-home .home-report:hover .home-report__title {
  color: var(--j9-cyan);
}

.page-home .home-report__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--j9-mist);
}

.page-home .home-notes__more {
  margin-top: 22px;
}

/* 直达入口 */
.page-home .home-quick {
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(255, 77, 46, 0.12), transparent 58%),
    var(--j9-ink-deep);
  border-top: 1px solid var(--j9-line-soft);
}

.page-home .home-quick__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 42px);
}

.page-home .home-quick__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  padding: 22px 20px 24px;
  border: 1px solid var(--j9-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--j9-white);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: background-color 0.3s var(--j9-ease), border-color 0.3s var(--j9-ease), transform 0.3s var(--j9-ease);
}

.page-home .home-quick__card:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-3px);
}

.page-home .home-quick__idx {
  font-family: var(--j9-font-mono);
  font-size: 12px;
  color: var(--j9-flame);
}

.page-home .home-quick__label {
  font-family: var(--j9-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
}

.page-home .home-quick__desc {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.6;
  color: var(--j9-steel);
}

/* 平板与桌面 */
@media (min-width: 760px) {
  .page-home .home-panel__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .home-quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: clamp(30px, 5vw, 76px);
  }

  .page-home .home-live__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(30px, 5vw, 72px);
  }

  .page-home .home-panel__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-panel__stats {
    grid-column: 1 / -1;
  }

  .page-home .home-rounds__grid {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .home-notes__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }
}

@media (min-width: 1060px) {
  .page-home .home-quick__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-pulse,
  .page-home .home-dist__bar {
    animation: none;
  }

  .page-home .home-score:hover,
  .page-home .home-quick__card:hover {
    transform: none;
  }
}
