.page-home {
  --home-gutter: 20px;
  --home-line: 1px solid rgba(243, 235, 221, .14);
  --home-ink-line: 1px solid rgba(10, 36, 31, .16);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .home-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
}

.page-home .mono {
  font-family: var(--font-mono);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 0 52px;
  background:
    repeating-linear-gradient(to right, rgba(143, 166, 178, .08) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, rgba(143, 166, 178, .08) 0 1px, transparent 1px 72px),
    radial-gradient(90% 60% at 80% 4%, rgba(88, 242, 206, .16), transparent 62%),
    var(--ink);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
  filter: saturate(.85);
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 36, 31, .74), rgba(10, 36, 31, .93) 58%, var(--ink));
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-id,
.page-home .home-title,
.page-home .home-login,
.page-home .home-next,
.page-home .home-pair,
.page-home .home-stat {
  position: relative;
  min-width: 0;
}

.page-home .home-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.page-home .home-context {
  width: 100%;
  margin: 0;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .home-id__brand {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .04em;
}

.page-home .home-id__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--slate);
}

.page-home .home-title h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 8vw, 66px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .home-title h1 em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-lead {
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(243, 235, 221, .78);
}

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

.page-home .home-block__label {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .home-login {
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(18, 58, 50, .88);
  border: var(--home-line);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-home .home-login__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(243, 235, 221, .82);
}

.page-home .home-login .btn {
  justify-self: start;
}

.page-home .home-login__note {
  margin: 0;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .home-next {
  align-self: start;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px 18px 28px;
  background: linear-gradient(158deg, rgba(18, 58, 50, .96), rgba(7, 26, 22, .96));
  border: var(--home-line);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.page-home .home-next:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 242, 206, .42);
}

.page-home .home-next__time {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--cyan);
}

.page-home .home-next__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.page-home .home-next__meta {
  margin: 0;
  font-size: 12.5px;
  color: rgba(243, 235, 221, .7);
}

.page-home .home-next__price {
  margin: 0;
  font-size: 13px;
  color: var(--orange);
}

.page-home .home-next .tag {
  justify-self: start;
}

.page-home .home-pair {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: rgba(18, 58, 50, .72);
  border: var(--home-line);
  border-radius: var(--radius);
}

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

.page-home .home-pair__list li {
  display: grid;
  grid-template-columns: 40px 58px 1fr;
  grid-template-areas:
    "day time name"
    "day time venue";
  gap: 2px 10px;
  padding: 10px 12px;
  background: rgba(7, 26, 22, .52);
  border-left: 1px solid rgba(88, 242, 206, .3);
  align-items: baseline;
}

.page-home .home-pair__day {
  grid-area: day;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: .1em;
}

.page-home .home-pair__time {
  grid-area: time;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .home-pair__name {
  grid-area: name;
  font-size: 14.5px;
  line-height: 1.4;
}

.page-home .home-pair__venue {
  grid-area: venue;
  font-size: 12px;
  color: rgba(220, 230, 229, .72);
}

.page-home .home-pair__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(243, 235, 221, .7);
}

.page-home .home-pair .btn {
  justify-self: start;
}

.page-home .home-stat {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 4px;
  border-top: 1px solid rgba(88, 242, 206, .32);
}

.page-home .home-stat__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: var(--home-line);
}

.page-home .home-stat__num {
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .01em;
}

.page-home .home-stat__cap {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
}

/* ---------- 章节头通用 ---------- */
.page-home .home-head {
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: var(--home-line);
}

.page-home .home-kicker {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-head h2,
.page-home .home-start h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 4.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -.01em;
}

.page-home .home-sub {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(243, 235, 221, .72);
}

/* ---------- 周末时间轴 ---------- */
.page-home .home-week {
  padding: 52px 0 60px;
  background: var(--ink-deep);
}

.page-home .week-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .week-figure,
.page-home .trust-figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: var(--home-line);
  border-radius: var(--radius);
}

.page-home .week-figure img,
.page-home .trust-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .week-figure img {
  aspect-ratio: 3 / 2;
}

.page-home .trust-figure img {
  aspect-ratio: 4 / 3;
}

.page-home .week-figure figcaption,
.page-home .trust-figure figcaption {
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--slate);
  border-top: var(--home-line);
}

.page-home .home-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .home-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-decoration: none;
  color: rgba(243, 235, 221, .8);
  border: var(--home-line);
  border-radius: 0;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-home .home-chip:hover {
  color: var(--cyan);
  border-color: rgba(88, 242, 206, .55);
}

.page-home .home-chip.is-on {
  color: var(--cyan);
  background: var(--cyan-soft);
  border-color: rgba(88, 242, 206, .55);
}

.page-home .week-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(243, 235, 221, .16);
  display: grid;
  gap: 14px;
}

.page-home .week-item {
  position: relative;
  min-width: 0;
}

.page-home .week-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1px solid var(--cyan);
}

.page-home .week-item.is-live::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .18);
}

