:root {
  --bg: #0b1220;
  --bg-2: #111827;
  --panel: rgba(17, 24, 39, 0.88);
  --panel-2: rgba(15, 23, 42, 0.92);
  --card: rgba(17, 24, 39, 0.78);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #e5eefb;
  --muted: #9fb0c9;
  --primary: #4da3ff;
  --primary-2: #2563eb;
  --accent: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,0.28);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1240px;
}

html {
  height: 100%;
  background: var(--bg); /* Fallback фон */
}

html, body {
  min-height: 100vh;
}

body {
  background:
    radial-gradient(ellipse at center, rgba(7,12,22,0.95) 0%, rgba(11,18,32,0.98) 70%, rgba(7,12,22,1) 100%), /* Seamless градиент */
    url("/img/gamepl/background.jpg") no-repeat center center fixed !important; /* center center! */
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  position: relative;
}

/* Фикс швов: дублирует фон */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: inherit;
  z-index: -2;
  pointer-events: none;
}

a{
color: #cfe3ff;
	text-shadow: none !important;
transition: .2s ease;
}

a:hover{
color: #ffffff;
	text-decoration: none;
}

.clr{
clear: both;
visibility: hidden;
}

.gamepl{
width: 100%;
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.gamepl > .header > .top{
height: auto;
	min-height: 110px;
	padding-top: 22px;
	padding-bottom: 18px;
display: flex;
	align-items: center;
	justify-content: space-between;
gap: 20px;
}

.gamepl > .header > .top > .contacts{
float: none;
width: 250px;
	margin-top: 0;
	padding-left: 0;
color: var(--muted);
	font-size: 14px;
}

.gamepl > .header > .top > .contacts > div{
display: flex;
	align-items: center;
gap: 10px;
	margin-bottom: 10px;
}

.gamepl > .header > .top > .contacts > div > .i{
float: none;
width: 34px;
height: 34px;
	margin-right: 0;
padding: 0;
	border-radius: 10px;
background: rgba(77,163,255,0.12) !important;
display: flex;
	align-items: center;
	justify-content: center;
color: var(--primary);
	font-size: 14px;
}

.gamepl > .header > .top > .contacts > div > .txt{
float: none;
display: block;
height: auto;
}

.gamepl > .header > .top > .contacts > .skype{
	padding-left: 0;
}

.gamepl > .header > .top > .logo{
float: none;
flex: 1 1 auto;
width: 320px;
	max-width: 320px;
height: 76px;
margin: 0 auto;
	background-position: center center !important;
	background-size: contain !important;
}

.gamepl > .header > .top > .menu{
float: none;
	margin-top: 0;
	padding-right: 0;
display: flex;
	flex-direction: column;
gap: 10px;
	align-items: stretch;
}

.gamepl > .header > .top > .menu > .btn-login,
.gamepl > .header > .top > .menu > .btn-signup{
width: 170px;
height: 42px;
	padding-top: 10px;
	border-radius: 12px;
background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
	box-shadow: 0 8px 20px rgba(37,99,235,0.28);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .2px;
}

.gamepl > .header > .top > .menu > .btn-signup{
background: linear-gradient(135deg, #f59e0b, #f97316) !important;
	box-shadow: 0 8px 20px rgba(249,115,22,0.24);
	margin-top: 0;
}

.gamepl > .header > .top > .menu > .btn-login:hover,
.gamepl > .header > .top > .menu > .btn-signup:hover{
	background-position: initial !important;
transform: translateY(-1px);
opacity: .96;
}

.gamepl > .header > .in{
display: none;
}

.gamepl > .header > .in2{
height: 0;
	margin-bottom: 0;
}

.gamepl > .header > .menu{
width: 100%;
height: auto;
	min-height: 64px;
	margin-bottom: 24px;
background: var(--panel);
border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: var(--shadow);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
position: relative;
}

.gamepl > .header > .menu > ul{
width: 100%;
height: auto;
margin: 0;
padding: 10px 14px;
display: flex;
	align-items: center;
	flex-wrap: wrap;
gap: 6px;
}

.gamepl > .header > .menu > ul > li{
float: none;
display: block;
}

.gamepl > .header > .menu > ul > li:hover{
background: none !important;
}

.gamepl > .header > .menu > ul > li > a{
height: auto;
padding: 11px 14px;
	border-radius: 12px;
color: var(--text);
	font-size: 14px;
	font-weight: 600;
	text-shadow: none !important;
}

.gamepl > .header > .menu > ul > li > a:hover,
.gamepl > .header > .menu > ul > li > a:focus{
background: rgba(77,163,255,0.14);
color: #ffffff;
}

.gamepl > .header > .menu > .dop{
width: 100%;
height: auto;
position: static;
	border-top: 1px solid var(--border);
background: transparent;
}

.gamepl > .header > .menu > .dop > .menu{
width: 100%;
height: auto;
	margin-left: 0;
background: transparent;
	border-radius: 0 0 18px 18px;
}

.gamepl > .header > .menu > .dop > .menu > ul{
width: 100%;
height: auto;
margin: 0;
padding: 8px 14px 12px;
display: flex;
	flex-wrap: wrap;
gap: 6px;
}

.gamepl > .header > .menu > .dop > .menu > ul > li > a{
height: auto;
padding: 8px 12px;
	border-radius: 10px;
color: var(--muted);
	font-size: 13px;
}

#content-base{
width: 100%;
}

.slider{
width: 100%;
	max-width: 100%;
height: 320px;
margin: 0 auto 24px;
border: 1px solid var(--border);
	border-radius: 24px;
overflow: hidden;
background: var(--panel-2);
	box-shadow: var(--shadow);
}

.slide{
width: 100%;
height: 320px;
background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(17,24,39,.9)) !important;
position: relative;
}

