.page-home {
  --home-gap: clamp(56px, 9vw, 112px);
  --home-pad: clamp(18px, 2.6vw, 32px);
  --home-card: rgba(13, 42, 36, .62);
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

.page-home .home-sec {
  margin-top: var(--home-gap);
}

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

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  padding-top: clamp(18px, 3.5vw, 40px);
}

.page-home .home-hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 100% at 6% -12%, rgba(43, 240, 206, .16), transparent 54%),
    radial-gradient(90% 86% at 106% 112%, rgba(124, 134, 240, .14), transparent 58%),
    linear-gradient(165deg, #0B241E 0%, #061A16 64%);
}

.page-home .home-hero__frame::before,
.page-home .home-hero__frame::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 9px;
  pointer-events: none;
  z-index: 2;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 27px);
}

.page-home .home-hero__frame::before { top: 8px; }
.page-home .home-hero__frame::after { bottom: 8px; }

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  z-index: 0;
}

.page-home .home-hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 4vw, 54px) clamp(30px, 4vw, 52px);
}

.page-home .home-hero__ruler { display: none; }

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(43, 240, 206, .07);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.page-home .home-hero__title i {
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-hero__lead {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.82;
  color: rgba(234, 246, 242, .82);
}

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

.page-home .home-hero__side {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(6, 26, 22, .62);
}

.page-home .home-hero__side-label {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-home .home-hero__mini {
  position: relative;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: rgba(23, 66, 58, .25);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px);
}

.page-home .home-hero__mini::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 70%;
  width: 2px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(243, 194, 75, .55);
}

.page-home .home-hero__side-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-hero__side-note:last-child { margin-bottom: 0; }

.page-home .home-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.page-home .home-hero__stat {
  padding: 18px clamp(16px, 2.4vw, 28px);
  background: #08201B;
}

.page-home .home-hero__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: .02em;
  color: var(--cyan);
}

.page-home .home-hero__stat-num small {
  margin-left: 5px;
  font-size: .46em;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .home-hero__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 章节头 ---------- */
.page-home .home-chapter {
  position: relative;
  margin-bottom: clamp(22px, 3vw, 38px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-home .home-chapter::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-home .home-chapter__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--cyan);
}

.page-home .home-chapter__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.01em;
  max-width: 24ch;
}

.page-home .home-chapter__sub {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 图片容器 ---------- */
.page-home .home-fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

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

.page-home .home-fig figcaption {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 01 轮次 ---------- */
.page-home .home-rounds {
  display: grid;
  gap: 26px;
}

.page-home .home-rounds__shell {
  position: relative;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(13, 42, 36, .88), rgba(6, 26, 22, .6));
}

.page-home .home-rounds__track {
  display: flex;
  overflow-x: auto;
  padding: 12px 10px 16px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .home-rounds__track::-webkit-scrollbar { height: 6px; }
.page-home .home-rounds__track::-webkit-scrollbar-track { background: transparent; }
.page-home .home-rounds__track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--radius-pill);
}

.page-home .home-rounds__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rounds__item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 58px;
  padding: 12px 6px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(6, 26, 22, .72);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .home-rounds__item .num {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink);
}

.page-home .home-rounds__item em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .home-rounds__item:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.page-home .home-rounds__item--now {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(243, 194, 75, .16), rgba(6, 26, 22, .7));
}

.page-home .home-rounds__item--now .num { color: var(--amber); }
.page-home .home-rounds__item--now em { color: rgba(243, 194, 75, .78); }

.page-home .home-rounds__hint {
  margin: 14px 0 20px;
}

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

.page-home .home-rounds__facts li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 246, 242, .8);
}

.page-home .home-rounds__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background: var(--teal);
}

/* ---------- 02 订阅 ---------- */
.page-home .home-sub {
  display: grid;
  gap: 26px;
}

.page-home .home-sub__panel {
  padding: var(--home-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 140, 59, .07), transparent 46%),
    var(--home-card);
}

.page-home .home-sub__meter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-sub__meter .num {
  font-size: 26px;
  color: var(--orange);
  letter-spacing: .02em;
}

