/* generator: claude-code / claude-fable-5-2 */
/* 개인화메시지MCP 리더 보고 덱 — 레이아웃과 타이포
   구성 방식은 톡렌즈 발표자료(광고데이터인사이트팀)를 따른다: 1600×900 고정 무대, 선언형 타임라인 재생. */

@font-face {
  font-family: Pretendard;
  src: url("font/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --brand: #4f46e5;
  --brand-deep: #3b32c9;
  --brand-soft: #eeecff;
  --ink-1: #12131a;
  --ink-2: #454956;
  --ink-3: #868b99;
  --line: #e6e8ef;
  --wash: #f4f5f9;
  --good: #1a9e5c;
  --good-soft: #e8f6ee;
  --warn: #c2410c;
  --warn-soft: #fff4e6;
  --stop: #d92d20;
  --talk-bg: #b2c7d9;
  --talk-yellow: #fee500;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --stage-w: 1600px;
  --stage-h: 900px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; height: 100%;
  background: #24252e;
  color: var(--ink-1);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
  word-break: keep-all;
}

h1, h2, h3, h4, p, dl, dd, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; }
img { display: block; }

/* ── 슬라이드 프레임 ────────────────────────────────────── */
#viewport { position: fixed; inset: 0; overflow: hidden; }
#rail { position: absolute; left: 0; top: 0; width: var(--stage-w); height: var(--stage-h); transform-origin: 0 0; }

