:root {
    --bg-grad-start: #0f1a26;
    --bg-grad-end: #0a131e;
    --panel-bg: rgba(25, 35, 46, 0.9);
    --panel-border: #203142;
    --accent-1: #4ca1af;
    --accent-2: #2c3e50;
    --text-primary: #e7edf3;
    --text-secondary: #c8d0d7;
    --link: #fffdc7;
    --tile-bg: #233244;
    --tile-border: #2b3c50;
    --muted: #4b5865;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
    --gap: 12px;
    --tile-padding: 10px;
    --font-size: 16px;
    --icon-size: 20px;
}.money-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

















.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* теперь 3 блока в ряд */
    gap: 12px;
    margin: 15px 10px;
}

.menu-item {
    background: #233244;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    position: relative;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: block;
    transition: 0.25s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.menu-item:hover {
    background: #27374a;;
    transform: translateY(-2px);
}
.menu-item img {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
}
.menu-badge {
    position: absolute;
    top: 0px;
    right: 0;
    background-color: #6799b2;
    font-size: 11px;
    border-radius: 0 7px 0 7px;
    color: #FFFFFF;
    padding: 1px 0.9em;}
.menu-plus {
    display: block;
    font-size: 13px;
    color: #e74c3c;
    font-weight: bold;
    margin-top: 4px;
}
.menu-sub {
    font-size: 12px;
    color: #bbb;
}
.tank-garage {
    position: relative;
    height: 231px;
    background: 
        linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%),
        url("/design/garage.jpg") center/cover no-repeat;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    overflow: hidden;

    display: flex;
    flex-direction: column;   /* расположим элементы сверху-вниз */
    justify-content: space-between; /* статы вверху, танк внизу */
    align-items: center;
    padding: 10px;
}

.tank-container img {
    max-height: 130px; /* уменьшим танк */
    width: auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
    transition: transform 0.3s;
}

.tank-container img:hover {
    transform: scale(1.05);
}

.tank-stats {
    background: rgb(0 0 0 / 68%);
    padding: 8px 12px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 300px;
    margin-bottom: auto; /* закрепляем сверху */
}

.tank-stats div { margin: 2px 0; }
.tank-stats .total { margin-top: 5px; font-weight: bold; color: tomato; }

@media screen and (max-width: 600px) {
    .tank-container { max-width: 90%; 
        margin: 6px 5px 5px -15px;}
    .tank-container img { transform: perspective(400px) rotateX(5deg); }
    .tank-stats { width: 90%; font-size: 12px; }
}
.bot {
    padding: 5px 5px;
    background: #18222c;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #1b1b1e;
    position: relative;
    color: white;
}

body {
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
      font-size: var(--font-size);
      line-height: 1.4;
      color: var(--text-primary);
      background: linear-gradient(135deg, var(--bg-grad-start) 0%, var(--bg-grad-end) 100%);
      padding: clamp(8px, 2vw, 16px);
    }


.container {
    max-width: min(600px, 100%);
    margin: 0 auto;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}.progress{background-color:#08aa00;height:8px}
.progress.big{border:0;background-color:#08aa00;height:15px}
.progress .full{background-color:#a5a5a5;float:left;height:100%}
.progress .empty{background-color:#08aa00;float:right;height:100%}
.clr{clear:both}.mb5{margin-bottom:5px!important}
.stat-item {background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius:6px;
    min-height: 8px;
display: inline-flex;
 align-items: center;
  justify-content: center;
    gap: 8px;
}.stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--gap);
    align-items: center;
    justify-content: center;
    margin: clamp(6px, 1.5vw, 12px) 0;
}

.teacx{
display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    border-radius: 8px;
}
.teac{
display:block;
color: silver;
font-size:12px;
border: 1px solid #000000;
background:#1f2d3d;

padding:7px;
text-decoration:none;
}.header {
    background: linear-gradient(90deg, #233244 0%, #1f2d3d 100%);
    padding: clamp(10px, 3vw, 18px);
    border-bottom: 1px solid var(--panel-border);
    text-align: center;
}
hr{
border: none;
border-bottom: 1px solid #1a2a3a;
width: 100%;
}
.exp_polos {
background: black;
margin: 0px;
max-width: 100%;
border-radius: 0px;
padding: 0px;
}
button.but {
    background: linear-gradient(to bottom, #4ca1af, #2c3e50);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 150px;
    margin-top: 5px;
    display: inline-block; /* с маленькой буквы */
}
input[type="submit"] {

    background: linear-gradient(to bottom, #4ca1af, #2c3e50);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 150px;
    margin-top: 5px;
    Display: inline-block;}
.progress-container {
    width: 100%;
    background: #2c3e50;
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
    height: 10px;
}.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #4ca1af, #2c3e50);
    border-radius: 5px;
    width: 37.7%;
}.oh {
    float: left;
    margin: 0 10px 0 0;
    padding: 0;
    line-height: 0;
}
.exp_polos .progress {
background-color: #ffb509;
max-width: 100%;
border-radius: 0px;
padding: 0px;
}
a {
color: #FFFFCC;
text-decoration:none;
}
img {
border: 0;
vertical-align: top;
max-width: 100%;
}
.center{
text-align:center;
}
.right{
text-align:right;
}
.left{
text-align:left;
}
.link {
    display: block;
    padding: calc(var(--tile-padding) + 2px) var(--tile-padding);
    background: var(--tile-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
    .link:hover { background: #27374a; }

a.des{
text-decoration: none;
display: block;
padding: 7px 5px 5px 5px;
border: 1px solid #000000;
border-style: ridge;
border-color: #1b1b1e;
border-radius:0px;
min-height: 16px;
color: #FFFFCC;
border: none;
background: #242324;
list-style: none;
}
a.but{ background: linear-gradient(to bottom, #4ca1af, #2c3e50);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        width: 150px;    margin-top: 5px;
Display: inline-block;
}
.text{
padding: 5px 5px ;
background: #212f40;
border-top: 1px solid #222222;
border-bottom: 1px solid #1b1b1e;
position: relative;
color: white;
}
.de{
text-align: center;
    font-size: 1.5rem;
    margin: 15px 0;
}
input[type="text"], input[type="password"] {
background-image:url("/design/inputext.png");
border: 1px solid #4B4B4B;
color: #fff;
padding: 4px;
}
input[type="stan"] {
margin-top: 2px;
margin-left: 0;
margin-right: 0;
background-image:url("/design/inputsub.png");
font-size: 14px;
color: #ccc;
border: 1px solid #3B3B3B;
padding: 4px;
}
.head {
background: #242428;
	color: #ccc;
	width: 100%;
}
.head a {
	display: inline-block;
padding: 12px 0;
background: #242428;
	float: left;
	width: 33%;
	height: 8%;
	text-align: center;
	margin: 0px;
}
.headc a {
	display: inline-block;
padding: 12px 0;
background: #242428;
	float: left;
	width: 34%;
	height: 8%;
	text-align: center;
	margin: 0px;
}