.slide-text-header{
top: 42px;
right: 48px;
width: 46%;
height: auto;
	font-size: 34px;
	line-height: 1.1;
	text-align: left;
color: #ffffff;
	font-family: "Inter", sans-serif;
	font-weight: 800;
}

.slide-text-description{
top: 105px;
right: 48px;
width: 46%;
height: auto;
	font-size: 15px;
	line-height: 1.7;
	text-align: left;
color: var(--muted);
	font-family: "Inter", sans-serif;
}

.slide-text-image{
left: 48px;
top: 50%;
transform: translateY(-50%);
	max-width: 360px;
	max-height: 240px;
}

.slider .cbtn{
right: 48px;
bottom: 42px;
width: auto;
	min-width: 190px;
height: 44px;
padding: 11px 18px 0;
}

.prevBtn,
.nextBtn{
width: 38px;
height: 38px;
top: 50%;
	margin-top: -19px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.08);
	background-position: center center !important;
border: 1px solid var(--border);
}

.prevBtn{
left: 18px;
}

.nextBtn{
right: 18px;
}

.numericControls{
left: 50%;
transform: translateX(-50%);
bottom: 14px;
height: 34px;
	padding-left: 10px;
	padding-right: 10px;
border: 1px solid var(--border);
	border-radius: 999px;
background: rgba(10,16,28,.75);
}

