.page-home {
  --home-sheen: linear-gradient(122deg, rgba(31, 214, 95, .18), rgba(77, 216, 224, .07) 46%, transparent 72%);
  --home-gold: linear-gradient(200deg, rgba(255, 201, 74, .2), rgba(255, 201, 74, 0) 64%);
  --home-panel: rgba(19, 31, 51, .74);
  --home-panel-2: rgba(19, 31, 51, .5);
  display: block;
  background: var(--ink);
}

/* ---------- 上下文条 ---------- */
.page-home .home-context {
  background: var(--ink-2);
  border-bottom: 1px solid var(--gold-line);
}
.page-home .home-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.page-home .home-context__text {
  margin: 0;
  flex: 1 1 220px;
}
.page-home .home-context__link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed var(--gold-line);
  padding-bottom: 1px;
  white-space: nowrap;
}
.page-home .home-context__link:hover {
  color: var(--grass);
  border-bottom-color: var(--grass-line);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.6vw, 58px) 0 clamp(40px, 6vw, 78px);
  background:
    radial-gradient(120% 80% at 82% 8%, rgba(255, 201, 74, .1), transparent 58%),
    radial-gradient(110% 90% at 6% 96%, rgba(31, 214, 95, .12), transparent 62%),
    var(--ink);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18%;
  right: -16%;
  width: 72%;
  height: 132%;
  background: var(--home-sheen);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--grass-line) 70%, transparent);
  pointer-events: none;
}
.page-home .home-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .34;
  pointer-events: none;
}
.page-home .home-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .home-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, .5), rgba(11, 18, 32, .86) 58%, var(--ink) 100%);
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__intro {
  max-width: 46ch;
}
.page-home .home-hero__intro .eyebrow {
  color: var(--grass);
}
.page-home .home-hero__intro h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text-light);
}
.page-home .home-hero__intro .lede {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.78;
  color: var(--text-dim);
}

/* Bento 拼贴 */
.page-home .hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: clamp(22px, 3.2vw, 36px);
}
.page-home .hero-rank {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.3vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: var(--home-panel);
}
.page-home .hero-rank__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.page-home .hero-rank__head h2 {
  margin: 6px 0 0;
}
.page-home .hero-rank__art {
  flex: 0 0 clamp(96px, 16%, 156px);
  border-radius: var(--r-md);
  overflow: hidden;
  opacity: .78;
}
.page-home .hero-rank__art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.page-home .rank-row {
  display: grid;
  grid-template-columns: minmax(48px, auto) auto 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .045);
  border-left: 3px solid var(--grass);
  color: var(--text-light);
}
.page-home .rank-row__league {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.page-home .rank-row__gap {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: .78rem;
  color: var(--text-dim);
}
.page-home .rank-row__gap b {
  font-family: var(--font-num);
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 700;
}
.page-home .rank-row__gap i {
  font-style: normal;
}
.page-home .rank-row__note {
  font-size: .84rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.page-home .rank-row__move {
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--text-dim);
  text-align: right;
}
.page-home .rank-row__move--up {
  color: var(--grass);
}
.page-home .rank-row__move--down {
  color: var(--red);
}

.page-home .rank-more {
  border-top: 1px dashed var(--line-light);
  padding-top: 12px;
}
.page-home .rank-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
}
.page-home .rank-more summary::-webkit-details-marker {
  display: none;
}
.page-home .rank-more summary::before {
  content: "+";
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--grass);
}
.page-home .rank-more[open] summary::before {
  content: "–";
}
.page-home .rank-more .rank-list {
  margin-top: 12px;
}
.page-home .hero-rank__rule {
  margin: 0;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--text-dim);
  border-left: 2px solid var(--gold-line);
  padding-left: 10px;
}
.page-home .hero-rank .btn {
  align-self: flex-start;
}

