/* ════════════════════════════════════════════════════════════════
   리포트 (.ksr) — 구매 직후 인라인 표시 / 마이페이지 열람 공용
   저장된 HTML 조각이 이 CSS 를 참조한다. 클래스명을 바꾸면
   이미 발급된 리포트의 모양이 깨지므로 이름은 유지할 것.
   ════════════════════════════════════════════════════════════════ */
/* ★ styles.css 의 `section { padding: 88px 0 }` 무력화
   그 규칙은 랜딩 페이지의 화면 단위 섹션용인데, 요소 선택자라 리포트 안의
   <section class="ksr-sec"> 에도 걸린다. 섹션마다 위아래 88px씩,
   합쳐서 176px 의 빈 공간이 생겼다.
   .ksr-bio 처럼 padding 을 명시한 곳은 클래스가 이겨서 멀쩡했고,
   padding 을 안 준 .ksr-sec 만 벌어져 원인을 찾기 어려웠다. */
.ksr section { padding: 0; position: static; }

.ksr {
  --k-line: rgba(168, 85, 247, 0.22);
  --k-card: rgba(24, 16, 40, 0.72);
  --k-t1: #f3f0ff;
  --k-t2: #c6bce0;
  --k-t3: #8d84a8;
  --k-pink: #ec4899;
  --k-purple: #a855f7;
  --k-cyan: #22d3ee;
  --k-amber: #fbbf24;

  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--k-line);
  border-radius: 18px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(168, 85, 247, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(16, 10, 28, 0.96), rgba(10, 7, 18, 0.98));
  color: var(--k-t1);
  font-size: 15px;
  line-height: 1.75;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

/* ── 헤더 ── */
.ksr-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--k-line);
}
.ksr-head-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ksr-ava {
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--k-purple), var(--k-pink));
  color: #fff;
}
.ksr-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ksr-sep  { color: var(--k-t3); font-weight: 400; }
.ksr-tag  { font-size: 12.5px; color: var(--k-t2); margin-top: 1px; }
.ksr-badge {
  flex: 0 0 auto;
  padding: 7px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid var(--k-line);
}

/* ── 기본 정보 ── */
.ksr-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 12px;
}
.ksr-fact {
  padding: 9px 10px; border-radius: 10px; text-align: center;
  background: var(--k-card); border: 1px solid var(--k-line);
}
.ksr-fact span { display: block; font-size: 11px; color: var(--k-t3); }
.ksr-fact b    { font-size: 13px; font-variant-numeric: tabular-nums; }

.ksr-note {
  margin: 10px 0 18px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 12px; line-height: 1.6; color: var(--k-t2);
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid var(--k-line);
}
.ksr-note b { color: var(--k-t1); }

/* ── 섹션 제목 ── */
.ksr-h {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin: 26px 0 12px;
  font-size: 15px; font-weight: 800; color: var(--k-t1);
}
.ksr-h-sec { padding-bottom: 8px; border-bottom: 1px solid var(--k-line); }
.ksr-ico {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 14px;
  background: rgba(168, 85, 247, 0.16);
}
.ksr-total {
  font-size: 26px; font-weight: 900; color: var(--k-cyan);
  font-variant-numeric: tabular-nums;
}
.ksr-total-lb {
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--k-amber);
  background: rgba(251, 191, 36, 0.12);
}
.ksr-sec-score {
  margin-left: auto;
  padding: 2px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; color: var(--k-pink);
  background: rgba(236, 72, 153, 0.13);
  font-variant-numeric: tabular-nums;
}

/* ── 본문 ── */
.ksr-body p { margin: 0 0 11px; color: var(--k-t1); }
.ksr-body p:last-child { margin-bottom: 0; }
.ksr-empty { color: var(--k-t3); font-style: italic; }

