body[data-gumball] .badge-stage{background:#80b8dc}
body[data-gumball] .top .mark{background:#edf8ff}
body[data-gumball] .top .mark img{object-fit:contain;filter:none}
.gumball-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;min-height:540px;padding:24px 20px;border-radius:16px;background:linear-gradient(160deg,#fff7e9,#dbeaf5);color:#172a2b;box-shadow:0 14px 26px rgba(40,78,107,.18)}
body[data-gumball] .stage-label{color:#265a79}
.gumball-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,360px);height:400px;padding:10px;border-radius:16px;background:radial-gradient(circle at 50% 48%,#fffdf8,#d9e7f2 90%);overflow:hidden}
.gumball-image-wrap img{display:block;flex:none;width:100%;height:100%;object-fit:contain;transition:transform .4s ease;transform:scale(.97)}
body[data-gumball]:not(.revealed) #characterImage{visibility:hidden!important;opacity:0!important}
body[data-gumball] #characterImage[hidden]{display:none!important}
body[data-gumball] #silhouetteImage[hidden]{display:none!important}
body[data-gumball].revealed #silhouetteImage{display:none!important}
body[data-gumball].revealed #characterImage{visibility:visible!important;opacity:1!important;filter:none!important;transform:scale(1)}
.stage-character-name{max-width:100%;font-size:clamp(24px,3vw,35px);font-weight:1000;line-height:1.1;text-align:center;text-wrap:balance;overflow-wrap:anywhere}
body[data-gumball] .result{padding:20px;background:#e5f5ee}
body[data-gumball] .result h3{margin:0 0 15px;font-size:28px;line-height:1.1}
body[data-gumball] .result #characterSource{display:inline-block;margin:0 0 16px;color:#14635c;font-weight:800;text-underline-offset:3px}
body[data-gumball] .result .next{width:100%}
@media(max-width:720px){.gumball-stage{min-height:440px}.gumball-image-wrap{height:320px}}
@media(max-width:520px){.gumball-stage{min-height:390px}.gumball-image-wrap{height:290px;width:min(100%,300px)}}
@media(prefers-reduced-motion:reduce){.gumball-image-wrap img{transition:none}}
