html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Saira Semi Condensed', sans-serif;
	overflow: hidden;
	width: 100%;
	height: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar {
	width: 14px;
	height: 14px;
}
::-webkit-scrollbar-thumb {
	background-color: #545e5f;
}
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {
	background-color: rgba(0, 0, 0, 0.1);
}
a {
	color: #6e15db;
	text-decoration: none;
}
a:visited {
	color: #6e15db;
}
a:hover {
	color: #5115a3;
}
a.list:hover {
	color: #c1cddd;
}
.clearfix {
	overflow: auto;
}
.clearfix::after {
	content: "";
	clear: both;
	display: table;
}
.leaflet-div-icon {
	background: none !important;
	border: none !important;
}
#map {
	position: absolute;
	z-index: 100;
	right: 0;
	left: 0;
	top: 50px;
	bottom: 50px;
}
.leaflet-container {
	background: #000;
}
.loading {
	background: url("../images/backloading.gif") !important;
}
.alert {
	text-align: center;
	transform: translateY(calc(50vh - 50%));
	font-size: 30px;
}


/*
	MODIFICATORS
 */
.mod_unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.mod_hidden {
	display: none;
}
.mod_text-grey {
	color: #999;
}
.mod_text-left {
	text-align: left;
}
.mod_text-right {
	text-align: right;
}
.mod_text-center {
	text-align: center;
}
.mod_float-right {
	float: right;
}
.mod_float-left {
	float: left;
}
.mod_text-top {
	vertical-align: top;
}
.mod_text-bottom {
	vertical-align: bottom;
}
.mod-night {
	filter: invert(1) hue-rotate(210deg) contrast(0.9);
}


/*
	HEADER
 */
