.page-home {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

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

.page-home .home-body {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 88px);
  min-width: 0;
  padding: clamp(22px, 4vw, 40px) var(--gutter) clamp(56px, 7vw, 100px);
}

/* 上下文条 */
.page-home .home-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
}

.page-home .home-context-dash {
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

/* 首屏 */
.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.page-home .home-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 11.5vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .home-title-l1,
.page-home .home-title-l2 {
  display: block;
}

.page-home .home-title-l2 {
  color: var(--paper);
}

.page-home .home-title em {
  font-style: normal;
  color: var(--cyan);
  background: linear-gradient(180deg, transparent 76%, var(--teal) 76%);
  padding-inline: 0.06em;
}

.page-home .home-lede {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: var(--warm);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .home-hero-figure {
  margin: 0;
  position: relative;
  border: 2px solid var(--line-strong);
  background: var(--hull);
  box-shadow: 10px 10px 0 0 var(--slate);
}

.page-home .home-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.page-home .home-hero-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  background: var(--ink);
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

/* 通用小节标题 */
.page-home .home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}

.page-home .home-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

/* 三个主入口 */
.page-home .home-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bento-gap);
  margin-top: clamp(18px, 2.4vw, 28px);
}

.page-home .home-entry-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 2px solid var(--line-strong);
  border-left: 6px solid var(--slate);
  background: var(--hull);
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.page-home .home-entry-card--a {
  border-left-color: var(--orange);
}

.page-home .home-entry-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.page-home .home-entry-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--warm);
}

.page-home .home-entry-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .home-entry-go i {
  font-style: normal;
  transition: transform 180ms ease;
}

.page-home .home-entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  border-left-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 8px 8px 0 0 rgba(34, 211, 197, 0.14);
}

.page-home .home-entry-card:hover .home-entry-go i {
  transform: translateX(4px);
}

.page-home .home-entry-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-color: var(--cyan);
}

/* 横向赛事更新带 */
.page-home .home-band {
  padding-block: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(27, 37, 48, 0.6), rgba(7, 16, 25, 0) 78%);
}

.page-home .home-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.page-home .home-band-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms ease, border-color 180ms ease;
}

.page-home .home-band-more:hover,
.page-home .home-band-more:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  outline: none;
}

.page-home .home-band-more:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .home-band-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 76%);
  gap: var(--bento-gap);
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.page-home .home-band-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--hull);
  scroll-snap-align: start;
  min-height: 168px;
}

.page-home .home-band-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.page-home .home-band-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--slate);
  background: var(--hull);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.page-home .home-band-item:hover,
.page-home .home-band-item:focus-visible {
  border-top-color: var(--orange);
  background: var(--slate);
}

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

.page-home .home-band-stage {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-band-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .home-band-meta {
  margin: 0;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm);
}

/* 内容中心 */
.page-home .home-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.page-home .home-hub-intro {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--warm);
}

.page-home .home-hub-list {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.page-home .home-hub-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.page-home .home-hub-link:hover {
  background: rgba(27, 37, 48, 0.7);
  padding-left: 10px;
}

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

.page-home .home-hub-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 3px;
}

.page-home .home-hub-txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .home-hub-txt strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .home-hub-txt em {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--warm);
}

.page-home .home-hub-figure {
  margin: 0;
  border: 2px solid var(--line-strong);
  background: var(--hull);
  box-shadow: -10px 10px 0 0 var(--teal);
}

.page-home .home-hub-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-home .home-hub-cap {
  padding: 10px 14px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 浏览器访问与测试版标识 */
.page-home .home-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--bento-gap);
}

.page-home .home-access-panel {
  padding: clamp(20px, 3vw, 34px);
  border: 2px solid var(--line-strong);
  background: var(--hull);
}

.page-home .home-access-text {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--warm);
}

.page-home .home-access-facts {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-access-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--ink);
}

.page-home .home-access-fact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-access-fact dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--paper);
}

.page-home .home-access-link {
  margin: 18px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--warm);
}

.page-home .home-access-link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  transition: border-color 180ms ease;
}

