/* ===== tokens ===== */
:root {
  --h: 198;
  --s: 72%;
  --r: 12px;
  --wrap: 1140px;
  --font-body: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"PingFang SC","Hiragino Sans","Noto Sans CJK SC","Microsoft YaHei","Yu Gothic",Meiryo;
  --font-head: "Barlow Condensed","Arial Narrow","Roboto Condensed","Avenir Next Condensed","Helvetica Neue",sans-serif,"PingFang SC","Hiragino Sans","Noto Sans CJK SC","Microsoft YaHei","Yu Gothic",Meiryo;
  --head-case: uppercase;
  --head-weight: 800;
  --head-tracking: 0.02em;
  color-scheme: dark;
  --bg: hsl(var(--h) 24% 8%);
  --surface: hsl(var(--h) 20% 12%);
  --surface-2: hsl(var(--h) 18% 17%);
  --line: hsl(var(--h) 16% 23%);
  --text: hsl(var(--h) 20% 93%);
  --muted: hsl(var(--h) 10% 68%);
  --accent: hsl(var(--h) var(--s) 62%);
  --accent-ink: hsl(var(--h) 45% 9%);
  --link: hsl(var(--h) var(--s) 72%);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-case);
  line-height: 1.2;
  margin: 0;
}
p { margin: 0 0 1rem; }
.jb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jb-skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 0.6rem 1rem; background: var(--accent); color: var(--accent-ink); }
.jb-skip:focus { left: 0; }
.jb-muted { color: var(--muted); }
.jb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.jb-narrow { max-width: 52rem; }
.jb-frame { min-height: 100vh; display: flex; min-width: 0; }
.jb-stage { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 100vh; }
.jb-main { flex: 1; }
.jb-eyebrow { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.jb-lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.jb-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 0.75rem; }
.jb-h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.jb-meta { font-size: 0.875rem; color: var(--muted); }
.jb-block { padding-top: 2.25rem; padding-bottom: 1rem; }
.jb-page { padding-top: 1.5rem; padding-bottom: 4rem; }
.jb-pagehead { margin: 1rem 0 1.75rem; }