.header {
	background-color: #3f4650;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	height: 50px;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.header__share {
	display: none;
	cursor: pointer;
	padding: 3px;
	margin-left: 10px;
}
.header__settings-toggle {
	cursor: pointer;
	padding: 3px;
	margin-left: 5px;
}
.header__settings-toggle.active {
	color: #8ee08b;
}
.header__night-mode_gray {
	color: #999;
}
.settings-panel {
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 250;
	background: #3f4650;
	color: #fff;
	padding: 12px 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border-radius: 0 0 6px 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
	white-space: nowrap;
}
.settings-panel__row {
	display: flex;
	gap: 20px;
}
.settings-panel__row-bottom {
	align-items: center;
	gap: 12px;
	justify-content: space-between;
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 10px;
}
.settings-panel__section {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.settings-panel__title {
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	color: #8a95a5;
	margin-bottom: 2px;
}
.settings-panel__item {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.4;
}
.settings-panel__item:hover {
	color: #c1cddd;
}
.settings-panel__cb {
	margin: 0;
	cursor: pointer;
}
.settings-panel__section-reset {
	justify-content: flex-end;
	align-self: flex-end;
}

.settings-panel__reset {
	background: #2a2f38;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 3px;
	padding: 5px 12px;
	font-size: 12px;
	cursor: pointer;
}
.settings-panel__reset:hover {
	background: #3f4650;
}
.settings-panel__coords {
	display: flex;
	gap: 4px;
	align-items: center;
}
.settings-panel__coord-input {
	width: 70px;
	padding: 3px 6px;
	background: #2a2f38;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 3px;
	font-size: 12px;
	-moz-appearance: textfield;
}
.settings-panel__coord-input--wide {
	width: 180px;
}
.settings-panel__coord-input::-webkit-outer-spin-button,
.settings-panel__coord-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.settings-panel__coord-btn {
	background: #2a2f38;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 3px;
	padding: 3px 8px;
	font-size: 12px;
	cursor: pointer;
}
.settings-panel__coord-btn:hover {
	background: #3f4650;
}
.header__title,
.header__buttons-container {
	position: absolute;
	left: 0;
	right: 0;
	line-height: 50px;
}
.header__buttons {
	z-index: 201;
}
.header__button {
	color: #fff !important;
	background-color: #3c6ec5;
	line-height: 50px;
	width: 60px;
	text-align: center;
	cursor: pointer;

	-webkit-box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}
.header__button:hover {
	-webkit-box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
}
.header__title {
	z-index: 202;
	/* width: 800px; */
	/* margin: 0 auto; */
	margin: 0 150px;
	text-align: center;
	font-size: 17px;
	text-transform: uppercase;
	font-family: 'Saira Semi Condensed', sans-serif;
}
.header__title u {
	color: #999;
	text-decoration: none;
	margin: 0 4px;
}
.header__title b {
	color: #999;
	font-style: normal;
	margin: 0 4px;
	font-size: 14px;
}
.header__title span {
	margin: 0 10px;
}
.header__button-back {
	background-color: #368a34;
	display: inline-block;
	margin-right: 10px;
}
.header__badge {
	margin-left: 12px;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: bold;
	color: white;
	border-radius: 4px;
	vertical-align: middle;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.header__badge--maintenance {
	background: #d32f2f;
}
.header__badge--debug {
	background: #f57c00;
}


/*
	MESSAGE
 */
.message {
	cursor: pointer;
	position: absolute;
	z-index: 199;
	top: 0;
	left: 50%;
	width: 400px;
	margin-left: -150px;
	text-align: left;
	padding: 3px 6px;
	background: #e9ffe0;
	color: #000000;
	font-size: 12px;
	white-space: pre-wrap;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.message span {
	cursor: pointer;
	display: block;
}


/*
	SHARE
 */
.share__input {
	width: 640px;
	padding: 5px 10px;
}
.share__positions {
	vertical-align: middle;
}


/*
	FOOTER
 */
.footer {
	background-color: #3f4650;
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	height: 50px;
	padding: 0 10px;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.footer__overlay {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 300;
	background: #3f4650;
	opacity: 0.7;
}
.footer__version {
	position: absolute;
	left: 20px;
	top: 0;
	z-index: 201;
	font-size: 12px;
	text-align: left;
	line-height: 50px;
}
.footer__authors {
	cursor: help;
	position: absolute;
	right: 20px;
	top: 6px;
	z-index: 201;
	font-size: 12px;
	text-align: right;
	line-height: 19px;
}
.footer__authors a {
	color: #fff;
	text-decoration: none;
}
.footer__authors a:hover {
	text-decoration: underline;
}
.footer__inner {
	width: calc((100% - 380px) / 1.5);
	margin: 0 auto;
	position: relative;
	line-height: 50px;
	height: 50px;
	background-color: #368a34;
	-webkit-box-shadow: inset 0px -15px 40px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0px -15px 40px 0px rgba(0,0,0,0.25);
	box-shadow: inset 0px -15px 40px 0px rgba(0,0,0,0.25);
}
.footer__button {
	color: #fff;
	position: absolute;
	top: 7px;
	cursor: pointer;
}
.footer__button-speed-up {
	right: 20px;
}
.footer__button-speed-down {
	right: 85px;
}
.footer__button-continue {
	left: 20px;
	display: none;
}
.footer__button-stop {
	left: 20px;
	display: none;
}
.footer__button-warbegin {
	left: 70px;
	display: none;
}
.footer__button:hover {
	color: #c1cddd;
}
.footer__timer {
	position: absolute;
	right: 85px;
	left: auto;
	font-size: 13px;
}
.footer__timer-current {
	color: #b4e080;
}
.footer__speed {
	position: absolute;
	right: 15px;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	font-size: 13px;
}


/*
	LEFT
 */
.left {
	position: absolute;
	top: 50px;
	background-color: rgba(55, 59, 66, 0.98);
	left: -300px;
	width: 300px;
	bottom: 50px;
	z-index: 199;
	color: #fff;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.left__wrap {
	padding: 10px;
}


/*
	LOBBY
 */
.lobby__sides-item {
	width: 65px;
	padding: 7px 0;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	border: 1px transparent solid;
}
.lobby__sides-item-0 {
	background-color: #0000fe;
}
.lobby__sides-item-1 {
	background-color: #e50000;
}
.lobby__sides-item-2 {
	background-color: #008000;
}
.lobby__sides-item-3 {
	background-color: #ffa500;
}
.lobby__sides_active {
	border-color: #989898;
}
.lobby__units-wrap {
	position: absolute;
	top: 55px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	overflow-y: auto;
}
.lobby__units {
	font-family: 'Saira Semi Condensed', sans-serif;
	color: #eaeaea;
	font-size: 14px;
	line-height: 20px;
}
.lobby__units-row {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}
.lobby__units-group {
	margin-bottom: 5px;
}
.lobby__units-group-title {
	font-weight: bold;
	color: #368a34;
}
.lobby__units-slot {
	color: #9c9c9c;
	margin-left: 5px;
	font-size: 11px;
}
.lobby__units-row:hover {
	background-color: #585c63;
	cursor: pointer;
}
.lobby__units_dead {
	opacity: 0.4;
}


/*
	RIGHT
 */
.right {
	position: fixed;
	top: 50px;
	background-color: rgba(249, 247, 247, 0.93);
	right: -300px;
	width: 300px;
	bottom: 50px;
	z-index: 199;
	color: #3f4650;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.right__wrap {
	padding: 10px;
}


/*
	LOG
 */
.log {
	font-size: 13px;
	line-height: 16px;
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	overflow-y: auto;
}
.log__name {
	font-weight: 600;
}
.log__event {
	color: #8269ee;
}


/*
	UNIT
 */
.unit {
	font-family: 'Saira Semi Condensed', sans-serif;
}
.unit-rel {
	position: absolute;
	left: -35%;
	top: -35%;
}
.unit-hidden {
	display: none;
}
.unit-icon {
	background: no-repeat center;
	background-size: 30px;
	float: left;
	height: 20px;
	width: 20px;
}
.unit-title {
	font-size: 14px;
	font-weight: 600;
	text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px, rgba(0, 0, 0, 0.3) 2px 2px 5px;
	padding-left: 1px;
	white-space: nowrap;
}
.unit-man-dead {
	opacity: .3;
}
.unit--outside-map .unit-icon {
	background-color: rgba(255, 255, 255, 0.18);
	border-radius: 3px;
}
.unit-side-east, .ceast {
	color: #e50000;
}
#right .name-east {
	background: #e50000;
}
.unit-side-west, .cwest {
	color: #0000fe;
}
#right .name-west {
	background: #0000fe;
}
.unit-side-guer, .cguer {
	color: #008000;
}
#right .name-guer {
	background: #008000;
}
.unit-side-civ {
	color: #ffa500;
}
#right .name-civ {
	background: #ffa500;
}
.unit-man-unconscious .unit-icon {
	background-size: 15px !important;
}
.unit-icon-man-west {
	background-image: url("../icons/man-west.png");
	background-size: auto !important;
}
.unit-man-unconscious .unit-icon-man-west {
	background-image: url("../icons/man-west-unc.png");
}
.unit-icon-man-east {
	background-image: url("../icons/man-east.png");
	background-size: auto !important;
}
.unit-man-unconscious .unit-icon-man-east {
	background-image: url("../icons/man-east-unc.png");
}
.unit-icon-man-guer {
	background-image: url("../icons/man-guer2.png");
	background-size: auto !important;
}
.unit-man-unconscious .unit-icon-man-guer {
	background-image: url("../icons/man-guer-unc.png");
}
.unit-icon-man-civ {
	background-image: url("../icons/man-civo.png");
	background-size: auto !important;
}
.unit-man-unconscious .unit-icon-man-civ {
	background-image: url("../icons/man-civo-unc.png");
}
.unit-icon-apc-east {
	background-image: url("../icons/apc-east.png");
}
.unit-icon-apc-west {
	background-image: url("../icons/apc-west.png");
}
.unit-icon-apc-guer {
	background-image: url("../icons/apc-guer.png");
}
.unit-icon-apc-civ {
	background-image: url("../icons/apc-civo.png");
}
.unit-icon-apc-dead {
	background-image: url("../icons/apc-dead.png");
}
.unit-icon-car-east {
	background-image: url("../icons/car-east.png");
}
.unit-icon-car-west {
	background-image: url("../icons/car-west.png");
}
.unit-icon-car-guer {
	background-image: url("../icons/car-guer.png");
}
.unit-icon-car-civ {
	background-image: url("../icons/car-civo.png");
}
.unit-icon-car-dead {
	background-image: url("../icons/car-dead.png");
}
.unit-icon-tank-east {
	background-image: url("../icons/tank-east.png");
}
.unit-icon-tank-west {
	background-image: url("../icons/tank-west.png");
}
.unit-icon-tank-guer {
	background-image: url("../icons/tank-guer.png");
}
.unit-icon-tank-civ {
	background-image: url("../icons/tank-civo.png");
}
.unit-icon-tank-dead {
	background-image: url("../icons/tank-dead.png");
}
.unit-icon-helicopter-east {
	background-image: url("../icons/heli-east.png");
}
.unit-icon-helicopter-west {
	background-image: url("../icons/heli-west.png");
}
.unit-icon-helicopter-guer {
	background-image: url("../icons/heli-guer.png");
}
.unit-icon-helicopter-civ {
	background-image: url("../icons/heli-civo.png");
}
.unit-icon-helicopter-dead {
	background-image: url("../icons/heli-dead.png");
}
.unit-icon-staticweapon-east {
	background-image: url("../icons/static-east.png");
	background-size: auto !important;
}
.unit-icon-staticweapon-west {
	background-image: url("../icons/static-west.png");
	background-size: auto !important;
}
.unit-icon-staticweapon-guer {
	background-image: url("../icons/static-guer.png");
	background-size: auto !important;
}
.unit-icon-staticweapon-civ {
	background-image: url("../icons/static-civo.png");
	background-size: auto !important;
}
.unit-icon-staticweapon-dead {
	background-image: url("../icons/static-dead.png");
	background-size: auto !important;
}
.unit-icon-truck-east {
	background-image: url("../icons/truck-east.png");
}
.unit-icon-truck-west {
	background-image: url("../icons/truck-west.png");
}
.unit-icon-truck-guer {
	background-image: url("../icons/truck-guer.png");
}
.unit-icon-truck-civ {
	background-image: url("../icons/truck-civo.png");
}
.unit-icon-truck-dead {
	background-image: url("../icons/truck-dead.png");
}
.unit-icon-ship-east {
	background-image: url("../icons/ship-east.png");
}
.unit-icon-ship-west {
	background-image: url("../icons/ship-west.png");
}
.unit-icon-ship-guer {
	background-image: url("../icons/ship-guer.png");
}
.unit-icon-ship-civ {
	background-image: url("../icons/ship-civo.png");
}
.unit-icon-ship-dead {
	background-image: url("../icons/ship-dead.png");
}
.unit-icon-uav-east {
	background-image: url("../icons/uav-east.png");
}
.unit-icon-uav-west {
	background-image: url("../icons/uav-west.png");
}
.unit-icon-uav-guer {
	background-image: url("../icons/uav-guer.png");
}
.unit-icon-uav-civ {
	background-image: url("../icons/uav-civo.png");
}
.unit-icon-uav-dead {
	background-image: url("../icons/uav-dead.png");
}
.unit-icon-plane-east {
	background-image: url("../icons/plane-east.png");
}
.unit-icon-plane-west {
	background-image: url("../icons/plane-west.png");
}
.unit-icon-plane-guer {
	background-image: url("../icons/plane-guer.png");
}
.unit-icon-plane-civ {
	background-image: url("../icons/plane-civo.png");
}
.unit-icon-plane-dead {
	background-image: url("../icons/plane-dead.png");
}
.unit-icon-parachute-east {
	background-image: url("../icons/parachute-east.png");
}
.unit-icon-parachute-west {
	background-image: url("../icons/parachute-west.png");
}
.unit-icon-parachute-guer {
	background-image: url("../icons/parachute-guer.png");
}
.unit-icon-parachute-civ {
	background-image: url("../icons/parachute-guer.png");
}
.unit-icon-parachute-dead {
	background-image: url("../icons/parachute-dead.png");
}


