.page-products {
  --p-clr-deep: #0a1f3d;
  --p-clr-orange: #ff7a00;
  --p-clr-purple: #8a2be2;
  --p-clr-green: #00ff87;
  --p-clr-light: #e0e0e0;
  --p-clr-mid: #888;
  --p-clr-dark: #0d0d0d;
  --p-clr-card-bg: rgba(10,31,61,0.7);
  --p-radius: 6px;
  --p-trans: 0.25s ease;
  --p-font-sans: 'Inter','Noto Sans SC','Helvetica Neue',sans-serif;
  --p-font-mono: 'JetBrains Mono','Fira Code',monospace;
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  color: var(--p-clr-light);
  font-family: var(--p-font-sans);
}
.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--p-clr-mid);
  margin-bottom: 1.2rem;
}
.page-products .breadcrumb a {
  color: var(--p-clr-orange);
  text-decoration: none;
}
.page-products .breadcrumb a:hover {
  text-decoration: underline;
}
.page-products .breadcrumb .sep {
  color: var(--p-clr-mid);
}
.page-products .page-title {
  font-family: var(--p-font-sans);
  font-weight: 800;
  font-size: clamp(1.8rem,4.5vw,2.6rem);
  color: var(--p-clr-orange);
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}
.page-products .page-subtitle {
  font-size: clamp(0.9rem,2vw,1.1rem);
  color: var(--p-clr-mid);
  margin: 0 0 2.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.page-products .platform-section {
  margin-bottom: 3.5rem;
  border-top: 1px solid rgba(138,43,226,0.25);
  padding-top: 1.8rem;
}
.page-products .section-header {
  margin-bottom: 1.5rem;
}
.page-products .section-heading {
  font-size: clamp(1.3rem,3vw,1.8rem);
  font-weight: 700;
  color: var(--p-clr-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.3rem;
}
.page-products .section-heading .num {
  font-family: var(--p-font-mono);
  color: var(--p-clr-purple);
  font-size: 0.9em;
  font-weight: 400;
  opacity: 0.7;
}
.page-products .badge-beta {
  font-size: 0.55em;
  font-weight: 600;
  background: var(--p-clr-orange);
  color: var(--p-clr-dark);
  padding: 0.2em 0.7em;
  border-radius: 3px;
  margin-left: 0.6rem;
  vertical-align: middle;
  letter-spacing: 0.03em;
}
.page-products .section-desc {
  color: var(--p-clr-mid);
  font-size: 0.95rem;
  margin: 0;
  max-width: 640px;
}
.page-products .section-figure {
  margin: 1.5rem 0 0;
  text-align: center;
}
.page-products .fig-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--p-radius);
  border: 1px solid rgba(138,43,226,0.3);
  background: var(--p-clr-dark);
  object-fit: cover;
}
.page-products .section-figure figcaption {
  font-size: 0.8rem;
  color: var(--p-clr-mid);
  margin-top: 0.4rem;
  font-style: italic;
}

