.page-products {
  --prod-hair: rgba(31, 58, 68, 0.14);
  background: var(--paper);
  color: var(--ink);
}

.page-products .section {
  padding-block: clamp(44px, 6vw, 76px);
}

.page-products h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.8vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-products h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}

.page-products p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--deep);
}

.page-products .section-head { margin-bottom: clamp(22px, 3.4vw, 34px); }
.page-products .section-sub {
  max-width: 62ch;
  color: var(--rock);
  font-size: 15.5px;
  margin-bottom: 0;
}

.page-products a { color: var(--orange-deep); }
.page-products a.btn { color: var(--paper); text-decoration: none; }
.page-products a.btn--ghost { color: var(--deep); }

/* ===== 首屏 ===== */
.page-products .prod-hero {
  position: relative;
  padding-bottom: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(120% 80% at 92% 4%, rgba(116, 140, 106, 0.22), transparent 62%),
    radial-gradient(90% 70% at 2% 88%, rgba(185, 120, 90, 0.16), transparent 68%),
    linear-gradient(178deg, var(--mist) 0%, #E7EEF1 58%, var(--paper) 100%);
  overflow: hidden;
}

.page-products .prod-hero .breadcrumb { padding-top: 18px; }

.page-products .prod-hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding-top: clamp(16px, 3vw, 30px);
  align-items: center;
}

.page-products .prod-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 10px 0 18px;
}

.page-products .prod-lead {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--deep);
  margin-bottom: 24px;
}

.page-products .prod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.page-products .prod-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px 20px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--prod-hair);
}

.page-products .prod-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rock);
  margin-bottom: 6px;
}

.page-products .prod-facts dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .device-demo {
  justify-self: center;
  width: min(100%, 330px);
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(155deg, var(--deep), var(--ink));
  box-shadow: 0 30px 60px -34px rgba(20, 38, 45, 0.6);
}

.page-products .device-screen {
  padding: 14px 14px 8px;
  border-radius: 22px;
  background: var(--paper);
  overflow: hidden;
}

.page-products .device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--prod-hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--rock);
}

.page-products .device-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 3px 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--prod-hair);
}

.page-products .device-row:last-of-type { border-bottom: 0; }

.page-products .device-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-deep);
}

.page-products .device-teams {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}

.page-products .device-state {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--rock);
}

.page-products .device-state.is-lineup { color: var(--moss-deep); }
.page-products .device-state.is-report { color: var(--orange-deep); }

.page-products .device-tabs {
  display: flex;
  margin-top: 12px;
  border-top: 1px solid var(--prod-hair);
}

.page-products .device-tabs span {
  flex: 1;
  margin-top: -1px;
  padding: 8px 0 2px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--rock);
  border-top: 2px solid transparent;
}

.page-products .device-tabs .is-on {
  color: var(--orange-deep);
  border-top-color: var(--orange);
  font-weight: 700;
}

/* ===== 栏目索引 ===== */
.page-products .lines-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .lines-index { border-top: 1px solid var(--hair); }

.page-products .line-item { border-bottom: 1px solid var(--hair); }

.page-products .line-item summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}

.page-products .line-item summary::-webkit-details-marker { display: none; }

.page-products .line-item summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-products .line-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  padding-top: 4px;
}

.page-products .line-name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .line-q {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rock);
}

.page-products .line-mark {
  position: relative;
  justify-self: end;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  color: var(--deep);
}

.page-products .line-mark::before,
.page-products .line-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 240ms var(--ease);
}

.page-products .line-mark::after { transform: rotate(90deg); }
.page-products .line-item[open] .line-mark::after { transform: rotate(0deg); }

.page-products .line-body {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--deep);
}

.page-products .line-body p {
  font-size: 15px;
  margin-bottom: 8px;
}

.page-products .line-body p:last-child { margin-bottom: 0; }

.page-products .line-body a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 74, 22, 0.4);
  padding-bottom: 1px;
}

.page-products .line-body a:hover { border-bottom-color: var(--orange-deep); }

/* ===== 图片 ===== */
.page-products .prod-figure { margin: 0; }

.page-products .prod-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--prod-hair);
  background: linear-gradient(150deg, var(--mist), var(--table) 60%, var(--paper));
}

.page-products .prod-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

.page-products .lines-media { align-self: start; }

/* ===== 三步路径 ===== */
.page-products .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-products .step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.page-products .step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: -22px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(232, 106, 44, 0.14));
}

.page-products .step:last-child::before { display: none; }

.page-products .step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--paper);
}

.page-products .step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rock);
}

.page-products .how-grid {
  display: grid;
  gap: 26px;
  margin-top: clamp(28px, 4vw, 44px);
}