/*
	MARKER
 */
.marker-icon {
	width: 10px;
	height: 10px;
	position: absolute;
	opacity: 0.7;
	text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px;
}
.marker-icon-dot {
	border-radius: 50%;
	border: 0;
	box-shadow: 1px 1px #000;
}
.marker-icon-box {
	/*border: 1px #fff outset;*/
	border-top: 1px #fff;
	border-left: 1px #fff;
	box-shadow: 1px 1px #000;
}
.marker-icon-fa {
	font-size: 15px;
	top: -40%;
	left: -10%;
}
.marker-icon-fa-arrow {
	font-size: 25px;
	top: -80%;
	left: -10%;
}
.marker-icon-mine {
	background: url("../icons/mine.png");
}
.marker-icon-explosion {
	background: url("../icons/explosion.png");
}
.marker-icon-default {
	background: url("../icons/default.png");
}
.marker-text {
	font-family: 'Saira Semi Condensed', sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin: -5px 0 0 20px;
	white-space: nowrap;
	text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px;
}


/*
	SLIDER
 */
.slider {
	position: absolute;
	left: 125px;
	right: 200px;
	width: auto;
	background: #fff;
	height: 20px;
	top: 14px;
	/*border: 1px #3f465094 groove;*/
	-webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3) inset;
	-moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3) inset;
	box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3) inset;
}
.slider__events {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	pointer-events: none;
	z-index: 206;
}
.slider__event-mark {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #f00;
	opacity: 0.7;
}
.slider__indicator {
	position: relative;
	top: -5px;
	background: #f00;
	height: 30px;
	width: 8px;
	margin-left: -4px;
	display: none;
	z-index: 207;
}