.slide {
  position: absolute; inset: 0; background: #fff; border-radius: 4px;
  padding: 56px 76px 50px; display: none; flex-direction: column;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.slide.active { display: flex; }
.slide-no { position: absolute; right: 30px; bottom: 20px; font-size: 13px; color: var(--ink-3); }
.notes { display: none; }

/* ── 타이포 ─────────────────────────────────────────────── */
.eyebrow { font-size: 17px; font-weight: 700; color: var(--brand); letter-spacing: -0.01em; padding-bottom: 16px; }
.s-title { font-size: 54px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; }
.s-title.sm { font-size: 44px; }
.s-lede { font-size: 19px; color: var(--ink-2); margin-top: 14px; line-height: 1.55; max-width: 1180px; }
.s-head { margin-bottom: 26px; flex: none; }
.grow { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.stage-col { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.band {
  flex: none; margin-top: 22px; background: var(--brand); color: #fff; border-radius: 12px;
  padding: 20px 30px; font-size: 23px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.4;
}
.band em { font-style: normal; color: #ffe14d; }
.fine { flex: none; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin-top: 12px; }
.fine b { color: var(--ink-2); font-weight: 700; }

.pill {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
  background: var(--wash); color: var(--ink-2); vertical-align: middle; white-space: nowrap;
}
.pill.real { background: var(--good-soft); color: var(--good); }
.pill.est { background: var(--warn-soft); color: var(--warn); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }

/* 재생 단계에 따라 나타나는 요소 */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.rv.vis { opacity: 1; transform: none; }

/* ── 표지 / 구분 ────────────────────────────────────────── */
.slide.cover { justify-content: center; background: var(--ink-1); color: #fff; }
.slide.cover .s-title { font-size: 104px; }
.slide.cover .s-lede { color: #a7abba; font-size: 23px; line-height: 1.7; margin-top: 22px; max-width: none; }
.cover-rule { width: 92px; height: 5px; background: var(--brand); border-radius: 4px; margin-bottom: 34px; }
.slide.divider { justify-content: center; align-items: flex-start; background: var(--wash); }
.slide.divider .s-title { font-size: 92px; }
.divider-idx { font-size: 21px; font-weight: 800; color: var(--brand); margin-bottom: 14px; }

/* ── 카드 / 지표 ────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--wash); border-radius: 16px; padding: 28px 30px 30px; }
.card-k { font-size: 15px; font-weight: 800; color: var(--brand); }
.card-t { font-size: 29px; font-weight: 800; letter-spacing: -0.035em; margin-top: 10px; line-height: 1.25; }
.card-b { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-top: 14px; }
.card-b + .card-b { margin-top: 8px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { border-top: 3px solid var(--ink-1); padding-top: 16px; }
.stat-v { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-v small { font-size: 24px; font-weight: 800; margin-left: 4px; }
.stat-l { font-size: 16px; font-weight: 700; margin-top: 12px; }
.stat-s { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }

/* ── 표 ─────────────────────────────────────────────────── */
table.t { width: 100%; border-collapse: collapse; }
table.t th, table.t td { text-align: right; padding: 13px 14px; border-bottom: 1px solid var(--line); }
table.t th:first-child, table.t td:first-child, table.t .l { text-align: left; }
table.t thead th { font-size: 14px; font-weight: 700; color: var(--ink-3); border-bottom: 2px solid var(--ink-1); }
table.t td { font-size: 18px; line-height: 1.5; }
table.t td b { font-weight: 800; }
table.t tr.total td { border-top: 2px solid var(--ink-1); border-bottom: 0; font-weight: 800; background: var(--wash); }
table.t tr.on td { background: var(--brand-soft); }
table.t td.q { font-weight: 700; }
table.t td.a { color: var(--ink-2); }
.bar { display: inline-block; height: 10px; border-radius: 5px; background: var(--brand); vertical-align: middle; margin-right: 10px; min-width: 2px; }

/* ── 재생 표시줄 ────────────────────────────────────────── */
.capbar { flex: none; display: flex; align-items: center; gap: 18px; margin-top: 16px; padding-right: 40px; }
.cap-text { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-idx { font-size: 13px; color: var(--ink-3); flex: none; }
.prog { flex: none; width: 220px; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--brand); transition: width 0.4s ease; }
.replay {
  flex: none; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid var(--ink-1); background: #fff; color: var(--ink-1);
}
.replay:hover { background: var(--wash); }
.replay:focus-visible, .ov-item:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ══ 1장 · 시연 ═════════════════════════════════════════ */
.slide.demo1 { padding-top: 44px; padding-bottom: 40px; }
.slide.demo1 .s-head { margin-bottom: 18px; }
.slide.demo1 .eyebrow { padding-bottom: 10px; }
.demo-grid { flex: 1; min-height: 0; display: flex; gap: 46px; justify-content: center; align-items: stretch; }

.agent {
  flex: none; width: 730px; background: #14151d; color: #e9eaf2; border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 26px 50px -26px rgba(18, 19, 26, 0.6);
}
.agent-bar {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; color: #a7abba;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dots { display: flex; gap: 6px; margin-right: 4px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3c4a; }
.agent-name { font-weight: 700; color: #e9eaf2; }
.mcp-pill {
  margin-left: auto; font-size: 13px; font-weight: 700; color: #8ef0b6; background: rgba(53, 208, 127, 0.14);
  padding: 5px 12px; border-radius: 20px; display: flex; align-items: center; gap: 7px;
}
.mcp-pill::before { content: ""; width: 7px; height: 7px; background: #35d07f; border-radius: 50%; }
.clock {
  font-weight: 800; color: #fff; font-size: 15px; background: rgba(255, 255, 255, 0.09);
  padding: 5px 11px; border-radius: 8px; transition: background 0.3s ease;
}
.clock.tick { background: var(--brand); }
.agent-body { flex: 1; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 20px; }

.prompt { background: #22242f; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 13px 16px 14px; }
.prompt-who { font-size: 12.5px; font-weight: 800; color: #a5a0ff; margin-bottom: 6px; display: flex; gap: 8px; }
.prompt-who span { color: #7b7f90; font-weight: 600; }
.prompt-text { font-size: 20.5px; line-height: 1.55; font-weight: 600; min-height: 95px; letter-spacing: -0.02em; }
.prompt-text:empty::before { content: "요청을 입력하세요"; color: #5b5e6e; font-weight: 500; }
.prompt-text::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #a5a0ff; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.agent.typed .prompt-text::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.tl {
  display: flex; gap: 13px; align-items: center; font-size: 17.5px; line-height: 1.35; min-height: 30px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.45s var(--ease);
}
.tl.vis { opacity: 1; transform: none; }
.tl-ic { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #4b4e60; position: relative; }
.tl.run .tl-ic { border-color: #a5a0ff; border-top-color: transparent; animation: spin 0.7s linear infinite; }
.tl.ok .tl-ic { background: #35d07f; border-color: #35d07f; }
.tl.ok .tl-ic::after {
  content: ""; position: absolute; left: 5px; top: 1.5px; width: 4.5px; height: 9px;
  border: solid #10241a; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@keyframes spin { to { transform: rotate(360deg); } }
.tl-fn { flex: none; width: 168px; font-family: var(--mono); font-size: 14.5px; color: #a5a0ff; }
.tl-res { color: #b9bccb; opacity: 0; transition: opacity 0.3s ease; }
.tl.ok .tl-res { opacity: 1; }
.tl-res b { color: #fff; font-weight: 800; }

.picks { display: flex; gap: 16px; padding: 0 0 0 33px; margin-top: -8px; }
.pick-g { display: flex; align-items: center; gap: 5px; }
.pick-g > b { font-size: 12.5px; color: #8a8ea0; font-weight: 700; margin-right: 2px; width: 40px; line-height: 1.25; opacity: 0; transition: opacity 0.3s ease; }
.picks.vis .pick-g > b { opacity: 1; }
.pick {
  position: relative; width: 49px; height: 49px; border-radius: 9px; overflow: hidden; background: #2a2c38;
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s ease, transform 0.45s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.picks.vis .pick { opacity: 1; transform: none; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #a5a0ff; }
.pick.reco::after { background: #35d07f; }
.pick.pop::after { background: #ffb020; }
.legend { display: flex; gap: 16px; padding-left: 33px; margin-top: -10px; font-size: 12.5px; color: #8a8ea0; opacity: 0; transition: opacity 0.4s ease 0.4s; }
.picks.vis + .legend { opacity: 1; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: #a5a0ff; margin-right: 5px; }
.legend .reco i { background: #35d07f; }
.legend .pop i { background: #ffb020; }

.approve {
  margin-left: auto; font-size: 14px; font-weight: 800; padding: 5px 15px; border-radius: 8px; flex: none;
  border: 1.5px solid #5b5e6e; color: #c9ccd8; opacity: 0; transition: all 0.3s ease;
}
.approve.vis { opacity: 1; }
.approve.pressed { background: #35d07f; border-color: #35d07f; color: #10241a; transform: scale(0.96); }

.phones { flex: none; display: flex; gap: 26px; align-items: flex-start; position: relative; padding-top: 2px; }
.ph { width: 286px; transition: opacity 0.4s ease; }
.ph-label { font-size: 14.5px; font-weight: 800; text-align: center; margin-bottom: 10px; line-height: 1.35; letter-spacing: -0.02em; }
.ph-label small { display: block; font-weight: 600; color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.ph-label .sent { color: var(--brand); opacity: 0; transition: opacity 0.4s ease; }
.ph.got .ph-label .sent { opacity: 1; }
.phone {
  width: 286px; height: 532px; border-radius: 38px; background: #12131a; padding: 9px;
  box-shadow: 0 22px 44px -22px rgba(18, 19, 26, 0.55); transition: box-shadow 0.4s ease;
}
.ph.got .phone { box-shadow: 0 0 0 4px var(--brand-soft), 0 22px 44px -22px rgba(79, 70, 229, 0.55); }
.screen { width: 100%; height: 100%; border-radius: 29px; background: var(--talk-bg); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.kt-bar { flex: none; height: 46px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 0; font-size: 14.5px; font-weight: 700; }
.kt-bar span { font-size: 19px; font-weight: 400; margin-top: -2px; }
.kt-day { flex: none; align-self: center; font-size: 10.5px; background: rgba(0, 0, 0, 0.13); color: #fff; padding: 3px 11px; border-radius: 20px; margin: 4px 0 10px; }
.kt-row { display: flex; gap: 7px; padding-left: 10px; opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.6s var(--ease); }
.kt-row.vis { opacity: 1; transform: none; }
.kt-ava { flex: none; width: 32px; height: 32px; border-radius: 12px; background: var(--talk-yellow); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.kt-ava.adv, .push i.adv { background: var(--ink-1); color: #fff; }
.kt-main { min-width: 0; flex: 1; overflow: hidden; }
.kt-who { font-size: 11px; color: #3b4a57; margin-bottom: 4px; }
.kt-rail { display: flex; gap: 7px; width: max-content; transition: transform 4.6s cubic-bezier(0.45, 0, 0.3, 1); }
.kt-rail.pan { transform: translateX(-585px); }
.kt-time { font-size: 10px; color: #56636f; padding: 5px 0 0 49px; opacity: 0; transition: opacity 0.4s ease 0.3s; }
.kt-row.vis + .kt-time { opacity: 1; }
.kt-input { margin-top: auto; flex: none; height: 40px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: #b3b7c2; gap: 10px; }
.kt-input i { font-style: normal; font-size: 17px; color: #868b99; }

.bub { flex: none; width: 188px; background: #fff; border-radius: 12px; overflow: hidden; }
.bub > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bub .in { padding: 9px 10px 10px; }
.bub .ad { display: inline-block; font-size: 9px; color: #868b99; border: 1px solid #d5d8e0; border-radius: 3px; padding: 0 3px; line-height: 1.5; }
.bub h4 { font-size: 12.5px; font-weight: 800; margin: 5px 0 4px; line-height: 1.3; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bub .d { font-size: 10.5px; color: #454956; line-height: 1.45; height: 4.35em; overflow: hidden; white-space: pre-line; }
.bub .btns span { display: block; text-align: center; font-size: 10.5px; font-weight: 700; background: #f1f2f5; border-radius: 6px; padding: 6px 0; margin-top: 5px; }
.bub.prod h4 { margin-top: 0; }

.push {
  position: absolute; left: 8px; right: 8px; top: 8px; z-index: 5; background: rgba(28, 30, 38, 0.94); color: #fff;
  border-radius: 15px; padding: 9px 12px; display: flex; gap: 9px; align-items: center;
  transform: translateY(-140%); transition: transform 0.55s var(--ease);
}
.push.vis { transform: none; }
.push i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--talk-yellow); color: #12131a; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.push b { display: block; font-size: 11px; }
.push span { display: block; font-size: 11px; color: #c9ccd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }

.verdict {
  position: absolute; left: 50%; bottom: -6px; transform: translate(-50%, 14px); white-space: nowrap; z-index: 6;
  background: var(--ink-1); color: #fff; font-size: 16px; font-weight: 800; padding: 11px 20px; border-radius: 30px;
  opacity: 0; transition: opacity 0.4s ease, transform 0.55s var(--ease); letter-spacing: -0.02em;
  box-shadow: 0 14px 30px -12px rgba(18, 19, 26, 0.6);
}
.verdict em { font-style: normal; color: #ffe14d; }
.verdict.vis { opacity: 1; transform: translate(-50%, 0); }

/* 처음 열었을 때의 대기 화면 */
.idle-cover {
  position: absolute; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center;
  background: rgba(18, 19, 26, 0.72); border-radius: 4px; cursor: pointer; border: 0; color: #fff;
  flex-direction: column; gap: 16px;
}
.slide.is-idle .idle-cover { display: flex; }
.idle-cover b { font-size: 78px; font-weight: 800; letter-spacing: -0.05em; }
.idle-cover span { font-size: 22px; color: #c9ccd8; }
.idle-cover em {
  font-style: normal; margin-top: 18px; font-size: 19px; font-weight: 800; background: var(--brand); padding: 14px 30px; border-radius: 40px;
}

/* ══ 2·3장 · 기존 발송 경로 ═════════════════════════════ */
.route { display: flex; align-items: stretch; gap: 0; }
.rn {
  flex: 1; background: var(--wash); border-radius: 16px; padding: 22px 22px 24px; position: relative;
  border: 2px solid transparent; transition: opacity 0.5s ease, border-color 0.4s ease, background 0.4s ease, transform 0.6s var(--ease);
}
.rn-k { font-size: 14px; font-weight: 800; color: var(--brand); }
.rn-t { font-size: 25px; font-weight: 800; letter-spacing: -0.035em; margin-top: 8px; line-height: 1.25; }
.rn-s { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; }
.ra { flex: none; width: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; transition: opacity 0.5s ease; }
.ra-n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; display: grid; place-items: center; }
.ra-l { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.ra-line { width: 100%; height: 4px; border-radius: 4px; position: relative; overflow: hidden; background: var(--line); }
.ra-line::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--brand) 0 14px, transparent 14px 28px);
  animation: flow 0.9s linear infinite; opacity: 0; transition: opacity 0.4s ease;
}
.ra.vis .ra-line::after { opacity: 1; }
@keyframes flow { from { transform: translateX(-28px); } to { transform: translateX(0); } }
.route .rn.rv { transform: translateX(-18px); }
.route .rn.rv.vis { transform: none; }
.route .ra.rv { transform: none; }

/* 3장: 같은 경로에서 막히는 두 지점 */
/* 표식(✕)은 흐려지지 않도록 부모가 아니라 내용만 흐리게 한다 */
.rn.cut > div, .ra.cut > .ra-n, .ra.cut > .ra-l, .ra.cut > .ra-line { opacity: 0.32; transition: opacity 0.5s ease; }
.rn.cut { background: #fdf1f0; }
.ra.cut .ra-line::after { animation-play-state: paused; background: repeating-linear-gradient(90deg, var(--stop) 0 14px, transparent 14px 28px); }
.ra.cut .ra-n { background: var(--stop); }
.xmark {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  opacity: 0; transform: scale(2) rotate(-20deg); transition: opacity 0.25s ease, transform 0.45s var(--ease); pointer-events: none;
}
.xmark::before, .xmark::after { content: ""; position: absolute; left: 50%; top: 0; width: 9px; height: 100%; margin-left: -4.5px; border-radius: 5px; background: var(--stop); }
.xmark::before { transform: rotate(45deg); }
.xmark::after { transform: rotate(-45deg); }
.xmark.vis { opacity: 1; transform: none; }
.route.compact .rn { padding: 16px 20px 18px; }
.route.compact .rn-t { font-size: 21px; }
.route.compact .rn-s { font-size: 14.5px; margin-top: 6px; }
.xcap {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 7px; white-space: nowrap; z-index: 3;
  font-size: 13.5px; font-weight: 800; color: var(--stop); opacity: 0; transition: opacity 0.4s ease 0.2s;
}
.xmark.vis + .xcap { opacity: 1; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 38px; }
.why .card-b b { color: var(--ink-1); font-weight: 800; margin-right: 4px; }
.why .card-b.out { color: var(--stop); font-weight: 800; }
.why .card { border-top: 4px solid var(--stop); border-radius: 4px 4px 16px 16px; }
.why .card-k { color: var(--stop); }

/* ══ 4장 · 연결과 발송 사례 ═════════════════════════════ */
.connect {
  flex: none; display: flex; align-items: center; gap: 14px; background: #14151d; color: #e9eaf2; border-radius: 12px;
  padding: 13px 20px; font-family: var(--mono); font-size: 16px; position: relative; z-index: 2;
}
.connect .ps { color: #7b7f90; }
.connect .cmd { flex: 1; white-space: nowrap; overflow: hidden; }
.connect .cmd::after { content: ""; display: inline-block; width: 8px; height: 1em; background: #a5a0ff; margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.connect.done .cmd::after { display: none; }
.connect .ok {
  font-family: Pretendard, sans-serif; font-size: 14px; font-weight: 800; color: #8ef0b6; background: rgba(53, 208, 127, 0.14);
  padding: 5px 13px; border-radius: 20px; opacity: 0; transform: scale(0.8); transition: opacity 0.3s ease, transform 0.45s var(--ease);
}
.connect.done .ok { opacity: 1; transform: none; }
.wall { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px 14px; margin-top: 16px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 24px -16px rgba(18, 19, 26, 0.35);
  opacity: 0; transform: translate(var(--dx, 0), var(--dy, -200px)) rotate(var(--rot, 8deg)) scale(0.35);
  transition: opacity 0.25s ease, transform 0.75s var(--ease); transition-delay: calc(var(--i) * 85ms);
}
.wall.vis .tile { opacity: 1; transform: none; }
.tile-img { flex: 1; min-height: 0; position: relative; background: var(--wash); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; position: absolute; inset: 0; }
/* 와이드리스트 배너는 2:1 이라 문구가 있는 왼쪽을 남긴다 */
.tile.list .tile-img img { object-position: 0 50%; }
.tile-n { position: absolute; right: 8px; top: 8px; font-size: 11px; font-weight: 800; background: rgba(18, 19, 26, 0.78); color: #fff; padding: 3px 8px; border-radius: 20px; }
.tile-b { flex: none; padding: 10px 12px 11px; }
.tile-k { display: flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.tile-k i { font-style: normal; padding: 2px 7px; border-radius: 5px; background: var(--brand-soft); color: var(--brand); }
.tile-k i.buy { background: var(--good-soft); color: var(--good); }
.tile-k i.persona { background: var(--warn-soft); color: var(--warn); }
.tile-t { font-size: 15.5px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-s { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide.wall-slide { padding-top: 46px; padding-bottom: 38px; }
.slide.wall-slide .s-head { margin-bottom: 16px; }
.slide.wall-slide .eyebrow { padding-bottom: 10px; }
.tally { flex: none; display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 12px; font-size: 14px; color: var(--ink-2); align-items: baseline; padding-right: 40px; }
.tally b { font-size: 19px; font-weight: 800; color: var(--ink-1); margin-right: 3px; }
.tally-h { font-weight: 800; color: var(--brand); }
.tally > span { white-space: nowrap; }
.tally .fine { flex-basis: 100%; margin: 0; white-space: normal; }

/* ══ 5장 · 데이터와 아이디어 ════════════════════════════ */
.ideas-grid { display: grid; grid-template-columns: 318px 196px 1fr; align-items: center; gap: 0; }
.col-h { font-size: 13.5px; font-weight: 800; color: var(--ink-3); margin-bottom: 2px; }
.src-col { display: flex; flex-direction: column; gap: 14px; }
.src { background: var(--wash); border-radius: 16px; padding: 20px 22px; }
.src-k { font-size: 13.5px; font-weight: 800; color: var(--brand); }
.src-t { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; margin-top: 6px; }
.src-s { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-top: 8px; }
.hub { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hub-node {
  width: 118px; height: 118px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center;
  text-align: center; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; position: relative;
}
.hub-node::before, .hub-node::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.hub.vis .hub-node::before { animation: ring 2.2s ease-out infinite; }
.hub.vis .hub-node::after { animation: ring 2.2s ease-out 1.1s infinite; }
@keyframes ring { 0% { opacity: 0.5; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.32); } }
.hub-arrow { font-size: 22px; color: var(--ink-3); }
.idea-col { display: flex; flex-direction: column; gap: 10px; }
.idea {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 8px 14px 8px 16px; min-height: 62px;
  opacity: 0; transform: translateX(26px); transition: opacity 0.4s ease, transform 0.6s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.idea.vis { opacity: 1; transform: none; }
.idea.now { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.idea-k { flex: none; width: 62px; font-size: 13px; font-weight: 800; text-align: center; padding: 5px 0; border-radius: 7px; background: var(--brand-soft); color: var(--brand); }
.idea-k.crm { background: var(--good-soft); color: var(--good); }
.idea-k.seg { background: var(--warn-soft); color: var(--warn); }
.idea-q { flex: 1; min-width: 0; font-size: 18.5px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.idea-q::before { content: "“"; color: var(--ink-3); }
.idea-q::after { content: "”"; color: var(--ink-3); }
.idea-r { flex: none; display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity 0.4s ease; }
.idea.done .idea-r { opacity: 1; }
.idea-r img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.idea.blank { border-style: dashed; background: var(--wash); }
.idea.blank .idea-q { color: var(--ink-3); font-weight: 600; }
.idea.blank .idea-q::before, .idea.blank .idea-q::after { content: none; }
.idea.blank .idea-q i { display: inline-block; width: 2px; height: 1.05em; background: var(--brand); vertical-align: -3px; margin-left: 3px; animation: blink 1s steps(1) infinite; }
.idea.blank .idea-k { background: #fff; color: var(--ink-3); }

/* ══ 단계 표식 — 1단계는 브랜드색, 2단계는 먹색. 모든 장에서 같은 색을 쓴다 ══ */
.stage-badge {
  display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; padding: 4px 12px; border-radius: 7px;
  margin-right: 12px; color: #fff; background: var(--brand); vertical-align: 1px;
}
.stage-badge.s2 { background: var(--ink-1); color: #ffe14d; }
.stage-badge.sm { font-size: 13px; padding: 3px 10px; margin: 0 0 0 10px; vertical-align: 2px; }
.eyebrow.s2 { color: var(--ink-1); }
.band.s2 { background: var(--ink-1); }

.stage-badge.s25 { background: var(--good); color: #fff; }

/* 전체 구성 플로우차트 — 색이 곧 마일스톤이다 (M1 브랜드색, M2 먹색, M2.5 녹색) */
.arch-slide .s-head { margin-bottom: 20px; }
.arch { display: block; width: 100%; height: auto; overflow: visible; }
.arch .zone { fill: var(--wash); }
.arch .zone.eco { fill: #e4e7ef; }
.arch .zl { font-size: 13px; font-weight: 800; fill: var(--ink-3); }
.arch .zl.end { text-anchor: end; }
.arch .nd rect { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.arch .nd.data rect { fill: var(--brand-soft); }
.arch .nd.core rect { fill: var(--brand); }
.arch .nd.core .nt { fill: #fff; }
.arch .nd.core .ns { fill: #dcd9ff; }
.arch .nd.dash rect { stroke-dasharray: 6 5; }
.arch .nd.m2 rect { stroke: var(--ink-1); }
.arch .nd.m25 rect { stroke: var(--good); fill: var(--good-soft); }
.arch .nt { font-size: 18.5px; font-weight: 800; text-anchor: middle; fill: var(--ink-1); letter-spacing: -0.02em; }
.arch .ns { font-size: 13.5px; text-anchor: middle; fill: var(--ink-2); }
.arch .ar { fill: none; stroke: var(--brand); stroke-width: 2.2; }
.arch .ar.dash { stroke-dasharray: 6 5; }
.arch .ar.m2 { stroke: var(--ink-1); }
.arch .ar.m25 { stroke: var(--good); }
.arch .ar.loop { stroke-dasharray: 8 7; animation: dashmove 0.9s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -15; } }
.arch .al { font-size: 13.5px; font-weight: 700; fill: var(--ink-2); }
.arch .al.mid { text-anchor: middle; }
.arch .al.m25 { fill: var(--good); }
.arch .ah.m1 { fill: var(--brand); }
.arch .ah.m2 { fill: var(--ink-1); }
.arch .ah.m25 { fill: var(--good); }
.arch .tag rect { fill: var(--brand); }
.arch .tag.m2 rect { fill: var(--ink-1); }
.arch .tag.m25 rect { fill: var(--good); }
.arch .tag text { font-size: 11.5px; font-weight: 800; fill: #fff; text-anchor: middle; }
.arch .tag.m2 text { fill: #ffe14d; }
.archwrap .g1, .archwrap .g2, .archwrap .g25 { opacity: 0; transition: opacity 0.6s ease; }
.archwrap.on1 .g1, .archwrap.on2 .g2, .archwrap.on25 .g25 { opacity: 1; }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.mc { border-radius: 4px 4px 14px 14px; padding: 15px 20px 16px; background: var(--brand-soft); border-top: 4px solid var(--brand); }
.mc.m2 { background: #eef0f4; border-top-color: var(--ink-1); }
.mc.m25 { background: var(--good-soft); border-top-color: var(--good); }
.mc-h { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.mc-h .stage-badge { font-size: 13.5px; padding: 3px 10px; margin-right: 10px; vertical-align: 3px; }
.mc ul { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.mc li { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); padding-left: 13px; position: relative; }
.mc li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.mc li b { color: var(--ink-1); font-weight: 800; }

.stg { display: grid; grid-template-columns: 172px 1fr 1fr; column-gap: 16px; }
.stg.three { grid-template-columns: 138px 1fr 1fr 1fr; column-gap: 14px; }
.stg.three > div { font-size: 17px; padding: 11px 20px; min-height: 60px; }
.stg.three .lb { font-size: 14.5px; padding-left: 0; padding-right: 0; }
.stg.three .hd strong { font-size: 23px; }
.stg.three em { font-size: 18px; }
.stg .c3 { background: var(--good-soft); border-bottom: 1px solid #cfe9da; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.stg .hd.c3 { background: var(--good); }
.stg .c3.last { border-radius: 0 0 16px 16px; }
.stg.on25 .c3 { opacity: 1; transform: none; }
.stg > div { display: flex; align-items: center; padding: 12px 24px; min-height: 58px; font-size: 19px; line-height: 1.4; letter-spacing: -0.02em; }
.stg .lb { padding-left: 0; padding-right: 0; font-size: 15px; font-weight: 800; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.stg .c1 { background: var(--brand-soft); border-bottom: 1px solid #dcd9fb; }
.stg .c2 { background: #eef0f4; border-bottom: 1px solid #dfe2ea; }
.stg .hd { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 24px 20px; border-bottom: 0; border-radius: 16px 16px 0 0; color: #fff; }
.stg .hd.lb { border-bottom: 0; }
.stg .hd.c1 { background: var(--brand); }
.stg .hd.c2 { background: var(--ink-1); }
.stg .hd b { font-size: 15px; font-weight: 800; color: #ffe14d; }
.stg .hd strong { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; line-height: 1.2; }
.stg .last { border-bottom: 0; }
.stg .c1.last, .stg .c2.last { border-radius: 0 0 16px 16px; }
.stg em { font-style: normal; font-weight: 800; font-size: 21px; }
.stg small { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; letter-spacing: 0; }
.stg .c1, .stg .c2 { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.stg.on1 .c1, .stg.on2 .c2 { opacity: 1; transform: none; }

/* ══ 6장 · 결정 요청 ════════════════════════════════════ */
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dcard { background: var(--wash); border-radius: 16px; padding: 30px 34px 32px; border-top: 5px solid var(--brand); }
.dcard-n { font-size: 16px; font-weight: 800; color: var(--brand); }
.dcard.s2 { border-top-color: var(--ink-1); }
.dcard.s2 .dcard-n { color: var(--ink-1); }
.dcard-t { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; margin-top: 10px; line-height: 1.2; }
.dcard-b { font-size: 19px; color: var(--ink-2); line-height: 1.6; margin-top: 16px; }
.dcard-b b { color: var(--ink-1); font-weight: 800; }
.dterms { margin-top: 16px; display: flex; flex-direction: column; gap: 5px; }
.dterms > div { display: flex; gap: 14px; font-size: 16.5px; line-height: 1.5; }
.dterms dt { flex: none; width: 92px; font-weight: 800; color: var(--ink-3); }
.dterms dd { color: var(--ink-1); }
.dterms dd b { font-weight: 800; }
.road { flex: none; display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 16.5px; color: var(--ink-2); }
.road-h { font-size: 14px; font-weight: 800; color: var(--ink-3); margin-right: 4px; }
.road-i { display: flex; align-items: center; gap: 8px; }
.road-i b { color: var(--ink-1); font-weight: 800; }
.road-i i { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); }
.road-i i.d2 { background: var(--ink-1); }
.road-i i.d25 { background: var(--good); }
.road-a { color: var(--ink-3); }
.dcard-e { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dcard-e b { color: var(--ink-1); font-weight: 800; }

/* ══ 부록 · 구성 ════════════════════════════════════════ */
.arch { display: flex; align-items: stretch; gap: 0; }
.an { flex: 1; border-radius: 16px; padding: 20px 20px 22px; background: var(--wash); position: relative; }
.an.new { background: var(--brand); color: #fff; }
.an-tag { font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.an.new .an-tag { color: #ffe14d; }
.an-t { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; margin-top: 8px; line-height: 1.25; }
.an-s { font-size: 14.5px; line-height: 1.55; margin-top: 8px; color: var(--ink-2); }
.an.new .an-s { color: #dcd9ff; }
.aa { flex: none; width: 54px; display: grid; place-items: center; color: var(--ink-3); font-size: 22px; }
.arch-data { margin: 12px 0 0 calc((100% - 162px) / 4 + 54px); width: calc((100% - 162px) / 4); text-align: center; }
.arch-data .up { color: var(--ink-3); font-size: 20px; line-height: 1; margin-bottom: 8px; }
.arch-data .an { padding: 14px 16px; }
.pts { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.pts li { font-size: 19px; line-height: 1.5; padding-left: 20px; position: relative; }
.pts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pts li b { font-weight: 800; }

/* ── 발표자 메모 ────────────────────────────────────────── */
#notes {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(18, 19, 26, 0.96); color: #e9eaf2;
  padding: 20px 44px 24px; font-size: 20px; line-height: 1.7; transform: translateY(100%); transition: transform 0.35s var(--ease);
  max-height: 42vh; overflow: auto;
}
#notes.open { transform: none; }
#notes b { display: block; font-size: 13px; color: #a5a0ff; margin-bottom: 6px; }

/* ── 개요 ───────────────────────────────────────────────── */
#overview {
  position: fixed; inset: 0; z-index: 300; background: rgba(18, 19, 26, 0.96); padding: 40px; overflow: auto; display: none;
  grid-template-columns: repeat(4, 1fr); gap: 16px; align-content: start;
}
#overview.open { display: grid; }
.ov-item {
  aspect-ratio: 16 / 9; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; border: 2px solid transparent;
  transition: border-color 0.18s, transform 0.18s;
}
.ov-item:hover { border-color: var(--brand); transform: translateY(-3px); }
.ov-item.current { border-color: var(--brand); }
.ov-t { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.ov-n { font-size: 12px; color: var(--ink-3); }

#hint b { font-weight: 600; color: #8f93a3; }
#hint {
  position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 100; font-size: 12px; color: #6f7382;
  white-space: nowrap; pointer-events: none;
}

@page { size: 1600px 900px; margin: 0; }
@media print {
  html, body { background: #fff; height: auto; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  #viewport { position: static; overflow: visible; }
  #rail { position: static; transform: none !important; width: auto; height: auto; }
  .slide { position: relative; display: flex !important; width: var(--stage-w); height: var(--stage-h); page-break-after: always; box-shadow: none; border-radius: 0; }
  #overview, #notes, #hint, .idle-cover, .replay { display: none !important; }
  /* 전환 도중의 화면이 인쇄되지 않도록 모든 전환을 끈다 */
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}
