
/* ===== 작업 U · 177 · 180번: 큰 까망 응원 크레딧(uicheer.js) =====
   크레딧 판(#kk-cred, z 9190: 큰 까망 z 9200 아래) · 학생 말풍선(#kb-hero.kbh-me, 오른쪽 흰 말풍선 '나') · 바탕 한 번 더 어둡게(body.kk-egg-on, 작업 J dimIn이 오면 걷음)
   글자 흰색은 rgb(255, 255, 255)로(ui389가 #fff를 바꾸므로) */
#kk-cred { position: fixed; inset: 0; z-index: 9190; background: radial-gradient(120% 80% at 50% 110%, color-mix(in srgb, var(--brand) 38%, #07060f) 0, #07060f 62%); color: rgb(255, 255, 255); opacity: 0; transition: opacity .6s ease; overflow: hidden; }
#kk-cred.in { opacity: 1; }
#kk-cred .kc-view { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(transparent 0, #000 16%, #000 86%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 16%, #000 86%, transparent 100%); }
#kk-cred .kc-roll { position: absolute; left: 0; right: 0; top: 0; padding: 0 28px; text-align: center; will-change: transform; }
#kk-cred .kc-ttl { margin: 0 0 42px; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; color: color-mix(in srgb, var(--brand) 40%, white); }
#kk-cred .kc-k { margin: 0 0 6px; font-size: .82rem; letter-spacing: .08em; color: rgba(255, 255, 255, .62); }
#kk-cred .kc-v { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.5; word-break: keep-all; }
#kb-hero.kbh-me .kbh-bub { left: auto !important; right: 16px; bottom: calc(var(--kbh-ub) + 26px); border-radius: 18px 18px 4px 18px; color: var(--ink, #1b1b2b); background: var(--card, #fff); border: 1.5px solid color-mix(in srgb, var(--brand) 55%, transparent); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .25)); transform-origin: 100% 100%; }
#kb-hero.kbh-me .kbh-bub::before { content: '나'; display: block; margin: -2px 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--brand); }
#kb-hero.kbh-me .kbh-next { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
#kk-cred .kc-fin { position: absolute; left: 24px; right: 24px; top: 46%; margin: 0; text-align: center; font-size: 1.22rem; font-weight: 600; line-height: 1.6; word-break: keep-all; color: rgb(255, 255, 255); opacity: 0; transform: translateY(14px); transition: opacity 1.6s ease, transform 1.6s ease; text-shadow: 0 0 24px color-mix(in srgb, var(--brand) 60%, transparent); }
#kk-cred.kc-fin-on .kc-fin { opacity: 1; transform: none; }
#kk-cred .kc-sec { margin: 54px 0 22px; font-size: .9rem; font-weight: 700; letter-spacing: .12em; color: color-mix(in srgb, var(--brand) 45%, white); }
#kk-cred .kc-sec::before, #kk-cred .kc-sec::after { content: ''; display: inline-block; width: 22px; height: 1px; margin: 0 10px; vertical-align: middle; background: currentColor; opacity: .6; }
#kk-cred .kc-row { margin-bottom: 22px; }
#kk-cred.kc-rm .kc-view { overflow-y: auto; }
#kk-cred.kc-rm .kc-roll { position: static; padding: 60px 28px; transform: none !important; }
body.kk-egg-on #kb-hero .kbh-dim { animation: kkEggDim 1.3s ease-out 1 forwards; }
body.kk-egg-on #kb-hero::after { content: ''; position: absolute; left: calc(var(--kbh-bl) + var(--kbh-s) * .45); bottom: calc(var(--kbh-bb) + var(--kbh-s) * .55); width: 10px; height: 10px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, white) 0, transparent 70%); transform: translate(-50%, 50%) scale(0); opacity: 0; animation: kkEggGlow 1.4s ease-out .45s 1 forwards; z-index: 0; }
body.kk-egg-on #kb-hero .kbh-bird, body.kk-egg-on #kb-hero .kbh-bub { z-index: 1; }
@keyframes kkEggDim { 0% { opacity: 0; } 25% { opacity: 1; background: rgba(4, 3, 12, .9); } 100% { opacity: 1; background: rgba(10, 8, 26, .64); } }
@keyframes kkEggGlow { 0% { opacity: 0; transform: translate(-50%, 50%) scale(0); } 35% { opacity: .85; } 100% { opacity: 0; transform: translate(-50%, 50%) scale(60); } }
@media (prefers-reduced-motion: reduce) { body.kk-egg-on #kb-hero .kbh-dim, body.kk-egg-on #kb-hero::after { animation: none; } #kk-cred, #kk-cred .kc-fin { transition: none; } }