.page-products .ruler-frame {
  padding: 20px 18px 18px;
  border: 1px solid var(--prod-hair);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 242, 232, 0.92), rgba(235, 240, 243, 0.96));
}

.page-products .ruler-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--deep);
}

.page-products .ruler-rail {
  height: 52px;
  border-bottom: 2px solid var(--orange);
  background-image: repeating-linear-gradient(90deg, rgba(31, 58, 68, 0.3) 0 1px, transparent 1px 14px);
  background-repeat: repeat-x;
  position: relative;
}

.page-products .ruler-rail::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, rgba(31, 58, 68, 0.16) 0 1px, transparent 1px 56px);
}

.page-products .ruler-labels {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--rock);
}

.page-products .table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

.page-products .width-table,
.page-products .standings-table {
  min-width: 430px;
  border-collapse: collapse;
}

.page-products .width-table caption,
.page-products .standings-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--rock);
}

.page-products .data-table th,
.page-products .data-table td {
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.page-products .data-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--deep);
  background: var(--table);
  white-space: nowrap;
}

.page-products .data-table td { color: var(--deep); }
.page-products .data-table .row-hl > * { background: rgba(233, 162, 59, 0.26); }

.page-products .standings-table td:nth-child(2) {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.page-products .standings-table td:nth-child(n + 3) {
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ===== 积分榜 ===== */
.page-products .standings-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-products .field-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 22px;
  padding: 0;
}

.page-products .field-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid var(--prod-hair);
  border-radius: 999px;
  background: var(--table);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--deep);
  cursor: help;
}

.page-products .field-chip:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-products .field-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6;
  width: max-content;
  max-width: min(240px, 68vw);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  pointer-events: none;
}

.page-products .field-chip:hover .field-tip,
.page-products .field-chip:focus .field-tip,
.page-products .field-chip:focus-within .field-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== 阵容 ===== */
.page-products .lineup-intro { margin-bottom: clamp(22px, 3.4vw, 32px); }

.page-products .lineup-timer {
  display: inline-flex;
  margin-top: 4px;
}

.page-products .lineup-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-products .lineup-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--prod-hair);
  border: 1px solid var(--prod-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .sheet-col {
  padding: 18px 16px;
  background: var(--paper);
}

.page-products .sheet-team {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .sheet-team em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.page-products .sheet-col dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .sheet-col dt {
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.page-products .sheet-col dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--deep);
}

/* ===== 战报 ===== */
.page-products .reports-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-products .report-cards {
  display: grid;
  gap: 16px;
}

.page-products .report-card {
  padding: 18px;
  border: 1px solid var(--prod-hair);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: 0 18px 40px -34px rgba(20, 38, 45, 0.5);
}

.page-products .report-card:nth-child(2) { border-left-color: var(--moss); }
.page-products .report-card:nth-child(3) { border-left-color: var(--clay); }

.page-products .report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-products .report-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--rock);
}

.page-products .report-score {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.page-products .report-card > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--deep);
  margin-bottom: 0;
}

.page-products .report-bars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed var(--prod-hair);
}

.page-products .report-bars li {
  flex: 1 1 60px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .bar-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--rock);
}

.page-products .bar-v {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-deep);
}

/* ===== 场景与开始 ===== */
.page-products .start-inner {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

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

.page-products .scene-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .scene-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid var(--hair);
}

.page-products .scene-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.page-products .scene-item:nth-child(2)::before { background: var(--moss); }
.page-products .scene-item:nth-child(3)::before { background: var(--clay); }
.page-products .scene-item:nth-child(4)::before { background: var(--amber); }

.page-products .scene-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--rock);
  padding-top: 4px;
}

.page-products .scene-item h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.page-products .scene-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rock);
}

/* ===== 断点 ===== */
@media (min-width: 480px) {
  .page-products .lineup-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .page-products .line-body { padding-left: 50px; }
}

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

  .page-products .step {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }

  .page-products .step::before {
    left: 52px;
    right: -28px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), rgba(232, 106, 44, 0.14));
  }

  .page-products .step:last-child::before { display: none; }
}

@media (min-width: 880px) {
  .page-products .prod-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (min-width: 900px) {
  .page-products .lines-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-products .how-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-products .ruler-frame { grid-column: 1 / -1; }

  .page-products .standings-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }

  .page-products .lineup-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .page-products .reports-grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    align-items: start;
  }

  .page-products .start-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 760px) {
  .page-products .report-cards { gap: 18px; }
  .page-products .report-card:nth-child(2) { margin-left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .line-mark::before,
  .page-products .line-mark::after,
  .page-products .field-tip {
    transition: none;
  }
}
