/* 덩어리 블랙홀 (/grammar/participle/hole.jsp, 2026-10-19). 틀(.pa-*)은 css/ps2-participle-arcade.css, 여기는 색 · 문장 띠 · 로비 그림(.pho-*) */
#main .gi .pa--hole { --pa-bg1: #0b1226; --pa-bg2: #241455; --pa-glow: #fcd34d; --pa-halo: rgba(103, 232, 249, .22); --pa-win: #1e3a8a; --pa-accent: #4f46e5; }

/* 위의 문장 띠: 삼킨 낱말은 금빛, 끝나면 덩어리(금빛) · 짝(하늘빛) */
#main .gi .pa--hole .pho-ask { font-size: clamp(15px, 2vw, 19px); line-height: 1.75; }
#main .gi .pa--hole .pho-wp { white-space: nowrap; }
#main .gi .pa--hole .pho-w { display: inline-block; padding: 0 2px; border-radius: 6px; transition: background .2s, color .2s; }
#main .gi .pa--hole .pho-w.is-got { background: rgba(252, 211, 77, .2); color: #fde68a; box-shadow: inset 0 -2px 0 rgba(252, 211, 77, .7); }
#main .gi .pa--hole .pho-w.is-c { background: #fde68a; color: #3b1d02; }
#main .gi .pa--hole .pho-w.is-v { background: #67e8f9; color: #083344; }
#main .gi .pa--hole .pa-q .pa-ask mark.is-done { border-style: solid; background: #fde68a; color: #3b1d02; }
#main .gi .pa--hole .pho-meter { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
#main .gi .pa--hole .pho-meter i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c7d2fe; }
#main .gi .pa--hole .pho-meter i.is-on { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, .25); }

/* '왜' 카드 · 결과의 맞는 문장: 덩어리는 초록 표시(틀), 짝은 하늘빛 밑줄 */
#main .gi .pa--hole .pa-sent .pho-v { font-weight: 900; padding: 0 4px; border-radius: 6px; background: #cffafe; color: #155e75; box-shadow: inset 0 -2px 0 #06b6d4; }
#main .gi .pa--hole .pho-mine b { padding: 0 5px; border-radius: 6px; background: #fee2e2; color: #991b1b; }
#main .gi .pa--hole .pa-card__mine.pho-mine, #main .gi .pa--hole .pa-card__mine .pho-mine { color: #7f1d1d; }

/* 로비 그림: 밤의 도시 거리에 낱말이 줄지어 있고, 블랙홀이 walking → a big dog 을 삼킨 뒤 짝 is 가 빛난다 (6초마다 되풀이) */
#main .gi .pa--hole .pa-hero__art { height: 250px; background: radial-gradient(120% 90% at 50% 40%, #142147 0%, #0a1230 55%, #03060e 100%); box-shadow: inset 0 0 0 1.5px rgba(103, 232, 249, .3); }
#main .gi .pa--hole .pho-hero__city { position: absolute; inset: 0; opacity: .55;
    background-image: linear-gradient(rgba(253, 230, 138, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(253, 230, 138, .09) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, .25) 0 2px, transparent 3px), radial-gradient(circle at 70% 70%, rgba(251, 191, 36, .2) 0 2px, transparent 3px);
    background-size: 46px 46px, 46px 46px, 92px 92px, 92px 92px; }
