/* swatch-deck · 详情页：五阶渐变色条下的样品说明书 */
.sw-detail { max-width: 960px; }
.sw-detail .detail-breadcrumb { padding: 4px 0 16px; color: var(--sw-soft); text-transform: none; letter-spacing: 0; font-size: .9rem; }
.sw-detail .detail-breadcrumb a { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sw-cobalt); font-weight: 600; text-decoration: none; }

.sw-sheet { background: var(--sw-paper); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(27, 27, 31, .1); }
.sw-sheet-head { padding: 0 32px 24px; background: var(--sw-c1); }
.sw-gradient { display: grid; grid-template-columns: repeat(5, 1fr); height: 40px; margin: 0 -32px 22px; }
.sw-sheet-code { margin: 0 0 8px; font-size: .86rem; color: var(--sw-ink); }
.sw-sheet-head h1 { margin: 0; font-family: var(--sw-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; }
.sw-sheet-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-weight: 600; font-size: .92rem; color: #3c3d44; }
.sw-sheet-meta a { color: var(--sw-cobalt); }
.sw-sheet-body { padding: 28px 32px 32px; }
.sw-sheet-body .detail-summary { padding: 14px 18px; border-left: 8px solid var(--sw-c3); background: var(--sw-counter); }
.sw-sheet-body .detail-image img { border-radius: 4px; }
.sw-sheet-body .detail-prose { max-width: 70ch; font-size: 1.06rem; line-height: 1.75; }
.sw-sheet-body .detail-prose h2, .sw-sheet-body .detail-prose h3 { font-family: var(--sw-display); font-weight: 700; letter-spacing: -.01em; }
.sw-sheet-body .detail-prose a { color: var(--sw-cobalt); }

.sw-neighbours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 36px; }
.sw-neighbours a { display: grid; gap: 4px; padding: 14px 18px; border-radius: 6px; background: var(--sw-paper); border-top: 8px solid var(--sw-c2); font-weight: 600; line-height: 1.35; }
.sw-neighbours a + a { border-top-color: var(--sw-c4); }
.sw-neighbours a:hover { color: var(--sw-cobalt); }
.sw-neighbours small { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sw-soft); }

@media (max-width: 767px) {
    .sw-sheet-head { padding: 0 14px 18px; }
    .sw-gradient { height: 20px; margin: 0 -14px 16px; }
    .sw-sheet-head h1 { font-size: 1.6rem; }
    .sw-sheet-body { padding: 18px 14px 20px; }
    .sw-neighbours { grid-template-columns: minmax(0, 1fr); }
}
