/* ===== 首页 page-home ===== */
.page-home {
  --home-line: var(--line);
  --home-panel: var(--ink-800);
  --home-gap: 20px;
  display: block;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(1100px 460px at 84% -8%, rgba(34, 224, 214, .10), transparent 62%),
    radial-gradient(760px 420px at 2% 6%, rgba(255, 122, 41, .07), transparent 64%),
    var(--ink-900);
}

/* ---------- 刊头 ---------- */
.page-home .home-head {
  padding: 28px 0 0;
}

.page-home .home-head__context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
}

.page-home .home-head__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.9rem, 7vw, 3.9rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-head__title::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.page-home .home-head__lead {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(242, 246, 255, .82);
}

.page-home .home-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-status__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-status__item strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .home-banner {
  position: relative;
  height: 128px;
  margin: 30px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(120deg, var(--ink-800), var(--ink-900) 70%);
}

.page-home .home-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(.78) contrast(1.06);
}

.page-home .home-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, .95) 0%, rgba(11, 18, 32, .34) 46%, rgba(11, 18, 32, 0) 82%);
}

/* ---------- 首屏数据锚点 ---------- */
.page-home .home-anchor {
  padding: 40px 0 52px;
}

.page-home .sea-bar {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .sea-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--ink-800);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .sea-chip[data-active="true"] {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.page-home .anchor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .rail-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .rail-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .rail-lead {
  margin: 12px 0 18px;
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(242, 246, 255, .78);
}

.page-home .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  box-shadow: var(--shadow-1);
}

.page-home .foreign-table {
  width: 100%;
  min-width: 330px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .foreign-table caption {
  padding: 12px 14px 0;
  text-align: left;
  color: var(--muted);
}

.page-home .foreign-table th,
.page-home .foreign-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--home-line);
  white-space: nowrap;
}

.page-home .foreign-table tbody tr:last-child th,
.page-home .foreign-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .foreign-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(34, 49, 76, .38);
}

.page-home .foreign-table tbody th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--paper);
  font-weight: 600;
}

.page-home .foreign-table tbody tr {
  transition: background-color .18s var(--ease);
}

.page-home .foreign-table tbody tr:hover {
  background: rgba(34, 224, 214, .06);
}

.page-home .foreign-table .num {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.page-home .foreign-table .c-reg {
  color: var(--muted);
}

.page-home .foreign-table .c-use {
  color: var(--orange);
  font-weight: 700;
}

.page-home .foreign-table .c-play {
  color: var(--cyan);
  font-weight: 700;
}

.page-home .rail-foot {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--home-line);
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

/* 右侧卡片流 */
.page-home .anchor-flow {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-chart {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-panel);
}

.page-home .home-chart img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

.page-home .home-chart figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--home-line);
  color: var(--muted);
}

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

.page-home .entry-card {
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .entry-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.page-home .entry-card__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "idx title go"
    ".   desc  .";
  gap: 4px 12px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}

.page-home .entry-card__idx {
  grid-area: idx;
  color: var(--cyan);
  line-height: 1.6;
}

.page-home .entry-card__title {
  grid-area: title;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .entry-card__desc {
  grid-area: desc;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(242, 246, 255, .72);
}

.page-home .entry-card__go {
  grid-area: go;
  align-self: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--orange);
  transition: transform .18s var(--ease);
}

.page-home .entry-card__link:hover .entry-card__go {
  transform: translateX(4px);
}

/* ---------- 服务路径 ---------- */
.page-home .home-paths {
  padding: 46px 0 52px;
  border-top: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(20, 30, 51, .72), rgba(11, 18, 32, 0) 78%);
}

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

.page-home .path-card {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-home .path-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .path-card__idx {
  color: var(--cyan);
}

.page-home .path-card__title {
  margin: 10px 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .path-card__who {
  margin: 0 0 10px;
  font-size: .85rem;
  color: var(--orange);
}

.page-home .path-card__first {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: rgba(242, 246, 255, .78);
}

.page-home .path-steps {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--home-line);
}

.page-home .path-steps__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
  transition: color .18s var(--ease);
}

