.page-home {
  --accent-league: var(--gold);
  --accent-cup: var(--yellow);
  --accent-continental: var(--magenta);
  --home-line: var(--line);
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
  font-family: var(--font-sans);
  padding-bottom: 72px;
}

.page-home a {
  color: inherit;
}

.page-home .mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.page-home .page-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}

.page-home .page-crumb__sep {
  color: var(--gold);
}

/* ============ 首屏框景 ============ */
.page-home .hero-frame {
  position: relative;
  width: min(calc(100% - 24px), var(--w-max));
  margin: 20px auto 0;
  padding: 26px 20px 30px;
  background:
    radial-gradient(120% 100% at 84% 4%, rgba(29, 58, 82, .92), rgba(11, 27, 43, 0) 58%),
    linear-gradient(165deg, #132B41 0%, #0B1B2B 60%, #081522 100%);
  border: 1px solid var(--line-gold);
  border-radius: 3px 26px 3px 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.page-home .hero-frame__ticks {
  position: absolute;
  inset: 13px;
  pointer-events: none;
  opacity: .75;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 22px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 22px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 1px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 22px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 22px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1px 22px no-repeat;
}

.page-home .hero-frame__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .hero-frame__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 7.4vw, 52px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero-frame__lede {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: rgba(238, 243, 247, .82);
  max-width: 46em;
}

/* 客场胜率大数字 */
.page-home .hero-stat {
  margin-top: 26px;
  padding: 20px 18px 22px;
  background: rgba(8, 21, 34, .6);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: 4px 20px 4px 20px;
  outline: none;
}

.page-home .hero-stat__num {
  margin: 6px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--gold-lite);
  line-height: 1;
}

.page-home .hero-stat .stat__value {
  font-size: clamp(64px, 19vw, 132px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.page-home .hero-stat .stat__unit {
  font-size: clamp(22px, 6vw, 40px);
  font-weight: 500;
  color: var(--gold);
}

.page-home .hero-stat__label {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
}

.page-home .hero-stat__meta {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .hero-stat__meta-item {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.page-home .hero-stat__meta-item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .hero-stat__meta-item dd {
  margin: 5px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  color: var(--white);
}

@media (hover: hover) {
  .page-home .hero-stat__meta {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .34s var(--ease), opacity .24s var(--ease), margin-top .34s var(--ease);
  }

  .page-home .hero-stat:hover .hero-stat__meta,
  .page-home .hero-stat:focus-within .hero-stat__meta {
    max-height: 260px;
    margin-top: 16px;
    opacity: 1;
  }
}

/* 主客场分项条 */
.page-home .hero-frame__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px 22px 4px 22px;
  overflow: hidden;
  background: var(--ink-deep);
}

.page-home .hero-frame__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(.62) contrast(1.06) brightness(.78);
}

.page-home .hero-frame__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 43, .3);
  pointer-events: none;
}

.page-home .hero-frame__media .media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(238, 243, 247, .74);
}

.page-home .split-bars {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .split-bars__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.page-home .split-bars__name {
  font-size: 13px;
  color: var(--muted);
}

.page-home .split-bars__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(143, 163, 181, .18);
  overflow: hidden;
}

.page-home .split-bars__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-home .split-bars__fill--home {
  width: 61.2%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lite));
}

.page-home .split-bars__fill--away {
  width: 52.6%;
  background: linear-gradient(90deg, #1D3A52, var(--green));
}

.page-home .split-bars__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--white);
}

/* 三线快速定位 */
.page-home .line-switch {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px 18px 4px 18px;
  overflow: hidden;
}

.page-home .line-switch__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(11, 27, 43, .92);
  text-decoration: none;
  border-top: 2px solid transparent;
  transition: background .24s var(--ease), border-color .24s var(--ease);
}

