/* 냉전 체제 — 슬라이드 + 진영 나누기 게임 */
:root {
  --navy: #14233f;
  --navy-2: #1f3560;
  --blue: #2f62b0;
  --blue-soft: #dbe6f7;
  --red: #c2342c;
  --red-soft: #f6dcd9;
  --gold: #d69e2e;
  --gold-soft: #f7ebcf;
  --paper: #f4efe4;
  --paper-2: #e9e1cf;
  --ink: #1c1d21;
  --muted: #5d6470;
  --line: #cfc5ae;
  --ok: #2f8a4f;
  --head: 'Black Han Sans', 'Noto Sans KR', system-ui, sans-serif;
  --body: 'Noto Sans KR', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: #0d1626; color: var(--ink); font-family: var(--body); overflow: hidden; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- 16:9 무대 ---------- */
#stage {
  position: fixed; left: 50%; top: 50%; width: 1280px; height: 720px;
  transform-origin: center center; background: var(--paper); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.rot { display: none; }
@media (orientation: portrait) and (max-width: 820px) {
  body.slides .rot { display: block; position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; color: #c9d4e8; font-size: 14px; }
}

.top { position: absolute; left: 56px; right: 56px; top: 30px; display: flex; justify-content: space-between; align-items: center; z-index: 5; view-transition-name: topbar; }
.pill { font-size: 15px; font-weight: 700; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; view-transition-name: secpill; }
.pgno { font-size: 15px; color: var(--muted); font-weight: 700; view-transition-name: pgno; }
.nav { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 14px; z-index: 6; }
.nav button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 20px; font-weight: 900; }
.nav button:hover { background: var(--navy); color: #fff; }
.nav button:disabled { opacity: .3; cursor: default; background: #fff; color: var(--navy); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--red); width: 22px; border-radius: 6px; }
.tools { position: absolute; right: 24px; bottom: 26px; display: flex; gap: 8px; z-index: 6; }
.tools button { border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--muted); }

.slide { position: absolute; inset: 0; padding: 92px 72px 90px; view-transition-name: slide; }
.slide h1 { font-family: var(--head); font-weight: 400; font-size: 54px; line-height: 1.15; margin: 0 0 22px; color: var(--navy); view-transition-name: stitle; }
.slide h1 small { display: block; font-family: var(--body); font-weight: 700; font-size: 20px; color: var(--red); margin-bottom: 8px; letter-spacing: .02em; }
.slide p, .slide li { font-size: 24px; line-height: 1.6; }
.lead { font-size: 26px !important; color: #2b2f36; }
.em-b { color: var(--blue); font-weight: 900; }
.em-r { color: var(--red); font-weight: 900; }
.em-g { color: #a8731a; font-weight: 900; }
.box { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.row { display: flex; gap: 24px; }
.col { flex: 1; min-width: 0; }
.tag { display: inline-block; font-size: 16px; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: var(--paper-2); color: var(--muted); }
.note { font-size: 17px !important; color: var(--muted); }

/* 표지 */
.cover { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.cover .half { position: relative; }
.cover .west { background: linear-gradient(160deg, #2f62b0, #14233f); }
.cover .east { background: linear-gradient(200deg, #c2342c, #5a1410); }
.cover .curtain { position: absolute; left: 50%; top: 0; bottom: 0; width: 26px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, #2a2a2a 0 18px, #555 18px 22px); box-shadow: 0 0 30px rgba(0, 0, 0, .6); }
.cover .title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.cover .kicker { font-size: 20px; font-weight: 700; letter-spacing: .2em; opacity: .85; }
.cover h1 { color: #fff; font-size: 128px; margin: 10px 0 6px; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.cover .sub { font-size: 30px; font-weight: 700; background: rgba(0, 0, 0, .35); padding: 8px 22px; border-radius: 10px; }
.cover .who { position: absolute; bottom: 40px; width: 100%; text-align: center; color: rgba(255, 255, 255, .8); font-size: 18px; }
.cover .flag { position: absolute; top: 50px; font-size: 24px; font-weight: 900; color: rgba(255, 255, 255, .9); }
.cover .west .flag { left: 60px; }
.cover .east .flag { right: 60px; }

/* 학습 목표 */
.goals { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 18px; }
.goals li { display: flex; gap: 20px; align-items: center; background: #fff; border-left: 10px solid var(--navy); border-radius: 12px; padding: 18px 24px; font-size: 27px; }
.goals b { font-family: var(--head); font-weight: 400; font-size: 40px; color: var(--red); width: 44px; }

/* 정의 */
.define { font-size: 32px !important; line-height: 1.55 !important; background: var(--navy); color: #fff; border-radius: 18px; padding: 28px 34px; margin: 0 0 24px; }
.define b { color: #ffd479; }
.thermo { display: flex; gap: 22px; }
.thermo .box { flex: 1; text-align: center; }
.thermo .big { font-family: var(--head); font-size: 44px; }
.thermo .cold .big { color: var(--blue); }
.thermo .hot .big { color: var(--red); }

/* 두 진영 비교 표 */
.vs { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 23px; }
.vs th { font-family: var(--head); font-weight: 400; font-size: 30px; padding: 10px; color: #fff; }
.vs th.w { background: var(--blue); border-radius: 12px 12px 0 0; }
.vs th.e { background: var(--red); border-radius: 12px 12px 0 0; }
.vs td { background: #fff; padding: 12px 18px; text-align: center; }
.vs td.k { background: transparent; font-weight: 900; color: var(--muted); width: 150px; text-align: right; }

/* 철의 장막 */
.curtain-map { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr; gap: 0; height: 330px; margin-top: 8px; }
.curtain-map .side { border-radius: 18px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.curtain-map .w { background: var(--blue-soft); }
.curtain-map .e { background: var(--red-soft); }
.curtain-map h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 30px; }
.curtain-map .w h3 { color: var(--blue); }
.curtain-map .e h3 { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 20px; font-weight: 700; }
.iron { display: flex; align-items: center; justify-content: center; }
.iron div { width: 18px; height: 100%; background: repeating-linear-gradient(180deg, #333 0 14px, #777 14px 18px); border-radius: 4px; }
.iron span { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); font-weight: 900; font-size: 18px; background: #333; color: #fff; padding: 3px 12px; border-radius: 6px; white-space: nowrap; }
.quote { font-size: 22px !important; border-left: 6px solid var(--gold); padding: 6px 0 6px 18px; margin: 18px 0 0; color: #3b3f46; }

/* 연표 */
.tl { position: relative; display: grid; gap: 14px; margin-top: 4px; }
.tl.h { grid-auto-flow: column; grid-auto-columns: 1fr; padding-top: 56px; }
.tl.h::before { content: ''; position: absolute; left: 0; right: 0; top: 30px; height: 6px; background: var(--navy); border-radius: 3px; }
.ev { position: relative; background: #fff; border-radius: 14px; padding: 14px 16px; border-top: 8px solid var(--navy); }
.tl.h .ev::before { content: ''; position: absolute; top: -40px; left: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 5px solid var(--navy); }
.ev .y { font-family: var(--head); font-size: 28px; color: var(--navy); }
.ev .n { font-size: 22px; font-weight: 900; margin: 2px 0 4px; }
.ev .d { font-size: 17px; line-height: 1.5; color: #444; }
.ev.w { border-top-color: var(--blue); } .ev.w .y { color: var(--blue); }
.ev.e { border-top-color: var(--red); } .ev.e .y { color: var(--red); }
.ev.g { border-top-color: var(--gold); } .ev.g .y { color: #a8731a; }
.legend { display: flex; gap: 18px; font-size: 17px; color: var(--muted); margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* 베를린 그림 */
.berlin svg { width: 100%; height: auto; display: block; }

/* 확인 퀴즈 */
.qz { display: grid; gap: 14px; }
.qz .q { font-size: 28px; font-weight: 900; margin: 0 0 4px; }
.qz .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qz button { text-align: left; font-size: 23px; padding: 14px 18px; border-radius: 12px; border: 2px solid var(--line); background: #fff; }
.qz button:hover { border-color: var(--navy); }
.qz button.right { background: #e2f3e7; border-color: var(--ok); }
.qz button.wrong { background: var(--red-soft); border-color: var(--red); }
.qz .why { font-size: 19px; color: var(--muted); min-height: 30px; }

/* 쿠바 */
.cuba { display: grid; grid-template-columns: 470px 1fr; gap: 30px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: 21px; line-height: 1.5; }
.steps li b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 18px; }

/* 게임 안내 슬라이드 */
.gameslide { padding: 86px 56px 84px; }
.gameslide .gwrap { position: absolute; left: 56px; right: 56px; top: 82px; bottom: 84px; }
.launch { display: grid; grid-template-columns: 1fr 330px; gap: 30px; height: 100%; }
.launch .rules { display: flex; flex-direction: column; gap: 14px; }
.qrbox { background: #fff; border-radius: 18px; border: 2px solid var(--line); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qrbox #qr { width: 230px; height: 230px; display: grid; place-items: center; font-size: 15px; color: var(--muted); }
.qrbox #qr img, .qrbox #qr canvas { width: 230px !important; height: 230px !important; }
.qrbox .url { font-size: 13px; color: var(--muted); word-break: break-all; }
.bigbtn { font-family: var(--head); font-size: 30px; padding: 14px 30px; border: none; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 6px 0 #7e1d17; }
.bigbtn:active { transform: translateY(4px); box-shadow: 0 2px 0 #7e1d17; }
.binsample { display: flex; gap: 12px; }
.binsample div { flex: 1; border-radius: 12px; padding: 12px; color: #fff; font-weight: 900; font-size: 20px; text-align: center; }

/* 끝 슬라이드 */
.sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.sum .box h3 { margin: 0 0 6px; font-family: var(--head); font-weight: 400; font-size: 28px; color: var(--navy); }
.sum .box p { font-size: 20px; margin: 0; }
.think { background: var(--navy); color: #fff; border-radius: 18px; padding: 22px 28px; }
.think h3 { margin: 0 0 8px; color: #ffd479; font-size: 24px; }
.think p { margin: 0; font-size: 23px; }

/* ===================== 진영 나누기 게임 ===================== */
.cg { position: relative; width: 100%; height: 100%; container-type: size; font-family: var(--body); color: var(--ink); }
.cg-screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
.cg-hud { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 10px; font-weight: 900; }
.cg-hud .t { font-family: var(--head); font-size: 34px; color: var(--navy); min-width: 90px; }
.cg-hud .t.low { color: var(--red); }
.cg-hud .s { font-size: 22px; }
.cg-hud .c { font-size: 18px; color: #a8731a; min-width: 90px; text-align: right; }
.cg-bar { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; margin: 0 4px 10px; }
.cg-bar i { display: block; height: 100%; background: var(--navy); transition: width .25s linear; }
.cg-table { flex: 1; position: relative; display: grid; place-items: center; min-height: 0; }
.cg-card { width: min(520px, 88%); background: #fffdf8; border: 3px solid var(--navy); border-radius: 20px; padding: 22px 26px; text-align: center; box-shadow: 0 12px 0 var(--paper-2), 0 18px 40px rgba(0, 0, 0, .15); transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .32s; }
.cg-card .kind { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.cg-card .name { font-family: var(--head); font-size: 46px; line-height: 1.2; color: var(--navy); margin: 6px 0; word-break: keep-all; }
.cg-card .hint { font-size: 19px; color: #444; line-height: 1.5; word-break: keep-all; }
.cg-card.fly-0 { transform: translate(-60%, 70%) scale(.4) rotate(-14deg); opacity: 0; }
.cg-card.fly-1 { transform: translate(0, 80%) scale(.4); opacity: 0; }
.cg-card.fly-2 { transform: translate(60%, 70%) scale(.4) rotate(14deg); opacity: 0; }
.cg-card.enter { transform: translateY(-30px) scale(.96); opacity: 0; transition: none; }
.cg-card.shake { animation: cgshake .4s; border-color: var(--red); }
@keyframes cgshake { 20%, 60% { transform: translateX(-12px); } 40%, 80% { transform: translateX(12px); } }
.cg-fb { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: min(620px, 94%); text-align: center; font-size: 18px; line-height: 1.45; padding: 10px 16px; border-radius: 12px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.cg-fb.show { opacity: 1; }
.cg-fb.ok { background: #e2f3e7; color: #1d5b33; }
.cg-fb.no { background: var(--red-soft); color: #7e1d17; }
.cg-bins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 12px; }
.cg-bin { border: none; border-radius: 16px; padding: 14px 10px; color: #fff; text-align: center; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); transition: transform .1s; }
.cg-bin:active, .cg-bin.hit { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.cg-bin b { display: block; font-family: var(--head); font-weight: 400; font-size: 28px; }
.cg-bin span { font-size: 15px; opacity: .9; }
.cg-bin kbd { display: inline-block; margin-top: 6px; font: 700 13px var(--body); background: rgba(255, 255, 255, .22); border-radius: 4px; padding: 1px 7px; }
.bin-w { background: var(--blue); }
.bin-e { background: var(--red); }
.bin-g { background: #b8821f; }
.cg-start, .cg-end { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.cg-start h2, .cg-end h2 { font-family: var(--head); font-weight: 400; font-size: 52px; color: var(--navy); margin: 0; }
.cg-start p { font-size: 21px; margin: 0; line-height: 1.6; }
.cg-end .score { font-family: var(--head); font-size: 84px; color: var(--red); line-height: 1; }
.cg-end .stat { font-size: 20px; color: var(--muted); }
.cg-end .rank { font-size: 24px; font-weight: 900; }
.cg-review { width: min(760px, 100%); max-height: 46%; overflow: auto; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 16px; }
.cg-review h3 { margin: 4px 0 8px; font-size: 18px; }
.cg-review p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.cg-review .tg { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; border-radius: 4px; padding: 0 6px; margin-right: 6px; }
.cg-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cg-btn { font-family: var(--head); font-size: 26px; padding: 10px 26px; border: none; border-radius: 12px; background: var(--red); color: #fff; box-shadow: 0 5px 0 #7e1d17; }
.cg-btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.cg-level { display: flex; gap: 8px; justify-content: center; }
.cg-level button { font-size: 17px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); }
.cg-level button.on { background: var(--navy); color: #fff; }

/* 좁은 화면(학생 휴대폰) */
@container (max-width: 560px) {
  .cg-card { padding: 16px 16px; }
  .cg-card .name { font-size: 32px; }
  .cg-card .hint { font-size: 16px; }
  .cg-bin b { font-size: 20px; }
  .cg-bin span { display: none; }
  .cg-bin kbd { display: none; }
  .cg-start h2, .cg-end h2 { font-size: 34px; }
  .cg-start p { font-size: 17px; }
  .cg-end .score { font-size: 60px; }
  .cg-fb { font-size: 15px; }
  .cg-hud .t { font-size: 26px; }
}

/* 학생용 게임 화면 (#game) */
body.solo { background: var(--paper); overflow: auto; }
body.solo #stage { display: none; }
#solo { display: none; }
body.solo #solo { display: block; position: fixed; inset: 0; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
body.solo #solo .cg { max-width: 900px; margin: 0 auto; }

/* 화면 전환 */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .cg-card { transition: none; }
}

/* ===== PPT 흐름에 맞춘 사진 슬라이드 ===== */
.slide h1 { font-size: 46px; margin-bottom: 18px; }
.slide h1 small { font-size: 18px; margin-bottom: 6px; }
.split { display: flex; gap: 26px; height: 424px; }
.split > .figs { flex: 1.45; min-width: 0; }
.split > .pts { flex: 1; min-width: 0; }
.figs { display: grid; gap: 14px; height: 424px; }
.figs.n2 { grid-template-columns: 1fr 1fr; }
.figs.n3 { grid-template-columns: 1fr 1fr 1fr; }
.figs.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.fig { margin: 0; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.fig .ph { flex: 1; min-height: 0; background: #fff; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 6px; }
.fig .ph img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.fig figcaption { font-size: 15px; color: var(--muted); text-align: center; padding-top: 6px; line-height: 1.35; }
.pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.pts li { background: #fff; border-left: 8px solid var(--navy); border-radius: 10px; padding: 12px 16px; font-size: 21px; line-height: 1.5; }
.pts li.w { border-left-color: var(--blue); }
.pts li.e { border-left-color: var(--red); }
.pts li.g { border-left-color: var(--gold); }
.pts li.ask { background: var(--navy); color: #fff; border-left-color: var(--gold); }
.pts li.ask b { color: #ffd479; }
.callout { position: absolute; background: var(--gold); color: #1c1d21; font-weight: 900; font-size: 20px; padding: 8px 16px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.callout::after { content: ''; position: absolute; left: 30px; bottom: -12px; border: 7px solid transparent; border-top-color: var(--gold); border-left-color: var(--gold); }
.relpos { position: relative; }

/* 구역 나눔 슬라이드 */
.divider { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 110px; background: var(--navy); color: #fff; }
.divider .no { font-family: var(--head); font-size: 140px; line-height: 1; color: rgba(255, 255, 255, .14); }
.divider h1 { color: #fff; font-size: 84px; margin: -30px 0 14px; view-transition-name: none; }
.divider p { font-size: 26px; color: #c9d4e8; margin: 0; max-width: 900px; }
.divider.hot { background: linear-gradient(120deg, #5a1410, #c2342c); }
.divider.third { background: linear-gradient(120deg, #6b4a0c, #b8821f); }

/* 표지 그림 */
.cover .art { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); width: 300px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.cover .art img { width: 100%; display: block; border-radius: 8px; }
.cover .title { justify-content: flex-start; padding-top: 70px; }
.cover h1 { font-size: 112px; }

/* 연설문 */
.speech { font-size: 21px !important; line-height: 1.75 !important; background: #fff; border-radius: 14px; padding: 20px 24px; border: 2px solid var(--line); margin: 0; }
.speech mark { padding: 1px 4px; border-radius: 4px; }
.speech mark.w { background: var(--blue-soft); color: #1b3f78; font-weight: 700; }
.speech mark.e { background: var(--red-soft); color: #7e1d17; font-weight: 700; }
.labels { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.labels span { color: #fff; font-weight: 900; font-size: 19px; padding: 6px 14px; border-radius: 8px; }

/* 세 세계 그림 */
.worlds { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 26px 120px; width: 820px; height: 380px; margin: 10px auto 0; position: relative; }
.worlds div { border-radius: 18px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 22px; line-height: 1.5; }
.worlds b { font-family: var(--head); font-weight: 400; font-size: 34px; }
.worlds .one { grid-column: 1 / 3; justify-self: center; width: 380px; background: var(--blue); }
.worlds .two { background: var(--red); }
.worlds .three { background: #8a9a2e; }
.worlds .vs-ar { position: absolute; font-size: 40px; color: var(--muted); }

/* 원칙 목록 */
.prin { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.prin li { break-inside: avoid; background: #fff; border-radius: 10px; padding: 9px 14px; margin-bottom: 9px; font-size: 19px; display: flex; gap: 10px; }
.prin li b { color: #a8731a; font-family: var(--head); font-weight: 400; font-size: 22px; width: 28px; flex: none; }
/* 확인 퀴즈 두 문제가 한 화면에 들어가게 */
.qz { gap: 8px; }
.qz .q { font-size: 24px; }
.qz button { font-size: 20px; padding: 10px 16px; }
.qz .opts { gap: 8px; }
.qz .why { font-size: 17px; min-height: 24px; margin: 0; }

/* 직접 그린 도표 */
.fig .ph.dg { padding: 16px; flex-direction: column; }
.fig .ph.dg svg { width: 100%; height: 100%; display: block; }
.flow { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.flow .src { color: #fff; font-family: var(--head); font-size: 30px; padding: 10px 24px; border-radius: 12px; text-align: center; }
.flow .src small { display: block; font-family: var(--body); font-size: 15px; font-weight: 700; opacity: .9; }
.flow .src.w { background: var(--blue); }
.flow .src.e { background: var(--red); }
.flow .arr { font-size: 20px; font-weight: 900; color: var(--blue); }
.flow .chips { justify-content: center; }
.flow .chips span { background: var(--blue-soft); }
.yrs { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.yr { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: 10px; padding: 7px 14px; font-size: 19px; }
.yr b { font-family: var(--head); font-weight: 400; font-size: 24px; color: #a8731a; width: 64px; flex: none; }
.yr.big { background: var(--gold-soft); border: 2px solid var(--gold); }
.yrs { gap: 5px; }
.yr { padding: 5px 12px; font-size: 17px; }
.yr b { font-size: 21px; width: 56px; }
