@media(max-width:860px){
	:root{--gogo-pad:18px;--gogo-header-h:86px;--gogo-card-radius:7px}
	html,body{overflow-x:hidden}
	body.gogotv-child{padding-bottom:76px!important;background:#0b0b0b!important}
	body.gogotv-child.admin-bar .gogo-site-header{top:46px}
	body.gogotv-child.admin-bar .gogo-mobile-nav{bottom:0}

	/* Mobile header */
	.gogo-site-header{position:sticky;top:0;background:rgba(10,10,10,.98);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.06)}
	.gogo-site-header__inner{width:100%;height:86px;padding:0 18px;gap:14px}
	.gogo-site-brand{font-size:25px;letter-spacing:-.075em}
	.gogo-site-nav{display:none}
	.gogo-site-actions{gap:15px}
	.gogo-header-icon{width:28px;height:28px;padding:1px}
	.gogo-header-icon svg{width:26px;height:26px}
	.gogo-header-profile{width:38px;height:38px}
	.gogo-address-strip{display:none}
	.gogo-site-announcement{width:calc(100% - 28px);margin:8px auto;padding:10px 12px!important;font-size:12px}

	/* Shared width */
	body.gogotv-child .gogo-shell,
	body.gogotv-child .psbody,
	body.gogotv-child .breadcrumb,
	body.gogotv-child .gogo-movie-announcement,
	body.gogotv-child .gogo-watch-breadcrumb-shell,
	body.gogotv-child .gogo-movie-grid-shell,
	body.gogotv-child .gogo-movie-body-grid,
	body.gogotv-child .gogo-watch-body-grid{
		width:100%!important;
		max-width:100%!important;
		margin-left:0!important;
		margin-right:0!important;
	}

	/* Banners are handled in banner.css; keep them close to header */
	.gogotv-top-ads{margin-top:8px!important;margin-bottom:14px!important}

	/* Home: reference-like horizontal shelves */
	.gogo-home{padding:20px 0 32px}
	.gogo-section{margin:0 0 42px}
	.gogo-section__head{padding:0 18px;margin-bottom:16px;align-items:center}
	.gogo-section__title{font-size:22px}
	.gogo-section__more{font-size:14px;color:#a9a9a9}
	.gogo-home-cards{
		display:grid;
		grid-auto-flow:column;
		grid-auto-columns:calc((100vw - 64px)/3);
		grid-template-columns:none;
		gap:12px;
		overflow-x:auto;
		padding:0 18px 8px;
		scroll-snap-type:x proximity;
		scrollbar-width:none;
		-webkit-overflow-scrolling:touch;
	}
	.gogo-home-cards::-webkit-scrollbar{display:none}
	.gogo-home-cards .gogo-poster-card{scroll-snap-align:start}

	/* Poster cards */
	.gogo-poster-card__image{border-radius:7px}
	.gogo-poster-card__country{left:6px;top:6px;padding:4px 6px;font-size:10px}
	.gogo-poster-card__update{padding:8px 9px;font-size:10px}
	.gogo-poster-card__title{margin-top:9px;font-size:14px;line-height:1.45;min-height:41px}
	.gogo-poster-card__type{font-size:11px}
	.gogo-poster-card__rank{font-size:48px}
	.gogo-poster-card__stats{font-size:11px}

	/* Archives */
	.gogo-archive-shell{width:100%!important;margin:0 auto 38px!important;padding:22px 18px 0}
	.gogo-archive-head{margin:0 0 24px;align-items:center}
	.gogo-archive-title-wrap{gap:10px}
	.gogo-archive-back{display:flex!important;border:0!important;width:34px!important;height:34px!important;font-size:36px!important;color:#ddd!important}
	.gogo-archive-title{font-size:24px!important}
	.gogo-archive-count{font-size:11px}
	.gogo-archive-filter{min-width:150px}
	.gogo-archive-filter select{height:52px!important;background:#0d0d0d!important;border:1px solid #343434!important;color:#eee!important;font-size:14px!important}
	.gogo-archive-grid,.gogo-ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px 12px!important}
	.gogo-pagination{gap:6px;padding:30px 0 8px}
	.gogo-pagination .page-numbers{min-width:44px;height:44px;padding:0 10px;background:#2b2b2b}

	/* Popular */
	.gogo-popular-shell{width:100%!important;margin:0 auto 40px!important;padding:24px 18px 0}
	.gogo-popular-hero{padding:22px 0 22px;margin:0 0 34px;border-left:0;border-right:0;border-radius:0;background:radial-gradient(circle at 34% 18%,rgba(175,19,36,.28),transparent 48%),#151111}
	.gogo-popular-hero__title-row{padding:0 0 0}
	.gogo-popular-hero__title-row>div{gap:11px}
	.gogo-popular-kicker{font-size:14px}
	.gogo-popular-hero h1{font-size:25px}
	.gogo-popular-total{width:48px;height:48px;font-size:13px}
	.gogo-popular-tabs{margin:22px 0 20px;border-radius:9px}
	.gogo-popular-tabs a{min-height:66px;font-size:15px}
	.gogo-popular-chips{gap:9px;padding-bottom:12px}
	.gogo-popular-chips a{min-height:44px;padding:0 17px;font-size:14px}

	/* Search page */
	.gogo-search-page__form{grid-template-columns:1fr 52px;gap:8px;margin-bottom:26px}
	.gogo-search-page__form input{height:52px;font-size:15px}
	.gogo-search-page__form button{min-width:52px;padding:0;font-size:0}
	.gogo-search-page__form button:after{content:"⌕";font-size:24px}

	/* Full-screen panels */
	.gogo-mobile-panel-overlay{background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}
	.gogo-mobile-full-panel{
		left:0;top:0;right:0;bottom:0;width:100%;height:100dvh;max-height:none;
		transform:translateY(24px);border:0;border-radius:0;background:#0d0d0d;
		opacity:0;visibility:hidden;
	}
	.gogo-mobile-full-panel.is-open{transform:translateY(0);opacity:1;visibility:visible}
	.gogo-mobile-full-panel__head{height:82px;padding:0 18px;background:#111}
	.gogo-mobile-full-panel__head h2{font-size:21px}
	.gogo-mobile-full-panel__body{max-height:calc(100dvh - 82px - 76px);padding:18px 20px 100px}
	.gogo-mobile-category-group{padding:10px 0 26px}
	.gogo-mobile-category-group h3{font-size:20px;margin-bottom:14px}
	.gogo-mobile-category-group>div{gap:10px}
	.gogo-mobile-category-group a{min-height:58px;padding:0 15px;background:#222;font-size:15px}
	.gogo-search-panel-head form{grid-template-columns:1fr 52px}
	.gogo-search-panel-head input{height:52px;font-size:15px}
	.gogo-search-panel-head form button{height:52px}
	.gogo-search-popular-head{margin:12px 0 22px}
	.gogo-search-popular-head h3{font-size:20px}
	.gogo-search-popular-list{gap:13px}
	.gogo-search-popular-list li a{font-size:16px}

	.gogo-history-card{grid-template-columns:1fr 42px;padding:12px;border-radius:14px}
	.gogo-history-card__main{grid-template-columns:104px minmax(0,1fr);gap:13px}
	.gogo-history-card__main img,.gogo-history-placeholder{width:104px;height:76px}
	.gogo-history-card__copy strong{font-size:14px}

	/* Bottom app-style navigation */
	.gogo-mobile-nav{
		position:fixed;left:0;right:0;bottom:0;z-index:99992;height:76px;
		display:grid;grid-template-columns:repeat(6,1fr);
		background:rgba(15,15,15,.98);border-top:1px solid rgba(255,255,255,.06);
		backdrop-filter:blur(12px);padding-bottom:env(safe-area-inset-bottom);
	}
	.gogo-mobile-nav__item{appearance:none;border:0;background:transparent;color:#bfbfbf;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:6px 1px;font-size:10px;line-height:1.15;cursor:pointer}
	.gogo-mobile-nav__item svg{width:24px;height:24px;fill:currentColor}
	.gogo-mobile-nav__item.is-current{color:#fff}
	.gogo-mobile-nav__item span{white-space:nowrap}

	/* Footer */
	.gogo-site-footer{margin-top:46px;padding-bottom:76px}
	.gogo-site-footer__inner{width:100%;padding:30px 18px 42px}
	.gogo-footer-notice{padding-bottom:24px}
	.gogo-footer-notice h2{font-size:18px}
	.gogo-footer-links{gap:10px 13px}

	/* Back to top */
	.gogo-back-to-top{right:18px;bottom:92px;width:52px;height:52px}

	/* Hide old parent chrome/sidebar fragments */
	body.gogotv-child #main-menu,
	body.gogotv-child .main-menu,
	body.gogotv-child .site-header:not(.gogo-site-header),
	body.gogotv-child #sidebar,
	body.gogotv-child .sidebar{display:none!important}

	/* Light mode for custom chrome only */
	html.gogo-theme-light .gogo-site-header,
	html.gogo-theme-light .gogo-mobile-nav,
	html.gogo-theme-light .gogo-mobile-full-panel__head{background:rgba(255,255,255,.98)}
	html.gogo-theme-light .gogo-site-brand__gogo,
	html.gogo-theme-light .gogo-header-icon,
	html.gogo-theme-light .gogo-mobile-nav__item,
	html.gogo-theme-light .gogo-mobile-full-panel__head h2{color:#151515}
}

@media(max-width:380px){
	.gogo-site-header__inner{padding:0 14px}
	.gogo-site-actions{gap:10px}
	.gogo-site-brand{font-size:23px}
	.gogo-home-cards{grid-auto-columns:calc((100vw - 48px)/2);padding-left:14px;padding-right:14px}
	.gogo-archive-shell,.gogo-popular-shell{padding-left:14px;padding-right:14px}
	.gogo-archive-grid,.gogo-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
	.gogo-mobile-nav__item{font-size:9px}
	.gogo-mobile-nav__item svg{width:22px;height:22px}
}

@media(min-width:861px){
	.gogo-mobile-nav{display:none!important}
}

@media(max-width:860px){
	.gogo-history-card{grid-template-columns:minmax(0,1fr) 42px!important}
	.gogo-history-card__actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
	.gogo-history-card__actions:empty{display:none!important}
	.gogo-history-card__actions a{min-height:40px!important}
}