.page-home .hero-slate {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.3vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: var(--home-panel-2);
}
.page-home .hero-slate__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-home .hero-slate__head h2 {
  margin: 0;
}
.page-home .slate-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  flex: 1 1 auto;
}
.page-home .slate-mini__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
}
.page-home .slate-mini__item:last-child {
  border-bottom: 0;
}
.page-home .slate-mini__time {
  font-family: var(--font-num);
  font-size: .98rem;
  font-weight: 700;
}
.page-home .slate-mini__match {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.page-home .slate-mini__match b {
  font-size: .92rem;
  color: var(--text-light);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.page-home .slate-mini__match small {
  font-size: .74rem;
  color: var(--text-dim);
}
.page-home .hero-slate .btn {
  align-self: flex-start;
}

.page-home .hero-mini {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: rgba(19, 31, 51, .66);
  text-decoration: none;
  color: var(--text-light);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.page-home .hero-mini:hover {
  transform: translateY(-3px);
  border-color: var(--grass-line);
  background: rgba(19, 31, 51, .92);
}
.page-home .hero-mini__label {
  font-size: .96rem;
  font-weight: 700;
  color: var(--grass);
}
.page-home .hero-mini__note {
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  position: relative;
  padding: clamp(44px, 6.4vw, 84px) 0;
}
.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.page-home .section-head h2 {
  margin: 8px 0 12px;
}
.page-home .section-head .lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-dim);
}
.page-home .section-head--row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
}
.page-home .section-head--row > div {
  max-width: 58ch;
}

/* ---------- 今日赛程 ---------- */
.page-home .home-today {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid var(--line-light);
}
.page-home .today-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  margin-bottom: 20px;
}
.page-home .today-banner img {
  display: block;
  width: 100%;
  height: clamp(140px, 24vw, 250px);
  object-fit: cover;
  opacity: .82;
}
.page-home .today-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, .78), rgba(11, 18, 32, .12) 62%, rgba(255, 201, 74, .12));
}

.page-home .day-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}
.page-home .day-strip__item {
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--text-dim);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
}
.page-home .day-strip__item.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

.page-home .slate-axis {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .slate-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}
.page-home .slate-row:first-child {
  border-top: 0;
}
.page-home .slate-row__time {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 18px;
}
.page-home .slate-row__time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: 0 0 0 4px rgba(31, 214, 95, .16);
}
.page-home .slate-row__time::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, var(--grass-line), transparent);
}
.page-home .slate-row:last-child .slate-row__time::after {
  display: none;
}
.page-home .slate-row__time .num {
  font-family: var(--font-num);
  font-size: 1.34rem;
  font-weight: 700;
}
.page-home .slate-row__flag {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--text-dim);
}
.page-home .slate-row__body {
  min-width: 0;
}
.page-home .slate-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.page-home .slate-row__match {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .01em;
}
.page-home .slate-row__match span {
  color: var(--text-dim);
  font-weight: 400;
  font-size: .8em;
  padding: 0 4px;
}
.page-home .slate-row__hint {
  margin: 0;
  font-size: .86rem;
  line-height: 1.72;
  color: var(--text-dim);
}
.page-home .slate-detail {
  margin-top: 8px;
}
.page-home .slate-detail summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--grass);
}
.page-home .slate-detail summary::-webkit-details-marker {
  display: none;
}
.page-home .slate-detail summary::before {
  content: "▸";
  font-family: var(--font-num);
}
.page-home .slate-detail[open] summary::before {
  content: "▾";
}
.page-home .slate-detail p {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--grass);
  background: rgba(255, 255, 255, .04);
  font-size: .88rem;
  line-height: 1.78;
  color: var(--text-light);
}

