* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	height: 100%;
	font: 14px/18px Times, Arial, Tahoma, Verdana, sans-serif;
	/* Сделали центр более синим, а края темно-синими (не черными) */
	background: radial-gradient(circle at center, #001d3d 0%, #000814 100%) no-repeat !important;
	background-attachment: fixed !important;
	background-size: cover !important;
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
#starfield {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}
p {
	margin: 0;
}
h2 {
	line-height: 1.1em;
	font-size: 1.36em;
	color: #0B4388;
	padding: 16px 0 9px 0;
	text-align: center;
}
img {
	border: none;
	max-width: 100%;
	height: auto;
}
body {
	max-width: 100%;
	overflow-x: hidden;
}
#kon33 table {
	max-width: 100%;
}
input {
	vertical-align: middle;
}
#wrapper {
	min-width: 300px;
	max-width: 1600px;
	margin: 0 auto;
	flex: 1 0 auto;
	width: 100%;
}
/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 4px;
	position:relative;
	margin-top:50px;
}
@media screen and (min-width: 799px) {
#sitename {
position: absolute;
left:260px;
top:8px;
font-family: "Courier New", Courier, monospace;
font-style: italic;
font-size: 1.8em;
color: #000;
text-shadow:
-1px -1px 0 #FDFDFD,
1px -1px 0 #FDFDFD,
-1px 1px 0 #FDFDFD,
1px 1px 0 #FDFDFD;
}
#slogan {
position: absolute;
left:260px;
top:30px;
font-family: "Lucida Console", Monaco, monospace;
font-style: oblique;
font-size: 1em;
color: #FDFDFD;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
}
@media screen and (max-width: 799px) {
#sitename {
    visibility: hidden;
    display: none;
}
}
@media screen and (max-width: 799px) {
#slogan {
    visibility: hidden;
    display: none;
}
}
#menupri{
	position:fixed;
	width:100%;
	height:50px;
	margin-top:-50px;
	background: linear-gradient(176deg, #3f6aa8 0%, #0a2748 60%, #05162e 100%);
	border: 1px solid rgba(255,255,255,0.18);
	box-sizing: border-box;
	z-index:222;
	max-width: 1600px;
	min-width: 300px;
}
#logo a {
position: absolute;
left:47px;
top:16px;
font-family: Georgia, "Times New Roman", Times, serif;
color:#fff;
text-decoration:none;
font-size:1.3em;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
.logoa {
color:#f33408;
}
.logov {
color:#08f371;
}
.logor {
color:#f4fc21;
}
#logoo {
	position: absolute;
	top: 6px;
	left: 4px;
	height:50px;
}
#logoav {
	position: absolute;
	top: 8px;
	left: 12px;
	width: 18px;
	height: 18px;
}
#logoav img {
	max-width: none;
	width: 18px;
	height: 18px;
}
@media screen and (max-width: 799px) {
#logoav {
    visibility: hidden;
    display: none;
}
}
@media screen and (min-width: 799px) {
#menmob {
    visibility: hidden;
    display: none;
}
}
.acontainer {
    display: inline-block;
    cursor: pointer;
}
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}
#nav1 {
	position: absolute;
	top: 11px;
	left: 133px;
}
@media screen and (max-width: 799px) {
#nav1 {
    visibility: hidden;
    display: none;
  }
}
#sert {
	position:absolute;
	top:12px;
	right:0;
	width:100%;
}
.search {
	right: 37px;
}
#langswitch {
	position: absolute;
	top: -1px;
	right: 0;
}
	#langswitch a {
		display: block;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 1.1em;
		line-height: 26px;
		padding-right: 11px;
		color: #fff;
		text-decoration: none;
		text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	}
#langswitch a:hover {
	color: #08f371;
}

/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 13px;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '';
	clear: both;
	display: table;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
