/* WEB-251: the blog-detail chrome, extracted.
   These are the rules that were byte-identical in all 45 posts. The per-post
   modules (award tables, sweet-spot cards, h4) stay inline, because the variants
   target the same elements through different selectors and merging them changes
   the cascade - see the correction in docs/BLOG_DETAIL_CHROME.md. */

.bx-d-progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 1000; background: linear-gradient(90deg, #14B8A6, #5EEAD4); transition: width 0.1s; pointer-events: none; }
.bx-d-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.bx-back { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(11,18,32,0.5); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.45rem 0.85rem; border-radius: 999px; font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); text-decoration: none; transition: all 0.15s; }
.bx-back:hover { background: rgba(11,18,32,0.75); border-color: rgba(255,255,255,0.4); }
.bx-d-cat { display: inline-block; font-size: 0.62rem; letter-spacing: 0.2em; font-weight: 800; padding: 0.35rem 0.75rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.4); color: #fff; margin: 1.25rem 0 0.85rem; backdrop-filter: blur(6px); background: rgba(11,18,32,0.3); font-family: ui-monospace, monospace; }
.bx-d-title { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: #fff; max-width: 22ch; margin: 0; }
@media (max-width: 720px) {
  .bx-d-title { font-size: 2rem; }
}
.bx-d-dek { font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 60ch; margin-top: 0.85rem; }
.bx-d-meta { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); flex-wrap: wrap; }
.bx-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, #14B8A6, #0891B2); color: #fff; font-weight: 800; font-size: 0.78rem; font-family: ui-monospace, monospace; }
.bx-d-author { font-weight: 700; color: #fff; }
.bx-d-author-role { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 0.15rem; font-family: ui-monospace, monospace; }
@media (max-width: 1100px) {
  .bx-d-toc, .bx-d-rail { display: none; }
}
.bx-d-toc-head { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; color: #5EEAD4; padding-bottom: 0.7rem; border-bottom: 1px solid rgba(94,234,212,0.2); margin-bottom: 0.85rem; font-family: ui-monospace, monospace; }
.bx-d-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.bx-d-toc li { margin: 0; }
.bx-d-toc a { display: grid; grid-template-columns: 24px 1fr; gap: 0.6rem; padding: 0.5rem 0.7rem; font-size: 0.85rem; color: #94A3B8; text-decoration: none; border-left: 2px solid transparent; transition: all 0.15s; line-height: 1.35; }
.bx-d-toc a:hover { color: #CBD5E1; }
.bx-d-toc a .num { font-family: ui-monospace, monospace; font-size: 0.72rem; color: #64748B; }
.bx-d-toc li.active a { color: #5EEAD4; border-left-color: #5EEAD4; background: rgba(94,234,212,0.04); }
.bx-d-toc li.active a .num { color: #5EEAD4; }
.bx-d-article > .container { max-width: none; padding: 0; margin: 0; }
.bx-d-article h2 { font-size: 1.65rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: #fff; margin: 2.5rem 0 0.85rem; padding-top: 0.5rem; }
.bx-d-article h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 1.5rem 0 0.6rem; }
.bx-d-article p { margin-bottom: 1.1rem; }
.bx-d-article strong { color: #fff; font-weight: 700; }
.bx-d-article a:not(.btn-primary):not(.btn-secondary) { color: #5EEAD4; text-decoration: underline; text-underline-offset: 2px; }
.bx-d-article a:not(.btn-primary):not(.btn-secondary):hover { color: #67E8F9; }
.bx-d-article ul, .bx-d-article ol { margin: 0 0 1.1rem 1.5rem; }
.bx-d-article li { margin-bottom: 0.4rem; }
.bx-d-article .callout p { margin-bottom: 0; }
.bx-d-end-mark { font-family: ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0.16em; color: #5EEAD4; text-align: center; }
.bx-d-end-author { display: flex; align-items: center; gap: 0.85rem; }
.bx-d-end-name { font-weight: 700; color: #fff; }
.bx-d-end-role { font-size: 0.78rem; color: #94A3B8; font-family: ui-monospace, monospace; }
.bx-d-rail-card { background: rgba(15,23,42,0.55); border: 1px solid rgba(94,234,212,0.12); border-radius: 12px; padding: 1.1rem; }
.bx-d-rail-eyebrow { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.18em; color: #5EEAD4; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(94,234,212,0.12); margin-bottom: 0.85rem; font-family: ui-monospace, monospace; }
.bx-d-rel { display: grid; grid-template-columns: 60px 1fr; gap: 0.7rem; align-items: start; padding: 0.6rem 0; border-bottom: 1px dashed rgba(94,234,212,0.08); text-decoration: none; color: inherit; transition: opacity 0.15s; }
.bx-d-rel:last-child { border-bottom: none; }
.bx-d-rel:hover { opacity: 0.85; }
.bx-d-rel-thumb { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; position: relative; }
.bx-d-rel-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bx-d-rel-cat { font-size: 0.6rem; letter-spacing: 0.14em; font-weight: 800; }
.bx-d-rel-title { font-size: 0.85rem; font-weight: 700; color: #fff; margin-top: 0.2rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bx-d-rel-meta { font-size: 0.7rem; color: #94A3B8; margin-top: 0.2rem; font-family: ui-monospace, monospace; }
