/* ============ 首页 page-home ============ */
.page-home {
  --home-gutter: clamp(18px, 4vw, 44px);
  --home-frame-line: rgba(232, 181, 75, .5);
  display: block;
  overflow-x: clip;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .wrap {
  padding-left: var(--home-gutter);
  padding-right: var(--home-gutter);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 6vw, 76px) 0 clamp(46px, 6vw, 86px);
  border-bottom: 1px solid var(--edge);
  overflow: hidden;
}

.page-home .hero-frame__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.page-home .hero-frame__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .38;
  filter: saturate(.85) contrast(1.05);
}

.page-home .hero-frame__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 12% 8%, rgba(74, 43, 122, .72) 0%, rgba(43, 11, 69, 0) 62%),
    radial-gradient(90% 60% at 92% 96%, rgba(20, 4, 31, .92) 0%, rgba(43, 11, 69, .18) 68%),
    linear-gradient(180deg, rgba(43, 11, 69, .86) 0%, rgba(20, 4, 31, .95) 100%);
}

.page-home .hero-frame__ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  z-index: -1;
  background-image: repeating-linear-gradient(
    90deg,
    var(--edge-strong) 0 1px,
    transparent 1px 26px
  );
  opacity: .5;
  mask-image: linear-gradient(180deg, transparent 0%, #000 78%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 78%);
}

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

.page-home .hero-frame__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-transform: none;
}

.page-home .hero-frame__grid {
  margin-top: clamp(20px, 3vw, 34px);
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: 1fr;
}

.page-home .hero-frame__title {
  margin: 0 0 18px;
  max-width: 15ch;
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-home .hero-frame__title em {
  font-style: normal;
  color: var(--c-gold);
  text-shadow: 0 1px 0 rgba(20, 4, 31, .6);
}

.page-home .hero-frame__lede {
  max-width: 40ch;
  color: var(--c-mist);
}

.page-home .hero-frame__cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 轮次刻度盘 */
.page-home .hero-frame__dial {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--edge);
  background:
    linear-gradient(160deg, rgba(74, 43, 122, .5) 0%, rgba(20, 4, 31, .82) 68%);
  box-shadow: inset 0 1px 0 rgba(255, 217, 138, .16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .hero-frame__dial::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--edge-soft);
  pointer-events: none;
}

.page-home .dial-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--edge-strong);
  background: rgba(20, 4, 31, .6);
}

.page-home .dial-panel .round-dial__value {
  font-size: 15px;
  color: var(--c-paper);
  letter-spacing: .04em;
}

.page-home .dial-panel .round-dial__label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-mist);
  text-transform: uppercase;
}

.page-home .dial-stats {
  margin: 18px 0 0;
  display: grid;
  gap: 0;
}

.page-home .dial-stats__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--edge-soft);
}

.page-home .dial-stats__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .dial-stats dt {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.page-home .dial-stats dd {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .dial-num {
  font-size: clamp(46px, 8vw, 74px);
  line-height: .88;
  color: var(--c-gold-bright);
  letter-spacing: -.02em;
  text-shadow: 0 0 22px rgba(232, 181, 75, .28);
}

.page-home .dial-unit {
  font-size: 13px;
  color: var(--c-mist);
}

.page-home .dial-next {
  font-size: 14px;
  color: var(--c-green);
  letter-spacing: .04em;
}

.page-home .hero-frame__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--home-frame-line);
  z-index: 2;
  pointer-events: none;
}
.page-home .hero-frame__corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.page-home .hero-frame__corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.page-home .hero-frame__corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.page-home .hero-frame__corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ---------- 章节头 ---------- */
.page-home .band-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-home .band-head__title {
  margin: 12px 0 12px;
  letter-spacing: -.01em;
}

.page-home .band-head__note {
  margin: 0;
  color: var(--c-mist);
  font-size: 16px;
  line-height: 1.75;
  max-width: 46ch;
}

/* ---------- 索引带 ---------- */
.page-home .index-band {
  position: relative;
}

.page-home .index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--edge);
}

.page-home .index-item {
  position: relative;
  border-bottom: 1px solid var(--edge);
}

.page-home .index-item__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx body"
    "tag arrow";
  gap: 10px 14px;
  padding: 20px 6px 20px 0;
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.page-home .index-item__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--c-gold);
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}

.page-home .index-item__link:hover,
.page-home .index-item__link:focus-visible {
  background: linear-gradient(90deg, rgba(74, 43, 122, .42) 0%, rgba(74, 43, 122, 0) 82%);
  padding-left: 14px;
  outline: none;
}

.page-home .index-item__link:hover::before,
.page-home .index-item__link:focus-visible::before {
  height: 62%;
}

