.page-home {
  --home-edge: rgba(53, 224, 208, 0.22);
  --home-inner: rgba(18, 58, 78, 0.42);
  padding-top: 10px;
  color: var(--ink);
}

.page-home .page-home__crumbbar {
  padding-top: 6px;
  padding-bottom: 10px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding-top: 14px;
  padding-bottom: 8px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -12%;
  z-index: 0;
  width: min(680px, 96%);
  height: 440px;
  pointer-events: none;
  background:
    radial-gradient(58% 66% at 72% 24%, rgba(53, 224, 208, 0.18), transparent 72%),
    radial-gradient(46% 54% at 94% 62%, rgba(255, 90, 43, 0.13), transparent 72%);
}

.page-home .hero__intro,
.page-home .hero__data {
  position: relative;
  z-index: 1;
}

.page-home .hero h1 {
  margin: 14px 0 0;
  max-width: 12em;
  color: var(--paper);
}

.page-home .hero__mark {
  position: relative;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .hero__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.1em;
  background: linear-gradient(90deg, var(--cyan), rgba(255, 90, 43, 0.75));
}

.page-home .hero .lede {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--ink-2);
}

/* 检索台 */
.page-home .finder {
  margin-top: 28px;
  max-width: 520px;
}

.page-home .finder__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.page-home .finder__box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 16px;
  background: var(--steel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .finder__box:focus-within {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan), inset 0 0 26px rgba(53, 224, 208, 0.16);
}

.page-home .finder__icon {
  display: inline-flex;
  color: var(--cyan-soft);
}

.page-home .finder__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.page-home .finder__input::placeholder {
  color: rgba(242, 237, 228, 0.42);
}

.page-home .finder__hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-3);
}

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

.page-home .finder__quick a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.3);
}

.page-home .finder__quick a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* 服务台与本周更新 */
.page-home .hero__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 26px;
  max-width: 560px;
}

.page-home .meta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 16px;
  background: rgba(11, 34, 51, 0.62);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  text-decoration: none;
  color: inherit;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home a.meta-card:hover {
  background: rgba(18, 58, 78, 0.85);
  border-color: var(--home-edge);
  border-left-color: var(--cyan);
}

.page-home .meta-card--update {
  border-left-color: var(--moss);
}

.page-home .meta-card__idx {
  grid-row: 1 / span 2;
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .meta-card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .meta-card__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ---------- 数据卡片 ---------- */
.page-home .score {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(155deg, rgba(18, 58, 78, 0.94), rgba(6, 19, 33, 0.97) 62%);
  border: 1px solid var(--home-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(127, 242, 232, 0.22);
}

.page-home .score__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
}

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

.page-home .score::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -50px;
  width: 200px;
  height: 240px;
  background: linear-gradient(120deg, rgba(53, 224, 208, 0.2), transparent 72%);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-home .score__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .score__stamp {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.page-home .score__title {
  margin: 14px 0 4px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .score__title span {
  margin: 0 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
}

.page-home .score__sub {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.page-home .score__line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 18px 0 4px;
}

.page-home .score__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .score__team {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.page-home .score__num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 13vw, 3.75rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .score__side--away .score__num {
  color: var(--orange);
}

.page-home .score__split {
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--rock);
}

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

.page-home .score__stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
}

.page-home .score__stats dt {
  font-size: 13px;
  color: var(--ink-3);
}

.page-home .score__stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .score__stats dd span {
  margin: 0 5px;
  color: var(--rock);
}

.page-home .score__refresh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.page-home .score__refresh p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
}

.page-home .score__refresh .num {
  font-size: 13px;
  color: var(--amber);
}

.page-home .ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(var(--amber) 0 68%, rgba(58, 71, 83, 0.55) 68% 100%);
}

.page-home .ring::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a1f2f;
}

.page-home .score .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
}

.page-home .score__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 通用小节标题 ---------- */
.page-home .section-title {
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 4.8vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--paper);
}

.page-home .section-lede {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- 时间轴 ---------- */
.page-home .track {
  margin-top: 72px;
}

.page-home .track__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.page-home .track__scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--rock) transparent;
}

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

.page-home .track__scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .track__scroll::-webkit-scrollbar-thumb {
  background: var(--rock);
  border-radius: 3px;
}

.page-home .node {
  position: relative;
  flex: 0 0 clamp(190px, 62vw, 218px);
  scroll-snap-align: start;
  padding-top: 26px;
  border-top: 1px solid var(--home-edge);
}

.page-home .node::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--deep);
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  transition: background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-home .node[open]::before {
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(53, 224, 208, 0.16);
}

.page-home .node summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.page-home .node summary::-webkit-details-marker {
  display: none;
}

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

