.mobile-shell{display:none;position:fixed;inset:0;background:#07030c;overflow:hidden;isolation:isolate;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}#mobile-wallpaper{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.mobile-shell:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to bottom,rgba(7,3,12,.06),rgba(7,3,12,.3))}.mobile-statusbar{height:40px;display:grid;grid-template-columns:minmax(92px,auto) 1fr minmax(72px,auto);align-items:center;gap:8px;padding:0 12px;font-size:10px;font-weight:750;position:relative;z-index:80;pointer-events:none}.mobile-menu-button{justify-self:start;align-self:center;display:inline-flex;align-items:center;gap:7px;min-width:88px;min-height:36px;margin:0;padding:0 10px;border:1px solid rgba(190,120,250,.22);border-radius:10px;background:rgba(18,8,29,.78);backdrop-filter:blur(16px);color:#caa0ee;box-shadow:inset 0 1px rgba(255,255,255,.05),0 5px 18px rgba(0,0,0,.22);font:inherit;letter-spacing:.12em;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:rgba(168,102,239,.24);position:relative;z-index:81}.mobile-menu-button span{font-size:14px;line-height:1}.mobile-menu-button strong{font-size:8px;letter-spacing:.18em}.mobile-menu-button:active,.mobile-menu-button[aria-expanded="true"]{background:rgba(99,46,145,.34);border-color:rgba(203,139,255,.46)}#mobile-time{justify-self:center;pointer-events:none}.mobile-signals{justify-self:end;text-align:right;font-size:8px;pointer-events:none}.mobile-home{position:absolute;inset:40px 0 84px;z-index:3;overflow:auto;padding:18px 20px 20px}.mobile-widget{height:112px;border:1px solid rgba(190,120,250,.25);border-radius:22px;background:linear-gradient(145deg,rgba(40,19,61,.72),rgba(11,5,18,.72));backdrop-filter:blur(16px);padding:18px;box-shadow:0 16px 40px rgba(0,0,0,.2)}.mobile-widget p{margin:0 0 7px;font-size:8px;letter-spacing:.2em;color:#c698ef;font-weight:850}.mobile-widget strong,.mobile-widget span{display:block}.mobile-widget strong{font-size:20px}.mobile-widget span{color:#9c91a4;font-size:10px;margin-top:5px}.mobile-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 12px;margin-top:28px}.mobile-icon{border:0;background:transparent;color:white;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.mobile-icon .icon-tile{width:56px;height:56px;border-radius:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--icon-accent) 33%,#190c27),#0c0613);border:1px solid color-mix(in srgb,var(--icon-accent) 45%,transparent);display:grid;place-items:center;box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 25px rgba(0,0,0,.25)}.mobile-icon img{width:31px;height:31px}.mobile-icon strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:74px;text-shadow:0 2px 6px #000}.mobile-page-dots{display:flex;justify-content:center;gap:6px;margin-top:26px}.mobile-page-dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.3)}.mobile-page-dots i.active{background:white}.mobile-dock{position:absolute;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));height:67px;border:1px solid rgba(195,126,247,.24);background:rgba(20,10,31,.7);backdrop-filter:blur(22px);border-radius:22px;display:flex;align-items:center;justify-content:space-evenly;padding:7px 10px;z-index:10}.mobile-dock .mobile-icon .icon-tile{width:49px;height:49px;border-radius:14px}.mobile-dock .mobile-icon strong{display:none}.mobile-app-host{position:absolute;inset:40px 0 0;background:#08040d;z-index:20;transform:translateX(105%);transition:transform .26s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}.mobile-app-host.open{transform:none}.mobile-app-host>header{height:48px;display:grid;grid-template-columns:80px 1fr 80px;align-items:center;border-bottom:1px solid var(--border);background:rgba(14,7,22,.93);backdrop-filter:blur(18px);padding:0 8px}.mobile-app-host>header button{border:0;background:transparent;color:#bd8ce8;font-size:11px;text-align:left}.mobile-app-host>header button:last-child{text-align:right}.mobile-app-host>header strong{text-align:center;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-app-content{flex:1;min-height:0;overflow:auto}.mobile-home-indicator{position:absolute;z-index:40;left:50%;bottom:calc(5px + env(safe-area-inset-bottom));transform:translateX(-50%);width:116px;height:5px;border:0;border-radius:5px;background:rgba(255,255,255,.77)}.mobile-mini-player{position:absolute;left:14px;right:14px;bottom:calc(87px + env(safe-area-inset-bottom));z-index:15;height:49px;border:1px solid var(--border);border-radius:14px;background:rgba(23,11,35,.9);backdrop-filter:blur(18px);display:flex;align-items:center;gap:10px;padding:0 13px;color:#d8cce0}.mobile-mini-player>span:nth-child(2){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:10px}.mobile-mini-player[hidden]{display:none}.mobile-shell .welcome-app{padding:20px}.mobile-shell .welcome-header{display:block}.mobile-shell .welcome-header h1{font-size:32px}.mobile-shell .quick-launch{grid-template-columns:1fr 1fr}.mobile-shell .welcome-footer{display:none}.mobile-shell .music-app{display:flex;flex-direction:column}.mobile-shell .music-library{border-right:0;order:2;flex:1;min-height:220px}.mobile-shell .music-stage{order:1;flex:0 0 330px}.mobile-shell .player-frame-wrap{min-height:220px}.mobile-shell .now-playing{padding:10px 13px 5px}.mobile-shell .games-app{display:flex;flex-direction:column}.mobile-shell .games-sidebar{border-right:0;max-height:210px}.mobile-shell .game-list{display:flex;overflow-x:auto}.mobile-shell .game-list-item{min-width:190px}.mobile-shell .game-detail{flex:1}.mobile-shell .game-hero{min-height:250px}.mobile-shell .game-info{grid-template-columns:1fr;padding:8px 18px 25px}.mobile-shell .game-specs{border-left:0;padding-left:0}.mobile-shell .profile-cover{height:150px}.mobile-shell .profile-identity{padding:0 14px}.mobile-shell .profile-avatar{width:96px;height:96px}.mobile-shell .profile-name{margin:-44px 0 0 108px}.mobile-shell .profile-content{padding:15px;grid-template-columns:1fr}.mobile-shell .profile-tabs{overflow-x:auto;padding:0 10px}.mobile-shell .contact-app{display:block}.mobile-shell .mail-sidebar{display:none}.mobile-shell .mail-compose{padding:16px}.mobile-shell .mail-compose textarea{height:260px}.mobile-shell .network-app,.mobile-shell .archive-app{padding:16px}.mobile-shell .network-grid{grid-template-columns:1fr}.mobile-shell .live-app{display:flex;flex-direction:column}.mobile-shell .live-player{min-height:300px}.mobile-shell .live-sidebar{border-left:0;border-top:1px solid var(--border)}@media(max-width:760px){.desktop-shell{display:none}.mobile-shell{display:block}}@media(min-width:761px){.desktop-shell{display:block}.mobile-shell{display:none}}@media(max-width:360px){.mobile-icons{gap:17px 7px}.mobile-icon .icon-tile{width:51px;height:51px}.mobile-home{padding-left:14px;padding-right:14px}}
.mobile-switcher{position:absolute;inset:40px 0 0;z-index:35;background:rgba(7,3,12,.96);backdrop-filter:blur(24px);padding:16px;overflow:auto}.mobile-switcher[hidden]{display:none}.mobile-switcher>header{display:flex;align-items:center;justify-content:space-between;padding:5px 2px 18px}.mobile-switcher>header strong{font-size:15px}.mobile-switcher>header button,.mobile-switcher-actions button{border:1px solid var(--border);background:#160b22;border-radius:9px;padding:8px 11px;color:#cba3ed}.mobile-recent-apps{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-recent-card{min-height:150px;border:1px solid var(--border);background:linear-gradient(145deg,#180c25,#0a0510);border-radius:18px;padding:14px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:left}.mobile-recent-card img{width:36px;height:36px;margin-bottom:auto}.mobile-recent-card strong{font-size:12px}.mobile-recent-card span{font-size:9px;color:var(--muted);margin-top:4px}.mobile-switcher-actions{display:flex;gap:9px;margin-top:18px}.mobile-switcher-actions button{flex:1}

/* v1.0.3: rebuilt left-side mobile menu control and reliable touch activation. */
#mobile-app-menu,#mobile-switcher-close,.mobile-switcher-actions button{pointer-events:auto;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:rgba(168,102,239,.2)}
#mobile-app-menu{min-width:48px;min-height:44px;position:relative;z-index:22}
.mobile-switcher{z-index:70;pointer-events:auto}
.mobile-switcher button{touch-action:manipulation;cursor:pointer}
