/* =========================================================
   소개팅 호감 신호 테스트 전용 스타일 (2026-11-03)
   결혼 관계 점검 테스트(css/marriage.css)와 같은 화면 구성을 bd- 이름으로 옮기고,
   이 테스트에만 필요한 것(결과 유형 이름, 정사각형 결과 그림, 흐름 요약, 안내 여러 개, 다른 테스트 목록)을 덧붙임
   =========================================================

/* ---------- 시작 화면 ---------- */
.bd-start { padding-top: 8px; }

.bd-cover-title {
  margin-top: 14px;
  font-size: 31px;          /* 클릭금지 문구가 포함된 긴 제목: 단어 단위로 자연스럽게 줄바꿈 */
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bd-back { margin-bottom: 4px; }

.bd-cover-lead {
  margin-top: 12px;
  font-size: 17.5px;
  color: #3f3f3f;
}

.bd-cover-card {
  margin-top: 28px;
  padding: 20px 20px 18px;
  background: var(--sand);
  border-radius: var(--radius);
}

.bd-cover-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--warn-text);
  letter-spacing: 0.02em;
}

.bd-cover-desc {
  margin-top: 8px;
  font-size: 15.5px;
  color: #3f3f3f;
}

.bd-btn-start {
  width: 100%;
  max-width: 360px;
  margin-top: 24px;
  font-size: 17px;
}

.bd-cover-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* '잘 모르겠다'는 다른 답과 살짝 구분 */
.option-unknown .option-text { color: var(--muted); }
.option-unknown.is-selected .option-text { color: var(--text); }

/* ---------- 결과 화면 ---------- */
.bd-result-head { margin-bottom: 18px; }

.bd-result-title {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
  outline: none;
}

.bd-score-card {
  padding: 24px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bd-score-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.bd-score {
  margin-top: 2px;
  color: var(--accent-ink);
  line-height: 1.1;
}

.bd-score-num {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bd-score-unit {
  margin-left: 4px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
}

.bd-score.is-knowing {
  padding: 10px 0 4px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sage-ink);
}

.bd-understanding { margin-top: 16px; }

.bd-understanding-text { font-size: 15px; color: var(--text); }
.bd-understanding-text strong { color: var(--sage-ink); }
.bd-understanding-detail { font-size: 13.5px; color: var(--muted); }

.bd-meter {
  height: 6px;
  margin-top: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.bd-meter-bar {
  height: 100%;
  width: 0;
  background: var(--sage);
  border-radius: 999px;
}

/* ⑤번이 많을 때 가장 먼저 보이는 안내 */
.bd-notice {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--warn-bg);
  border-left: 4px solid #c99a4b;
  border-radius: var(--radius-sm);
  color: var(--warn-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.bd-sec {
  margin-top: 28px;
}

.bd-sec-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 18.5px;
  line-height: 1.4;
}

.bd-sec-good .bd-sec-title { color: var(--sage-ink); }
.bd-sec-weak .bd-sec-title { color: var(--fail-text); }

.bd-items {
  display: flex;
  flex-direction: column;
}

.bd-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bd-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.bd-item-text {
  margin-top: 4px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3a3a;
}

.bd-item-neutral .bd-item-text { margin-top: 0; color: var(--muted); }

.bd-tag {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--ref-bg);
  font-size: 12px;
  font-weight: 600;
  color: #5b5750;
  vertical-align: 1px;
}

.bd-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
}

.bd-actions .btn { width: 100%; }

.bd-shared-note,
.bd-invalid-desc {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.bd-invalid-desc { font-size: 16px; color: #3f3f3f; }

/* ---------- 공유 범위 안내 창 ---------- */
.bd-scope-lists {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.bd-scope-col {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.bd-scope-yes { background: var(--sage-soft); }
.bd-scope-no { background: var(--ref-bg); }

.bd-scope-head {
  font-size: 14px;
  font-weight: 700;
}

.bd-scope-yes .bd-scope-head { color: var(--sage-ink); }
.bd-scope-no .bd-scope-head { color: #5b5750; }

.bd-scope-col ul {
  margin-top: 4px;
  padding-left: 18px;
  list-style: disc;
  font-size: 14.5px;
  line-height: 1.7;
}

.bd-scope-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 18px;
}

.bd-scope-actions .btn { width: 100%; }

/* ---------- 화면 크기 ---------- */
@media (max-width: 374px) {
  .bd-cover-title { font-size: 27px; }
  .bd-score-num { font-size: 60px; }
  .bd-result-title { font-size: 23px; }
}

@media (min-width: 768px) {
  .bd-actions { grid-template-columns: 1fr 1fr; }
  .bd-scope-lists { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .container.bd { max-width: 720px; }
  .bd-cover-title { font-size: 44px; }
}

/* 2026-11-03 공유 버튼 통일: 결과 공유하기(강조, 한 줄 전체) · 링크 복사 · 다시 테스트하기 */
@media (min-width: 768px) {
  .bd-actions #bd-btn-share { grid-column: 1 / -1; }
}

/* ---------- 소개팅 테스트에만 있는 것 ---------- */
.bd .question-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }

/* 결과 그림: 제공 원본이 정사각형이라 정사각형 상자에 그대로 (잘라 내지 않음) */
.bd-illust-square { max-width: 240px; margin: 4px auto 6px; }
.bd-illust-square img { aspect-ratio: 1 / 1; }

.bd-type {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: keep-all;
}

.bd-notices { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.bd-notices .bd-notice { margin-top: 0; }
.bd-notice-after { background: var(--sage-soft); border-left-color: var(--sage); color: var(--sage-ink); }
.bd-notice-conflict,
.bd-notice-cap { background: var(--ref-bg); border-left-color: #8d8579; color: #4c4740; }

.bd-desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  word-break: keep-all;
}

.bd-flow { display: flex; flex-direction: column; }
.bd-flow-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.65;
}
.bd-flow-label { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.bd-flow-text { color: #3a3a3a; word-break: keep-all; }

.bd-item {
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3a3a;
  word-break: keep-all;
}
.bd-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 23px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong, #c9c4bb);
}
.bd-sec-good .bd-item::before { background: var(--sage); }
.bd-sec-weak .bd-item::before { background: #c97a6a; }
.bd-sec-unknown .bd-sec-title { color: #5b5750; }

.bd-comment-box {
  margin-top: 28px;
  padding: 18px 18px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}
.bd-comment-head { font-size: 14px; font-weight: 800; color: var(--accent-ink); }
.bd-comment { margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.65; word-break: keep-all; }

.bd-conf-shared { margin-top: 10px; font-size: 15px; }
.bd-conf-shared strong { color: var(--sage-ink); }
.bd-shared-desc { margin-top: 18px; font-size: 16px; line-height: 1.7; color: #3a3a3a; word-break: keep-all; }
.bd-share-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.bd-result .disclaimer { margin-top: 28px; }

@media (max-width: 374px) {
  .bd-type { font-size: 20px; }
  .bd-flow-row { grid-template-columns: 1fr; gap: 2px; }
}

@media (min-width: 768px) {
  .bd-illust-square { max-width: 280px; }
}