/* ===== header ===== */
.jb-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jb-header-in { max-width: var(--wrap); margin: 0 auto; padding: 0.65rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.jb-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-case); font-size: 1.15rem; white-space: nowrap; }
.jb-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.jb-logo { border-radius: var(--r); }
.jb-nav { display: flex; gap: 0.2rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.jb-nav::-webkit-scrollbar { display: none; }
.jb-nav a { padding: 0.45rem 0.8rem; border-radius: var(--r); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.jb-nav a:hover { color: var(--text); background: var(--surface-2); }
.jb-nav a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.jb-search { position: relative; flex: 0 1 18rem; }
.jb-search[hidden] { display: none; }
.jb-search input { width: 100%; padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; font-size: 0.95rem; }
.jb-search input::placeholder { color: var(--muted); }
.jb-search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.jb-results { position: absolute; right: 0; top: calc(100% + 0.4rem); width: min(26rem, 92vw); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgb(0 0 0 / 0.28); padding: 0.4rem; z-index: 40; }
.jb-results[hidden] { display: none; }
.jb-results a { display: block; padding: 0.55rem 0.7rem; border-radius: calc(var(--r) - 2px); color: var(--text); text-decoration: none; }
.jb-results a:hover, .jb-results a[data-active] { background: var(--surface-2); }
.jb-results .jb-r-title { display: block; font-weight: 650; }
.jb-results .jb-r-meta { display: block; font-size: 0.8rem; color: var(--muted); }
.jb-results .jb-r-note { padding: 0.7rem; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 720px) {
  .jb-header-in { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
  .jb-brand { order: 1; }
  .jb-search { order: 2; flex: 1 1 10rem; }
  .jb-nav { order: 3; flex: 1 0 100%; }
  .jb-results { left: 0; right: auto; }
}
@media (min-width: 1000px) {
  .jb-frame { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); }
  .jb-header { position: sticky; top: 0; height: 100vh; align-self: start; border-bottom: 0; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
  .jb-header-in { flex-direction: column; align-items: stretch; height: 100%; padding: 1.5rem 1rem; gap: 1.25rem; max-width: none; }
  .jb-brand { font-size: 1.3rem; }
  .jb-nav { order: 3; flex-direction: column; flex: 1; overflow: visible; gap: 0.15rem; }
  .jb-nav a { padding: 0.55rem 0.8rem; }
  .jb-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); }
  .jb-search { order: 2; flex: none; }
  .jb-results { left: 0; right: auto; width: 24rem; }
  .jb-hero-in, .jb-wrap { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== hero ===== */
.jb-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.jb-hero-in { display: grid; gap: 2rem; align-items: center; }
.jb-hero-title { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-bottom: 1rem; }
.jb-hero .jb-lead { font-size: 1.2rem; margin-bottom: 1.5rem; }
.jb-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.jb-btn { display: inline-flex; align-items: center; padding: 0.7rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.jb-btn:hover { border-color: var(--accent); }
.jb-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.jb-btn--primary:hover { filter: brightness(1.08); }
.jb-hero-media img { display: block; width: 100%; border-radius: calc(var(--r) * 1.5); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.jb-hero-art { aspect-ratio: 16 / 9; border-radius: calc(var(--r) * 1.5); border: 1px solid var(--line); background:
  radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
  radial-gradient(90% 80% at 10% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 65%),
  var(--surface); }
.jb-hero--banner { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(68vh, 30rem); padding: 4rem 0 3rem; overflow: hidden; border-bottom: 1px solid var(--line); }
.jb-hero--banner .jb-hero-media { position: absolute; inset: 0; z-index: -1; }
.jb-hero--banner .jb-hero-media img, .jb-hero--banner .jb-hero-art { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; object-fit: cover; }
.jb-hero--banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, var(--bg) 96%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 82%, transparent), transparent 70%); }
.jb-hero--banner .jb-hero-copy { max-width: 40rem; }

/* ===== cards and grids ===== */
.jb-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.jb-card, .jb-quick-item, .jb-feed-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.05rem 1.1rem; color: var(--text); text-decoration: none; border-radius: var(--r); transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.jb-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) - 2px); margin-bottom: 0.35rem; }
.jb-card-title { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-case); font-size: 1.08rem; line-height: 1.3; }
.jb-card-text { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.jb-card-meta { color: var(--muted); font-size: 0.78rem; margin-top: auto; padding-top: 0.4rem; }
.jb-card:hover .jb-card-title, .jb-quick-item:hover .jb-card-title, .jb-feed-item:hover .jb-card-title { color: var(--accent); }
[data-jb-item][hidden], [data-jb-group][hidden] { display: none; }
.jb-card, .jb-quick-item, .jb-feed-item { border: 1px solid transparent; background: var(--surface); }
.jb-card:hover, .jb-quick-item:hover, .jb-feed-item:hover { background: var(--surface-2); }

.jb-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: q; }
.jb-quick li { counter-increment: q; }
.jb-quick-item { height: 100%; position: relative; padding-top: 2.6rem; }
.jb-quick-item::before { content: counter(q, decimal-leading-zero); position: absolute; top: 0.8rem; left: 1.1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--accent); }

