/* 반죽이의 협동조합 3교시 — 디자인 (cooplaunch 디자인을 바탕으로 함, 칠판 초록 + 공책 크림 + 쿠키 갈색 + 버터 노랑) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; color: #1B1F1C; background: #FBF1E3; background-image: linear-gradient(180deg, #2F5A46 0, #2F5A46 220px, #FBF1E3 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.cb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 14px 20px; }
.cb-top .home { flex: none; font-size: 14px; font-weight: 700; color: #FFF3C4; text-decoration: none; }
.cb-top .logo { flex: 1 1 auto; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 900; color: #FFFDF5; text-decoration: none; }
.cb-top .logo span { color: #FFC857; }
/* 🔊 BGM 버튼 (공통 cookie_story.jsp 의 .hcst-tg 를 짙은 헤더에 맞춤) */
.cb-bgm { flex: none; display: inline-flex; }
.cb-top .hcst-tg { min-height: 32px; padding: 0 11px; border-color: rgba(232, 201, 142, .55); background: rgba(255, 255, 255, .1); color: #FFFDF5; font-size: 12px; white-space: nowrap; }
.cb-top .hcst-tg:hover { background: rgba(255, 255, 255, .18); }
.cb-top .hcst-tg:focus-visible { outline: 2px solid #FFC857; outline-offset: 2px; }
.cb-main { max-width: 680px; margin: 0 auto 48px; padding: 0 16px; }
.cb-main > section { background: #FFFDF8; border-radius: 28px; padding: 34px 26px; box-shadow: 0 10px 30px rgba(107,62,38,.14); }
.cb-foot { text-align: center; padding: 0 16px 36px; font-size: 13px; color: #6E7A62; }
.cb-foot b { color: #6B3E26; }

.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #E6CFAE; background: #fff; color: #2B3B52; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, border-color .15s; }
.cb-btn:hover { border-color: #C98B4F; }
.cb-btn:active { transform: scale(.98); }
.cb-btn:disabled { opacity: .6; cursor: default; }
.cb-btn.pri { background: #6B3E26; border-color: #6B3E26; color: #fff; }
.cb-btn.pri:hover { background: #4E2C1A; border-color: #4E2C1A; }
.cb-btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.cb-btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.cb-btn.danger { color: #B91C1C; border-color: #FCA5A5; }
.cb-btn.danger:hover { background: #FEF2F2; border-color: #DC2626; }
.cb-btn:focus-visible, .cb-opt:focus-visible, .cb-input:focus-visible { outline: 3px solid #D9B77A; outline-offset: 2px; }
.cb-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.cb-muted { color: #66705C; font-size: 14px; line-height: 1.6; }
.cb-muted.center { text-align: center; }
.cb-toast { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: #166534; }
.cb-eye { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #C98B4F; }

/* 시리즈 띠 · 역사 배지 */
.cb-series { display: inline-block; margin: 0; padding: 7px 16px; border-radius: 999px; background: #FFF1B8; border: 1.5px dashed #C98B4F; color: #2B3B2A; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.cb-series.sm { margin-bottom: 10px; font-size: 12px; padding: 5px 12px; }
.cb-badge { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 10px; margin: 14px auto 0; padding: 8px 18px 8px 8px; border-radius: 999px; background: linear-gradient(135deg, #FFF6D6, #FFF3C4); border: 2px solid #D9B183; box-shadow: 0 6px 16px rgba(43,59,42,.15); text-align: left; }
.cb-badge svg { width: 50px; height: 50px; flex: none; }
.cb-badge .tx b { display: block; font-size: 16px; font-weight: 900; color: #6B3E26; line-height: 1.3; }
.cb-badge .tx small { display: block; font-size: 13px; font-weight: 700; color: #2F7A5B; }
.cb-badge.big svg { width: 62px; height: 62px; animation: cbSway 3.2s ease-in-out infinite; }
.cb-badge.big .tx b { font-size: 18px; }
.cb-badge.sm { margin: 0 auto 12px; padding: 5px 14px 5px 5px; }
.cb-badge.sm svg { width: 34px; height: 34px; }
.cb-badge.sm .tx b { font-size: 14px; } .cb-badge.sm .tx small { font-size: 11px; }
@keyframes cbSway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) scale(1.04); } }

/* 시작 */
.cb-start { text-align: center; }
.cb-logo { margin: 14px 0 0; font-size: 34px; font-weight: 900; line-height: 1.25; letter-spacing: -.02em; color: #1B1F1C; }
.cb-logo span { color: #6B3E26; font-size: 40px; }
.cb-logo small { display: block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #C98B4F; }
.cb-ask { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #33452F; }
.cb-ask b { font-size: 21px; color: #1B1F1C; }
.cb-claim { margin: 14px auto 0; max-width: 480px; padding: 10px 14px; border-radius: 14px; background: #FFF6D6; border: 1px dashed #C98B4F; font-size: 14px; font-weight: 700; line-height: 1.6; color: #33452F; }
.cb-theory { margin: 18px 0 0; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #EEF2F7, #FFF6D6); border: 1.5px solid #B8C4D4; }
.cb-theory b { display: block; font-size: 15px; font-weight: 800; line-height: 1.55; color: #2B3B52; }
.cb-theory b i { font-style: normal; margin-right: 4px; }
.cb-theory b span { color: #6B3E26; }
.cb-theory small { display: block; margin-top: 6px; font-size: 13px; color: #66705C; }
.cb-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; text-align: left; }
.cb-mode { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border-radius: 20px; border: 1.5px solid #F0DFC6; background: #FFF9F0; }
.cb-mode.tog { background: #EEF2F7; border-color: #B8C4D4; }
.cb-mode .t { font-size: 18px; font-weight: 900; }
.cb-mode p { margin: 0; font-size: 14px; line-height: 1.6; color: #4A4A44; }
.cb-mode .cb-btn { margin-top: auto; width: 100%; }
.cb-price { display: inline-block; margin: 0; padding: 6px 10px; border-radius: 10px; background: #FFF6D6; color: #2F7A5B !important; font-size: 12px !important; font-weight: 700; line-height: 1.5; }
.cb-price.big { display: block; margin: 12px 0 0; font-size: 14px !important; text-align: center; }
.cb-gbanner { margin-top: 22px; padding: 20px; border-radius: 20px; background: #EEF2F7; border: 1.5px solid #B8C4D4; font-size: 16px; line-height: 1.6; }
.cb-gbanner span { display: block; font-size: 13px; font-weight: 800; color: #6B3E26; margin-bottom: 4px; }
.cb-gbanner p { margin: 6px 0 14px; font-size: 14px; color: #4A4A44; }
.cb-gbanner.closed { background: #F1F5F9; border-color: #CBD5E1; }
.cb-note { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: #9C9384; }

/* 소개 */
.cb-start-ab, .cb-about { margin-top: 20px; border-radius: 18px; border: 1.5px solid #F0DFC6; background: #FFF9F0; text-align: left; }
.cb-start-ab summary, .cb-about summary { list-style: none; position: relative; display: block; padding: 16px 48px 16px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: #2B3B52; }
.cb-start-ab summary::-webkit-details-marker, .cb-about summary::-webkit-details-marker { display: none; }
.cb-start-ab summary span { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: #66705C; }
.cb-start-ab summary::after, .cb-about summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid #C98B4F; border-bottom: 2.5px solid #C98B4F; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.cb-start-ab[open] summary::after, .cb-about[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.cb-start-ab[open] summary, .cb-about[open] summary { border-bottom: 1px solid #F0DFC6; }
.cb-start-ab > :not(summary), .cb-about > :not(summary) { margin-left: 22px !important; margin-right: 22px !important; }
.cb-start-ab > :last-child, .cb-about > :last-child { margin-bottom: 18px; }
.cb-start-ab p, .cb-about p { font-size: 15px; line-height: 1.85; color: #374151; margin: 14px 0 0; overflow-wrap: break-word; }
.cb-ab-lead { padding: 12px 14px; border-radius: 12px; background: #EEF2F7; font-weight: 800; color: #6B3E26 !important; margin-top: 16px !important; }
.cb-start-ab h3, .cb-about h3 { margin: 26px 0 12px; font-size: 17px; font-weight: 800; }
.cb-ab-sub { font-size: 14px !important; color: #5E6A55 !important; }
.cb-how, .cb-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cb-how li { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: #FFF6D6; border: 1px solid #DDE9C4; }
.cb-how i { font-style: normal; font-size: 22px; }
.cb-how b { color: #33452F; font-size: 15px; }
.cb-how span, .cb-uses span { font-size: 14px; line-height: 1.6; }
.cb-uses li { padding: 12px; border-radius: 12px; background: #EEF2F7; display: flex; flex-direction: column; gap: 4px; }
.cb-uses b { color: #6B3E26; font-size: 15px; }
.cb-caution { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #FFF6D6; border: 1px solid #DDE9C4; }
.cb-caution b { color: #2F7A5B; }
.cb-caution ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #33452F; }
.cb-start-ab.cb-must { margin: 20px 0 0; border: 2px solid #6B3E26; background: #F4F6FA; box-shadow: 0 6px 16px rgba(107,62,38,.12); }
.cb-must > summary { text-align: center; padding: 16px 44px; }
.cb-must > summary b { display: block; font-size: 19px; font-weight: 900; color: #6B3E26; }
.cb-must:not([open]) > summary { animation: cbPulse 2.4s ease-in-out infinite; border-radius: 18px; }
.cb-mustnote { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF6D6; color: #2F7A5B; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: left; }
@keyframes cbPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(107,62,38,0); } 50% { box-shadow: 0 0 0 6px rgba(107,62,38,.15); } }

/* 장면 그림 (세피아 사진 결) */
.cb-art { margin: 16px 0 0; border-radius: 16px; overflow: hidden; background: #D4E6B0; box-shadow: 0 8px 20px rgba(43,59,42,.18); line-height: 0; }
.cb-art svg { display: block; width: 100%; height: auto; }
.cb-art.hero { margin-top: 18px; transform: rotate(-1deg); }

/* 진행 */
.cb-play { text-align: left; }
.cb-gtag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #E3E9F1; color: #6B3E26; font-size: 13px; font-weight: 800; }
.cb-prog { height: 8px; border-radius: 4px; background: #E8F0DA; overflow: hidden; }
.cb-prog i { display: block; height: 100%; background: linear-gradient(90deg, #D9B183, #6B3E26); transition: width .3s; }
.cb-meter { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cb-meter span { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.cb-meter .r { background: #FFF6D6; color: #2F7A5B; }
.cb-meter .c { background: #E3E9F1; color: #6B3E26; }
.cb-meter b { font-size: 18px; font-weight: 900; margin-left: 2px; }
.cb-qn { margin: 20px 0 0; text-align: center; font-size: 13px; font-weight: 800; color: #C98B4F; }
.cb-card { position: relative; margin-top: 22px; padding: 26px 22px 20px; border-radius: 22px; background: linear-gradient(160deg, #F4F6FA, #E3E9F1); border: 1.5px solid #B8C4D4; animation: cbIn .35s ease; }
.cb-card.tm { background: linear-gradient(160deg, #FFF9F0, #FFF1B8); border-color: #E6CFAE; }
.cb-card.tm .cb-card-tag { background: #2F7A5B; }
.cb-card-tag, .cb-story-tag, .cb-hist-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #6B3E26; color: #fff; font-size: 12px; font-weight: 800; }
.cb-card h2 { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 900; }
.cb-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: #374151; }
.cb-legend { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #FFF9F0; font-size: 14px; line-height: 1.7; color: #4A4A44; text-align: center; }
.cb-legend span { font-weight: 900; }
.cb-legend .a { color: #6B3E26; } .cb-legend .b { color: #2F7A5B; }

/* 🎬 대화 장면 (공통 cookie_story.jsp 의 .hcvn 위에 학교 색을 덧입힘): 배경 그림 + 인물 초상 + 아래 대사창 */
.cb-vntag { margin: 18px 0 8px; font-size: 13px; font-weight: 900; color: #6B3E26; }
.cb-vn { margin: 0; }
.cb-vn .hcvn { background: #3A2416; }
.cb-vn .hcvn-box { z-index: 3; border-color: #6B3E26; background: rgba(255, 253, 245, .97); }
.cb-vn .hcvn-name { background: #6B3E26; color: #FFFDF5; border-color: #FFC857; }
.cb-vn .hcvn-text.narr { color: #2F4A2A; }
.cb-vn .hcvn-who.talk { z-index: 2; }
.cb-vn .hcvn-ask button { border-color: #FFC857; background: rgba(58, 36, 22, .93); }
.cb-vn .hcvn-ask button:hover, .cb-vn .hcvn-ask button:focus-visible { background: #C0612E; }
/* 인물 셋: 조금 작게, 왼쪽 · 가운데 · 오른쪽 */
.cb-vn.n3 .hcvn-who { height: 66%; }
@media (max-width: 640px) { .cb-vn.n3 .hcvn-who { height: 64%; } }
/* 실패 엔딩: 어두운 대사창 */
.cb-vn.dark .hcvn { background: #140F0B; }
.cb-vn.dark .hcvn-box { background: rgba(38, 30, 24, .96); color: #EAF2DC; border-color: #7A2E24; }
.cb-vn.dark .hcvn-text.narr { color: #D3E2BC; }
.cb-vn.dark .hcvn-name { background: #4A2A22; }
.cb-vn.dark .hcvn-next { color: #D3E2BC; }
.cb-vn.dark .hcvn-who > svg { filter: grayscale(.45) brightness(.8) drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.cb-vnnote { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: #2F7A5B; text-align: center; }
/* 공통 엔진이 없을 때 */
.cb-vnfb { padding: 18px; border-radius: 18px; background: #FFF9F0; border: 1.5px solid #E6CFAE; }
.cb-vnfb p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; } .cb-vnfb p b { display: block; font-size: 13px; color: #2F7A5B; }
.cb-after { animation: cbIn .3s ease; }

/* 대사 말풍선 */
.cb-talk { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-say { display: flex; align-items: flex-start; gap: 10px; animation: cbIn .35s ease both; }
.cb-say:nth-child(2) { animation-delay: .1s; } .cb-say:nth-child(3) { animation-delay: .2s; } .cb-say:nth-child(4) { animation-delay: .3s; }
.cb-say .av { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #FFF1B8; border: 2px solid #E6CFAE; font-size: 24px; }
.cb-say.real .av { background: #E3E9F1; border-color: #6B3E26; }
.cb-say .bub { position: relative; min-width: 0; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #FFF9F0; border: 1px solid #F0DFC6; }
.cb-say .bub b { display: block; font-size: 13px; font-weight: 900; color: #2F7A5B; }
.cb-say .bub b em { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #6B3E26; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.cb-say .bub p { margin: 3px 0 0; font-size: 15px; line-height: 1.65; color: #1F2937; }
.cb-say.me { flex-direction: row-reverse; }
.cb-say.me .bub { border-radius: 16px 4px 16px 16px; background: #6B3E26; border-color: #6B3E26; }
.cb-say.me .bub b { color: #FFC857; text-align: right; }
.cb-say.me .bub p { color: #FFFDF5; }
.cb-askq { margin: 20px 0 0; font-size: 17px; font-weight: 900; color: #1B1F1C; text-align: center; }
.cb-opts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid #DCD2C0; background: #FFFDF8; text-align: left; font-size: 16px; font-weight: 600; line-height: 1.5; color: #1B1F1C; cursor: pointer; transition: border-color .15s, background .15s; }
.cb-opt i { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #E3E9F1; color: #6B3E26; font-style: normal; font-size: 14px; font-weight: 900; }
.cb-opt:hover:not(:disabled) { border-color: #6B3E26; background: #F4F6FA; }

/* 통과 · 실패 */
.cb-pickres { margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: #F0F7F2; border: 1.5px solid #BFDCC8; animation: cbIn .3s ease; }
.cb-ok { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #DCFCE7; color: #166534; font-size: 13px; font-weight: 900; }
.cb-pickres p { margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: #374151; }
.cb-got { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #E3E9F1; border: 1.5px solid #B8C4D4; animation: cbPop .45s ease; }
.cb-got > b { font-size: 15px; color: #6B3E26; }
.cb-got ul, .cb-cards, .cb-lesson { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cb-got li, .cb-cards li, .cb-lesson li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.cb-got i, .cb-cards i, .cb-lesson i { font-style: normal; font-size: 24px; flex: none; }
.cb-got li b, .cb-cards b, .cb-lesson b { display: block; font-size: 15px; color: #6B3E26; }
.cb-got li span, .cb-cards span, .cb-lesson span { display: block; font-size: 14px; line-height: 1.6; color: #374151; }
.cb-cards small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: #2F7A5B; font-weight: 700; }
.cb-cards li { border: 1px solid #F0DFC6; }
.cb-story { position: relative; margin-top: 26px; padding: 26px 20px 20px; border-radius: 20px; background: #FFF6D6; border: 1.5px solid #E6CFAE; animation: cbIn .4s ease; }
.cb-story-tag { background: #2F7A5B; }
.cb-story h3 { margin: 0; font-size: 18px; font-weight: 900; color: #2B3B2A; }
.cb-story p { margin: 8px 0 0; font-size: 15px; line-height: 1.8; color: #2E2A24; }
.cb-story p.cb-fn, .cb-fn { margin-top: 8px; font-size: 12px !important; line-height: 1.5 !important; color: #66705C !important; }
.cb-hist { position: relative; margin: 26px 0 0; padding: 22px 14px 14px; border-radius: 18px; background: #2B3B2A; }
.cb-hist-tag { background: #D9B183; color: #2E2A24; }
.cb-hist img { display: block; width: 100%; height: auto; border-radius: 8px; filter: sepia(.25); }
.cb-hist figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #FFF8E0; }
.cb-hist figcaption small { display: block; margin-top: 4px; font-size: 12px; color: #BCD48F; }
.cb-hist figcaption a { color: #FFC857; }
.cb-failcard { margin-top: 18px; padding: 24px 22px; border-radius: 22px; background: linear-gradient(160deg, #2B3B2A, #2A2119); color: #FFF8E0; text-align: center; animation: cbShake .5s ease; }
.cb-failcard .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #D9534F; color: #fff; font-size: 12px; font-weight: 900; }
.cb-failcard .e { display: block; margin-top: 12px; font-size: 54px; line-height: 1.1; }
.cb-failcard h2 { margin: 8px 0 0; font-size: 23px; font-weight: 900; color: #FFF0B3; }
.cb-failcard p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; text-align: left; color: #EAF2DA; }
.cb-failcard p.me { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 700; color: #FFC857; }
.cb-failcard p.warn { font-size: 13px; color: #BCD48F; text-align: center; }
.cb-why { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: #EEF2F7; border: 1.5px solid #B8C4D4; }
.cb-why b { font-size: 16px; color: #6B3E26; }
.cb-why p { margin: 6px 0 0; font-size: 15px; line-height: 1.75; color: #374151; }

/* 엔딩 */
.cb-time { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.cb-time li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0 10px; border-bottom: 1px dashed #E6CFAE; }
.cb-time li:last-child { border-bottom: 0; }
.cb-time .y { align-self: start; padding: 3px 8px; border-radius: 8px; background: #6B3E26; color: #FFFDF5; font-size: 13px; font-weight: 900; text-align: center; }
.cb-time b { display: block; font-size: 15px; color: #2B3B2A; }
.cb-time p { margin: 2px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; }
.cb-root { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #EEF5EF; border: 1.5px solid #BFDCC8; }
.cb-root b { font-size: 16px; color: #1E5233; }
.cb-root p { margin: 6px 0 0; font-size: 15px; line-height: 1.7; color: #374151; }

.cb-busy { text-align: center; padding: 70px 20px !important; }
.cb-busy p { margin: 16px 0 0; font-size: 18px; font-weight: 700; color: #2B3B52; }
.cb-crumb { font-size: 64px; animation: cbWiggle .6s ease-in-out infinite; }

/* 결과 */
.cb-res { text-align: center; }
.cb-shared { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #FFF6D6; color: #2F7A5B; font-size: 13px; font-weight: 700; }
.cb-type .e { display: block; font-size: 56px; line-height: 1.15; margin-top: 8px; }
.cb-type h1 { margin: 8px 0 0; font-size: 30px; font-weight: 900; color: var(--tc); }
.cb-type p { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: #5E6A55; }
.cb-kpi { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; margin-top: 16px; }
.cb-kpi div { padding: 14px 6px; border-radius: 18px; background: #FFF1B8; text-align: center; }
.cb-kpi span { display: block; font-size: 13px; font-weight: 800; color: #2F7A5B; }
.cb-kpi b { display: block; font-size: 28px; font-weight: 900; color: #1B1F1C; }
.cb-kpi b em { font-style: normal; font-size: 16px; color: #66705C; }
.cb-kpi small { font-size: 12px; color: #66705C; }
.cb-desc { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: #374151; text-align: left; }
.cb-cardbox { margin-top: 20px; padding: 20px 18px; border-radius: 20px; border: 1px solid #F0DFC6; text-align: left; }
.cb-cardbox.center { text-align: center; }
.cb-cardbox h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.cb-cardbox p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: #374151; }
.cb-cardbox.gift { background: #FFF6D6; border-color: #E6CFAE; }
.cb-journey { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cb-journey li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 10px 12px; border-radius: 12px; background: #F0F7F2; }
.cb-journey li.no { background: #F8EDE6; }
.cb-journey small { grid-column: 1 / -1; font-size: 12px; font-weight: 800; color: #C98B4F; }
.cb-journey b { font-size: 15px; line-height: 1.5; }
.cb-journey span { font-size: 13px; font-weight: 800; color: #166534; white-space: nowrap; }
.cb-journey li.no span { color: #D9534F; }
.cb-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.cb-links span { font-size: 13px; font-weight: 800; color: #2F7A5B; margin-right: 4px; }
.cb-links a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #E6CFAE; color: #6B3E26; font-size: 14px; font-weight: 700; text-decoration: none; }
.cb-refnote { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF6D6; font-size: 14px; font-weight: 700; color: #2F7A5B; }

/* 함께하기 · 모임 결과 */
.cb-title { margin: 6px 0 0; font-size: 26px; font-weight: 900; line-height: 1.35; }
.cb-howto { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.cb-howto li { counter-increment: s; position: relative; padding: 12px 14px 12px 48px; border-radius: 14px; background: #FFF9F0; font-size: 14px; line-height: 1.6; color: #4A4A44; }
.cb-howto li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: #6B3E26; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.cb-howto b { display: block; color: #1B1F1C; font-size: 15px; }
.cb-label { display: block; margin: 4px 0 6px; font-size: 14px; font-weight: 700; color: #4A4A44; }
.cb-input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #E6CFAE; background: #FFF9F0; font-size: 16px; }
.cb-glist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-glist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFF9F0; border: 1px solid #F0DFC6; }
.cb-glist b { display: block; font-size: 15px; }
.cb-glist small { font-size: 13px; color: #66705C; }
.cb-glist em { font-style: normal; color: #B91C1C; }
.cb-glist .act { display: flex; gap: 6px; }
.cb-gmeta { margin: 8px 0 0; font-size: 15px; color: #5E6A55; }
.cb-gmeta b { color: #6B3E26; font-size: 18px; }
.cb-wait { font-size: 40px; margin: 0 !important; }
.cb-big { font-size: 64px !important; font-weight: 900; color: #6B3E26 !important; margin: 4px 0 0 !important; line-height: 1.1 !important; }
.cb-big small { font-size: 26px; }
.cb-tdist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-tdist li { display: grid; grid-template-columns: 180px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; }
.cb-tdist .n { font-weight: 700; color: #4A4A44; }
.cb-tdist li.me .n { color: #D9534F; font-weight: 900; }
.cb-tdist .b { height: 12px; border-radius: 6px; background: #E8F0DA; overflow: hidden; }
.cb-tdist .b i { display: block; height: 100%; border-radius: 6px; }
.cb-tdist b { text-align: right; font-weight: 800; }
.cb-tdist b small { display: block; font-size: 11px; font-weight: 700; color: #66705C; }
.cb-tdist.q li { grid-template-columns: 1fr 100px 52px; }
.cb-tdist.q .n { font-size: 13px; line-height: 1.45; }
.cb-worst { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #F8EDE6; border: 1px solid #E5C3B3; }
.cb-worst b { font-size: 15px; color: #D9534F; }
.cb-worst p { font-size: 14px !important; }
.cb-talkq { margin: 6px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: #374151; }

@keyframes cbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cbPop { 0% { transform: scale(.92); opacity: 0; } 70% { transform: scale(1.03); opacity: 1; } 100% { transform: none; } }
@keyframes cbShake { 0%,100% { transform: none; } 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes cbWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) {
	.cb-card, .cb-story, .cb-pickres, .cb-say, .cb-after, .cb-got, .cb-failcard, .cb-crumb, .cb-badge.big svg, .cb-must > summary { animation: none !important; }
}

@media (max-width: 520px) {
	body { background-image: linear-gradient(180deg, #6B3E26 0, #6B3E26 160px, #FBF1E3 160px); }
	.cb-top { padding: 12px 14px; }
	.cb-top { gap: 8px; }
	.cb-top .logo { font-size: 13px; }
	.cb-top .home { font-size: 13px; }
	.cb-top .hcst-tg { padding: 0 9px; }
	.cb-top .hcst-tg .eq { display: none; }
	.cb-main { padding: 0 10px; }
	.cb-main > section { padding: 26px 16px; border-radius: 22px; }
	.cb-logo { font-size: 26px; }
	.cb-logo span { font-size: 31px; }
	.cb-series { font-size: 12px; padding: 6px 12px; }
	.cb-badge .tx b { font-size: 14px; } .cb-badge.big .tx b { font-size: 15px; } .cb-badge .tx small { font-size: 12px; }
	.cb-badge.big svg { width: 50px; height: 50px; }
	.cb-modes, .cb-uses, .cb-how { grid-template-columns: 1fr; }
	.cb-card { padding: 24px 16px 18px; }
	.cb-card h2 { font-size: 18px; }
	.cb-card p { font-size: 15px; }
	.cb-say .av { width: 38px; height: 38px; font-size: 20px; }
	.cb-say .bub p { font-size: 14px; }
	.cb-opt { font-size: 15px; padding: 12px 14px; }
	.cb-time li { grid-template-columns: 74px 1fr; gap: 10px; }
	.cb-time .y { font-size: 12px; padding: 3px 4px; }
	.cb-type h1 { font-size: 24px; }
	.cb-kpi b { font-size: 22px; }
	.cb-kpi span { font-size: 12px; }
	.cb-tdist li { grid-template-columns: 124px 1fr 38px; font-size: 13px; }
	.cb-tdist.q li { grid-template-columns: 1fr 60px 48px; }
	.cb-row .cb-btn { flex: 1 1 100%; }
	.cb-start-ab > :not(summary), .cb-about > :not(summary) { margin-left: 16px !important; margin-right: 16px !important; }
}

/* 📚 출처 · 엔딩의 수익 사용 사례 · 생각 넓히기 (cooplaunch) */
.cb-src { display: block; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #66705C; }
.cb-time .cb-src { margin-top: 2px; }
.cb-uses2 { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cb-uses2 li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.cb-uses2 i { font-style: normal; font-size: 24px; flex: none; }
.cb-uses2 b { display: block; font-size: 15px; color: #6B3E26; }
.cb-uses2 span { display: block; font-size: 14px; line-height: 1.6; color: #374151; }
.cb-think { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #FFF6D6; border: 1.5px dashed #E0B800; }
.cb-think b { font-size: 16px; color: #6B3E26; }
.cb-think ol { margin: 6px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.8; color: #374151; }

/* 함께하기 닉네임 · 참여자별 결과 · 90일 자동 삭제 안내 */
.cb-nick { margin: 4px 0 12px; text-align: left; }
.cb-nick .cb-input { margin-top: 6px; }
.cb-nickhelp { display: block; font-size: 13px; color: #66705C; line-height: 1.5; }
.cb-nickerr { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; color: #B42318; }
.cb-nickerr[hidden] { display: none; }
.cb-nickkeep { margin: 10px 0 0 !important; font-size: 12px !important; color: #66705C !important; }
.cb-nickfix { margin: 12px 0; padding: 14px 16px; border-radius: 16px; background: #FFF4E5; border: 1.5px solid #F2C3A8; text-align: left; }
.cb-nickfix p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.cb-nickfix p b { display: block; color: #B42318; }
.cb-made { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F0FDF4; border: 1px solid #BBF7D0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cb-made b, .cb-made span { display: block; }
.cb-expire { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #66705C; overflow-wrap: anywhere; }
.cb-mtab { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.cb-mtab th, .cb-mtab td { padding: 8px 6px; border-bottom: 1px solid #F0DFC6; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cb-mtab th { font-size: 12px; font-weight: 800; color: #66705C; white-space: nowrap; }
.cb-mtab .no { width: 2.4em; color: #66705C; }
.cb-mtab .nn { font-weight: 800; }
.cb-mtab .nn em { font-style: normal; font-weight: 600; color: #66705C; }
.cb-mtab .at { white-space: nowrap; color: #66705C; font-size: 13px; }
@media (max-width: 640px) {
	.cb-mtab thead { display: none; }
	.cb-mtab, .cb-mtab tbody, .cb-mtab tr, .cb-mtab td { display: block; width: auto; }
	.cb-mtab tr { margin-bottom: 8px; padding: 10px 12px; border: 1px solid #F0DFC6; border-radius: 14px; background: #FFF9F0; }
	.cb-mtab td { padding: 2px 0; border: 0; font-size: 13px; }
	.cb-mtab td.no, .cb-mtab td.nn { display: inline; }
	.cb-mtab td.no::after { content: '.'; }
	.cb-mtab td.nn { margin-left: 4px; font-size: 15px; }
	.cb-mtab td[data-l]::before { content: attr(data-l) ' · '; font-weight: 700; color: #66705C; }
	.cb-mtab .at { white-space: normal; }
}

/* ── 우당탕탕 설립기: 📋 설립 수첩 · 비교표 · 운영 팁 · 체크리스트 · 법 안내 ── */
.cb-note { background: #FFF9EC; border-color: #E6CFAE; }
.cb-note .cb-story-tag { background: #2F7A5B; }
.cb-alt { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: #EAF4EF; border: 1px dashed #8CC0A8; font-size: 14px !important; line-height: 1.7 !important; color: #23463A !important; }
.cb-alt b { display: block; margin-bottom: 2px; font-size: 13px; color: #1E5A44; }
.cb-src { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; color: #7A6A58; }
.cb-cmp { position: relative; margin-top: 26px; padding: 26px 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid #E6CFAE; animation: cbIn .4s ease; }
.cb-cmp .cb-story-tag { background: #B5532E; }
.cb-cmp table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.cb-cmp thead th { padding: 8px 6px; background: #6B3E26; color: #FFF6E6; font-weight: 900; text-align: center; }
.cb-cmp thead th:first-child { background: transparent; }
.cb-cmp tbody th { width: 22%; padding: 8px 6px; text-align: left; font-weight: 900; color: #6B3E26; background: #FBF1E3; vertical-align: top; }
.cb-cmp td { padding: 8px 8px; vertical-align: top; border-bottom: 1px solid #F0DFC6; color: #2E2A24; }
.cb-cmp td:nth-child(3) { background: #F2F8F4; }
.cb-cmp td small { display: block; margin-top: 4px; font-size: 11.5px; color: #8A7A66; }
.cb-cmp tr.both td { background: #FFF6D6; font-weight: 700; }
.cb-also { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #F4F1EC; font-size: 13.5px; line-height: 1.65; color: #4A4A44; }
@media (max-width: 560px) {
	.cb-cmp thead { display: none; }
	.cb-cmp tr { display: block; margin-bottom: 10px; border: 1px solid #F0DFC6; border-radius: 12px; overflow: hidden; }
	.cb-cmp tbody th { display: block; width: auto; }
	.cb-cmp td { display: block; border-bottom: 0; }
	.cb-cmp td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 900; color: #B5532E; }
}
.cb-tips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-tips li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #F0DFC6; }
.cb-tips i { font-style: normal; font-size: 24px; flex: none; }
.cb-tips b { display: block; font-size: 15px; color: #6B3E26; }
.cb-tips p { margin: 2px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; }
.cb-tips .cb-src { margin-top: 4px; }
.cb-check { text-align: left; }
.cb-check ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-check li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #F0DFC6; }
.cb-check .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #6B3E26; color: #FFF6E6; font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.cb-check b { display: block; font-size: 15px; color: #6B3E26; }
.cb-check p { margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: #374151; }
.cb-check p.k em { display: inline-block; min-width: 34px; margin-right: 6px; padding: 0 6px; border-radius: 6px; background: #FBF1E3; font-style: normal; font-size: 12px; font-weight: 900; color: #B5532E; text-align: center; }
.cb-check p.soc { color: #23463A; } .cb-check p.soc em { background: #EAF4EF; color: #1E5A44; }
.cb-check .cb-src { margin-top: 4px; }
.cb-lawnote { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF1B8; font-size: 13.5px; line-height: 1.6; font-weight: 700; color: #5B3A1E; }
.cb-lawfoot { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #6B3E26; }
@media print { .cb-top, .cb-foot b, #hcShare, .cb-row { display: none !important; } }

/* ───────── coopbasic 이러닝 구조 (교시 지도 · 퀴즈 · 요약 노트 · 용어 노트 · 인물 카드 · 수료증) ───────── */
.cb-meter .q { background: #E4F1E8; color: #2F5A46; }
.cb-prog i { background: linear-gradient(90deg, #FFC857, #2F5A46); }
.cb-title { margin: 6px 0 0; text-align: center; font-size: 26px; font-weight: 900; line-height: 1.35; color: #1B1F1C; }
.cb-mapsec .cb-eye, .cb-cover .cb-eye, .cb-sumsec .cb-eye { text-align: center; margin-top: 18px; }
/* 📒 용어 노트 버튼 · 패널 */
.cb-termsbtn { flex: none; min-height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 231, 168, .6); background: rgba(255, 255, 255, .12); color: #FFFDF5; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cb-termsbtn:hover { background: rgba(255, 255, 255, .2); }
.cb-termsbtn:focus-visible { outline: 2px solid #FFC857; outline-offset: 2px; }
.cb-termswrap { max-width: 680px; margin: 0 auto 14px; padding: 0 16px; }
.cb-termsbox { padding: 16px; border-radius: 20px; background: #FFFDF5; border: 2px dashed #C98B4F; box-shadow: 0 8px 22px rgba(0,0,0,.12); max-height: 60vh; overflow: auto; }
.cb-termsbox .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #2F5A46; font-size: 16px; }
.cb-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cb-tgroup > b { display: block; font-size: 14px; color: #B5532E; }
.cb-terms dl, .cb-sum dl { margin: 6px 0 0; }
.cb-terms dt, .cb-sum dt { margin-top: 8px; font-size: 15px; font-weight: 900; color: #2F5A46; }
.cb-terms dd, .cb-sum dd { margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: #374151; }
/* 🎯 학습 목표 */
.cb-goals { position: relative; margin-top: 26px; padding: 26px 20px 16px; border-radius: 20px; background: #EEF5EF; border: 1.5px solid #BFD6C5; }
.cb-goals ol { margin: 0; padding-left: 22px; font-size: 15.5px; line-height: 1.8; color: #1F3A2C; font-weight: 700; }
/* 🗺️ 교시 지도 */
.cb-map { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.cb-map li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #FFFDF5; border: 2px solid #E6CFAE; }
.cb-map li.done { background: #EEF7EF; border-color: #9CC9A8; }
.cb-map li.cur { border-color: #FFC857; box-shadow: 0 0 0 3px rgba(255, 200, 87, .35); }
.cb-map .no { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: #2F5A46; color: #FFFDF5; font-size: 24px; }
.cb-map .no b { font-size: 13px; font-weight: 900; color: #FFE7A8; }
.cb-map .tx { min-width: 0; }
.cb-map .tx > b { display: block; font-size: 17px; font-weight: 900; color: #1B1F1C; }
.cb-map .tx small { display: block; margin-top: 2px; font-size: 13px; color: #66705C; }
.cb-map .meta { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #6B3E26; }
.cb-map .st { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: #2F7A5B; }
/* 🧪 퀴즈 */
.cb-quiz { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; }
.cb-quiz .who { flex: none; width: 90px; height: 120px; border-radius: 16px; overflow: hidden; background: #EEF5EF; line-height: 0; }
.cb-quiz .who svg { width: 100%; height: 100%; }
.cb-quiz .qb { flex: 1 1 auto; min-width: 0; }
.cb-quiz .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #3F7A55; color: #fff; font-size: 12px; font-weight: 800; }
.cb-quiz h2 { margin: 10px 0 0; font-size: 19px; line-height: 1.5; color: #1B1F1C; }
.cb-qopts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.cb-opt.right { border-color: #2F7A5B; background: #E4F4E9; }
.cb-opt.right i { background: #2F7A5B; color: #fff; }
.cb-opt.wrong { border-color: #D9534F; background: #FBE9E7; }
.cb-opt.wrong i { background: #D9534F; color: #fff; }
.cb-opt:disabled { cursor: default; }
.cb-qres { margin-top: 16px; padding: 16px 18px; border-radius: 18px; animation: cbIn .3s ease; }
.cb-qres.ok { background: #E4F4E9; border: 1.5px solid #9CC9A8; }
.cb-qres.no { background: #FFF1E6; border: 1.5px solid #F0B48E; }
.cb-qres > b { display: block; font-size: 16px; line-height: 1.5; color: #1B1F1C; }
.cb-qres p { margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: #2E2A24; }
/* 📒 요약 노트 (공책 줄) */
.cb-sum { position: relative; margin-top: 26px; padding: 26px 20px 16px; border-radius: 20px; background: #FFFDF5; border: 1.5px solid #E6CFAE; background-image: repeating-linear-gradient(180deg, transparent 0, transparent 31px, #E3ECF6 31px, #E3ECF6 32px); }
.cb-sum ol { margin: 0; padding-left: 22px; font-size: 15px; line-height: 2.1; color: #2E2A24; }
.cb-sum.terms { background-image: none; background: #FFF6D6; }
.cb-score { margin: 18px 0 0; text-align: center; font-size: 16px; font-weight: 800; color: #2F5A46; }
.cb-score b { font-size: 24px; }
/* 👤 인물 카드 */
.cb-people { position: relative; margin-top: 26px; padding: 24px 14px 14px; border-radius: 20px; background: #EAF1F8; border: 1.5px solid #C9D7E6; animation: cbIn .4s ease; }
.cb-people-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #2F5A86; color: #fff; font-size: 12px; font-weight: 800; }
.cb-people > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cb-person { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #DCE5EF; min-width: 0; }
.cb-person .pic { flex: none; width: 72px; height: 96px; border-radius: 12px; overflow: hidden; background: #F1DEB8; line-height: 0; display: flex; align-items: center; justify-content: center; }
.cb-person .pic svg { display: block; width: 100%; height: 100%; }
.cb-person .pic .ph { font-size: 34px; line-height: 1; }
.cb-person .tx { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cb-person .nm { display: block; font-size: 16px; font-weight: 900; color: #2F5A86; }
.cb-person .orig { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: #6B604E; }
.cb-person .one { margin: 6px 0 0; font-size: 14px; font-weight: 700; line-height: 1.55; color: #1F3A5F; }
.cb-person .facts { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.65; color: #374151; }
.cb-person .coop { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #F6EBD3; font-size: 13.5px; line-height: 1.6; color: #374151; }
.cb-person .coop b { display: block; font-size: 13px; color: #6B3E26; }
.cb-person .q { margin: 8px 0 0; font-size: 13px; font-style: italic; line-height: 1.55; color: #2F5A86; }
.cb-person .q span { display: block; font-style: normal; font-size: 12.5px; color: #6B604E; }
.cb-reallist ul { list-style: none; margin: 14px 0 0 !important; padding: 0; display: grid; gap: 8px; }
.cb-reallist li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E6DAC2; font-size: 15px; }
.cb-reallist li b { color: #2F5A86; }
.cb-reallist li span { font-size: 13px; font-weight: 700; color: #6B604E; }
.cb-reallist li small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: #374151; }
/* 🎓 수료증 */
.cb-cert { margin-top: 22px; padding: 10px; border-radius: 20px; background: #C98B4F; }
.cb-cert .in { padding: 26px 20px; border-radius: 14px; background: #FFFDF5; border: 3px double #6B3E26; text-align: center; }
.cb-cert .hd { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .3em; color: #C98B4F; }
.cb-cert h2 { margin: 8px 0 0; font-size: 24px; font-weight: 900; color: #2F5A46; }
.cb-cert .nm { margin: 16px 0 0; font-size: 22px; font-weight: 900; color: #1B1F1C; }
.cb-cert .nm span { display: inline-block; min-width: 120px; padding: 0 8px 2px; border-bottom: 2px solid #6B3E26; }
.cb-cert .bd { margin: 14px 0 0; font-size: 14.5px; line-height: 1.8; color: #374151; }
.cb-cert .sc { list-style: none; margin: 14px auto 0; padding: 0; max-width: 420px; display: grid; gap: 6px; text-align: left; }
.cb-cert .sc li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #EEF5EF; font-size: 14px; }
.cb-cert .sc li span { flex: none; font-weight: 900; color: #2F5A46; }
.cb-cert .dt { margin: 16px 0 0; font-size: 14px; font-weight: 800; color: #6B3E26; }
.cb-cert .og { margin: 4px 0 0; font-size: 12.5px; color: #66705C; }
.cb-certform { margin-top: 14px; }
.cb-rec { margin-top: 14px; }
.cb-rec h3 { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 15px; color: #2F5A46; }
.cb-rec h3 span { flex: none; color: #B5532E; }
.cb-lawnote { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; background: #F4F1EA; font-size: 13px; line-height: 1.6; color: #4B5545; }
@media (max-width: 560px) {
	.cb-map li { grid-template-columns: 56px 1fr; }
	.cb-map li > .cb-btn { grid-column: 1 / -1; width: 100%; }
	.cb-map .no { width: 56px; height: 56px; font-size: 20px; }
	.cb-quiz .who { width: 60px; height: 80px; }
	.cb-quiz h2 { font-size: 17px; }
	.cb-person { gap: 10px; padding: 10px; }
	.cb-person .pic { width: 56px; height: 75px; }
	.cb-termsbtn span { display: none; }
	.cb-cert .in { padding: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) { .cb-qres, .cb-people { animation: none !important; } }
/* 수료증만 인쇄 (🖨️ 버튼을 누르면 body 에 cb-printcert) */
@media print {
	.cb-termswrap { display: none !important; }
	body.cb-printcert { background: #fff !important; }
	body.cb-printcert * { visibility: hidden; }
	body.cb-printcert .cb-cert, body.cb-printcert .cb-cert * { visibility: visible; }
	body.cb-printcert .cb-cert { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
}
