/* 168cpkj.com · 彩票开奖查询页专属版式（cx- 前缀）
   只写本页布局；重置、色彩令牌、导航与页脚见 /css/base.css */

.cx-intro {
  padding: 30px 0 8px;
}

.cx-intro-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
}

.cx-kicker {
  margin: 0 0 .5em;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.cx-lead {
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-2);
}

.cx-inline-links {
  font-size: 15px;
  color: var(--ink-2);
  border-left: 3px solid var(--line-2);
  padding-left: 12px;
}

/* 首屏速览表 */
.cx-facts {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 6px 18px;
}

.cx-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.cx-fact:last-child {
  border-bottom: 0;
}

.cx-fact dt {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 14px;
  flex: 0 0 auto;
}

.cx-fact dd {
  margin: 0;
  text-align: right;
  font-size: 14px;
  color: var(--ink-2);
}

.cx-num {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand);
}

/* 通用 section 间距与表格 */
.cx-slots,
.cx-entry,
.cx-tips,
.cx-devices,
.cx-delay,
.cx-flow,
.cx-window,
.cx-scenes,
.cx-pitfall,
.cx-compare,
.cx-voices,
.cx-faq,
.cx-cta {
  margin: 34px 0 0;
}

.cx-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 0 0 1em;
}

.cx-tablewrap table {
  min-width: 640px;
  margin: 0;
}

.cx-slottable th,
.cx-slottable td {
  font-size: 15px;
}

.cx-slottable tbody tr:nth-child(even) {
  background: #fbfcfd;
}

.cx-stagetable td:first-child {
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

.cx-note {
  font-size: 14px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* 彩种入口清单 */
.cx-entry-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cx-entry-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.8;
}

/* 技巧步骤 */
.cx-tip-list {
  counter-reset: cx-tip;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cx-tip-list > li {
  position: relative;
  padding-left: 46px;
  min-height: 30px;
}

.cx-tip-list > li::before {
  counter-increment: cx-tip;
  content: counter(cx-tip);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.cx-flow-list {
  list-style: none;
  padding: 0;
  counter-reset: cx-flow;
}

.cx-flow-list > li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.cx-flow-list > li:last-child {
  border-bottom: 0;
}

.cx-step {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

/* 多端与对比 */
.cx-device-list,
.cx-compare-list {
  display: grid;
  gap: 12px;
  margin-bottom: 1em;
}

.cx-device,
.cx-way {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin: 0;
}

.cx-device dt,
.cx-way dt {
  color: var(--brand-2);
  margin-bottom: .3em;
}

.cx-device dd,
.cx-way dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.cx-way-all {
  border-left: 4px solid var(--accent);
}

.cx-way-single {
  border-left: 4px solid var(--ok);
}

/* 更新说明与引用 */
.cx-aside {
  margin: 0;
}

.cx-aside p:last-child {
  margin-bottom: 0;
}

.cx-quote {
  font-size: 15px;
  color: var(--ink-2);
  border-left: 4px solid var(--brand);
}

.cx-quote cite {
  display: block;
  margin-top: .5em;
  font-style: normal;
  font-size: 13px;
  color: var(--ink-3);
}

/* 场景与坑 */
.cx-scene-list,
.cx-trap-list {
  padding-left: 1.4em;
}

.cx-scene-list > li,
.cx-trap-list > li {
  margin: .5em 0;
}

/* 问答 */
.cx-qa {
  padding: .2em 1.1em;
}

.cx-qa summary {
  color: var(--ink);
}

.cx-qa p {
  margin: .2em 0 .9em;
  font-size: 15px;
  color: var(--ink-2);
}

/* 收尾 */
.cx-cta {
  background: linear-gradient(180deg, #fff 0%, #f2f6fa 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--r);
  padding: 22px 24px 18px;
}

.cx-cta-line {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .cx-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cx-fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cx-fact dd {
    text-align: left;
  }
}
