.page-home {
  --home-gutter: 20px;
  --home-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  background: var(--ink-green);
  color: var(--signal);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home .section {
  padding: clamp(44px, 7vw, 80px) 0;
}

.page-home .home-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "idx title"
    ". lede";
  gap: 6px 14px;
  margin-bottom: 26px;
}

.page-home .home-head--tight {
  margin-bottom: 14px;
}

.page-home .section-index {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--amber);
  padding-top: 6px;
}

.page-home .section-title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 5.4vw, 38px);
  line-height: 1.15;
  color: var(--signal);
}

.page-home .section-lede {
  grid-area: lede;
  margin: 8px 0 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 248, 232, .72);
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  padding: calc(var(--header-height) + 18px) 0 clamp(34px, 6vw, 56px);
  background:
    radial-gradient(circle at 82% 8%, rgba(94, 242, 214, .12), transparent 55%),
    radial-gradient(circle at 8% 92%, rgba(242, 184, 75, .1), transparent 50%);
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .home-context__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .hero-frame {
  position: relative;
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, .55);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 18px);
  opacity: .75;
  pointer-events: none;
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
  pointer-events: none;
}

.page-home .hero-grid {
  display: grid;
  gap: 24px;
  padding-top: 12px;
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 242, 214, .2);
  animation: home-pulse 2.4s ease-in-out infinite;
}

.page-home h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 9vw, 72px);
  line-height: 1.03;
  letter-spacing: -.01em;
  color: var(--signal);
}

.page-home .hero-lede {
  margin: 16px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.8;
  color: rgba(255, 248, 232, .82);
}

.page-home .countdown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.page-home .countdown-ring {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
}

.page-home .ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-home .ring-track {
  fill: none;
  stroke: rgba(168, 179, 173, .18);
  stroke-width: 6;
}

.page-home .ring-progress {
  fill: none;
  stroke: var(--amber);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 96;
  animation: home-ring-pulse 2.2s ease-in-out infinite;
}

.page-home .countdown-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-home .countdown-value {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--amber);
  animation: home-count-pulse 1s ease-in-out infinite;
}

.page-home .countdown-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 248, 232, .66);
}

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

.page-home .hero-side {
  display: grid;
  gap: 14px;
}

.page-home .hero-media {
  margin: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .hero-form-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, .92);
}

.page-home .hero-form-card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-home .hero-form-card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--signal);
}

.page-home .hero-form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.page-home .hero-form-tags li {
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 248, 232, .8);
}

.page-home .hero-form-card__link {
  font-size: 13px;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 三步入场 ---------- */

.page-home .h-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .h-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.page-home .h-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mist);
}

.page-home .h-card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-home .h-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 5vw, 28px);
  line-height: 1.22;
  color: var(--signal);
}

.page-home .h-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 232, .74);
}

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

.page-home .h-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 248, 232, .7);
}

.page-home .h-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .h-card__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .h-card--entry {
  border-color: rgba(94, 242, 214, .35);
  background: linear-gradient(150deg, rgba(94, 242, 214, .14), rgba(18, 51, 43, .92) 58%);
}

.page-home .h-card--schedule {
  border-top: 3px solid var(--amber);
}

.page-home .h-card--form {
  border-top: 3px solid var(--ember);
}

/* ---------- 赛程筛选 ---------- */

.page-home #schedule {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.page-home .h-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}

.page-home .filter-btn {
  appearance: none;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--signal);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-green);
  font-weight: 600;
}

.page-home .filter-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .filter-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  margin-left: 4px;
}

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

.page-home .schedule-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-home .schedule-item[hidden] {
  display: none;
}

.page-home .schedule-time {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--amber);
  letter-spacing: .02em;
}

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

.page-home .schedule-name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--signal);
}

.page-home .schedule-meta {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--mist);
}

.page-home .schedule-pill {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

/* ---------- 主客场表现 ---------- */

.page-home .home-form__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-form__lede,
.page-home .home-kit__lede {
  margin: 0 0 20px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 248, 232, .76);
}

.page-home .form-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .form-facts li {
  padding-top: 10px;
  border-top: 2px solid var(--amber);
}

