.page-home {
  --home-gap: clamp(16px, 3vw, 28px);
  --home-radius: 2px;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 5vw, 54px) clamp(32px, 6vw, 72px);
  background:
    radial-gradient(120% 90% at 82% 4%, rgba(57, 245, 212, 0.16), transparent 58%),
    radial-gradient(90% 80% at 4% 96%, rgba(255, 107, 26, 0.13), transparent 62%),
    var(--ink);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -14%;
  width: 78%;
  height: 62%;
  background: linear-gradient(120deg, rgba(57, 245, 212, 0.18), rgba(255, 107, 26, 0.14));
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(76%, 940px);
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.26;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.page-home .home-hero__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.page-home .home-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 7.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--chalk);
}

.page-home .home-hero .lede {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.78;
  color: var(--mist);
}

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

/* ---------- 入口栈 ---------- */
.page-home .entry-stack {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .entry__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 13px 18px;
  text-decoration: none;
  background: linear-gradient(100deg, rgba(20, 83, 63, 0.95), rgba(13, 59, 46, 0.82));
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  transform: translateX(5px);
  border-color: var(--cyan);
  background: linear-gradient(100deg, rgba(20, 83, 63, 1), rgba(57, 245, 212, 0.14));
}

.page-home .entry__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .entry__body {
  min-width: 0;
}

.page-home .entry__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.page-home .entry__desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .entry__arrow {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  transition: transform var(--dur) var(--ease);
}

.page-home .entry__link:hover .entry__arrow,
.page-home .entry__link:focus-visible .entry__arrow {
  transform: translateX(4px);
}

/* ---------- 比分卡 ---------- */
.page-home .home-hero__board {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
  min-width: 0;
}

.page-home .score-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(155deg, var(--stand), var(--ink) 74%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .score-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
}

.page-home .score-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .score-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 29, 23, 0.35), rgba(6, 29, 23, 0.92));
}

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

.page-home .score-card__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-hi);
}

.page-home .score-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.18);
}

.page-home .score-card__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .score-card__title span {
  color: var(--line);
  margin-inline: 4px;
}

.page-home .score-card__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.page-home .score-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  font-size: 13px;
  color: var(--chalk);
  line-height: 1.4;
}

.page-home .crest {
  width: 40px;
  height: 44px;
  background: linear-gradient(160deg, var(--cyan), var(--turf));
  clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
}

.page-home .crest--b {
  background: linear-gradient(160deg, var(--orange), var(--stand));
}

.page-home .score-card__digits {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 10vw, 3.5rem);
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 26px rgba(57, 245, 212, 0.4);
}

.page-home .score-card__digits em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--mist);
}

.page-home .score-card__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .score-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 107, 90, 0.65);
}

.page-home .score-card__link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .score-card__link:hover,
.page-home .score-card__link:focus-visible {
  color: var(--cyan-hi);
  border-bottom-color: var(--cyan-hi);
}

/* ---------- 关注与设备 ---------- */
.page-home .home-hero__pair {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.page-home .team-card {
  padding: 16px;
  background: linear-gradient(170deg, rgba(20, 83, 63, 0.92), rgba(13, 59, 46, 0.95));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .team-card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.page-home .team-card__img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  opacity: 0.75;
  border: 1px solid rgba(44, 107, 90, 0.8);
  margin-bottom: 12px;
}

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

.page-home .team-card__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--chalk);
}

.page-home .team-card__dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .team-card__list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber);
  margin-left: auto;
}

.page-home .team-card__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .phone-card {
  margin: 0;
  padding: 12px;
  background: linear-gradient(170deg, rgba(13, 59, 46, 0.9), rgba(6, 29, 23, 0.95));
  border: 1px solid var(--line);
}

.page-home .phone-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(44, 107, 90, 0.8);
}

.page-home .phone-card__cap {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 比分滚动带 ---------- */
.page-home .ticker {
  position: relative;
  overflow: hidden;
  background: var(--stand);
  border-block: 1px solid var(--line);
}

.page-home .ticker::before,
.page-home .ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.page-home .ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--stand), transparent);
}

.page-home .ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--stand), transparent);
}

.page-home .ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: home-ticker-scroll 46s linear infinite;
}

.page-home .ticker:hover .ticker__track,
.page-home .ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

