/* Phone shell is shared by the website, never the desktop launcher. */
#web-mobile-bar,#web-mobile-nav{display:none}
.web-mobile-filters>summary{display:none}
#web-mobile-menu{box-sizing:border-box;width:min(460px,100%);height:100dvh;max-height:100dvh;max-width:100%;margin:0 0 0 auto;padding:0;border:0;background:#25272d;color:#efebe2;font:14px/1.5 Manrope,Arial,sans-serif;overscroll-behavior:contain;border-radius:0}
#web-mobile-menu::backdrop{background:#090b10b8;backdrop-filter:blur(4px)}
#web-mobile-menu *{box-sizing:border-box}
#web-mobile-menu header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;background:#202227;border-bottom:1px solid #ffffff12}
#web-mobile-menu h2{margin:0;font-size:20px;font-weight:650}
#web-mobile-menu button{font:inherit;color:inherit;border:1px solid #ffffff18;background:transparent;cursor:pointer;border-radius:6px;min-height:44px;padding:10px 14px}
#web-mobile-menu [data-mobile-menu-close]{width:44px;padding:10px}
#web-mobile-menu svg{width:24px;height:24px;display:block}
#web-mobile-menu a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
#web-mobile-menu .web-mobile-account{display:flex;align-items:center;gap:16px;padding:24px 18px;background:linear-gradient(110deg,#68503455,#292a2d)}
#web-mobile-menu .web-mobile-account>span:nth-child(2){flex:1;min-width:0}
#web-mobile-menu .web-mobile-account strong{display:block;font-size:20px}
#web-mobile-menu small{display:block;color:#b3afa6;font-size:12px;margin-top:4px}
.web-mobile-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #b68c49;border-radius:8px;background:#3b3932;color:#e6ad51;font-size:20px;font-weight:650;overflow:hidden;text-decoration:none}
.web-mobile-avatar img{width:100%;height:100%;object-fit:cover}
#web-mobile-menu .web-mobile-avatar{width:64px;height:64px;font-size:30px}
#web-mobile-menu .web-mobile-wallet{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:18px;background:#1f2126}
#web-mobile-menu .web-mobile-wallet b{color:#e6ad51;text-align:right;font-variant-numeric:tabular-nums}
#web-mobile-menu .web-mobile-menu-links>a,#web-mobile-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:16px 20px;border-bottom:1px solid #ffffff09;font-weight:650;cursor:pointer;list-style:none}
#web-mobile-menu summary::-webkit-details-marker{display:none}
#web-mobile-menu summary:after{content:'⌄';font-size:20px;color:#b3afa6}
#web-mobile-menu details[open]>summary:after{transform:rotate(180deg)}
#web-mobile-menu details[open]{background:#30333a}
#web-mobile-menu details>a{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:12px 22px 12px 36px;font-size:14px;font-weight:450}
#web-mobile-menu :is(a,button,summary):focus-visible{outline:2px solid #e6ad51;outline-offset:-3px}
#web-mobile-menu :is(a,button,summary):hover{background-color:#e6ad5112}
#web-mobile-menu footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:24px 20px calc(28px + env(safe-area-inset-bottom));width:100%;max-width:none;font:inherit;letter-spacing:normal;background:#202227}
body.web-menu-open{overflow:hidden}