.page-home .line-switch__key {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-home .line-switch__val {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .line-switch__item--league {
  border-top-color: var(--accent-league);
}

.page-home .line-switch__item--cup {
  border-top-color: var(--accent-cup);
}

.page-home .line-switch__item--continental {
  border-top-color: var(--accent-continental);
}

.page-home .line-switch__item:hover,
.page-home .line-switch__item:focus-visible {
  background: rgba(29, 58, 82, .95);
}

/* ============ 斜向分割带 ============ */
.page-home .slash-divider {
  width: 100%;
  height: 44px;
  margin: 44px 0;
  overflow: hidden;
}

.page-home .slash-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .slash-divider--flip svg {
  transform: scaleX(-1);
}

/* ============ 章节头 ============ */
.page-home .sec-head {
  margin-bottom: 26px;
}

.page-home .sec-head .section-title {
  margin: 10px 0 8px;
  font-size: clamp(24px, 5.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .sec-head__note {
  margin: 0;
  max-width: 52em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

/* ============ 三线赛事地图 ============ */
.page-home .lines-map {
  width: min(calc(100% - 24px), var(--w-max));
  margin: 0 auto;
}

.page-home .lines-grid {
  display: grid;
  gap: 18px;
}

.page-home .line-panel {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-home .line-panel--league {
  border-radius: 4px 26px 4px 26px;
}

.page-home .line-panel--cup {
  border-radius: 26px 4px 26px 4px;
  background: linear-gradient(170deg, rgba(29, 58, 82, .96), rgba(19, 43, 65, .96));
}

.page-home .line-panel--continental {
  border-radius: 4px 4px 30px 30px;
  background: linear-gradient(180deg, rgba(122, 46, 92, .82), rgba(19, 43, 65, .96) 62%);
}

.page-home .line-panel__edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-league);
}

.page-home .line-panel--cup .line-panel__edge {
  background: linear-gradient(90deg, var(--accent-cup), var(--red));
}

.page-home .line-panel--continental .line-panel__edge {
  background: linear-gradient(90deg, var(--magenta), var(--magenta-deep));
}

.page-home .line-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

.page-home .line-panel__count .mono-num {
  font-size: 20px;
  color: var(--gold-lite);
  margin-right: 2px;
}

.page-home .line-panel__title {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .line-panel__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(238, 243, 247, .72);
}

.page-home .line-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .line-panel__list li {
  padding: 9px 0;
  font-size: 14.5px;
  line-height: 1.6;
  border-bottom: 1px dashed var(--line-soft);
  color: rgba(238, 243, 247, .9);
}

.page-home .line-panel__list li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent-league);
}

.page-home .line-panel--cup .line-panel__list li::before {
  color: var(--accent-cup);
}

.page-home .line-panel--continental .line-panel__list li::before {
  color: var(--accent-continental);
}

.page-home .line-panel__now {
  margin: 16px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--gold-lite);
  background: rgba(8, 21, 34, .55);
  border-left: 2px solid var(--mark);
  border-radius: 0 6px 6px 0;
}

.page-home .line-panel--cup .line-panel__now {
  color: var(--yellow);
}

.page-home .line-panel--continental .line-panel__now {
  color: #E7A8C9;
}

/* ============ 窄索引带 ============ */
.page-home .ticker-band {
  margin-top: 46px;
  padding: 22px var(--gutter);
  background: linear-gradient(90deg, rgba(19, 43, 65, .94), rgba(11, 27, 43, .55));
  border-block: 1px solid var(--line);
}

.page-home .ticker-band__inner {
  max-width: var(--w-max);
  margin-inline: auto;
  display: grid;
  gap: 20px;
  align-items: center;
}

.page-home .ticker-band__media {
  margin: 0;
  width: 100%;
  max-width: 168px;
  border: 1px solid var(--line);
  border-radius: 4px 16px 4px 16px;
  overflow: hidden;
}

.page-home .ticker-band__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.55) contrast(1.08) brightness(.72);
}

.page-home .ticker-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .ticker-band__item p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(238, 243, 247, .82);
}

/* ============ 当期看点 ============ */
.page-home .highlights {
  width: min(calc(100% - 24px), var(--w-max));
  margin: 52px auto 0;
  display: grid;
  gap: 24px;
}

.page-home .highlights__media {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px 4px 26px 4px;
  overflow: hidden;
  align-self: start;
}

.page-home .highlights__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.5) contrast(1.1) brightness(.7);
}

.page-home .highlights__media .media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(238, 243, 247, .8);
}

.page-home .highlights .section-title {
  margin: 10px 0 20px;
  font-size: clamp(24px, 5.4vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.page-home .hl-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 14px;
  background: rgba(19, 43, 65, .62);
  border-left: 3px solid var(--mark);
}

.page-home .hl-item--spot {
  border-left-color: var(--gold);
  border-radius: 4px 14px 0 0;
}

.page-home .hl-item--card {
  border-left-color: var(--yellow);
}

.page-home .hl-item--diff {
  border-left-color: var(--green);
  border-radius: 0 0 14px 4px;
}

.page-home .hl-item__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-lite);
  background: rgba(8, 21, 34, .8);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.page-home .hl-item--card .hl-item__icon {
  color: var(--yellow);
}

.page-home .hl-item--diff .hl-item__icon {
  color: #7CD3A9;
}

.page-home .hl-item__icon svg {
  width: 22px;
  height: 22px;
}

.page-home .hl-item__meta {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-home .hl-item__title {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .hl-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(238, 243, 247, .76);
}

/* ============ 交付方式 ============ */
.page-home .delivery {
  width: min(calc(100% - 24px), var(--w-max));
  margin: 0 auto;
}

.page-home .delivery__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: delivery;
}

.page-home .delivery__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 18px;
  background: rgba(19, 43, 65, .55);
  border-left: 3px solid var(--gold);
}