.page-home .home-access-link a:hover,
.page-home .home-access-link a:focus-visible {
  border-color: var(--cyan);
  outline: none;
}

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

.page-home .home-access-badge {
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--teal);
  background: linear-gradient(160deg, rgba(14, 77, 74, 0.55), rgba(18, 23, 29, 0.9) 62%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .home-access-badge h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--paper);
}

.page-home .home-access-badge p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--warm);
}

.page-home .home-access-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.page-home .home-access-btn:hover,
.page-home .home-access-btn:focus-visible {
  border-color: var(--orange);
  outline: none;
}

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

/* 服务状态带 */
.page-home .home-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}

.page-home .home-status-text {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--warm);
}

.page-home .home-status-grid {
  margin: clamp(18px, 2.4vw, 26px) 0 clamp(20px, 2.6vw, 26px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-status-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 13px 4px;
  background: var(--ink);
}

.page-home .home-status-key {
  flex: 0 0 88px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
}

.page-home .home-status-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--paper);
  word-break: break-word;
}

.page-home .home-status-figure {
  margin: 0;
  border: 2px solid var(--line-strong);
  background: var(--hull);
  overflow: hidden;
}

.page-home .home-status-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

/* 平板 */
@media (min-width: 640px) {
  .page-home .home-access-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-band-scroll {
    grid-auto-columns: minmax(240px, 46%);
  }
}

/* 桌面 */
@media (min-width: 960px) {
  .page-home .home-shell {
    grid-template-columns: var(--rail) minmax(0, 1fr);
  }

  .page-home .home-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    padding-block: 28px;
    border-right: 1px solid var(--line);
    background: var(--ink);
  }

  .page-home .home-rail-track {
    position: relative;
    flex: 1 1 auto;
    width: 1px;
    margin-block: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 12%, var(--gold) 88%, transparent 100%);
  }

  .page-home .home-rail-node {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: var(--ink);
    border: 1px solid var(--gold);
    transform: rotate(45deg);
  }

  .page-home .home-rail-node:first-child {
    background: var(--orange);
    border-color: var(--orange);
  }

  .page-home .home-rail-label {
    margin: 0;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--warm);
  }

  .page-home .home-body {
    padding-left: clamp(24px, 3vw, 56px);
    padding-right: clamp(24px, 4vw, 64px);
  }

  .page-home .home-hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    column-gap: var(--bento-gap);
  }

  .page-home .home-title {
    grid-column: 1 / -1;
    font-size: clamp(4rem, 7.6vw, 7.4rem);
  }

  .page-home .home-lede {
    grid-column: 1 / span 6;
  }

  .page-home .home-hero-actions {
    grid-column: 1 / span 6;
    align-self: start;
  }

  .page-home .home-hero-figure {
    grid-column: 8 / -1;
    grid-row: 2 / span 2;
    align-self: stretch;
    margin-left: clamp(0px, 1.5vw, 24px);
  }

  .page-home .home-hero-figure img {
    aspect-ratio: 4 / 3.4;
  }

  .page-home .home-entry-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-entry-card--a {
    grid-column: span 5;
  }

  .page-home .home-entry-card--b {
    grid-column: span 4;
    margin-top: 28px;
  }

  .page-home .home-entry-card--c {
    grid-column: span 3;
    margin-top: 56px;
  }

  .page-home .home-band-scroll {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    align-items: stretch;
  }

  .page-home .home-band-figure {
    min-height: 200px;
  }

  .page-home .home-hub {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .home-hub-figure {
    margin-top: 8px;
  }

  .page-home .home-access {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .home-status {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
    align-items: start;
  }

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

  .page-home .home-status-figure {
    align-self: start;
  }
}

@media (min-width: 1280px) {
  .page-home .home-body {
    max-width: 1440px;
  }

  .page-home .home-title {
    font-size: clamp(5rem, 7vw, 7.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry-card,
  .page-home .home-entry-go i,
  .page-home .home-hub-link,
  .page-home .home-band-item,
  .page-home .home-band-more,
  .page-home .home-access-btn {
    transition: none;
  }

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

  .page-home .home-entry-card:hover .home-entry-go i {
    transform: none;
  }
}