@media screen and (min-width: 799px) {
#content {
	padding: 45px 80px 0 246px;
}
}
.titlik {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1.4rem;
line-height: 1.2;
color: #0B4388;
display: inline-block;
margin-left:10px;
margin-bottom:22px;
}
h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-variant-numeric: lining-nums;
	font-size: 1.6rem;
	line-height: 1.25;
	color: #0B4388;
	text-align: center;
	margin-bottom: 18px;
}
main {
	display: block;
	padding: 10px 0;
	margin: 10px 0;
}
.intro-text {
	text-align: center;
	padding-bottom: 16px;
}
/* Content card: light/dark theme (чистый CSS, без картинок)
-----------------------------------------------------------------------------*/
#content {
	--card-bg: #fdfcf7;
	--card-text: #1a1a1a;
	--card-heading: #0B4388;
	--card-border: #ddd;
	--card-hover: #f2f6fb;
	--card-shadow: rgba(0,0,0,0.25);
	--card-link: #0B4388;
}
#content.dark-content {
	--card-bg: #1b1e24;
	--card-text: #d8dadd;
	--card-heading: #7fb2ff;
	--card-border: #3a3d43;
	--card-hover: #262a31;
	--card-shadow: rgba(0,0,0,0.6);
	--card-link: #7fb2ff;
}
#kon11 {
	position: relative;
	background: var(--card-bg);
	border-radius: 6px;
	box-shadow: 0 4px 16px var(--card-shadow);
	transition: background .25s ease, box-shadow .25s ease;
	margin: 7px 18px 37px 9px;
}
#kon33 {
	min-height: 300px;
	padding: 27px 30px 30px;
	font-size: 1.2em;
	line-height: 1.35;
	background: none;
	border-radius: 6px;
}
#kon33 p  {
font-size: 1.2em;
line-height:1.35;
font-weight: lighter;
}
#kon33 strong {
color: var(--card-heading);
}
#kon33 a {
	color: var(--card-link);
}
#kon33 a.push {
	color: #fff;
}
#kon33 a.red-button {
	color: #fff;
}
#kon33 .titlik {
	color: var(--card-heading);
}
#content.dark-content #kon33 {
	filter: invert(1) hue-rotate(180deg);
	transition: filter .25s ease;
}
/* превью с лайтбоксом (<a class="highslide"><img></a>) — один слой на ссылке */
#content.dark-content #kon33 a:has(img) {
	filter: invert(1) hue-rotate(180deg);
}
/* одиночные картинки/видео без ссылки-обёртки */
#content.dark-content #kon33 img:not(a img),
#content.dark-content #kon33 video:not(a video),
#content.dark-content #kon33 iframe,
#content.dark-content #kon33 figure:not(a figure),
#content.dark-content #kon33 picture:not(a picture),
#content.dark-content #kon33 canvas:not(a canvas) {
	filter: invert(1) hue-rotate(180deg);
}
/* блок соцкнопок и списки — целиком одним слоем, что бы внутри ни было */
#content.dark-content #kon33 .social,
#content.dark-content #kon33 .listing {
	filter: invert(1) hue-rotate(180deg);
}
/* обычные текстовые ссылки в статье (без картинки и не внутри .social/.listing) */
#content.dark-content #kon33 a:not(:has(img)):not(.social a):not(.listing a) {
	filter: invert(1) hue-rotate(180deg);
}
/* заголовок и жирный текст — не вложены в перечисленное выше, безопасно */
#content.dark-content #kon33 strong,
#content.dark-content #kon33 .titlik {
	filter: invert(1) hue-rotate(180deg);
}
/* оверлей встроенных игр — не трогаем, у него свой чёрный фон и он всё равно
   переносится в document.body скриптом до показа */