.page-home .index-item__link:focus-visible {
  box-shadow: 0 0 0 2px var(--c-gold);
}

.page-home .index-item__idx {
  grid-area: idx;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--c-gold);
  padding-top: 4px;
}

.page-home .index-item__body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .index-item__name {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.12;
}

.page-home .index-item__desc {
  color: var(--c-mist);
  font-size: 15px;
  line-height: 1.72;
  max-width: 44ch;
}

.page-home .index-item__tag {
  grid-area: tag;
  justify-self: start;
  align-self: center;
}

.page-home .index-item__arrow {
  grid-area: arrow;
  justify-self: end;
  align-self: center;
  color: var(--c-gold);
  font-size: 20px;
  transition: transform var(--dur) var(--ease);
}

.page-home .index-item__link:hover .index-item__arrow {
  transform: translateX(6px);
}

.page-home .index-item__hover {
  position: absolute;
  right: 0;
  top: 6px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mist);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}

.page-home .index-item:hover .index-item__hover,
.page-home .index-item:focus-within .index-item__hover {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 主场速览 ---------- */
.page-home .host-strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-home .host-strip__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .host-strip__bg img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .22;
  filter: saturate(.7);
}

.page-home .host-strip__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 4, 31, .9) 0%, rgba(43, 11, 69, .78) 45%, rgba(20, 4, 31, .96) 100%);
}

.page-home .host-head {
  max-width: 64ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .host-head__title {
  margin: 12px 0 12px;
}

.page-home .host-head__note {
  margin: 0;
  color: var(--c-mist);
  font-size: 16px;
  line-height: 1.78;
  max-width: 52ch;
}

.page-home .host-head__toggle {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.page-home .host-head__toggle .mode-toggle {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--c-paper);
  background: rgba(20, 4, 31, .72);
  border: 1px solid var(--edge-strong);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .host-head__toggle .mode-toggle[data-mode="away"] {
  color: var(--c-red);
  border-color: rgba(255, 59, 92, .55);
  background: rgba(255, 59, 92, .1);
}

.page-home .host-head__toggle .mode-toggle:hover {
  border-color: var(--c-gold-bright);
  color: var(--c-gold-bright);
}

.page-home .host-head__toggle .mode-toggle:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

.page-home .host-head__hint {
  font-size: 13px;
  color: var(--c-mist);
}

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

.page-home .host-city {
  position: relative;
  background: rgba(20, 4, 31, .62);
  border: 1px solid var(--edge-soft);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .host-city:hover {
  border-color: var(--edge-strong);
  transform: translateY(-3px);
}

.page-home .host-city--lead {
  border-color: var(--edge-strong);
  background:
    linear-gradient(165deg, rgba(74, 43, 122, .62) 0%, rgba(20, 4, 31, .86) 74%);
}

.page-home .host-city a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  text-decoration: none;
  color: inherit;
}

.page-home .host-city a:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: -2px;
}

.page-home .host-city__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c-paper);
}

.page-home .host-city--lead .host-city__name {
  color: var(--c-gold-bright);
}

.page-home .host-city__meta {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-mist);
  line-height: 1.6;
}

.page-home .host-more {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--edge-soft);
  color: var(--c-mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 68ch;
}

.page-home .host-more__link {
  display: inline-block;
  margin-left: 4px;
  color: var(--c-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--edge-strong);
}

.page-home .host-more__link:hover,
.page-home .host-more__link:focus-visible {
  color: var(--c-gold-bright);
  border-color: var(--c-gold-bright);
}

/* ---------- 时间轴 ---------- */
.page-home .wrap-band .axis {
  position: relative;
  padding-left: 26px;
}

.page-home .wrap-band .axis::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-gold) 0%, var(--c-tunnel) 60%, rgba(74, 43, 122, .1) 100%);
}

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

.page-home .axis__node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(74px, auto) 1fr;
  align-items: baseline;
  gap: 6px 16px;
  padding: 14px 16px 14px 6px;
  border-bottom: 1px solid var(--edge-soft);
  transition: background var(--dur) var(--ease);
}

.page-home .axis__node:hover {
  background: rgba(74, 43, 122, .28);
}

.page-home .axis__node:last-child {
  border-bottom: 0;
}

.page-home .axis__flag {
  position: absolute;
  left: -24px;
  top: 20px;
  width: 14px;
  height: 12px;
  background: var(--c-tunnel);
  border: 1px solid var(--edge-strong);
  clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%);
}

.page-home .axis__node--accent .axis__flag {
  background: var(--c-gold);
  border-color: var(--c-gold-bright);
}

