.page-home {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
}

.page-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1500px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
}

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

.page-home h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--white);
}

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

/* ---------- 面包屑 ---------- */
.page-home .home-crumbs {
  padding-top: 26px;
  padding-bottom: 2px;
}

.page-home .home-crumbs .breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding: clamp(24px, 4vw, 56px) 0 0;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.page-home .home-hero__title {
  margin: 18px 0 0;
  font-size: clamp(48px, 12vw, 128px);
  line-height: .95;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--white);
}

.page-home .home-hero__title-line {
  display: block;
}

.page-home .home-hero__title-line--accent {
  color: var(--cyan);
}

.page-home .home-hero__lead {
  margin: 26px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
}

.page-home .home-hero__actions {
  margin-top: 30px;
}

.page-home .home-hero__media {
  position: relative;
}

.page-home .home-hero__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

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

.page-home .home-hero__slant {
  position: absolute;
  left: -8%;
  bottom: -14%;
  width: 62%;
  height: auto;
  pointer-events: none;
}

.page-home .home-hero__slant path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  opacity: .4;
}

.page-home .home-hero__slant path:nth-of-type(2) {
  stroke: var(--grid);
  opacity: .5;
}

.page-home .home-hero__slant circle {
  fill: var(--cyan);
}

.page-home .home-hero__media .figure-caption {
  margin-top: 12px;
}

/* ---------- 三条主线索引 ---------- */
.page-home .home-index {
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.page-home .home-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.page-home .home-index__item {
  background: var(--ink-2);
}

.page-home .home-index__link {
  display: grid;
  gap: 10px;
  padding: 26px 22px;
  color: var(--white);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  background: var(--ink-3);
  border-left-color: var(--cyan);
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .home-index__name {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: -.01em;
}

.page-home .home-index__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 通用区块头部 ---------- */
.page-home .home-panel__head,
.page-home .home-section-head {
  max-width: 68ch;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.page-home .home-panel__text,
.page-home .home-section-head__text,
.page-home .home-club__text,
.page-home .home-notes__text,
.page-home .home-sync__text,
.page-home .home-local__text {
  margin: 18px 0 0;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 4px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-soft);
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-arrow-link::after {
  content: "\2192";
}

.page-home .home-arrow-link:hover,
.page-home .home-arrow-link:focus-visible {
  gap: 14px;
  border-color: var(--cyan);
}

/* ---------- 数据面板区 ---------- */
.page-home .home-panel .home-panel__head .home-arrow-link {
  margin-top: 22px;
}

.page-home .home-panel__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-panel__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-metric {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
  background: var(--ink-2);
  transition: background var(--dur) var(--ease);
}

.page-home .home-metric:hover {
  background: var(--ink-3);
}

.page-home .home-metric__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .home-metric__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 4.8vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.page-home .home-metric__value small {
  margin-left: 4px;
  font-size: .42em;
  font-weight: 500;
  color: var(--muted);
}

.page-home .home-panel__media .media-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-home .home-panel__media .figure-caption {
  margin-top: 12px;
}

/* ---------- 赛程窗口 ---------- */
.page-home .home-schedule {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(152px, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.page-home .home-day {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 168px;
  padding: 20px 18px;
  background: var(--ink-2);
  scroll-snap-align: start;
  transition: background var(--dur) var(--ease);
}

.page-home .home-day:hover {
  background: var(--ink-3);
}

.page-home .home-day--now {
  background: var(--ink-3);
  box-shadow: inset 0 2px 0 var(--signal);
}

.page-home .home-day__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-home .home-day--now .home-day__label {
  color: var(--signal);
}

.page-home .home-day__count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-home .home-day__count small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.page-home .home-day__leagues {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-schedule__foot {
  margin: 28px 0 0;
}

/* ---------- 球队档案 ---------- */
.page-home .home-club__grid {
  display: grid;
  gap: 32px;
}

.page-home .home-club__media .media-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

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

.page-home .home-club__media .figure-caption {
  margin-top: 12px;
}

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

.page-home .home-club__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-club__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 12px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 专家专栏 ---------- */
.page-home .home-notes {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-notes__grid {
  display: grid;
  gap: 34px;
}

.page-home .home-notes__frame {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.page-home .home-note {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .home-note:hover,
.page-home .home-note:focus-within {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--ink-3);
  box-shadow: var(--shadow-lift);
}

.page-home .home-note__tag {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-home .home-note__title {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.page-home .home-note__title a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-home .home-note__title a:hover,
.page-home .home-note__title a:focus-visible {
  color: var(--cyan);
}

.page-home .home-note__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-home .home-note:hover .home-note__text,
.page-home .home-note:focus-within .home-note__text {
  -webkit-line-clamp: 3;
}

/* ---------- 换设备 ---------- */
.page-home .home-sync__panel {
  display: grid;
  gap: 32px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ink-2) 0%, var(--ink) 100%);
}

.page-home .home-sync__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 6px;
}

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

.page-home .home-sync__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.page-home .home-sync__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

/* ---------- 甘肃本地 ---------- */
.page-home .home-local__grid {
  display: grid;
  gap: 32px;
}

.page-home .home-local__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.page-home .home-local__cities li {
  padding: 7px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-local__cities li:hover {
  color: var(--white);
  border-color: var(--line-strong);
}

.page-home .home-local__copy .btn {
  margin-top: 30px;
}

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

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

  .page-home .home-notes__cards .home-note:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .page-home .home-index__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-local__cities {
    gap: 10px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }

  .page-home .home-panel__grid {
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    align-items: start;
  }

  .page-home .home-club__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-notes__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }

  .page-home .home-sync__panel {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .home-local__grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-local__cities {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .page-home .home-notes__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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