/* === 联赛导航 === */
.page-products .league-tab-wrap {
  margin-bottom: 1.2rem;
}
.page-products .tab-labels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.page-products .tab-labels label {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--p-clr-purple);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--p-clr-light);
  cursor: pointer;
  transition: background var(--p-trans), color var(--p-trans);
  background: transparent;
}
.page-products .tab-labels label:hover {
  background: rgba(138,43,226,0.15);
}
.page-products .league-tab-wrap input[type=radio] { position:absolute; opacity:0; pointer-events:none; }
.page-products #ltabAll:checked ~ .tab-labels label[for=ltabAll],
.page-products #ltabEast:checked ~ .tab-labels label[for=ltabEast],
.page-products #ltabWest:checked ~ .tab-labels label[for=ltabWest],
.page-products #ltabNational:checked ~ .tab-labels label[for=ltabNational] {
  background: var(--p-clr-purple);
  color: #fff;
  border-color: var(--p-clr-purple);
}
.page-products .league-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.6rem;
}
@media (min-width:600px) {
  .page-products .league-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width:900px) {
  .page-products .league-grid { grid-template-columns: repeat(4,1fr); }
}
.page-products .league-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  background: var(--p-clr-card-bg);
  border: 1px solid rgba(138,43,226,0.2);
  border-radius: var(--p-radius);
  transition: transform var(--p-trans), box-shadow var(--p-trans), border-color var(--p-trans);
  cursor: default;
}
.page-products .league-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138,43,226,0.2);
  border-color: var(--p-clr-purple);
}
.page-products .l-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
}
.page-products .l-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--p-clr-light);
}
.page-products .league-card[data-region] { display:flex; }
/* 标签页过滤逻辑 */
.page-products #ltabAll:checked ~ .league-grid .league-card { display:flex; }
.page-products #ltabEast:checked ~ .league-grid .league-card[data-region="east"] { display:flex; }
.page-products #ltabEast:checked ~ .league-grid .league-card:not([data-region="east"]) { display:none; }
.page-products #ltabWest:checked ~ .league-grid .league-card[data-region="west"] { display:flex; }
.page-products #ltabWest:checked ~ .league-grid .league-card:not([data-region="west"]) { display:none; }
.page-products #ltabNational:checked ~ .league-grid .league-card[data-region="national"] { display:flex; }
.page-products #ltabNational:checked ~ .league-grid .league-card:not([data-region="national"]) { display:none; }

/* === 回看集锦 === */
.page-products .replay-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width:768px) {
  .page-products .replay-layout { flex-direction: row; }
}
.page-products .timeline-col {
  flex: 0 0 auto;
}
.page-products .timeline {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  padding: 0.6rem 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0,255,135,0.2);
  padding-bottom: 1rem;
}
@media (min-width:768px) {
  .page-products .timeline {
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid rgba(0,255,135,0.2);
    padding-right: 1.2rem;
    padding-bottom: 0;
    min-width: 120px;
  }
}
.page-products .tl-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width:768px) {
  .page-products .tl-node { flex-direction: row; }
}
.page-products .tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--p-clr-green);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,255,135,0.4);
}
.page-products .tl-label {
  font-size: 0.85rem;
  color: var(--p-clr-light);
  white-space: nowrap;
  font-weight: 500;
}
.page-products .waterfall-col {
  flex: 1;
}
.page-products .waterfall-grid {
  column-count: 2;
  column-gap: 0.8rem;
}
@media (min-width:600px) {
  .page-products .waterfall-grid { column-count: 2; }
}
@media (min-width:900px) {
  .page-products .waterfall-grid { column-count: 3; }
}
.page-products .wf-card {
  break-inside: avoid;
  margin-bottom: 0.8rem;
  border-radius: var(--p-radius);
  overflow: hidden;
  background: var(--p-clr-card-bg);
  border: 1px solid rgba(138,43,226,0.15);
  transition: transform var(--p-trans), box-shadow var(--p-trans);
  position: relative;
}
.page-products .wf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,255,135,0.15);
}
.page-products .wf-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .wf-tag {
  position: absolute;
  bottom: 0.4rem;
  left: 0.4rem;
  background: rgba(13,13,13,0.7);
  color: var(--p-clr-green);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-family: var(--p-font-mono);
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
}
.page-products .section-details {
  margin-top: 1.2rem;
  background: rgba(13,13,13,0.3);
  border-radius: var(--p-radius);
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0,255,135,0.1);
}
.page-products .section-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--p-clr-green);
  font-size: 0.9rem;
  outline: none;
}
.page-products .section-details p {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--p-clr-mid);
  line-height: 1.5;
}