/* ── 십성 · 길신 · 흉신 ── */
.ksr-signs { display: grid; gap: 7px; margin: 16px 0 4px; }
.ksr-sign {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.6;
  background: var(--k-card); border: 1px solid var(--k-line);
}
.ksr-sign span {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.ksr-sign-n span { background: rgba(168, 85, 247, 0.22); color: #e9d5ff; }
.ksr-sign-g span { background: rgba(34, 211, 238, 0.18);  color: #a5f3fc; }
.ksr-sign-h span { background: rgba(244, 63, 94, 0.18);   color: #fecdd3; }

/* ── 머리 배너 (띠 · 레벨 · 한마디 · 띠 애니메이션) ── */
.ksr-hero {
  display: grid;
  /* 좌·우 모두 1.5배 (64→96px). 좁은 화면은 아래 미디어쿼리에서 따로 줄인다. */
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(88, 28, 135, 0.55), rgba(24, 16, 40, 0.55) 62%);
  border: 1px solid var(--k-line);
  overflow: hidden;
}

/* 좌 — 십이지 메달 */
.hero-zo {
  position: relative;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.22), rgba(0,0,0,.35));
  border: 2px solid rgba(251, 191, 36, 0.55);
}
/* 인물 그림이라 얼굴이 위쪽에 있다 — 원형으로 자를 때 위를 살린다 */
.hero-zo img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  object-fit: cover; object-position: center 20%;
}
.hz-ji {
  position: absolute; top: 2px; left: 0; right: 0;
  font-size: 11px; font-weight: 800; color: var(--k-amber); text-align: center;
}
.hz-emoji { font-size: 40px; line-height: 1; margin-top: 10px; }

