/* 스크롤 기사(scrolly/engine.ts). 모바일 퍼스트: 기준 폭 360~430px, 컴퓨터는 가운데 단을 넓힌다. */
/* 바탕 바꾸기(원고 theme 칸, 화면 가운데 행을 따름)는 색 변수 자체를 천천히 바꿔서, 변수를 쓰는 곳(그래프 눈금·단추·먹색 등)이 함께 바뀐다.
   @property 로 등록해야 변수가 애니메이션된다(사용자 2026-11-16: 비만기획 신경숙 씨 대목부터 어두운 바탕). */
@property --sc-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #fff;
}
@property --sc-fg {
  syntax: "<color>";
  inherits: true;
  initial-value: #151515;
}
@property --sc-muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #6b6b6b;
}
@property --sc-ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #3a3935;
}
@property --sc-g1 {
  syntax: "<color>";
  inherits: true;
  initial-value: #b5b2a8;
}
@property --sc-g2 {
  syntax: "<color>";
  inherits: true;
  initial-value: #7a776e;
}
.sc-root {
  --sc-bg: #fff;
  --sc-fg: #151515;
  --sc-muted: #6b6b6b;
  --sc-ink: #3a3935;
  --sc-g1: #b5b2a8;
  --sc-g2: #7a776e;
  --sc-col: 640px;
  --sc-pad: 20px;
  background: var(--sc-bg);
  color: var(--sc-fg);
  transition:
    --sc-bg 0.8s ease,
    --sc-fg 0.8s ease,
    --sc-muted 0.8s ease,
    --sc-ink 0.8s ease,
    --sc-g1 0.8s ease,
    --sc-g2 0.8s ease;
  font-family: var(--font, sans-serif);
  text-align: left;
  overflow-x: clip;
}
.sc-root.sc-notrans {
  transition: none;
} /* 처음 바탕은 전환 없이(engine.ts) */
.sc-root[data-theme="dark"] {
  --sc-bg: #141414;
  --sc-fg: #f1f1f1;
  --sc-muted: #a5a5a5;
  --sc-ink: #e6e3dc;
  --sc-g1: #5c5a54;
  --sc-g2: #9a978d;
}
/* 그래프의 회색 단계(tools/obesity_charts.py PAL g1 #b5b2a8 → g2 #7a776e → ink #3a3935, 옅음→짙음)는 어두운 바탕에서
   순서를 뒤집어 g1 #5c5a54 → g2 #9a978d → ink #e6e3dc (어두움→밝음). 먹만 바꾸면 하·중·상 같은 단계 순서가 깨진다.
   dataviz validate_palette.js --mode dark --ordinal 통과(2026-11-16) */
.sc-chart-svg [fill="#3a3935"] {
  fill: var(--sc-ink);
}
.sc-chart-svg [stroke="#3a3935"] {
  stroke: var(--sc-ink);
}
.sc-root i[style*="#3a3935"],
.sc-root span[style*="#3a3935"] {
  background: var(--sc-ink) !important;
}
.sc-chart-svg [fill="#b5b2a8"] {
  fill: var(--sc-g1);
}
.sc-chart-svg [stroke="#b5b2a8"] {
  stroke: var(--sc-g1);
}
.sc-root i[style*="#b5b2a8"],
.sc-root span[style*="#b5b2a8"] {
  background: var(--sc-g1) !important;
}
.sc-chart-svg [fill="#7a776e"] {
  fill: var(--sc-g2);
}
.sc-chart-svg [stroke="#7a776e"] {
  stroke: var(--sc-g2);
}
.sc-root i[style*="#7a776e"],
.sc-root span[style*="#7a776e"] {
  background: var(--sc-g2) !important;
}

