/* Independent currency balances and a fifth HOME shortcut. */
#home .home-currencies{position:absolute;top:5px;left:30%;right:max(30%,calc(250px + var(--safe-inline,0px)));height:46px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;z-index:2}
#home .home-currencies>.home-wallet{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;width:100%!important;height:100%!important;min-width:0!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:4px!important;padding:4px 6px!important;border-radius:12px!important}
#home .home-currencies>.home-wallet--chips{grid-template-columns:20px minmax(0,1fr) 20px!important}
#home .home-currencies .home-wallet__icon{position:static!important;width:22px!important;height:26px!important;object-fit:contain!important;transform:none!important;margin:0!important}
#home .home-currency-copy{display:flex;flex-direction:column;align-items:center;min-width:0;line-height:1.1}
#home .home-currency-copy>small{font-size:9px!important;color:#ddc58e;white-space:nowrap;font-weight:700}
#home .home-currency-copy>strong{font-size:clamp(10px,1.3vw,16px)!important;line-height:1.15!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
#home .home-currencies #homeChipInfo{position:static!important;width:20px!important;height:24px!important;font-size:11px!important;min-width:0!important;min-height:0!important;padding:0!important}
#home .home-coin-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid #ffe3a2;color:#5b3711;background:radial-gradient(circle at 35% 25%,#fff3ae,#d6a03e 70%);font:bold 10px Georgia,serif;box-shadow:0 0 7px #d6a03e44}
#home .home-currencies>.home-wallet--coin{border-color:#d6a03e!important}
#home nav.home-bottom-nav.home-side-nav{top:80px!important;height:min(300px,calc(100% - 88px - env(safe-area-inset-bottom,0px)))!important;grid-template-rows:repeat(5,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;gap:4px!important}
#home nav.home-side-nav>button.home-side-nav__art-button{min-height:0!important}
#dailyMissionModal .daily-mission-panel__foot{flex-wrap:wrap;gap:5px}
#dailyMissionOverview{border:1px solid #92733d;border-radius:8px;background:#16372c;color:#f1d49c;padding:5px 9px;min-height:32px;font-size:12px;cursor:pointer}
/* The same original item artwork is shared by the shop and warehouse. */
.ir-item__image{display:block;width:100%;height:clamp(66px,17vh,124px);object-fit:contain;filter:drop-shadow(0 5px 9px #0006)}
#collection .collection-art--gift{display:grid!important;place-items:center!important;overflow:hidden!important;width:100%!important;height:100%!important}
#collection .collection-art--gift img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:drop-shadow(0 6px 10px #0008)}
#collection .collection-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:4px!important;min-width:0!important}
#collection .collection-tabs>button{flex:0 0 auto!important;width:auto!important;white-space:nowrap!important}
@media(max-width:760px){
 #home .home-currencies{left:27%;right:max(35%,calc(190px + var(--safe-inline,0px)));gap:3px;height:42px}
 #home .home-profile{max-width:25%!important}
 #home .home-currencies>.home-wallet{grid-template-columns:16px minmax(0,1fr)!important;padding:3px!important;gap:2px!important;border-radius:9px!important}
 #home .home-currencies>.home-wallet--chips{grid-template-columns:16px minmax(0,1fr)!important}
 #home .home-currencies #homeChipInfo{position:absolute!important;right:-3px!important;bottom:-10px!important;width:18px!important;height:18px!important;z-index:2}
 #home .home-currencies .home-wallet__icon{width:17px!important;height:22px!important}
 #home .home-coin-icon{width:17px;height:17px;font-size:9px;border-width:1px}
 #home .home-currency-copy>strong{font-size:10px!important}
 #home .home-currency-copy>small{font-size:9px!important}
}
@media(max-height:350px){
 #home nav.home-bottom-nav.home-side-nav{top:70px!important;height:calc(100% - 78px - env(safe-area-inset-bottom,0px))!important;gap:3px!important}
 .ir-item__image{height:60px}
}
/* Keep the full numeric balance visible; the help button sits below its frame. */
#home .home-currencies>.home-wallet--chips{grid-template-columns:22px minmax(0,1fr)!important}
#home .home-currencies #homeChipInfo{position:absolute!important;right:-2px!important;bottom:-8px!important;width:19px!important;height:19px!important}
#home .home-currency-copy>strong{width:auto!important;text-overflow:ellipsis!important;letter-spacing:0!important}
#collection.screen:not(#home).screen--collection #collectionGrid>.collection-item[data-collection-category="consumable"]{grid-template-columns:minmax(44px,.8fr) minmax(0,1fr)!important;grid-template-rows:minmax(28px,1fr) 18px 27px!important;gap:3px!important}
#collection #collectionGrid>.collection-item[data-collection-category="consumable"]>.collection-preview{grid-column:1!important;grid-row:1 / 3!important}
#collection #collectionGrid>.collection-item[data-collection-category="consumable"]>small{display:none!important}
#collection #collectionGrid>.collection-item[data-collection-category="consumable"]>strong{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important}
#collection #collectionGrid>.collection-item[data-collection-category="consumable"]>span{grid-column:2!important;grid-row:2!important}
#collection #collectionGrid>.collection-item[data-collection-category="consumable"]>.collection-item__action{grid-column:1 / -1!important;grid-row:3!important}
#collection .collection-feature:has(.collection-art--gift) .collection-feature__copy h2{font-size:13px!important}
@media(max-width:760px){#home .home-currencies>.home-wallet--chips{grid-template-columns:16px minmax(0,1fr)!important}}
#home .home-currencies .home-currency-copy{grid-column:2!important;grid-row:1!important;order:0!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;justify-self:stretch!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
#home .home-currencies .home-wallet__icon,#home .home-currencies .home-coin-icon{grid-column:1!important;grid-row:1!important;order:0!important}