/* 중 — 이름 : 레벨 + 한마디 */
.hero-mid { min-width: 0; }
.hm-line1 { font-size: 15px; font-weight: 800; line-height: 1.35; }
.hm-line1 b { color: #fff; }
.hm-sep    { color: var(--k-t3); font-weight: 400; margin: 0 2px; }
.hm-title  { color: var(--k-amber); }
.hm-cheer {
  margin-top: 3px;
  font-size: 12.5px; font-weight: 600; color: #f9a8d4;
}
.hm-meta {
  margin-top: 2px;
  font-size: 10.5px; color: var(--k-t3);
  font-variant-numeric: tabular-nums;
}
.hm-meta b { color: var(--k-t2); }

/* 우 — 띠 애니메이션 (mp4) */
.hero-vid {
  width: 96px; height: 96px; border-radius: 18px; overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.hero-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 아직 매핑이 확인되지 않은 띠 — 영상 대신 이모지 */
.hero-vid-none {
  display: grid; place-items: center; font-size: 30px;
  border: 1px dashed var(--k-line); background: rgba(255, 255, 255, 0.04);
}

body.light .ksr-hero {
  background: linear-gradient(100deg, rgba(233, 213, 255, 0.9), rgba(255, 255, 255, 0.7) 62%);
}
body.light .hm-line1 b { color: #1f1533; }
body.light .hm-title   { color: #b45309; }
body.light .hm-cheer   { color: #be185d; }
body.light .hz-ji      { color: #b45309; }

/* 인쇄 — 영상은 나오지 않으므로 자리를 비운다 */
/* 인쇄 규칙은 파일 끝의 @media print 블록에 모아두었다 */

/* ── 감성 테스트 결과 (TODO — 준비 중 상태) ── */
.ksr-soon {
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--k-t3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--k-line);
}
.ksr-et {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.et-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px; border-radius: 12px; text-align: center;
  background: var(--k-card); border: 1px solid var(--k-line);
  text-decoration: none; color: inherit;
}
a.et-card:hover { border-color: var(--k-purple); background: rgba(168, 85, 247, 0.10); }
.et-card.is-soon { opacity: 0.55; border-style: dashed; }

.et-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.20), rgba(236, 72, 153, 0.14));
}
.et-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.et-label  { font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.et-val    { font-size: 13px; font-weight: 800; color: var(--k-pink); }
.et-val-soon { color: var(--k-t3); }
.et-rarity { font-size: 10.5px; color: var(--k-t3); }
.et-cta    { font-size: 10.5px; font-weight: 700; color: var(--k-cyan); }

/* ── 바이오리듬 ──
   ★ 0선을 가운데 두고 양수는 위, 음수는 아래로 그린다.
     바닥에서 높이만 키우면 +62 와 -62 가 구분되지 않는다.
   각 막대의 --h 는 |값|/2 (%) — 0선에서 위아래 각각 최대 50% */
.ksr-bio {
  padding: 14px !important;   /* .ksr section 리셋보다 우선 */
  margin-bottom: 10px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.42), rgba(24, 16, 40, 0.72));
  border: 1px solid var(--k-line);
}
.ksr-bio-row { display: flex; align-items: center; gap: 14px; }

.ksr-bio-label { flex: 0 0 86px; }
.bl-name  { font-size: 14px; font-weight: 800; }
.bl-score {
  display: flex; align-items: baseline; gap: 3px;
  font-size: 19px; font-weight: 900; line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.bl-sign { font-size: 11px; }
.bl-unit { font-size: 11px; font-weight: 700; opacity: 0.75; }
.bl-pos  { color: #4ade80; }
.bl-neg  { color: #fb7185; }
.bl-zero { color: var(--k-t2); }
.bl-state { font-size: 11px; color: var(--k-t3); }

.ksr-bio-plot { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* 좌측 눈금 (+100 / 0 / -100) */
.ksr-bio-scale {
  flex: 0 0 30px; height: 96px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 9.5px; color: var(--k-t3); text-align: right;
  font-variant-numeric: tabular-nums;
}

.ksr-bio-bars {
  position: relative;
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: stretch; gap: 2px;
  height: 96px;
}
/* 0선 */
.ksr-bio-bars::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.30);
}

.bb { position: relative; flex: 1 1 0; min-width: 2px; }
.bb i {
  position: absolute; left: 0; right: 0;
  height: var(--h);
  background: currentColor; opacity: 0.9;
}
.bb.is-pos i { bottom: 50%; border-radius: 2px 2px 0 0; }
.bb.is-neg i { top: 50%;    border-radius: 0 0 2px 2px; opacity: 0.62; }

.ksr-bio-physical  .bb { color: #f472b6; }
.ksr-bio-emotional .bb { color: #22d3ee; }
.ksr-bio-intellect .bb { color: #fbbf24; }

/* 발급일 — 굵고 붉게, 위아래로 살짝 넘겨 눈에 띄게 */
.bb.is-today { color: #ef4444 !important; z-index: 2; }
.bb.is-today i {
  opacity: 1;
  left: -1px; right: -1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
}

/* 하단 축 라벨 */
.ksr-bio-axis {
  flex: 1 1 100%;
  display: flex; justify-content: space-between; align-items: center;
  margin-left: 38px;
  font-size: 10.5px; color: var(--k-t3);
}
.ksr-bio-axis .ax-today { color: #fca5a5; font-weight: 700; }
.ksr-bio-axis .ax-today b { font-variant-numeric: tabular-nums; }

.ksr-bio-tip {
  margin-top: 9px; text-align: center;
  font-size: 12.5px; color: var(--k-t2);
}

body.light .ksr-bio-bars::before { border-top-color: rgba(0, 0, 0, 0.22); }
body.light .bl-pos { color: #15803d; }
body.light .bl-neg { color: #be123c; }
body.light .ksr-bio-axis .ax-today { color: #b91c1c; }

/* ── 레이더 ── */
.ksr-radar-wrap { display: flex; justify-content: center; }
.ksr-radar { width: 100%; max-width: 420px; height: auto; }
.rd-grid { fill: none; stroke: rgba(168, 85, 247, 0.20); stroke-width: 1; }
.rd-axis { stroke: rgba(168, 85, 247, 0.28); stroke-width: 1; }
.rd-area {
  fill: rgba(34, 211, 238, 0.30);
  stroke: #22d3ee; stroke-width: 2;
}
.rd-dot { fill: #ec4899; }
.rd-val { fill: #f0abfc; font-size: 15px; font-weight: 800; }
.rd-lb  { fill: #e9d5ff; font-size: 13px; font-weight: 600; }

/* ── 푸터 ── */
.ksr-foot {
  margin-top: 26px; padding-top: 14px;
  border-top: 1px solid var(--k-line);
  font-size: 12px; color: var(--k-t3); text-align: center;
}
.ksr-foot b { color: var(--k-t2); }
.ksr-foot-sub { margin-top: 3px; }

/* ── 구매 직후 인라인 표시 영역 ── */
.ks-report-host { margin: 28px auto 0; max-width: 760px; scroll-margin-top: 84px; }
.ksr-saved {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto 14px;
  padding: 12px 16px; border-radius: 12px;
  font-size: 13.5px; color: #a7f3d0;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.ksr-saved b { color: #fff; }
.ksr-saved a {
  color: #fff; font-weight: 700; text-decoration: none;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ksr-saved a:hover { background: rgba(255, 255, 255, 0.18); }
.ksr-saved .sv-file {
  margin-left: auto; font-size: 11.5px; color: #6ee7b7;
  font-family: Consolas, Monaco, monospace;
}
body.light .ksr-saved { color: #065f46; background: rgba(16,185,129,.08); }
body.light .ksr-saved b { color: #064e3b; }
body.light .ksr-saved a { color: #065f46; background: rgba(6,95,70,.08); border-color: rgba(6,95,70,.16); }

.ksr-loading {
  max-width: 760px; margin: 0 auto; padding: 44px 20px;
  border: 1px solid rgba(168, 85, 247, 0.22); border-radius: 16px;
  background: rgba(24, 16, 40, 0.6);
  color: #c6bce0; font-size: 14px; text-align: center;
}
.ksr-spin {
  width: 34px; height: 34px; margin: 0 auto 14px;
  border: 3px solid rgba(168, 85, 247, 0.25);
  border-top-color: #a855f7; border-radius: 50%;
  animation: ksrSpin 0.85s linear infinite;
}
@keyframes ksrSpin { to { transform: rotate(360deg); } }
body.light .ksr-loading { background: #faf7ff; color: #574a72; }

/* ── 발급 실패 안내 ── */
.ksr-fail {
  max-width: 760px; margin: 0 auto; padding: 22px;
  border: 1px solid rgba(244, 63, 94, 0.35); border-radius: 16px;
  background: rgba(244, 63, 94, 0.07);
  color: #fecdd3; font-size: 14px; line-height: 1.7; text-align: center;
}
.ksr-fail b { color: #fff; }
.ksr-fail-retry {
  display: inline-block; margin-top: 12px;
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff; font-weight: 700; font-size: 13.5px;
  border: 0; cursor: pointer; text-decoration: none;
}

/* ── 라이트 모드 ── */
body.light .ksr {
  --k-line: rgba(124, 58, 237, 0.18);
  --k-card: rgba(255, 255, 255, 0.72);
  --k-t1: #1f1533; --k-t2: #574a72; --k-t3: #8a80a3;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(168, 85, 247, 0.10), transparent 70%),
    linear-gradient(180deg, #ffffff, #faf7ff);
  box-shadow: 0 12px 32px rgba(80, 40, 140, 0.10);
}
body.light .ksr-bio {
  background: linear-gradient(135deg, rgba(233, 213, 255, 0.75), rgba(255, 255, 255, 0.85));
}
body.light .rd-lb  { fill: #4c1d95; }
body.light .rd-val { fill: #a21caf; }
body.light .ksr-note { background: rgba(124, 58, 237, 0.05); }

/* ── 모바일 ── */
@media (max-width: 560px) {
  .ksr { padding: 14px; border-radius: 14px; font-size: 14.5px; }
  .ksr-facts { grid-template-columns: repeat(2, 1fr); }
  .ksr-head { flex-wrap: wrap; }
  .ksr-bio-row   { gap: 10px; }
  .ksr-bio-label { flex-basis: 66px; }
  .bl-score      { font-size: 16px; }
  .ksr-bio-scale { flex-basis: 24px; height: 72px; font-size: 8.5px; }
  .ksr-bio-bars  { height: 72px; gap: 1px; }
  .ksr-bio-axis  { margin-left: 32px; font-size: 9.5px; }
  /* 좌측을 1.5배로 키운 만큼 가운데가 눌린다(375px 에서 122px 까지 떨어졌다).
     우측 애니메이션은 장식이므로 줄여 본문 폭을 되돌린다. */
  .ksr-hero { grid-template-columns: 81px 1fr 40px; gap: 8px; padding: 8px; }
  .hero-zo  { width: 81px; height: 81px; }
  .hero-vid { width: 40px; height: 40px; border-radius: 10px; }
  .hz-emoji { font-size: 34px; margin-top: 8px; }
}

/* 아주 좁은 화면 — 좌우가 같은 동물이라 우측 애니메이션은 중복이다.
   이름·레벨이 3줄로 접히는 것보다 하나를 빼는 편이 읽기 쉽다. */
@media (max-width: 460px) {
  .ksr-hero { grid-template-columns: 81px 1fr; }
  .hero-vid { display: none; }
  .hm-line1 { font-size: 13.5px; }
  .hm-cheer { font-size: 11.5px; }
  .ksr-total { font-size: 22px; }
  .rd-lb { font-size: 11px; }
  /* 5칸을 좁은 화면에 밀어넣으면 라벨이 깨진다 — 가로 스크롤로 5칸을 유지한다 */
  .ksr-et {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    overflow-x: auto; padding-bottom: 6px;
  }
  .et-ico { width: 40px; height: 40px; font-size: 21px; }
}

/* ══════════════════════════════════════════════════════════════
   인쇄 / PDF
   ★ 배경만 흰색으로 바꾸면 안 된다.
     본문 색은 대부분 --k-t1/t2/t3 변수를 쓰는데 그 값이 다크용
     밝은 회색이라, 흰 종이 위에 흰 글자가 찍혔다.
     변수를 통째로 밝은 배경용으로 재정의해 한 번에 해결한다.
     (개별 규칙을 하나씩 덮으면 새 요소를 추가할 때마다 또 빠진다)
   ══════════════════════════════════════════════════════════════ */
@media print {
  .ksr {
    /* 밝은 배경용 팔레트 — 잉크 절약을 위해 채도는 낮추고 명도만 확보 */
    --k-line: #d4d4d8;
    --k-card: #ffffff;
    --k-t1: #111827;
    --k-t2: #374151;
    --k-t3: #6b7280;
    --k-pink: #be185d;
    --k-purple: #6d28d9;
    --k-cyan: #0e7490;
    --k-amber: #b45309;

    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff !important;
    color: var(--k-t1);
    font-size: 11pt;
  }

  /* 어두운 그라데이션 블록들 — 종이에서는 옅은 테두리 상자로 */
  .ksr-hero,
  .ksr-bio,
  .ksr-fact,
  .ksr-sign,
  .et-card,
  .ksr-note {
    background: #fff !important;
    border: 1px solid var(--k-line) !important;
    box-shadow: none !important;
  }
  .ksr-hero { break-inside: avoid; }

  .ksr-body p,
  .hm-line1,
  .bl-name,
  .pkg-name        { color: var(--k-t1) !important; }
  .ksr-note,
  .ksr-foot,
  .hm-meta,
  .ksr-bio-tip,
  .ksr-bio-axis,
  .ksr-bio-scale,
  .et-rarity       { color: var(--k-t3) !important; }
  .hm-cheer        { color: var(--k-pink) !important; }
  /* 발급일 표시 — #fca5a5 는 흰 종이에서 1.9:1 로 거의 안 보인다 */
  .ksr-bio-axis .ax-today,
  .ksr-bio-axis .ax-today b { color: #b91c1c !important; }
  .pib-diff        { color: #b91c1c !important; }
  .pib-n           { color: var(--k-t1) !important; }
  .ksr-empty       { color: var(--k-t3) !important; }
  .hm-title        { color: var(--k-amber) !important; }
  .ksr-total       { color: var(--k-cyan) !important; }
  .ksr-total-lb,
  .ksr-sec-score   { color: var(--k-amber) !important; background: none !important; }
  .bl-pos          { color: #15803d !important; }
  .bl-neg          { color: #b91c1c !important; }
  .ksr-ico         { background: none !important; }

  /* 아이콘 배지 — 종이에서는 배경 없이 글자만 */
  .ksr-sign span   { background: none !important; color: var(--k-t2) !important; border: 1px solid var(--k-line); }
  .ksr-badge       { background: none !important; border: 1px solid var(--k-line); color: var(--k-t1); }

  /* 레이더 — 흰 종이에서 보이도록 선을 진하게 */
  .rd-grid { stroke: #d4d4d8; }
  .rd-axis { stroke: #a1a1aa; }
  .rd-area { fill: rgba(14, 116, 144, 0.18); stroke: #0e7490; }
  .rd-dot  { fill: #be185d; }
  .rd-val  { fill: #86198f; }
  .rd-lb   { fill: #3730a3; }

  /* 바이오리듬 막대 — 배경색 인쇄가 꺼져 있어도 보이도록 */
  .ksr-bio-bars::before { border-top-color: #9ca3af; }
  .bb.is-today i { box-shadow: none; outline: 1px solid #111827; }

  /* 종이에 필요 없는 것 */
  .hero-vid,
  .ksr-saved { display: none !important; }
  .ksr-hero  { grid-template-columns: 96px 1fr; }   /* 영상 자리를 접는다 */

  /* 섹션이 페이지 경계에서 잘리지 않게 */
  .ksr-sec, .ksr-bio, .ksr-radar-wrap { break-inside: avoid; page-break-inside: avoid; }
  .ksr-h { break-after: avoid; page-break-after: avoid; }

  /* 배경 인쇄를 끈 브라우저에서도 색이 필요한 곳 */
  .ksr-hero, .ksr-bio-bars, .ksr-radar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