.jb-sects { display: grid; gap: 1.25rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.jb-sect { padding: 0.25rem 0 0.5rem; }
.jb-sect-title { font-size: 1.2rem; margin-bottom: 0.4rem; }
.jb-sect-title a { color: var(--text); text-decoration: none; }
.jb-sect-title a:hover { color: var(--accent); }
.jb-count { display: inline-block; margin-left: 0.3rem; padding: 0 0.5rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.jb-sect-text { color: var(--muted); font-size: 0.95rem; }
.jb-sect-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.jb-sect-list li { border-bottom: 1px solid var(--line); }
.jb-sect-list a { display: block; padding: 0.5rem 0; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.jb-sect-list a:hover { color: var(--accent); }

.jb-filter { margin: 0 0 1.5rem; }
.jb-filter input { width: 100%; max-width: 24rem; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; }
.jb-filter input[hidden] { display: none; }
.jb-group { margin-bottom: 2.25rem; }
.jb-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

/* ===== breadcrumbs ===== */
.jb-crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.85rem; color: var(--muted); }
.jb-crumbs a { color: var(--muted); }
.jb-crumbs a:hover { color: var(--text); }

/* ===== article ===== */
.jb-article { display: grid; gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 1080px) { .jb-article { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; } }
.jb-article-main { min-width: 0; }
.jb-articlehead { margin: 1.25rem 0 1.5rem; }
.jb-figure { margin: 0 0 1.5rem; }
.jb-figure img { display: block; width: 100%; border-radius: calc(var(--r) * 1.25); border: 1px solid var(--line); }
.jb-answer { margin: 0 0 1.75rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); }
.jb-answer p:last-child { margin-bottom: 0; }
.jb-answer-label { margin-bottom: 0.3rem !important; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.jb-side { min-width: 0; }
.jb-side > * { margin-bottom: 1.25rem; }
@media (min-width: 1080px) { .jb-side { position: sticky; top: 5rem; align-self: start; max-height: calc(100vh - 6rem); overflow: auto; } }
.jb-side-title { margin-bottom: 0.6rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jb-info { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.jb-info dl { margin: 0; }
.jb-info dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.jb-info dl > div:last-child { border-bottom: 0; }
.jb-info dt { color: var(--muted); }
.jb-info dd { margin: 0; text-align: right; font-weight: 600; }
.jb-toc[hidden] { display: none; }
.jb-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.jb-toc a { display: block; padding: 0.3rem 0 0.3rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.4; }
.jb-toc a:hover { color: var(--text); }
.jb-toc a[data-active] { color: var(--text); border-left-color: var(--accent); }
.jb-toc .jb-toc-sub a { padding-left: 1.8rem; font-size: 0.85rem; }
.jb-faq { margin-top: 2.5rem; }
.jb-faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.jb-faq summary { cursor: pointer; font-weight: 650; }
.jb-faq details p { margin: 0.6rem 0 0; color: var(--muted); }
.jb-related { margin-top: 3rem; }

/* ===== prose (Markdown body) ===== */
.jb-prose { overflow-wrap: anywhere; }
.jb-prose > :first-child { margin-top: 0; }
.jb-prose h2 { font-size: 1.55rem; margin: 2.4rem 0 0.8rem; padding-top: 0.4rem; scroll-margin-top: 5rem; }
.jb-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; scroll-margin-top: 5rem; }
.jb-prose h4 { font-size: 1.02rem; margin: 1.4rem 0 0.5rem; }
.jb-prose ul, .jb-prose ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.jb-prose li { margin-bottom: 0.3rem; }
.jb-prose li::marker { color: var(--accent); }
.jb-prose blockquote { margin: 1.25rem 0; padding: 0.4rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); }
.jb-prose code { padding: 0.12em 0.4em; border-radius: 4px; background: var(--surface-2); font-size: 0.9em; }
.jb-prose pre { overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.jb-prose pre code { padding: 0; background: none; }
.jb-prose img { display: block; margin: 1.25rem 0; border-radius: var(--r); }
.jb-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.jb-prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.jb-prose th, .jb-prose td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.jb-prose th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); white-space: nowrap; }
.jb-prose tbody tr:hover { background: var(--surface); }
.jb-scroll { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--r); }
.jb-scroll table { margin: 0; min-width: 32rem; }
.jb-intro { margin-bottom: 2rem; }
.jb-home-prose { padding-bottom: 3rem; }
.jb-home-prose .jb-prose { max-width: 46rem; }
.jb-legal { font-size: 0.97rem; }

/* ===== footer ===== */
.jb-sitefoot { margin-top: auto; border-top: 1px solid var(--line); background: var(--surface); }
.jb-sitefoot-in { padding: 2rem 1.25rem 2.5rem; }
.jb-sitefoot-top { margin-bottom: 1.25rem; }
.jb-sitefoot-brand { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.25rem; margin: 0 0 0.35rem; }
.jb-sitefoot-note { margin: 0; font-size: 0.88rem; color: var(--muted); max-width: 40rem; }
.jb-sitefoot-cols { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .jb-sitefoot-cols { grid-template-columns: 1fr 1fr; } }
.jb-sitefoot-cols nav { display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.jb-foot-kicker { margin: 0 0 0.35rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.jb-sitefoot-cols a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.jb-sitefoot-cols a:hover { color: var(--text); text-decoration: underline; }
.jb-sitefoot-copy { margin: 0; font-size: 0.82rem; color: var(--muted); }
.jb-static { padding: 1.25rem 0 3rem; }
.jb-static-card { padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); max-width: 46rem; }
.jb-static-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.45rem; }
.jb-static-dek { color: var(--muted); margin: 0 0 1.25rem; }
.jb-404 { padding-top: 5rem; }

