body[data-adventure-time] .badge-stage{background:#ef9849}
body[data-adventure-time] .top .mark{background:#fff0d8}
body[data-adventure-time] .top .mark img{object-fit:contain;filter:none}
.adventure-time-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,#fff1d7,#d7e4d3);color:#172a2b;box-shadow:0 14px 26px rgba(85,56,23,.2)}
body[data-adventure-time] .stage-label{color:#28645d}
.adventure-time-image-wrap{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%,#fffaf0,#d6d7bf 90%);overflow:hidden}
.adventure-time-image-wrap img{display:block;flex:none;width:100%;height:100%;object-fit:contain;filter:brightness(0);transition:transform .4s ease;transform:scale(.97)}
body[data-adventure-time]:not(.revealed) .adventure-time-image-wrap img{filter:brightness(0)!important}
body[data-adventure-time].revealed .adventure-time-image-wrap img{filter:none;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-adventure-time] .result{padding:20px;background:#e5f5ee}
body[data-adventure-time] .result h3{margin:0 0 15px;font-size:28px;line-height:1.1}
body[data-adventure-time] .result #characterSource{display:inline-block;margin:0 0 16px;color:#14635c;font-weight:800;text-underline-offset:3px}
body[data-adventure-time] .result .next{width:100%}
@media(max-width:720px){.adventure-time-stage{min-height:440px}.adventure-time-image-wrap{height:320px}}
@media(max-width:520px){.adventure-time-stage{min-height:390px}.adventure-time-image-wrap{height:290px;width:min(100%,300px)}}
@media(prefers-reduced-motion:reduce){.adventure-time-image-wrap img{transition:none}}