/* ---- 정적 요소 */
.sc-block {
  max-width: var(--sc-col);
  margin: 0 auto;
  padding: 0 var(--sc-pad);
  box-sizing: border-box;
}
.sc-h1 {
  margin: 56px 0 28px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
/* 본문: HDS 프로젝트 글자 표 '본문' 19px(PC·모바일 같음), 400, 행간 1.55(사용자 2026-11-20 "19px잖아. HDS 가이드라인") */
.sc-text p,
.sc-quote p {
  margin: 0 0 20px; /* HDS 문단 사이: 모바일 20, PC 24(아래 768px) */
  font-size: 19px;
  line-height: 1.55;
  word-break: keep-all;
}
.sc-text {
  padding-top: 8px;
  padding-bottom: 24px;
}
/* 제목 가운데 맞춤(style=center), 제목 위 실루엣 그림(style=titleart) — 사용자 2026-11-17 */
/* 제목 글꼴: 정묵바위체(상상토끼, 눈누 https://noonnu.cc/font_page/395, 웹 사용·임베딩 허용). 사용자 2026-11-17 */
@font-face {
  font-family: "Jeongmeokbawi";
  src: url("https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/SangSangRockOTF.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}
.sc-block.center .sc-h1,
.sc-cue.titlecard .sc-h1 {
  text-align: center;
  font-family: "Jeongmeokbawi", "Pretendard Variable", Pretendard, sans-serif;
  font-weight: normal;
  font-size: min(45px, 11.5vw);
  line-height: 1.2;
}
@media (min-width: 720px) {
  .sc-block.center .sc-h1,
  .sc-cue.titlecard .sc-h1 {
    font-size: 60px;
  }
}
/* 영상 위 제목 카드: 상자 없이 그림 + 제목 */
.sc-cue.titlecard {
  width: min(92vw, 640px);
  padding: 0;
  background: none;
  color: #151515;
}
/* 제목 카드는 그림 높이가 글자 크기의 약 11배라 화면 높이에도 맞춘다 */
.sc-cue.titlecard .sc-h1 {
  font-size: min(45px, 11.5vw, 7vh);
}
@media (min-width: 720px) {
  .sc-cue.titlecard .sc-h1 {
    font-size: min(60px, 7vh);
  }
}
.sc-cue.titlecard .sc-h1 {
  margin: 4px 0 0;
  position: relative;
}
.sc-cue.titlecard .sc-h1 {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 255, 255, 0.85),
    0 0 40px rgba(255, 255, 255, 0.6);
} /* 테두리 대신 허옇고 뿌연 그림자(사용자) */
/* 제목 카드: 무대 위 제자리(가운데) */
.sc-cue.sc-tc-overlay {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  visibility: hidden;
}
.sc-cue.titlecard {
  will-change: filter;
}
/* 둘째 줄('그늘')만 130%(사용자 2026-11-17) */
.sc-h1-line2 {
  font-size: 1.3em;
}
.sc-tc-art {
  margin: 0;
}
.sc-tc-art img {
  display: block;
  width: min(78%, 360px);
  height: auto;
}
.sc-h1-line {
  white-space: nowrap;
}
/* 제목 위 연재 이름(원고에서 ^ 로 시작하는 줄, 사용자 2026-11-17) */
.sc-tc-kicker {
  margin: 0 0 6px;
  text-align: center;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-weight: 700;
  font-size: min(18px, 4.6vw);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.8);
}
@media (min-width: 720px) {
  .sc-tc-kicker {
    font-size: 22px;
  }
}
/* 제목 밑 물감 번짐(ink-wash.ts, 사용자 2026-11-17): 갈림길 3장 그림을 흑백으로. 무대에 바로 놓여 영상과 섞인다.
   screen 80%: 물감이 영상을 밝게 걸러 종이에 번진 먹처럼 보이고, 짙은 물감 자리로 영상이 비친다. 검은 제목이 잘 읽힌다
   (multiply 는 영상과 제목이 함께 어두워져 제목이 묻혔고, overlay·hard-light 는 제목 뒤가 어두워졌다) */
.sc-tc-wash {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  visibility: hidden;
  mix-blend-mode: screen;
  opacity: 0.8;
}
.sc-tc-wash > canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* 영상 없는 제목 카드(원고 style plain, 빈 무대 blank; 출산기획 2026-11-17): 흰 바탕에 screen 은 보이지 않으므로 보통으로 그리고 옅게.
   스크롤 표시도 흰 글씨 대신 먹색 */
.sc-pkg.plain .sc-tc-wash {
  mix-blend-mode: normal;
  opacity: 0.55;
}
.sc-pkg.plain .sc-scroll-cue {
  color: var(--sc-ink);
  filter: none;
}
.sc-block.titleart figure {
  margin: 48px auto 0;
}
.sc-block.titleart img {
  display: block;
  width: min(78%, 360px);
  height: auto;
  margin: 0;
}
/* 실루엣 그림자 바로 밑에 제목(사용자 스케치) */
.sc-block.titleart + .sc-block .sc-h1 {
  margin-top: 4px;
}
/* 개발 중 표시(style=huge, 사용자 2026-11-17): 아주 큰 글씨. 시안을 정하면 원고에서 지운다 */
.sc-block.huge p {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 800;
  color: #d4211c;
  margin: 24px 0 40px;
}
.sc-quote blockquote {
  margin: 40px 0;
  padding-left: 16px;
  border-left: 3px solid currentColor;
  font-weight: 600;
}
.sc-root figure {
  margin: 32px 0;
}
.sc-root figure img {
  display: block;
  width: 100%;
  height: auto;
}
.sc-root figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--sc-muted);
}
.sc-credit {
  margin-left: 0.5em;
  opacity: 0.8;
}
/* 원고 style 칸에 temp: 아직 확정 전인 그림. 가운데에 회색 '임시' */
.sc-imgbox {
  position: relative;
}
.sc-block.temp .sc-imgbox::after {
  content: "임시";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(36px, 12vw, 72px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(110, 110, 110, 0.75);
  pointer-events: none;
}
.sc-credit::before {
  content: "자료: ";
}
/* 빈 자리(그림·그래프가 오기 전)와 가로 구분선 */
.sc-slot-box {
  margin: 32px 0;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1.5px dashed var(--sc-muted);
  border-radius: 8px;
  background: rgba(127, 127, 127, 0.07);
  color: var(--sc-muted);
  text-align: center;
  word-break: keep-all;
}
.sc-slot-box strong {
  color: var(--sc-fg);
  font-size: 16px;
}
.sc-slot-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.sc-rule hr {
  margin: 64px 0;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.35;
}
/* 글 위에 본문 세 줄만큼 띄우기(style=gap3, 출산기획 '왜 ‘응급한’ 고위험 산모를…' 위, 사용자 2026-11-22 "이 텍스트 위에 텍스트 기준으로 3줄 정도 떼자").
   본문 19px × 줄 간격 1.55 × 3 */
.sc-block.gap3 {
  padding-top: calc(8px + 19px * 1.55 * 3); /* .sc-text 기본 위 여백 8px 에 더해 */
}
/* 짧은 선(style=short): 화면 폭 절반, 위아래 여백은 spacer 행이 맡는다. 바탕이 이 선에서 바뀌게 쓴다(사용자 2026-11-16) */
.sc-block.short hr {
  width: min(50vw, 100%);
  margin: 0 auto;
}
/* 명세 그래프(components/spec-chart.ts) */
.sc-fig {
  position: relative;
  margin: 40px 0 !important;
}
.sc-chart-title {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}
.sc-chart-unit,
.sc-chart-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--sc-muted);
}
.sc-chart-hint {
  margin: 4px 0 0;
}
/* 판 바꾸기 단추(명세의 views, 사용자 2026-11-16) */
.sc-chart-tabs {
  display: inline-flex;
  margin: 2px 0 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  overflow: hidden;
}
.sc-chart-tabs button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 6px 12px;
  min-height: 32px;
  font: inherit;
  font-size: 13px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.sc-chart-tabs button + button {
  border-left: 1px solid currentColor;
}
.sc-chart-tabs button[aria-pressed="true"] {
  color: var(--sc-bg, #fff);
  background: var(--sc-fg, #151515);
}
.sc-chart-body {
  position: relative;
  width: 100%;
}
.sc-pies + .sc-pies {
  margin-top: 28px;
}
/* 위아래 맞닿은 파이(명세 mirror): 둘째 묶음 제목·범례는 아래 파이 밑에 붙인다 */
.sc-pies-under {
  margin-top: 4px;
}
.sc-chart-svg {
  display: block;
  overflow: visible;
  font-family: inherit;
}
.sc-chart-svg text {
  fill: currentColor;
}
.sc-chart-svg .sc-tick {
  font-size: 11.5px;
  fill: var(--sc-muted);
}
.sc-chart-svg .sc-rowlab {
  font-size: 13px;
}
.sc-chart-svg .sc-grouplab {
  font-size: 13px;
  font-weight: 700;
}
.sc-chart-svg .sc-val {
  font-size: 12px;
}
.sc-chart-svg .sc-val.strong,
.sc-chart-svg .sc-endlab {
  font-size: 12.5px;
  font-weight: 700;
}
.sc-chart-svg .sc-endval {
  font-size: 16px;
  font-weight: 800;
  fill: var(--sc-fg);
} /* 선 그래프 끝 값을 크게(spec endBig, 출산기획 2026-11-20) */
.sc-chart-svg .sc-leader {
  stroke: currentColor;
  stroke-opacity: 0.22;
  stroke-width: 1;
  stroke-dasharray: 1 3;
  stroke-linecap: round;
} /* 막대 값 → 오른쪽 끝 칸(tail) 연한 점선 */
.sc-chart-svg .sc-tail {
  fill: var(--sc-muted);
}
.sc-chart-svg .sc-inval {
  font-size: 11.5px;
  font-weight: 600;
}
.sc-chart-svg .sc-inval-s {
  font-size: 10px;
}
.sc-chart-svg .sc-inval-hl {
  font-size: 16px;
  font-weight: 800;
}
.sc-chart-svg .sc-val-hl {
  font-size: 16px;
  font-weight: 800;
}
/* 맞닿은 파이의 강조 문구(사용자 2026-11-16) */
.sc-chart-svg .sc-calllab {
  font-size: 15px;
  font-weight: 700;
}
.sc-chart-svg .sc-callsmall {
  font-size: 12px;
  font-weight: 500;
}
.sc-chart-svg .sc-callnum {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* 가계부 기둥(명세 ledger): 범례의 픽토그램, 기둥 아래 큰 숫자(휴대폰 폭에 맞춰 조금 작게) */
.sc-pkey svg {
  flex: none;
}
.sc-legend i.sc-pkey-line {
  width: 16px;
  height: 0;
  border-top: 1.5px solid var(--sc-fg);
  border-radius: 0;
}
.sc-chart-svg .sc-ledger-num {
  font-size: 22px;
}
@media (min-width: 640px) {
  .sc-chart-svg .sc-ledger-num {
    font-size: 28px;
  }
}
.sc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 6px 0 10px;
  font-size: 12.5px;
}
.sc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sc-legend i,
.sc-tip i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.sc-tip {
  position: absolute;
  top: 0;
  width: 140px;
  padding: 6px 8px;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.5;
  background: var(--sc-bg);
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 6px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.sc-tip[hidden] {
  display: none;
}
.sc-tip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sc-timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 22px;
  position: relative;
}
.sc-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  border-left: 2px solid rgba(127, 127, 127, 0.3);
}
.sc-timeline li {
  position: relative;
  padding: 0 0 22px;
  display: flex;
  flex-direction: column;
}
.sc-tl-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.sc-tl-date {
  font-size: 13px;
  color: var(--sc-muted);
}
.sc-timeline strong {
  font-size: 19px;
}
.sc-tl-text {
  font-size: 14px;
}
/* 첫머리 실루엣: 휴대폰 한 화면 안에 다 들어온다 */
.sc-block.lineup {
  min-height: var(--sc-H);
  display: flex;
  align-items: center;
}
.sc-block.lineup figure {
  width: 100%;
  margin: 0;
}
.sc-block.lineup img {
  max-height: calc(var(--sc-H) - 64px);
  object-fit: contain;
}

/* ---- 동적 묶음: 무대는 화면에 고정, 글은 위 층에서 이야기 초에 맞춰 지나가거나 멈춘다 */
.sc-pkg {
  position: relative;
}
.sc-stage {
  position: sticky;
  top: var(--sc-top, 0px);
  height: var(--sc-H, 100vh);
  overflow: hidden;
}
.sc-stage-in {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-stage-fig {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sc-stage-fig figcaption {
  align-self: stretch;
  max-width: var(--sc-col);
  margin: 8px auto 0;
}
.sc-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  background: transparent;
}
/* fit=cover 영상은 무대를 꽉 채운다(안쪽 여백 16px 에 페이지 바탕이 흰 테두리로 보이던 것, 사용자 2026-11-17) */
.sc-stage-fig.sc-video.cover {
  padding: 0;
}
/* 휴대폰 주소창이 사라지면 화면이 길어져 영상 밑에 흰 띠가 보이던 것(사용자 2026-11-17): 꽉 채우는 영상의 무대는 주소창이 없을 때의 높이(100lvh)까지 */
.sc-pkg.sc-video .sc-stage:has(.sc-video.cover) {
  height: max(var(--sc-H, 100vh), calc(100lvh - var(--sc-top, 0px)));
}
/* 첫 화면 아래 '스크롤해서 보기' 마우스(시작 페이지 index.html .scroll-cue 와 같은 모양) */
.sc-scroll-cue {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 28px;
  bottom: calc(28px + (100lvh - 100svh));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.6))
    drop-shadow(0 1px 4px rgb(0 0 0 / 0.55));
}
/* 장면이 그대로인 동안의 '스크롤해서 보기'(settings stillHint, engine.ts stillCue, 출산기획 2026-11-21): 같은 그림·글, 그래프 흰 상자(z 4)보다 위.
   꽉 채우는 영상이 아닌 무대는 높이가 보이는 화면 그대로라 주소창 몫을 더하지 않는다 */