/* ===== Jibbers custom blocks ===== */
.jb-release-ribbon { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, hsl(var(--h) 40% 14%), hsl(var(--h) 55% 18%)); }
.jb-release-in { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: baseline; padding: 0.65rem 1.25rem; font-size: 0.92rem; }
.jb-release-label { margin: 0; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-size: 0.72rem; }
.jb-release-text { margin: 0; flex: 1 1 14rem; color: var(--muted); }
.jb-release-link { color: var(--link); font-weight: 650; text-decoration: none; }
.jb-release-link:hover { text-decoration: underline; }
.jb-hero-grid { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 900px) { .jb-hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.jb-hero-side { display: grid; gap: 1rem; }
.jb-board { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%); }
.jb-board-kicker { margin: 0 0 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.jb-board-title { margin: 0 0 0.75rem; font-size: 1.15rem; }
.jb-board-dl { margin: 0; display: grid; gap: 0.45rem; }
.jb-board-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem; font-size: 0.9rem; }
.jb-board-row dt { color: var(--muted); font-weight: 600; }
.jb-board-row dd { margin: 0; }
.jb-board-src { margin: 0.75rem 0 0; font-size: 0.78rem; color: var(--muted); }
.jb-analog { padding: 2rem 0; background: var(--surface); border-block: 1px solid var(--line); }
.jb-analog-lead { max-width: 42rem; color: var(--muted); margin: 0.35rem 0 1.25rem; }
.jb-analog-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
@media (min-width: 800px) { .jb-analog-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jb-analog-step { display: flex; gap: 0.75rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.jb-analog-step p { margin: 0.25rem 0 0; font-size: 0.92rem; color: var(--muted); }
.jb-analog-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--accent); line-height: 1; }
.jb-start-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.jb-start-item { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.jb-start-item:hover { border-color: var(--accent); transform: translateX(3px); }
.jb-start-go { align-self: center; color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.jb-sect-deck { display: grid; gap: 1rem; }
@media (min-width: 760px) { .jb-sect-deck { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.jb-sect-card { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* post / section redesign */
.jb-mast { display: grid; gap: 1.25rem; margin: 1.25rem 0 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
@media (min-width: 860px) { .jb-mast { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.jb-kicker, .jb-mast .jb-kicker { margin: 0 0 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.jb-mast-title { font-size: clamp(1.7rem, 3.6vw, 2.55rem); margin-bottom: 0.5rem; }
.jb-mast-dek { color: var(--muted); margin: 0; }
.jb-mast-meta { margin: 0.65rem 0 0; font-size: 0.88rem; color: var(--muted); }
.jb-mast-spec { border-left: 3px solid var(--accent); padding-left: 0.85rem; }
.jb-spec-label { margin: 0 0 0.45rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.jb-spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.92rem; }
.jb-spec-list li { display: flex; justify-content: space-between; gap: 0.75rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.25rem; }
.jb-spec-list span { color: var(--muted); }
.jb-cover-wrap { margin-bottom: 1.25rem; }
.jb-cover img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.jb-article-flow { max-width: 46rem; padding-bottom: 3.5rem; }
.jb-callout { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }
.jb-callout-label { margin: 0 0 0.35rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; }
.jb-callout-text { margin: 0; font-size: 1.05rem; }
.jb-chip-toc { margin: 0 0 1.5rem; }
.jb-chip-label { margin: 0 0 0.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.jb-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.jb-chip { display: inline-block; padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 0.82rem; background: var(--surface); }
.jb-chip[data-active], .jb-chip:hover { border-color: var(--accent); color: var(--accent); }
.jb-chip-sub { opacity: 0.85; }
.jb-faq-panel { margin-top: 2.5rem; }
.jb-panel-title { font-size: 1.25rem; margin-bottom: 0.85rem; }
.jb-faq-grid { display: grid; gap: 0.55rem; }
.jb-faq-item { border: 1px solid var(--line); border-radius: var(--r); padding: 0.65rem 0.85rem; background: var(--surface); }
.jb-related-rail { margin-top: 2.75rem; }
.jb-tile-stack { display: grid; gap: 0.75rem; }
.jb-tile { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.jb-tile-link { display: grid; grid-template-columns: 9rem 1fr; gap: 0.85rem; text-decoration: none; color: inherit; padding: 0.65rem; }
.jb-tile-media img, .jb-tile-fallback { width: 9rem; height: 5.1rem; object-fit: cover; border-radius: calc(var(--r) - 2px); background: var(--surface-2); display: block; }
.jb-tile-title { margin: 0; font-size: 1rem; line-height: 1.25; }
.jb-tile-text { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jb-tile-meta { margin: 0.35rem 0 0; font-size: 0.78rem; color: var(--muted); }
.jb-section-mast { margin: 1rem 0 1.5rem; }
.jb-section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.jb-section-dek { color: var(--muted); max-width: 44rem; }
.jb-entry-list { display: grid; gap: 0.55rem; }
.jb-entry-row { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 0.85rem; align-items: center; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; background: var(--surface); }
.jb-entry-row img { width: 5.5rem; height: 3.1rem; object-fit: cover; border-radius: calc(var(--r) - 3px); }
.jb-entry-copy { display: flex; flex-direction: column; gap: 0.2rem; }
.jb-entry-copy span { color: var(--muted); font-size: 0.9rem; }
.jb-entry-date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.jb-block-label { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 1.5rem 0 0.65rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