.page-home .form-facts b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.1;
  color: var(--amber);
}

.page-home .form-facts span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 248, 232, .66);
}

.page-home .home-form__media {
  margin: 0;
}

.page-home .home-form__media img,
.page-home .home-kit__media img,
.page-home .home-version__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

/* ---------- 开球前十分钟 ---------- */

.page-home .ten-board {
  position: relative;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--charcoal);
  overflow: hidden;
}

.page-home .ten-board::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -46px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(228, 87, 46, .38);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .ten-head {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.page-home .ten-head .section-index {
  display: block;
  padding: 0;
  margin-bottom: 8px;
}

.page-home .ten-head .section-lede {
  margin-top: 10px;
}

.page-home .ten-tags {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .ten-tags li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, .72);
}

.page-home .ten-tags p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 248, 232, .72);
}

.page-home .ten-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 清单与收藏 ---------- */

.page-home .home-kit__grid {
  display: grid;
  gap: 22px;
}

.page-home .h-checklist {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  padding: 6px 18px;
  list-style: none;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--brown-ink);
}

.page-home .h-checklist .check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-dark);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .h-checklist .check-item:last-child {
  border-bottom: none;
}

.page-home .h-checklist label {
  cursor: pointer;
}

.page-home .h-checklist .check-box {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(43, 30, 23, .45);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.page-home .h-checklist .check-box:checked {
  background: var(--state);
  border-color: var(--state);
}

.page-home .h-checklist .check-box:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--brown-ink);
  border-bottom: 2px solid var(--brown-ink);
  transform: rotate(40deg);
}

.page-home .h-checklist .check-box:focus-visible {
  outline: 2px solid var(--brown-ink);
  outline-offset: 2px;
}

.page-home .home-kit__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-kit__media {
  margin: 0;
}

.page-home .collect-note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, .62);
}

.page-home .collect-note__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .collect-note__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 232, .8);
}

/* ---------- 版本 ---------- */

.page-home .home-version__grid {
  display: grid;
  gap: 22px;
}

.page-home .home-version__media {
  margin: 0;
}

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

.page-home .version-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 248, 232, .78);
}

.page-home .version-list span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
}

/* ---------- 信任 ---------- */

.page-home .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-home .trust-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--panel);
}

.page-home .trust-grid b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1;
  color: var(--amber);
}

.page-home .trust-grid span {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 248, 232, .7);
}

.page-home .trust-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 232, .7);
}

.page-home .trust-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 收束 ---------- */

.page-home .home-cta {
  padding: clamp(36px, 6vw, 60px) 0;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
}

.page-home .home-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-home .home-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.2;
  color: var(--signal);
}

.page-home .home-cta__text {
  margin: 8px 0 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 248, 232, .72);
}

/* ---------- 动效 ---------- */

@keyframes home-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(94, 242, 214, .2); }
  50% { opacity: .55; box-shadow: 0 0 0 6px rgba(94, 242, 214, .06); }
}

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

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

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .schedule-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
  }

  .page-home .schedule-pill {
    grid-column: auto;
    justify-self: end;
    margin-top: 0;
  }
}

@media (min-width: 860px) {
  .page-home .h-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .h-card--entry {
    grid-column: span 7;
    grid-row: span 2;
  }

  .page-home .h-card--schedule,
  .page-home .h-card--form {
    grid-column: span 5;
  }

  .page-home .ten-tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .home-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .page-home .home-context {
    margin-bottom: 20px;
  }

  .page-home .hero-frame {
    padding: 26px 26px 30px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
    align-items: start;
    padding-top: 18px;
  }

  .page-home .hero-side {
    position: relative;
    align-content: start;
  }

  .page-home .hero-form-card {
    position: absolute;
    left: -18px;
    bottom: 22px;
    width: min(320px, 82%);
    box-shadow: var(--home-shadow);
  }

  .page-home .home-form__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 44px;
    align-items: center;
  }

  .page-home .home-kit__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .home-version__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .home-version__media {
    order: 2;
  }

  .page-home .home-version__text {
    order: 1;
  }
}

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

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