.gamepl .block_title{
width: 100%;
height: auto;
	margin-bottom: 18px;
	border-radius: 18px;
background: var(--panel);
border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.gamepl .block_title h4{
margin: 0;
padding: 18px 22px;
	text-align: left;
	font-size: 24px;
	font-weight: 800;
color: #ffffff;
	text-shadow: none !important;
}

.gamepl .block_rates{
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 24px;
}

.gamepl .block_rates > ul{
display: flex;
	flex-wrap: wrap;
gap: 20px;
}

.gamepl .block_rates > ul > li{
width: calc(25% - 15px);
	min-width: 240px;
	margin-right: 0;
	border-radius: 20px;
overflow: hidden;
background: var(--card) !important;
border: 1px solid var(--border);
	box-shadow: var(--shadow);
	vertical-align: top;
}

.gamepl .block_rates > ul > li > h4{
margin: 0;
padding: 18px 18px 8px;
	font-size: 19px;
	line-height: 1.35;
color: #ffffff;
	text-align: left;
background: transparent !important;
}

.gamepl .block_rates > ul > li > div{
padding: 0 18px 18px;
}

.gamepl .block_rates > ul > li > div > img{
width: 112px;
height: 112px;
	object-fit: contain;
margin: 12px auto 18px;
}

.gamepl .block_rates > ul > li > div > ul{
	padding-left: 0;
	padding-right: 0;
}

.gamepl .block_rates > ul > li > div > ul > li{
color: var(--muted);
padding: 5px 0;
	font-size: 14px;
}

.gamepl .block_rates > ul > li > div > ul > li > i{
color: var(--success);
	margin-right: 6px;
}

.gamepl .block_rates > ul > li > div > .sep{
width: 100%;
margin: 16px 0;
	border-bottom: 1px solid var(--border);
}

.gamepl .block_rates > ul > li > div > .price{
	margin-bottom: 14px;
padding: 12px 14px;
	border-radius: 14px;
background: rgba(77,163,255,0.12) !important;
color: #ffffff;
	font-size: 17px;
	font-weight: 700;
}

.gamepl .block_rates > ul > li > div > .cbtn{
	margin-left: 0;
	margin-right: 0;
	padding-top: 11px;
}

.gamepl .cbtn{
height: 44px;
	border-radius: 12px;
	box-shadow: none;
	font-weight: 700;
	font-size: 14px;
transition: .2s ease;
}

.gamepl a.cbtn{
	padding-top: 11px;
}

.gamepl .cbtn.on{
background: linear-gradient(135deg, #2563eb, #4da3ff) !important;
}

.gamepl .cbtn.off{
background: linear-gradient(135deg, #dc2626, #ef4444) !important;
}

.gamepl .cbtn.yllow{
background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}

.gamepl .cbtn.on:hover,
.gamepl .cbtn.off:hover,
.gamepl .cbtn.yllow:hover{
	background-position: initial !important;
transform: translateY(-1px);
opacity: .97;
}

.gamepl .block_full,
.portlet.light{
background: var(--panel) !important;
border: 1px solid var(--border);
	border-radius: 20px;
	box-shadow: var(--shadow);
overflow: hidden;
}

.gamepl .block_full > .title,
.portlet.light .portlet-title{
height: auto;
	margin-bottom: 0;
padding: 16px 20px;
background: transparent !important;
	border-bottom: 1px solid var(--border);
color: #ffffff;
}

.gamepl .block_full > .title > h4,
.portlet.light .portlet-title,
.portlet.light .portlet-title .caption{
color: #ffffff !important;
}

.portlet.light .portlet-body{
padding: 20px;
}

.table.table-light > thead > tr > th{
background: rgba(255,255,255,0.04) !important;
color: #ffffff;
	border-bottom: 1px solid var(--border);
}

.table.table-light > tbody > tr > td{
	border-bottom: 1px solid rgba(255,255,255,0.06);
color: var(--text);
}

.table.table-light.table-hover > tbody > tr:hover > td,
.table.table-light.table-hover > tbody > tr:hover > th{
background: rgba(255,255,255,0.03) !important;
}

.form-control,
.input-group .form-control,
.modal .form-control{
height: 42px;
background: rgba(255,255,255,0.04) !important;
border: 1px solid var(--border-strong) !important;
color: #ffffff !important;
	border-radius: 12px;
	box-shadow: none;
}

.form-control:focus{
	border-color: rgba(77,163,255,0.7) !important;
	box-shadow: 0 0 0 3px rgba(77,163,255,0.14) !important;
}

.input-group .input-group-addon,
.modal .input-group .input-group-addon{
background: rgba(255,255,255,0.05) !important;
color: var(--muted) !important;
border: 1px solid var(--border-strong) !important;
}

.form-control option{
background: #111827;
color: #ffffff;
}

.modal{
background: #111827 !important;
border: 1px solid var(--border) !important;
	border-radius: 18px !important;
	box-shadow: var(--shadow);
}

.modal .modal-header,
.modal .modal-footer{
	border-color: var(--border) !important;
}

.pagination > li > a,
.pagination > li > span{
background: rgba(255,255,255,0.04) !important;
border: 1px solid var(--border) !important;
color: var(--text) !important;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > .active > span{
background: rgba(77,163,255,0.14) !important;
	border-color: rgba(77,163,255,0.35) !important;
color: #ffffff !important;
}

.gamepl > .footer{
	margin-top: 28px;
	padding-bottom: 28px;
}

.gamepl > .footer > .menu-1,
.gamepl > .footer > .menu-2{
width: calc((100% - 320px) / 2);
}

.gamepl > .footer > .logo{
width: 320px;
height: 76px;
	background-position: center center !important;
	background-size: contain !important;
}

.gamepl > .footer > .menu-1 > .line-1 > ul,
.gamepl > .footer > .menu-1 > .line-2 > ul,
.gamepl > .footer > .menu-2 > .line-1 > ul,
.gamepl > .footer > .menu-2 > .line-2 > ul{
display: flex;
gap: 12px;
}

.gamepl > .footer > .menu-1 > .line-1 > ul > li,
.gamepl > .footer > .menu-1 > .line-2 > ul > li,
.gamepl > .footer > .menu-2 > .line-1 > ul > li,
.gamepl > .footer > .menu-2 > .line-2 > ul > li{
width: auto;
	min-width: 170px;
height: auto;
	border-radius: 12px;
background: rgba(255,255,255,0.06) !important;
border: 1px solid var(--border);
}

.gamepl > .footer > .menu-1 > .line-1 > ul > li:hover,
.gamepl > .footer > .menu-1 > .line-2 > ul > li:hover,
.gamepl > .footer > .menu-2 > .line-1 > ul > li:hover,
.gamepl > .footer > .menu-2 > .line-2 > ul > li:hover{
	background-position: initial !important;
background: rgba(77,163,255,0.10) !important;
}

.gamepl > .footer > .menu-1 > .line-1 > ul > li > a,
.gamepl > .footer > .menu-1 > .line-2 > ul > li > a,
.gamepl > .footer > .menu-2 > .line-1 > ul > li > a,
.gamepl > .footer > .menu-2 > .line-2 > ul > li > a{
width: auto;
	min-width: 170px;
height: auto;
padding: 11px 16px;
	font-weight: 600;
}

.gamepl > .footer > .base{
width: 100%;
height: auto;
	min-height: 74px;
	margin-top: 20px;
padding: 18px 20px;
	border-radius: 18px;
background: var(--panel) !important;
border: 1px solid var(--border);
	box-shadow: var(--shadow);
	text-shadow: none !important;
}

.gamepl > .footer > .base .translate{
	margin-left: 0 !important;
	margin-top: 14px !important;
color: var(--muted) !important;
}

/* Он был тут :) */

.block_maps{
	border-radius: 16px;
overflow: hidden;
border: 1px solid var(--border);
background: var(--panel) !important;
}

.b-preloader-background{
background: rgba(2,6,23,.75);
opacity: 1;
}

.lasdjasd21{
border: 1px solid var(--border);
background: #111827;
color: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow);
}

#pre-load-text{
color: #ffffff;
}

@media (max-width: 1260px){
	.gamepl{
		max-width: 100%;
	}
	.gamepl .block_rates > ul > li{
width: calc(50% - 10px);
	}

	.slide-text-header,
	.slide-text-description{
width: 50%;
	}
}

@media (max-width: 992px){
	.gamepl > .header > .top{
		flex-wrap: wrap;
		justify-content: center;
	}
	.gamepl > .header > .top > .contacts{
width: 100%;
order: 2;
display: flex;
		justify-content: center;
gap: 20px;
		flex-wrap: wrap;
		text-align: center;
	}

	.gamepl > .header > .top > .logo{
order: 1;
margin: 0;
	}

	.gamepl > .header > .top > .menu{
order: 3;
		flex-direction: row;
		justify-content: center;
	}

	.slider,
	.slide{
height: 420px;
	}

	.slide-text-image{
position: absolute;
left: 50%;
top: 70px;
transform: translateX(-50%);
		max-width: 240px;
		max-height: 150px;
	}

	.slide-text-header{
width: calc(100% - 48px);
left: 24px;
right: 24px;
top: 230px;
		text-align: center;
		font-size: 28px;
	}
	.slide-text-description{
width: calc(100% - 48px);
left: 24px;
right: 24px;
top: 280px;
		text-align: center;
		font-size: 14px;
	}

	.slider .cbtn{
left: 50%;
right: auto;
transform: translateX(-50%);
bottom: 26px;
	}

	.gamepl > .footer > .menu-1,
	.gamepl > .footer > .menu-2,
	.gamepl > .footer > .logo{
width: 100%;
float: none;
		text-align: center;
		margin-bottom: 16px;
	}

	.gamepl > .footer > .menu-1 > .line-1 > ul,
	.gamepl > .footer > .menu-1 > .line-2 > ul,
	.gamepl > .footer > .menu-2 > .line-1 > ul,
	.gamepl > .footer > .menu-2 > .line-2 > ul{
		justify-content: center;
float: none;
	}
}

@media (max-width: 700px){
	.gamepl{
		padding-left: 12px;
		padding-right: 12px;
	}
	.gamepl > .header > .top > .menu{
width: 100%;
		flex-direction: column;
	}

	.gamepl > .header > .top > .menu > .btn-login,
	.gamepl > .header > .top > .menu > .btn-signup{
width: 100%;
		max-width: 320px;
	}

	.gamepl > .header > .menu > ul{
padding: 10px;
	}

	.gamepl > .header > .menu > ul > li{
width: 100%;
	}

	.gamepl > .header > .menu > ul > li > a{
width: 100%;
	}

	.gamepl .block_rates > ul > li{
width: 100%;
		min-width: 0;
	}

	.slider,
	.slide{
height: 470px;
	}

	.slide-text-header{
		font-size: 24px;
top: 210px;
	}

	.slide-text-description{
top: 255px;
		font-size: 13px;
		line-height: 1.55;
	}

	.prevBtn,
	.nextBtn{
display: none;
	}
	
	body.theme-modern .auth-menu{
display: flex;
		flex-direction: column;
gap: 10px;
	}

	body.theme-modern .main-menu{
overflow: hidden;
	}

	body.theme-modern .admin-ip-link{
		border-left: none !important;
	}
}
/* ------------------------------
INNER PAGES / CABINET / TABLES
------------------------------ */

body.theme-modern #content-base{
	padding-bottom: 10px;
}

body.theme-modern .portlet,
body.theme-modern .portlet.box,
body.theme-modern .portlet.light{
	border-radius: 20px !important;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.08) !important;
	box-shadow: 0 12px 32px rgba(0,0,0,0.24);
background: rgba(17,24,39,0.86) !important;
}