.sc-still-cue {
  z-index: 5;
}
.sc-pkg:not(:has(.sc-video.cover)) .sc-still-cue {
  bottom: 28px;
}
/* 렌더 영상 위 덧그림(출산기획 대구 영상, 사용자 2026-11-18): 무대 전체를 덮는 층. 시계와 지명이 여기 든다(media.ts cameraOverlay) */
.sc-cam {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* 길찾기 선이 그려졌다 끊기듯 사라지는 덧그림(call-routes.ts, 출산기획 청주 2026-11-21). 지명 글 아래 */
.sc-calls {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7; /* 선 불투명도 70%(사용자 2026-11-21) */
}
.sc-calls[hidden] {
  display: none;
}
/* 길찾기 선의 도착지(병원) 작은 핀: 지명 poi 와 같은 빨간 핀·십자를 반쯤(18×25), 끝이 병원 자리. 크기는 스크립트가 scale 로 */
.sc-calls-pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 25px;
  margin: -25px 0 0 -9px;
  transform-origin: 9px 25px;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5));
  will-change: transform;
}
.sc-calls-pin[hidden] {
  display: none;
}
/* 병원 이름표: 작은 검은 띠에 흰 글(지명 poi 의 이름표를 작게). 자리는 call-routes.ts 가 left·top·transform 으로 */
.sc-calls-lab {
  position: absolute;
  white-space: nowrap;
  padding: 1px 5px 2px;
  border-radius: 3px;
  background: rgb(17 17 17 / 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .sc-calls-lab {
    font-size: 13px;
    line-height: 18px;
    padding: 1px 6px 2px;
  }
}
.sc-calls-pin > svg {
  display: block;
  width: 18px;
  height: 25px;
  transform-origin: 9px 25px; /* 기울일 때(call-routes.ts tilt) 핀 끝이 병원 자리에 남게 */
}
/* 영상 프레임을 지명과 같은 순간에 그리는 캔버스(media.ts cameraOverlay). 첫 프레임을 그리기 전엔 밑의 <video> 가 보인다 */
.sc-cam.sc-cam-base {
  z-index: 0;
} /* 영상 프레임 캔버스: 첫 화면 덮는 그림(z 1) 아래, 시계·지명(z 2) 아래 */
.sc-cam-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.sc-cam-canvas.on {
  visibility: visible;
}
/* 지명(사용자 2026-11-18): 흰 글에 흐린 그림자. 기준점이 그 자리(transform 은 스크립트가 준다). 화면 오른쪽에선 글을 점 왼쪽으로(.left)
   stop 정류지: 흰 점(검은 테) + 14px 굵게 / city 도시: 점 없이 18px 굵게, 글 가운데가 그 자리 / town 읍·면 소재지: 점 없이 12px, 글 가운데가 그 자리
   border 시군구 경계: 짧은 세로 금 + 15px 굵게(읍·면보다 크게), 시도가 바뀌면 시도 줄 19px
   event 그 장소에서 일어난 일: 점 없이 20px 굵게, 그 자리 위쪽 가운데. 서서히 나타났다 사라짐(opacity 는 스크립트) */
.sc-cam-place {
  position: absolute;
  left: 0;
  top: 0;
  margin: -9px 0 0 -6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-shadow:
    0 1px 1px rgb(0 0 0 / 0.6),
    0 1px 6px rgb(0 0 0 / 0.7);
  will-change: transform;
}
.sc-cam-place[hidden] {
  display: none;
}
.sc-cam-place > i {
  flex: none;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
}
.sc-cam-place > b {
  display: flex;
  flex-direction: column;
  font-weight: inherit;
}
.sc-cam-place.left {
  flex-direction: row-reverse;
  translate: calc(-100% + 12px) 0;
}
.sc-cam-place.city {
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  translate: -50% -50%;
}
.sc-cam-place.city > i {
  display: none;
}
.sc-cam-place.town {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  translate: -50% -50%;
}
.sc-cam-place.town > i {
  display: none;
} /* 점 없이(사용자 2026-11-18: 면은 한 점이 아니다) */
.sc-cam-place.border {
  margin: -11px 0 0 -1px;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
}
.sc-cam-place.border > i {
  width: 3px;
  height: 22px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 3px rgb(0 0 0 / 0.7);
}
.sc-cam-place.border.left {
  translate: calc(-100% + 3px) 0;
}
.sc-cam-place.border .first {
  font-size: 19px;
  line-height: 23px;
}
.sc-cam-place.event {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  translate: -50% calc(-100% - 20px);
  text-shadow:
    0 1px 2px rgb(0 0 0 / 0.7),
    0 1px 10px rgb(0 0 0 / 0.8);
}
.sc-cam-place.event > i {
  display: none;
}
.sc-cam-place.event > b {
  align-items: center;
}
/* 화면에 고정된 글(media.ts caption, 대전 영상 줌아웃의 '충남대병원에서 순천까지 / 약 200km, 약 3시간', 2026-11-19): 아래쪽 가운데 */
.sc-cam-place.caption {
  left: 50%;
  top: auto;
  bottom: 13%;
  margin: 0;
  translate: -50% 0;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  text-shadow:
    0 1px 2px rgb(0 0 0 / 0.7),
    0 1px 10px rgb(0 0 0 / 0.8);
}
.sc-cam-place.caption > i {
  display: none;
}
.sc-cam-place.caption > b {
  align-items: center;
}
.sc-cam-place.caption .first {
  font-size: 17px;
  font-weight: 600;
}
/* 지도 자료 출처(media.ts credit, 사용자 2026-11-23): 끝의 거리·시간 글과 함께 오른쪽 아래에 작은 회색 글 */
.sc-cam-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: calc(100% - 24px);
  color: #a8a8a8;
  font-size: 11px;
  line-height: 15px;
  text-align: right;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.8);
  pointer-events: none;
}
/* 미니맵(사용자 2026-11-18): 무대 오른쪽 위. 흑백: 흰 땅·회색 시도 경계, 전체 경로 연회색, 지나온 길 검정, 지금 자리 빨강(영상의 차량 점) */
.sc-minimap {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 84px;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgb(0 0 0 / 0.45));
}
.sc-minimap > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.sc-minimap .land path {
  fill: #fff;
  stroke: #9a9a9a;
  stroke-width: 0.5;
  stroke-linejoin: round;
}
.sc-minimap .plan,
.sc-minimap .done {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-minimap .plan {
  stroke: #c4c4c4;
  stroke-width: 1.6;
}
.sc-minimap .done {
  stroke: #000;
  stroke-width: 2.2;
}
.sc-minimap .now {
  fill: #e0261b;
  stroke: #fff;
  stroke-width: 0.9;
}
/* 미니맵에 찍은 점(무안 영상의 모자의료센터 세 곳, 2026-11-20): 접근성 지도의 센터와 같은 검은 점 + 붉은 테 */
.sc-minimap .mark {
  fill: #111;
  stroke: #e0261b;
  stroke-width: 1.1;
}
.sc-minimap-key {
  margin: 3px 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  color: #111;
  text-shadow:
    0 0 2px #fff,
    0 0 2px #fff,
    0 0 4px #fff;
  white-space: nowrap;
}
.sc-minimap-key > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 1.3px #e0261b;
}
/* 바늘 시계: 흑백 평면, 무대 왼쪽 위(오른쪽 위는 미니맵) */
.sc-clock {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  width: 72px;
  height: 72px;
  pointer-events: none;
}
.sc-clock > svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* 시계 밑 '출발 후 소요시간'(사용자 2026-11-18): 테두리·상자 없이 흰 글에 흐린 그림자('스크롤해서 보기'와 같은 그림자).
   글이 시계보다 넓어 오른쪽 끝을 시계에 맞춘다(화면 밖으로 넘치지 않게) */