/* === 订阅控制台 === */
.page-products .console-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width:768px) {
  .page-products .console-layout { flex-direction: row; }
}
.page-products .gauge-col {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-products .gauge-wrap {
  position: relative;
  width: 200px;
  max-width: 100%;
}
.page-products .gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}
.page-products .gauge-arc {
  animation: gaugeFill 2s ease-out forwards;
  transform-origin: 100px 100px;
}
@keyframes gaugeFill {
  from { stroke-dasharray: 0 251; }
  to { stroke-dasharray: 180 251; }
}
.page-products .gauge-needle {
  animation: needleSwing 2.5s ease-in-out infinite alternate;
  transform-origin: 100px 100px;
}
@keyframes needleSwing {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(20deg); }
}
.page-products .gauge-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
  margin-top: -6px;
}
.page-products .tick {
  font-family: var(--p-font-mono);
  font-size: 0.65rem;
  color: var(--p-clr-mid);
  position: relative;
}
.page-products .tick-val {
  display: block;
  text-align: center;
}
.page-products .console-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-products .console-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem;
  background: var(--p-clr-card-bg);
  border-radius: var(--p-radius);
  border-left: 3px solid var(--p-clr-orange);
}
.page-products .console-item .ci-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}
.page-products .console-item strong {
  display: block;
  color: var(--p-clr-orange);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.page-products .console-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--p-clr-mid);
  line-height: 1.4;
}
.page-products .console-detail {
  margin-top: 0.4rem;
  background: rgba(13,13,13,0.3);
  border-radius: var(--p-radius);
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255,122,0,0.15);
}
.page-products .console-detail summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--p-clr-orange);
  font-size: 0.85rem;
  outline: none;
}
.page-products .console-detail p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--p-clr-mid);
  line-height: 1.5;
}

/* === 数据对照 === */
.page-products .compare-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width:768px) {
  .page-products .compare-layout { flex-direction: row; align-items: flex-start; }
}
.page-products .compare-table-wrap {
  flex: 2;
  overflow-x: auto;
}
.page-products .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--p-clr-card-bg);
  border-radius: var(--p-radius);
  overflow: hidden;
}
.page-products .compare-table caption.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.page-products .compare-table th {
  background: rgba(138,43,226,0.2);
  color: var(--p-clr-light);
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--p-clr-purple);
}
.page-products .compare-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(138,43,226,0.08);
  color: var(--p-clr-light);
}
.page-products .compare-table tbody tr:hover {
  background: rgba(138,43,226,0.05);
}
.page-products .compare-desc {
  flex: 1;
  background: var(--p-clr-card-bg);
  border-radius: var(--p-radius);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--p-clr-green);
}
.page-products .compare-desc p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--p-clr-mid);
  line-height: 1.6;
}

/* === 内部链接 === */
.page-products .section-internal-links {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138,43,226,0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}
.page-products .section-internal-links span {
  color: var(--p-clr-mid);
}
.page-products .section-internal-links a {
  color: var(--p-clr-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--p-trans);
}
.page-products .section-internal-links a:hover {
  color: var(--p-clr-green);
  text-decoration: underline;
}

/* === 移动端微调 === */
@media (max-width:480px) {
  .page-products { padding: 0.8rem 0.8rem 2rem; }
  .page-products .page-subtitle { flex-direction: column; gap: 0.2rem; }
  .page-products .tab-labels { gap: 0.3rem; }
  .page-products .tab-labels label { padding: 0.3rem 0.7rem; font-size: 0.75rem; }
  .page-products .league-card { padding: 0.5rem 0.6rem; }
  .page-products .l-name { font-size: 0.8rem; }
  .page-products .waterfall-grid { column-count: 1; }
  .page-products .console-item { padding: 0.6rem; }
  .page-products .compare-table { font-size: 0.75rem; }
  .page-products .compare-table th,
  .page-products .compare-table td { padding: 0.4rem 0.6rem; }
}
@media (min-width:1024px) {
  .page-products { padding: 2rem 2rem 4rem; }
  .page-products .section-league { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
  .page-products .section-league .section-header { grid-column: 1 / -1; }
  .page-products .section-league .section-figure { grid-column: 2; margin-top: 0; align-self: start; }
  .page-products .section-replay .section-header { grid-column: 1 / -1; }
  .page-products .section-console .section-header { grid-column: 1 / -1; }
}
</style>
