/* Szeroki desktop */
@media (min-width:1281px){
	#header .forum-banner{width:calc(100vw - var(--sidebar-width));margin-left:calc((1003px - (100vw - var(--sidebar-width))) / 2);}
}

html{overflow-y:auto;}
body{overflow-y:visible;}

#header .forum-banner{position:relative;overflow:hidden;}
#header .forum-banner a{display:block;}
#header .banner-text{inset:68% auto auto 50%;width:auto;transform:translate(-50%,-50%);}
.banner-text{position:absolute;width:max-content;font-family:Brotheric;color:var(--header);font-size:105px;text-transform:none;letter-spacing:2px;white-space:nowrap;-webkit-text-fill-color:transparent;-webkit-text-stroke:1px;}
#header .forum-banner,#header .forum-banner a,#header .forum-banner img{height:700px;}
#header .forum-banner img{display:block;width:100%;object-fit:cover;}

/* Wąski desktop: nie skaluj układu — pokaż go przez poziome przewijanie. */
@media (hover:hover) and (pointer:fine) and (max-width:1280px){
	html,body{min-width:1100px!important;overflow-x:auto!important;}
	#content{overflow:visible!important;}
	#header #content > .wrapper{width:1010px!important;max-width:none!important;min-width:1010px!important;margin-left:auto!important;margin-right:auto!important;}
	#header .forum{width:1010px!important;min-width:1010px!important;float:left!important;}
	#header .forum-banner{width:1010px!important;min-width:1010px!important;height:700px!important;margin:0!important;}
	#header .forum-banner a{display:block!important;width:100%!important;height:700px!important;}
	#header .forum-banner img{display:block!important;width:100%!important;height:700px!important;max-width:none!important;object-fit:cover!important;}
	#header .banner-text{display:none!important;}
}

/* Koniec przewijania dokładnie na krawędzi forum. */
@media (hover:hover) and (pointer:fine) and (max-width:1280px){
	html,body{min-width:calc(1010px + var(--sidebar-width))!important;}
	#header #content > .wrapper{margin-left:var(--sidebar-width)!important;margin-right:0!important;}
}
/* Wąski desktop: szerokość dokumentu koczy się dokładnie na forum. */
@media (hover:hover) and (pointer:fine) and (max-width:1280px){
	html{min-width:0!important;overflow-x:auto!important;}
		body{
					width:calc(1010px + var(--sidebar-width))!important;
					min-width:calc(1010px + var(--sidebar-width))!important;
					max-width:calc(1010px + var(--sidebar-width))!important;
					margin:0!important;
					overflow-x:clip!important;
	}
		body > center,
		#header{
					display:block!important;
					width:calc(1010px + var(--sidebar-width))!important;
					min-width:calc(1010px + var(--sidebar-width))!important;
					max-width:calc(1010px + var(--sidebar-width))!important;
					margin:0!important;
	}
		#header #content{
					width:1010px!important;
					min-width:1010px!important;
					max-width:1010px!important;
					margin-left:var(--sidebar-width)!important;
					margin-right:0!important;
					overflow:visible!important;
	}
		#header #content > .wrapper{
					width:1010px!important;
					min-width:1010px!important;
					max-width:1010px!important;
					margin:0!important;
	}
}

/* Korekta: stare przesunięcie dla telefonu nie może przesuwać desktopu. */
@media (hover:hover) and (pointer:fine) and (max-width:1280px){
		html body > center > #header{
					left:0!important;
					margin-left:0!important;
	}
}
