.page-products {
  --sub-side-w: 300px;
  --sub-gap: clamp(1.6rem, 3.2vw, 3rem);
}

/* ---------- 面包屑与首屏 ---------- */
.page-products .crumbs {
  padding-top: clamp(.9rem, 2.4vw, 1.8rem);
}

.page-products .sub-hero {
  padding-top: clamp(1rem, 2.6vw, 2rem);
  padding-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

.page-products .sub-hero h1 {
  margin: .55rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.022em;
  font-size: clamp(1.85rem, 6vw, 4rem);
  line-height: 1.08;
  color: var(--paper);
  max-width: min(100%, 34ch);
}

.page-products .sub-hero__lead {
  margin: clamp(1rem, 2.6vw, 1.5rem) 0 0;
  max-width: 46rem;
  font-size: clamp(1rem, 2.1vw, 1.1rem);
  line-height: 1.78;
  color: var(--muted);
}

.page-products .sub-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1.1rem;
  margin: clamp(1.4rem, 3.2vw, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .sub-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding-left: .9rem;
  border-left: 2px solid var(--line);
}

.page-products .sub-hero__facts .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.3rem, 3.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--neon);
}

.page-products .sub-hero__facts li > span:last-child {
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--muted);
}

@media (min-width: 720px) {
  .page-products .sub-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 外壳：主内容柱 + 常驻侧栏 ---------- */
.page-products .sub-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sub-gap);
  align-items: start;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.page-products .sub-main {
  display: grid;
  gap: clamp(2.6rem, 6vw, 4.6rem);
  min-width: 0;
}

@media (min-width: 1040px) {
  .page-products .sub-shell {
    grid-template-columns: minmax(0, 1fr) var(--sub-side-w);
  }
}

/* ---------- 章节通用 ---------- */
.page-products .section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.018em;
  font-size: clamp(1.45rem, 4.2vw, 2.35rem);
  line-height: 1.16;
  color: var(--paper);
}

.page-products .section__lead {
  margin: 0;
  max-width: 42ch;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-products [id] {
  scroll-margin-top: calc(var(--bar-h) + 1rem);
}

/* ---------- 订阅路径 ---------- */
.page-products .sub-flow__figure {
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 clamp(1.2rem, 3vw, 1.6rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-products .sub-flow__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-products .sub-flow__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .4rem;
}

.page-products .flow-diagram {
  display: block;
  width: 720px;
  height: auto;
  max-width: none;
}

@media (min-width: 900px) {
  .page-products .flow-diagram {
    width: 100%;
  }
}

.page-products .flow-diagram__link {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
}

.page-products .flow-diagram__node {
  text-decoration: none;
  cursor: pointer;
}

.page-products .flow-diagram__dot {
  fill: var(--neon);
  transition: fill .25s ease, stroke-width .25s ease;
  stroke: var(--neon);
  stroke-width: 0;
}

.page-products .flow-diagram__node:hover .flow-diagram__dot,
.page-products .flow-diagram__node:focus-visible .flow-diagram__dot {
  fill: var(--flame);
  stroke: rgba(127, 243, 224, .45);
  stroke-width: 12;
}

.page-products .flow-diagram__label {
  text-anchor: middle;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  fill: var(--paper);
}

.page-products .flow-diagram__note {
  text-anchor: middle;
  font-family: var(--font-body);
  font-size: 15px;
  fill: var(--muted);
}

.page-products .path-grid__lead {
  margin: clamp(1.4rem, 3.4vw, 2rem) 0 0;
  max-width: 58ch;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .path-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

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

.page-products .path-card {
  display: flex;
  flex-direction: column;
  gap: .62rem;
  padding: 1.25rem 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.page-products .path-card:hover,
.page-products .path-card:target {
  border-color: rgba(22, 224, 192, .55);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
}

.page-products .path-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--paper);
}

.page-products .path-card p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .sport-cloud {
  margin-top: 1.5rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(12, 42, 35, .45);
}

.page-products .sport-cloud__label {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .sport-cloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 实时比分预览 ---------- */
.page-products .live-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
}

@media (min-width: 860px) {
  .page-products .live-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
  }
}

.page-products .live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.page-products .live-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--neon);
  font-size: .91rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .live-list strong {
  display: block;
  margin-bottom: .18rem;
  font-size: .98rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--flame);
  vertical-align: middle;
  animation: sub-pulse 2.2s ease-out infinite;
}

@keyframes sub-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 47, .5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 122, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 47, 0); }
}

.page-products .live-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .live-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .live-strip {
  display: grid;
  gap: 1.1rem;
  align-items: center;
  margin-top: clamp(1.3rem, 3vw, 1.8rem);
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .live-strip__title {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--paper);
}

.page-products .live-strip__copy p:last-child {
  margin: 0;
  font-size: .87rem;
  line-height: 1.76;
  color: var(--muted);
}

.page-products .live-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

