.bld { background: var(--bg); color: var(--text); font-family: var(--font); }
.bld-wrap { max-width: 1236px; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }

.bld-crumbs { padding: 20px 0 0; font-size: 13px; color: var(--text-muted); }
.bld-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bld-crumbs li { display: flex; gap: 6px; min-width: 0; }
.bld-crumbs li + li::before { content: "\203A"; }
.bld-crumbs a { color: var(--text-muted); text-decoration: none; }
.bld-crumbs a:hover { color: var(--text); }

.bld-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 14px 0 22px; }
.bld-head h1 { margin: 0; font-size: clamp(32px, calc(4.4vw / var(--bs-zoom, 1)), 48px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.bld-lede { margin: 8px 0 0; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.bld-actions { display: flex; gap: 10px; }

.bld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 132px; padding: 0 16px; border-radius: var(--radius); font: 600 14px var(--font); border: 1px solid var(--border-strong); background: var(--card-bg); color: var(--text); text-decoration: none; cursor: pointer; transition: background-color 120ms var(--ease), border-color 120ms var(--ease); }
.bld-btn:hover { border-color: var(--border-strong-hover); }
.bld-btn:disabled { opacity: .6; cursor: default; }
.bld-btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.bld-btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.bld-btn-wide { width: 100%; }
.bld-follow.is-on { background: var(--card-bg); border-color: var(--border-strong); color: var(--text); }
.bld-follow.is-on:hover { border-color: var(--border-strong-hover); background: var(--card-bg); }
.bld-follow.is-on .bld-follow-t::before { content: "\2713\00a0"; color: var(--brand-dark); }
.bld-follow-opts { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.bld-follow-opts[hidden] { display: none; }
.bld-opt-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.bld-opt-h + .bld-seg + .bld-opt-h { margin-top: 12px; }
.bld-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.bld-seg button { height: 34px; border: 0; background: var(--card-bg); font: 600 13px var(--font); color: var(--text-secondary); cursor: pointer; transition: background-color 120ms var(--ease), color 120ms var(--ease); }
.bld-seg button + button { border-left: 1px solid var(--border-strong); }
.bld-seg button[aria-pressed="true"] { background: var(--brand-bg); color: var(--brand-dark); }
.bld-seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.bld-opt-saved { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); min-height: 16px; }
.bld-follow-n { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.bld-follow-signin { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.bld-follow-signin p { margin: 0 0 12px; font-size: 14px; color: var(--text-secondary); }
.bld-follow-signin p b { color: var(--text); }

.bld-gallery { display: grid; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; }
.bld-gallery-wrap { display: flex; flex-direction: column; gap: 8px; }
.bld-collage { display: flex; gap: 8px; align-items: flex-start; border-radius: var(--radius-lg); overflow: hidden; }
.bld-cshot { position: relative; margin: 0; min-width: 0; overflow: hidden; background: #1f2a30; flex: var(--a) 1 0; aspect-ratio: var(--a); }
.bld-cshot .bld-open { position: absolute; inset: 0; }
.bld-cshot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bld-cshot figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }
.bld-cshot figcaption span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bld-cstack { flex: var(--a) 1 0; min-width: 0; align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.bld-cstack .bld-cshot { flex: calc(1 / var(--a)) 1 0; aspect-ratio: auto; min-height: 0; width: 100%; }
.bld-collage-one .bld-cshot { flex: 1 1 auto; aspect-ratio: auto; height: clamp(260px, calc(40vw / var(--bs-zoom, 1)), 520px); }
.bld-collage-one img { position: relative; object-fit: cover; }
.bld-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bld-gshot { margin: 0; }
.bld-gshot .bld-open { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #1f2a30; }
.bld-gshot img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.bld-bgroup-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bld-bgroup-h h3 { margin: 0; font-size: 16px; font-weight: 700; }
.bld-bgroup-n { margin-left: auto; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bld-bgroup-top { padding-bottom: 10px; border-bottom: 1px solid var(--border-hover); }
.bld-bgroup-note { margin: 4px 0 0; font-size: 14px; color: var(--text-secondary); }
.bld-bgroup + .bld-bgroup { margin-top: 28px; }
.bld-bgroup-whole .bld-bgroup-h h3 { color: var(--text-secondary); }
.bld-gallery-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.bld-gallery-foot a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.bld-gallery-empty { background: var(--card-bg); border: 1px solid var(--border); }
.bld-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; }
.bld-empty-t { margin: 0; font-size: 17px; font-weight: 700; }
.bld-empty-d { margin: 0 0 8px; font-size: 14px; color: var(--text-secondary); }

.bld-stats { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); margin: 28px 0 0; border-top: 1px solid var(--border-hover); border-bottom: 1px solid var(--border); }
.bld-stat { padding: 16px 16px 16px 0; }
.bld-stat + .bld-stat { padding-left: 16px; border-left: 1px solid var(--border); }
.bld-stat dt { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.bld-stat { min-width: 0; }
.bld-stat dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.bld-stat-v { overflow-wrap: break-word; }
.bld-stat dd small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--text-secondary); letter-spacing: 0; overflow-wrap: anywhere; }

.bld-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px 0 96px; }
.bld-sec h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.bld-sec + .bld-sec { margin-top: 56px; }
.bld-sub { margin: 0 0 18px; color: var(--text-secondary); font-size: 14px; }
.bld-note { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }

.bld-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-hover); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.bld-tabs::-webkit-scrollbar { display: none; }
.bld-tab { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; font: 600 14px var(--font); color: var(--text-muted); text-decoration: none; transition: color 120ms var(--ease), border-color 120ms var(--ease); }
.bld-tab:hover { color: var(--text); }
.bld-tab[aria-selected="true"] { color: var(--text); border-color: var(--text); }
.bld-tab-n { font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bld-tabbed .bld-panel[hidden] { display: none; }
.bld-tabbed .bld-panel > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bld-tabbed .bld-sec + .bld-sec { margin-top: 0; }
.bld-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bld-photos figure { margin: 0; }
.bld-photos .bld-open { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.bld-photos img { display: block; width: 100%; height: 100%; object-fit: cover; position: relative; }
.bld-photos figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: 13px; color: var(--text-secondary); }
.bld-photos figcaption span:last-child { color: var(--text-muted); }
.bld-empty-panel { padding: 24px 0 0; }
.bld-cite { color: var(--brand-dark); text-decoration: none; }
.bld-cite:hover { text-decoration: underline; }
.bld-tl-wide li { grid-template-columns: 96px 16px minmax(0, 1fr); }
.bld-tl-wide li:not(:last-child)::after { left: 113px; }

.bld-compose, .bld-tabs, .bld-panel, #follow { scroll-margin-top: calc(var(--nav-h, 56px) + 20px); }

.bld-compose { margin: 16px 0 6px; }
.bld-form, .bld-signin { padding: 16px; background: var(--warm); border: 1px solid var(--warm-line); border-radius: 12px; }
.bld-signin p { margin: 0 0 12px; font-size: 14px; color: var(--text-secondary); }
.bld-signin p b { color: var(--text); }
.bld-form-row { margin-bottom: 12px; }
.bld-who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.bld-who[hidden] { display: none; }
.bld-who b { color: var(--text); font-weight: 600; }
.bld-signin { margin-top: 12px; }
.bld-label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.bld-input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--card-bg); font: 15px var(--font); color: var(--text); box-sizing: border-box; }
.bld-textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.bld-date-in { max-width: 200px; }
.bld-photo-row { display: flex; align-items: center; gap: 12px; }
.bld-file { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card-bg); font: 600 14px var(--font); cursor: pointer; }
.bld-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bld-file:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.bld-file-name { font-size: 13px; color: var(--text-secondary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bld-hint { margin: 4px 0 12px; font-size: 13px; color: var(--text-muted); }
.bld-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bld-form-foot .bld-btn { min-width: 0; }
.bld-msg { margin: 0; font-size: 13px; }
.bld-msg-err { color: var(--status-refused); }
.bld-msg-ok { color: var(--text-secondary); }

.bld-feed { list-style: none; margin: 0; padding: 0; }
.bld-post { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.bld-av { width: 32px; height: 32px; border-radius: 50%; background: var(--chip-neutral-bg); color: var(--text-secondary); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.bld-av-plota { background: var(--brand); color: #fff; }
.bld-post-meta { font-size: 13px; color: var(--text-muted); }
.bld-post-meta b { color: var(--text); font-weight: 600; }
.bld-post-body { margin: 4px 0 0; font-size: 15px; line-height: 1.6; }
.bld-postref { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--border-hover); border-radius: var(--radius); font-size: 13px; color: var(--text); text-decoration: none; }
a.bld-postref:hover { border-color: var(--border-strong); }
.bld-postref .bld-what { flex: 1; }
.bld-postmore { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.bld-post-img { margin: 10px 0 0; }
.bld-post-img img { display: block; max-width: 100%; max-height: 520px; height: auto; width: auto; border-radius: var(--radius); }
.bld-post-img figcaption { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.bld-batch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; max-width: 760px; }
.bld-batch-shot { position: relative; margin: 0; }
.bld-batch-shot .bld-open { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #1f2a30; }
.bld-batch-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bld-batch-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: rgba(17, 26, 30, .55); color: #fff; font-size: 22px; font-weight: 700; text-decoration: none; }
.bld-batch-taken { margin: 6px 0 0; font-size: 13px; color: var(--text-muted); }

.bld-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; white-space: nowrap; }
.bld-pill-approved { color: var(--status-approved); background: var(--status-approved-bg); }
.bld-pill-refused { color: var(--status-refused); background: var(--status-refused-bg); }
.bld-pill-pending { color: var(--status-pending); background: var(--status-pending-bg); }
.bld-pill-withdrawn, .bld-pill-decided, .bld-pill-other { color: var(--chip-neutral); background: var(--chip-neutral-bg); }

.bld-group { margin-top: 18px; }
.bld-group-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--border-hover); }
.bld-group-h h3 { margin: 0; font-size: 13px; font-weight: 700; }
.bld-group-h span { font-size: 13px; color: var(--text-muted); }
.bld-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto 116px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); text-decoration: none; }
a.bld-row:hover .bld-what { color: var(--text); }
.bld-ref { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bld-what { color: var(--text-secondary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bld-date { color: var(--text-muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.bld-rows { margin: 0; padding: 0; list-style: none; }
.bld-perm-dates { margin: -6px 0 0; padding: 0 0 10px 146px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.bld-group .bld-row:has(+ .bld-perm-dates) { border-bottom: 0; }
.bld-more summary { list-style: none; display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--brand-dark); cursor: pointer; }
.bld-more summary::-webkit-details-marker { display: none; }
.bld-more[open] summary { display: none; }

.bld-rail { display: flex; flex-direction: column; gap: 20px; }
.bld-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.bld-card-h { margin: 0 0 12px; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.bld-card-d { margin: 0 0 14px; font-size: 14px; color: var(--text-secondary); }
.bld-map { height: 180px; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: var(--chip-neutral-bg); }
.bld-map-pin { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15,20,25,.3); }
.bld-facts { margin: 0; }
.bld-facts div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); font-size: 14px; }
.bld-facts div:first-child { border-top: 0; padding-top: 0; }
.bld-facts dt { color: var(--text-muted); }
.bld-facts dd { margin: 0; font-weight: 500; }
.bld-tl { list-style: none; margin: 0; padding: 0; }
.bld-tl li { display: grid; grid-template-columns: 76px 16px minmax(0, 1fr); gap: 12px; padding: 0 0 18px; position: relative; }
.bld-tl-yr { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-align: right; white-space: nowrap; }
.bld-tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); margin-top: 5px; position: relative; z-index: 1; }
.bld-tl-future .bld-tl-dot { background: var(--card-bg); border: 2px solid var(--border-strong); box-sizing: border-box; }
.bld-tl-now .bld-tl-dot { box-shadow: 0 0 0 4px var(--brand-bg); }
.bld-tl li:not(:last-child)::after { content: ""; position: absolute; left: 93px; top: 14px; bottom: -4px; width: 1px; background: var(--border-hover); }
.bld-tl-t { font-size: 14px; font-weight: 600; }
.bld-tl-t small { display: block; font-weight: 400; color: var(--text-secondary); font-size: 13px; }
.bld-tl-future .bld-tl-t { color: var(--text-secondary); }
.bld-sources ul { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.bld-sources li + li { margin-top: 8px; }
.bld-sources a { color: var(--brand-dark); text-decoration: none; }
.bld-sources a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .bld-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bld-stats { grid-template-columns: repeat(min(var(--n, 6), 3), minmax(0, 1fr)); }
  .bld-stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .bld-stat:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 680px) {
  .bld-wrap { padding: 0 14px; }
    .bld-form, .bld-signin { padding: 0; background: none; border: 0; border-radius: 0; }
  .bld-compose { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
  .bld-head { grid-template-columns: 1fr; align-items: start; }
  .bld-actions .bld-btn { flex: 1; min-width: 0; }
  .bld-gallery { border-radius: 12px; }
  .bld-collage { flex-wrap: wrap; border-radius: 12px; }
  .bld-collage-3 > .bld-cshot-lead, .bld-collage-stack > .bld-cshot-lead, .bld-collage-ll > .bld-cshot { flex: 0 0 100%; }
  .bld-collage-stack .bld-cstack { flex: 0 0 100%; flex-direction: row; align-self: auto; }
  .bld-collage-stack .bld-cstack .bld-cshot { flex: var(--a) 1 0; aspect-ratio: var(--a); width: auto; }
  .bld-collage-one .bld-cshot { height: 300px; }
  .bld-cshot:not(.bld-cshot-lead) figcaption span:last-child { display: none; }
  .bld-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-stat, .bld-stat + .bld-stat { padding: 12px 0; border-left: 0; }
  .bld-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
  .bld-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .bld-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .bld-row .bld-what { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
  .bld-row .bld-date { display: none; }
  .bld-perm-dates { padding-left: 0; margin-top: -4px; }
  .bld-postref { flex-wrap: wrap; }
  .bld-postref .bld-what { flex-basis: 100%; order: 3; white-space: normal; }
  .bld-tl li, .bld-tl-wide li { grid-template-columns: 84px 16px minmax(0, 1fr); gap: 10px; }
  .bld-tl li:not(:last-child)::after, .bld-tl-wide li:not(:last-child)::after { left: 99px; }
}

.bld-month + .bld-month { margin-top: 28px; }
.bld-month-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.bld-month-h span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.bld-open { display: block; cursor: zoom-in; }
.bld-open:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bld-gallery-links { display: inline-flex; gap: 18px; }

html.bld-v-open, html.bld-v-open body { overflow: hidden; }
.bld-v { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-rows: 56px minmax(0, 1fr) auto; background: #0b1114; color: #e8f0ef; font-family: var(--font); }
.bld-v[hidden] { display: none; }
.bld-v-top { display: flex; align-items: center; gap: 16px; padding: 0 12px 0 20px; }
.bld-v-title { font-weight: 700; font-size: 15px; }
.bld-v-count { color: #9fb1b4; font-size: 13px; font-variant-numeric: tabular-nums; margin-right: auto; }
.bld-v-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #e8f0ef; font-size: 28px; line-height: 1; cursor: pointer; transition: background-color 120ms var(--ease); }
.bld-v-close:hover, .bld-v-nav:hover { background: rgba(255,255,255,.1); }
.bld-v-close:focus-visible, .bld-v-nav:focus-visible, .bld-v-day:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.bld-v-stage { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; min-height: 0; }
.bld-v-fig { margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.bld-v-img { max-width: 100%; max-height: calc(100% - 64px); width: auto; height: auto; object-fit: contain; background: #111a1e; }
.bld-v-cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; max-width: 760px; text-align: center; font-size: 13px; color: #9fb1b4; }
.bld-v-taken { color: #e8f0ef; font-weight: 600; }
.bld-v-body { flex-basis: 100%; color: #c9d6d8; }
.bld-v-nav { justify-self: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #e8f0ef; font-size: 36px; line-height: 1; cursor: pointer; transition: background-color 120ms var(--ease); }
.bld-v-line { display: flex; gap: 20px; overflow-x: auto; padding: 12px 20px 16px; border-top: 1px solid rgba(255,255,255,.08); scrollbar-width: thin; }
.bld-v-month { flex: none; }
.bld-v-month-h { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #9fb1b4; white-space: nowrap; }
.bld-v-days { display: flex; gap: 4px; }
.bld-v-day { position: relative; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: transparent; color: #e8f0ef; font: 600 13px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color 120ms var(--ease), border-color 120ms var(--ease); }
.bld-v-day:hover { border-color: rgba(255,255,255,.4); }
.bld-v-day.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.bld-v-day-c { position: absolute; top: -6px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #e8f0ef; color: #0b1114; font-size: 10px; line-height: 16px; }
@media (max-width: 680px) {
  .bld-v-stage { grid-template-columns: minmax(0, 1fr); }
  .bld-v-nav { display: none; }
  .bld-v-top { padding-left: 14px; }
  .bld-v-line { padding: 10px 14px 14px; }
}

.bld-del { margin-left: 10px; padding: 0; border: 0; background: none; font: 600 12px var(--font); color: var(--status-refused); cursor: pointer; }
.bld-del[hidden] { display: none; }
.bld-del:hover { text-decoration: underline; }
.bld-review-link { display: inline-block; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.bld-review-link[hidden] { display: none; }

.bld-post-img .bld-open { display: inline-block; max-width: 100%; }
.bld-post-img img { max-width: 100%; max-height: 520px; width: auto; height: auto; object-fit: contain; }

.bld-pill-resolved { color: var(--status-approved); background: var(--status-approved-bg); }
.bld-pill-resolved-refuse { color: var(--status-refused); background: var(--status-refused-bg); }
.bld-cm-list { list-style: none; margin: 0; padding: 0; }
.bld-cm { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.bld-cm:first-child { padding-top: 4px; }
.bld-cm-when { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--text-muted); }
.bld-cm-date { font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.bld-cm-main { min-width: 0; }
.bld-cm-app { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--text); text-decoration: none; }
a.bld-cm-app:hover .bld-what { color: var(--text); }
.bld-cm-outcome { margin: 6px 0 0; font-size: 15px; color: var(--text); }
.bld-cm-ok b { color: var(--status-approved); }
.bld-cm-no b { color: var(--status-refused); }
.bld-cm-against { margin: 4px 0 0; font-size: 13px; color: var(--status-refused); }
.bld-cm-facts { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 8px 0 0; font-size: 13px; }
.bld-cm-facts div { display: flex; gap: 6px; }
.bld-cm-facts dt { color: var(--text-muted); }
.bld-cm-facts dd { margin: 0; font-weight: 600; color: var(--text); }
.bld-cm-docs { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }
.bld-cm-docs a { color: var(--text); }
@media (max-width: 680px) {
  .bld-cm { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bld-cm-when { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; }
  .bld-cm-app { flex-wrap: wrap; gap: 2px 10px; }
  .bld-cm-app .bld-what { flex-basis: 100%; white-space: normal; }
}

.bld-collage-stack { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.bld-collage-stack > .bld-cshot-lead { aspect-ratio: var(--n, 1.333); height: auto; max-height: 620px; }
.bld-collage-stack .bld-cstack { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; height: auto; min-height: 0; align-self: stretch; }
.bld-collage-stack .bld-cstack .bld-cshot { aspect-ratio: auto; height: 100%; min-height: 0; }
.bld-collage-one .bld-cshot { height: auto; aspect-ratio: var(--n, 1.333); max-height: 620px; }
.bld-stat { text-align: center; padding-left: 12px; padding-right: 12px; }
.bld-stat + .bld-stat { padding-left: 12px; }
.bld-stat dd { font-size: 19px; line-height: 1.25; }
.bld-stat-v { display: block; }
.bld-stat dd small { margin-top: 4px; }
.bld-stat dd small .bld-cite { display: block; }
@media (max-width: 680px) { .bld-stat, .bld-stat + .bld-stat, .bld-stat:nth-child(even) { text-align: center; padding-left: 8px; padding-right: 8px; } }
@media (min-width: 901px) { .bld-rail { position: sticky; top: var(--rail-top, 88px); align-self: start; } }
@media (max-width: 680px) {
  .bld-collage-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bld-collage-stack > .bld-cshot-lead { grid-column: 1 / -1; max-height: 440px; }
  .bld-collage-stack .bld-cstack { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 130px; }
  .bld-collage-one .bld-cshot { max-height: 440px; }
}

.bld-jrows { display: flex; flex-direction: column; gap: 8px; }
.bld-jrow { display: flex; gap: 8px; }
.bld-jshot { position: relative; margin: 0; flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); overflow: hidden; border-radius: var(--radius); background: #1f2a30; }
.bld-jshot .bld-open { position: absolute; inset: 0; }
.bld-jshot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bld-jshot figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }
.bld-jshot figcaption span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bld-jfill { flex: var(--r) 1 0; }
.bld-jrows-narrow { display: none; }
@media (max-width: 680px) { .bld-jrows-wide { display: none; } .bld-jrows-narrow { display: flex; } .bld-jrow, .bld-jrows { gap: 6px; } .bld-jshot figcaption span:last-child { display: none; } }

.bld-ab { position: relative; display: grid; gap: 8px; height: clamp(300px, calc(34vw / var(--bs-zoom, 1)), 440px); border-radius: var(--radius-lg); overflow: hidden; }
.bld-ab-n1 { grid-template-columns: 1fr; }
.bld-ab-n2 { grid-template-columns: 1fr 1fr; }
.bld-ab-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.bld-ab-n3 .bld-ab-t0 { grid-row: 1 / 3; }
.bld-ab-n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bld-ab-n4 .bld-ab-t0 { grid-row: 1 / 3; }
.bld-ab-n4 .bld-ab-t3 { grid-column: 2 / 4; }
.bld-ab-n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bld-ab-n5 .bld-ab-t0 { grid-row: 1 / 3; }
.bld-ab-tile { position: relative; margin: 0; min-width: 0; min-height: 0; overflow: hidden; background: #1f2a30; }
.bld-ab-tile .bld-open { position: absolute; inset: 0; }
.bld-ab-tile img, .bld-ab-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .15s; }
.bld-ab-tile .bld-open:hover img { filter: brightness(.88); }
.bld-ab-tile figcaption, .bld-ab-slide figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none; }
.bld-ab-all { position: absolute; right: 16px; bottom: 16px; padding: 7px 14px; border: 1px solid #222; border-radius: 8px; background: #fff; color: #222; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.bld-ab-all:hover { background: #f7f7f7; }
.bld-ab-swipe { display: none; }
.bld-ab-slide { position: relative; flex: 0 0 100%; margin: 0; height: 280px; scroll-snap-align: start; background: #1f2a30; }
.bld-ab-slide .bld-open { position: absolute; inset: 0; }
.bld-ab-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(34,34,34,.7); color: #fff; font-size: 12px; font-weight: 600; }
.bld-gallery-foot { display: none; }
@media (max-width: 680px) {
  .bld-ab { display: none; }
  .bld-ab-swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 12px; scrollbar-width: none; }
  .bld-ab-swipe::-webkit-scrollbar { display: none; }
}

.bld-ab { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(300px, min(calc(34vw / var(--bs-zoom, 1)), calc(48vh / var(--bs-zoom, 1))), 480px); }
.bld-ab .bld-ab-t0 { grid-row: 1 / 3; }
.bld-ab-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--surface-2, #eef2f3); color: var(--text-muted, #64748b); font-size: 14px; font-weight: 600; text-decoration: none; border: 1.5px dashed var(--border-hover, #cbd5e1); }
.bld-ab .bld-ab-add { border-radius: 0; }
.bld-ab-add:hover { color: var(--brand, #0f766e); border-color: var(--brand, #0f766e); }
.bld-ab-slide.bld-ab-add { height: 280px; }
.bld-ab .bld-ab-add, .bld-ab-slide.bld-ab-add { border: 0; outline: 1.5px dashed var(--border-hover, #cbd5e1); outline-offset: -10px; }
.bld-ab .bld-ab-add { border-radius: 0; }
.bld-ab .bld-ab-add:hover, .bld-ab-slide.bld-ab-add:hover { outline-color: var(--brand, #0f766e); }

.bld-stat-vlong { font-size: 17px; white-space: nowrap; }
.bld-stat-notes { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--text-secondary); }
.bld-stat-notes b { font-weight: 600; color: var(--text); }
@media (max-width: 680px) { .bld-stat-vlong { font-size: 16px; white-space: normal; } }
.bld-head { gap: 56px; }
.bld-head .bld-lede { max-width: 760px; margin-top: 10px; }
.bld-head .bld-actions { padding-bottom: 2px; }
@media (max-width: 900px) { .bld-head { gap: 16px; } .bld-head .bld-lede { max-width: none; } }

.bld-ab .bld-ab-lead { grid-column: 1; grid-row: 1 / 3; }
.bld-ab .bld-ab-c2 { grid-column: 2; }
.bld-ab .bld-ab-c3 { grid-column: 3; }
.bld-ab .bld-ab-full { grid-row: 1 / 3; }
.bld-ab .bld-ab-top { grid-row: 1; }
.bld-ab .bld-ab-bot { grid-row: 2; }

.bld-ab.bld-ab-k0 { grid-template-columns: 1fr; }
.bld-ab.bld-ab-k1 { grid-template-columns: 2fr 1fr; }
.bld-ab.bld-ab-k1.bld-ab-even { grid-template-columns: 1fr 1fr; }
.bld-ab.bld-ab-k2 { grid-template-columns: 2fr 1fr 1fr; }

.bld-dx { padding-bottom: 96px; }
.bld-dx-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 40px 0 32px; }
.bld-dx-intro h1 { margin: 0; font-size: clamp(32px, calc(4vw / var(--bs-zoom, 1)), 46px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.bld-dx-intro .bld-lede { margin: 12px 0 0; max-width: 560px; }
.bld-dx-legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.bld-dx-stage { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; box-sizing: border-box; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg); color: var(--text-secondary); font: 500 14px var(--font); text-align: left; cursor: pointer; transition: border-color 120ms var(--ease), background-color 120ms var(--ease), opacity 120ms var(--ease); }
.bld-dx-stage:hover { border-color: var(--border-hover); color: var(--text); }
.bld-dx-stage[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-bg); color: var(--text); }
.is-filtered .bld-dx-stage[aria-pressed="false"] { opacity: .6; }
.bld-dx-stage:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bld-dx-legend b { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bld-dx-key { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dx); }
.bld-dx-key-planning, .bld-dx-st-planning, .bld-dx-dot-planning, .bld-dx-sdot-planning { --dx: var(--status-info); }
.bld-dx-key-consented, .bld-dx-st-consented, .bld-dx-dot-consented, .bld-dx-sdot-consented { --dx: var(--brand); }
.bld-dx-key-building, .bld-dx-st-building, .bld-dx-dot-building, .bld-dx-sdot-building { --dx: var(--yellow-dark); }
.bld-dx-key-complete, .bld-dx-st-complete, .bld-dx-dot-complete, .bld-dx-sdot-complete { --dx: var(--text); }

.bld-dx-map { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--chip-neutral-bg); border: 1px solid var(--border); }
.bld-dx-static { position: absolute; inset: 0; width: 100%; height: 100%; }
.bld-dx-sdot { fill: var(--dx); stroke: #fff; stroke-width: 3; }
.bld-dx-map.is-live .bld-dx-static { display: none; }
.bld-dx-dot { display: grid; place-items: center; width: 26px; height: 26px; cursor: pointer; text-decoration: none; }
.bld-dx-dot span { display: block; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: var(--dx); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(15,20,25,.35); transition: transform 120ms var(--ease); }
.bld-dx-dot:hover span, .bld-dx-dot:focus-visible span, .bld-dx-dot.is-hot span { transform: scale(1.4); }
.bld-dx-dot:focus-visible { outline: none; }
.bld-dx-dot.is-off { display: none; }
.bld-dx-pop .maplibregl-popup-content { padding: 8px; border-radius: var(--radius); box-shadow: var(--shadow-md); font-family: var(--font); }
.bld-dx-pop .maplibregl-popup-close-button { width: 24px; height: 24px; font-size: 18px; color: var(--text-muted); }
.bld-dx-pop-a { display: flex; align-items: center; gap: 10px; max-width: 250px; padding-right: 14px; color: var(--text); text-decoration: none; }
.bld-dx-pop-a img { flex: none; width: 56px; height: 42px; border-radius: var(--radius-sm); object-fit: cover; background: #1f2a30; }
.bld-dx-pop-a b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.bld-dx-pop-a small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-secondary); }

.bld-dx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 0 4px; border-top: 1px solid var(--border-hover); }
.bld-dx-bar[hidden] { display: none; }
.bld-dx-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.bld-dx-chip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--border-hover); border-radius: 999px; background: var(--card-bg); font: 600 13px var(--font); color: var(--text-secondary); cursor: pointer; transition: border-color 120ms var(--ease), background-color 120ms var(--ease), color 120ms var(--ease); }
.bld-dx-chip:hover { border-color: var(--border-strong); color: var(--text); }
.bld-dx-chip span { font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bld-dx-chip[hidden] { display: none; }
.bld-dx-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bld-dx-shown { margin: 0 0 0 auto; font-size: 13px; color: var(--text-muted); }
.bld-dx-shown:empty { display: none; }

.bld-dx-group { padding-top: 32px; scroll-margin-top: calc(var(--nav-h, 56px) + 12px); }
.bld-dx-group[hidden] { display: none; }
.bld-dx-gh h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.bld-dx-gn { font-size: 16px; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.bld-dx-gh p { margin: 4px 0 16px; font-size: 14px; color: var(--text-secondary); }
.bld-dx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.bld-dx-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 120ms var(--ease); }
.bld-dx-card:hover, .bld-dx-card.is-hot { border-color: var(--border-strong); }
.bld-dx-card:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.bld-dx-card[hidden] { display: none; }
.bld-dx-pic { position: relative; flex: none; width: 100%; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: #1f2a30; }
.bld-dx-pic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bld-dx-none { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--chip-neutral-bg); color: var(--text-muted); font-size: 12px; font-weight: 500; }
.bld-dx-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px; }
.bld-dx-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.5em; margin: 0; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; text-wrap: pretty; }
.bld-dx-name a { color: var(--text); text-decoration: none; }
.bld-dx-name a::after { content: ""; position: absolute; inset: 0; }
.bld-dx-name a:focus-visible { outline: none; }
.bld-index-aka { display: block; height: 1.4em; margin-top: -3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.bld-dx-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; margin: 2px 0 0; font-size: 12.5px; color: var(--text-secondary); }
.bld-dx-area { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bld-dx-st { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; white-space: nowrap; }
.bld-dx-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dx); }
.bld-dx-st-planning { color: var(--status-info); background: var(--status-info-bg); }
.bld-dx-st-consented { color: var(--brand-dark); background: var(--brand-bg); }
.bld-dx-st-building { color: var(--status-warning); background: var(--status-warning-bg); }
.bld-dx-st-complete { color: var(--status-pending); background: var(--status-pending-bg); }
.bld-dx-figs { height: 1.45em; margin: 2px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.bld-dx-apps { min-height: 1.4em; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.4; color: var(--text-muted); }

@media (max-width: 900px) {
  .bld-dx-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 0 24px; }
  .bld-dx-map { height: 360px; }
}
@media (max-width: 680px) {
  .bld-dx-hero { padding: 20px 0 20px; gap: 20px; }
  .bld-dx-map { height: 300px; }
  .bld-dx-stage { padding: 8px; gap: 6px; font-size: 12.5px; letter-spacing: -0.01em; }
  .bld-dx-legend { gap: 6px; }
  .bld-dx-legend b { font-size: 16px; }
  .bld-dx-bar { padding-top: 14px; }
  .bld-dx-chip { height: 32px; padding: 0 10px; }
  .bld-dx-shown { margin-left: 0; flex-basis: 100%; }
  .bld-dx-group { padding-top: 24px; }
  .bld-dx-gh h2 { font-size: 20px; }
  .bld-dx-gh p { margin-bottom: 12px; }
  .bld-dx-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bld-dx-card { flex-direction: row; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius); }
  .bld-dx-pic { width: 104px; border-radius: var(--radius-sm); }
  .bld-dx-meta { gap: 6px; font-size: 12px; }
  .bld-dx-none span { display: none; }
  .bld-dx-body { align-self: stretch; padding: 0; gap: 4px; }
  .bld-dx-name { font-size: 15px; }
  .bld-index-aka { display: none; }
  .bld-dx-st { height: 20px; padding: 0; gap: 5px; background: none; font-size: 12px; }
  .bld-dx-figs { font-size: 13px; }
  .bld-dx-apps { padding-top: 0; border-top: 0; font-size: 12px; }
}

.bld-ab.bld-ab-one { grid-template-columns: auto minmax(0, 1fr); }
.bld-ab.bld-ab-one .bld-ab-lead { aspect-ratio: var(--n, 1.333); height: 100%; width: auto; }
.bld-ab-more { position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; background: #1f2a30 var(--bg) center / cover no-repeat; }
.bld-ab-more::before { content: ""; position: absolute; inset: 0; background: rgba(17, 26, 30, .55); }
.bld-ab-more span { position: relative; color: #fff; font-size: 20px; font-weight: 700; }
.bld-ab-more:hover::before { background: rgba(17, 26, 30, .45); }

.bld-ab.bld-ab-portraits { display: flex; gap: 8px; }
.bld-ab-portraits .bld-ab-ptile { flex: 0 0 auto; height: 100%; aspect-ratio: 3 / 4; }
.bld-ab-portraits .bld-ab-pfill { flex: 1 1 auto; height: 100%; }
.bld-dx-area { white-space: normal; overflow: visible; text-overflow: clip; }
.bld-dx-figs { height: auto; min-height: 1.45em; white-space: normal; overflow: visible; text-overflow: clip; }
.bld-index-aka { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

.bld-thread { margin: 8px 0 0; }
.bld-reply-btn, .bld-replies-more { padding: 0; border: 0; background: none; font: 600 13px var(--font); color: var(--text-secondary); cursor: pointer; }
.bld-reply-btn:hover, .bld-replies-more:hover { color: var(--brand-dark); text-decoration: underline; }
.bld-replies { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--border); }
.bld-reply { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 8px 0; }
.bld-reply[hidden] { display: none; }
.bld-reply .bld-post-body { margin-top: 2px; font-size: 14px; }
.bld-reply .bld-reply-btn { margin-top: 4px; font-size: 12px; }
.bld-av-sm { width: 24px; height: 24px; font-size: 10px; }
.bld-replies-more { margin: 4px 0 0 16px; color: var(--brand-dark); }
.bld-replybox { margin: 10px 0 0 16px; display: grid; gap: 8px; }
.bld-replybox .bld-textarea { min-height: 64px; font-size: 14px; }
.bld-replybox-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bld-replybox-foot .bld-btn { min-width: 0; height: 34px; padding: 0 14px; font-size: 13px; }
.bld-replybox-cancel { padding: 0; border: 0; background: none; font: 600 13px var(--font); color: var(--text-secondary); cursor: pointer; }
@media (max-width: 680px) {
  .bld-replies { padding-left: 10px; }
  .bld-replybox, .bld-replies-more { margin-left: 0; }
}
@media (max-width: 680px) { .bld-ab, .bld-ab.bld-ab-portraits, .bld-ab.bld-ab-one { display: none; } }
@media (max-width: 700px) {
  .bld-crumbs ol { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
  .bld-crumbs li { white-space: nowrap; }
  .bld-crumbs li:last-child, .bld-crumbs li:not(:first-child):not(:nth-last-child(2)) { display: none; }
  .bld-crumbs li:nth-last-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
.bld-names { margin: 4px 0 0; font-size: 15px; color: var(--text-secondary); }
.bld-names b { color: var(--text); font-weight: 600; }
