/* Small phones keep complete boards; screen chrome uses only the space it needs. */
#mapScreen .topbar{position:relative;min-height:56px;justify-content:space-between}
#mapScreen .topbar .small-logo{position:absolute;left:50%;transform:translateX(-50%);width:clamp(108px,36vw,165px);height:54px;margin:0;object-fit:contain;pointer-events:none}
#mapScreen .topbar>.pill{margin-left:auto;max-width:calc(50% - 60px);min-width:0;gap:3px;padding:5px}
#mapScreen .topbar>.pill b{font-size:clamp(12px,3.7vw,16px);min-width:0;white-space:nowrap}
#mapScreen .topbar>.pill img{width:24px;height:24px}
#gameScreen .game-topbar{grid-template-columns:34px 38px minmax(0,1fr) 34px 34px 34px}
#gameScreen .game-topbar>.game-level-copy{grid-column:2/4}
#gameScreen #pieceGuideBtn{grid-column:4;grid-row:2;width:34px;height:34px;margin:0;padding:0;display:grid;place-items:center;border:2px solid #fff7d7;background:linear-gradient(#ffd880,#ffa34e);color:#854590;box-shadow:inset 0 1px #fff8d6,0 3px 0 #8c488b;font-size:0}
#pieceGuideBtn svg{width:23px;height:23px;fill:#fff6ae;stroke:#934389;stroke-width:1.8;stroke-linejoin:round}
#gameScreen #pauseBtn{grid-column:5}#gameScreen #gameSettingsBtn{grid-column:6}
#gameScreen .game-meta-slot:has(.boss-hud.hidden){display:none}
#gameScreen .goal-heading{gap:4px}#gameScreen .goal-panel .eyebrow{font-size:clamp(11px,3.3vw,14px)}
#gameScreen .board-stage{margin:auto}
.main-scatter-meter.ready{box-shadow:0 2px 0 #29124c;border-color:#ffdf9c}
.scatter-fourth-flash{box-shadow:0 0 24px #69caff,inset 0 0 16px #b7efff;animation:scatterThirdFlash .32s alternate infinite}
#board .scatter-arrival::after{content:'';position:absolute;inset:0;background:inherit;pointer-events:none;transform-origin:50% 65%;animation:wildArrival .38s cubic-bezier(.2,.7,.25,1) var(--wild-delay,0ms) both}
#bonusModal .bonus-title{position:relative;display:flex;align-items:center;justify-content:space-between}
#bonusModal #bonusTitle{position:absolute;left:50%;transform:translateX(-50%);width:calc(100% - 104px);max-width:280px;margin:0;text-align:center;flex:none}
#bonusModal #bonusTitle img{width:100%;height:64px;object-fit:contain;margin:auto}
#bonusModal .bonus-title .hub-close{margin-left:auto;z-index:1}
#bonusModal .bonus-lamb,#bonusModal .bonus-lamb-img{animation:none}
#bonusModal .bonus-scatter-landed .bonus-lamb-img{animation:lambArrivalPop .38s cubic-bezier(.2,.7,.25,1) both}
@keyframes lambArrivalPop{0%{transform:scale(.65)}45%{transform:scale(1.18)}72%{transform:scale(.94)}100%{transform:scale(1)}}
#bonusModal .bonus-gem-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:none;pointer-events:none}
#bonusModal .bonus-multiplier .multiplier-value{inset:12% 5% 0;z-index:1;font-size:clamp(14px,33cqw,31px);color:#fff;text-shadow:0 2px 1px #18354d,1px 0 #173044,-1px 0 #173044,0 -1px #173044;gap:0}
#bonusModal .gem-high .multiplier-value{font-size:clamp(13px,29cqw,28px);text-shadow:0 2px 1px #412c32,1px 0 #412c32,-1px 0 #412c32,0 -1px #412c32}
#bonusModal .gem-500 .multiplier-value{color:#fffbe6}
#bonusModal .bonus-multiplier .bonus-symbol{animation:none}
#bonusModal .bonus-multiplier .bonus-symbol.falling{animation:bonusIndividualDrop var(--drop-duration) cubic-bezier(.12,.82,.24,1.1) var(--drop-delay) both}
.lite-fx .piece,.lite-fx .bonus-trigger-img,.lite-fx .bonus-column-queen img{filter:none!important}
.lite-fx .tile,.lite-fx .bonus-tile{box-shadow:none!important}
.lite-fx .mascot-bob,.lite-fx .piece.bomb,.lite-fx .piece.nova,.lite-fx .spectacle-rays{animation:none!important}
.lite-fx .spectacle-strip{filter:none}.lite-fx .spectacle-lamb-aura{filter:none}
@media(max-width:360px){#gameScreen .game-topbar{grid-template-columns:32px 30px minmax(0,1fr) 32px 32px 32px;gap:3px}#gameScreen #pieceGuideBtn,#gameScreen .round.mini{width:32px;height:32px}#gameScreen .game-topbar .game-level-copy b{font-size:14px}#gameScreen .game-topbar .game-level-copy small{font-size:11px}#gameScreen .free-spin-buy{max-width:49%}.main-scatter-meter strong{font-size:13px}.main-scatter-meter span{font-size:12px}.main-scatter-meter{gap:5px;padding:2px 7px}.main-scatter-meter img{width:24px;height:24px}}
@media(max-height:620px){#gameScreen .game-topbar{--brand-row:48px;grid-template-rows:48px 32px;height:83px;min-height:83px}#gameScreen .game-header{height:48px;min-height:48px}#gameScreen .gesture-tip{font-size:11px;height:20px;min-height:20px}#bonusModal #bonusTitle img{height:40px}.main-scatter-meter{min-height:24px}.piece-guide-card{max-height:96%;padding:12px}.modal-card{max-height:calc(100% - 12px)}}
@media(orientation:landscape) and (max-height:600px){#gameScreen .game-topbar{grid-template-columns:28px 23px minmax(0,1fr) 28px 28px 28px;grid-template-rows:40px 28px;height:70px;min-height:70px;gap:2px}#gameScreen #pieceGuideBtn,#gameScreen .round.mini{width:28px;height:28px}#gameScreen .main-scatter-meter{grid-column:1;grid-row:5;align-self:start}.main-scatter-meter span{display:none}#bonusModal #bonusTitle{width:calc(100% - 78px)}#bonusModal #bonusTitle img{height:34px}#mapScreen .topbar .small-logo{height:38px}}
.app-shell.reduced-fx #board .scatter-arrival::after{display:none}
.app-shell.reduced-fx #bonusModal .bonus-scatter-landed .bonus-lamb-img{animation:none}
@media(prefers-reduced-motion:reduce){.scatter-fourth-flash,#board .scatter-arrival::after,#bonusModal .bonus-scatter-landed .bonus-lamb-img{animation:none}}
@media(orientation:landscape) and (max-height:600px){
 #gameScreen .game-topbar>.game-brand{grid-column:1/3;width:51px;height:40px}
 #gameScreen .game-topbar>.game-stats{grid-column:3/-1;justify-self:end;max-width:100%}
 #gameScreen .main-scatter-meter{margin:0;padding:0 5px;height:20px;min-height:20px;max-height:20px;gap:4px}
 #gameScreen .main-scatter-meter img{width:18px;height:18px}
 #gameScreen .main-scatter-meter strong{font-size:12px;line-height:1.1}
}
