/* toy-bricks · 详情页：文章压在一块顶边带颗粒的厚板下 */
.tb-read { max-width: 940px; }
.tb-read .detail-breadcrumb { padding: 4px 0 12px; color: var(--tb-soft); }
.tb-read .detail-breadcrumb a { color: var(--tb-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tb-line); }
.tb-read .detail-top-ad:has(.ad) { margin: 4px 0 24px; }

.tb-slab { display: grid; grid-template-columns: minmax(0, 1fr); }
.tb-slab-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; padding: 22px 30px 20px; background: var(--tb-c); color: #fff; border-radius: 10px 10px 0 0; }
.tb-slab-head .tb-chip { background: #fff; color: var(--tb-c-dark); }
.tb-slab-head h1 { margin: 0; font-family: var(--tb-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; }
.tb-slab-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.tb-slab-facts li { min-width: 0; overflow-wrap: anywhere; }
.tb-slab-body { padding: 24px 30px 18px; background: var(--tb-brick); border-radius: 0 0 10px 10px; box-shadow: 0 6px 0 var(--tb-c-dark); }
.tb-slab-body .detail-summary { padding: 14px 18px; border-left: 6px solid var(--tb-c); background: var(--tb-plate); line-height: 1.6; }
.tb-slab-body .detail-prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; }
.tb-slab-body .detail-prose a { color: var(--tb-c-dark); }

.tb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0 8px; }
.tb-step { display: grid; gap: 6px; padding: 14px 18px; background: #fff; border-radius: 8px; border-bottom: 5px solid var(--tb-ink); font-family: var(--tb-display); font-weight: 500; line-height: 1.35; }
.tb-step:hover { text-decoration: underline; }
.tb-step-label { font-family: var(--tb-body); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-soft); }
.tb-step-next { grid-column: 2; text-align: right; }

@media (max-width: 767px) {
    .tb-slab .tb-studs { display: none; }
    .tb-slab-head { gap: 10px; padding: 14px 14px 16px; }
    .tb-slab-head h1 { font-size: 1.65rem; }
    .tb-slab-body { padding: 16px 14px 10px; }
    .tb-steps { grid-template-columns: minmax(0, 1fr); }
    .tb-step-next { grid-column: auto; text-align: left; }
}