.sc-clock-el {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  white-space: nowrap;
  color: #fff;
  text-shadow:
    0 1px 1px rgb(0 0 0 / 0.6),
    0 1px 6px rgb(0 0 0 / 0.7);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
}
.sc-clock-el {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sc-clock-el:empty {
  display: none;
}
/* 바늘 없이 '출발 후 ○'만(출발 시각을 모르는 대전 사례, 2026-11-19): 글이 시계 자리 맨 위에 */
.sc-clock.elapsed {
  height: auto;
}
.sc-clock.elapsed > svg {
  display: none;
}
.sc-clock.elapsed .sc-clock-el {
  position: static;
}
.sc-clock[hidden],
.sc-minimap[hidden] {
  display: none;
}
/* 밝은 영상(params ink=dark, 대구 낮 판, 사용자 2026-11-19): 글은 검게, 어두운 그림자 대신 흰 테.
   정류지 점(흰 점 검은 테)은 그대로, 경계 막대는 검게 */
.ink-dark .sc-cam-place,
.ink-dark .sc-cam-place.event,
.ink-dark .sc-cam-place.caption,
.ink-dark .sc-clock-el {
  color: #111;
  text-shadow:
    0 0 2px #fff,
    0 0 2px #fff,
    0 0 5px rgb(255 255 255 / 0.9),
    0 0 10px rgb(255 255 255 / 0.7);
}
.ink-dark .sc-cam-place.border > i {
  background: #111;
  box-shadow:
    0 0 3px #fff,
    0 0 3px #fff;
}
/* 지명 상자(params labels=box, 무안 영상 2026-11-20): 사건 글·도시·읍면·경계 이름을 반투명 검은 상자 위 흰 글로. ink-dark 의 검은 글·흰 테보다 앞선다.
   출발·도착 큰 핀(poi, 원래 검은 띠)과 끝의 거리·시간 글(caption)은 그대로 */
.label-box .sc-cam-place:not(.poi):not(.caption) {
  color: #fff;
  text-shadow: none;
}
.label-box .sc-cam-place:not(.poi):not(.caption) > b {
  padding: 2px 7px 3px;
  border-radius: 3px;
  background: rgb(0 0 0 / 0.55);
}
.label-box .sc-cam-place.town > b {
  padding: 1px 5px 2px;
}
/* 중요한 정류지 poi(대구 낮 판의 호텔·선산IC·감곡IC·분당서울대병원, 사용자 2026-11-19 "다른 것보다 잘 보이도록"):
   빨간 핀(36×50, 끝이 그 자리, media.ts poiPin) + 검은 띠 위 흰 글 18px. 글은 핀 머리 높이에, 화면 오른쪽에선 핀 왼쪽(.left).
   밝은 영상·어두운 영상 어디서나 같은 모양(검은 띠라 ink-dark 의 글색·흰 테를 받지 않는다) */
.sc-cam-place.poi {
  margin: 0;
  align-items: flex-start;
  gap: 4px;
  translate: -18px -48px;
  z-index: 1;
}
.sc-cam-place.poi > i {
  width: 36px;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.45));
}
.sc-cam-place.poi > i > svg {
  display: block;
}
.sc-cam-place.poi > b {
  margin-top: 5px;
  padding: 3px 9px 4px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  text-shadow: none;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.35);
}
.sc-cam-place.poi.left {
  flex-direction: row-reverse;
  translate: calc(-100% + 18px) -48px;
}
/* 조금 작은 핀(icon 'ic:sm', 대구 줌아웃의 감곡IC 2026-11-20): 핀 36×50 → 28×39, 이름 18 → 15px */
.sc-cam-place.poi.sm {
  translate: -14px -37px;
}
.sc-cam-place.poi.sm.left {
  translate: calc(-100% + 14px) -37px;
}
.sc-cam-place.poi.sm > i,
.sc-cam-place.poi.sm > i > svg {
  width: 28px;
  height: 39px;
}
.sc-cam-place.poi.sm > b {
  margin-top: 3px;
  padding: 2px 7px 3px;
  font-size: 15px;
  line-height: 20px;
}
/* poi 자리의 event 글(자차로 이동·구급차 탑승·병원 도착)은 핀 아래로. 위쪽은 앞으로 갈 길이라 경계·읍면 글과 겹친다
   (감곡IC 의 '구급차 탑승'이 '경기도 여주시'와 겹침) */
