/* Mobile shell, based on Figma 102:978 and 103:1170. */
.mobile-tabs{display:none}
@media(max-width:760px){
 body{--mobile-tab-bottom:max(12px,env(safe-area-inset-bottom));--mobile-tab-reserve:calc(76px + var(--mobile-tab-bottom));--mobile-drawer-width:min(247px,calc(100vw - 72px));--mobile-content-top:calc(max(12px,env(safe-area-inset-top)) + 44px + 20px)}
 html:not([data-theme=dark]) body[data-page]{background:#fff}
 html:not([data-theme=dark]) body[data-page]::before{inset:0;border:0;border-radius:0;background:#fff;box-shadow:none}
 html:not([data-theme=dark]) body[data-page]::after{content:none}
 html[data-theme=dark] body[data-page]{background:#252523}
 html[data-theme=dark] body[data-page]::before{inset:0;border:0;border-radius:0;background:#252523;box-shadow:none}
 html[data-theme=dark] body[data-page]::after{content:none}
 body[data-page] .mobile-bar{position:fixed;top:max(12px,env(safe-area-inset-top));left:16px;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;z-index:45;transition:left .22s ease}
 body .mobile-bar>span{display:none}
 body .mobile-bar #menu-toggle{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(235,235,235,.5));box-shadow:0 0 0 .5px rgba(0,0,0,.08),0 8px 15px rgba(0,0,0,.025),inset 0 1px 1px rgba(255,255,255,.9);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4)}
 body .mobile-bar #menu-toggle img{display:block;width:24px;height:24px}
 body.drawer-open .mobile-bar{left:calc(var(--mobile-drawer-width) + 20px)}
 body[data-page]>header,html:not([data-theme=dark]) body[data-page]>header{left:0;top:0;bottom:0;width:var(--mobile-drawer-width);padding:20px 17px;background:#fcfbf7;border:0;border-radius:0;box-shadow:2px 0 14px rgba(0,0,0,.06);overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;z-index:40}
 html body[data-page].drawer-open>header{transform:none}
 body[data-page]>header nav{display:none}
 body.drawer-open .drawer-shade{position:fixed;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;z-index:30}
 body .mobile-tabs{position:fixed;left:20px;right:20px;bottom:var(--mobile-tab-bottom);z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:0;width:auto;height:64px;margin:0;padding:4px;border:1px solid rgba(255,255,255,.75);border-radius:1000px;background:linear-gradient(150deg,rgba(247,247,247,.78),rgba(255,255,255,.62) 50%,rgba(240,240,240,.72));box-shadow:1.25px 0 0 -.75px #d0d0d0,-1.25px 0 0 -.75px #d0d0d0,0 0 0 .5px #e8e8e8,0 8px 15px rgba(0,0,0,.025),inset 0 1px 1px rgba(255,255,255,.9);-webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5)}
 body .mobile-tabs a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;height:54px;margin:0;padding:4px 3px;border:0;border-radius:100px;color:#1a1a1a;background:transparent;text-decoration:none;font:600 10px/12px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;white-space:nowrap;-webkit-tap-highlight-color:transparent}
 body .mobile-tabs a[aria-current=page]{background:rgba(251,87,39,.1);color:#1a1a1a;text-decoration:none}
 body .mobile-tabs a:focus-visible,body .mobile-bar #menu-toggle:focus-visible{outline:2px solid #fb5727;outline-offset:2px}
 body .mobile-tab-icon{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:28px}
 body .mobile-tab-icon img{display:block;flex:none;width:24px;height:24px;object-fit:contain}
 body .mobile-tab-icon .mobile-cloud.glow-cloud{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:none}
 body .mobile-tab-icon .mobile-cloud.glow-cloud svg{display:block;flex:none;width:40px;height:40px;overflow:visible;pointer-events:none}
 body .mobile-tabs :is(.receipt-indicator,.zodiac-indicator){position:absolute;top:5px;left:calc(50% + 8px);width:8px;height:8px;border-radius:50%;background:#ff453a;pointer-events:none}
 body .mobile-tabs .zodiac-indicator{box-shadow:0 0 0 1.5px var(--bg)}
 body[data-page=ask] main,body[data-page=ask].ask-conversation main{width:calc(100% - 40px)}
 /* Reserve the fixed menu button and a 20px gap before page content. */
 body:not([data-page=ask]) main,body[data-page=ask] main[data-state=idle]{padding-top:var(--mobile-content-top)}
 body[data-page=ask] .conversation-header{top:var(--mobile-content-top)}
 body[data-page=ask].ask-conversation main{padding-top:calc(var(--mobile-content-top) + 56px)}
 body[data-page=ask] #question-form,body[data-page=ask].ask-conversation #question-form{left:20px;width:calc(100% - 40px);bottom:var(--mobile-tab-reserve)}
 body[data-page=ask] main{padding-bottom:calc(var(--ask-composer-height) + var(--mobile-tab-reserve) + 32px)}
 body[data-page=ask] .cast-confirmation{scroll-margin-bottom:calc(var(--ask-composer-height) + var(--mobile-tab-reserve) + 24px)}
 body:not([data-page=ask]) main{padding-bottom:calc(var(--mobile-tab-reserve) + 24px)}
 html[data-theme=dark] body[data-page]>header{background:#21211f}
 html[data-theme=dark] body .mobile-bar #menu-toggle,html[data-theme=dark] body .mobile-tabs{background:linear-gradient(145deg,rgba(74,74,72,.86),rgba(38,38,36,.8));border-color:rgba(255,255,255,.17);box-shadow:0 0 0 .5px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.2),inset 0 1px 1px rgba(255,255,255,.14)}
 html[data-theme=dark] body .mobile-tabs a,html[data-theme=dark] body .mobile-tabs a[aria-current=page]{color:#f5f4f0}
 html[data-theme=dark] body .mobile-tabs a[aria-current=page]{background:rgba(251,87,39,.22)}
 html[data-theme=dark] body .mobile-tabs a:not(:first-child) img,html[data-theme=dark] body .mobile-bar img{filter:invert(1)}
 @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body .mobile-tabs,body .mobile-bar #menu-toggle{background:#f6f6f4}html[data-theme=dark] body .mobile-tabs,html[data-theme=dark] body .mobile-bar #menu-toggle{background:#343432}}
}
@media(prefers-reduced-motion:reduce){body .mobile-bar,body[data-page]>header{transition:none}}