.page-home .delivery__item--open {
  border-radius: 4px 16px 0 0;
}

.page-home .delivery__item--track {
  border-left-color: var(--green);
  background: rgba(19, 43, 65, .72);
}

.page-home .delivery__item--api {
  border-left-color: var(--magenta);
  border-radius: 0 0 16px 4px;
}

.page-home .delivery__idx {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.page-home .delivery__item--track .delivery__idx {
  color: #7CD3A9;
}

.page-home .delivery__item--api .delivery__idx {
  color: #E7A8C9;
}

.page-home .delivery__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.page-home .delivery__body p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(238, 243, 247, .84);
}

.page-home .delivery__fit {
  font-family: var(--font-mono);
  font-size: 12.5px !important;
  letter-spacing: .06em;
  color: var(--muted) !important;
}

/* ============ 电脑端数据中心 ============ */
.page-home .desk {
  margin-top: 56px;
  padding: 42px 0;
  background:
    linear-gradient(120deg, rgba(11, 27, 43, 0) 42%, rgba(29, 58, 82, .8) 42%),
    var(--ink-deep);
  border-block: 1px solid var(--line-soft);
}

.page-home .desk__inner {
  width: min(calc(100% - 24px), var(--w-max));
  margin-inline: auto;
  display: grid;
  gap: 28px;
}

.page-home .desk .section-title {
  margin: 10px 0 14px;
  font-size: clamp(24px, 5.2vw, 36px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .desk__copy > p {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(238, 243, 247, .8);
}

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

.page-home .desk__facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14.5px;
}

.page-home .desk__fact-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
  min-width: 76px;
}

.page-home .desk__fact-val {
  color: rgba(238, 243, 247, .86);
}

.page-home .desk__media {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-gold);
  border-radius: 22px 4px 22px 4px;
  overflow: hidden;
  align-self: start;
}

.page-home .desk__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.55) contrast(1.1) brightness(.72);
}

.page-home .desk__media .media-frame__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(238, 243, 247, .78);
}

/* ============ 合作与联络 ============ */
.page-home .contact-strip {
  width: min(calc(100% - 24px), var(--w-max));
  margin: 56px auto 0;
  padding: 30px 20px;
  background: linear-gradient(150deg, rgba(29, 58, 82, .92), rgba(11, 27, 43, .96));
  border: 1px solid var(--line);
  border-radius: 4px 28px 4px 28px;
}

.page-home .contact-strip__inner {
  display: grid;
  gap: 26px;
}

.page-home .contact-strip .section-title {
  margin: 10px 0 12px;
  font-size: clamp(23px, 5vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .contact-strip__lead p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(238, 243, 247, .8);
}

.page-home .contact-strip__types {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .contact-strip__types li {
  padding: 11px 0;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
  color: rgba(238, 243, 247, .88);
}

.page-home .contact-strip__types li::before {
  content: "／";
  margin-right: 8px;
  color: var(--gold);
}

.page-home .contact-strip__channels {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .contact-strip__line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
}

.page-home .contact-strip__line .mono-label {
  min-width: 42px;
  color: var(--muted);
}

.page-home .contact-strip__line a {
  color: var(--gold-lite);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 1px;
}

.page-home .contact-strip__line .mono-num {
  color: var(--white);
}

.page-home .contact-strip__note {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .contact-strip__channels .btn {
  justify-self: start;
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-home .hero-frame {
    width: min(calc(100% - 48px), var(--w-max));
    padding: 36px 34px 40px;
  }

  .page-home .line-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .ticker-band__inner {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 28px;
  }

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

  .page-home .delivery__item {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 24px 24px;
  }

  .page-home .contact-strip {
    width: min(calc(100% - 48px), var(--w-max));
    padding: 40px 36px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-frame__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 40px;
    align-items: start;
  }

  .page-home .line-panel__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .page-home .lines-grid {
    grid-template-columns: 1.04fr .92fr 1.04fr;
    gap: 22px;
    align-items: start;
  }

  .page-home .line-panel:nth-child(2) {
    margin-top: 44px;
  }

  .page-home .line-panel:nth-child(3) {
    margin-top: 14px;
  }

  .page-home .highlights {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 40px;
    align-items: start;
    width: min(calc(100% - 48px), var(--w-max));
  }

  .page-home .desk__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .78fr);
    gap: 48px;
    width: min(calc(100% - 48px), var(--w-max));
    align-items: start;
  }

  .page-home .delivery,
  .page-home .lines-map {
    width: min(calc(100% - 48px), var(--w-max));
  }

  .page-home .contact-strip__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr);
    gap: 36px;
  }
}

@media (min-width: 1180px) {
  .page-home .hero-frame {
    padding: 44px 44px 48px;
  }

  .page-home .hero-stat {
    padding: 24px 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition: none !important;
    animation: none !important;
  }
}
