/* 타임머신! 1966 원주 (wonju) — 디자인 (논 초록 + 벼 금빛 + 흙빛 · 쌀 크림) */
* { 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, #2F5A34 0, #2F5A34 220px, #EFE4CF 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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