#main .gi .pa--hole .pho-hero__road { position: absolute; left: 4%; right: 4%; top: 31%; height: 108px; border-radius: 54px; background: rgba(148, 163, 184, .08); box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .12); }
#main .gi .pa--hole .pho-hero__w { position: absolute; z-index: 2; display: grid; place-items: center; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 800; color: #f8fafc; white-space: nowrap;
    background: linear-gradient(#22325a, #111c38); box-shadow: 0 0 0 1.5px rgba(103, 232, 249, .55), 0 6px 16px rgba(2, 6, 23, .6); }
#main .gi .pa--hole .pho-hero__w--1 { left: 8%; top: 35%; }
#main .gi .pa--hole .pho-hero__w--2 { left: 34%; top: 35%; animation: pho-eat1 6s ease-in-out infinite; }
#main .gi .pa--hole .pho-hero__w--3 { left: 60%; top: 35%; animation: pho-eat2 6s ease-in-out infinite; }
#main .gi .pa--hole .pho-hero__w--4 { left: 16%; top: 57%; animation: pho-verb 6s ease-in-out infinite; }
#main .gi .pa--hole .pho-hero__w--4 i { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); padding: 0 7px; border-radius: 9px; background: #06b6d4; color: #fff; font-style: normal; font-size: 11px; line-height: 17px; opacity: 0; animation: pho-badge 6s ease-in-out infinite; }
#main .gi .pa--hole .pho-hero__w--5 { left: 36%; top: 57%; }
#main .gi .pa--hole .pho-hero__hole { position: absolute; z-index: 1; left: 0; top: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
    background: radial-gradient(circle, #000 0 58%, #03030a 70%, rgba(103, 232, 249, .5) 92%, #67e8f9 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 0 22px rgba(103, 232, 249, .7), 0 0 0 10px rgba(0, 0, 0, .35); animation: pho-hole 6s ease-in-out infinite; }
#main .gi .pa--hole .pho-hero__bar { position: absolute; z-index: 3; left: 50%; bottom: 6%; transform: translateX(-50%); white-space: nowrap; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
    color: #e2e8f0; background: rgba(2, 6, 23, .7); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
#main .gi .pa--hole .pho-hero__bar b { color: #fde68a; }
#main .gi .pa--hole .pho-hero__bar i { font-style: normal; color: #67e8f9; font-weight: 900; }
@keyframes pho-hole {
    0% { left: 50%; top: 88%; transform: scale(.9); }
    18%, 30% { left: calc(34% + 40px); top: calc(35% + 17px); transform: scale(1); }
    44%, 56% { left: calc(60% + 50px); top: calc(35% + 17px); transform: scale(1.12); }
    72%, 100% { left: 80%; top: 80%; transform: scale(1.2); }
}
@keyframes pho-eat1 { 0%, 22% { transform: none; opacity: 1; } 30% { transform: translate(6px, 2px) scale(.1) rotate(160deg); opacity: 0; } 30.1%, 92% { opacity: 0; transform: scale(.1); } 100% { opacity: 1; transform: none; } }
@keyframes pho-eat2 { 0%, 48% { transform: none; opacity: 1; } 56% { transform: translate(-4px, 2px) scale(.1) rotate(-160deg); opacity: 0; } 56.1%, 92% { opacity: 0; transform: scale(.1); } 100% { opacity: 1; transform: none; } }
@keyframes pho-verb { 0%, 58% { background: linear-gradient(#22325a, #111c38); color: #f8fafc; } 64%, 92% { background: linear-gradient(#cffafe, #0891b2); color: #083344; box-shadow: 0 0 0 1.5px #cffafe, 0 0 18px rgba(34, 211, 238, .8); } 100% { background: linear-gradient(#22325a, #111c38); } }
@keyframes pho-badge { 0%, 60% { opacity: 0; } 66%, 92% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 760px) {
    #main .gi .pa--hole .pa-hero__art { height: 200px; }
    #main .gi .pa--hole .pho-hero__w { height: 28px; padding: 0 8px; font-size: 12px; }
    #main .gi .pa--hole .pho-hero__road { height: 90px; }
    #main .gi .pa--hole .pho-ask { font-size: 15px; line-height: 1.65; }
    #main .gi .pa--hole .pa-q { padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #main .gi .pa--hole .pho-hero__hole { left: 80%; top: 80%; }
    #main .gi .pa--hole .pho-hero__w--4 i { opacity: 1; }
}