.page-home .match {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-areas:
    "time head"
    "time detail";
  gap: 4px 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: var(--home-line);
  border-radius: var(--radius);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-home .match:hover,
.page-home .match:focus-within {
  transform: translateY(-2px);
  border-color: rgba(88, 242, 206, .42);
  background: #143f36;
}

.page-home .match-time {
  grid-area: time;
  margin: 0;
  align-self: start;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .02em;
}

.page-home .match-head {
  grid-area: head;
  min-width: 0;
}

.page-home .match-head h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .match-head p {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(220, 230, 229, .74);
}

.page-home .match-detail {
  grid-area: detail;
  min-width: 0;
}

.page-home .match-detail p {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--orange);
}

/* ---------- 四步路径 ---------- */
.page-home .home-path {
  padding: 52px 0 60px;
  background: var(--paper);
  color: var(--black);
}

.page-home .home-path .home-head {
  border-bottom: var(--home-ink-line);
}

.page-home .home-path .home-kicker {
  color: var(--rust);
}

.page-home .home-path .home-sub {
  color: rgba(16, 24, 22, .72);
}

.page-home .path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .path-step {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, .36);
  border: var(--home-ink-line);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-home .path-step:hover {
  transform: translateY(-2px);
  border-top-color: var(--rust);
  background: rgba(255, 255, 255, .62);
}

.page-home .path-step__num {
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--rust);
}

.page-home .path-step h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}

.page-home .path-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(16, 24, 22, .74);
}

.page-home .path-step a {
  justify-self: start;
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.page-home .path-step a:hover {
  color: var(--rust);
}

.page-home .path-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: var(--home-ink-line);
  font-size: 13px;
  line-height: 1.85;
  color: rgba(16, 24, 22, .68);
}

/* ---------- 信任区 ---------- */
.page-home .home-trust {
  padding: 52px 0 60px;
  background:
    radial-gradient(70% 55% at 92% 6%, rgba(255, 138, 61, .12), transparent 62%),
    radial-gradient(60% 50% at 4% 92%, rgba(88, 242, 206, .08), transparent 60%),
    var(--ink);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

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

.page-home .trust-stats li {
  display: grid;
  gap: 3px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid rgba(88, 242, 206, .38);
}

.page-home .trust-stat__val {
  font-size: 20px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .01em;
}

.page-home .trust-stats li span:last-child {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .trust-notes {
  margin-top: 26px;
  padding-top: 20px;
  border-top: var(--home-line);
  display: grid;
  gap: 18px;
}

.page-home .trust-notes h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .trust-notes p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(243, 235, 221, .74);
}

/* ---------- 收束 CTA ---------- */
.page-home .home-start {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 64px;
  background: var(--ink-deep);
}

.page-home .home-start__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-start__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.page-home .home-start__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 22, .96) 0%, rgba(7, 26, 22, .78) 56%, rgba(7, 26, 22, .46) 100%);
}

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

.page-home .home-start__inner .home-sub {
  max-width: 54ch;
}

.page-home .home-start__links {
  margin: 20px 0 0;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--slate);
}

.page-home .home-start__links a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.page-home .home-start__links a:hover {
  color: var(--cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home {
    --home-gutter: 32px;
  }

  .page-home .home-actions {
    gap: 14px;
  }
}

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

  .page-home .trust-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }
}

@media (min-width: 900px) {
  .page-home {
    --home-gutter: 40px;
  }

  .page-home .home-hero {
    padding: 40px 0 72px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: min-content;
    gap: 20px;
  }

  .page-home .home-id {
    grid-area: 1 / 1 / 2 / 5;
  }

  .page-home .home-login {
    grid-area: 1 / 9 / 2 / 13;
  }

  .page-home .home-title {
    grid-area: 2 / 1 / 3 / 8;
    align-self: start;
  }

  .page-home .home-next {
    grid-area: 2 / 8 / 3 / 13;
  }

  .page-home .home-pair {
    grid-area: 3 / 1 / 4 / 8;
  }

  .page-home .home-stat {
    grid-area: 3 / 8 / 4 / 13;
  }

  .page-home .home-week,
  .page-home .home-path,
  .page-home .home-trust {
    padding: 84px 0 92px;
  }

  .page-home .home-start {
    padding: 88px 0 96px;
  }

  .page-home .week-grid {
    grid-template-columns: 4fr 7fr;
    gap: 32px;
    align-items: start;
  }

  .page-home .week-figure {
    position: sticky;
    top: 96px;
  }

  .page-home .trust-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
  }

  .page-home .trust-notes {
    grid-template-columns: 1fr;
  }

  .page-home .home-lead {
    font-size: 16px;
  }
}

@media (min-width: 1100px) {
  .page-home {
    --home-gutter: 48px;
  }

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

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

@media (hover: hover) and (pointer: fine) {
  .page-home .match-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 220ms var(--ease), opacity 220ms var(--ease);
  }

  .page-home .match:hover .match-detail,
  .page-home .match:focus-within .match-detail {
    max-height: 90px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-next,
  .page-home .match,
  .page-home .path-step,
  .page-home .match-detail,
  .page-home .home-chip {
    transition: none;
  }

  .page-home .home-next:hover,
  .page-home .match:hover,
  .page-home .match:focus-within,
  .page-home .path-step:hover {
    transform: none;
  }
}
