.page-products {
  --pp-pad: clamp(20px, 4.6vw, 40px);
  --pp-gap: clamp(18px, 3vw, 30px);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs {
  padding: clamp(18px, 3vw, 30px) 0 0;
}
.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--mist);
}
.page-products .breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}
.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color .2s ease;
}
.page-products .breadcrumbs a:hover {
  color: var(--neon);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(34px, 6vw, 68px);
}
.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 72%;
  height: 170%;
  background:
    radial-gradient(circle at 68% 26%, rgba(53, 232, 200, .16), transparent 60%),
    radial-gradient(circle at 18% 78%, rgba(43, 31, 88, .78), transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.page-products .prod-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4.4vw, 46px);
}
.page-products h1 {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 6vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--paper);
}
.page-products .lede {
  margin: clamp(16px, 2.6vw, 22px) 0 0;
  max-width: 62ch;
  font-size: clamp(.98rem, 1.6vw, 1.06rem);
  line-height: 1.8;
  color: var(--mist);
}
.page-products .prod-hero__board-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--neon);
}
.page-products .prod-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-products .prod-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no name"
    "no meta";
  align-content: center;
  height: 100%;
  padding: 13px 15px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-md);
  background: var(--glass);
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.page-products .prod-index__item:hover,
.page-products .prod-index__item:focus-visible {
  border-color: rgba(53, 232, 200, .55);
  background: rgba(53, 232, 200, .08);
  transform: translateY(-3px);
}
.page-products .prod-index__no {
  grid-area: no;
  padding-right: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--neon);
}
.page-products .prod-index__name {
  grid-area: name;
  font-size: .94rem;
  font-weight: 600;
  color: var(--paper);
}
.page-products .prod-index__meta {
  grid-area: meta;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--mist);
}

/* ---------- 章节通用 ---------- */
.page-products .prod-section {
  padding: clamp(38px, 6vw, 74px) 0;
  position: relative;
}
.page-products .chapter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  margin: 0 0 clamp(18px, 3vw, 30px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.page-products .chapter__index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
  line-height: 1;
  color: rgba(53, 232, 200, .22);
  letter-spacing: -.02em;
}
.page-products .chapter__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.28rem, 3.6vw, 1.85rem);
  line-height: 1.3;
  color: var(--paper);
}
.page-products .prose {
  margin: 0;
  max-width: 68ch;
  font-size: .98rem;
  line-height: 1.78;
  color: var(--mist);
}
.page-products .prose + .prose {
  margin-top: 14px;
}
.page-products .prose a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 232, 200, .4);
}
.page-products .prose a:hover {
  border-bottom-color: var(--neon);
}
.page-products .prod-section__intro {
  margin-bottom: clamp(20px, 3vw, 30px);
}
.page-products .prod-section__outro {
  margin-top: clamp(20px, 3vw, 28px);
}

/* ---------- 内容卡片 ---------- */
.page-products .prod-card {
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--shadow-card);
}
.page-products .prod-card__body {
  display: grid;
  gap: 20px;
  padding: var(--pp-pad);
}

/* ---------- 媒体 ---------- */
.page-products .media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(7, 13, 34, .6);
}
.page-products .media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .prod-card > .media {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.page-products .media__caption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--mist);
}

/* ---------- 字段列表 ---------- */
.page-products .field-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.page-products .field-list__row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.page-products .field-list__key {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--neon);
}
.page-products .field-list__val {
  margin: 0;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 折叠条目 ---------- */
.page-products .fold {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .03);
}
.page-products .fold summary {
  cursor: pointer;
  list-style: none;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--paper);
}
.page-products .fold summary::-webkit-details-marker {
  display: none;
}
.page-products .fold summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  font-family: var(--font-mono);
  color: var(--neon);
}
.page-products .fold[open] summary::before {
  content: "−";
}
.page-products .fold p {
  margin: 10px 0 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 02 签表 ---------- */
.page-products .draw-layout {
  display: grid;
  gap: var(--pp-gap);
}
.page-products .draw-panel {
  padding: var(--pp-pad);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(43, 31, 88, .55), rgba(10, 18, 48, .5));
  box-shadow: var(--shadow-card);
}
.page-products .draw-tree {
  display: block;
  width: 100%;
  height: auto;
}
.page-products .draw-tree__link {
  fill: none;
  stroke: rgba(154, 166, 196, .34);
  stroke-width: 1.5;
}
.page-products .draw-tree__link.is-pending {
  stroke: rgba(154, 166, 196, .2);
  stroke-dasharray: 5 6;
}
.page-products .draw-node__box {
  fill: rgba(255, 255, 255, .03);
  stroke: rgba(154, 166, 196, .3);
  stroke-width: 1;
}
.page-products .draw-node__box.is-set {
  fill: rgba(53, 232, 200, .1);
  stroke: var(--neon);
  stroke-width: 1.4;
}
.page-products .draw-legend {
  margin-top: 18px;
}
.page-products .draw-side {
  display: grid;
  gap: var(--pp-gap);
  align-content: start;
}
.page-products .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .78rem;
  color: var(--mist);
}

