.page-home {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-home a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
  padding: calc(var(--header-h) + 26px) 0 56px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -16%;
  right: -34%;
  width: 122%;
  height: 134%;
  background: linear-gradient(148deg, var(--red) 0%, var(--red-deep) 54%, var(--orange) 100%);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 16% 44%);
  opacity: 0.86;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 214, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 214, 227, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.25) 62%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.25) 62%, transparent 92%);
  pointer-events: none;
}

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

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--frost);
}

.page-home .context-chip {
  padding: 5px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(201, 214, 227, 0.34);
  background: rgba(11, 14, 18, 0.42);
}

.page-home .context-chip--gold {
  border-color: rgba(217, 164, 65, 0.62);
  color: var(--gold);
}

.page-home .context-sep {
  color: var(--gold);
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 8.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--paper);
  max-width: 16ch;
}

.page-home .hero-lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--frost);
  margin: 0 0 26px;
  max-width: 46ch;
}

/* 一屏赛况台 */
.page-home .console-card {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--r-md);
  background: rgba(11, 14, 18, 0.72);
  border: 1px solid rgba(217, 164, 65, 0.3);
  box-shadow: var(--shadow-float);
}

.page-home .lg-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .console-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .console-label {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .console-hint {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .league-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .lg-tab {
  flex: 1 1 0;
  padding: 9px 10px;
  text-align: center;
  border-radius: var(--pill);
  border: 1px solid rgba(201, 214, 227, 0.26);
  background: rgba(30, 42, 56, 0.6);
  color: var(--frost);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .lg-tab:hover {
  border-color: var(--gold);
  color: var(--paper);
}

.page-home #lg-foot:checked ~ .league-switch label[for="lg-foot"],
.page-home #lg-basket:checked ~ .league-switch label[for="lg-basket"],
.page-home #lg-volley:checked ~ .league-switch label[for="lg-volley"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.page-home #lg-foot:focus-visible ~ .league-switch label[for="lg-foot"],
.page-home #lg-basket:focus-visible ~ .league-switch label[for="lg-basket"],
.page-home #lg-volley:focus-visible ~ .league-switch label[for="lg-volley"] {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .board-stage {
  padding-top: 10px;
}

.page-home .board-panel {
  display: none;
}

.page-home #lg-foot:checked ~ .board-stage .panel-foot,
.page-home #lg-basket:checked ~ .board-stage .panel-basket,
.page-home #lg-volley:checked ~ .board-stage .panel-volley {
  display: block;
}

.page-home .board-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 50px 50px;
  align-items: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--frost);
}

.page-home .board-row span:nth-child(3),
.page-home .board-row span:nth-child(4) {
  font-family: var(--font-num);
  text-align: right;
}

.page-home .board-row span:first-child {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--gold);
}

.page-home .board-row--head {
  border-radius: 0;
  padding-bottom: 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(201, 214, 227, 0.16);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(201, 214, 227, 0.68);
}

.page-home .board-row--top {
  background: rgba(217, 164, 65, 0.1);
  color: var(--paper);
}

.page-home .next-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(201, 214, 227, 0.22);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--frost);
}

.page-home .pill-jade {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--jade);
  color: var(--ink-deep);
  font-size: 12px;
  font-weight: 700;
}

/* 首屏右侧 */
.page-home .hero-visual {
  position: relative;
}

.page-home .hero-visual-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.page-home .help-dock {
  position: relative;
  margin: -54px 10px 0;
  padding: 16px 16px 10px;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-float);
}

.page-home .dock-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

.page-home .dock-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 2px;
  border-top: 1px solid rgba(16, 20, 24, 0.1);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.18s ease;
}

.page-home .dock-link:hover {
  color: var(--red);
}

.page-home .dock-arrow {
  color: var(--red);
  font-weight: 700;
  transition: transform 0.18s ease;
}

.page-home .dock-link:hover .dock-arrow {
  transform: translateX(3px);
}

/* ---------- 通用区块 ---------- */
.page-home .home-section {
  padding: 54px 0;
}

.page-home .sec-head {
  max-width: 760px;
  margin: 0 0 30px;
}

.page-home .eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
}

.page-home .eyebrow-line::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.page-home .sec-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 5.6vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ink);
}

.page-home .sec-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .fig-cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--graphite);
}

.page-home .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.page-home .btn-solid {
  background: var(--red);
  color: var(--paper);
}

.page-home .btn-solid:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.page-home .btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.page-home .btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.page-home .btn-gold {
  background: var(--gold);
  color: var(--ink-deep);
}

.page-home .btn-gold:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

/* ---------- 移动入口 ---------- */
.page-home .entry-band {
  background: var(--paper);
}

.page-home .entry-grid {
  display: grid;
  gap: 28px;
}