body.theme-modern .portlet > .portlet-title{
	min-height: 62px;
display: flex;
	align-items: center;
padding: 16px 20px !important;
background: rgba(255,255,255,0.02) !important;
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.theme-modern .portlet > .portlet-title > .caption,
body.theme-modern .portlet > .portlet-title > .caption > span,
body.theme-modern .portlet > .portlet-title > .caption > i{
color: #ffffff !important;
	text-shadow: none !important;
	font-weight: 700;
}

body.theme-modern .portlet > .portlet-title > .actions{
	margin-left: auto;
	margin-right: 0 !important;
}

body.theme-modern .portlet > .portlet-body{
padding: 20px !important;
color: #dbe7f7;
}

body.theme-modern .block_full{
	border-radius: 20px;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

body.theme-modern .block_full > .title{
display: flex;
	align-items: center;
	justify-content: space-between;
gap: 12px;
padding: 14px 18px !important;
}

body.theme-modern .block_full > .title > h4{
margin: 0 !important;
float: none !important;
	font-size: 18px;
	font-weight: 800;
color: #fff !important;
}

body.theme-modern .block_full > .title > .control{
float: none !important;
	padding-top: 0 !important;
display: flex;
	align-items: center;
gap: 8px;
	flex-wrap: wrap;
}

body.theme-modern .block_full > .title > .control > a,
body.theme-modern .block_full > .title > .control > .date{
float: none !important;
	margin-right: 0 !important;
padding: 8px 12px !important;
	border-radius: 10px;
background: rgba(255,255,255,0.05) !important;
border: 1px solid rgba(255,255,255,0.08);
color: #cfe3ff !important;
	text-shadow: none !important;
}

/* tables */
body.theme-modern .table{
	margin-bottom: 0;
}

body.theme-modern .table-scrollable{
border: 1px solid rgba(255,255,255,0.08) !important;
	border-radius: 16px;
overflow: hidden;
background: rgba(255,255,255,0.02);
}

body.theme-modern .table-scrollable.table-scrollable-borderless{
border: 1px solid rgba(255,255,255,0.08) !important;
}

body.theme-modern .table > thead > tr > th{
background: rgba(255,255,255,0.04) !important;
color: #f4f8ff !important;
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
	border-top: 0 !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
padding: 14px 16px !important;
}

body.theme-modern .table > tbody > tr > td{
color: #dbe7f7 !important;
	border-top: 1px solid rgba(255,255,255,0.06) !important;
padding: 14px 16px !important;
	vertical-align: middle !important;
background: transparent !important;
}

body.theme-modern .table.table-light > tbody > tr > td,
body.theme-modern .table.table-light > thead > tr > th{
	border-bottom-color: rgba(255,255,255,0.06) !important;
}

body.theme-modern .table-hover > tbody > tr:hover > td,
body.theme-modern .table-hover > tbody > tr:hover > th,
body.theme-modern .table.table-light.table-hover > tbody > tr:hover > td,
body.theme-modern .table.table-light.table-hover > tbody > tr:hover > th{
background: rgba(77,163,255,0.06) !important;
}

body.theme-modern .table-bordered,
body.theme-modern .table-bordered > thead > tr > th,
body.theme-modern .table-bordered > tbody > tr > td{
	border-color: rgba(255,255,255,0.08) !important;
}

/* forms */
body.theme-modern .form-group{
	margin-bottom: 18px;
color: #dbe7f7 !important;
}

body.theme-modern .control-label,
body.theme-modern label{
color: #cfdcf0 !important;
	font-weight: 600;
	margin-bottom: 8px;
}

body.theme-modern textarea.form-control{
	min-height: 120px;
resize: vertical;
	padding-top: 12px;
}

body.theme-modern .help-block,
body.theme-modern .note,
body.theme-modern .form-control-static{
color: #92a7c6 !important;
}

body.theme-modern .input-group .form-control{
position: relative;
	z-index: 2;
}

body.theme-modern .input-group-addon{
	border-radius: 12px 0 0 12px !important;
}

body.theme-modern .input-group .form-control:last-child,
body.theme-modern .input-group-addon:first-child{
	border-radius: 12px 0 0 12px !important;
}

body.theme-modern .input-group .form-control:first-child,
body.theme-modern .input-group-btn:last-child > .btn,
body.theme-modern .input-group-btn:last-child > .btn-group{
	border-radius: 0 12px 12px 0 !important;
}

body.theme-modern .btn{
	border-radius: 12px !important;
	font-weight: 700;
transition: .2s ease;
	box-shadow: none !important;
}

body.theme-modern .btn:hover{
transform: translateY(-1px);
}

body.theme-modern .btn-default{
background: rgba(255,255,255,0.06) !important;
	border-color: rgba(255,255,255,0.10) !important;
color: #eef4ff !important;
}

body.theme-modern .btn-primary{
background: linear-gradient(135deg, #2563eb, #4da3ff) !important;
	border-color: transparent !important;
color: #fff !important;
}

body.theme-modern .btn-success{
background: linear-gradient(135deg, #16a34a, #22c55e) !important;
	border-color: transparent !important;
color: #fff !important;
}

body.theme-modern .btn-warning{
background: linear-gradient(135deg, #f59e0b, #f97316) !important;
	border-color: transparent !important;
color: #fff !important;
}

body.theme-modern .btn-danger{
background: linear-gradient(135deg, #dc2626, #ef4444) !important;
	border-color: transparent !important;
color: #fff !important;
}

body.theme-modern .btn-info{
background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
	border-color: transparent !important;
color: #fff !important;
}

/* panels / tabs */
body.theme-modern .panel{
background: rgba(17,24,39,0.88) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
	border-radius: 16px !important;
	box-shadow: none !important;
overflow: hidden;
}

body.theme-modern .panel-heading{
background: rgba(255,255,255,0.03) !important;
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
color: #fff !important;
}

body.theme-modern .panel-title,
body.theme-modern .panel-title a{
color: #fff !important;
}

body.theme-modern .panel-body{
color: #dbe7f7 !important;
}

body.theme-modern .nav-tabs{
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
display: flex;
	flex-wrap: wrap;
gap: 8px;
}

body.theme-modern .nav-tabs > li{
	margin-bottom: 0 !important;
}

body.theme-modern .nav-tabs > li > a{
border: 1px solid rgba(255,255,255,0.08) !important;
	border-radius: 12px 12px 0 0 !important;
background: rgba(255,255,255,0.03) !important;
color: #cfe3ff !important;
	text-shadow: none !important;
}

body.theme-modern .nav-tabs > li.active > a,
body.theme-modern .nav-tabs > li.active > a:hover,
body.theme-modern .nav-tabs > li.active > a:focus{
background: rgba(77,163,255,0.12) !important;
color: #fff !important;
	border-color: rgba(77,163,255,0.20) !important;
}

body.theme-modern .nav-pills > li > a{
	border-radius: 12px !important;
color: #dbe7f7 !important;
}

body.theme-modern .nav > li > a:hover,
body.theme-modern .nav > li > a:focus{
background: rgba(77,163,255,0.10) !important;
color: #fff !important;
}

/* profile */
body.theme-modern .profile-sidebar,
body.theme-modern .profile-content{
background: transparent !important;
}

body.theme-modern .profile-userpic img{
	border-radius: 18px !important;
border: 2px solid rgba(255,255,255,0.08);
}

body.theme-modern .profile-usertitle-name,
body.theme-modern .profile-usertitle-job{
	text-shadow: none !important;
}

body.theme-modern .profile-usermenu ul li{
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.theme-modern .profile-usermenu ul li a{
color: #dbe7f7 !important;
padding: 12px 16px;
}

body.theme-modern .profile-usermenu ul li.active a,
body.theme-modern .profile-usermenu ul li a:hover{
background: rgba(77,163,255,0.10) !important;
color: #fff !important;
}

/* select2 old */
body.theme-modern .select2-container .select2-choice{
height: 42px !important;
	line-height: 42px !important;
background: rgba(255,255,255,0.04) !important;
border: 1px solid rgba(255,255,255,0.14) !important;
	border-radius: 12px !important;
color: #fff !important;
	box-shadow: none !important;
}

body.theme-modern .select2-drop{
background: #111827 !important;
border: 1px solid rgba(255,255,255,0.10) !important;
color: #fff !important;
	border-radius: 12px !important;
}

body.theme-modern .select2-results .select2-highlighted{
background: rgba(77,163,255,0.18) !important;
color: #fff !important;
}

/* datepicker */
body.theme-modern .datepicker{
background: #111827 !important;
border: 1px solid rgba(255,255,255,0.10) !important;
	border-radius: 14px !important;
padding: 8px;
}

body.theme-modern .datepicker table tr td,
body.theme-modern .datepicker table tr th{
color: #dbe7f7 !important;
	border-radius: 10px;
}

body.theme-modern .datepicker table tr td.active,
body.theme-modern .datepicker table tr td.active:hover{
background: linear-gradient(135deg, #2563eb, #4da3ff) !important;
color: #fff !important;
}

body.theme-modern .datepicker table tr td:hover{
background: rgba(255,255,255,0.06) !important;
}

/* alerts */
body.theme-modern .alert{
border: 1px solid transparent;
	border-radius: 14px;
	box-shadow: none;
}

body.theme-modern .alert-success{
background: rgba(34,197,94,0.12);
color: #d7ffe4;
	border-color: rgba(34,197,94,0.22);
}

body.theme-modern .alert-danger{
background: rgba(239,68,68,0.12);
color: #ffe0e0;
	border-color: rgba(239,68,68,0.22);
}

body.theme-modern .alert-warning{
background: rgba(245,158,11,0.12);
color: #ffefcc;
	border-color: rgba(245,158,11,0.22);
}

body.theme-modern .alert-info{
background: rgba(6,182,212,0.12);
color: #d7f8ff;
	border-color: rgba(6,182,212,0.22);
}

/* labels / badges */
body.theme-modern .label,
body.theme-modern .badge{
	border-radius: 999px;
	font-weight: 700;
padding: 5px 9px;
}

/* === NEWS PAGES (main-news-short, main-news-full) === */
.gamepl .main-news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.gamepl .main-news-short {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s ease;
  height: 100%;
}

.gamepl .main-news-short:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.main-news-short .cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(77,163,255,0.15);
  border: 1px solid rgba(77,163,255,0.3);
  border-radius: 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-news-short img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.main-news-short .title {
  padding: 20px 20px 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.main-news-short .data {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.main-news-short .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.main-news-short .meta .time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-news-short .meta .visits,
.main-news-short .meta .com {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

/* Full News */
.main-news-full {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.main-news-full .cat_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(77,163,255,0.12);
  border: 1px solid rgba(77,163,255,0.25);
  border-radius: 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
}

.main-news-full .title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}

.main-news-full .meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.main-news-full .data {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.main-news-full .comments {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

/* News Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.news-pagination a,
.news-pagination span {
  padding: 12px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: .2s ease;
}

.news-pagination a:hover {
  background: rgba(77,163,255,0.15);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.news-pagination .active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: var(--primary);
}

/* Categories Grid */
.news-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.news-cat-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: .3s ease;
  height: 100%;
}

.news-cat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.news-cat-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.news-cat-item h3 {
  font-size: 20px;
  font-weight: 700;
color: #fff;
margin-bottom: 8px;
}

/* Mobile News */
@media (max-width: 768px) {
.main-news {
grid-template-columns: 1fr;
}

.main-news-full {
padding: 20px;
}

.main-news-full .title {
font-size: 24px;
}

.news-pagination {
flex-wrap: wrap;
}
}

/* === SUPPORT TICKET FORM (premium-card, support-form) === */
body.theme-modern .premium-page.support-page {
  padding: 32px 16px;
}

body.theme-modern .premium-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
  max-width: 1100px; /* Шире! */
  width: 100%;
  margin: 0 auto;
}

body.theme-modern .premium-card-body {
  padding: 40px; /* Больше внутренний отступ */
}

body.theme-modern .support-classic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

body.theme-modern .support-classic-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

body.theme-modern .support-admin-stats {
  background: rgba(77,163,255,0.12);
  border: 1px solid rgba(77,163,255,0.25);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

body.theme-modern .support-classic-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.theme-modern .support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  height: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

body.theme-modern .support-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(77,163,255,0.3);
}

body.theme-modern .support-note {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

body.theme-modern .support-note-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 16px;
}

body.theme-modern .support-note ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

body.theme-modern .support-note li {
  margin-bottom: 8px;
}

body.theme-modern .support-form {
  background: transparent;
}

body.theme-modern .support-field {
  margin-bottom: 24px;
}

body.theme-modern .support-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center; /* Центр лейбла */
}

body.theme-modern .support-input,
body.theme-modern .support-select,
body.theme-modern .support-textarea {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-family: "Inter", sans-serif;
  transition: .2s ease;
  box-shadow: none;
}

body.theme-modern .support-textarea {
  height: 250px;
  resize: vertical;
  padding: 16px;
  font-family: inherit;
}

body.theme-modern .support-input:focus,
body.theme-modern .support-select:focus,
body.theme-modern .support-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77,163,255,0.15);
  background: rgba(255,255,255,0.08);
}

body.theme-modern .support-select option {
  background: var(--bg-2);
  color: var(--text);
}

body.theme-modern .support-file-wrap {
  margin-bottom: 32px;
  text-align: center; /* Центр всего блока */
}

body.theme-modern .support-file {
  width: 100%;
  max-width: 400px; /* Ограничим ширину для красоты */
  height: 48px;
  padding: 0 16px; /* Уменьшили padding */
  margin: 0 auto; /* Центр input */
  background: linear-gradient(135deg, rgba(77,163,255,0.12), rgba(37,99,235,0.10)); /* Primary стекло */
  border: 2px dashed var(--border-strong); /* Dashed для "drop zone" */
  border-radius: 14px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  text-align: center; /* ✅ ЦЕНТР текста "Файл не выбран" */
  cursor: pointer;
  transition: .2s ease;
  display: block; /* Блочный для center */
}

body.theme-modern .support-file:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

body.theme-modern .support-file::-webkit-file-upload-button {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-right: 12px;
  visibility: hidden; /* Скрываем дефолт кнопку, используем весь input */
}

body.theme-modern .support-file::file-selector-button {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-right: 12px;
  visibility: hidden; /* Firefox/другие */
}

/* Когда файл выбран */
body.theme-modern .support-file::-webkit-file-upload-button:hover {
  background: rgba(255,255,255,0.2);
}

body.theme-modern .support-file-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

body.theme-modern .support-file-note {
font-size: 13px;
color: var(--muted);
margin-top: 8px;
}

body.theme-modern .support-submit-row {
display: flex;
justify-content: center;
margin-top: 16px;
}

body.theme-modern .support-submit {
width: 100%;
max-width: 280px;
height: 52px;
padding: 0 32px;
background: linear-gradient(135deg, var(--primary), var(--primary-2));
border: none;
border-radius: 16px;
color: #fff;
font-size: 16px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.5px;
box-shadow: 0 8px 24px rgba(77,163,255,0.35);
transition: .2s ease;
cursor: pointer;
}

body.theme-modern .support-submit:hover {
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(77,163,255,0.45);
background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

/* Responsive */
@media (max-width: 768px) {
body.theme-modern .premium-card-body {
padding: 24px 20px;
}

body.theme-modern .support-classic-header {
flex-direction: column;
gap: 20px;
text-align: center;
}

body.theme-modern .support-row-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 2-3 колонки авто */
  gap: 24px;
  margin-bottom: 24px;
}

body.theme-modern .support-classic-actions {
justify-content: center;
}

body.theme-modern .support-submit {
max-width: 100%;
}
}
/* Ширина на планшетах */
@media (max-width: 1200px) {
  body.theme-modern .premium-card {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  body.theme-modern .premium-card-body {
    padding: 28px 20px;
  }
  body.theme-modern .support-row-2 {
    grid-template-columns: 1fr;
  }
}
/* === FIXED MODERN ORDER (tiles -> cards + glass form) === */
body.theme-modern .premium-order-container { max-width: 1200px; margin: 0 auto; padding: 32px 16px; }
body.theme-modern .order-grid { display: grid; grid-template-columns: 1fr 480px; gap: 32px; align-items: start; }
body.theme-modern .order-form-card, body.theme-modern .games-card { background: var(--panel); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); backdrop-filter: blur(16px); overflow: hidden; }
body.theme-modern .games-grid.buy-games.tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; margin-bottom: 24px; }
body.theme-modern .games-grid .tile { position: relative; height: 140px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); border-radius: 20px; cursor: pointer; transition: .3s cubic-bezier(0.25,0.46,0.45,0.94); overflow: hidden; text-decoration: none; color: inherit; display: flex !important; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important; }
body.theme-modern .games-grid .tile:hover { transform: translateY(-8px) scale(1.02); background: rgba(77,163,255,0.15); border-color: var(--primary); box-shadow: 0 20px 40px rgba(77,163,255,0.2); }
body.theme-modern .games-grid .tile.selected { background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 2px rgba(77,163,255,0.3); }
body.theme-modern .games-grid .tile.selected:hover { box-shadow: 0 20px 40px rgba(77,163,255,0.4); }
body.theme-modern .games-grid .tile .tile-body > i { font-size: 48px; margin-bottom: 8px; width: 64px; height: 64px; line-height: 64px; }
body.theme-modern .games-grid .tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: .3s; }
body.theme-modern .games-grid .tile:hover::before, body.theme-modern .games-grid .tile.selected::before { opacity: 1; }
body.theme-modern .games-grid .tile .corner, body.theme-modern .games-grid .tile .check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--success); border: 3px solid #fff; opacity: 1; }
body.theme-modern .games-grid .tile:not(.selected) .corner, body.theme-modern .games-grid .tile:not(.selected) .check { opacity: 0; }

body.theme-modern .form-field { margin-bottom: 28px; }
body.theme-modern .form-label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
body.theme-modern .form-input, body.theme-modern .form-select { width: 100%; height: 52px; padding: 16px 20px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); border-radius: 16px; color: var(--text); font-size: 15px; transition: .2s ease; }
body.theme-modern .form-input:focus, body.theme-modern .form-select:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.10); box-shadow: 0 0 0 3px rgba(77,163,255,0.15); }
body.theme-modern .load-progress { height: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; margin-top: 8px; }
body.theme-modern .load-bar { height: 100%; background: linear-gradient(90deg, var(--success), var(--primary)); border-radius: 999px; transition: width .3s ease; }
body.theme-modern .ver { display: none; }
body.theme-modern .coupon-group { display: flex; gap: 12px; }
body.theme-modern .coupon-input { flex: 1; }
body.theme-modern .coupon-btn { padding: 0 24px; height: 52px; background: rgba(255,255,255,0.08); border: 1px solid var(--border-strong); border-radius: 16px; color: var(--text); font-weight: 700; transition: .2s ease; }
body.theme-modern .coupon-btn:hover { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; transform: translateY(-2px); }
body.theme-modern .price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
body.theme-modern .price-total { font-size: 28px; font-weight: 800; color: var(--primary); }
body.theme-modern .daily-price { font-size: 16px; color: var(--success); }
body.theme-modern .submit-btn { width: 100%; height: 60px; margin-top: 24px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border: none; border-radius: 20px; color: #fff; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 12px 32px rgba(77,163,255,0.4); transition: .3s ease; cursor: pointer; }
body.theme-modern .submit-btn:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(77,163,255,0.5); }
body.theme-modern .error-alert { background: rgba(239,68,68,0.15); border: 1px solid var(--danger); border-radius: 16px; padding: 20px; color: #ffb3b3; margin-bottom: 24px; }
body.theme-modern .checkbox-row { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: 14px; }
body.theme-modern .games-info { background: rgba(255,255,255,0.04); border-radius: 16px; padding: 20px; margin-top: 24px; }

/* Mobile */
@media (max-width: 992px) { body.theme-modern .order-grid { grid-template-columns: 1fr; gap: 24px; } body.theme-modern .games-card { order: -1; } body.theme-modern .games-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; } }

