/* PC review: clearer values and reachable navigation on compact screens. */
.review-modal-card>*{flex-shrink:0}
.review-modal-card .dialog-header{position:sticky;top:-14px;z-index:6;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;align-items:center;margin:-14px -14px 0;padding:10px 12px;background:#fff5ee;border-bottom:1px solid #ead2de;box-shadow:0 3px 6px #803b6810;border-radius:20px 20px 0 0}
.dialog-header h2{margin:0;font:900 clamp(21px,5.7vw,28px)/1.15 'Baloo 2',sans-serif;color:#793566}
.dialog-header button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:2px solid #fff;border-radius:14px;color:#783465;background:linear-gradient(#f5e6f4,#e9d2e8);box-shadow:0 2px 0 #b58aab40;text-shadow:none}
.dialog-header svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.dialog-header button:focus-visible{outline:3px solid #8635b1;outline-offset:2px}
.review-modal-card>.modal-hero-icon{margin:0 auto;width:58px;height:58px}
.hub-heading,.hub-tabs{flex-shrink:0}
.hub-body{grid-auto-rows:max-content;align-content:start;overscroll-behavior:contain}
.hub-body .bonus-hero{min-height:164px;display:grid;grid-template-rows:80px auto auto;justify-items:center;align-content:center;gap:5px;padding:12px}
.hub-body .bonus-hero .bonus-mascot{position:static;width:80px;height:80px;min-height:80px;object-fit:contain;margin:0}
.hub-body .bonus-hero b{font-size:29px;line-height:1.15}.hub-body .bonus-hero p{margin:0;line-height:1.3}
.credit-packs .credit-pack{container-type:inline-size;display:grid;grid-template-rows:34px 88px 30px 15px 28px 23px;align-content:start;justify-items:center;gap:3px;min-height:248px;padding:10px 8px}
.credit-packs .pack-title{display:grid;align-items:center;width:100%;min-height:34px;font:900 13px/1.25 Nunito,sans-serif}
.credit-packs strong{width:100%;min-width:0;font:1000 clamp(18px,15cqw,26px)/1.2 Nunito,sans-serif;letter-spacing:-.035em;color:#70442b;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center}
.credit-packs .pack-label{font:800 11px/1.2 Nunito,sans-serif;color:#705265}
.credit-packs .pack-price{display:grid;place-items:center;width:calc(100% - 8px);min-height:28px;border-radius:10px;background:#ffffffa3;font:1000 18px/1.2 Nunito,sans-serif;color:#733c78;text-shadow:none}
.credit-packs .pack-state{display:grid;place-items:center;max-width:100%;min-height:22px;margin:0;padding:2px 5px;font:800 9px/1.25 Nunito,sans-serif;color:#745e70}
.credit-boosters button{display:grid;grid-template-rows:44px 20px 36px;gap:4px;min-height:126px;padding:9px 4px;align-content:center;text-shadow:none}
.credit-boosters button small{display:grid;justify-items:center;align-content:center;gap:3px;font:800 11px/1.2 Nunito,sans-serif}
.credit-boosters .booster-cost{color:#733d72}.credit-boosters .booster-yield{color:#6e6470;font-size:10px}
#homeScreen #onlineBtn{min-height:62px;padding:9px 12px;row-gap:3px;background:linear-gradient(110deg,#fff9eb,#f0e1f6);border-color:#fff;border-width:2px;box-shadow:0 3px 0 #c894b345}
#homeScreen #onlineBtn>b{font-size:18px}#homeScreen #onlineBtn .account-status{font-size:11px;max-width:100%;white-space:normal}
#gameScreen{--game-chrome:366px}
#gameScreen .game-topbar{--brand-row:clamp(68px,18vw,78px);grid-template-columns:40px 58px minmax(0,1fr) 34px 34px}
#gameScreen .game-stats .score-frame{gap:5px}
#gameScreen .game-stats .score-frame::after{content:"";position:absolute;top:5px;bottom:5px;left:calc(50% - .5px);width:1px;background:#bc97a4;pointer-events:none}
#gameScreen .game-stats .stat-label{font-size:12px}
#gameScreen .game-stats .game-credit-line{background:linear-gradient(#f1e4f6,#d3bddf)}
.pc-demo-tag{position:fixed;left:12px;bottom:12px;z-index:2;padding:6px 10px;border:1px solid #e7bfdd;border-radius:12px;background:#fff6eeef;color:#773d72;font:900 11px/1.2 Nunito,sans-serif;pointer-events:none}
.pc-demo-panel{display:grid;gap:7px;padding:12px;border:2px solid #dbb9e8;border-radius:17px;background:linear-gradient(#f6eafa,#fff5e5)}
.pc-demo-panel>strong{font:900 16px/1.2 Nunito,sans-serif;color:#743c76}.pc-demo-panel p{margin:0;font-size:12px}
.pc-demo-panel button{min-height:44px}
@media(max-height:700px){#homeScreen #onlineBtn{min-height:54px;padding:6px 11px}#homeScreen #onlineBtn>b{font-size:16px}#homeScreen #onlineBtn .account-status{font-size:10px}#gameScreen{--game-chrome:352px}}
@media(max-height:600px){#homeScreen .home-hero{height:160px}#homeScreen #onlineBtn{min-height:48px;padding:4px 10px}#homeScreen #onlineBtn>b{font-size:15px}#homeScreen #onlineBtn .account-status{font-size:9.5px}#gameScreen{--game-chrome:263px}#gameScreen .game-topbar{--brand-row:60px;grid-template-rows:60px 30px;height:93px;min-height:93px}.pc-demo-tag{display:none}}
@media(orientation:landscape) and (max-height:600px){#gameScreen .game-topbar{--brand-row:44px;grid-template-columns:28px 46px minmax(0,1fr) 28px 28px;grid-template-rows:44px 28px;height:74px;min-height:74px}#gameScreen .game-topbar>.game-brand{height:44px}#gameScreen{grid-template-rows:74px 48px 26px 36px minmax(84px,1fr)}}
@media(max-width:500px){.pc-demo-tag{display:none}}
@media(orientation:landscape) and (max-height:600px){
 #homeScreen.active{display:grid;grid-template-columns:40% minmax(0,1fr);grid-template-rows:39px repeat(5,minmax(0,1fr));gap:4px 8px;padding:4px 10px calc(65px + env(safe-area-inset-bottom))}
 #homeScreen>.topbar{grid-column:1/-1;grid-row:1;min-height:0;height:39px}
 #homeScreen .home-hero{grid-column:1;grid-row:2/7;height:100%;min-height:0}
 #homeScreen .feature-grid{grid-column:2;grid-row:2;height:100%;min-height:0;gap:5px}
 #homeScreen .feature-card{height:100%;min-height:0;padding:3px 6px;gap:4px}#homeScreen .feature-card img{height:29px;width:32px}#homeScreen .feature-card b{font-size:13px}#homeScreen .feature-card small{font-size:8px}
 #homeScreen .season{grid-column:2;grid-row:3;height:100%;min-height:0;padding:3px 7px}#homeScreen .season-heading img{height:24px;width:24px}#homeScreen .season-heading small{display:none}#homeScreen .season-bar{height:6px}
 #homeScreen .utility-grid{grid-column:2;grid-row:4;height:100%;min-height:0;gap:5px}#homeScreen .utility-card{height:100%;min-height:0;padding:2px;gap:1px}#homeScreen .utility-card img{height:25px}#homeScreen .utility-card b{font-size:11px}
 #homeScreen #onlineBtn{grid-column:2;grid-row:5;height:100%;min-height:0;padding:3px 9px;row-gap:1px}#homeScreen #onlineBtn>b{font-size:15px}#homeScreen #onlineBtn .account-status{font-size:9px}
 #homeScreen .community-dock{grid-column:2;grid-row:6;height:100%;min-height:0}#homeScreen .community-dock button{height:100%;min-height:0;padding:2px 1px;font-size:9px;gap:0}#homeScreen .community-dock img{height:21px;width:28px}
}

/* Narrated v40 review: three clear bottom actions, without duplicate account entry. */
#bottomNav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;height:78px}
#bottomNav #onlineBtn{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;height:100%;min-height:0;padding:3px 2px;border:0;border-radius:21px;background:transparent;box-shadow:none;text-align:center;text-shadow:none}
#bottomNav #onlineBtn>b{font:1000 clamp(10px,2.9vw,12px)/1.1 Nunito,sans-serif;color:#68345f;max-width:100%;white-space:normal}
#bottomNav #onlineBtn .connection-dot,#bottomNav #onlineBtn .account-status,#bottomNav #onlineBtn .account-arrow{display:none}
.nav-account-icon{flex:none;display:block;width:34px;height:38px;fill:#e8d4fa;stroke:#8a4c9f;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 1px #b17e9a30)}
#bottomNav #onlineBtn:focus-visible{outline:3px solid #8635b1;outline-offset:-3px}
#homeScreen .home-hero{height:min(34dvh,350px)}
#homeScreen .community-dock{margin-bottom:1px}
#communityModal{animation:none;backdrop-filter:none;background:#31174180}
#hubBody{overflow-anchor:none}
.hub-heading,.hub-tabs{contain:layout style}
#appInfoModal .app-credits>div{grid-template-columns:116px minmax(0,1fr)}
#appInfoModal .app-credits dt{font-size:11px}#appInfoModal .app-credits dd{min-width:0;overflow-wrap:anywhere}

/* The two counters have their own readable place above and below the playfield. */
#bonusModal .bonus-card{gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
#bonusModal .bonus-playfield{display:flex;flex-direction:column;flex:1 1 0;min-height:0;width:100%;align-items:center;justify-content:center;gap:10px}
#bonusModal .bonus-dashboard{display:block;flex:none;width:var(--bonus-board-width);height:64px;min-height:64px}
#bonusModal #bonusMultiplierMeter{height:100%;min-height:0;padding:6px 10px;gap:3px;border-radius:18px}
#bonusModal #bonusMultiplierMeter>small{font-size:12px;line-height:1.15}
#bonusModal .bonus-stage{flex:none;margin:0;grid-column:auto;grid-row:auto}
#bonusModal .bonus-footer{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.6fr);gap:7px;height:60px;min-height:60px;flex:none}
#bonusModal #bonusRemainingMeter{height:100%;border-radius:18px;gap:1px}
#bonusModal #bonusRemainingMeter>small{font-size:10px;line-height:1.2}
#bonusModal #bonusRemainingMeter>strong{font-size:26px;line-height:1.05}
#bonusModal #bonusRemainingMeter>span{font-size:9px}
#bonusModal .bonus-footer .bonus-bank{height:100%;min-height:0;padding:5px 5px 5px 55px;gap:2px}
#bonusModal .bonus-companion{width:58px;height:73px;bottom:1px;left:0}
#bonusModal .bonus-bank #bonusTotalTitle{font-size:10px;line-height:1.15}
#bonusModal .bonus-bank #bonusTotal{font-size:clamp(16px,5vw,24px)!important;line-height:1.2;padding:0;white-space:nowrap}
#bonusModal .bonus-earned{height:28px;min-height:28px;flex:none;display:flex;align-items:center;justify-content:center;font:900 clamp(11px,3.1vw,15px)/1.2 Nunito,sans-serif;padding:3px 6px;white-space:normal;overflow-wrap:anywhere}
#bonusModal .bonus-actions{height:37px;min-height:37px;flex:none;margin:0}
#bonusModal .bonus-rule{height:100%;max-width:100%;padding:3px 8px;gap:4px}
#bonusModal .bonus-rule img{width:25px;height:27px;object-fit:contain}
#bonusModal .bonus-rule strong{font:900 13px/1.2 Nunito,sans-serif;white-space:nowrap}
#bonusModal #bonusHint{position:static;flex:none;min-height:14px;height:auto;margin:0;padding:0 4px;text-align:center;font:800 10px/1.4 Nunito,sans-serif;color:#f7e5ff}
#bonusModal #bonusDone{min-height:37px;height:auto;font-size:13px;padding:6px;width:100%}
#bonusModal .bonus-reward-copy h2{font-size:clamp(24px,10cqw,46px)}
@media(max-width:360px){#appInfoModal .app-credits>div{grid-template-columns:100px minmax(0,1fr)}#bonusModal .bonus-footer{grid-template-columns:85px minmax(0,1fr)}#bonusModal .bonus-bank #bonusTotal{font-size:17px!important}}
@media(max-height:600px){
 #bottomNav{height:60px}#bottomNav button img{width:27px;height:28px}.nav-account-icon{width:25px;height:28px}#bottomNav #onlineBtn>b{font-size:10px}
 #homeScreen .home-hero{height:190px}
 #bonusModal .bonus-card{gap:5px;padding:5px 9px}
 #bonusModal .bonus-title{height:38px;min-height:38px}
 #bonusModal .bonus-dashboard{height:50px;min-height:50px}
 #bonusModal .bonus-calculation-row>strong{font-size:23px}
 #bonusModal .bonus-footer{height:49px;min-height:49px}
 #bonusModal .bonus-companion{height:57px;width:47px}
 #bonusModal .bonus-footer .bonus-bank{padding-left:43px}
 #bonusModal .bonus-earned{height:24px;min-height:24px}
 #bonusModal .bonus-actions{height:30px;min-height:30px}
 #bonusModal .bonus-rule img{width:21px;height:23px}
 #bonusModal .bonus-rule strong{font-size:11px}
 #bonusModal #bonusHint{font-size:9px;min-height:13px}
}
@media(orientation:landscape) and (max-height:600px){
 #homeScreen.active{grid-template-rows:39px repeat(4,minmax(0,1fr))}
 #homeScreen .home-hero{grid-row:2/6;height:100%;min-height:0}
 #homeScreen .community-dock{grid-column:2;grid-row:5}
 #bonusModal .bonus-card{display:grid;grid-template-columns:minmax(175px,27%) minmax(0,1fr);grid-template-rows:38px minmax(24px,1fr) 99px 31px 14px;gap:5px 13px;padding:7px 11px}
 #bonusModal .bonus-title{grid-column:1;grid-row:1;min-width:0}
 #bonusModal .bonus-playfield{grid-column:2;grid-row:1/-1;height:100%;gap:7px}
 #bonusModal .bonus-dashboard{height:49px;min-height:49px}
 #bonusModal .bonus-earned{grid-column:1;grid-row:2;height:auto;min-height:24px;align-self:center}
 #bonusModal .bonus-footer{grid-column:1;grid-row:3;height:99px;min-height:99px;grid-template-columns:minmax(0,1fr);grid-template-rows:44px 49px;gap:6px}
 #bonusModal .bonus-actions{grid-column:1;grid-row:4}
 #bonusModal #bonusHint{grid-column:1;grid-row:5;font-size:8px;line-height:1.3;min-width:0;min-height:12px}
 #bonusModal .bonus-bank #bonusTotal{font-size:18px!important}
 #bonusModal .bonus-rule{padding:2px;gap:2px}#bonusModal .bonus-rule img{width:18px;height:21px}#bonusModal .bonus-rule strong{font-size:10px}
}
/* Six increasingly substantial pack illustrations, with readable prices below. */
.credit-packs .credit-pack{border:1.5px solid #fff8de;box-shadow:inset 0 0 0 1px #d3a3b330,0 4px 8px #79456416;background:linear-gradient(145deg,#fbfff1,#efecdd 63%,#ead5e1)}
.credit-packs .tier-2{background:linear-gradient(145deg,#f9ffe8,#e1eedc 58%,#e7d0dd)}
.credit-packs .tier-3{background:linear-gradient(145deg,#fff7e2,#efd4e4 58%,#d6c6e5)}
.credit-packs .tier-4{background:linear-gradient(145deg,#fff4da,#ebcee5 58%,#ccbee1)}
.credit-packs .tier-5{background:linear-gradient(145deg,#f5e9fc,#dec6ed 58%,#baacd6);border-color:#f4dca7}
.credit-packs .tier-6{background:linear-gradient(145deg,#f8e9fb,#d1b8e4 58%,#ac9bcf);border-color:#e8c685;box-shadow:inset 0 0 0 1px #96639730,0 4px 9px #79456424}
.credit-packs .credit-pack-art{width:132px;height:88px;max-width:100%;overflow:visible}
.pack-vessel{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0}
.credit-packs .credit-pack-art .pack-cash{width:58px;height:42px;filter:drop-shadow(0 2px 1px #1d4b3628)}
.credit-packs .bundle-tier-1 .cash-1{width:88px!important;height:62px!important;bottom:11px;left:calc(50% - 44px)}
.credit-packs .bundle-tier-2 .cash-1{left:17px;bottom:18px;transform:rotate(-9deg)}.credit-packs .bundle-tier-2 .cash-2{right:12px;bottom:33px;transform:rotate(8deg)}
.credit-packs .bundle-tier-3 .cash-1,.credit-packs .bundle-tier-4 .cash-1,.credit-packs .bundle-tier-5 .cash-1,.credit-packs .bundle-tier-6 .cash-1{left:8px;bottom:14px}
.credit-packs .bundle-tier-3 .cash-2,.credit-packs .bundle-tier-4 .cash-2,.credit-packs .bundle-tier-5 .cash-2,.credit-packs .bundle-tier-6 .cash-2{right:8px;bottom:14px}
.credit-packs .bundle-tier-3 .cash-3{left:calc(50% - 29px);bottom:37px}
.credit-packs .bundle-tier-4 .cash-3{left:8px;bottom:35px}.credit-packs .bundle-tier-4 .cash-4{right:8px;bottom:35px}
.credit-packs .bundle-tier-5 .cash-3,.credit-packs .bundle-tier-6 .cash-3{left:calc(50% - 29px);bottom:25px}
.credit-packs .bundle-tier-5 .cash-4,.credit-packs .bundle-tier-6 .cash-4{left:9px;bottom:44px}.credit-packs .bundle-tier-5 .cash-5,.credit-packs .bundle-tier-6 .cash-5{right:9px;bottom:44px}
.credit-packs .bundle-tier-6 .cash-6{left:calc(50% - 29px);bottom:55px}
.pack-seal{position:absolute;right:calc(50% - 11px);bottom:0;z-index:9;display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff0b5;border-radius:50%;background:linear-gradient(#f9d783,#c28b4a);font-style:normal;color:#80502e;box-shadow:0 2px 1px #8b577c30}
.credit-packs .pack-title{letter-spacing:.01em;color:#58375f}.credit-packs .pack-price{color:#63315f;background:#fff9f1c9;border:1px solid #ffffffaa}
@media(orientation:landscape) and (max-height:600px){#homeScreen.active{padding-bottom:calc(73px + env(safe-area-inset-bottom))}}
#bonusModal #bonusHint{display:block;white-space:normal;overflow:visible}
#bonusModal .bonus-rule{min-height:0}
@media(orientation:landscape) and (max-height:600px){#bonusModal .bonus-card{grid-template-rows:38px minmax(24px,1fr) 99px 31px 22px}}
#bonusModal,#bonusIntroModal{animation:none;backdrop-filter:none}
#bonusModal .bonus-footer .bonus-bank{grid-column:2;grid-row:1}
@media(orientation:landscape) and (max-height:600px){#bonusModal .bonus-footer .bonus-bank{grid-column:1;grid-row:2}}
#bonusModal .bonus-footer{grid-template-rows:minmax(0,1fr)}
#bonusModal #bonusRemainingMeter{min-height:0}
#bonusModal #bonusMultiplierMeter{padding:3px 8px;gap:1px}
#bonusModal .bonus-dashboard{height:68px;min-height:68px}
@media(max-height:600px){
 #bonusModal .bonus-dashboard{height:60px;min-height:60px}
 #bonusModal #bonusRemainingMeter>small{font-size:9px;line-height:1}
 #bonusModal #bonusRemainingMeter>strong{font-size:24px;line-height:1}
 #bonusModal #bonusRemainingMeter>span{font-size:8px;line-height:1}
 #bonusModal .bonus-footer .bonus-bank{padding-top:4px;padding-bottom:4px;gap:1px}
 #bonusModal .bonus-bank #bonusTotalTitle{font-size:9px;line-height:1.1}
 #bonusModal .bonus-bank #bonusTotal{font-size:19px!important;line-height:1.1}
 #bonusModal #bonusMultiplierMeter>small{font-size:11px;line-height:1.1}
}
@media(max-width:360px) and (max-height:600px){#bonusModal .bonus-bank #bonusTotal{font-size:17px!important}}
@media(orientation:landscape) and (max-height:600px){#bonusModal .bonus-footer{grid-template-rows:44px 49px}}
