/* 타임머신! 1882 예딩 (denmark) — 디자인 (덴마크 빨강 + 버터 노랑 + 들판 초록) */
* { 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, #9B1B26 0, #9B1B26 220px, #EFE4CF 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

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

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

/* 시리즈 띠 · 역사 배지 */
.dk-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; }
.dk-series.sm { margin-bottom: 10px; font-size: 12px; padding: 5px 12px; }
.dk-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 #A9D18E; box-shadow: 0 6px 16px rgba(27,42,63,.15); text-align: left; }
.dk-badge svg { width: 50px; height: 50px; flex: none; }
.dk-badge .tx b { display: block; font-size: 16px; font-weight: 900; color: #9B1B26; line-height: 1.3; }
.dk-badge .tx small { display: block; font-size: 13px; font-weight: 700; color: #2F6B3E; }
.dk-badge.big svg { width: 62px; height: 62px; animation: dkSway 3.2s ease-in-out infinite; }
.dk-badge.big .tx b { font-size: 18px; }
.dk-badge.sm { margin: 0 auto 12px; padding: 5px 14px 5px 5px; }
.dk-badge.sm svg { width: 34px; height: 34px; }
.dk-badge.sm .tx b { font-size: 14px; } .dk-badge.sm .tx small { font-size: 11px; }
@keyframes dkSway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) scale(1.04); } }

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

/* 소개 */
.dk-start-ab, .dk-about { margin-top: 20px; border-radius: 18px; border: 1.5px solid #E6DAC2; background: #FBF6EC; text-align: left; }
.dk-start-ab summary, .dk-about summary { list-style: none; position: relative; display: block; padding: 16px 48px 16px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: #3A3226; }
.dk-start-ab summary::-webkit-details-marker, .dk-about summary::-webkit-details-marker { display: none; }
.dk-start-ab summary span { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: #6B604E; }
.dk-start-ab summary::after, .dk-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; }
.dk-start-ab[open] summary::after, .dk-about[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.dk-start-ab[open] summary, .dk-about[open] summary { border-bottom: 1px solid #E6DAC2; }
.dk-start-ab > :not(summary), .dk-about > :not(summary) { margin-left: 22px !important; margin-right: 22px !important; }
.dk-start-ab > :last-child, .dk-about > :last-child { margin-bottom: 18px; }
.dk-start-ab p, .dk-about p { font-size: 15px; line-height: 1.85; color: #374151; margin: 14px 0 0; overflow-wrap: break-word; }
.dk-ab-lead { padding: 12px 14px; border-radius: 12px; background: #F1EBE0; font-weight: 800; color: #9B1B26 !important; margin-top: 16px !important; }
.dk-start-ab h3, .dk-about h3 { margin: 26px 0 12px; font-size: 17px; font-weight: 800; }
.dk-ab-sub { font-size: 14px !important; color: #4E6A4A !important; }
.dk-how, .dk-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dk-how li { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: #F6EBD3; border: 1px solid #E3EFD9; }
.dk-how i { font-style: normal; font-size: 22px; }
.dk-how b { color: #5E1118; font-size: 15px; }
.dk-how span, .dk-uses span { font-size: 14px; line-height: 1.6; }
.dk-uses li { padding: 12px; border-radius: 12px; background: #F1EBE0; display: flex; flex-direction: column; gap: 4px; }
.dk-uses b { color: #9B1B26; font-size: 15px; }
.dk-caution { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #F6EBD3; border: 1px solid #E3EFD9; }
.dk-caution b { color: #2F6B3E; }
.dk-caution ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #5E1118; }
.dk-start-ab.dk-must { margin: 20px 0 0; border: 2px solid #9B1B26; background: #F7F2E8; box-shadow: 0 6px 16px rgba(155,27,38,.12); }
.dk-must > summary { text-align: center; padding: 16px 44px; }
.dk-must > summary b { display: block; font-size: 19px; font-weight: 900; color: #9B1B26; }
.dk-must:not([open]) > summary { animation: dkPulse 2.4s ease-in-out infinite; border-radius: 18px; }
.dk-mustnote { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #F6EBD3; color: #2F6B3E; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: left; }
@keyframes dkPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(155,27,38,0); } 50% { box-shadow: 0 0 0 6px rgba(155,27,38,.15); } }

/* 장면 그림  */
.dk-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; }
.dk-art svg { display: block; width: 100%; height: auto; }
.dk-art.hero { margin-top: 18px; transform: rotate(-1deg); }

/* 진행 */
.dk-play { text-align: left; }
.dk-gtag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #E7DDCB; color: #9B1B26; font-size: 13px; font-weight: 800; }
.dk-prog { height: 8px; border-radius: 4px; background: #DDE8F2; overflow: hidden; }
.dk-prog i { display: block; height: 100%; background: linear-gradient(90deg, #A9D18E, #9B1B26); transition: width .3s; }
.dk-meter { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.dk-meter span { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.dk-meter .r { background: #F6EBD3; color: #2F6B3E; }
.dk-meter .c { background: #E7DDCB; color: #9B1B26; }
.dk-meter b { font-size: 18px; font-weight: 900; margin-left: 2px; }
.dk-qn { margin: 20px 0 0; text-align: center; font-size: 13px; font-weight: 800; color: #8A7A44; }
.dk-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: dkIn .35s ease; }
.dk-card.tm { background: linear-gradient(160deg, #FBF6EC, #F1DEB8); border-color: #D6C6A6; }
.dk-card.tm .dk-card-tag { background: #2F6B3E; }
.dk-card-tag, .dk-story-tag, .dk-hist-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #9B1B26; color: #fff; font-size: 12px; font-weight: 800; }
.dk-card h2 { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 900; }
.dk-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: #374151; }
.dk-legend { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #FBF6EC; font-size: 14px; line-height: 1.7; color: #4A4A44; text-align: center; }
.dk-legend span { font-weight: 900; }
.dk-legend .a { color: #9B1B26; } .dk-legend .b { color: #2F6B3E; }

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

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

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

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

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

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

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

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

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

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

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

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