.page-home {
  --home-pad: clamp(52px, 8vw, 104px);
  --home-gap: clamp(18px, 3vw, 34px);
  background: var(--ink-900);
  color: var(--paper);
}

/* ---------------- 首屏 ---------------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 78px)) 0 clamp(40px, 6.5vw, 92px);
  background:
    radial-gradient(115% 78% at 88% -12%, rgba(31, 216, 180, 0.20), transparent 62%),
    radial-gradient(85% 65% at -8% 108%, rgba(255, 90, 43, 0.13), transparent 60%),
    var(--ink-900);
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.page-home .hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
}

.page-home .hero__eyebrow-text {
  color: var(--muted);
  letter-spacing: 0.06em;
}

.page-home .hero__title {
  margin: 0 0 20px;
  max-width: 18em;
  font-size: clamp(29px, 5.2vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .hero__lede {
  margin: 0 0 26px;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--cyan-300);
}

/* 旧入口提示条 */
.page-home .legacy-notice {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 179, 122, 0.34);
  border-left: 3px solid var(--warn);
  background: linear-gradient(90deg, rgba(255, 179, 122, 0.13), rgba(255, 179, 122, 0.03));
}

.page-home .legacy-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--warn);
}

.page-home .legacy-notice__more {
  margin-top: 12px;
}

.page-home .legacy-notice__more summary {
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan-500);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .legacy-notice__more summary::-webkit-details-marker {
  display: none;
}

.page-home .legacy-notice__more summary::after {
  content: "↓";
  font-family: var(--font-num);
  transition: transform 0.3s var(--ease);
}

.page-home .legacy-notice__more[open] summary::after {
  transform: rotate(180deg);
}

.page-home .legacy-notice__list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-home .legacy-notice__list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper);
}

/* 首屏入口卡 */
.page-home .entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .entry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "no desc";
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(143, 243, 222, 0.14);
  background: linear-gradient(155deg, rgba(14, 47, 42, 0.95), rgba(7, 33, 29, 0.9));
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(43, 245, 200, 0.55);
  background: linear-gradient(155deg, rgba(18, 66, 59, 0.95), rgba(7, 33, 29, 0.95));
}

.page-home .entry-card__no {
  grid-area: no;
  align-self: center;
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan-500);
  letter-spacing: 0.04em;
}

.page-home .entry-card__name {
  grid-area: name;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .entry-card__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* 右侧数据条 */
.page-home .hero__rail {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-home .rail__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(43, 245, 200, 0.18);
}

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

.page-home .rail__panel {
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(43, 245, 200, 0.18);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

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

.page-home .rail__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.page-home .rail__badge {
  flex: none;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(43, 245, 200, 0.14);
  color: var(--cyan-500);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .ticker {
  height: 268px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.page-home .ticker__inner {
  display: flex;
  flex-direction: column;
  animation: home-rail-up 30s linear infinite;
}

.page-home .ticker__inner:hover {
  animation-play-state: paused;
}

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

.page-home .tick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "sport time"
    "stage time";
  align-items: center;
  column-gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(138, 168, 161, 0.22);
}

.page-home .tick__sport {
  grid-area: sport;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .tick__stage {
  grid-area: stage;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .tick__time {
  grid-area: time;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-500);
  white-space: nowrap;
}

.page-home .rail__foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(143, 243, 222, 0.14);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

@keyframes home-rail-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ---------------- 章节索引带 ---------------- */
.page-home .idx-band {
  position: relative;
  padding: clamp(34px, 5vw, 58px) 0;
  background: linear-gradient(96deg, var(--grad-b), var(--cyan-500) 55%, var(--cyan-300));
  clip-path: polygon(0 16%, 100% 0%, 100% 84%, 0% 100%);
}

.page-home .idx-band__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .idx-band__list a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(7, 33, 29, 0.22);
  background: rgba(7, 33, 29, 0.12);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-home .idx-band__list a:hover,
.page-home .idx-band__list a:focus-visible {
  background: rgba(7, 33, 29, 0.28);
}

.page-home .idx-band__list a[aria-current="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--cyan-500);
}

/* ---------------- 覆盖范围 ---------------- */
.page-home .cov {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .cov__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(43, 245, 200, 0.16);
}

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

.page-home .cov__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .data-card__value {
  font-family: var(--font-num);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan-500);
}

.page-home .data-card__value span {
  font-family: var(--font-body);
  font-size: 0.42em;
  font-weight: 600;
  margin-left: 4px;
  color: var(--cyan-300);
}

/* ---------------- 卡点速查 ---------------- */
.page-home .quick__media {
  margin: clamp(24px, 4vw, 38px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(43, 245, 200, 0.14);
}

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

.page-home .quick__caption {
  padding: 14px 18px;
  background: var(--ink-800);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .quick__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .fix {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(143, 243, 222, 0.12);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.page-home .fix__tag {
  margin: 0 0 10px;
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: rgba(43, 245, 200, 0.3);
}

.page-home .fix__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .fix__steps {
  counter-reset: home-step;
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.page-home .fix__steps li {
  counter-increment: home-step;
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .fix__steps li:last-child {
  margin-bottom: 0;
}

.page-home .fix__steps li::before {
  content: counter(home-step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(43, 245, 200, 0.5);
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--cyan-500);
}

.page-home .fix__link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 43, 0.4);
  padding-bottom: 2px;
}

.page-home .fix__link:hover,
.page-home .fix__link:focus-visible {
  color: var(--warn);
  border-bottom-color: var(--warn);
}

/* ---------------- 我的控制台 ---------------- */
.page-home .console__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .console__lede {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .feat {
  padding: 16px 18px 16px 22px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--cyan-500);
  background: linear-gradient(90deg, rgba(18, 66, 59, 0.75), rgba(14, 47, 42, 0.35));
}

.page-home .feat__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .feat__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .console__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(43, 245, 200, 0.16);
}

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

/* ---------------- 运营实力 ---------------- */
.page-home .scale {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(43, 245, 200, 0.10), transparent 60%),
    var(--ink-900);
}

.page-home .scale__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .scale__item {
  padding: 18px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(143, 243, 222, 0.12);
  background: rgba(14, 47, 42, 0.6);
}

.page-home .scale__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan-500);
}

.page-home .scale__unit {
  font-family: var(--font-body);
  font-size: 0.44em;
  font-weight: 600;
  margin-left: 3px;
  color: var(--cyan-300);
}

.page-home .scale__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .scale__notes {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed rgba(138, 168, 161, 0.28);
}

.page-home .scale__note {
  margin: 0;
  max-width: 68em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------------- 开始使用 ---------------- */
.page-home .start__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(255, 90, 43, 0.32), transparent 62%),
    linear-gradient(140deg, var(--ink-700), var(--ink-900));
  border: 1px solid rgba(255, 90, 43, 0.28);
}

.page-home .start__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .start__text {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cyan-300);
}

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

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

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

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

@media (min-width: 900px) {
  .page-home .cov {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }

  .page-home .console__wrap {
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  }

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

@media (min-width: 980px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  }

  .page-home .hero__rail {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-home .ticker {
    height: 320px;
  }
}

@media (max-width: 719px) {
  .page-home .idx-band {
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  }

  .page-home .idx-band__list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .idx-band__list li {
    flex: none;
  }

  .page-home .ticker {
    height: 232px;
  }

  .page-home .start__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

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

  .page-home .ticker {
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .page-home .entry-card:hover,
  .page-home .entry-card:focus-visible {
    transform: none;
  }
}