.page-home .entry-list {
  list-style: none;
  margin: 24px 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .entry-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--red);
  background: var(--paper-soft);
}

.page-home .entry-num {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}

.page-home .entry-list h3 {
  margin: 0 0 5px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .entry-list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .thumb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .thumb-actions .btn-action {
  flex: 1 1 160px;
}

.page-home .entry-visual {
  margin: 0;
}

.page-home .entry-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid rgba(16, 20, 24, 0.08);
}

/* ---------- 三步排查 ---------- */
.page-home .triage-band {
  background: var(--slate);
  color: var(--paper);
}

.page-home .triage-band .eyebrow-line {
  color: var(--gold);
}

.page-home .triage-band .sec-title {
  color: var(--paper);
}

.page-home .triage-band .sec-lede,
.page-home .triage-band .fig-cap {
  color: var(--frost);
}

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

.page-home .triage-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .triage-steps li {
  position: relative;
  padding: 16px 16px 16px 56px;
  border-radius: var(--r-sm);
  background: rgba(201, 214, 227, 0.06);
  border: 1px solid rgba(201, 214, 227, 0.16);
}

.page-home .step-idx {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
}

.page-home .triage-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .triage-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--frost);
}

.page-home .triage-figure {
  margin: 0;
}

.page-home .triage-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 214, 227, 0.18);
}

.page-home .triage-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 214, 227, 0.18);
}

.page-home .triage-foot p {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--frost);
}

/* ---------- 导出确认 ---------- */
.page-home .export-band {
  background: var(--paper-soft);
}

.page-home .export-grid {
  display: grid;
  gap: 26px;
}

.page-home .export-figure {
  margin: 0;
}

.page-home .export-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid rgba(16, 20, 24, 0.1);
}

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

.page-home .check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.page-home .ck-input {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid var(--graphite);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.page-home .ck-input:checked {
  background: var(--jade);
  border-color: var(--jade);
}

.page-home .ck-input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-home .ck-input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .check-list label {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  cursor: pointer;
}

.page-home .check-done {
  display: none;
  margin: 0 0 16px;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--jade);
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 700;
}

.page-home .export-copy:has(#ck1:checked):has(#ck2:checked):has(#ck3:checked):has(#ck4:checked) .check-done {
  display: inline-flex;
}

/* ---------- 焕新记录 ---------- */
.page-home .updates-band {
  background: var(--paper);
}

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

.page-home .update-list li {
  padding: 18px;
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-top: 3px solid var(--red);
  border-radius: var(--r-sm);
  background: var(--paper);
}

.page-home .update-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: rgba(215, 38, 61, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .update-list h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink);
}

.page-home .update-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--graphite);
}

/* ---------- 常用入口 ---------- */
.page-home .doors-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.page-home .doors-band::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle at 30% 40%, rgba(215, 38, 61, 0.28), transparent 68%);
  pointer-events: none;
}

.page-home .doors-band .container {
  position: relative;
}

.page-home .doors-band .eyebrow-line {
  color: var(--gold);
}

.page-home .doors-band .sec-title {
  color: var(--paper);
}

.page-home .doors-band .sec-lede {
  color: var(--frost);
}

.page-home .door-grid {
  display: grid;
  gap: 12px;
}

.page-home .door-card {
  position: relative;
  display: block;
  padding: 20px 20px 22px;
  border-radius: var(--r-md);
  background: var(--slate);
  border: 1px solid rgba(201, 214, 227, 0.14);
  color: var(--paper);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-home .door-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.page-home .door-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .door-card h3 {
  margin: 10px 0 8px;
  padding-right: 26px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--paper);
}

.page-home .door-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--frost);
}

.page-home .door-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--gold);
  font-weight: 700;
}

.page-home .service-strip {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold);
  background: rgba(201, 214, 227, 0.06);
}

.page-home .service-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--frost);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 34px) 0 68px;
  }

  .page-home .home-section {
    padding: 68px 0;
  }

  .page-home .console-card {
    padding: 22px 22px 18px;
  }

  .page-home .help-dock {
    margin: -64px 18px 0;
    padding: 18px 20px 12px;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 46px) 0 88px;
  }

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

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

  .page-home .hero-lede {
    font-size: 18px;
  }

  .page-home .sec-lede {
    font-size: 17.5px;
  }

  .page-home .entry-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

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

  .page-home .export-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
  }

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

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

  .page-home .service-strip {
    padding: 24px 28px;
  }
}

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

  .page-home .door-card--wide {
    grid-column: span 2;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .btn-action,
  .page-home .door-card,
  .page-home .dock-arrow,
  .page-home .lg-tab {
    transition: none;
  }

  .page-home .btn-action:hover,
  .page-home .door-card:hover,
  .page-home .dock-link:hover .dock-arrow {
    transform: none;
  }
}