/*
	OTHER
 */
.body__logo-cwwr {
	background: url(https://i.imgur.com/uviwtr7.png) 0 40px no-repeat;
	background-size: 300px;
}
.missions-cwrr {
	display: table;
	position: absolute;
	height: 100%;
	width: 100%;
	font-family: "Courier New", Courier, monospace;
	font-size: 14px;
}
.missions-cwrr__inner {
	display: table-cell;
	vertical-align: middle;
}
.missions-cwrr__container {
	background: #fff;
	margin: 0 auto;
	height: 400px;
	width: 700px;
	overflow-y: scroll;
	border: 1px #c7c7c7 solid;
	padding: 10px;

	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.missions-cwrr__item {
	margin-bottom: 10px;
}
.missions-cwrr__item:nth-child(even) {
	background: #f8f8f8;
}
.missions-cwrr__container a,
.missions-cwrr__container span {
	display: block;
	padding: 1px 3px;
}
.missions-cwrr__container a:hover {
	color: #fff;
	background: #6e15db;
}


/*
	DIALOG BLOCK
 */
.dialog {
	display: flex;
	align-items: center;
	height: 100%;	
	opacity: 0;	
	z-index: 0;	
}
.dialog_active {
	opacity: 1;	
}
.dialog_active .dialog__container {
	transform: scale(1);
}
.dialog_hidden .dialog__container {
	transform: scale(1.05);
}
.dialog__container {
	display: flex;
	transition: transform 0.05s;	
	transform: scale(1.05);
	flex-direction: column;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	z-index: 1001;
	width: 900px;
	height: 650px;
	background: #fff;
	border: 1px #3f4650 solid;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
	box-shadow: 0 3px 12px 3px rgba(0, 0, 0, 0.12);
}
.dialog__header,
.dialog__filter,
.dialog__filters {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.dialog__header {
	height: 50px;
	background: #3f4650;
	color: #fff;
	line-height: 50px;
	padding: 0 10px;
}
.dialog__title {
	font-weight: 600;
}
.dialog__source {
	color: #888;
	position: absolute;
	top: 0;
	right: 15px;
	font-size: 11px;
}
.dialog__filters {
	background: #eee;
	line-height: 50px;
	padding: 0 10px;
	font-size: 12px;
	position: relative;
	z-index: 1003;
}
.dialog__missions {
	overflow-x: hidden;
	overflow-y: scroll;
	flex: 1;
	height: 398px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.dialog__missions-item {
	line-height: 25px;
	overflow: hidden;
	padding: 0 8px;
	font-size: 13px;
	display: flex;
	color: #6d61ee;
}
.dialog__missions-item:hover {
	background: #368a34 !important;
	color: #fff !important;
	cursor: pointer;
}
.dialog__missions-item:nth-child(even) {
	background: #f8f8f8;
}
.dialog__missions-item span {
	display: block;
}
.dialog__missions-item span:nth-child(1) {
	width: 50px;
}
.dialog__missions-item span:nth-child(2) {
	width: 200px;
}
.dialog__missions-item span:nth-child(3) {
	width: 100%;
}
.dialog__missions-item span:nth-child(4) {
	width: 200px;
}
.dialog__filters-item,
.dialog__filters-archive select,
.dialog__filters-apply {
	cursor: pointer;
}
.dialog__filters-item {
	border: 1px #bbb solid;
	padding: 2px 4px;
	margin-right: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.dialog__filters-archive select {	
	border: 1px #bbb solid;
	padding: 2px 4px;
	margin-right: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
}
.dialog__filters-archive select:hover {
	border-color: #555;	
}
.dialog__filters-archive option:checked {
	background: #ececec;
}
.dialog__filters-apply {
	/*background: #eeba7a;*/
	background: #368a34;
	border: 1px #c59c6a solid;
	padding: 5px 10px;
	margin-right: 10px;
	font-weight: 600;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.dialog__filters_active {
	background: #555;
	border-color: #555;
	color: #fff;
}
.dialog__filters-item:hover {
	border-color: #555;
}
.dialog__loading {
	display: none;
	position: absolute;
	top: 50px;
	right: 0;
	left: 0;
	bottom: 2px;
	z-index: 1004;
	background: rgba(255, 255, 255, 0.85);
}
.dialog__loading span {
	display: block;
	margin: 170px auto;
	width: 200px;
	background: #fff;
	border: 1px #ccc solid;
	padding: 20px;
	text-align: center;
}
.dialog__close {
	position: absolute;
	top: 0;
	right: 10px;
	width: 50px;
	text-align: center;
	cursor: pointer;
}
.dialog__content {
	padding: 10px;
	overflow-y: scroll;
	white-space: pre-wrap;
	position: absolute;
	bottom: 0;
	top: 50px;
	left: 0;
	right: 0;
	line-height: 19px;
}


/*
	STATISTIC
 */
.statistic__fraggers-header,
.statistic__side-header {
	font-size: 13px;
	color: #999;
}
.statistic__fraggers {
	font-size: 15px;
	margin: 20px auto;
	width: 830px;
	cursor: pointer;
}
.statistic__fraggers-row:hover {
	background-color: #f5f5f5;
}
.statistic__fraggers-slot {
	font-size: 12px;
	color: #999;
}
.statistic__frags {
	margin: 0 0 0 20px;
	font-size: 11px;
	color: #666;
}
.statistic__side-wrap {
	display: table;
}
.statistic__side {
	display: table-cell;
	padding: 0 20px;
}
.statistic__side-container {
	font-size: 15px;
	background: #f9f9f9;
	padding: 5px 10px;
}
.statistic__side-row:last-child {
	font-size: 13px;
	color: #999;
}
.statistic__teamkills {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 10px 0 5px 0;
	background-image: url("../images/dvoeshniki.png");
	background-repeat: repeat;
}
.statistic__teamkills-row {
	text-align: center;
	padding: 0;
	margin: 0 0 10px 0;
}
.statistic__teamkills_time {
	cursor: pointer;
	font-size: 10px;
	color: #6e15db;
	margin: 0 0 0 10px;
}

/*
	LOG
 */
.log__kill-clickable {
	cursor: pointer;
	transition: background 0.15s ease, padding-left 0.15s ease;
	border-radius: 3px;
}
.log__kill-clickable:hover {
	background: rgba(255,255,255,0.1);
	padding-left: 6px;
}

/*
	STATISTIC — squad expandable rows
 */
.statistic__side-tag-row {
	cursor: pointer;
}
.statistic__side-tag-row td {
	transition: background 0.15s ease, padding-left 0.15s ease;
}
.statistic__side-tag-row:hover td {
	background-color: #ebebeb;
}
.statistic__side-tag-row:hover td:first-child {
	padding-left: 6px;
}
.statistic__side-kills-row {
	display: none;
}
.statistic__side-kills-row.open {
	display: table-row;
}
.statistic__side-kills-list {
	padding: 4px 6px 6px 6px;
}
.statistic__side-kill-entry {
	display: flex;
	align-items: baseline;
	gap: 6px;
	padding: 2px 0;
	font-size: 13px;
	line-height: 18px;
}
.statistic__side-kill-time {
	flex-shrink: 0;
	font-size: 11px;
	color: #6e15db;
	cursor: pointer;
	white-space: nowrap;
}
.statistic__side-kill-time:hover {
	text-decoration: underline;
}
.statistic__side-kill-names {
	color: #333;
	flex: 1;
}
.statistic__frags .statistic__side-kill-names {
	color: #555;
}
.statistic__side-kill-tk {
	background: #fff8f8;
}
.statistic__side-kill-tk-badge {
	font-size: 10px;
	color: #fff;
	background: #c0392b;
	border-radius: 2px;
	padding: 0 3px;
	margin-left: 3px;
	vertical-align: middle;
}

/*
	HEALTH BAR
 */
.vehicle__health-bar {
	position: relative;
	margin-top: 10px;
	width: 100%;
	height: 5px;
	border: 1px #999 solid;
}
.vehicle__health-bar-progress {
	position: absolute;
	background: #999;
	top: 0;
	left: 0;
	bottom: 0;
}

/*
	SPEEDER
 */
.speeder {
	position: relative;
}
.speeder__current {
	height: 30px;
	line-height: 30px;
	background: #2a2f38;
	color: #fff;
	border: 1px rgba(0, 0, 0, 0.3) solid;
	border-radius: 3px;
	padding: 0 12px;
	font-size: 13px;
	cursor: pointer;
}
.speeder__current:hover {
	background: #3f4650;
}
.speeder__dropdown {
	position: absolute;
	bottom: 100%;
	right: 0;
	background: #2a2f38;
	border: 1px rgba(0, 0, 0, 0.3) solid;
	border-radius: 3px;
	margin-bottom: 2px;
	z-index: 99999;
	min-width: 100%;
	padding: 2px 0;
}
.speeder__option {
	padding: 2px 8px;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.4;
}
.speeder__option:hover {
	background: #3f4650;
}
.speeder__option.active {
	background: #4a7c2e;
}

/*
	MOBILE
 */
@media screen and (max-width: 1179px) {
	.footer__authors,
	.footer__version {
		display: none;
	}
}
@media screen and (max-width: 900px), (max-height: 620px) {
	.dialog__container {
		width: 100% !important;
		height: 100% !important;
	}
}
@media screen and (max-width: 1000px) {
	.header__title b {
		display: none;
	}
}
@media screen and (max-width: 756px) {
	.header__title span:nth-child(4) {
		display: none;
	}
}

/* ===== MOBILE LAYOUT (≤ 600px) ===== */
/* ===== MOBILE LANDSCAPE (высота ≤ 500px, ширина > 500px) ===== */
@media screen and (max-height: 500px) and (orientation: landscape) {
	/* Footer однорядный как на десктопе, но слайдер шире */
	.footer {
		height: 50px;
		padding: 0;
	}
	.footer__inner {
		width: 100%;
		height: 50px;
		position: relative;
	}
	#map {
		bottom: 50px;
	}
	/* Слайдер: от кнопок управления до таймера */
	.slider {
		left: 100px;
		right: 160px;
		width: auto;
		height: 20px;
		top: 14px;
	}
	.slider__indicator {
		top: -5px;
		height: 30px;
		width: 8px;
		margin-left: -4px;
	}
	.footer__timer {
		position: absolute;
		right: 10px;
		left: auto;
		top: auto;
		transform: none;
		font-size: 12px;
		line-height: 50px;
	}
	.footer__button {
		top: 7px;
		font-size: 14px;
	}
	.footer__button-continue,
	.footer__button-stop {
		left: 8px;
	}
	.footer__button-warbegin {
		left: 48px;
	}
	.footer__speed {
		position: absolute;
		top: 0;
		right: 125px;
		left: auto;
		line-height: 50px;
	}
	.footer__button-speed-up,
	.footer__button-speed-down {
		right: auto;
	}
	.footer__authors,
	.footer__version {
		display: none;
	}
	.header__title {
		margin: 0 110px;
		font-size: 13px;
	}
	.header__button {
		width: 50px;
	}
	.dialog__container {
		width: 100% !important;
		height: 100% !important;
	}
	.settings-panel {
		left: 0;
		right: 0;
		transform: none;
		white-space: normal;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
	.settings-panel__row {
		flex-wrap: wrap;
		gap: 12px;
	}
}

/* ===== MOBILE PORTRAIT (ширина ≤ 600px) ===== */
@media screen and (max-width: 600px) {
	/* Footer: два ряда */
	.footer {
		height: 90px;
		padding: 0;
	}
	.footer__inner {
		width: 100%;
		height: 90px;
		position: relative;
	}
	/* Карта: учитывает новую высоту footer */
	#map {
		bottom: 90px;
	}
	/* Слайдер: на всю ширину, верхний ряд */
	.slider {
		left: 8px;
		right: 8px;
		width: auto;
		height: 28px;
		top: 8px;
	}
	.slider__indicator {
		top: -7px;
		height: 42px;
		width: 14px;
		margin-left: -7px;
	}
	/* Таймер: по центру, второй ряд */
	.footer__timer {
		position: absolute;
		left: 50%;
		right: auto;
		top: 50px;
		transform: translateX(-50%);
		font-size: 12px;
		line-height: 1;
	}
	/* Кнопки управления: левый нижний ряд */
	.footer__button {
		top: 50px;
		font-size: 16px;
	}
	.footer__button-continue,
	.footer__button-stop {
		left: 8px;
	}
	.footer__button-warbegin {
		left: 48px;
	}
	/* Скорость: правый нижний ряд */
	.footer__speed {
		position: absolute;
		top: 50px;
		right: 8px;
		left: auto;
	}
	.footer__button-speed-up {
		right: 8px;
	}
	.footer__button-speed-down {
		right: 60px;
	}
	/* Settings panel: на всю ширину */
	.settings-panel {
		left: 0;
		right: 0;
		transform: none;
		white-space: normal;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
	}
	.settings-panel__row {
		flex-wrap: wrap;
		gap: 12px;
	}
	/* Диалоги — всегда на весь экран */
	.dialog__container {
		width: 100% !important;
		height: 100% !important;
	}
	/* Скрыть лишнее */
	.footer__authors,
	.footer__version {
		display: none;
	}
	/* Header: компактный */
	.header__title {
		margin: 0 110px;
		font-size: 13px;
	}
	.header__button {
		width: 50px;
	}
}


/* ═══════════════════════════════════════════════════════
   INDEX PAGE — tsgames.ru Cyborg theme
   ═══════════════════════════════════════════════════════ */

body.index-page {
	overflow: auto;
	background: #141414;
	font-family: 'Roboto', sans-serif;
}

/* ── Layout ──────────────────────────────────────────── */
.index-layout {
	display: flex;
	min-height: 100vh;
	max-width: 100%;
	margin: 0 auto;
	transition: max-width 0.35s ease, box-shadow 0.35s ease;
}

/* ── Sidebar ─────────────────────────────────────────── */
.index-layout__sidebar {
	width: 260px;
	flex-shrink: 0;
	background: #1a1a1a;
	border-right: 1px solid #2a2a2a;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 0;
}

.sidebar__logo {
	border-bottom: 1px solid #2a2a2a;
	background: #151515;
}
.sidebar__logo a {
	display: block;
}
.sidebar__logo-img {
	display: block;
	width: 100%;
	height: auto;
}

.sidebar__section {
	padding: 14px 16px 10px;
	border-bottom: 1px solid #222;
}
.sidebar__section-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #aaa;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* ── Search hint ─────────────────────────────────────── */
.sidebar__search-hint {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	background: #333;
	border: 1px solid #4a4a4a;
	border-radius: 50%;
	font-size: 9px;
	font-weight: 700;
	color: #888;
	cursor: help;
	position: relative;
	line-height: 1;
	flex-shrink: 0;
	text-transform: none;
	letter-spacing: 0;
}
.sidebar__search-hint:hover {
	color: #ccc;
	border-color: #666;
}
.sidebar__search-hint-popup {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	background: #2a2f38;
	color: #ccc;
	font-size: 11px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	padding: 7px 10px;
	border-radius: 4px;
	border: 1px solid #3a3f4a;
	white-space: normal;
	width: 200px;
	line-height: 1.5;
	box-shadow: 0 4px 12px rgba(0,0,0,0.4);
	z-index: 100;
	pointer-events: none;
	transition: opacity 0.15s, visibility 0.15s;
}
.sidebar__search-hint:hover .sidebar__search-hint-popup {
	visibility: visible;
	opacity: 1;
}

/* ── Search ──────────────────────────────────────────── */
.sidebar__search {
	position: relative;
	display: flex;
	align-items: center;
}
.sidebar__search-icon {
	position: absolute;
	left: 10px;
	color: #555;
	font-size: 12px;
	pointer-events: none;
}
.sidebar__search-input {
	width: 100%;
	padding: 7px 30px 7px 30px;
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	color: #e0e0e0;
	font-size: 13px;
	font-family: 'Roboto', sans-serif;
	outline: none;
	transition: border-color 0.15s;
	box-sizing: border-box;
}
.sidebar__search-input::placeholder {
	color: #444;
}
.sidebar__search-input:focus {
	border-color: #2a9fd6;
}
.sidebar__search-clear {
	position: absolute;
	right: 6px;
	background: none;
	border: none;
	color: #555;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	display: none;
}
.sidebar__search-clear:hover {
	color: #ccc;
}

/* ── Period buttons ──────────────────────────────────── */
.sidebar__period {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}
.sidebar__period-btn {
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	color: #777;
	font-size: 12px;
	font-family: 'Roboto', sans-serif;
	padding: 5px 11px;
	cursor: pointer;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
	line-height: 1.4;
}
.sidebar__period-btn:hover {
	background: #2f2f2f;
	color: #ccc;
	border-color: #444;
}
.sidebar__period-btn--active {
	background: #1b4f72;
	border-color: #2a9fd6;
	color: #aad8f5;
}
.sidebar__period-btn--active:hover {
	background: #1f5f88;
}

/* ── Period sub-selects ──────────────────────────────── */
.sidebar__year-select-wrap,
.sidebar__sub-select-wrap {
	margin-top: 7px;
}
.sidebar__year-select {
	width: 100%;
	padding: 6px 8px;
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	color: #e0e0e0;
	font-size: 13px;
	font-family: 'Roboto', sans-serif;
	outline: none;
	cursor: pointer;
	transition: border-color 0.15s;
	color-scheme: dark;
}
.sidebar__year-select:focus {
	border-color: #2a9fd6;
}

/* ── Server filter buttons ───────────────────────────── */
.sidebar__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.sidebar__filter-btn {
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	color: #777;
	font-size: 12px;
	font-family: 'Roboto', sans-serif;
	padding: 5px 10px;
	cursor: pointer;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
	line-height: 1.4;
	user-select: none;
}
.sidebar__filter-btn:hover {
	background: #2f2f2f;
	color: #ccc;
	border-color: #444;
}
.sidebar__filter-btn--active {
	background: #1b4f72;
	border-color: #2a9fd6;
	color: #aad8f5;
}
.sidebar__filter-btn--active:hover {
	background: #1f5f88;
}

/* ── Design switch (old view) ────────────────────────── */
.dialog__design-switch {
	display: inline-block;
	margin-left: 12px;
	padding: 0 10px;
	height: 26px;
	line-height: 26px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	background: #2a7a2a;
	border: 1px solid #3d9e3d;
	border-radius: 3px;
	text-decoration: none;
	vertical-align: middle;
	letter-spacing: 0.3px;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.dialog__design-switch:visited {
	color: #fff;
}
.dialog__design-switch:hover {
	background: #339933;
	border-color: #4dbd4d;
	box-shadow: 0 0 6px rgba(60, 180, 60, 0.4);
	color: #fff;
}

/* ── Sidebar footer ──────────────────────────────────── */
.sidebar__footer {
	position: sticky;
	bottom: 0;
	padding: 14px 16px;
	border-top: 1px solid #222;
	background: #1a1a1a;
}
.sidebar__footer-authors {
	font-size: 11px;
	color: #555;
	line-height: 1.8;
}
.sidebar__footer-authors a {
	color: #2a9fd6;
	text-decoration: none;
}
.sidebar__footer-authors a:hover {
	color: #5bbde8;
	text-decoration: underline;
}
.sidebar__footer-grey {
	color: #888;
}

/* ── Sidebar footer bottom row ───────────────────────── */
.sidebar__footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}
.sidebar__footer-version {
	font-size: 11px;
	color: #666;
}

/* ── Design switch (new view) ────────────────────────── */
.sidebar__design-switch {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	font-size: 11px;
	color: #555;
	text-decoration: none;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sidebar__design-switch:visited {
	color: #555;
}
.sidebar__design-switch::before {
	content: '⇄';
	font-size: 13px;
}
.sidebar__design-switch:hover {
	background: #2f2f2f;
	border-color: #444;
	color: #aaa;
}

/* ── Main area ───────────────────────────────────────── */
.index-layout__main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #141414;
}

.missions-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.missions-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px 10px;
	border-bottom: 1px solid #222;
	background: #1a1a1a;
}
.missions-panel__count {
	font-size: 12px;
	color: #aaa;
}
.missions-panel__source {
	font-size: 11px;
	color: #888;
}

/* ── Loading / empty states ──────────────────────────── */
.missions-panel__loading {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.missions-panel__loading-inner {
	width: 280px;
}
.loading-progress__bar {
	width: 100%;
	height: 4px;
	background: #2a2a2a;
	border-radius: 2px;
	overflow: hidden;
}
.loading-progress__fill {
	height: 100%;
	width: 0%;
	background: #2a9fd6;
	border-radius: 2px;
	transition: width 0.2s ease;
}
.loading-progress__fill--pulse {
	width: 100%;
	animation: progress-pulse 1.2s ease-in-out infinite;
	transition: none;
}
@keyframes progress-pulse {
	0%   { opacity: 0.3; }
	50%  { opacity: 1; }
	100% { opacity: 0.3; }
}
.loading-progress__label {
	margin-top: 10px;
	font-size: 12px;
	color: #aaa;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.missions-panel__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #444;
	font-size: 14px;
}
.missions-panel__empty .fas {
	font-size: 36px;
	color: #2a2a2a;
}

/* ── Mission list ────────────────────────────────────── */
.missions-list {
	overflow-y: auto;
	flex: 1;
}

.missions-item {
	display: flex;
	align-items: center;
	padding: 0 16px;
	height: 34px;
	font-size: 13px;
	color: #2a9fd6;
	text-decoration: none;
	border-bottom: 1px solid #1e1e1e;
	transition: background 0.1s;
	gap: 0;
}
.missions-item:visited {
	color: #1d7ca8;
}
.missions-item:hover {
	background: #1b4f72;
	color: #fff;
	border-bottom-color: transparent;
}
.missions-item:nth-child(even) {
	background: #181818;
}
.missions-item:nth-child(even):hover {
	background: #1b4f72;
}
.missions-item:hover span { color: #fff !important; }

/* Column widths */
.missions-item span:nth-child(1) { width: 50px; flex-shrink: 0; color: #999; }
.missions-item span:nth-child(2) { width: 170px; flex-shrink: 0; }
.missions-item span:nth-child(3) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.missions-item span:nth-child(4) { width: 160px; flex-shrink: 0; color: #999; text-align: right; }

/* ── Show more ───────────────────────────────────────── */
.missions-panel__more {
	padding: 12px 16px;
	border-top: 1px solid #222;
	background: #1a1a1a;
	text-align: center;
}
.missions-more-btn {
	background: #252525;
	border: 1px solid #333;
	border-radius: 3px;
	color: #2a9fd6;
	font-size: 13px;
	font-family: 'Roboto', sans-serif;
	padding: 7px 24px;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s;
}
.missions-more-btn:hover {
	background: #1b4f72;
	border-color: #2a9fd6;
	color: #fff;
}

.layout-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: 1px solid #333;
	border-radius: 3px;
	color: #555;
	font-size: 11px;
	font-family: 'Roboto', sans-serif;
	padding: 3px 8px;
	cursor: pointer;
	line-height: 1.4;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
	margin-left: 10px;
}
.layout-toggle-btn::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5H4M4 5L1.5 2.5M4 5L1.5 7.5M14 5H10M10 5L12.5 2.5M10 5L12.5 7.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5H4M4 5L1.5 2.5M4 5L1.5 7.5M14 5H10M10 5L12.5 2.5M10 5L12.5 7.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
	flex-shrink: 0;
	vertical-align: middle;
}

.layout-toggle-btn--compact::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M4 5H0M0 5L2.5 2.5M0 5L2.5 7.5M10 5H14M14 5L11.5 2.5M14 5L11.5 7.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M4 5H0M0 5L2.5 2.5M0 5L2.5 7.5M10 5H14M14 5L11.5 2.5M14 5L11.5 7.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
.layout-toggle-btn:hover {
	background: #2a2a2a;
	border-color: #555;
	color: #aaa;
}

body.index-page--compact .index-layout {
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100vh;
	box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

/* ── Responsive ──────────────────────────────────────── */
@media screen and (max-width: 700px) {
	.index-layout {
		flex-direction: column;
	}
	.index-layout__sidebar {
		width: 100%;
		min-height: auto;
		border-right: none;
		border-bottom: 1px solid #2a2a2a;
	}
	.sidebar__footer {
		display: none;
	}
}