/* ---------- 关注球队 ---------- */
.page-home .home-watch {
  background:
    radial-gradient(90% 70% at 92% 0%, rgba(31, 214, 95, .12), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line-light);
}
.page-home .team-rail-wrap {
  position: relative;
}
.page-home .team-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 10px;
  width: clamp(40px, 8vw, 90px);
  background: linear-gradient(90deg, rgba(11, 18, 32, 0), var(--ink));
  pointer-events: none;
}
.page-home .team-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.page-home .team-card {
  flex: 0 0 clamp(232px, 30vw, 282px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: linear-gradient(160deg, rgba(19, 31, 51, .96), rgba(19, 31, 51, .68));
}
.page-home .team-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.page-home .team-card__league {
  font-family: var(--font-num);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.page-home .team-card__name {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--text-light);
}
.page-home .team-card__form {
  display: flex;
  gap: 5px;
}
.page-home .form-dot {
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  color: var(--text-dim);
}
.page-home .form-dot--w {
  background: rgba(31, 214, 95, .2);
  color: var(--grass);
}
.page-home .form-dot--d {
  background: rgba(255, 201, 74, .18);
  color: var(--gold);
}
.page-home .form-dot--l {
  background: rgba(196, 43, 43, .22);
  color: #F08C8C;
}
.page-home .team-card__next {
  margin: 0;
  font-size: .82rem;
  line-height: 1.68;
  color: var(--text-dim);
  border-top: 1px dashed var(--line-light);
  padding-top: 10px;
}

/* ---------- 战报速览 ---------- */
.page-home .home-reports {
  background: var(--board);
  color: var(--text-dark);
}
.page-home .home-reports .eyebrow {
  color: var(--grass-deep);
}
.page-home .home-reports .h-sec {
  color: var(--text-dark);
}
.page-home .home-reports .section-head .lede {
  color: #40506A;
}
.page-home .report-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.page-home .report {
  border-bottom: 1px solid var(--line-dark);
}
.page-home .report summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto 22px;
  align-items: center;
  gap: 14px;
  padding: 18px 4px;
  transition: background .2s ease;
}
.page-home .report summary::-webkit-details-marker {
  display: none;
}
.page-home .report summary:hover {
  background: rgba(10, 127, 75, .05);
}
.page-home .report__tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 127, 75, .1);
  color: var(--grass-deep);
  white-space: nowrap;
}
.page-home .report__match {
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  font-weight: 700;
  color: var(--text-dark);
  overflow-wrap: anywhere;
}
.page-home .report__league {
  font-family: var(--font-num);
  font-size: .76rem;
  letter-spacing: .1em;
  color: #5C6B80;
}
.page-home .report summary::after {
  content: "+";
  font-family: var(--font-num);
  font-size: 1.2rem;
  color: var(--grass-deep);
  text-align: right;
}
.page-home .report[open] summary::after {
  content: "–";
}
.page-home .report__body p {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--grass);
  font-size: .92rem;
  line-height: 1.82;
  color: #2C3A50;
}
.page-home .report-more {
  margin-top: 26px;
}
.page-home .home-reports .btn--ghost {
  color: var(--grass-deep);
  border-color: rgba(10, 127, 75, .35);
}
.page-home .home-reports .btn--ghost:hover {
  background: rgba(10, 127, 75, .08);
  border-color: var(--grass-deep);
}

/* ---------- 更新记录入口条 ---------- */
.page-home .home-updates {
  position: relative;
  padding: clamp(36px, 5vw, 66px) 0;
  background:
    radial-gradient(80% 120% at 100% 50%, rgba(255, 201, 74, .14), transparent 62%),
    var(--ink-2);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--line-light);
}
.page-home .update-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.page-home .update-bar__art {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.page-home .update-bar__art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .update-bar__body h2 {
  margin: 8px 0 12px;
}
.page-home .update-bar__body p {
  margin: 0 0 18px;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 56ch;
}
.page-home .update-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 服务承诺 ---------- */
.page-home .home-trust {
  padding: clamp(40px, 5.6vw, 74px) 0;
  background: var(--ink);
}
.page-home .home-trust__inner {
  display: grid;
  gap: 28px;
}
.page-home .home-trust__lead h2 {
  margin: 8px 0 12px;
  color: var(--text-light);
}
.page-home .home-trust__lead p {
  margin: 0 0 18px;
  max-width: 54ch;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text-dim);
}
.page-home .home-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .home-trust__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.page-home .fact {
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: rgba(19, 31, 51, .6);
}
.page-home .fact dt {
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.page-home .fact dd {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.page-home .fact dd .num {
  font-family: var(--font-num);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
}
.page-home .fact--icp dd {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  overflow-wrap: anywhere;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .update-bar {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
  }
  .page-home .home-trust__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
  }
  .page-home .home-trust__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .page-home .hero-rank,
  .page-home .hero-slate {
    grid-column: 1 / -1;
  }
  .page-home .hero-mini {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .page-home .hero-grid {
    gap: 10px;
  }
  .page-home .hero-mini {
    grid-column: 1 / -1;
  }
  .page-home .hero-rank__head {
    flex-direction: column-reverse;
  }
  .page-home .hero-rank__art {
    flex: 0 0 auto;
    width: 100%;
    max-height: 120px;
  }
  .page-home .hero-rank__art img {
    height: 120px;
  }
  .page-home .rank-row {
    grid-template-columns: minmax(44px, auto) auto 1fr;
    row-gap: 4px;
  }
  .page-home .rank-row__note {
    grid-column: 1 / -1;
  }
  .page-home .rank-row__move {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .page-home .slate-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-home .slate-row__time {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  .page-home .slate-row__time::after {
    display: none;
  }
  .page-home .team-card {
    flex: 0 0 80%;
  }
  .page-home .report summary {
    grid-template-columns: auto 1fr 20px;
    row-gap: 6px;
  }
  .page-home .report__league {
    grid-column: 2;
  }
  .page-home .home-trust__facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-mini {
    transition: none;
  }
  .page-home .hero-mini:hover {
    transform: none;
  }
}
