
/* No desktop overrides. All changes are gated by viewport and mobile controller. */
@media(max-width:767px){
html.sky-mobile-v20{scroll-padding-top:76px;scroll-padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
html.sky-mobile-v20 body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
html.sky-mobile-v20 .topbar{height:auto!important;min-height:0!important;overflow:visible!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#fff!important;z-index:130!important}
html.sky-mobile-v20 .topbar .container.nav-inner,html.sky-mobile-v20 .topbar .topbar-inner{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;grid-template:none!important;min-height:60px!important;height:auto!important;width:100%!important;max-width:none!important;box-sizing:border-box;padding:8px 14px!important}
html.sky-mobile-v20 .topbar :is(.nav-links,.topnav){display:none!important}
html.sky-mobile-v20 .topbar .brand{order:0;flex:1 1 auto;min-width:0;margin:0!important;gap:8px!important;white-space:nowrap;font-size:16px!important;justify-content:flex-start}
html.sky-mobile-v20 .topbar .brand-text{font-size:16px!important;white-space:nowrap}
html.sky-mobile-v20 .topbar .brand img{width:34px!important;height:34px!important;flex:none}
html.sky-mobile-v20 .topbar :is(#home-account,#account-top):not([hidden]){display:contents!important}
html.sky-mobile-v20 .topbar :is(#home-account,#account-top)[hidden]{display:none!important}
html.sky-mobile-v20 .topbar :is(#home-account-trigger,#profile-trigger){order:4;flex:0 0 44px;display:grid!important;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
html.sky-mobile-v20 .topbar :is(#home-account-trigger,#profile-trigger) :is(.sky-account-name,.profile-name,.sky-chevron){display:none!important}
html.sky-mobile-v20 .topbar :is(#home-account-trigger,#profile-trigger) :is(.sky-avatar,.avatar.small){display:grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:0!important;font-size:12px!important}
html.sky-mobile-v20 .topbar :is(#home-wallet-nav,.sky-mobile-wallet){order:2;display:grid!important;place-items:center;flex:0 0 44px;min-width:44px;width:44px;min-height:44px;height:44px;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#355a80;border-radius:12px!important}
html.sky-mobile-v20 .topbar #home-wallet-nav[hidden],html.sky-mobile-v20 .sky-mobile-wallet[hidden],html.sky-mobile-v20 .sky-mobile-guest[hidden],html.sky-mobile-v20 .sky-mobile-guest-wheel[hidden]{display:none!important}
html.sky-mobile-v20 .topbar #home-wallet-nav :is(.sky-wallet-nav-label,#home-wallet-balance){display:none!important}
html.sky-mobile-v20 .topbar #home-wallet-nav .sky-premium-nav-icon{display:grid!important;place-items:center}
html.sky-mobile-v20 .topbar :is(#home-wallet-nav,.sky-mobile-wallet,.sky-mobile-guest) svg{width:23px!important;height:23px!important}
html.sky-mobile-v20 .topbar #sky-notice-bell{order:3;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#355a80;border-radius:12px!important}
html.sky-mobile-v20 .topbar #sky-notice-bell svg{width:23px;height:23px}
html.sky-mobile-v20 .sky-mobile-guest{order:4;display:grid;place-items:center;width:44px;height:44px;flex:none;color:#355a80;border-radius:50%;background:#eef4fb}
html.sky-mobile-v20 .sky-mobile-bottom{position:fixed;z-index:105;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;background:#fff;border-top:1px solid #e2e9f1;box-shadow:0 -4px 20px #203b5308;padding:5px max(8px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));font-family:"Segoe UI",system-ui,sans-serif}
html.sky-mobile-v20 .sky-mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;min-width:0;color:#63788d;font-size:11px;font-weight:600;line-height:1.2;text-decoration:none;border-radius:10px;white-space:nowrap}
html.sky-mobile-v20 .sky-mobile-tab svg{width:23px;height:23px}
html.sky-mobile-v20 .sky-mobile-tab.is-active{color:#2465dc;background:#f0f5fc}
html.sky-mobile-v20 .sky-mobile-tab:focus-visible,html.sky-mobile-v20 .sky-mobile-close:focus-visible{outline:2px solid #2465dc;outline-offset:2px}
html.sky-mobile-v20 .sky-mobile-backdrop{position:fixed;inset:0;background:#15283b65;z-index:131;touch-action:none}
html.sky-mobile-v20 .sky-mobile-backdrop[hidden]{display:none!important}
html.sky-mobile-sheet-open{overflow:hidden;overscroll-behavior:none}
html.sky-mobile-v20 .topbar :is(#home-account-menu,#profile-menu):not([hidden]){position:fixed!important;inset:auto 0 0!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:0!important;border-radius:24px 24px 0 0!important;background:#fff!important;box-shadow:0 -10px 40px #15283b20!important;z-index:132!important;transform-origin:bottom center!important;animation:skyMobileSheetIn .22s cubic-bezier(.2,.7,.3,1)!important}
html.sky-mobile-v20 .topbar :is(#home-account-menu,#profile-menu):before{content:"";display:block;width:34px;height:4px;border-radius:4px;background:#dce4ed;margin:0 auto 10px}
html.sky-mobile-v20 .topbar .sky-premium-head{padding:8px 4px 13px;gap:10px}
html.sky-mobile-v20 .topbar .sky-premium-head strong{font-size:16px}
html.sky-mobile-v20 .topbar .sky-premium-head :is(#home-menu-identity,#menu-email){font-size:12px}
html.sky-mobile-v20 .topbar .sky-mobile-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:#f2f5f9;color:#60758a;border:0;border-radius:50%;padding:0;margin:0;cursor:pointer}
html.sky-mobile-v20 .sky-mobile-close svg{width:19px;height:19px}
html.sky-mobile-v20 .topbar .sky-premium-menu .sky-premium-item{min-height:46px;padding:7px 10px;margin:1px 0;font-size:14px}
html.sky-mobile-v20 .topbar .sky-premium-menu .sky-premium-wallet{min-height:64px;padding:12px;background:#edf3fa}
html.sky-mobile-v20 .topbar .sky-premium-wallet .sky-premium-wallet-amount{font-size:15px}
html.sky-mobile-v20 .sky-mobile-group{padding:10px 10px 4px;color:#60758a;font-size:10px;font-weight:650;letter-spacing:.045em}

/* V28.2: keep floating Rewards above the bottom navigation. */
@media(max-width:767px){html.sky-mobile-v20 .sky-wheel-fab:not([hidden]){bottom:calc(78px + env(safe-area-inset-bottom,0px));right:max(16px,env(safe-area-inset-right,0px));z-index:104}}
html.sky-mobile-v20 .sky-mobile-guest-wheel{display:inline-flex;align-items:center;gap:6px;margin:12px 0 0;background:transparent;border:0;color:#426ba6;font:inherit;font-size:13px;font-weight:600;padding:8px 0;min-height:44px;cursor:pointer}
html.sky-mobile-v20 .sky-mobile-guest-wheel svg{width:19px;height:19px}
html.sky-mobile-v20 :is(#ung-dung,#cach-tai,#danh-gia){scroll-margin-top:12px}
@keyframes skyMobileSheetIn{from{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(max-width:350px){html.sky-mobile-v20 .topbar .container.nav-inner,html.sky-mobile-v20 .topbar .topbar-inner{padding:7px 10px!important;gap:3px!important}html.sky-mobile-v20 .topbar .brand{gap:5px!important}html.sky-mobile-v20 .topbar .brand-text{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){html.sky-mobile-v20 .topbar :is(#home-account-menu,#profile-menu){animation:none!important}}
}

/* V26.2 — mobile touch layout */
@media(max-width:767px){
html.sky-mobile-v20 .topbar .container.nav-inner,html.sky-mobile-v20 .topbar .topbar-inner{padding:7px 12px!important;gap:4px!important;min-height:58px!important}
html.sky-mobile-v20 .topbar .brand{gap:6px!important}
html.sky-mobile-v20 .topbar .brand img{width:32px!important;height:32px!important}
html.sky-mobile-v20 .sky-mobile-bottom{padding-top:4px;box-sizing:border-box}
html.sky-mobile-v20 .sky-mobile-tab{min-height:52px;font-size:11px;gap:3px}
html.sky-mobile-v20 .sky-mobile-tab svg{width:21px;height:21px}
html.sky-mobile-v20 .topbar :is(#home-account-menu,#profile-menu):not([hidden]){max-height:calc(100dvh - 22px)!important;padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px))!important}
html.sky-mobile-v20 .topbar .sky-premium-menu .sky-premium-item{min-height:44px;padding:6px 9px}
html.sky-mobile-v20 .topbar .sky-premium-menu .sky-premium-wallet{min-height:58px;padding:9px}
html.sky-mobile-v20 .topbar .sky-premium-head{padding:7px 4px 10px}
html.sky-mobile-v20 .sky-mobile-group{padding:6px 9px 3px}
}