.page-home .axis__node--live .axis__flag {
  background: var(--c-green);
  border-color: var(--c-green);
  animation: home-pulse 1.9s var(--ease) infinite;
}

.page-home .axis__round {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--c-gold);
}

.page-home .axis__label {
  font-size: 15px;
  color: var(--c-paper);
  letter-spacing: .01em;
}

.page-home .axis__node--live .axis__label {
  color: var(--c-green);
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.page-home .axis__note {
  margin: 22px 0 0;
  color: var(--c-mist);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
}

/* ---------- 补时横条 ---------- */
.page-home .reel-band {
  position: relative;
  overflow: hidden;
}

.page-home .reel-band::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -30%;
  width: 70%;
  height: 130%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 59, 92, .16) 0%, rgba(255, 59, 92, 0) 62%);
  pointer-events: none;
}

.page-home .reel-band__head {
  position: relative;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  align-items: start;
}

.page-home .reel-band__head .t-h2 {
  margin: 12px 0 12px;
  max-width: 22ch;
}

.page-home .reel-band__note {
  margin: 0;
  color: var(--c-mist);
  font-size: 16px;
  line-height: 1.78;
  max-width: 46ch;
}

.page-home .reel-cover {
  margin: 0;
}

.page-home .reel-cover .media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge);
}

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

.page-home .reel-cover .media__stamp {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--c-night);
  background: var(--c-red);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

.page-home .reel-band__scroll {
  margin-top: clamp(26px, 4vw, 40px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--edge-strong) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .reel-band__scroll:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
}

.page-home .reel-list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  gap: 12px;
  min-width: max-content;
}

.page-home .reel-item {
  flex: 0 0 auto;
  width: 178px;
  padding: 16px 14px 18px;
  border: 1px solid var(--edge-soft);
  background: linear-gradient(170deg, rgba(74, 43, 122, .48) 0%, rgba(20, 4, 31, .8) 78%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .reel-item:hover {
  border-color: rgba(255, 59, 92, .6);
  transform: translateY(-4px);
}

.page-home .reel-item__clock {
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-red);
}

.page-home .reel-item__line {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.page-home .reel-band__foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 合作入口 ---------- */
.page-home .coop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .coop-card {
  position: relative;
  padding: 24px 20px 22px;
  background: linear-gradient(168deg, rgba(74, 43, 122, .42) 0%, rgba(20, 4, 31, .84) 76%);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .coop-card:hover {
  border-color: var(--edge-strong);
  transform: translateY(-4px);
}

.page-home .coop-card__idx {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-gold);
  margin-bottom: 14px;
}

.page-home .coop-card__title {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -.01em;
}

.page-home .coop-card__text {
  margin: 0 0 18px;
  color: var(--c-mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .coop-card__link {
  display: inline-block;
  font-size: 14px;
  color: var(--c-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--edge-strong);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .coop-card__link:hover,
.page-home .coop-card__link:focus-visible {
  color: var(--c-gold-bright);
  border-color: var(--c-gold-bright);
}

.page-home .coop-foot {
  margin-top: clamp(26px, 3vw, 38px);
  padding-top: 24px;
  border-top: 1px solid var(--edge-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: center;
}

.page-home .coop-foot__text {
  margin: 0;
  color: var(--c-mist);
  font-size: 15px;
  line-height: 1.82;
  max-width: 62ch;
}

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

/* ---------- 平板以上 ---------- */
@media (min-width: 720px) {
  .page-home .hero-frame__grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }

  .page-home .index-item__link {
    grid-template-columns: auto 1fr auto 40px;
    grid-template-areas: "idx .page-home tag arrow";
    align-items: center;
    padding: 22px 10px 22px 0;
  }

  .page-home .index-item__link:hover,
  .page-home .index-item__link:focus-visible {
    padding-left: 20px;
  }

  .page-home .reel-band__head {
    grid-template-columns: 1.15fr .85fr;
    gap: 34px;
    align-items: end;
  }

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

  .page-home .coop-foot {
    grid-template-columns: 1fr auto;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1080px) {
  .page-home .hero-frame {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(72px, 7vw, 112px);
  }

  .page-home .hero-frame__grid {
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(40px, 5vw, 84px);
  }

  .page-home .host-cities {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .axis__node {
    grid-template-columns: 110px 1fr;
    padding: 16px 20px 16px 6px;
  }

  .page-home .reel-item {
    width: 196px;
  }

  .page-home .coop-card {
    padding: 28px 24px 26px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .axis__node--live .axis__flag {
    animation: none;
  }
  .page-home .index-item__link,
  .page-home .index-item__arrow,
  .page-home .host-city,
  .page-home .reel-item,
  .page-home .coop-card {
    transition: none;
  }
}