@media (min-width: 760px) {
  .page-products .live-strip {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

/* ---------- 家庭订阅 ---------- */
.page-products .sub-family__figure {
  margin: clamp(1.2rem, 3vw, 1.7rem) 0 1.3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-products .sub-family__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 8;
  object-fit: cover;
}

.page-products .sub-family__figure .figure__cap {
  padding: .75rem 1rem .85rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-products .family-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .page-products .family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .family-item {
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}

.page-products .family-item h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--paper);
}

.page-products .family-item p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .family-note {
  margin: 1.3rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
  font-size: .87rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 八类提醒 ---------- */
.page-products .alerts-layout {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
}

@media (min-width: 900px) {
  .page-products .alerts-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: start;
  }
}

.page-products .alert-panel {
  padding: .35rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-products .alert-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
}

.page-products .alert-row:last-child {
  border-bottom: 0;
}

.page-products .alert-row__text {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: .22rem;
}

.page-products .alert-row__name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .alert-row__desc {
  font-size: .81rem;
  line-height: 1.62;
  color: var(--muted);
}

.page-products .alert-row__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .alert-row__switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 26, 22, .72);
  transition: border-color .25s ease, background .25s ease;
}

.page-products .alert-row__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .25s ease, background .25s ease;
}

.page-products .alert-row__input:checked ~ .alert-row__switch {
  border-color: var(--flame);
  background: rgba(255, 122, 47, .16);
}

.page-products .alert-row__input:checked ~ .alert-row__switch::after {
  transform: translateX(20px);
  background: var(--flame);
}

.page-products .alert-row__input:focus-visible ~ .alert-row__switch {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

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

.page-products .alerts-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .alerts-figure .figure__cap {
  padding: .7rem .95rem .8rem;
  font-size: .79rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-products .alerts-summary {
  margin: 1.2rem 0 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .alerts-summary__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--amber);
}

/* ---------- 我的看板 ---------- */
.page-products .board-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
}

@media (min-width: 780px) {
  .page-products .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .board-set {
  display: grid;
  align-content: start;
  gap: .72rem;
  padding: 1.3rem 1.15rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .board-set h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--paper);
}

.page-products .board-set p {
  margin: 0;
  font-size: .89rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .board-set ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .38rem;
  font-size: .85rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .board-set li::marker {
  color: var(--neon);
}

/* ---------- 订阅管理 ---------- */
.page-products .manage-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
}

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

.page-products .manage-item {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .manage-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--neon);
  opacity: .75;
}

.page-products .manage-item__num {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--neon);
}

.page-products .manage-item h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--paper);
}

.page-products .manage-item p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 方案对比 ---------- */
.page-products .compare-scroll {
  margin-top: clamp(1.2rem, 3vw, 1.7rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: .87rem;
}

.page-products .compare-table th,
.page-products .compare-table td {
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.page-products .compare-table thead th {
  position: sticky;
  top: var(--bar-h);
  z-index: 2;
  background: var(--panel-2);
}

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

.page-products .compare-table tbody th {
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.page-products .compare-table tbody td {
  color: var(--muted);
  line-height: 1.62;
}

.page-products .compare-table .is-highlight {
  background: rgba(22, 224, 192, .07);
  box-shadow: inset 1px 0 0 rgba(22, 224, 192, .35), inset -1px 0 0 rgba(22, 224, 192, .35);
}

.page-products .compare-table__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--paper);
}

.page-products .compare-table__sub {
  display: block;
  margin-top: .16rem;
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- 收束行动区 ---------- */
.page-products .sub-cta {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2.2rem, 5.5vw, 3.4rem);
  padding: clamp(1.3rem, 4vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(22, 224, 192, .15), transparent 58%),
    radial-gradient(100% 130% at 100% 100%, rgba(255, 122, 47, .12), transparent 60%),
    var(--panel);
}

.page-products .sub-cta__title {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  color: var(--paper);
}

.page-products .sub-cta__copy p:last-child {
  margin: 0;
  max-width: 46ch;
  font-size: .89rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .sub-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

@media (min-width: 760px) {
  .page-products .sub-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* ---------- 常驻订阅速览侧栏 ---------- */
.page-products .sub-side {
  min-width: 0;
}

.page-products .sub-side__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

@media (min-width: 1040px) {
  .page-products .sub-side__panel {
    position: sticky;
    top: calc(var(--bar-h) + 1.25rem);
  }
}

.page-products .sub-side__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neon-soft);
}

.page-products .sub-side__summary::-webkit-details-marker {
  display: none;
}

.page-products .sub-side__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.page-products .sub-side__toggle::before,
.page-products .sub-side__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--neon);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s ease;
}

.page-products .sub-side__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-products .sub-side__panel[open] .sub-side__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.page-products .sub-side__body {
  padding: .2rem 1rem 1.15rem;
  border-top: 1px solid var(--line);
}

.page-products .sub-side__facts {
  display: grid;
  gap: .6rem;
  margin: .95rem 0 0;
}

.page-products .sub-side__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.page-products .sub-side__facts dt {
  font-size: .8rem;
  color: var(--muted);
}

.page-products .sub-side__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .94rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .sub-side__links {
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.page-products .sub-side__links a {
  font-size: .86rem;
  line-height: 1.6;
  color: var(--neon-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.page-products .sub-side__links a:hover,
.page-products .sub-side__links a:focus-visible {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

/* ---------- 窄屏保护 ---------- */
@media (max-width: 480px) {
  .page-products .sub-hero h1 {
    font-size: 1.72rem;
  }

  .page-products .alert-panel {
    padding: .3rem .85rem;
  }

  .page-products .compare-table th,
  .page-products .compare-table td {
    padding: .72rem .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .live-pulse {
    animation: none;
  }

  .page-products .path-card,
  .page-products .alert-row__switch,
  .page-products .alert-row__switch::after,
  .page-products .flow-diagram__dot {
    transition: none;
  }
}
