/* GALZUU mobile app shell 13.2.45. Loaded AFTER the base stylesheet.
   Compact/scrollable like an entertainment app; does not affect desktop. */
.galzuu-app-categories{display:none}
@media(max-width:820px){
 html{max-width:100%;-webkit-text-size-adjust:100%}
 body{max-width:100%;font-size:13px;padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important}
 .topbar{background:#0b0c15f5;box-shadow:0 2px 14px #0006}
 .topbar-inner{height:52px!important;gap:8px!important;padding:0 13px!important;max-width:none}
 .topbar-inner .brand{font-size:15px!important;letter-spacing:.035em;gap:7px}
 .topbar-inner .brand-mark{width:30px;height:30px;border-radius:9px;font-size:15px}
 .topbar-inner .brand span:last-child{display:inline!important}
 .topbar-inner .nav{display:none!important}
 .topbar-inner .menu-btn{display:none!important}
 .top-actions{margin-left:auto;gap:6px!important}
 .top-actions .icon-btn{min-height:33px!important;width:33px!important;height:33px!important;font-size:20px}
 .top-actions .account-chip{min-height:32px!important;padding:3px 5px;border-radius:8px}
 .top-actions .account-chip .account-name{display:none}
 .top-actions .avatar{height:26px;width:26px;font-size:12px}
 .top-actions .primary-btn.small{font-size:10px;padding:0 8px;min-height:32px}
 .top-actions .pwa-install-btn{font-size:10px!important;padding:6px 7px!important;min-height:32px}
 .galzuu-app-categories{display:flex;position:sticky;top:52px;z-index:49;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap;background:#0d0e18f4;padding:8px 12px;border-bottom:1px solid #232337}
 .galzuu-app-categories::-webkit-scrollbar{display:none}
 .galzuu-app-categories a{flex:0 0 auto;background:#1a1c2a;border:1px solid #35364a;border-radius:999px;padding:7px 12px;color:#d8d9e7;font-size:11px;font-weight:750}
 .galzuu-app-categories a[href="dark_room.php"]{border-color:#70404e;color:#ffc5d0}
 .pwa-mobile-nav{height:auto;grid-template-columns:repeat(5,minmax(0,1fr))!important;background:#10111cf9!important;padding:5px 5px calc(6px + env(safe-area-inset-bottom,0px))!important;border-top-color:#292a43!important}
 .pwa-mobile-nav a{font-size:9px!important;gap:2px!important;padding:5px 1px!important;line-height:1.25}
 .pwa-mobile-nav a span{font-size:19px!important;line-height:1.05!important}
 .pwa-mobile-nav a.active{background:#2d2851!important}
 .home-shell{padding:10px 12px 0!important}
 .home-shell>.home-section,.home-section{padding-top:17px!important}
 .feature-stage{height:235px!important;border-radius:15px!important;box-shadow:none!important}
 .feature-shade{background:linear-gradient(0deg,#080911f7 0%,#080911ae 55%,#08091120 100%)!important}
 .feature-copy{padding:16px 14px 19px!important;width:100%!important;justify-content:flex-end!important}
 .feature-copy h1{font-size:25px!important;line-height:1.1!important;margin:7px 0!important;max-width:92%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .feature-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px!important;line-height:1.35!important;max-height:34px!important;margin:3px 0 0!important}
 .feature-kicker{font-size:9px!important;gap:5px!important}
 .feature-kicker b{padding:3px 6px!important}
 .feature-meta{font-size:10px!important;gap:5px!important;margin-bottom:0!important}
 .feature-meta span{padding:3px 7px!important}
 .feature-copy .hero-actions{gap:7px!important;margin-top:9px!important}
 .feature-copy .primary-btn,.feature-copy .secondary-btn{min-height:32px!important;border-radius:9px!important;padding:0 12px!important;font-size:11px!important}
 .feature-controls{top:10px!important;right:10px!important;bottom:auto!important;padding:5px 7px!important}
 .feature-controls .feature-arrow{display:none!important}
 .feature-dot{height:5px!important;width:5px!important}
 .feature-dot.active{width:15px!important}
 .home-stats{display:none!important}
 .rail-head{margin-bottom:9px!important;gap:7px!important;align-items:center!important}
 .rail-head .section-head p,.rail-head p{display:none!important}
 .rail-head h2,.section-head h2,.home-media-title h2{font-size:16px!important;font-weight:800!important;line-height:1.25!important}
 .home-media-icon{width:23px!important;height:23px!important;flex-basis:23px!important;border-radius:6px!important;font-size:12px!important}
 .rail-actions .more{font-size:11px!important;white-space:nowrap}
 .rail-actions button{display:none!important}
 .content-rail{gap:9px!important;padding:2px 2px 7px!important}
 .content-rail .content-card,.home-portrait-rail .content-card{flex:0 0 108px!important;width:108px!important;min-width:108px!important;max-width:108px!important}
 .content-rail .poster-wrap{border-radius:10px!important;box-shadow:none!important;aspect-ratio:2/3}
 .content-rail .card-body{padding:6px 1px 2px!important}
 .content-rail .card-body h3{font-size:11px!important;font-weight:750!important;margin-bottom:2px!important}
 .content-rail .card-body p{font-size:10px!important;line-height:1.3}
 .content-rail .access-pill,.content-rail .lock-pill{font-size:8px!important;padding:3px 5px!important;top:5px!important;left:5px!important;border-radius:5px!important}
 .content-rail .adult-hidden span{width:52px!important;height:52px!important;font-size:19px!important;border-radius:50%}
 .home-portrait-rail.grouped-series-rail>a.series-stack-card,.grouped-series-rail .series-stack-card{flex:0 0 108px!important;width:108px!important;min-width:108px!important;max-width:108px!important}
 .home-portrait-rail.grouped-series-rail>a.series-stack-card>.series-stack-visual,.home-portrait-rail.grouped-series-rail .series-stack-layer,.home-portrait-rail.grouped-series-rail .series-stack-layer img,.grouped-series-rail .series-stack-visual,.grouped-series-rail .series-stack-layer{width:108px!important;min-width:108px!important;max-width:108px!important;height:162px!important;min-height:162px!important;max-height:162px!important;border-radius:10px!important}
 .home-portrait-rail.grouped-series-rail .series-stack-copy,.grouped-series-rail .series-stack-copy{width:108px!important;max-width:108px!important;padding:6px 1px 2px!important}
 .grouped-series-rail .series-stack-copy h3{font-size:11px!important}.grouped-series-rail .series-stack-copy p{font-size:10px!important}
 .grouped-series-rail .series-stack-badge,.grouped-series-rail .series-stack-lock,.grouped-series-rail .series-stack-count{font-size:8px!important;padding:3px 4px!important}
 .home-landscape-card{min-width:170px!important;flex-basis:170px!important}
 .home-landscape-rail{gap:8px!important}
 .compact-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .compact-categories>a{min-width:0!important;padding:8px!important;border-radius:9px!important;gap:5px!important}
 .compact-categories>a>span{width:23px!important;height:23px!important;flex-basis:23px!important;font-size:12px!important}
 .compact-categories>a b{font-size:11px!important}
 .page-shell,.section{padding:16px 12px!important;min-width:0!important}
 .page-title{margin-bottom:12px!important;gap:8px!important}
 .page-title h1{font-size:23px!important;line-height:1.15!important}
 .page-title p{font-size:11px!important;line-height:1.4}
 .content-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 8px!important}
 .content-grid .poster-wrap,.catalog-grid .poster-wrap{border-radius:10px!important}
 .content-grid .card-body h3,.catalog-grid .card-body h3{font-size:11px!important}
 .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 8px!important}
 .catalog-category-head h2{font-size:19px!important}
 .detail{gap:12px!important}
 .detail h1{font-size:25px!important;line-height:1.12!important;margin:5px 0 9px!important}
 .detail-poster{border-radius:10px!important}
 .meta{gap:4px!important;margin-bottom:10px!important}.meta span{font-size:10px!important;padding:4px 6px!important}
 .desc{font-size:12px!important;line-height:1.55!important}
 .player{border-radius:12px!important;margin-top:15px!important}
 .plan{padding:14px!important;border-radius:14px!important}
 .plan .price{font-size:25px!important}
 .auth-card{padding:20px!important;border-radius:16px!important}
 .auth-card h1{font-size:23px!important}
 .account-box{padding:13px!important;border-radius:12px!important}
 .account-box b{font-size:13px!important;overflow-wrap:anywhere}
 .account-panel{gap:8px!important}
 .pwa-fast-actions{gap:7px!important;margin:0!important;flex-wrap:nowrap!important;overflow-x:auto!important}
 .pwa-fast-actions a{white-space:nowrap!important;padding:8px 11px!important;border-radius:9px!important;font-size:10px!important}
 .page-shell:has(.pwa-fast-actions){padding:8px 12px 0!important}
 .footer{display:none!important}
}
@media(max-width:360px){
 .content-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .feature-stage{height:215px!important}
 .feature-copy h1{font-size:22px!important}
 .galzuu-app-categories a{padding:6px 9px!important}
}
@media (display-mode:standalone) and (max-width:820px){
 body{overscroll-behavior-y:contain}
 .topbar{padding-top:env(safe-area-inset-top,0px)}
 .galzuu-app-categories{top:calc(52px + env(safe-area-inset-top,0px))}
}
