/* 우리초 협동조합 대작전 — 디자인 (seongga 디자인을 바탕으로 함, 학교 남색 + 연두 + 노랑) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; color: #1B1F1C; background: #EEF5E4; background-image: linear-gradient(180deg, #1F3A5F 0, #1F3A5F 220px, #EEF5E4 220px); word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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