.page-home .node__time {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-home .node__title {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .node__body {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.page-home .node__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  font-size: 12px;
  color: var(--ink-3);
}

.page-home .node__row b {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

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

.page-home .track__fig .figure__media img {
  object-fit: cover;
}

/* ---------- 三条路线 ---------- */
.page-home .routes {
  margin-top: 78px;
  padding: 46px 0 52px;
  background:
    repeating-linear-gradient(18deg, rgba(58, 71, 83, 0.18) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, rgba(11, 34, 51, 0) 0%, rgba(11, 34, 51, 0.74) 16%, rgba(11, 34, 51, 0.74) 84%, rgba(11, 34, 51, 0) 100%);
}

.page-home .switch {
  position: relative;
  margin-top: 22px;
}

.page-home .switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.page-home .switch__tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0 8px 10px 0;
  padding: 0 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(11, 34, 51, 0.72);
  border: 1px solid var(--line);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .switch__idx {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.page-home .switch__tab:hover {
  color: var(--paper);
  border-color: var(--home-edge);
}

.page-home .switch__input:checked + .switch__tab {
  color: var(--deep);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .switch__input:checked + .switch__tab .switch__idx {
  color: rgba(6, 19, 33, 0.7);
}

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

.page-home .switch__panels {
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.page-home .switch__input:nth-of-type(1):checked ~ .switch__panels > .switch__panel:nth-child(1),
.page-home .switch__input:nth-of-type(2):checked ~ .switch__panels > .switch__panel:nth-child(2),
.page-home .switch__input:nth-of-type(3):checked ~ .switch__panels > .switch__panel:nth-child(3) {
  display: block;
}

.page-home .switch__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .steps {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
}

.page-home .steps li {
  padding: 16px 16px 18px;
  background: var(--home-inner);
  border-left: 2px solid var(--clay);
}

.page-home .steps li:nth-child(2) {
  border-left-color: var(--moss);
}

.page-home .steps li:nth-child(3) {
  border-left-color: var(--amber);
}

.page-home .step__num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.page-home .step__title {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .step__text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .switch__panel .btn {
  margin-top: 22px;
}

/* ---------- 面板能力 ---------- */
.page-home .panelise {
  position: relative;
  margin-top: 82px;
  padding: 44px 0;
}

.page-home .panelise::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(11, 34, 51, 0.92), rgba(18, 58, 78, 0.6) 48%, rgba(53, 224, 208, 0.14));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.page-home .panelise__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .panelise__fig {
  margin: 0;
  max-width: 340px;
  justify-self: start;
}

.page-home .panelise__fig .figure__media img {
  object-fit: cover;
}

.page-home .panelise__body .section-lede {
  max-width: 40ch;
}

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

.page-home .cap li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .cap__dot {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .panelise__body .btn {
  margin-top: 24px;
}

/* ---------- 服务台 ---------- */
.page-home .desk {
  position: relative;
  overflow: hidden;
  margin-top: 82px;
  padding: 44px 0;
}

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

.page-home .desk__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.page-home .desk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(6, 19, 51, 0.96), rgba(6, 19, 51, 0.74));
}

.page-home .desk__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

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

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

.page-home .desk__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: rgba(11, 34, 51, 0.74);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.page-home .desk__dot {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--amber);
  transform: rotate(45deg);
}

/* ---------- 规模 ---------- */
.page-home .scale {
  margin-top: 82px;
  padding-bottom: 56px;
}

.page-home .scale__head {
  display: grid;
  gap: 4px;
}

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

.page-home .scale__list li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-home .scale__num {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .scale__list li:nth-child(2) .scale__num {
  color: var(--paper);
}

.page-home .scale__list li:nth-child(3) .scale__num {
  color: var(--amber);
}

.page-home .scale__list li:nth-child(4) .scale__num {
  color: var(--clay);
}

.page-home .scale__cap {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.page-home .scale__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.35);
}

.page-home .scale__more:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-home .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .scale__list li:nth-child(2n) {
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }

  .page-home .scale__list li:nth-child(3) {
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    grid-template-columns: 5fr 4fr;
    gap: 44px;
    align-items: start;
    padding-top: 22px;
  }

  .page-home .hero__data {
    margin-top: 72px;
  }

  .page-home .score {
    padding: 24px 24px 26px;
  }

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

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

  .page-home .steps li:nth-child(2) {
    margin-top: 26px;
  }

  .page-home .steps li:nth-child(3) {
    margin-top: 52px;
  }

  .page-home .panelise__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 36px;
  }

  .page-home .panelise__fig {
    justify-self: center;
  }

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

  .page-home .scale__list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  .page-home .scale__list li {
    border-top: 1px solid var(--line);
    padding-bottom: 22px;
  }

  .page-home .scale__list li:nth-child(1) {
    grid-column: span 5;
    padding-right: 24px;
  }

  .page-home .scale__list li:nth-child(2) {
    grid-column: span 4;
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .page-home .scale__list li:nth-child(3) {
    grid-column: span 3;
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .page-home .scale__list li:nth-child(4) {
    grid-column: 1 / span 4;
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 1180px) {
  .page-home .hero {
    grid-template-columns: 5.2fr 4fr;
  }

  .page-home .track__scroll {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score::after,
  .page-home .hero::before {
    transition: none;
  }

  .page-home .meta-card,
  .page-home .finder__box,
  .page-home .switch__tab,
  .page-home .node::before {
    transition: none;
  }
}
