.page-home {
  --home-rule: rgba(168, 195, 176, .16);
  --home-card: rgba(5, 10, 8, .42);
  --home-glow: rgba(77, 240, 214, .10);
  display: block;
  overflow-x: hidden;
}

.page-home .home-hero,
.page-home .home-console,
.page-home .home-derby,
.page-home .home-subs,
.page-home .home-injury,
.page-home .home-stream {
  padding-block: clamp(56px, 8vw, 108px);
}

/* ─────────── 首屏 ─────────── */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -40%;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 255, 107, .10), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

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

.page-home .home-hero__shell {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.page-home .home-hero__crumbs {
  margin-bottom: 22px;
}

.page-home .home-hero__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(38px, 8.6vw, 104px);
  line-height: .94;
  letter-spacing: -.025em;
  margin: 10px 0 24px;
  color: var(--mist);
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin-bottom: 32px;
}

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

.page-home .home-hero__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

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

.page-home .home-hero__quick {
  list-style: none;
  margin: clamp(40px, 5vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--home-rule);
  border: 1px solid var(--home-rule);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .home-hero__quick li {
  background: var(--home-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-hero__quick-num {
  font-family: var(--font-data);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1;
  color: var(--kiwi);
  letter-spacing: -.02em;
}

.page-home .home-hero__quick-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--sage);
}

/* ─────────── 赛季主控台 ─────────── */
.page-home .home-console__head {
  max-width: 62ch;
}

.page-home .home-console__lede {
  margin-top: 20px;
  color: var(--sage);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .home-console__layout {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-home .home-console__focus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: linear-gradient(158deg, rgba(77, 240, 214, .14), rgba(26, 16, 51, .55) 68%);
  box-shadow: var(--shadow);
}

.page-home .home-console__focus-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-family: var(--font-data);
}

.page-home .home-console__focus-num {
  font-family: var(--font-data);
  font-size: clamp(76px, 14vw, 152px);
  font-weight: 600;
  line-height: .84;
  letter-spacing: -.05em;
  color: var(--kiwi);
}

.page-home .home-console__focus-unit {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--mist);
}

.page-home .home-console__focus-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sage);
  max-width: 34ch;
}

.page-home .home-console__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: center;
}

.page-home .home-console__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-rule);
}

.page-home .home-console__rows li:first-child {
  border-top: 1px solid var(--home-rule);
}

.page-home .home-console__row-label {
  font-size: 15px;
  color: var(--sage);
}

.page-home .home-console__row-value {
  font-family: var(--font-data);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  color: var(--kiwi);
  letter-spacing: -.03em;
}

/* ─────────── 德比焦点 ─────────── */
.page-home .home-derby {
  position: relative;
}

.page-home .home-derby__shell {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.page-home .home-derby__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}

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

.page-home .home-derby__lede {
  margin: 18px 0 24px;
  color: var(--sage);
  font-size: 16px;
  line-height: 1.78;
}

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

.page-home .home-derby__points li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mist);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--home-rule);
}

.page-home .home-derby__points .num {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 18px;
  color: var(--cyan);
}

/* ─────────── 订阅矩阵 ─────────── */
.page-home .home-subs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-home .home-subs__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
}

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

.page-home .home-subs__head {
  max-width: 64ch;
}

.page-home .home-subs__lede {
  margin-top: 20px;
  color: var(--sage);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .home-subs__tabs {
  margin-top: clamp(32px, 4vw, 52px);
}

.page-home .home-subs__tablist,
.page-home .home-injury__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .home-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--home-card);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}

.page-home .home-tab:hover {
  border-color: var(--cyan);
  color: var(--mist);
}

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

.page-home .home-tab[aria-selected="true"] {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: var(--ink);
}

.page-home .home-teams {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}

.page-home .home-team {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--home-card);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}

.page-home .home-team:hover {
  border-color: var(--cyan);
  background: var(--home-glow);
}

.page-home .home-team__idx {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .04em;
}

.page-home .home-team__name {
  font-size: 15px;
  color: var(--mist);
}

.page-home .home-subs__foot {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .home-subs__note {
  margin: 0;
  font-size: 14px;
  color: var(--sage);
  line-height: 1.6;
}

/* ─────────── 伤停时间轴 ─────────── */
.page-home .home-injury {
  background-image: linear-gradient(180deg, rgba(110, 29, 58, .28), transparent 55%);
}

.page-home .home-injury__head {
  max-width: 64ch;
}

.page-home .home-injury__lede {
  margin-top: 20px;
  color: var(--sage);
  font-size: 17px;
  line-height: 1.75;
}

.page-home .home-injury__layout {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-injury__media {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  max-width: 460px;
}

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

.page-home .home-injury__panel-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 24px);
  margin: 0 0 16px;
  color: var(--kiwi);
}

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

.page-home .home-injury__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .home-injury__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(77, 240, 214, .14);
}

.page-home .home-injury__foot {
  margin-top: clamp(28px, 4vw, 44px);
}

/* ─────────── 赛季数据流 ─────────── */
.page-home .home-stream__head {
  display: grid;
  gap: 20px;
}

.page-home .home-stream__lede {
  margin: 0;
  color: var(--sage);
  font-size: 16px;
  line-height: 1.75;
}

.page-home .home-stream__canvas {
  margin-top: clamp(30px, 4vw, 52px);
  display: grid;
  gap: 12px;
}

.page-home .home-log {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(14, 43, 31, .34);
  overflow: hidden;
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}

.page-home .home-log:hover {
  border-color: var(--cyan);
  background: rgba(14, 43, 31, .5);
}

.page-home .home-log__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(16px, 2.6vw, 28px);
}

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

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

.page-home .home-log__round {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .home-log__match {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--mist);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.page-home .home-log__match .num {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--kiwi);
  letter-spacing: -.02em;
}

.page-home .home-log__toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.page-home .home-log__toggle::before,
.page-home .home-log__toggle::after {
  content: "";
  position: absolute;
  inset: 50% 4px auto 4px;
  height: 1.5px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.page-home .home-log__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.page-home .home-log[open] .home-log__toggle::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.page-home .home-log__body {
  padding: 0 clamp(16px, 2.6vw, 28px) 22px;
}

.page-home .home-log__notes {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--home-rule);
  display: grid;
  gap: 12px;
}

.page-home .home-log__notes li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-log__notes li .num {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 15px;
  color: var(--cyan);
}

.page-home .home-stream__foot {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .home-stream__note {
  margin: 0;
  font-size: 14px;
  color: var(--sage);
  line-height: 1.6;
}

/* ─────────── 响应式 ─────────── */
@media (min-width: 700px) {
  .page-home .home-stream__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(24px, 4vw, 56px);
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__shell {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .home-console__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  .page-home .home-derby__shell {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .home-injury__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

@media (max-width: 480px) {
  .page-home .home-log__summary {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "round toggle"
      "match match";
    row-gap: 8px;
  }

  .page-home .home-log__round {
    grid-area: round;
  }

  .page-home .home-log__match {
    grid-area: match;
  }

  .page-home .home-log__toggle {
    grid-area: toggle;
  }

  .page-home .home-log__notes li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .page-home .home-derby__points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tab,
  .page-home .home-team,
  .page-home .home-log,
  .page-home .home-log__toggle::before,
  .page-home .home-log__toggle::after {
    transition: none;
  }
}
