/* Compact mobile navigation; desktop remains on the existing layout. */
@media(max-width:1023px){
 .pomelo-body .site-header>.page-shell{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:4px;width:100%;height:48px;padding:0 8px;}
 .pomelo-body .site-header .site-brand{justify-content:flex-start;min-height:44px;margin:0;width:auto;}
 .pomelo-body .site-header .site-brand .brand-lockup>img{width:112px!important;}
 .pomelo-body .site-header .mobile-menu-trigger{width:36px;height:44px;}
 .pomelo-body .site-header>.page-shell>div:last-child{gap:0;}
 .pomelo-body .site-header a[aria-label="搜索短剧"]{width:40px;height:44px;}
 .pomelo-body .site-header .header-account-entry{display:grid;width:40px;height:44px;background:transparent;color:#b7b7bb;}
 .pomelo-body #mobile-menu{inset:0;width:100%;height:100dvh;margin:0;padding:0;border:0;background:transparent;box-shadow:none;animation:none;}
 .pomelo-body #mobile-menu::backdrop{background:#0004;backdrop-filter:none;}
 .pomelo-body #mobile-menu .mobile-menu-panel{position:absolute;top:49px;left:8px;width:174px;max-width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 61px);padding:8px;background:#191b1c;border:1px solid #ffffff12;border-radius:10px;box-shadow:0 12px 36px #0005;overflow-y:auto;}
 .pomelo-body #mobile-menu .mobile-menu-heading{padding:0 2px 6px 10px;min-height:32px;border:0;}
 .pomelo-body #mobile-menu .mobile-menu-heading p{font-size:11px;font-weight:400;color:#888b90;}
 .pomelo-body #mobile-menu .mobile-menu-close{width:32px;height:32px;color:#aaa;}
 .pomelo-body #mobile-menu .mobile-menu-close svg{width:16px;height:16px;}
 .pomelo-body #mobile-menu .menu-nav{display:grid;flex:none;gap:3px;padding:0;overflow:visible;}
 .pomelo-body #mobile-menu .menu-nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border:0;border-radius:6px;font-size:14px;font-weight:400;color:#c8c9cb;}
 .pomelo-body #mobile-menu .menu-nav a[aria-current=page]{color:#fa6191;background:#f5528612;font-weight:500;}
 .pomelo-body #mobile-menu .menu-nav a:hover{background:#ffffff08;}
 .pomelo-body #mobile-menu .mobile-menu-panel>p{margin:10px 0 0;padding:8px 4px 2px;border-top:1px solid #ffffff0a;font-size:9px;line-height:16px;color:#727579;white-space:nowrap;}
 .watch-prototype .p-watch-back a svg{display:none;}
 .watch-prototype .p-watch-back a::before{content:"";display:block;width:10px;height:10px;border-left:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin-left:5px;}
}
@media(max-width:1023px) and (orientation:portrait){
 .watch-prototype #player:not([data-portrait=true]):not(:fullscreen):not([data-page-fullscreen=true]) #video,
 .watch-prototype #player:not([data-portrait=true]):not(:fullscreen):not([data-page-fullscreen=true]) #responsive-player-poster img{object-position:center calc(50% + var(--mobile-video-center-offset,0px));}
}

@media(max-width:1023px){
 .pomelo-body .home-resume{display:none!important;}
 .pomelo-body .footer-description .mobile-omit{display:none;}
}
@media(max-width:639px){
 .pomelo-body .hongguo-home .home-section .catalogue-section-more{margin-right:-8px;gap:2px;}
}

@media(max-width:767px){
 .pomelo-body .home-hero-art:not([data-portrait]){inset:0;mask-image:none;-webkit-mask-image:none;}
 .pomelo-body .home-hero-art:not([data-portrait]) .home-hero-image{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;}
}
