/* BLUFF mobile layout correction: real interactive layout, no rasterized UI. */
:root{--bl-gold:#f3c366;--bl-blue:#62b9ed;--bl-purple:#9269d8}
.scene{background:radial-gradient(ellipse at 52% 25%,rgba(28,57,114,.46),transparent 55%),linear-gradient(180deg,#060c25 0%,#0b1733 55%,#060c25 100%)}
.scene:before{opacity:.10}
.shell{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));}
.top{min-height:44px;margin-bottom:4px}
.top-home{min-height:48px}
.home-intro{margin:8px auto 0}
.home-intro h1{font-size:clamp(28px,7.5vw,37px);line-height:1.25;margin:8px 0}
.home-intro p{font-size:13px;margin:6px auto}
.scene-home .home-portal{height:156px;margin:0 auto 4px;background:radial-gradient(ellipse at 50% 72%,rgba(44,89,155,.35),transparent 60%)}
.scene-home .home-portal .gem{height:158px;width:170px;filter:drop-shadow(0 6px 15px rgba(218,159,79,.25))}
.home-wallet>div{padding:8px 4px}
.home-wallet strong{font-size:18px}
.home-actions{margin-top:9px}
.home-actions .btn{min-height:52px}
/* The approved image is an illustration, not a 320px-tall background with duplicated baked-in cards. */
.scene-question .puzzle-v5{padding-top:8px}
.scene-question .puzzle-v5:before{content:none!important;display:none!important}
.scene-question .puzzle-head{padding:0 4px 12px!important;display:grid;justify-items:center;gap:3px}
.scene-question .puzzle-head .puzzle-emblem{display:grid!important;width:84px;height:84px;margin:5px auto 2px;background:radial-gradient(circle,rgba(61,109,183,.18),transparent 70%);border:0;box-shadow:none;transform:none}
.scene-question .puzzle-head .puzzle-emblem img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 13px rgba(231,178,78,.28))}
.scene-question .puzzle-head h1{font-size:clamp(26px,7vw,33px);margin:1px 0}
.scene-question .puzzle-head p{font-size:13px;margin:0 0 3px}
.scene-question .puzzle-card{border:1px solid rgba(110,145,228,.55);border-radius:22px;background:linear-gradient(145deg,rgba(16,33,72,.96),rgba(7,18,45,.97));box-shadow:0 0 17px rgba(73,111,205,.12);padding:12px 10px}
.scene-question .puzzle-card-label{font-size:13px;color:#b9c8e6;margin:2px 0 10px}
.scene-question .puzzle-choices{gap:10px}
.scene-question .puzzle-choices .choice{min-height:75px;padding:10px 12px;border:1px solid rgba(94,146,225,.6);border-radius:15px;background:linear-gradient(120deg,#162e5b,#102149);box-shadow:inset 0 1px rgba(255,255,255,.06);font-size:clamp(14px,3.8vw,16px)}
.scene-question .puzzle-choices .choice.selected{border:2px solid #f3c366;box-shadow:0 0 12px rgba(243,195,102,.15)}
.scene-question .puzzle-choices .choice.correct{border:2px solid #62d6af}
.scene-question .puzzle-choices .choice.wrong{border:2px solid #ff879e}
.scene-question .puzzle-actions{margin-top:9px}
.scene-question .puzzle-actions .btn,.scene-question .puzzle-actions .hintbtn{min-height:51px}
@media(max-height:760px){.scene-question .puzzle-head .puzzle-emblem{width:62px;height:62px}.scene-question .puzzle-choices .choice{min-height:65px}.scene-home .home-portal{height:128px}.scene-home .home-portal .gem{height:130px}}
@media(max-width:360px){.scene-question .puzzle-head .puzzle-emblem{width:66px;height:66px}.scene-question .puzzle-choices .choice{min-height:68px;padding:9px}.home-intro h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.scene-home .home-portal .gem{animation:none}}