/* ---------- 03 裁判名单 ---------- */
.page-products .official-track {
  display: grid;
  gap: 12px;
  margin: 0 0 clamp(22px, 3.4vw, 34px);
  padding: 0;
  list-style: none;
}
.page-products .official-slot {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed rgba(154, 166, 196, .34);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02);
  min-width: 0;
}
.page-products .official-slot.is-synced {
  border-style: solid;
  border-color: rgba(53, 232, 200, .32);
  background: rgba(11, 43, 46, .5);
}
.page-products .official-slot__round {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--paper);
}
.page-products .official-slot__roles {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--mist);
}
.page-products .official-slot__roles li::before {
  content: "—";
  margin-right: 8px;
  color: var(--line-strong);
}
.page-products .official-slot__state {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mist);
}
.page-products .official-slot.is-synced .official-slot__state {
  color: var(--neon);
}
.page-products .officials-foot {
  display: grid;
  gap: var(--pp-gap);
}
.page-products .officials-note {
  display: grid;
  gap: 16px;
  align-content: start;
}
.page-products .officials-note .btn {
  justify-self: start;
}

/* ---------- 04 球员数据 ---------- */
.page-products .player-grid {
  display: grid;
  gap: var(--pp-gap);
}
.page-products .player-body {
  display: grid;
  gap: 20px;
  align-content: start;
}

/* ---------- 05 积分区间 ---------- */
.page-products .prod-section--standings {
  padding-bottom: clamp(44px, 7vw, 82px);
}
.page-products .band-media {
  display: block;
  width: 100%;
  margin: clamp(18px, 3vw, 30px) 0;
  overflow: hidden;
  background: rgba(7, 13, 34, .5);
}
.page-products .band-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .55;
}
.page-products .zone-bar {
  display: grid;
  gap: 12px;
}
.page-products .zone {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--glass-line);
  border-top: 4px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  transition: transform .28s ease, background .28s ease;
}
.page-products .zone:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
}
.page-products .zone--europe {
  border-top-color: var(--neon);
}
.page-products .zone--mid {
  border-top-color: var(--mist);
}
.page-products .zone--playoff {
  border-top-color: var(--signal-yellow);
}
.page-products .zone--drop {
  border-top-color: var(--signal-red);
}
.page-products .zone__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--paper);
}
.page-products .zone__note {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--mist);
}
.page-products .zone__hint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: rgba(154, 166, 196, .8);
}
.page-products .zone-foot {
  margin: clamp(20px, 3vw, 28px) 0 0;
  max-width: 68ch;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 06 纪律追踪 ---------- */
.page-products .discipline-grid {
  display: grid;
  gap: 12px;
}
.page-products .discipline-card {
  padding: 20px;
  border: 1px solid var(--glass-line);
  border-left: 4px solid var(--mist);
  border-radius: var(--radius-lg);
  background: var(--glass);
}
.page-products .discipline-card--warn {
  border-left-color: var(--signal-yellow);
  background: rgba(94, 22, 48, .34);
}
.page-products .discipline-card--alert {
  border-left-color: var(--signal-red);
  background: rgba(94, 22, 48, .5);
}
.page-products .discipline-card__label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
}
.page-products .discipline-card__text {
  margin: 0;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 07 导出与订阅 ---------- */
.page-products .export-grid {
  display: grid;
  gap: 12px;
}
.page-products .export-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
}
.page-products .export-card__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--neon);
}
.page-products .export-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--paper);
}
.page-products .export-card__text {
  margin: 0;
  font-size: .91rem;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 收束 ---------- */
.page-products .prod-outro {
  padding: clamp(40px, 6vw, 72px) 0 clamp(46px, 7vw, 84px);
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(11, 43, 46, .5), rgba(10, 18, 48, .1));
}
.page-products .prod-outro__inner {
  display: grid;
  gap: 16px;
}
.page-products .prod-outro__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
  color: var(--paper);
}
.page-products .prod-outro__text {
  margin: 0;
  max-width: 62ch;
  font-size: .96rem;
  line-height: 1.78;
  color: var(--mist);
}
.page-products .prod-outro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .field-list__row {
    grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
  }
  .page-products .prod-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .discipline-grid,
  .page-products .export-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .zone-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-products .draw-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }
  .page-products .officials-foot {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
  .page-products .player-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
  .page-products .official-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .page-products .zone-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: start;
  }
  .page-products .prod-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