.page-home .path-steps__btn:hover {
  color: var(--orange);
}

.page-home .path-steps__marker {
  font-size: 14px;
  line-height: 1;
}

.page-home .path-steps__body {
  margin-top: 12px;
}

.page-home .path-steps__body ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.page-home .path-steps__body li {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(242, 246, 255, .78);
}

/* ---------- 档案与赔率双轴 ---------- */
.page-home .home-dual {
  padding: 46px 0 52px;
  border-top: 1px solid var(--home-line);
}

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

.page-home .dual-main h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .dual-main > p {
  margin: 0 0 20px;
  max-width: 64ch;
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(242, 246, 255, .8);
}

.page-home .dual-figure {
  margin: 0 0 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--home-panel);
}

.page-home .dual-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 1;
}

.page-home .dual-figure figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--home-line);
  color: var(--muted);
}

.page-home .dual-side {
  display: block;
}

.page-home .odds-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  box-shadow: var(--shadow-1);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .odds-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--cyan));
}

.page-home .odds-card__title {
  margin: 8px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .odds-figure {
  margin: 0 0 16px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-900);
}

.page-home .odds-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 5;
}

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

.page-home .odds-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--home-line);
  font-size: .9rem;
  color: rgba(242, 246, 255, .8);
}

.page-home .odds-list li:last-child {
  border-bottom: 0;
}

.page-home .odds-up,
.page-home .odds-down {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.page-home .odds-up {
  color: var(--rose);
}

.page-home .odds-down {
  color: var(--cyan);
}

.page-home .odds-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 收藏与回访 ---------- */
.page-home .home-keep {
  padding: 46px 0 52px;
  border-top: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(20, 30, 51, .68), rgba(11, 18, 32, 0) 76%);
}

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

.page-home .keep-main h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.4rem, 4.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .keep-main > p {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(242, 246, 255, .8);
}

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

.page-home .keep-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--home-panel);
}

.page-home .keep-step__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .keep-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .keep-step p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(242, 246, 255, .74);
}

.page-home .keep-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: start;
}

.page-home .keep-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  transition: border-color .18s var(--ease);
}

.page-home .keep-stat:hover {
  border-color: var(--cyan);
}

.page-home .keep-stat__value {
  color: var(--cyan);
  font-weight: 700;
  line-height: 1.1;
}

.page-home .keep-stat__label {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 更新节奏与团队 ---------- */
.page-home .home-rhythm {
  padding: 46px 0 60px;
  border-top: 1px solid var(--home-line);
}

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

.page-home .rhythm-item {
  padding: 20px 18px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: var(--home-panel);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-home .rhythm-item:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .rhythm-item__value {
  margin: 10px 0 8px;
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.page-home .rhythm-item__value em {
  font-style: normal;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--orange);
  margin-left: 4px;
}

.page-home .rhythm-item__label {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(242, 246, 255, .74);
}

.page-home .rhythm-support {
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 217, 192, .07), rgba(232, 217, 192, 0) 62%),
    var(--ink-800);
}

.page-home .rhythm-support p {
  margin: 0;
  max-width: 76ch;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(242, 246, 255, .82);
}

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

/* ---------- 平板 ---------- */
@media (min-width: 768px) {
  .page-home .home-banner {
    height: 178px;
  }

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

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

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

/* ---------- 桌面：左右分屏 ---------- */
@media (min-width: 900px) {
  .page-home .home-banner {
    height: 206px;
  }

  .page-home .home-head__lead {
    font-size: 1.05rem;
  }

  .page-home .anchor-grid {
    grid-template-columns: minmax(300px, 3fr) minmax(0, 9fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .anchor-rail {
    position: sticky;
    top: 92px;
  }

  .page-home .dual-grid {
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
    gap: 34px;
    align-items: start;
  }

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

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

  .page-home .entry-card__link {
    padding: 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .path-card,
  .page-home .rhythm-item,
  .page-home .entry-card__go {
    transition: none;
    transform: none;
  }
}
