/* 타임머신! 1958 보훔 (glsbank) — 디자인 (세피아 + 숲 초록 + 밀 노랑) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; color: #1B1F1C; background: #F2EADB; background-image: linear-gradient(180deg, #2F4A33 0, #2F4A33 220px, #F2EADB 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 👤 인물 카드 (실존 인물 학습 정보): 통과 화면의 📜 진짜 역사·사진 다음, 성공 엔딩 연표 화면의 접이식 목록 */
.gb-people { position: relative; margin-top: 26px; padding: 26px 16px 16px; border-radius: 20px; background: #FBF6EC; border: 1.5px solid #D6C6A6; animation: gbIn .4s ease; }
.gb-people > .gb-story-tag { background: #2F4A33; color: #fff; }
.gb-person { min-width: 0; }
.gb-person + .gb-person { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #D6C6A6; }
.gb-person-hd { display: flex; gap: 12px; align-items: flex-start; }
.gb-person-pic { flex: none; width: 66px; height: 88px; border-radius: 14px; overflow: hidden; background: #FBF0D6; border: 1.5px solid #D6C6A6; }
.gb-person-pic svg { display: block; width: 100%; height: 100%; }
.gb-person-ini { flex: none; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #2F4A33; color: #fff; font: 900 20px/1 Georgia, "Pretendard", serif; letter-spacing: 1px; border: 3px solid #FBF0D6; box-shadow: 0 0 0 1.5px #2F4A33; }
.gb-person-nm { flex: 1; min-width: 0; }
.gb-person-nm b { display: block; font-size: 17px; font-weight: 900; color: #2F4A33; }
.gb-person-nm small { display: block; margin-top: 2px; font-size: 13px; color: #6B604E; overflow-wrap: anywhere; }
.gb-people .gb-person-nm p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; font-weight: 700; color: #374151; }
.gb-person-facts { margin: 10px 0 0; padding: 0 0 0 18px; list-style: disc; font-size: 14.5px; line-height: 1.7; color: #374151; }
.gb-person-facts li { margin-top: 3px; overflow-wrap: break-word; }
.gb-people .gb-person-coop { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #EEF5EF; font-size: 14px; line-height: 1.65; color: #374151; }
.gb-person-coop b { display: block; margin-bottom: 2px; font-size: 13.5px; font-weight: 800; color: #2F4A33; }
.gb-people .gb-person-quote { margin: 8px 0 0; font-size: 13px; line-height: 1.6; font-style: italic; color: #6B604E; }
.gb-person-quote span { display: block; font-style: normal; }
.gb-people .gb-person-src { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #6B604E; }
.gb-plist ul { list-style: none; margin-top: 12px; padding: 0; }
.gb-plist li { padding: 8px 0; border-bottom: 1px dashed #D6C6A6; font-size: 14px; line-height: 1.6; color: #374151; }
.gb-plist li:last-child { border-bottom: 0; }
.gb-plist li b { font-weight: 900; color: #2F4A33; }
.gb-plist li small { margin-left: 6px; font-size: 12.5px; color: #6B604E; }
.gb-plist li span { display: block; }
@media (max-width: 420px) { .gb-people { padding: 24px 14px 14px; } .gb-person-pic { width: 56px; height: 75px; } .gb-person-ini { width: 52px; height: 52px; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .gb-people { animation: none !important; } }
