/* 7.3.9: mobile-only overrides, loaded after all legacy styles */
.mobile-scrim{display:none}
@media(max-width:900px){
html,body{overflow-x:clip;max-width:100%}body{font-size:14px}.shell:not(.hidden){display:block}.main,.content,.panel{min-width:0;max-width:100%}
html .shell .sidebar{padding:8px 12px!important;min-height:54px;grid-template-columns:minmax(0,1fr) 44px}.sidebar .brand b{font-size:16px!important}.sidebar .brand small{font-size:9px!important}.sidebar .brand em,.sidebar .side-foot{display:none!important}.sidebar .brand:after{height:4px!important}.sidebar .nav{display:none!important}.sidebar.mobile-open .nav{display:flex!important;flex-direction:column;position:fixed!important;inset:0 auto 0 0;width:min(82vw,310px);height:100dvh;overflow-y:auto!important;background:#081d38;padding:16px 12px calc(20px + env(safe-area-inset-bottom));z-index:1202;box-shadow:10px 0 30px #0005}.sidebar .nav button{font-size:14px!important;min-height:48px;display:flex;align-items:center}.sidebar .nav button.hidden{display:none!important}.sidebar .nav .ico{display:inline-flex!important;width:25px;height:25px}.mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#06162b99;border:0;z-index:5}.sidebar.mobile-open{z-index:1201!important}.mobile-drawer-close{display:block!important;align-self:flex-end;width:44px!important;min-height:44px!important;justify-content:center}.topbar{padding:8px 10px!important;min-height:54px!important;gap:6px}.topbar .crumb{display:none}.topbar strong{font-size:15px!important}.userbox{max-width:65%;gap:5px}.userbox b,.userbox small{font-size:10px!important}.userbox .btn{min-height:36px;padding:5px 8px!important}.content{padding:10px 10px calc(76px + env(safe-area-inset-bottom))!important;overflow-wrap:break-word!important}.panel{padding:13px!important}.panel h2{font-size:17px!important}.mobile-bottom{padding:4px 4px calc(4px + env(safe-area-inset-bottom))!important}.mobile-bottom button{min-height:48px;font-size:11px!important}.mobile-bottom button span{font-size:19px!important}
html .kasaco-welcome{padding:12px!important;align-items:flex-start!important}html .welcome-shell{min-height:0!important;width:100%;max-width:480px;border-radius:18px!important}html .welcome-story{display:grid!important;grid-template-columns:1.05fr 1fr;min-height:0!important;height:144px!important;align-items:center!important}html .welcome-story-content{padding:12px!important;min-width:0}html .welcome-story h2{font-size:clamp(15px,4.4vw,21px)!important;margin:5px 0!important;line-height:1.2!important}html .welcome-kicker{font-size:8px!important;letter-spacing:.4px!important;margin:0!important}html .welcome-values,html .welcome-tag{display:none!important}html .welcome-story-image{height:100%!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;background-size:contain!important;background-position:right center!important}html .welcome-form-side{padding:16px!important}html .kasaco-welcome .login-card{padding:0!important}html .login-card h1{font-size:23px!important;margin:8px 0!important}html .login-card>p{font-size:13px!important;line-height:1.4!important;margin:0 0 13px!important}html .login-brand{margin-bottom:12px!important;padding-bottom:10px!important}html .login-brand b{font-size:17px!important}html .login-brand small{font-size:9px!important}html .welcome-login-eyebrow{margin-bottom:5px!important}html .welcome-input-wrap{min-height:46px!important}html .welcome-input-wrap input{font-size:16px!important}html .welcome-submit{margin-top:10px!important;min-height:46px!important}html .kasaco-welcome .notice{margin-top:10px!important}html .welcome-secure{margin-top:10px!important}
html .hero,html .section-hero{padding:14px 40% 12px 13px!important;min-height:166px!important;border-radius:16px!important;margin-bottom:12px!important}html .hero h1,html .section-hero h1{font-size:clamp(17px,4.8vw,23px)!important;line-height:1.23!important;margin:5px 0!important}html .hero p,html .section-hero p{font-size:12px!important;line-height:1.4!important;margin:6px 0!important}html .hero .eyebrow,html .section-hero .eyebrow{font-size:9px!important;letter-spacing:.4px!important}html .hero-actions{gap:5px!important;margin-top:8px!important}html .hero-actions .btn{font-size:11px!important;padding:8px!important;min-height:36px}html .live-scene{width:40%!important;background:transparent!important}html .live-picture{background-size:contain!important;background-position:right center!important}html .live-scene:after{background:linear-gradient(90deg,#09264b,transparent 18%)!important}html .premium-greeting{font-size:10px!important;line-height:1.3!important;margin-top:6px!important;padding-top:5px!important}html .live-caption{display:none!important}.grid,.dash-kpis,.section-stats,.dash-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.lesson-grid,.module-grid,.premium-course-grid{grid-template-columns:minmax(0,1fr)!important}.lesson-card,.lesson-body,.lesson-meta{min-width:0;overflow-wrap:anywhere}.exam-intro .exam-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.exam-intro .exam-stats>div{padding:8px!important}.exam-intro .exam-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.exam-compact-paper{min-width:0;padding:9px!important}.exam-compact-tabs{gap:5px!important}.exam-compact-tabs button{white-space:normal;font-size:11px!important}.actions{flex-wrap:wrap}.actions>*{max-width:100%}
#view table.mobile-card-table{display:block!important;width:100%!important;min-width:0!important;overflow:visible!important;border:0!important}#view .table-wrap:has(.mobile-card-table){overflow:visible!important;max-width:100%}#view .mobile-card-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#view .mobile-card-table tbody{display:grid;gap:10px}#view .mobile-card-table tbody tr{display:block;background:#f5f9ff;border:1px solid #d6e5f5;border-radius:12px;padding:10px}#view .mobile-card-table td{display:grid!important;grid-template-columns:minmax(76px,30%) minmax(0,1fr);gap:8px;text-align:left!important;padding:7px 0!important;border:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;font-size:13px!important;min-width:0!important}#view .mobile-card-table td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#546e8c;overflow-wrap:normal}#view .mobile-card-table td[colspan]{display:block!important}#view .mobile-card-table td[colspan]:before{display:none}#view .mobile-card-table td .pill{white-space:nowrap!important;justify-self:start}#view .mobile-card-table td>*{min-width:0;max-width:100%}
#season-music-toggle{position:static!important;flex:none;min-height:36px!important;width:36px!important;padding:0!important;font-size:17px!important;box-shadow:none!important}#season-music-toggle[hidden]{display:none!important}.login-music-slot{display:flex;justify-content:flex-end;margin-bottom:4px}.login-music-slot:empty{display:none}html #season-particles span{font-size:clamp(7px,2vw,11px)!important;opacity:.55!important;text-shadow:0 0 2px #497da8!important}html .season-fx span{font-size:9px!important}#gameRoomBody iframe{height:calc(100dvh - 120px)!important;min-height:360px!important}html .season-preview .live-scene{width:100%!important}.viewer-overlay.show,.sl-dialog{overscroll-behavior:contain}
}
@media(min-width:901px){.mobile-drawer-close,.login-music-slot{display:none!important}}
@media(max-width:360px){html .hero,html .section-hero{padding-right:37%!important}html .live-scene{width:37%!important}.userbox b{max-width:88px}.exam-compact-paper small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){html #season-particles,html .season-fx{display:none!important}}
@media(max-width:900px){#season-music-toggle{font-size:0!important}#season-music-toggle:before{content:'🔈';font-size:17px}#season-music-toggle[aria-pressed=true]:before{content:'🔊'}}
@media(max-width:900px){.login-music-slot:has(button[hidden]){display:none}.sidebar.mobile-open .nav{transform:none!important}.sidebar .nav button .ico svg{width:25px;height:25px}.hero .eyebrow,.section-hero .eyebrow{max-width:100%}.mobile-scrim{width:100%;height:100%;padding:0;border-radius:0}.login-card .field{margin-bottom:10px!important}}
@media(max-width:360px){html .welcome-story{height:118px!important}html .welcome-form-side{padding:12px!important}.login-card>p{margin-bottom:8px!important}}
