/* 타임머신! 1962 부산 (coopedu) — 디자인 (칠판 초록 + 분필 노랑 + 한지색) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; color: #1B1F1C; background: #EFE4CF; background-image: linear-gradient(180deg, #2F5D50 0, #2F5D50 220px, #EFE4CF 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.ce-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 14px 20px; }
.ce-top .home { flex: none; font-size: 14px; font-weight: 700; color: #FBE7C6; text-decoration: none; }
.ce-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; }
.ce-top .logo span { color: #F2B544; }
/* 🔊 BGM 버튼 (공통 cookie_story.jsp 의 .hcst-tg 를 짙은 헤더에 맞춤) */
.ce-bgm { flex: none; display: inline-flex; }
.ce-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; }
.ce-top .hcst-tg:hover { background: rgba(255, 255, 255, .18); }
.ce-top .hcst-tg:focus-visible { outline: 2px solid #F2B544; outline-offset: 2px; }
.ce-main { max-width: 680px; margin: 0 auto 48px; padding: 0 16px; }
.ce-main > section { background: #FFFDF8; border-radius: 28px; padding: 34px 26px; box-shadow: 0 10px 30px rgba(47,93,80,.14); }
.ce-foot { text-align: center; padding: 0 16px 36px; font-size: 13px; color: #5E7068; }
.ce-foot b { color: #2F5D50; }

.ce-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 #D9CBB0; background: #fff; color: #3A3226; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, border-color .15s; }
.ce-btn:hover { border-color: #8A7A44; }
.ce-btn:active { transform: scale(.98); }
.ce-btn:disabled { opacity: .6; cursor: default; }
.ce-btn.pri { background: #2F5D50; border-color: #2F5D50; color: #fff; }
.ce-btn.pri:hover { background: #1F4136; border-color: #1F4136; }
.ce-btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.ce-btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.ce-btn.danger { color: #B91C1C; border-color: #FCA5A5; }
.ce-btn.danger:hover { background: #FEF2F2; border-color: #DC2626; }
.ce-btn:focus-visible, .ce-opt:focus-visible, .ce-input:focus-visible { outline: 3px solid #D9B77A; outline-offset: 2px; }
.ce-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ce-muted { color: #6B604E; font-size: 14px; line-height: 1.6; }
.ce-muted.center { text-align: center; }
.ce-toast { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: #166534; }
.ce-eye { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #8A7A44; }

/* 시리즈 띠 · 역사 배지 */
.ce-series { display: inline-block; margin: 0; padding: 7px 16px; border-radius: 999px; background: #F1DEB8; border: 1.5px dashed #8A7A44; color: #3A3226; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.ce-series.sm { margin-bottom: 10px; font-size: 12px; padding: 5px 12px; }
.ce-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, #F6EBD3, #FBE7C6); border: 2px solid #A8D5BA; box-shadow: 0 6px 16px rgba(27,42,63,.15); text-align: left; }
.ce-badge svg { width: 50px; height: 50px; flex: none; }
.ce-badge .tx b { display: block; font-size: 16px; font-weight: 900; color: #2F5D50; line-height: 1.3; }
.ce-badge .tx small { display: block; font-size: 13px; font-weight: 700; color: #3E7A63; }
.ce-badge.big svg { width: 62px; height: 62px; animation: ceSway 3.2s ease-in-out infinite; }
.ce-badge.big .tx b { font-size: 18px; }
.ce-badge.sm { margin: 0 auto 12px; padding: 5px 14px 5px 5px; }
.ce-badge.sm svg { width: 34px; height: 34px; }
.ce-badge.sm .tx b { font-size: 14px; } .ce-badge.sm .tx small { font-size: 11px; }
@keyframes ceSway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) scale(1.04); } }

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

/* 소개 */
.ce-start-ab, .ce-about { margin-top: 20px; border-radius: 18px; border: 1.5px solid #E6DAC2; background: #FBF6EC; text-align: left; }
.ce-start-ab summary, .ce-about summary { list-style: none; position: relative; display: block; padding: 16px 48px 16px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: #3A3226; }
.ce-start-ab summary::-webkit-details-marker, .ce-about summary::-webkit-details-marker { display: none; }
.ce-start-ab summary span { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: #6B604E; }
.ce-start-ab summary::after, .ce-about summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid #8A7A44; border-bottom: 2.5px solid #8A7A44; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.ce-start-ab[open] summary::after, .ce-about[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ce-start-ab[open] summary, .ce-about[open] summary { border-bottom: 1px solid #E6DAC2; }
.ce-start-ab > :not(summary), .ce-about > :not(summary) { margin-left: 22px !important; margin-right: 22px !important; }
.ce-start-ab > :last-child, .ce-about > :last-child { margin-bottom: 18px; }
.ce-start-ab p, .ce-about p { font-size: 15px; line-height: 1.85; color: #374151; margin: 14px 0 0; overflow-wrap: break-word; }
.ce-ab-lead { padding: 12px 14px; border-radius: 12px; background: #F1EBE0; font-weight: 800; color: #2F5D50 !important; margin-top: 16px !important; }
.ce-start-ab h3, .ce-about h3 { margin: 26px 0 12px; font-size: 17px; font-weight: 800; }
.ce-ab-sub { font-size: 14px !important; color: #4E6258 !important; }
.ce-how, .ce-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ce-how li { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: #F6EBD3; border: 1px solid #DCEBE1; }
.ce-how i { font-style: normal; font-size: 22px; }
.ce-how b { color: #24483E; font-size: 15px; }
.ce-how span, .ce-uses span { font-size: 14px; line-height: 1.6; }
.ce-uses li { padding: 12px; border-radius: 12px; background: #F1EBE0; display: flex; flex-direction: column; gap: 4px; }
.ce-uses b { color: #2F5D50; font-size: 15px; }
.ce-caution { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #F6EBD3; border: 1px solid #DCEBE1; }
.ce-caution b { color: #3E7A63; }
.ce-caution ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #24483E; }
.ce-start-ab.ce-must { margin: 20px 0 0; border: 2px solid #2F5D50; background: #F7F2E8; box-shadow: 0 6px 16px rgba(47,93,80,.12); }
.ce-must > summary { text-align: center; padding: 16px 44px; }
.ce-must > summary b { display: block; font-size: 19px; font-weight: 900; color: #2F5D50; }
.ce-must:not([open]) > summary { animation: cePulse 2.4s ease-in-out infinite; border-radius: 18px; }
.ce-mustnote { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #F6EBD3; color: #3E7A63; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: left; }
@keyframes cePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,93,80,0); } 50% { box-shadow: 0 0 0 6px rgba(47,93,80,.15); } }

/* 장면 그림  */
.ce-art { margin: 16px 0 0; border-radius: 16px; overflow: hidden; background: #CFE0EE; box-shadow: 0 8px 20px rgba(27,42,63,.18); line-height: 0; }
.ce-art svg { display: block; width: 100%; height: auto; }
.ce-art.hero { margin-top: 18px; transform: rotate(-1deg); }

/* 진행 */
.ce-play { text-align: left; }
.ce-gtag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #E7DDCB; color: #2F5D50; font-size: 13px; font-weight: 800; }
.ce-prog { height: 8px; border-radius: 4px; background: #DDE8F2; overflow: hidden; }
.ce-prog i { display: block; height: 100%; background: linear-gradient(90deg, #A8D5BA, #2F5D50); transition: width .3s; }
.ce-meter { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ce-meter span { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.ce-meter .r { background: #F6EBD3; color: #3E7A63; }
.ce-meter .c { background: #E7DDCB; color: #2F5D50; }
.ce-meter b { font-size: 18px; font-weight: 900; margin-left: 2px; }
.ce-qn { margin: 20px 0 0; text-align: center; font-size: 13px; font-weight: 800; color: #8A7A44; }
.ce-card { position: relative; margin-top: 22px; padding: 26px 22px 20px; border-radius: 22px; background: linear-gradient(160deg, #F7F2E8, #E7DDCB); border: 1.5px solid #C9B99B; animation: ceIn .35s ease; }
.ce-card.tm { background: linear-gradient(160deg, #FBF6EC, #F1DEB8); border-color: #D6C6A6; }
.ce-card.tm .ce-card-tag { background: #3E7A63; }
.ce-card-tag, .ce-story-tag, .ce-hist-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #2F5D50; color: #fff; font-size: 12px; font-weight: 800; }
.ce-card h2 { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 900; }
.ce-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: #374151; }
.ce-legend { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #FBF6EC; font-size: 14px; line-height: 1.7; color: #4A4A44; text-align: center; }
.ce-legend span { font-weight: 900; }
.ce-legend .a { color: #2F5D50; } .ce-legend .b { color: #3E7A63; }

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

/* 대사 말풍선 */
.ce-talk { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ce-say { display: flex; align-items: flex-start; gap: 10px; animation: ceIn .35s ease both; }
.ce-say:nth-child(2) { animation-delay: .1s; } .ce-say:nth-child(3) { animation-delay: .2s; } .ce-say:nth-child(4) { animation-delay: .3s; }
.ce-say .av { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #F1DEB8; border: 2px solid #D6C6A6; font-size: 24px; }
.ce-say.real .av { background: #E7DDCB; border-color: #2F5D50; }
.ce-say .bub { position: relative; min-width: 0; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #FBF6EC; border: 1px solid #E6DAC2; }
.ce-say .bub b { display: block; font-size: 13px; font-weight: 900; color: #3E7A63; }
.ce-say .bub b em { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #2F5D50; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.ce-say .bub p { margin: 3px 0 0; font-size: 15px; line-height: 1.65; color: #1F2937; }
.ce-say.me { flex-direction: row-reverse; }
.ce-say.me .bub { border-radius: 16px 4px 16px 16px; background: #2F5D50; border-color: #2F5D50; }
.ce-say.me .bub b { color: #F2B544; text-align: right; }
.ce-say.me .bub p { color: #FFFDF5; }
.ce-askq { margin: 20px 0 0; font-size: 17px; font-weight: 900; color: #1B1F1C; text-align: center; }
.ce-opts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ce-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; }
.ce-opt i { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #E7DDCB; color: #2F5D50; font-style: normal; font-size: 14px; font-weight: 900; }
.ce-opt:hover:not(:disabled) { border-color: #2F5D50; background: #F7F2E8; }

/* 통과 · 실패 */
.ce-pickres { margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: #EEF4FA; border: 1.5px solid #C6E0CF; animation: ceIn .3s ease; }
.ce-ok { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #DCFCE7; color: #166534; font-size: 13px; font-weight: 900; }
.ce-pickres p { margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: #374151; }
.ce-got { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #E7DDCB; border: 1.5px solid #C9B99B; animation: cePop .45s ease; }
.ce-got > b { font-size: 15px; color: #2F5D50; }
.ce-got ul, .ce-cards, .ce-lesson { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ce-got li, .ce-cards li, .ce-lesson li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.ce-got i, .ce-cards i, .ce-lesson i { font-style: normal; font-size: 24px; flex: none; }
.ce-got li b, .ce-cards b, .ce-lesson b { display: block; font-size: 15px; color: #2F5D50; }
.ce-got li span, .ce-cards span, .ce-lesson span { display: block; font-size: 14px; line-height: 1.6; color: #374151; }
.ce-cards small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: #3E7A63; font-weight: 700; }
.ce-cards li { border: 1px solid #E6DAC2; }
.ce-story { position: relative; margin-top: 26px; padding: 26px 20px 20px; border-radius: 20px; background: #F6EBD3; border: 1.5px solid #D6C6A6; animation: ceIn .4s ease; }
.ce-story-tag { background: #3E7A63; }
.ce-story h3 { margin: 0; font-size: 18px; font-weight: 900; color: #3A3226; }
.ce-story p { margin: 8px 0 0; font-size: 15px; line-height: 1.8; color: #2E2A24; }
.ce-story p.ce-fn, .ce-fn { margin-top: 8px; font-size: 12px !important; line-height: 1.5 !important; color: #6B604E !important; }
.ce-hist { position: relative; margin: 26px 0 0; padding: 22px 14px 14px; border-radius: 18px; background: #3A3226; }
.ce-hist-tag { background: #A8D5BA; color: #2E2A24; }
.ce-hist img { display: block; width: 100%; height: auto; border-radius: 8px; filter: sepia(.25); }
.ce-hist figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #FFF8E0; }
.ce-hist figcaption small { display: block; margin-top: 4px; font-size: 12px; color: #A9C8E6; }
.ce-hist figcaption a { color: #F2B544; }
/* 📷 사진 2장: 넓은 화면에서는 나란히, 640px 이하에서는 위아래 */
.ce-hists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; margin-top: 26px; }
.ce-hists .ce-hist { margin: 0; min-width: 0; }
.ce-hist[hidden] { display: none; }
.ce-hist figcaption { overflow-wrap: anywhere; word-break: keep-all; }
@media (max-width: 640px) { .ce-hists { grid-template-columns: 1fr; gap: 26px; } }
.ce-failcard { margin-top: 18px; padding: 24px 22px; border-radius: 22px; background: linear-gradient(160deg, #3A3226, #2A2119); color: #FFF8E0; text-align: center; animation: ceShake .5s ease; }
.ce-failcard .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #D9534F; color: #fff; font-size: 12px; font-weight: 900; }
.ce-failcard .e { display: block; margin-top: 12px; font-size: 54px; line-height: 1.1; }
.ce-failcard h2 { margin: 8px 0 0; font-size: 23px; font-weight: 900; color: #FFF0B3; }
.ce-failcard p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; text-align: left; color: #E6EEF6; }
.ce-failcard p.me { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 700; color: #F2B544; }
.ce-failcard p.warn { font-size: 13px; color: #A9C8E6; text-align: center; }
.ce-why { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: #F1EBE0; border: 1.5px solid #C9B99B; }
.ce-why b { font-size: 16px; color: #2F5D50; }
.ce-why p { margin: 6px 0 0; font-size: 15px; line-height: 1.75; color: #374151; }

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

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

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

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

@keyframes ceIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cePop { 0% { transform: scale(.92); opacity: 0; } 70% { transform: scale(1.03); opacity: 1; } 100% { transform: none; } }
@keyframes ceShake { 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 ceWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) {
	.ce-card, .ce-story, .ce-pickres, .ce-say, .ce-after, .ce-got, .ce-failcard, .ce-crumb, .ce-badge.big svg, .ce-must > summary, .ce-people { animation: none !important; }
}

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

/* 📚 출처 · 엔딩의 우리나라에 주는 교훈 · 생각 넓히기 (coopedu) */
.ce-src { display: block; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #6B604E; }
.ce-time .ce-src { margin-top: 2px; }
.ce-uses2 { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ce-uses2 li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.ce-uses2 i { font-style: normal; font-size: 24px; flex: none; }
.ce-uses2 b { display: block; font-size: 15px; color: #2F5D50; }
.ce-uses2 span { display: block; font-size: 14px; line-height: 1.6; color: #374151; }
.ce-think { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #F6EBD3; border: 1.5px dashed #D9483B; }
.ce-think b { font-size: 16px; color: #2F5D50; }
.ce-think ol { margin: 6px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.8; color: #374151; }

/* 👤 함께하기 닉네임 · 👥 참여자별 결과 (모임을 만든 사람에게만) */
.ce-nick { margin: 14px 0 6px; text-align: left; }
.ce-nick .ce-muted { margin: 2px 0 8px; font-size: 13px; }
.ce-nickerr { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: #B4483A; }
.ce-nickexp { margin: 10px 0 0; font-size: 12px; }
.ce-nickfix { border: 1.5px solid #F2B544; }
.ce-members { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ce-members li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #FBF6EC; border: 1px solid #E6DAC2; min-width: 0; }
.ce-members .no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #2F5D50; color: #F6EBD2; font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.ce-members li > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.ce-members b { font-size: 15px; }
.ce-members span { font-size: 13px; font-weight: 700; color: #3E7A63; }
.ce-members small { font-size: 12px; color: #6B604E; }

/* 👤 인물 카드 (실존 인물이 처음 나온 장면 뒤) · 👥 엔딩의 실존 인물 목록 · 더 배우기 강조 */
.ce-people { position: relative; margin-top: 26px; padding: 24px 14px 14px; border-radius: 20px; background: #EAF1F8; border: 1.5px solid #C6E0CF; animation: ceIn .4s ease; }
.ce-people-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #2F5D50; color: #fff; font-size: 12px; font-weight: 800; }
.ce-people > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ce-person { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #DCEBE1; min-width: 0; }
.ce-person .pic { flex: none; width: 72px; height: 96px; border-radius: 12px; overflow: hidden; background: #F1DEB8; line-height: 0; }
.ce-person .pic svg { display: block; width: 100%; height: 100%; }
.ce-person .tx { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ce-person .nm { display: block; font-size: 16px; font-weight: 900; color: #2F5D50; }
.ce-person .orig { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: #6B604E; }
.ce-person .one { margin: 6px 0 0; font-size: 14px; font-weight: 700; line-height: 1.55; color: #24483E; }
.ce-person .facts { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.65; color: #374151; }
.ce-person .coop { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #F6EBD3; font-size: 13.5px; line-height: 1.6; color: #374151; }
.ce-person .coop b { display: block; font-size: 13px; color: #3E7A63; }
.ce-person .q { margin: 8px 0 0; font-size: 13px; font-style: italic; line-height: 1.55; color: #2F5D50; }
.ce-person .q span { display: block; font-style: normal; font-size: 12.5px; color: #6B604E; }
.ce-person .ce-src { margin-top: 8px; }
.ce-reallist ul { list-style: none; margin: 14px 0 0 !important; padding: 0; display: grid; gap: 8px; }
.ce-reallist li { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E6DAC2; font-size: 15px; }
.ce-reallist li b { color: #2F5D50; }
.ce-reallist li span { font-size: 13px; font-weight: 700; color: #6B604E; }
.ce-reallist li small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: #374151; }
.ce-tlink { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 800; color: #C0392B; text-decoration: none; }
.ce-tlink:hover { text-decoration: underline; }
.ce-links a.hi { flex: 1 1 100%; background: #FDECE8; border: 2px solid #D9483B; color: #A3271C; font-weight: 900; }
@media (max-width: 520px) {
	.ce-person { gap: 10px; padding: 10px; }
	.ce-person .pic { width: 56px; height: 75px; }
}