body.theme-modern .b-preloader-background,
body.theme-modern .b-preloader {  /* + основной прелоадер, если есть */
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* --- СТИЛИ ДЛЯ БЛОКА РЕПОЗИТОРИЕВ (PREFIX: vengine) --- */

/* 1. Контейнер блока */
.vengine-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}

/* Опциональный класс для удаления верхнего радиуса */
.vengine-block--no-top-radius {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* 2. Внутренний контент */
.vengine-block__content {
  padding: 20px;
}

/* 3. Карточка репозитория */
.vengine-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Эффект при наведении */
.vengine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}

/* Блок для иконки */
.vengine-card__icon {
  width: 52px;
  height: 52px;
  background-color: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Блок с информацией */
.vengine-card__info {
  flex-grow: 1;
}

/* Название */
.vengine-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 8px;
}

/* Метаданные (версия, категория) */
.vengine-card__meta {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Блок действий (кнопки) */
.vengine-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Стили кнопок внутри карточки */
.vengine-card__actions .btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

/* НОВЫЕ ФИКСЫ САППОРТА */

/* Базовые цвета: Уютный тёмный */
body { background: #0a0a0a; color: #e8ecef; }
.premium-card { background: rgba(20,20,30,0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); }

/* Meta: Светлый градиент */
.support-ticket-meta { 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 24px; 
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); border-radius: 16px; 
  box-shadow: 0 10px 40px rgba(59,130,246,0.3); color: #fff;
}
.support-ticket-meta div { font-size: 15px; }
.support-ticket-meta b { grid-column: 1/-1; font-size: 20px; margin-bottom: 12px; }

/* Badge'и яркие */
.badge { padding: 8px 14px; border-radius: 25px; font-size: 14px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.badge-info { background: #0ea5e9; }
.badge-warning { background: #f59e0b; }
.badge-success { background: #10b981; }
.badge-danger { background: #ef4444; }
.badge-secondary { background: #6b7280; }

/* Avatars с кольцом */
.support-avatar { width: 55px !important; height: 55px !important; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

/* Header/actions */
.support-classic-actions { display: flex; gap: 12px; }
.support-btn { padding: 10px 20px; border-radius: 25px; font-weight: 600; transition: all 0.3s; border: none; }
.support-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.4); }

/* ФОРМА: Большая, простая, без стрелок! */
.support-form-card { padding: 24px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.support-editor { 
  min-height: 140px !important; height: 140px; max-height: 350px; resize: vertical; 
  background: rgba(255,255,255,0.12) !important; border: 2px solid rgba(255,255,255,0.25); 
  border-radius: 16px; padding: 18px; font-size: 15px; color: #fff !important; line-height: 1.6;
}
.support-editor:focus { border-color: #3b82f6 !important; box-shadow: 0 0 0 4px rgba(59,130,246,0.2); background: rgba(255,255,255,0.15) !important; }
.support-editor::placeholder { color: #9ca3af !important; }

/* Сообщения: Светлые bubbles */
.support-message-card { background: rgba(255,255,255,0.05); border-radius: 20px; padding: 20px; border-left: 4px solid #3b82f6; }
.support-message-head { gap: 16px; align-items: flex-start; }
.support-message-author { font-size: 16px; font-weight: 700; color: #fff; }
.support-message-date { color: #9ca3af; font-size: 13px; }
.support-message-text { margin-top: 12px; padding: 16px; background: rgba(255,255,255,0.1); border-radius: 14px; line-height: 1.6; color: #e8ecef; }

/* Spacing */
.premium-card-body > * + * { margin-top: 28px; }
.support-messages { gap: 24px; margin-top: 32px; }

/*================================================================*/
/* Базовый */
body { background: #0a0a0a; color: #e8ecef; }
.premium-card { background: rgba(20,20,30,0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); }

/* Meta section */
.support-meta-section { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 20px 0 30px; }
.support-meta-left { flex: 1; }
.support-meta-right { display: flex; gap: 16px; flex-shrink: 0; align-items: flex-start; flex-wrap: wrap; }
.support-meta-right .support-btn { padding: 14px 24px; font-size: 14px; font-weight: 600; border-radius: 25px; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.support-meta-right .support-btn-primary { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; border: none; }
.support-meta-right .support-btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; border: none; }
.support-meta-right .support-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

/* Ticket Meta */
.support-ticket-meta { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 24px; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); border-radius: 16px; box-shadow: 0 10px 40px rgba(59,130,246,0.3); color: #fff; }
.support-ticket-meta div { font-size: 15px; margin: 0; }
.support-ticket-meta b { grid-column: 1/-1; font-size: 20px; margin-bottom: 12px; }

/* Badges */
.badge { padding: 8px 14px; border-radius: 25px; font-size: 14px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.3); color: #fff !important; }
.badge-info { background: #0ea5e9; }
.badge-warning { background: #f59e0b; }
.badge-success { background: #10b981; }
.badge-danger { background: #ef4444; }
.badge-secondary { background: #6b7280; }

/* Header */
.support-classic-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.support-classic-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.support-btn { padding: 12px 20px; border-radius: 25px; font-weight: 600; transition: all 0.3s; }

/* FORM */
#reply-form { scroll-margin-top: 100px; margin-top: 40px; }
.support-form-card { padding: 28px; background: rgba(255,255,255,0.1); border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.support-editor { width: 100%; min-height: 160px; max-height: 400px; resize: vertical; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.25); border-radius: 16px; padding: 18px; font-size: 15px; color: #fff; line-height: 1.6; box-sizing: border-box; }
.support-editor:focus { border-color: #3b82f6 !important; box-shadow: 0 0 0 4px rgba(59,130,246,0.2); background: rgba(255,255,255,0.15) !important; outline: none; }
.support-editor::placeholder { color: #9ca3af; }

/* MESSAGES: Светлые bubbles */
.support-messages { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.support-message-card { background: rgba(255,255,255,0.05); border-radius: 20px; padding: 20px; border-left: 4px solid #3b82f6; }
.support-message-head { display: flex; gap: 16px; align-items: flex-start; }
.support-avatar { width: 55px !important; height: 55px !important; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.5); flex-shrink: 0; }
.support-message-author { font-size: 16px; font-weight: 700; color: #fff; }
.support-message-date { color: #9ca3af; font-size: 13px; margin-top: 4px; }
.support-message-text { margin-top: 12px; padding: 16px; background: rgba(255,255,255,0.1); border-radius: 14px; line-height: 1.6; color: #e8ecef; }

/* Action box */
.support-action-box { display: flex; gap: 16px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: 16px; }
.support-btn-xs { padding: 8px 12px; min-width: auto; }

/*ВЛОЖЕНИЯ В ТИКЕТАХ*/
.attachment-image img:hover { transform:scale(1.05); }
.modal { animation: fadeIn 0.3s; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

/*NEWS КОММЕНТАРИИ НОВЫЙ ШАБЛОН*/