.sc-cam.poi .sc-cam-place.event {
  translate: -50% 12px;
}
.sc-scroll-cue.on {
  opacity: 1;
  animation: sc-cue-sway 1.6s ease-in-out infinite;
}
.sc-scroll-cue > svg {
  display: block;
  overflow: visible;
}
.sc-scroll-cue .wheel {
  animation: sc-cue-wheel 1.6s ease-in infinite;
}
@keyframes sc-cue-sway {
  50% {
    transform: translateY(5px);
  }
}
@keyframes sc-cue-wheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  12% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(8px);
    opacity: 1;
  }
  85%,
  100% {
    transform: translateY(11px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-scroll-cue {
    transition: none;
  }
  .sc-scroll-cue.on,
  .sc-scroll-cue .wheel {
    animation: none;
  }
}
.sc-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.sc-three-host {
  flex: 1;
  min-height: 0;
  width: 100%;
}
.sc-three-host canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.sc-bars {
  width: min(100%, 520px);
  height: auto;
  overflow: visible;
}
.sc-bars rect {
  fill: currentColor;
}
.sc-bars text {
  fill: currentColor;
  font-size: 12px;
  text-anchor: middle;
}
.sc-bars .num {
  font-weight: 700;
  transition: opacity 0.2s;
}
.sc-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.sc-hold {
  position: absolute;
  left: 0;
  right: 0;
}
.sc-cue {
  position: absolute;
  left: 0;
  right: 0;
  width: min(88vw, 560px);
  margin: 0 auto;
  box-sizing: border-box;
  pointer-events: auto;
}
.sc-hold > .sc-cue {
  position: sticky;
}
.sc-cue p {
  margin: 0 0 0.6em;
  font-size: 19px; /* HDS 본문(위 .sc-text p 와 같음) */
  line-height: 1.55;
  word-break: keep-all;
}
.sc-cue p:last-child {
  margin-bottom: 0;
}
.sc-cue.box {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
  border-radius: 0;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
} /* 각지게(사용자 2026-11-17) */
.sc-cue.dark {
  padding: 16px 18px;
  background: rgba(18, 18, 18, 0.88);
  color: #f4f4f4;
  border-radius: 0;
} /* 각지게(box 와 같이, 사용자 2026-11-18 인트로 성호 글: 검은 바탕에 흰 글) */
.sc-cue.plain {
  padding: 0 4px;
}

@media (min-width: 768px) {
  .sc-h1 {
    font-size: 40px;
    margin-top: 80px;
  }
}

/* ---- ?debug=1: 1초 눈금, 화면 가운데 선, 묶음의 t */
.sc-debug::before {
  content: "";
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(var(--sc-top) + var(--sc-H) / 2);
  border-top: 1px solid rgba(255, 0, 0, 0.7);
  pointer-events: none;
}
.sc-dbg-tick {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(255, 0, 0, 0.5);
  font: 11px/1 monospace;
  color: #e00;
  padding: 2px 4px;
  pointer-events: none;
}
.sc-dbg-label {
  position: absolute;
  z-index: 3;
  left: 8px;
  top: 8px;
  font: 12px/1.3 monospace;
  background: rgba(255, 255, 0, 0.85);
  color: #000;
  padding: 2px 6px;
}

/* 처방전 그래프 + 막대 더미(components/three-rx.ts): 세로 화면은 그래프 위·더미 아래, 가로 화면은 나란히 */
.sc-rx-host {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-rx-host.wide {
  flex-direction: row;
  gap: 24px;
}
.sc-rx-chart {
  flex: 0 0 42%;
  width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: visible;
  font-family: inherit;
}
/* min-width 0: 가로 배치에서 SVG 가 직전 viewBox 비율로 최소 폭을 잡아 더미 칸을 0 까지 밀어내던 것(창을 넓힐 때, 사용자 2026-11-17) */
.sc-rx-host.wide .sc-rx-chart {
  flex: 0 0 50%;
  height: 100%;
  width: auto;
} /* 56% → 50%: 통을 더 크게(사용자 2026-11-18) */
.sc-rx-pile {
  flex: 1;
  position: relative;
  min-height: 0;
  min-width: 0;
}
.sc-rx-pile canvas,
.sc-rx-ves,
.sc-rx-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.sc-rx-ves,
.sc-rx-fill {
  pointer-events: none;
  overflow: visible;
}
.sc-rx-ves > path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.sc-rx-ves text {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.sc-rx-lab {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  line-height: 1.35;
}
.sc-rx-lab b {
  display: block;
  font-size: 15px;
}
.sc-rx-lab i {
  font-style: normal;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sc-rx-ttl {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
} /* 더미 제목(사용자 2026-11-18): 꺾은선 제목과 같은 글꼴 */
.sc-rx-ttl span {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--sc-muted);
}
.sc-rx-ttl.mid {
  left: 50%;
  transform: translateX(-50%);
}
.sc-rx-chart .rx-title {
  font-size: 15px;
  font-weight: 700;
  fill: currentColor;
}
.sc-rx-chart .rx-unit,
.sc-rx-chart .rx-tick {
  font-size: 11.5px;
  font-weight: 400;
  fill: var(--sc-muted);
}
.sc-rx-chart .rx-month {
  font-size: 15px;
  font-weight: 800;
  fill: currentColor;
}
.sc-rx-chart .rx-grid {
  stroke: currentColor;
  stroke-opacity: 0.1;
}
.sc-rx-chart .rx-axis,
.sc-rx-chart .rx-xt {
  stroke: currentColor;
  stroke-width: 1.5;
}
.sc-rx-chart .rx-line {
  fill: none;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.sc-rx-chart .rx-head {
  font-size: 14px;
  font-weight: 800;
}
.sc-rx-chart .rx-headv {
  font-size: 12.5px;
  font-weight: 600;
  fill: currentColor;
  font-variant-numeric: tabular-nums;
}
.sc-rx-chart .rx-trace {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  paint-order: stroke;
  stroke: var(--sc-bg, #fff);
  stroke-width: 3px;
  stroke-linejoin: round;
} /* 지나온 달 값 흔적 */

/* ---- 비만기획 첫 화면(사용자 2026-11-18): 수채 배경 위에 붓글씨 '내 몸에 새겨진 불평등'을 획 순서대로 쓰고(stroke-title.ts),
   고딕 줄 '비만치료제 열풍의 그늘'을 한 글자씩. 스크롤하면 배경이 무채색이 된 뒤 영상으로 바뀐다(media.ts cover) */
/* 영상 위에 덮는 그림: 스크롤 표시(z 2) 아래. .sc-root figure img 의 height: auto 를 이기도록 .sc-root 를 붙인다 */
.sc-root .sc-video-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.sc-video-cover > canvas,
.sc-root .sc-video-cover > .sc-shrink-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 제목을 다 쓰기 전에는 '스크롤해서 보기'를 숨긴다(갈림길과 같다) */
.sc-pkg.sc-st-wait .sc-scroll-cue {
  opacity: 0;
  animation: none;
}
.sc-cue.strokes {
  width: min(94vw, 1000px, calc(var(--sc-H, 100vh) * 1.25));
  padding: 0;
  background: none;
  color: #fff;
  pointer-events: none;
}
.sc-st {
  position: relative;
  container-type: inline-size;
}
.sc-st-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.sc-st-whole {
  opacity: 0;
  transition: opacity 0.35s ease;
} /* 갈림길 .45s 의 1.3배 빠르기(stroke-title.ts FAST) */
.sc-st-whole.on {
  opacity: 1;
}
/* 고딕 줄: 디자이너 그림의 자리와 크기를 글꼴로(그림 폭 1425px 기준: 글자 잉크 높이 37px, 글자 간격 59px, 낱말 사이 97px).
   Pretendard 굵게: 글자 너비 .864em, 잉크 높이 약 .9em(→ 41px = 2.877cqw), 왼쪽 여백 .05em, 줄 높이 1 일 때 잉크 위끝이 상자 위끝보다 .055em 아래,
   빈칸 .231em(2026-11-18 브라우저에서 잼). 자간 .575em = 59 − 35.4, 낱말 사이 .121em = 97 − 59 − 빈칸 − 자간.
   --x0 첫 글자 잉크 왼쪽, --y 잉크 위끝(stroke-title.ts 가 그림 폭에 대한 비율로 준다) */
.sc-cue .sc-st-sub {
  position: absolute;
  left: calc(var(--x0) - 0.05em);
  top: var(--y);
  transform: translateY(-0.055em);
  margin: 0;
  white-space: nowrap;
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.877cqw;
  line-height: 1;
  letter-spacing: 0.575em;
  word-spacing: 0.121em;
  color: #fff;
}
.sc-st-w {
  display: inline-block;
}
.sc-st-ch {
  opacity: 0;
}
.sc-st-ch.on {
  opacity: 1;
}
.sc-st-ch.tight {
  letter-spacing: 0.08em;
} /* 따옴표에 붙는 쪽(stroke-title.ts, 출산기획 '‘응급’', 2026-11-19) */
/* 휴대폰: 낱말마다 줄을 바꾸고('비만치료제 / 열풍의 / 그늘', 사용자) 크게. 세 줄이 붓글씨 아래로 넘치므로 흐름에 놓아 글 상자 높이에 든다 */
@media (max-width: 719px) {
  .sc-cue .sc-st-sub {
    position: relative;
    left: calc(var(--x) - 50%);
    top: auto;
    transform: none;
    margin-top: calc(var(--y) - var(--h));
    padding-left: 0.3em; /* 자간이 끝 글자 뒤에도 붙어 왼쪽에 같은 만큼 */
    white-space: normal;
    text-align: center;
    font-size: 5.6cqw;
    line-height: 1.7;
    letter-spacing: 0.3em;
  }
  .sc-st-w {
    display: block;
  }
  .sc-st-sub.lines .sc-st-w {
    display: inline-block;
  } /* 원고에 줄을 나눠 적었으면 그 줄대로(stroke-title.ts) */
  .sc-st-sub.lines .sc-st-l {
    display: block;
  }
}

/* 출처 글(원고 text 행 style source, 사용자 2026-11-18): 그래프 설명 글(figcaption)과 같은 작은 회색 글. 동적 장면 바로 밑에 두면
   연출이 끝나고 무대가 풀린 뒤 스크롤할 때부터 보인다 */
.sc-text.source {
  padding-top: 12px;
  padding-bottom: 32px;
}
.sc-text.source p {
  margin: 0 0 0.5em;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sc-muted);
}
/* 양쪽 막대 칸 이름(spec-chart.ts divergeSeg): 짚는 쪽은 굵고 진하게 */
.sc-chart-svg .sc-tick.strong {
  font-weight: 700;
  fill: currentColor;
}
/* 넓은 그림(원고 style wide, 사용자 2026-11-18: 성호네 사진): PC(720px 이상)에서는 글 단보다 넓게, 창 폭을 따라 최대 1080px.
   휴대폰은 글 단 그대로 */
@media (min-width: 720px) {
  .sc-block.wide figure {
    width: min(1080px, calc(100vw - 2 * var(--sc-pad)));
    margin-left: calc(50% - min(540px, calc(50vw - var(--sc-pad))));
  }
}
/* 글 단서 style lines(사용자 2026-11-18, 인트로 영상 위 성호 글): 상자 없이 글자 줄마다 검은 띠에 흰 글. 띠는 줄마다 끊기고(box-decoration-break),
   줄 사이로 영상이 보인다 */
.sc-cue.lines {
  padding: 0;
  background: none;
  box-shadow: none;
}
.sc-cue.lines p {
  margin: 0 0 0.9em;
  font-size: 19px; /* HDS 본문 19px. 행간은 줄마다 띠가 겹치지 않게 2.05 그대로 */
  line-height: 2.05;
}
.sc-cue.lines p > span {
  /* --sc-band·--sc-band-ink: 기사 settings cueBand·cueInk 로 바꾼 띠 색·글자 색(engine.ts, 출산기획 #0b171e·#caedf2, 2026-11-22).
     없으면 검은 띠에 흰 글(비만기획, 배포한 그대로) */
  background: var(--sc-band, rgba(0, 0, 0, 0.86));
  color: var(--sc-band-ink, #fff);
  padding: 0.28em 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* lines light: 흰 띠에 검은 글(출산기획 첫 장면, "…들어갈 병상은 없었다." 까지, 사용자 2026-11-20). 띠 불투명도 .94 → .65(같은 날 "흰색 상자의 불투명도를 65%로") */
.sc-cue.lines.light p > span {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
}
/* 글 단서 style 'box thin'(사용자 2026-11-18, BMI 그래프 위 글): 흰 상자에 얇은 테두리, 모서리는 각지게(box 와 같이 radius 0) */
.sc-cue.box.thin {
  border: 1px solid #151515;
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22);
} /* 그림자를 진하게(사용자 2026-11-18: 글상자에 음영) */
/* 무대 위 명세 그래프(components/spec-blink.ts): 글 단 폭으로 화면 위쪽에 두고(글은 아래쪽에서 머문다), 글이 말하는 칸이 깜빡인다 */
.sc-spec-stage {
  justify-content: flex-start;
  color: var(--sc-fg);
}
.sc-spec-stage > .sc-fig {
  width: 100%;
  max-width: var(--sc-col);
  margin: 0 auto !important;
}
.sc-spec-stage figcaption:empty {
  display: none;
}
.sc-blink {
  animation: sc-blink 0.9s ease-in-out infinite;
}
@keyframes sc-blink {
  50% {
    opacity: 0.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-blink {
    animation: none;
  }
  .sc-blinking [data-k]:not(.sc-blink) {
    opacity: 0.3;
  }
}
/* 출산기획 참고 지도(components/route-map.ts, 사용자 2026-11-18): 사례 하나에 지도 한 장. 경로 빨강 = 미니맵의 현재 자리 색 */
.sc-rmap {
  margin: 0 0 56px;
}
.sc-rmap .sc-chart-title {
  margin-bottom: 10px;
}
.sc-rmap-km {
  font-weight: 400;
  color: var(--sc-muted);
  font-variant-numeric: tabular-nums;
}
.sc-rmap-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  background: #f2f2f0;
  overflow: hidden;
}
@media (min-width: 720px) {
  .sc-rmap-map {
    aspect-ratio: 1 / 1;
  }
}
.sc-rmap-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid #fff;
  background: #151515;
  color: #fff;
  font:
    700 11px/16px "Pretendard Variable",
    Pretendard,
    sans-serif;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.sc-rmap-pin-c {
  width: 16px;
  height: 16px;
  border: 1.5px solid #7a776e;
  background: #fff;
  color: #555;
  font-size: 9px;
  line-height: 13px;
  box-shadow: none;
}
.sc-rmap-lab {
  position: absolute;
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
  font-size: 13px;
  font-weight: 700;
  color: #151515;
  text-shadow:
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 6px #fff,
    0 0 10px #fff;
}
.sc-rmap-src {
  position: absolute;
  right: 6px;
  bottom: 4px;
  z-index: 2;
  font-size: 10px;
  color: #6b6b6b;
  text-shadow:
    0 0 3px #fff,
    0 0 3px #fff;
}
.sc-rmap-legs,
.sc-rmap-contacts {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
.sc-rmap-legs li + li {
  margin-top: 8px;
}
.sc-rmap-legs i {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  font:
    700 11px/18px "Pretendard Variable",
    Pretendard,
    sans-serif;
  text-align: center;
  vertical-align: 1px;
  font-style: normal;
}
.sc-rmap-legs small,
.sc-rmap-contacts small {
  font-size: 13px;
  color: var(--sc-muted);
}
.sc-rmap-sub {
  margin: 16px 0 4px;
  font-size: 13px;
  font-weight: 700;
}
.sc-rmap-contacts {
  margin-top: 0;
  padding-left: 24px;
  list-style: decimal;
  font-size: 14px;
  columns: 2;
  column-gap: 20px;
}
@media (max-width: 480px) {
  .sc-rmap-contacts {
    columns: 1;
  }
}
/* 구급차 말풍선(출산기획 대구 영상 params bubble, 2026-11-19 사용자): 호텔 자리에 선 구급차(밑변이 지명 점), 그 위 흰 테 말풍선 영상.
   스크롤로 흐르지 않고 bubbleAt 동안 제자리에서 커지며 나타났다 사라진다. 꼬리(--tail)는 구급차를 가리킨다 */
/* 첫 화면 그림이 오그라들면 드러나는 펜화(media.ts pen, 대구 호텔 출발 판 2026-11-20). 영상과 같은 cover 로, 덮는 그림 바로 아래 */
.sc-video-pen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #000;
}
.sc-root .sc-video-pen > img {
  position: absolute;
  display: block;
  max-width: none;
} /* 자리·크기는 media.ts penRect(영상 프레임 기준 penBox). .sc-root img 의 height:auto 를 이긴다 */
/* 펜화의 구급차에서 뜨는 말풍선 영상(media.ts penBubble): 검은 테, 꼬리가 구급차 지붕을 가리킨다. 휴대폰은 거의 화면 폭 */
/* 펜화 바탕도 검어서, 테와 꼬리 둘레에 펜 선 같은 가는 흰 윤곽(drop-shadow 네 방향: 꼬리까지 한 모양으로 감싼다) */
.sc-pen-bubble {
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  padding: 6px;
  background: #111;
  border-radius: 12px;
  filter: drop-shadow(1.2px 0 0 #fff) drop-shadow(-1.2px 0 0 #fff)
    drop-shadow(0 1.2px 0 #fff) drop-shadow(0 -1.2px 0 #fff)
    drop-shadow(0 6px 16px rgb(0 0 0 / 0.5));
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transform-origin: var(--tail, 50%) 100%;
  transition:
    opacity 0.35s ease-out,
    transform 0.35s ease-out;
  pointer-events: none;
}
.sc-pen-bubble.on {
  opacity: 1;
  transform: none;
}
.sc-pen-bubble::after {
  content: "";
  position: absolute;
  left: var(--tail, 50%);
  bottom: -15px;
  margin-left: -11px;
  border: 11px solid transparent;
  border-top: 16px solid #111;
  border-bottom: 0;
}
.sc-pen-bubble video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  background: #000;
}
@media (max-width: 599px) {
  .sc-pen-bubble video {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
} /* 휴대폰: 가운데만 4:3 으로 더 크게 */
.sc-amb {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
}
.sc-amb[hidden] {
  display: none;
}
.sc-amb-car {
  position: absolute;
  left: -76px;
  bottom: -6px;
  width: 52px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.45));
  opacity: 0;
  transition: opacity 0.3s;
}
.sc-amb.car .sc-amb-car {
  opacity: 1;
}
.sc-amb-bubble {
  position: absolute;
  bottom: 52px;
  box-sizing: border-box;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 8px 26px rgb(0 0 0 / 0.35),
    0 2px 6px rgb(0 0 0 / 0.2);
  transform-origin: var(--tail, 50%) calc(100% + 14px);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.sc-amb.on .sc-amb-bubble {
  opacity: 1;
  transform: none;
}
.sc-amb-bubble::after {
  content: "";
  position: absolute;
  left: var(--tail, 50%);
  bottom: -13px;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 14px solid #fff;
  border-bottom: 0;
}
.sc-amb-bubble video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #000;
}
/* 영상 위 흰 상자 그래프(params panels, 출산기획 무안 영상 2026-11-20). 화면 위쪽에(아래쪽은 흐르는 글 자리), 보이는 동안만 누를 수 있다 */
.sc-video-panel {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 12px;
  translate: -50% 0;
  box-sizing: border-box;
  width: min(calc(100% - 24px), 600px);
  max-height: calc(100% - 24px);
  overflow: hidden;
  padding: 14px 14px 10px;
  background: #fff;
  color: #151515;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sc-video-panel.on {
  visibility: visible;
  pointer-events: auto;
}
.sc-video-panel figure {
  margin: 0;
}
.sc-video-panel figcaption {
  font-size: 12px;
  line-height: 1.5;
}
/* 영상 끝을 검은 화면으로(params black, 출산기획 대구 영상 → 사진 장면, 2026-11-19) */
.sc-video-black {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
/* 검은 무대 위 사진 + 글 단계(anim photo-steps, 2026-11-19): 사진은 위쪽, 글은 그 아래. 제자리에서 나타났다 사라진다 */
.sc-psteps {
  position: absolute;
  inset: 0;
  background: #000;
  color: #f4f4f4;
}
/* 묶음 바탕을 검게(style bg-black, 출산기획 사진 단계 장면 2026-11-20). 휴대폰은 주소창이 접혀 화면이 길어져도 다시 배치하지 않아(engine.ts onResize)
   무대(처음 화면 높이) 아래로 페이지 바탕이 드러난다. 묶음 바탕이 검으면 그 틈도 검다 */
.sc-pkg.bg-black {
  background: #000;
}
.sc-pstep {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}
/* 사진은 화면 가운데(사용자 2026-11-20 "화면의 가운데 오게 해줘. 지금 위쪽으로 가 있잖아"), 글은 그 바로 아래. 단계마다 사진 자리는 같다 */
.sc-pstep-img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 42%;
  width: min(88vw, 560px);
  translate: -50% -50%;
  display: flex;
  justify-content: center;
}
.sc-pstep-img img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.sc-pstep-txt {
  position: absolute;
  left: 50%;
  top: calc(71% + 20px);
  width: min(88vw, 560px);
  translate: -50% 0;
}
/* 휴대폰은 사진을 위로(사용자 2026-11-22 "뇌 사진과 쌍둥이 형 사진 … 약간 화면 위쪽으로 올리자. 모바일에서 글자가 '스크롤 버튼'과 겹친다"):
   375×740 에서 첫 단계 글이 562~748px 로 화면 밖까지 내려가 '스크롤해서 보기'(648~712)와 겹쳤다. 사진은 무대 위 8% 부터, 글은 그 바로 아래 */
@media (max-width: 767px) {
  .sc-pstep-img {
    top: 8%;
    translate: -50% 0;
  }
  .sc-pstep-txt {
    top: calc(50% + 20px);
  }
}
.sc-pstep-txt p {
  margin: 0 0 0.8em;
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}
/* 어두워진 무대에서 번갈아 나오는 사진(anim photo-slides, 출산기획 마지막 2026-11-20): 무대 가운데보다 조금 위, PC 는 글 단(640)보다 넓게 880px 까지.
   바탕은 photo-slides.ts 가 페이지 바탕에서 검정으로 바꾼다. 글은 그 위로 흐르는 cue(style lines) */
.sc-pslides {
  position: absolute;
  inset: 0;
  container-type: size;
}
/* 상자 폭을 높이 상한(무대 70%)에서도 사진 비율(4:3)대로 줄인다: 전에는 max-height 로 높이만 줄어 사진이 상자 가운데로 좁아지고,
   상자 왼쪽에서 시작하는 설명이 사진 왼쪽 끝과 어긋났다(사용자 2026-11-22 "사진 왼쪽 끝과 설명 시작이 일치해야지") */
.sc-pslides-box {
  position: absolute;
  left: 50%;
  top: 44%;
  translate: -50% -50%;
  width: min(calc(100% - 2 * var(--sc-pad)), 880px, calc(70cqh * 4 / 3));
  aspect-ratio: 4 / 3;
}
.sc-pslides-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
}
/* 사진마다 밑에 같은 설명(원고 caption 칸, 출산기획 순천 사진 2026-11-22). 사진과 함께 흐려졌다 나타난다. 사진이 4:3 이라 상자 밑이 곧 사진 밑 */
.sc-pslides-cap {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  visibility: hidden;
  word-break: keep-all;
}
@media (min-width: 768px) {
  .sc-pslides-cap {
    font-size: 15px;
  }
}
/* 참고 지도의 모자의료센터(params centers, 출산기획 무안 사례 2026-11-19): 붉은 테. 지점이면 번호 핀에 테를 두른다 */
.sc-rmap-ctr {
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid #e0261b;
  box-shadow: 0 0 0 1.5px #fff;
}
.sc-rmap-pin.ctr {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 5px #e0261b;
}
.sc-rmap-ctr-key {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid #e0261b;
  vertical-align: -1px;
}
/* 신생아 중환자실 접근성 지도(chart nicu-map, 출산기획 2026-11-19, 2026-11-20 고침): 층 그림(도달 시간 구간마다) + 시도 경계선 SVG + 모자의료센터 점.
   범례는 지도 왼쪽 서해 자리에(자리는 json legend). 화면에 들어오면 범례 한 줄과 그 구간 칸이 차례로(.on, nicu-map.ts) */
.sc-nicu {
  margin: 0;
}
.sc-nicu-map {
  position: relative;
  margin-top: 12px;
}
.sc-nicu-layer,
.sc-nicu-lines,
.sc-nicu-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sc-nicu-layer {
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.sc-nicu-layer.on,
.sc-nicu-dots.on {
  opacity: 1;
}
.sc-nicu-lines {
  overflow: visible;
  pointer-events: none;
}
.sc-nicu-dots {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}
.sc-nicu-dots .sc-nicu-dot {
  pointer-events: auto;
}
/* 범례: 휴대폰 13px, 넓은 화면 15px. 줄마다 왼쪽에서 살짝 밀려 들어온다 */
.sc-nicu-legend {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  line-height: 17px;
  color: var(--sc-fg);
}
.sc-nicu-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.sc-nicu-legend .sc-nicu-unit {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sc-muted);
}
.sc-nicu-row {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}
.sc-nicu-row.on {
  opacity: 1;
  transform: none;
}
.sc-nicu-row > b {
  flex: none;
  width: 18px;
  height: 13px;
  border-radius: 2px;
}
.sc-nicu-row.ctr {
  margin-top: 4px;
  font-weight: 600;
}
/* 모자의료센터가 아닌 신생아 중환자실(spec nicus, 2026-11-20): 반짝이지 않는 회색 점, 흰 테. 처음부터 보인다 */
.sc-nicu-pts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sc-nicu-pt {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #8f8b82;
  border: 1.2px solid #fff;
  pointer-events: auto;
}
.sc-nicu-pt.sc-nicu-pt-key {
  position: static;
  flex: none;
  margin: 0 5px 0 5px;
}
.sc-nicu-legend .sc-nicu-pt-row {
  margin-top: 4px;
  font-weight: 600;
}
.sc-nicu-legend .sc-nicu-pt-row + .sc-nicu-row.ctr {
  margin-top: 0;
}
.sc-nicu-br {
  display: none;
}
@media (max-width: 599px) {
  .sc-nicu-br {
    display: inline;
  }
}
/* 지도 밑 슬라이더(spec slider, 접근성 지도 2026-11-20 "심플하게"): 가는 막대와 구간 이름. 고른 구간까지 이름이 진하다 */
.sc-nicu-slider {
  margin: 14px auto 0;
  max-width: 520px;
  padding: 0 4px;
}
.sc-nicu-slider input {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
/* 막대 = 구간 색(--track, nicu-map.ts), 손잡이 = 검은 동그라미 흰 테 */
.sc-nicu-slider input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: var(--track);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.sc-nicu-slider input::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: var(--track);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.sc-nicu-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--sc-fg);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.sc-nicu-slider input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sc-fg);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.sc-nicu-ticks {
  position: relative;
  height: 16px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 16px;
  color: var(--sc-muted);
}
.sc-nicu-ticks span {
  position: absolute;
  top: 0;
  translate: -50% 0;
  white-space: nowrap;
}
.sc-nicu-ticks span.on {
  color: var(--sc-fg);
  font-weight: 600;
}
.sc-nicu-row.ctr > .sc-nicu-dot-key {
  margin: 0 3px;
}
/* 지도 위 한 줄 범례(legend null, 시군구별 신생아 사망률 2026-11-20). 칸이 차례로 나오는 것은 같다 */
.sc-nicu-legend.out {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 8px 0 0;
}
.sc-nicu-legend.out .sc-nicu-unit {
  margin: 0;
}
/* 섬을 당겨온 자리 옆 참조선(일점쇄선, admdongkor 섬 지역 당겨오기) */
.sc-nicu-lines .conn {
  stroke: #6f6b63;
  stroke-width: 1.2;
  stroke-dasharray: 7 3 1.5 3;
}
/* 지시선과 이름(3명 넘는 시군구): 마지막 구간과 함께 나타난다 */
g.sc-nicu-call {
  fill: #111;
  stroke: #111;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
g.sc-nicu-call polyline {
  fill: none;
  stroke-width: 1;
}
g.sc-nicu-call circle {
  stroke: #fff;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.sc-nicu-call-names {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.sc-nicu-call.on {
  opacity: 1;
}
.sc-nicu-call-names > span {
  position: absolute;
  translate: 0 -50%;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 14px;
  color: #111;
  text-shadow:
    0 0 2px #fff,
    0 0 2px #fff,
    0 0 4px #fff;
}
@media (min-width: 560px) {
  .sc-nicu-call-names > span {
    font-size: 13px;
    line-height: 16px;
  }
}
/* 이름 칸 폭을 맞춰 수치를 한 세로줄에(2026-11-20, --nw 는 nicu-map.ts 가 가장 긴 이름으로) */
.sc-nicu-call-names b {
  display: inline-block;
  min-width: var(--nw, 0);
  font-weight: inherit;
}
.sc-nicu-call-names i {
  margin-left: 0.35em;
  font-style: normal;
}
/* 지역 툴팁(spec hover, 시군구별 신생아 사망률 2026-11-20) */
.sc-nicu-tip {
  position: absolute;
  z-index: 3;
  max-width: 230px;
  padding: 6px 9px;
  background: rgba(18, 18, 18, 0.92);
  color: #f4f4f4;
  font-size: 12.5px;
  line-height: 1.45;
  pointer-events: none;
}
.sc-nicu-tip b {
  display: block;
  font-size: 13.5px;
}
.sc-nicu-tip span {
  display: block;
  word-break: keep-all;
}
.sc-nicu-row.ctr {
  white-space: normal;
  word-break: keep-all;
  max-width: 7.6em;
} /* 휴대폰에서 '모자의료센터 / 55곳' 두 줄: 한 줄이면 전남 서해안에 닿는다 */
@media (min-width: 560px) {
  .sc-nicu-legend {
    font-size: 15px;
    line-height: 20px;
    gap: 7px;
  }
  .sc-nicu-legend .sc-nicu-unit {
    font-size: 13.5px;
  }
  .sc-nicu-row > b {
    width: 22px;
    height: 15px;
  }
  .sc-nicu-row.ctr > .sc-nicu-dot-key {
    margin: 0 5px;
  }
  .sc-nicu-row.ctr {
    max-width: none;
  }
}
/* 모자의료센터(사용자 2026-11-20 "모자의료센터는 검은색. 번쩍이는 글로우는 붉은 계열"): 검은 점에 흰 테, 붉은 빛이 번진다 */
.sc-nicu-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #111;
  border: 1.5px solid #fff;
  box-sizing: content-box;
  animation: sc-nicu-twinkle var(--dur, 2.4s) ease-in-out var(--delay, 0s)
    infinite;
}
.sc-nicu-dot.g-b {
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
}
.sc-nicu-dot.g-a {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
}
/* 범례 점도 지도 위 점처럼 붉게 번쩍인다(사용자 2026-11-22 "모자의료센터 55곳 이 범례의 점도 붉게 점멸하는 점으로"). 박자는 기본 2.4초 */
.sc-nicu-dot-key {
  position: static;
  flex: none;
}
@keyframes sc-nicu-twinkle {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgb(224 38 27 / 0),
      0 0 0 0 rgb(255 90 60 / 0);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 0 3px rgb(224 38 27 / 0.45),
      0 0 12px 7px rgb(255 90 60 / 0.6);
    transform: scale(1.25);
  }
}
/* 모자의료센터 점의 반짝임은 '동작 줄이기'를 켜도 끄지 않는다(사용자 2026-11-22 "설정과 상관없이 늘 반짝이게", 아이폰에서 반짝임이 안 보인다는 보고) */
@media (prefers-reduced-motion: reduce) {
  .sc-nicu-layer,
  .sc-nicu-dots,
  .sc-nicu-row,
  .sc-nicu-call {
    transition: none;
  }
}
/* 읽은 만큼 차오르는 줄(story settings progress, 출산기획·비만기획 2026-11-20): 머리띠 바로 아래 2px, 중간 톤 따뜻한 회색 #8f8b82(사용자: 밝은 회색은 흰 바탕에서 안 보여 "안 튀는 색상" → 흰·검은 바탕 모두에서 보이는 중간 밝기). 위치(top)와 비율은 engine.ts */
.sc-progress {
  position: fixed;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #8f8b82;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
/* 기사 끝 테두리(사용자 2026-11-20 "이거 흰 줄 없애. 그냥 하얀색 1px만 남겨"): 마지막 그림의 아래 여백이 기사 밖으로 빠져(여백 겹침)
   페이지 바탕(연회색)이 푸터 위에 32px 띠로 보였다. 아래 테두리가 여백 겹침을 막아 그 여백이 기사 바탕 안에 든다.
   테두리는 투명(기사 바탕색이 비친다). 흰 줄 1px 은 튀어서 뺐다(사용자 같은 날 "푸터 위의 흰색이 너무 튀는데 그냥 없애자") */
.sc-root {
  border-bottom: 1px solid transparent;
}
/* 덮는 그림(cover)이 도착하기 전: 그 아래 펜화·영상 프레임을 숨긴다(media.ts cover-wait, 2026-11-20) */
.cover-wait .sc-video-pen, .cover-wait .sc-cam-base, .cover-wait > video { visibility: hidden; }

/* ---- HDS 글자 표 맞춤(사용자 2026-11-20 "비만과 출산 다 맞춰 봐", HDS 기반 PC/모바일 적용안. 분기 767px)
   본문 19px·행간 1.55·문단 사이 20/24 는 위 .sc-text p. 사진 캡션 15/13, 출처 13 */
@media (min-width: 768px) {
  .sc-text p,
  .sc-quote p {
    margin-bottom: 24px;
  }
}
/* 그림 위 글(image style textover, 출산기획 마지막 일러스트 2026-11-22): 그림은 상자 맨 위에 깔고, 글은 그 위 녹색 바탕에 흐른다.
   오른쪽 빈 칸 둘이 그림의 녹색이 아닌 곳을 막는다(정사각형 illust_city_m.webp 기준, cqw = 상자 폭의 %):
   f1 = 오른쪽 위 산모의 배(가로 70% 부터, 세로 66% 까지), f2 = 오른쪽 아래 아기와 이불(가로 37% 부터, 세로 66~100%).
   빈 칸이 그림 높이(100cqw)에서 끝나므로 넘치는 글은 그림 아래에서 폭 전체로 이어진다(바탕은 묶음 바탕 #141414, 흰 글) */
.sc-to-box {
  position: relative;
  container-type: inline-size;
}
.sc-to-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
.sc-to-text {
  position: relative;
  padding: 6cqw 6cqw 4px;
  color: #fff;
}
.sc-to-text .f1,
.sc-to-text .f2 {
  float: right;
  clear: right;
}
.sc-to-text .f1 {
  width: 27cqw;
  height: 60cqw;
}
.sc-to-text .f2 {
  width: 60cqw;
  height: 34cqw;
}
.sc-to-text p {
  margin: 0 0 20px;
  font-size: 19px;
  line-height: 1.55;
  word-break: keep-all;
}
.sc-image figcaption {
  font-size: 13px;
  line-height: 1.55;
}
.sc-image figcaption .sc-credit {
  font-size: 13px;
}
@media (min-width: 768px) {
  .sc-image figcaption {
    font-size: 15px;
  }
}
/* 그래프: 기사 설정 hdsCharts 가 켜진 기사만(출산기획). 비만기획 그래프는 건드리지 않는다(사용자 "비만 컨텐츠의 그래프는 절대 건드리지 마").
   spec-chart.ts fsFor 와 같은 숫자: 항목 이름·범례·값 = 차트 축·범례 13/15, 끝 수치 17/19(굵게), 짚어 보기 = 차트 설명·툴팁 15/17,
   그래프 제목 17/19(표에 없어 본문 크기 쪽으로). 눈금·단위·그래프 아래 설명은 덜 중요해 그대로 작게 */
.sc-hds-charts .sc-chart-title {
  font-size: 17px;
}
.sc-hds-charts .sc-chart-svg .sc-rowlab,
.sc-hds-charts .sc-chart-svg .sc-endlab,
.sc-hds-charts .sc-chart-svg .sc-val,
.sc-hds-charts .sc-chart-svg .sc-val.strong,
.sc-hds-charts .sc-legend {
  font-size: 13px;
}
.sc-hds-charts .sc-chart-svg .sc-val.sc-tail {
  font-size: 12px;
}
.sc-hds-charts .sc-chart-svg .sc-endval {
  font-size: 17px;
}
.sc-hds-charts .sc-tip,
.sc-hds-charts .sc-nicu-tip {
  font-size: 15px;
  line-height: 1.55;
}
.sc-hds-charts .sc-tip {
  width: max-content;
  min-width: 140px;
}
.sc-hds-charts .sc-nicu-tip {
  max-width: 300px;
}
@media (min-width: 768px) {
  .sc-hds-charts .sc-chart-title {
    font-size: 19px;
  }
  .sc-hds-charts .sc-chart-svg .sc-rowlab,
  .sc-hds-charts .sc-chart-svg .sc-endlab,
  .sc-hds-charts .sc-chart-svg .sc-val,
  .sc-hds-charts .sc-chart-svg .sc-val.strong,
  .sc-hds-charts .sc-legend {
    font-size: 15px;
  }
  .sc-hds-charts .sc-chart-svg .sc-endval {
    font-size: 19px;
  }
  .sc-hds-charts .sc-tip,
  .sc-hds-charts .sc-nicu-tip {
    font-size: 17px;
  }
}
