/* 168caipiaokaijiangwang.html —— 开奖数据总览页专属版式 */

.kw-hero {
  padding: 3rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
}

.kw-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 0.9rem;
  letter-spacing: 0.01em;
}

.kw-hero-lede {
  max-width: 46rem;
  color: var(--ink-soft, #4a5568);
  line-height: 1.85;
  margin: 0 0 1.4rem;
}

.kw-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kw-points li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.kw-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent, #d97706);
}

.kw-glance,
.kw-matrix,
.kw-flow,
.kw-archive,
.kw-checklist,
.kw-rhythm,
.kw-source,
.kw-dimension,
.kw-paths,
.kw-status,
.kw-terms,
.kw-faq,
.kw-related,
.kw-note {
  padding: 2.4rem 0;
  border-bottom: 1px dashed var(--line);
}

section h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin: 0 0 0.9rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--brand, #1d4ed8);
  line-height: 1.4;
}

.kw-facts,
.kw-dims,
.kw-terms-list {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 0.55rem 1.2rem;
  margin: 0;
}

.kw-facts dt,
.kw-dims dt,
.kw-terms-list dt {
  font-weight: 600;
  color: var(--brand, #1d4ed8);
}

.kw-facts dd,
.kw-dims dd,
.kw-terms-list dd {
  margin: 0;
  line-height: 1.8;
}

.kw-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.kw-table caption {
  text-align: left;
  padding-bottom: 0.6rem;
  color: var(--ink-soft, #4a5568);
  font-size: 0.9rem;
}

.kw-table th,
.kw-table td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.kw-table thead th {
  background: var(--paper-alt, #eef2f9);
  font-weight: 600;
  white-space: nowrap;
}

.kw-table tbody tr:nth-child(even) {
  background: rgba(29, 78, 216, 0.04);
}

.kw-rhythm-table th:nth-child(1) {
  width: 8.5rem;
}

.kw-timeline,
.kw-checks,
.kw-steps {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  counter-reset: kwstep;
}

.kw-timeline li,
.kw-checks li,
.kw-steps li {
  position: relative;
  padding: 0.7rem 0 0.7rem 3rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.85;
  counter-increment: kwstep;
}

.kw-timeline li:last-child,
.kw-checks li:last-child,
.kw-steps li:last-child {
  border-bottom: none;
}

.kw-timeline li::before,
.kw-checks li::before,
.kw-steps li::before {
  content: counter(kwstep);
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  background: var(--brand, #1d4ed8);
  color: #fff;
  font-size: 0.85rem;
}

.kw-timeline time {
  display: block;
  font-weight: 600;
  color: var(--accent, #d97706);
}

.kw-callout,
.kw-disclaimer {
  background: var(--paper-alt, #eef2f9);
  border-left: 4px solid var(--accent, #d97706);
  border-radius: 0.35rem;
  padding: 1rem 1.2rem;
  margin: 1.1rem 0;
}

.kw-callout p,
.kw-disclaimer p {
  margin: 0;
  line-height: 1.9;
}

.kw-quote {
  margin: 1.1rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand, #1d4ed8);
  background: rgba(29, 78, 216, 0.05);
  color: var(--ink, #1a202c);
  line-height: 1.9;
}

.kw-archive-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.9;
}

.kw-archive-list li {
  margin-bottom: 0.35rem;
}

.kw-details {
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  background: #fff;
}

.kw-details summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.7;
}

.kw-details p {
  margin: 0.6rem 0 0;
  line-height: 1.85;
  color: var(--ink-soft, #4a5568);
}

.kw-links {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.5rem 1.4rem;
}

.kw-links li {
  line-height: 1.9;
}

.kw-links a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.kw-links a:hover {
  border-bottom-color: currentColor;
}

@media (max-width: 640px) {
  .kw-facts,
  .kw-dims,
  .kw-terms-list {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .kw-facts dd,
  .kw-dims dd,
  .kw-terms-list dd {
    margin-bottom: 0.6rem;
  }

  .kw-table {
    display: block;
    overflow-x: auto;
  }
}