#content.dark-content #kon33 #gameOverlay {
	filter: invert(1) hue-rotate(180deg);
}
#theme-toggle {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	color: var(--card-text);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
}
.listing {
	margin-top: 14px;
	font-size: 1.2em;
}
.listing a {
	display: block;
	padding: 8px 4px;
	border-bottom: 1px solid var(--card-border);
	color: var(--card-text);
}
.listing a:last-child {
	border-bottom: none;
}
.listing a:hover {
	background: var(--card-hover);
}
.listing a + br {
	display: none;
}
/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
}
@media screen and (max-width: 799px) {
#sideLeftik {
	position:fixed;
	top: 36px;
	left: 0;
	width: 250px;
	max-height: calc(100vh - 36px);
	overflow-y: auto;
	overflow-x: hidden;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
	z-index:225;
}
}
#menunavi1 {
	background: url(images/menunav11.png) no-repeat;
	height: 71px;
	width: 250px;
	margin-top: -4px;
	position: relative;
	z-index: 2;
}
#menunavi2 {
	background: linear-gradient(160deg, #3f6aa8 0%, #0a2748 35%, #05162e 100%);
	width:215px;
	margin-left:20px;
	margin-top:-15px;
	min-height:276px;
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.18);
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}
#menunavi33 {
	padding: 15px 10px 10px;
}
#menunavi33 a {
font-family: Georgia, "Times New Roman", Times, serif;
color:#fff;
text-decoration:none;
font-size:1.2em;
line-height: 1.3em;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
#menunavi33 a:hover, #menunavi33 a.active {
font-family: Georgia, "Times New Roman", Times, serif;
font-weight: lighter;
color: #08f371;
font-size:1.2em;
line-height: 1.3em;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
.awstats-sta {
	color: #FDFDFD;
	font-family: sans-serif;
	font-size: 14px;
	padding-top: 7px;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.awstats-sta a {
	text-decoration: underline !important;
}
.awstats-sta a:hover {
	text-decoration: none !important;
}
	@media screen and (max-width: 799px) {
		#sideLeft {
			visibility: hidden;
			display: none;
		}
	}

	@media screen and (min-width: 799px) {
		#sideLeftik {
			visibility: hidden;
			display: none;
		}
	}

	@media screen and (min-width: 799px) {
		#verhh {
			position: absolute;
			top: 108px; /* было 60px -- сдвинуто вниз на 100px */
			right: 16px;
			width: 67px;
			height: 85px;
			background: url(images/verh.png) no-repeat;
		}

		#verhhh {
			position: absolute;
			top: 108px; /* было 60px -- тот же сдвиг на 100px, что и у #verhh */
			right: 16px;
			width: 67px;
			height: 85px;
			background: url(images/verhh.png) no-repeat;
		}

		#verhhhh {
			position: fixed;
			top: 100px; /* раньше не было явного top (примерно 0 по факту) -- теперь сдвинуто на 100px вниз */
			left: 0;
			right: 0;
			width: 100%;
			max-width: 1600px;
			min-width: 300px;
			margin: 0 auto;
		}

		.verhhhhh {
			position: absolute;
			top: 76px;
			right: 14px;
			width: 70px;
			height: 270px;
			background: url(images/verhhh.png) no-repeat;
		}

		#verh {
			display: none;
			position: absolute;
			width: 70px;
			height: 40px;
			top: 229px;
			-webkit-transition: 1s;
			transition: 1s;
			background: url(images/ver.png) no-repeat;
		}

		#socium {
			position: fixed;
			top: 100px; /* тот же сдвиг на 100px, что и у #verhhhh -- чтобы соцкнопки остались на месте у фломастера */
			left: 0;
			right: 0;
			width: 100%;
			max-width: 1600px;
			min-width: 300px;
			margin: 0 auto;
		}

		#soc {
			position: absolute;
			top: 165px;
			right: 29px;
		}
	}

	/* фломастеру нужно примерно 454px высоты окна (top 108px + сам корпус),
	   а при сильном увеличении масштаба страницы (Ctrl + колёсико/плюс) видимая
	   высота окна в CSS-пикселях уменьшается -- на таких экранах фломастер лучше
	   аккуратно скрыть целиком, чем показывать обрезанным или вообще невидимым
	   без объяснения причины */
	@media screen and (max-height: 400px) {
		#verhh, #verhhh, #verhhhh, #socium {
			display: none;
		}
	}

	@media screen and (max-width: 799px) {
		#socium {
			visibility: hidden;
			display: none;
		}
	}
	/* Footer
-----------------------------------------------------------------------------*/
	#footer {
		margin: 0 auto;
		min-width: 300px;
		max-width: 1600px;
		height: 63px;
		position: relative;
		padding: 0 2px;
		flex-shrink: 0;
		width: 100%;
	}

	#fot1 {
		background: url(images/fot1.png) no-repeat;
		height: 63px;
	}

	#fot2 {
		background: url(images/fot2.png) top right no-repeat;
		height: 63px;
	}

	#fot3 {
		background: linear-gradient(to bottom, transparent 0%, transparent 19%, #5aa9bb 20%, #1c5a7c 60%, #0a2038 100%);
		height: 63px;
		margin: 0;
	}

	.style1 {
		color: #333333;
		font-size: 15px;
		font-weight: bold;
	}