.page-home .home-sub__group { margin-bottom: 20px; }

.page-home .home-sub__group-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--muted);
}

.page-home .home-sub__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-sub__team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(23, 66, 58, .34);
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-sub__box {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid var(--teal);
  border-radius: 4px;
}

.page-home .home-sub__team--on {
  border-color: rgba(255, 140, 59, .5);
  background: rgba(255, 140, 59, .1);
}

.page-home .home-sub__team--on .home-sub__box {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 140, 59, .5);
}

/* ---------- 03 场馆 ---------- */
.page-home .home-venues__banner {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

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

.page-home .home-venues__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--home-card);
  -webkit-overflow-scrolling: touch;
}

.page-home .home-venues__table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.page-home .home-venues__cap {
  padding: 16px 18px 4px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-home .home-venues__table th {
  padding: 12px 18px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-home .home-venues__table td {
  padding: 15px 18px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(23, 66, 58, .62);
  font-size: 14.5px;
  color: var(--ink);
}

.page-home .home-venues__table td.num {
  color: var(--cyan);
  letter-spacing: .02em;
}

.page-home .home-venues__table tbody tr {
  transition: background var(--dur) var(--ease);
}

.page-home .home-venues__table tbody tr:hover { background: rgba(43, 240, 206, .06); }
.page-home .home-venues__table tbody tr:last-child td { border-bottom: 0; }

.page-home .home-venues__note { margin: 16px 0 0; }

/* ---------- 04 旧版专区 ---------- */
.page-home .home-archive__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-archive__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-sm) var(--radius-md) var(--radius-md) var(--radius-sm);
  background: linear-gradient(90deg, rgba(124, 134, 240, .12), rgba(13, 42, 36, .7) 52%);
  transition: transform var(--dur) var(--ease), border-left-color var(--dur) var(--ease);
}

.page-home .home-archive__row:hover {
  transform: translateX(4px);
  border-left-color: var(--cyan);
}

.page-home .home-archive__year {
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--ink);
}

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

.page-home .home-archive__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(6, 26, 22, .6);
}

.page-home .home-archive__foot-text {
  margin: 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(234, 246, 242, .82);
}

/* ---------- 05 免费开放 ---------- */
.page-home .home-free {
  display: grid;
  gap: 14px;
}

.page-home .home-free__card {
  position: relative;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--home-card);
  overflow: hidden;
}

.page-home .home-free__card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(43, 240, 206, 0));
  opacity: .55;
}

.page-home .home-free__title {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

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

/* ---------- 06 开始使用 ---------- */
.page-home .home-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-steps__item {
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(43, 240, 206, .08), transparent 58%),
    rgba(13, 42, 36, .55);
}

.page-home .home-steps__n {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .24em;
  color: var(--cyan);
}

.page-home .home-steps__h {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

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

.page-home .home-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 24px clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 140, 59, .14), transparent 56%),
    rgba(6, 26, 22, .72);
}

.page-home .home-cta__text {
  margin: 0;
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(234, 246, 242, .84);
}

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

/* ---------- 中屏 ---------- */
@media (min-width: 760px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .home-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-home .home-hero__body {
    grid-template-columns: 62px minmax(0, 1fr) minmax(0, 300px);
    gap: clamp(24px, 3.4vw, 46px);
    align-items: stretch;
  }

  .page-home .home-hero__ruler {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 0;
    border-left: 1px solid var(--line);
  }

  .page-home .home-hero__ruler span {
    position: relative;
    padding-left: 13px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--muted);
  }

  .page-home .home-hero__ruler span::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    width: 9px;
    height: 1px;
    background: var(--line);
  }

  .page-home .home-hero__ruler span:first-child { color: var(--cyan); }
  .page-home .home-hero__ruler span:first-child::before { background: var(--cyan); }

  .page-home .home-hero__side { align-self: start; }
}

@media (min-width: 980px) {
  .page-home .home-rounds {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: 40px;
    align-items: start;
  }

  .page-home .home-sub {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-rounds__item,
  .page-home .home-archive__row,
  .page-home .home-sub__team {
    transition: none;
  }
}