.page-home .ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  white-space: nowrap;
  border-right: 1px solid rgba(44, 107, 90, 0.6);
}

.page-home .ticker__item b {
  color: var(--chalk);
  font-weight: 600;
}

.page-home .ticker__item em {
  font-style: normal;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.page-home .ticker__score {
  color: var(--cyan-hi);
  font-weight: 700;
}

@keyframes home-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding-block: clamp(44px, 7vw, 84px);
}

.page-home .section__head {
  margin-bottom: clamp(22px, 4vw, 38px);
  max-width: 66ch;
}

/* ---------- 目录地图 ---------- */
.page-home .home-map {
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(57, 245, 212, 0.1), transparent 60%),
    var(--ink);
}

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

.page-home .map-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 18px;
  text-decoration: none;
  background: rgba(13, 59, 46, 0.55);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .map-link:hover,
.page-home .map-link:focus-visible {
  transform: translateY(-2px);
  border-left-color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(20, 83, 63, 0.9);
}

.page-home .map-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .map-body {
  min-width: 0;
}

.page-home .map-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.page-home .map-desc {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .map-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}

.page-home .map-link:hover .map-arrow,
.page-home .map-link:focus-visible .map-arrow {
  color: var(--cyan);
}

/* ---------- 订阅 ---------- */
.page-home .home-sub {
  background: linear-gradient(180deg, var(--ink), rgba(13, 59, 46, 0.55) 55%, var(--ink));
}

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

.page-home .sub-types {
  display: grid;
  gap: 12px;
}

.page-home .sub-type {
  padding: 16px 18px;
  background: linear-gradient(100deg, rgba(20, 83, 63, 0.68), rgba(6, 29, 23, 0.72));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .sub-type__title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--chalk);
}

.page-home .sub-type__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .sub-flow {
  padding: clamp(18px, 3vw, 26px);
  background: var(--stand);
  border: 1px solid var(--line);
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .sub-flow__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.page-home .sub-flow__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.page-home .sub-flow__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .sub-flow__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .sub-flow__body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--chalk);
  margin-bottom: 2px;
}

/* ---------- 旧入口 ---------- */
.page-home .home-legacy {
  background: var(--ink);
}

.page-home .home-legacy__inner {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.page-home .home-legacy__copy .section__title {
  margin-top: 10px;
}

.page-home .home-legacy__copy .btn {
  margin-top: 20px;
}

.page-home .legacy-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--line);
  display: grid;
  gap: 16px;
}

.page-home .legacy-list li {
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .legacy-list li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .legacy-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--chalk);
  margin-bottom: 2px;
}

/* ---------- 三步开始 ---------- */
.page-home .home-start {
  background:
    radial-gradient(80% 70% at 10% 0%, rgba(255, 107, 26, 0.12), transparent 60%),
    var(--ink);
  border-top: 1px solid rgba(44, 107, 90, 0.5);
}

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

.page-home .start-step {
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(20, 83, 63, 0.72), rgba(6, 29, 23, 0.92));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .start-step:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.page-home .start-step--accent {
  border-color: rgba(255, 107, 26, 0.55);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.16), rgba(6, 29, 23, 0.94));
}

.page-home .start-step__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .start-step__title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--chalk);
}

.page-home .start-step__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-start__foot {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .home-start__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 245, 212, 0.45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-start__foot a:hover,
.page-home .home-start__foot a:focus-visible {
  color: var(--cyan-hi);
  border-bottom-color: var(--cyan-hi);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .home-hero__pair {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .page-home .phone-card__img {
    height: 200px;
  }
}

@media (min-width: 760px) {
  .page-home .map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

@media (min-width: 900px) {
  .page-home .home-sub__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-home .home-legacy__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

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

@media (min-width: 1000px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .home-hero h1 {
    font-size: clamp(2.6rem, 3.4vw, 3.45rem);
  }

  .page-home .sub-flow__list {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker {
    overflow-x: auto;
  }

  .page-home .ticker__track {
    animation: none;
  }

  .page-home .entry__link,
  .page-home .map-link,
  .page-home .start-step,
  .page-home .entry__arrow,
  .page-home .map-arrow {
    transition: none;
  }

  .page-home .entry__link:hover,
  .page-home .map-link:hover,
  .page-home .start-step:hover {
    transform: none;
  }
}