@media(max-width:740px), (max-width:1000px) and (pointer:coarse){
 body:has(>#web-mobile-nav){--web-mobile-bottom:calc(66px + env(safe-area-inset-bottom));padding-bottom:var(--web-mobile-bottom);min-height:100dvh}
 html:has(#web-mobile-nav){scroll-padding-top:76px;scroll-padding-bottom:86px}
 #web-header{position:sticky;top:0;z-index:60;background:#202227;border-bottom:1px solid #ffffff0e;max-width:none;margin:0}
 #web-header .web-header-inner{display:none}
 #web-mobile-bar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left))}
 #web-mobile-bar button{display:grid;place-items:center;width:44px;height:44px;padding:9px;border:0;background:transparent;color:#d9d6ce;box-shadow:none}
 #web-mobile-bar svg{width:26px;height:26px}
 #web-mobile-bar .web-mobile-title{color:#efebe2;text-decoration:none;font-size:16px;font-weight:650;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #web-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;position:fixed;inset:auto 0 0;height:var(--web-mobile-bottom);z-index:65;padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));margin:0;background:#202227;border-top:1px solid #ffffff12;box-shadow:0 -5px 20px #0002;box-sizing:border-box;font-family:Manrope,Arial,sans-serif}
 #web-mobile-nav>a,#web-mobile-nav>button,#web-mobile-nav>[data-mobile-notifications]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;min-width:0;width:auto;padding:4px 0;margin:0;border:0;border-radius:0;background:none;color:#a8a9b0;text-decoration:none;font:500 9px/1.2 Manrope,Arial,sans-serif;letter-spacing:0;cursor:pointer}
 #web-mobile-nav svg{display:block;flex:none;width:24px;height:24px}
 #web-mobile-nav>a[aria-current=page],#web-mobile-nav>button[aria-expanded=true],#web-mobile-nav>[data-mobile-notifications]:has(:popover-open){color:#e6ad51;box-shadow:inset 0 2px #e6ad51}
 #web-mobile-nav .header-notifications{width:100%;height:100%;padding:0 0 15px;border:0;background:none;color:inherit;position:absolute;inset:0;border-radius:0;display:flex;align-items:center;justify-content:center}
 #web-mobile-nav .header-notifications>span{left:50%;right:auto;top:0;font-size:10px;min-width:15px}
 #web-mobile-nav [data-mobile-notifications]>span{margin-top:28px;pointer-events:none}
 #web-mobile-nav [data-mobile-notifications]>a{position:absolute;inset:0;display:grid;place-content:center;padding-bottom:15px;color:inherit}
 #web-mobile-nav :is(a,button):focus-visible{outline:2px solid #e6ad51;outline-offset:-3px}
 body:has(#web-mobile-nav) #retcoin-notifications{inset:calc(64px + env(safe-area-inset-top)) 0 var(--web-mobile-bottom)!important;width:100%!important;height:auto;max-height:none!important;max-width:none;border:0;box-shadow:none;border-radius:0}
 body:has(#web-mobile-nav) #retcoin-notifications header{padding:16px;font-size:16px}
 body:has(#web-mobile-nav) #retcoin-notifications button{min-height:44px;font-size:12px}
 body:has(#web-mobile-nav) #retcoin-notifications .notification-row{min-height:86px;padding:16px 48px 16px 16px;gap:14px}
 body:has(#web-mobile-nav) #retcoin-notifications .notification-row b{font-size:14px}
 body:has(#web-mobile-nav) #retcoin-notifications .notification-row small{font-size:12px}
 body:has(#web-mobile-nav) #retcoin-notifications .notification-delete{width:40px;height:40px;right:2px}
 body.web-mobile-keyboard #web-mobile-nav{display:none}
 body.web-mobile-keyboard{padding-bottom:0}
 .web-portal #web-main{width:100%;min-width:0;padding:20px max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left))}
 body:has(#web-mobile-nav) :is(input,textarea,select){font-size:16px!important;max-width:100%}
 body:has(#web-mobile-nav) :is(.button,.web-profile-actions a,.profile-tabs a){min-height:44px}
 body:has(#web-mobile-nav) :is(h1,h2,h3,p){overflow-wrap:anywhere}
 body:has(#web-mobile-nav) :is(#web-toast,.market-drop-toast,.web-incoming-call){bottom:calc(var(--web-mobile-bottom) + 12px)}
 #web-footer{margin-top:36px;padding:28px 18px}
 .web-footer-inner{gap:24px 18px}
 .web-footer-inner a{min-height:28px}
 .web-portal .web-feature-copy{padding:28px 22px}
 .web-portal .web-feature-copy h1{font-size:34px}
 .web-portal .web-feature-art{min-height:350px}
 .web-portal .web-quick-links{grid-template-columns:1fr;gap:8px}
 .web-portal .web-quick-links>a{padding:15px 16px;gap:14px}
 .web-portal .web-quick-links b{font-size:13px}
 .web-portal .web-quick-links small{display:block;font-size:11px;margin-top:4px}
 .web-portal .web-fortnite-available{padding:16px;gap:12px}
 .web-portal .web-fortnite-available b{font-size:14px}
 .web-portal .web-fortnite-available small{font-size:11px;line-height:1.6}
 .web-portal .web-home-nav{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;max-width:100%;gap:8px}
 .web-portal .web-home-nav a{flex:none;white-space:nowrap;min-height:44px}
 .web-portal .web-market-banner{margin:0 0 18px;padding:22px 18px}
 .web-portal .web-market-banner h1{font-size:26px}
 .web-portal .web-market-layout{display:flex;flex-direction:column;gap:18px}
 .web-portal .web-market-sidebar{order:-1;width:100%;padding:16px}
 .web-mobile-filters>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;font-weight:650;cursor:pointer;list-style:none;color:#efebe2}
 .web-mobile-filters>summary:after{content:'+';font-size:22px;color:#e6ad51}.web-mobile-filters[open]>summary:after{content:'−'}
 .web-mobile-filters>summary::-webkit-details-marker{display:none}.web-mobile-filters[open]>div{padding-top:16px}
 .web-mobile-filters h2{display:none}
 .web-inventory-filters{margin-bottom:16px;border-block:1px solid #ffffff12}
 .web-inventory-filters[open]>.market-filters{padding-top:12px}
 .web-portal .web-market-sidebar .market-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .web-portal .web-market-sidebar .market-search{grid-column:1/-1}
 .web-portal .web-market-sidebar :is(input,select){max-width:100%;min-width:0}
 .web-portal .web-market-list{width:100%}
 .web-portal .web-market-tabs{flex-wrap:nowrap;overflow-x:auto;gap:0}
 .web-portal .web-market-tabs button{min-height:46px;font-size:12px;white-space:nowrap}
 .web-portal .web-market-columns{display:none}
 .web-portal .web-market-row{grid-template-columns:minmax(0,1fr) 100px;gap:8px 12px;padding:12px;min-height:100px}
 .web-portal .web-market-item{grid-row:1/3;gap:12px;align-items:center}
 .web-portal .web-market-item img{width:58px;height:64px}
 .web-portal .web-market-item b{font-size:12px;line-height:1.5}
 .web-portal .web-market-item small{font-size:10px}
 .web-portal .web-market-quantity{font-size:12px;align-self:end}
 .web-portal .web-market-price{grid-column:2;align-self:start;gap:7px}
 .web-portal .web-market-price strong{font-size:11px}
 .web-portal .web-market-price .button{min-height:36px;padding:8px 10px;font-size:11px}
 .web-portal .web-market-personal>div{flex-wrap:wrap}
 .web-portal .web-market-personal>div>:is(a,button){min-height:44px;font-size:12px}
 .web-portal .market-inventory-bar{flex-wrap:wrap}
 .web-portal .inventory-workspace{grid-template-columns:minmax(0,1fr);gap:20px}
 .web-portal .inventory-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .web-portal .inventory-tile{min-height:116px}
 .web-portal .inventory-tile>span{white-space:normal;font-size:10px}
 .web-portal .inventory-inspector-body{padding:18px}
 .web-portal .inventory-inspector h2{font-size:22px}
 .web-portal .inventory-collections button{font-size:11px;min-height:78px}
 .web-portal .md-hero,.web-portal .md-books{grid-template-columns:minmax(0,1fr)}
 .web-portal .md-description{padding:20px}
 .web-portal .md-description h2{font-size:22px}
 .web-portal .md-heading{flex-direction:column;gap:12px;align-items:stretch}
 .web-portal .md-periods{display:flex;max-width:100%;overflow-x:auto}
 .web-portal .md-periods .button{flex:none;min-width:54px;padding:8px}
 .web-portal .md-contents .case-contents{grid-template-columns:minmax(0,1fr)}
 .web-portal .md-content-list button{font-size:13px;min-height:44px}
 .web-portal :is(.market-dialog,.subscription-checkout,.exchange-dialog){box-sizing:border-box;width:calc(100% - 20px);max-width:650px;max-height:calc(100dvh - 24px);padding:24px 18px;overscroll-behavior:contain}
 .web-portal :is(.dialog-close,.exchange-close){min-height:40px!important;min-width:40px}
 .web-portal .sale-price-inputs{grid-template-columns:minmax(0,1fr)}
 .web-portal .subscription-plans,.web-portal .wheel-section{grid-template-columns:minmax(0,1fr)}
 .web-portal .wheel-section{padding:22px 18px;gap:24px}
 .web-portal .subscription-heading h1{font-size:26px}
 .web-portal .subscription-monthly{grid-template-columns:88px minmax(0,1fr)}
 .web-portal .rtc-social-composer{grid-template-columns:minmax(0,1fr)}
 .web-profile #profile-root{width:100%;margin:0;padding:24px 14px}
 .web-profile .profile-hero,.web-profile .profile-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .web-profile .profile-identity{gap:16px}
 .web-profile .profile-hero .avatar-frame{width:88px;height:88px}
 .web-profile .profile-copy h1{font-size:23px}
 .web-profile .profile-featured{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .web-profile .profile-featured-badge{grid-column:1/-1}
 .web-profile .profile-layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}
 .web-profile .profile-layout>aside>*{min-width:0;max-width:100%}
 .web-profile .profile-layout>aside :is(.membership,.profile-tabs){grid-column:1/-1}
 .web-profile .profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .web-profile .profile-tabs a{background:#ffffff05;font-size:12px}
 .web-profile .item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .web-profile .activity-game-top{flex-wrap:wrap;gap:12px}
 .web-profile .activity-cover{width:120px}
 .web-profile .activity-game-meta{flex-basis:100%;text-align:left;white-space:normal}
 .web-profile .inventory-profile-header{flex-wrap:wrap;gap:12px;padding:16px}
 .web-profile .inventory-owner{font-size:19px}
 .web-profile .inventory-game-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .web-profile .inventory-back{margin:0}
 .web-trade #trade-content{padding:14px}
 .web-trade .rtc-social-composer{grid-template-columns:minmax(0,1fr)}
 .web-trade .rtc-social-inventory-grid{min-height:0;max-height:440px;overflow:auto}
}
@media(max-width:360px){
 .web-portal .web-market-row{grid-template-columns:minmax(0,1fr) 88px;padding:10px;gap:8px}
 .web-portal .web-market-item{gap:8px}.web-portal .web-market-item img{width:42px;height:54px}
 .web-profile .profile-layout>aside{grid-template-columns:minmax(0,1fr)}
}
@media(max-height:500px) and (max-width:740px){body:has(input:focus,textarea:focus) #web-mobile-nav{display:none}}
