/* ── body.html — page styles (extracted from inline <style>) ── */

.bc-content { padding-bottom: 3rem; }

.bc-caveat {
  border: 0.5px solid var(--border);
  border-left: 3px solid var(--scarlet);
  border-radius: var(--radius-md);
  background: rgba(255,250,243,0.7);
  padding: 0.85rem 1rem;
  font-size: 12.5px; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.4rem;
}
.bc-caveat strong { color: var(--text); }
.bc-caveat a { color: var(--scarlet-dim); }

.bc-grid { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 1.4rem; align-items: start; }

.bc-panel {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,250,243,0.74));
  box-shadow: var(--shadow-soft); padding: clamp(1.1rem, 3vw, 1.4rem);
}
.bc-panel + .bc-panel { margin-top: 1.2rem; }
.bc-h {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--scarlet); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 0.7rem; font-weight: 700;
}

.bc-srcs { display: flex; gap: 6px; margin-bottom: 0.85rem; flex-wrap: wrap; }
.bc-src {
  border: 0.5px solid var(--border); background: rgba(255,255,255,0.6);
  border-radius: 8px; padding: 6px 11px; font-size: 12px; cursor: pointer; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 5px;
}
.bc-src.active { background: var(--scarlet); color: #fffaf3; border-color: var(--scarlet); }

.bc-drop {
  border: 1.5px dashed var(--border); border-radius: var(--radius-md);
  padding: 1.4rem 1rem; text-align: center; color: var(--text-dim); font-size: 13px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.bc-drop:hover { border-color: var(--scarlet); background: var(--scarlet-pale); }
.bc-drop i { font-size: 26px; display: block; margin-bottom: 0.4rem; color: var(--scarlet-dim); }
.bc-url-row { display: flex; gap: 6px; }
.bc-url-row input {
  flex: 1; border: 0.5px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12.5px;
  background: #fff; color: var(--text); font-family: inherit;
}
.bc-btn {
  border: 0.5px solid var(--scarlet); background: var(--scarlet); color: #fffaf3;
  border-radius: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.bc-btn:hover { background: var(--scarlet-deep); }
.bc-btn.ghost { background: transparent; color: var(--scarlet-dim); }

/* full-body shot → portrait stage */
.bc-stage { position: relative; margin-top: 0.9rem; border-radius: var(--radius-md); overflow: hidden; background: #2c2622; min-height: 180px; display: none; }
.bc-stage.show { display: block; }
.bc-stage canvas, .bc-stage video { width: 100%; display: block; max-height: 60vh; object-fit: contain; }
.bc-stage video { transform: scaleX(-1); }
.bc-status { font-size: 12px; color: var(--text-dim); margin-top: 0.6rem; min-height: 1.2em; }
.bc-status.err { color: var(--scarlet); }

/* "what it reads" disclosure */
.bc-how { display: grid; gap: 0.5rem; }
.bc-how-row { display: grid; grid-template-columns: 18px 1fr; gap: 0.5rem; font-size: 12.5px; line-height: 1.5; }
.bc-how-row i { color: var(--scarlet-dim); font-size: 15px; margin-top: 1px; }
.bc-how-row b { color: var(--text); font-weight: 600; }
.bc-note { font-size: 11px; color: var(--text-dim); line-height: 1.55; margin-top: 0.7rem; border-top: 0.5px solid var(--border-light); padding-top: 0.6rem; }
.bc-note a { color: var(--scarlet-dim); }
.bc-privacy { border-top: none; margin-top: 0.5rem; padding-top: 0; opacity: 0.92; }
.bc-privacy i { color: var(--scarlet-dim); }

.bc-variant { display: flex; gap: 6px; margin-bottom: 1rem; }
.bc-variant button {
  flex: 1; border: 0.5px solid var(--border); background: rgba(255,255,255,0.6);
  border-radius: 9px; padding: 9px 10px; font-size: 13px; cursor: pointer; color: var(--text-muted); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.bc-variant button.active.bp { background: #51606F; color: #fff; border-color: #51606F; }
.bc-variant button.active.cv { background: #0F6E56; color: #fff; border-color: #0F6E56; }

.bc-score-wrap { text-align: center; padding: 0.5rem 0 0.2rem; }
.bc-score { font-family: "Playfair Display", Georgia, serif; font-size: clamp(3.2rem, 12vw, 5rem); line-height: 0.9; color: var(--text); }
.bc-score .unit { font-size: 0.36em; color: var(--text-dim); letter-spacing: 0.04em; }
.bc-tier { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; margin-top: 0.35rem; }
.bc-srcbadge { display: inline-block; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 800; border-radius: 999px; padding: 3px 10px; margin-top: 0.55rem; }
.bc-srcbadge.model { color: #0F6E56; background: #E4F3EC; }
.bc-srcbadge.heur  { color: #A06A12; background: #FBEFD6; }
.bc-other { font-size: 12px; color: var(--text-dim); margin-top: 0.5rem; line-height: 1.5; }
.bc-empty { text-align: center; color: var(--text-dim); font-size: 13px; padding: 2.4rem 1rem; line-height: 1.6; }
.bc-empty i { font-size: 30px; display: block; margin-bottom: 0.5rem; color: var(--border); }

.bc-bd-h { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; margin: 1.2rem 0 0.5rem; }
/* measured-vs-typical readings — descriptive, not graded */
.bc-note-line { font-size: 11.5px; color: var(--text-dim); line-height: 1.55; margin: 0 0 0.7rem; }
.bc-meas { margin: 0.6rem 0; }
.bc-meas-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; margin-bottom: 4px; gap: 8px; }
.bc-meas-name { color: var(--text); }
.bc-meas-name .mtag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; color: var(--text-dim); margin-left: 5px; }
.bc-meas-name .mtag.t1 { color: #0F6E56; }
.bc-meas-name .mtag.lens { color: var(--scarlet-dim); }
.bc-sex { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 0.6rem 0 0.15rem; }
.bc-sex button { background: transparent; border: 0; padding: 4px 13px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-muted); cursor: pointer; }
.bc-sex button.active { background: var(--text); color: #fff; }
.bc-sexnote { font-size: 10.5px; color: var(--text-dim); line-height: 1.5; margin-bottom: 0.3rem; }
.bc-meas-where { font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.bc-meas-where.out { color: var(--scarlet-dim); }
.bc-meas-where .bc-meas-val { font-weight: 600; margin-left: 4px; }
.bc-meas-val { font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.bc-meas-track { position: relative; height: 9px; border-radius: 5px; background: #ece3d8; }
.bc-meas-band { position: absolute; top: 0; bottom: 0; background: #d8cdbd; border-radius: 5px; }
.bc-meas-dot { position: absolute; top: -2px; width: 3px; height: 13px; border-radius: 2px; background: var(--text); transform: translateX(-1.5px); }
/* "a photo can't read" list */
.bc-cant { margin: 0.2rem 0 0; padding: 0; }
.bc-cant li { font-size: 12px; color: var(--text-dim); line-height: 1.5; list-style: none; padding-left: 1rem; position: relative; margin: 0.15rem 0; }
.bc-cant li::before { content: "\2014"; position: absolute; left: 0; color: var(--border); }
.bc-missing { font-size: 11.5px; color: var(--text-dim); line-height: 1.55; margin-top: 1rem; border-top: 0.5px solid var(--border-light); padding-top: 0.7rem; }
.bc-missing a { color: var(--scarlet-dim); }

@media (max-width: 880px) { .bc-grid { grid-template-columns: 1fr; } }
