n
:root{
    --bg-color:#1a1a1a;
    --bg-color-4:#151311;
    --title-color:rgba(88, 24, 13, 1.0);
    --bg-color-1:#111827;
    --bg-color-2:rgb(31, 41, 55, 1);
    --bg-color-3:#443923;
    --bg-transparent:rgb(31 41 55/50%);
    --btn:#333;
    --btn-2:#333;
    --btn-red:#b71c1c;
    --btn-green:#143b14;
    --text-color:#ddd;
    --link-color:#F18F39;
    --bg-dark: #0d0b09;
    --panel-bg: rgba(26, 22, 18, 0.9);
    --border-color: #3e3328;
    --accent-green: #7eb338;
    --accent-orange: #d47a24;
    --text-main: #b8a682;
    --text-dim: #6e614d;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', Tahoma, Arial;
    font-size: 13px;
    color: #ddd;
    padding: 2px;
    background: #111;
    margin: auto;
    line-height: normal;
}

li {
    list-style-type: none;
}

ul {
    padding: 0px;
    margin: 0px;
    padding-inline-start: 0px;
}

h1,h2,h3,h4,h5,h6 {
    padding: 6px;
    margin: 0px;
    text-align: center;
    font-weight: 500;
}
h1{
    font-size: 36px;
}
.border {
/*  background-color: #1b1b1b;
    max-width: 540px;
    margin: auto;
        min-width: 350px;
    background-image: url(/theme/design/top_left.png), url(/theme/design/top_right.png), 
    url(/theme/design/bottom_left.png), url(/theme/design/bottom_right.png), url(/theme/design/center_top.png), url(/theme/design/center_right.png), 
    url(/theme/design/center_bottom.png), url(/theme/design/center_left.png), url(/theme/design/bg.png);
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%, 100% 0%, 0% 100%, 0% 0%, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-x, repeat-y, repeat;
    padding: 25px;
    padding-top: 15px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;*/
    /*smargin-top: 25px;*/
}

body {
    background-color: #000;
    background-image: radial-gradient(circle, #1a1510 0%, #050403 100%);
    color: #b8a682;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
}

body::before {
/*    content: " ";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 100;
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;*/
}
.content{
    max-width: 540px;
    margin: auto;
    min-width: 350px;
    background: #0a0604;

    background: rgba(26, 22, 18, 0.9);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.footer {
    padding-bottom: 50px;
    max-width: 540px;
    margin: auto;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.30);
}
.stalker-quick-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: #060402;
    border-top: 1px solid #1a100a;
    font-size: 13px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 540px;
    min-width: 350px;
    box-sizing: border-box;
    font-family: sans-serif;
    color: #c8b88a;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.6);
}

.quick-currency {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.quick-currency.gold {
    color: #e8d48b;
    font-weight: 500;
}

.quick-weight {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #a0845c;
}

.quick-separator {
    color: #3a2e1e;
    font-weight: 300;
    user-select: none;
}

/* Нижняя навигация */
.stalker-bottom-nav {
    display: flex;
    background: #0a0604;
    border-top: 2px solid #2a1a0a;
    padding: 8px 4px;
    position: fixed;
    bottom: 25px;
    padding-top: 0px;
    z-index: 10;
    width: 100%;
    max-width: 540px;
    margin: auto;
    min-width: 350px;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    border-radius: 4px;
}

.nav-item:hover {
    background: rgba(60, 40, 20, 0.3);
    border-color: #3a2a1a;
}

.nav-item.active {
    background: rgba(80, 60, 30, 0.2);
    border-color: #5a4a3a;
}

.nav-icon {
    font-size: 18px;
    color: #8a7a6a;
    width: 24px;
    height: 24px;
}

.nav-text {
    font-size: 9px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6a5a4a;
    line-height: 1.2;
}

.nav-item.active .nav-text {
    color: #c0a060;
}

#nav_menu_no_auth {
    position: fixed;
    bottom: 0;
background-color: rgba(0, 0, 0, 0.4);   padding-top: 0px;
    z-index: 10;
    width: 100%;
    max-width: 550px;
    min-width: 350px;
    margin-left: 0px;
}

#nav_menu_no_auth li {
    width: 25%;
    display: inline-block;
    border: 1px solid #111;
    border-right: 0px;
    height: 50px;
    padding-top: 5px;
    text-align: center;
    color: #ddf;
    font-size: 14px;
    float: left;
    border-radius: 0px;
}

#nav_menu_no_auth li img {
    width: 19px;
    max-height: 18px;
}

#nav_menu_no_auth li span {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#nav_menu_no_auth li:hover {
    background-color: rgba(5, 15, 1, 0.55);
    box-shadow: 0 0 7px #838a8a;
    cursor: pointer;
}


header {
    display: flex;
    background: #0a0604;
    border-bottom: 3px solid #2a1a0a;
    padding: 8px 4px;
    padding-top: 0px;
    z-index: 10;
    width: 100%;
    max-width: 540px;
    margin: auto;
    min-width: 350px;
    justify-content: space-around;
    display: flex;
    justify-content: space-around;
    padding: 8px;
    background: #000;
    font-size: 12px;
}

header li {
    min-width: 10%;
    display: inline-block;
    padding: 4px;
}
/* Шапка со статами */

.stat { display: flex; align-items: center; gap: 5px; }
.stat.health { color: #d44b4b; }
.stat.rad { color: #e6e61e; }
.stat.psy { color: #4b88d4; }

.top-user-alert {
    position: fixed;
    top: 49px;
    background-color: #111;
    opacity: 0.9;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    z-index: 13;
    padding: 15px;
    max-width: 540px;
    margin: auto;
    border-radius: 8px;
    color: #fff;
}

.lvl-progress {
    font-size: 10px;
    width: 100%;
}

.lvl-progress__td-1 {
    height: 6px;
    width: 40px;
    background: #222;
    border-radius: 4px;
    border: 1px solid #222;
    text-align: center;
}
.input li{
    display: block;
    margin: 5px;
    text-align: center;
    font-size: 14px;
}

textarea,input,select {
    background-color: #191919;
    color: white;
    border: 1px solid #363D45;
    vertical-align: middle;
    width: 30%;
    max-width: 100%;
    padding: 7px;
    font-size: 14px;
}

textarea:hover,input:hover,select:hover {
    background: #111111;
    cursor: pointer;
}

.textarea,.list-textarea input {
    color: white;
    vertical-align: middle;
    display: block;
    max-width: 100%;
    width: 100%;
    border-radius: 0px;
}

.textarea:hover,.list-textarea input:hover {
    color: white;
    border: 1px solid #474B4B;
    vertical-align: middle;
    max-width: 100%;
    border-radius: 0px;
}

.input input, .input select, .input textarea,.submit{
    color: #bfb5ba;
    background: #191718;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding: 8px;
    border: 1px solid #34272e;
    margin: 0 0 10px 0px;
    border-radius: 8px;
    max-width: 90%;
    width: 90%;
    box-sizing: border-box;
    display: inline-block;
}

.input input[type="submit"],.input input[type="button"],.submit {
    background: #333;
    font-family: 'El Messiri', sans-serif;
    font-weight: 700;
    border: 1px solid #222;
    color: #fff;
}
.input .field-30{
    border: 0px;
    border-radius: 0px;
    width: 30%;
    padding: 6px;
    margin: 0px;
}
.field-30-wrap{
    display: flex;
}
.input .field-30 b{
    padding: 6px;
    font-size:14px;
}
.field-30-btn{
    padding: 6px;
    background-color: #a0a4a8;
    color: #000;
    cursor: pointer;
    width: 30%;
    display: inline-block;
    margin-left: 1px;

}

.form input, .form select, .form textarea {
    background-color: rgba(0,0,0, 0.6);
    border: 0px;
    margin-top:5px;
    padding:4px;
    width:50%;
    max-width:185px;
    text-align:center;
    display: inline-block;
}
.form input[type="button"], .form input[type="submit"] {
background-color: rgba(0,0,0, 0.8);
border: 0px;padding: 11px 0px 11px 0px;
margin-top:5px;width:50%;max-width:185px;
/*color: #F18F39;*/
}
.form input::placeholder {  
    color: white;
}

.input_2 {
    color: #bfb5ba;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding: 8px;
    border: none;
    border-bottom: 2px solid #bababa;
    margin: auto;
    box-sizing: border-box;
    display: block;
    background: none;
    width: 100%;
    margin-top: 10px;
}

table {
    border-collapse: collapse;
}

hr {
    border-top: 1px #000000 solid;
    border-bottom: 1px #425763 solid;
}

a {
    text-decoration: none;
color: #939a9f; display: inline-block;
}

a:hover {
    text-decoration: none;
    color: #ddd;
    border-radius: 2px;
}

.links, .list-links a {
    display: block;
    margin: 2px;
    padding: 8px;
    border: 1px solid #363D45;
    font-size: 13px;
    border-radius: 0px;
}

.links_2 {
    font-family: stalker;
    border: 2px solid #60606030;
    border-radius: 2px;
    padding: 5px;
    margin: 5px;
    background: #83830d;
    color: #7474bf;
    display: block;
    font-size: 13px;
}
/* Форма */
.modal-form {
    padding: 10px 0;
}

.modal-form-group {
    margin-bottom: 16px;
}

.modal-form-label {
    display: block;
    font-size: 12px;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.modal-form-group input {
    flex: 1;
    padding: 10px 12px;
    background: #0f0a06;
    border: 1px solid #3a2a1a;
    border-radius: 4px;
    color: #c0b090;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #5a4a3a;
    box-shadow: 0 0 10px rgba(90, 74, 58, 0.3);
}

    /* Оверлей */
.modal-overlay {
    position: fixed;
    top: 50px;
    z-index: 9999;
    display: none;
    width: 100%;
    max-width: 540px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: overlayFadeIn 0.3s ease;
    text-align: center;
}

/* Окно */
.modal-window {
    position: relative;
    width: 75%;
    background: #0d0a06;
    border: 2px solid #3a2a1a;
    border-radius: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.9),
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(60, 40, 20, 0.3);
    animation: modalSlideIn 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    font-family: 'Courier New', monospace;
    display: inline-block;
}

/* Угловые декорации */
.modal-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #5a4a3a;
    border-style: solid;
    z-index: 2;
}

.modal-corner.top-left {
    top: 4px;
    left: 4px;
    border-width: 2px 0 0 2px;
}

.modal-corner.top-right {
    top: 4px;
    right: 4px;
    border-width: 2px 2px 0 0;
}

.modal-corner.bottom-left {
    bottom: 4px;
    left: 4px;
    border-width: 0 0 2px 2px;
}

.modal-corner.bottom-right {
    bottom: 4px;
    right: 4px;
    border-width: 0 2px 2px 0;
}

/* Заголовок */
.modal-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 2px solid #3a2a1a;
    margin: 0px 0px 5px 0px;
}

.modal-title-icon {
    font-size: 20px;
}

.modal-title-text {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #c0b090;
    text-shadow: 0 0 10px rgba(192, 176, 144, 0.3);
    text-align: center;
}

.modal-close-btn {
    background: none;
    border: 1px solid #3a2a1a;
    color: #8a7a6a;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(60, 40, 20, 0.5);
    border-color: #5a4a3a;
    color: #ff6b35;
}

/* Тело */
.modal-body {
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3a2a1a #0d0a06;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #0d0a06;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #3a2a1a;
    border-radius: 3px;
}

.modal-description {
    color: #8a7a6a;
    font-size: 13px;
    margin-bottom: 16px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #2a1a0a;
    border-radius: 4px;
    text-align: center;
}

.modal-description.warning {
    color: #cc6633;
    border-color: #5a3a2a;
    background: rgba(80, 40, 20, 0.2);
}

/* Футер */
.modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #0f0a06;
    border-top: 1px solid #2a1a0a;
    justify-content: flex-end;
}

/* Кнопки */
.modal-btn {
    padding: 10px 24px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #3a2a1a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 4px;
    width: 100%;
}

.modal-btn-cancel {
    background: #0f0a06;
    color: #8a7a6a;
}

.modal-btn-cancel:hover {
    background: #1a1410;
    border-color: #5a4a3a;
    color: #c0b090;
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #4a6a3a, #3a5a2a);
    color: #c0d0a0;
    border-color: #5a7a4a;
    box-shadow: 0 2px 10px rgba(74, 106, 58, 0.3);
}

.modal-btn-confirm:hover {
    background: linear-gradient(135deg, #5a7a4a, #4a6a3a);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 106, 58, 0.4);
}

.modal-btn-danger {
    background: linear-gradient(135deg, #6a3a3a, #5a2a2a);
    color: #d0a0a0;
    border-color: #8a5a5a;
    box-shadow: 0 2px 10px rgba(106, 58, 58, 0.3);
}

.modal-btn-danger:hover {
    background: linear-gradient(135deg, #8a4a4a, #6a3a3a);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(106, 58, 58, 0.4);
}
/* Анимации */
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Адаптация */
@media (max-width: 480px) {
    .modal-window {
        width: 95%;
        border-radius: 6px;
    }
    
    .modal-head {
        padding: 12px 16px;
    }
    
    .modal-title-text {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .slot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .slot-btn {
        padding: 12px 8px;
    }
    
    .slot-icon {
        font-size: 22px;
    }
    
    .modal-footer {
        padding: 12px 16px;
    }
    
    .modal-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Секции */
.section {
    padding: 12px;
    border-bottom: 1px solid #3e3328;
}

.section-header {
    background: rgba(62, 51, 40, 0.3);
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid #d47a24;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

/* Нашивки */
.patch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.patch {
    width: 48px;
    height: 48px;
    background: #1a1510;
    border: 1px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: sepia(1) saturate(0.5);
    font-size: 18px;
}
/* Сетка слотов */
.slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.slot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: #0f0a06;
    border: 1px solid #3a2a1a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    color:#fff;
}

.slot-btn:hover {
    background: #1a1410;
    border-color: #5a4a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(90, 74, 58, 0.2);
}

.slot-btn:active {
    transform: translateY(0);
}

.slot-icon {
    font-size: 28px;
}

.slot-label {
    font-size: 14px;
    font-weight: bold;
    color: #c0b090;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slot-hint {
    font-size: 11px;
    color: #6a5a4a;
}
/* Подтверждение */
.confirm-window {
    max-width: 360px;
}

.confirm-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.confirm-text {
    font-size: 18px;
    color: #c0b090;
    font-weight: bold;
}

.block{
    background: #0f0c08;
    border: 1px solid #2f2217;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.block-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8a7b5e;
    margin-bottom: 6px;
    border-bottom: 1px dotted #1f1710;
    padding-bottom: 3px;
    font-weight: bold;
}
.block-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 2px 0;
    border-bottom: 1px dotted #1a120c;
}
.block-label {
    color: #6a5e47;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.block-value {
    color: #c4b48c;
    font-weight: bold;
}

.block3 {
    bottom: 0;
    background: #2c2b28;
    padding: 6px;
    z-index: 10;
    width: 100%;
    max-width: 550px;
    background-color: rgba(1, 10, 15, 0.6);
    background-image: url(/theme/plan.jpg);
}

.block4 {
    text-decoration: none;
    color: #ddd;
    background: #1B1B1B;
    padding: 6px;
    border-top: 1px solid #2e2e2e;
    border-bottom: 1px solid #0a0a0a;
    display: block;
    margin: 3px 0px;
}

.block_5 {
    background-color: rgba(20,20,20,0.3);
    border: 1px solid #363D45;
}

.block_6 {
    margin: 5px;
    margin-top: 0px;
    background-color: #151311;
    padding: 7px;
    font-size: 13px;
    border-bottom: 1px solid #2f281f;
}

.message {
    margin-bottom: 5px;
  margin-top: 0px;
  background-color: #151311;
  padding: 7px;
  font-size: 13px;
  border-bottom: 1px solid #2f281f;
  display: flex;
justify-content: space-between;
    line-height:1;
}
.message-avatar{
    width: 64px;
    display: inline-flex;
}
.message-center{
    display: block;
    justify-content: right;
    width: 90%;
    margin-left: 10px;
    
}
.message-left{
    display: flex;

}


.message-btn-read {
    padding: 6px 12px;
    background: linear-gradient(180deg, #a79b69, #8a7f55);
    border: 1px solid #a79b69;
    border-radius: 2px;
    color: #111;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    max-height: 30px;
    align-self: center;
}
.message-btn-dell {
    padding: 7px 12px;
    background-color: red;
    border-radius: 2px;
    color: #111;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    margin-left: 2px;
    align-self: center;

}
/* Элемент инвентаря */
.inventory-item {
    padding: 12px 16px;
    border-bottom: 1px solid #1a100a;
    transition: background 0.3s;
}

.inventory-item:hover {
    background: rgba(60, 40, 20, 0.2);
}

.inventory-item:last-child {
    border-bottom: none;
}

.inventory-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.inventory-item-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a2a1a;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.inventory-item-icon img {
    display: block;
    max-width: 56px;   /* 64px - небольшие отступы */
    max-height: 56px;
    object-fit: contain;
}

/* Для оружия с поворотом */
.inventory-item-icon img[style*="rotate(-45deg)"] {
    max-width: 70px;   /* Увеличиваем, чтобы при повороте не обрезалось */
    max-height: 70px;
}

.inventory-item-details {
    flex: 1;
}

.inventory-item-name {
    font-size: 12px;
    font-weight: bold;
    color: #d0c0a0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.inventory-item-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #8a7a6a;
    margin-top: 2px;
}

.inventory-item-condition { color: #66cc66; }
.inventory-item-weight { color: #ccaa66; }
.inventory-item-count { color: #aaa; }
.inventory-item-separator { color: #4a3a2a; }

/* Кнопки действий */
.inventory-item-actions {
    gap: 6px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 4px 12px;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #3a2a1a;
    border-radius: 3px;
    background: #0f0a06;
    color: #8a7a6a;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 4px;
}

.action-btn:hover {
    background: #1a1410;
    border-color: #5a4a3a;
    color: #c0b090;
    box-shadow: 0 0 10px rgba(90, 74, 58, 0.3);
}

.action-btn.green {
    border-color: #4a6a3a;
    color: #6a8a5a !important;
}

.action-btn.green:hover {
    background: rgba(74, 106, 58, 0.2);
    border-color: #6a8a5a;
    color: #8aaa7a !important;
}

.action-btn.red {
    border-color: #6a3a3a;
    color: #8a5a5a !important;
}

.action-btn.red:hover {
    background: rgba(106, 58, 58, 0.2);
    border-color: #8a5a5a;
    color: #aa7a7a !important;
}


.terminal {
    background: rgba(20, 30, 10, 0.4);
    border: 1px solid #2d4d1a;
    margin: 10px;
    border-radius: 4px;
    border-left-color: #7eb338; 
    color: #7eb338;
}

.terminal-link {
    display: block;
    padding: 8px;
    color: #7eb338;
    text-decoration: none;
    border-bottom: 1px solid rgba(126, 179, 56, 0.2);
    font-size: 12px;
}

.terminal-link:hover {
    background: rgba(126, 179, 56, 0.1);
}
.terminal-header {
    background: rgba(62, 51, 40, 0.3);
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid #7eb338;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.vesh-block{
    margin: 5px;
    margin-top: 0px;
    background-color: #151311;
    padding: 7px;
    font-size: 13px;
    border-bottom: 1px solid #2f281f;
    display: flex;
}


/* картинка слева фиксированного размера */
.vesh-block-img{
    width: 64px;
    height: 64px;
    min-width: 40px;
    /*background: #111;*/
    /*border: 1px solid #222;*/
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* правая колонка занимает оставшуюся ширину */
.vesh-block-col{
  flex: 1 1 auto; /* занимает всё доступное пространство */
  min-width: 0; /* важно для корректного переноса текста внутри flex */
  padding: 4px;
  margin: 1px 0 1px 0;
  box-sizing: border-box;

}
.item-weight {
    color: #8ac4c4;
    font-family: 'Strong', sans-serif;
}
.item-name {
    color: #808080;
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.confirm-popup {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  border-radius: 5px;
  background-color: var(--bg-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}


.confirm-popup__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.confirm-popup__button {
  padding: 10px;
  border: none;
  background-color: #1c87c9;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  width:100px;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  margin:10px ;
}

#confirm_popup_button_yes {
  background-color: green;
}
#confirm_popup_button_no {
  background-color: red;
}
.confirm-popup__wrap__button{
    display: block;
    text-align: center;
}
/* ==================== */
/* СКРОЛЛБАРЫ */
/* ==================== */

.popup-window_inside::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    cursor: pointer;
}

.popup-window_inside::-webkit-scrollbar-thumb {
    background-color: rgba(60, 60, 60, 1);
}

.popup-window_inside::-webkit-scrollbar-track {
    background-color: rgba(10, 10, 10, .6);
}
.popup,.popup-window{
    position: fixed;
    top: 50px;
    z-index: 9999;
    display: none;
    max-width: 540px;
    width: 100%;
    background: #0d0a06;
    border: 2px solid #3a2a1a;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(60, 40, 20, 0.3);
    animation: modalSlideIn 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.popup_inside,.popup-window_inside {
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3a2a1a #0d0a06;

}
.confirm-popup__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.popup-window-footer {
    display: flex;
    gap: 10px;
    padding: 8px 20px 12px 20px;
    background: #0f0a06;
    border-top: 1px solid #2a1a0a;
    justify-content: flex-end;
}
.popup_close, .popup-window_close {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #3a2a1a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}


.popup__block-list {
    width: 30%;
    height: 80px;
    display: inline-block;
    border: 1px solid #888;
    border-bottom: none;
    margin: 0px 2px 15px 2px;
}

.popup__block-list__img {
    width: 100%;
    height: 80px;
    display: inline-block;
}

.window-load, .popup_load{
    top:25%; left:35%; font-size:24px;
    position: absolute;
    text-transform: uppercase;
}
.top-notification {
    z-index: 100;
    position: fixed;
    top: 100px;
    width: 100%;
    display: none;
    max-width: 540px;
    margin: auto;
    text-align: center;
}
.top-notification-inside {  
    background-color: #1a1a1a;  
    color: #fff;  
    padding: 8px;  
    border-radius: 5px;  
    text-align: center; 
    border: 1px solid #1f1f1f;
    z-index: 100;
    width: 75%;
    display: inline-block;
    padding: 10px;
    box-shadow: 0 0 5px 0px #000000;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;

}  
.top-notification-inside div{
    font-size: 18px;
    padding: 8px;
    display: flex;
    justify-content: center;

}
.top-notification-button {  
    background-color: #333;  
    color: var(--text-color);  
    border: none;  
    border-radius: 5px;  
    padding: 10px 15px;  
    cursor: pointer; 
    width: 100%; 
    display: block;
    font-size: 14px;
}  
.top-notification-button:hover {  
    background-color: #777;  
}  

.top-notification img{
    width: 24px;
    display: inline-block;
    margin-right: 10px;
}

.popup-window .title{  
  background: none !important ;
  color: var(--text-color);
  padding: 6px;
  display: block;
  text-align: center;
  border:none !important;
  text-align: center;
  text-transform: uppercase;
  margin: 0px;
}

.ppp {
    display: none;
    box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    -webkit-box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    -moz-box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    border: 3px solid #1f1f1f;
    z-index: 500;
    position: fixed;
    top: 50px;
    max-width: 540px;
    margin: auto;
    max-height: 75vh;
    padding: 4px;
    width: 100%;
}

.popup_error {
    position: relative;
    line-height: 18px;
    margin: 5px;
    padding: 16px;
    color: #ff0046;
    background: #000;
    border: 2px ridge #000000;
    border-radius: 0px;
    box-shadow: inset 0 0 15px 2px #3c1300;
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    display: none;
}

.iblock-text {
    font-size: 10px;
    text-decoration: none;
    color: #c19442;
    background-color: #444;
    width: 100%;
    display: inline-block;
    text-align: center;
}

.active {
    background: #161616 !important;
}

.selected {
    color: #1c9614 !important;
}

.hover:hover {
    background-color: rgba(60,60,60,0.1) !important;
    cursor: pointer;
}

.title {
    background: #1e1d1d;
    margin-top:5px;
    padding: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
}
.title-left {
    background: #1e1d1d;
    margin-top:5px;
    padding: 6px;
    font-size: 14px;
  font-weight: bold;
  color: #a79b69;
  font-family: 'Strong', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 2px solid #a79b69;
}
.title-yellow {
    background: #1e1d1d;
    margin-top:5px;
    padding: 6px;
    font-size: 14px;
  font-weight: bold;
  color: #a79b69;
  font-family: 'Strong', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

h6 {
    background: #1e1d1d;
    padding: 6px;
    margin: 0px;
    text-align: center;
    font-size: 20px;
}
.load{
    position: relative;
    text-transform: uppercase;
    font-size: 24px;
    color: white;
    text-align: center;
    padding: 25px;
}
.not-item {
    background-color: #070f16;
    color: #b9c7e1d4;
    padding: 6px;
}

.line {
    background: url('start/line.gif') repeat-x;
    height: 3px;
    display: block;
    z-index: 12;
    margin: auto;
    margin: 3px 5px;
}

.social-links {
    color: #fff;
    font-size: 14px;
    padding: 5px;
    border: 2px solid #fff;
    margin: 5px;
}

.vesh a {
    padding: 10px 0px;
    margin: 0 1px;
    display: inline-block;
    border: none;
    color: rgb(255 212 134);
    height: auto;
    background: none;
}

.vesh select, .vesh input {
    color: rgb(255 212 134);
    background: none;
    padding: 10px 0px;
    max-width: 100%;
    width: 100%;
    margin: 0px;
    border: none;
}

.vesh__block {
    background: #111;
    border: 1px solid #4e4e4e;
    display: inline-block;
    text-align: center;
    float: left;
    position: relative;
}

.vesh__weapon {
    width: 28.56%;
    height: 14.28%;
}

.vesh__weapon a {
    width: 100%;
    padding-top: 50%;
}

.vesh__body {
    width: 14.28%;
    height: 28.56%;
}

.vesh__body a {
    width: 100%;
    padding-top: 100%;
}

.vesh__thing {
    width: 14.28%;
    height: 14.28%;
}

.vesh__thing a {
    width: 100%;
    padding-top: 100%;
}

.vesh__block-link {
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.vesh__block img {
    max-width: 100%;
    max-height: 100%;
}
.invent {
    background: #191919;
    padding: 6px 0px 6px 0px;
    color: #ededed;
    border-radius: 3px;
    display: inline-block;
    width: 25%;
    text-align: center;
    font-size: 10px;
    margin: 5px;
}
.invent img{
  max-width: 90%; height:36px;
}
.invent__name{
  white-space: nowrap;overflow: hidden;text-overflow: ellipsis;
}
.navig {
    color: #c77228;
    text-align: center;
    max-width: 540px !important;
    margin: auto;
    display: block;
    padding: 2px;
    margin: 2px 0px;
    color: #fff;
    border-radius: 0px;
    background-color: rgba(17, 15, 22, 0.6);
    width: 100%;
    max-width: 540px;
    margin: auto;
    min-width: 350px;
}

.navig a{
    display: inline-block;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    padding: 0 7px;
    color: #fafcff;
    border-bottom: 1px solid #2b2a2a;
    background-color: rgba(1, 10, 15, 0.8);
    border-radius: 3px;
    margin: 2px 3px;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 15%;
}

.ui-pagination__page-number {
  display: inline-block;
  font-size: 14px;
  height: 25px;
  line-height: 25px;
  padding: 0 7px;
  color: #fafcff;
  border:none;
  border-bottom: 1px solid #2b2a2a;
  background-color: rgba(1, 10, 15, 0.8);
  border-radius: 3px;
  margin: 2px 0px;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 10%;
  vertical-align: top;
}
.ui-pagination__button-go {
  display: inline-block;
  font-size: 14px;
  height: 25px;
  line-height: 25px;
  padding: 0 7px;
  color: #fafcff;
  border:none;
  border-bottom: 1px solid #2b2a2a;
  background-color: rgba(1, 10, 15, 0.8);
  border-radius: 3px;
  margin: 2px 0px;
  text-decoration: none;
  box-sizing: border-box;
  width: 30px;
}
.error, .error-page {
    line-height: 18px;
    margin: 5px;
    padding: 9px;
    color: #ff0046;
    background: #000;
    border: 2px ridge #000000;
    border-radius: 0px;
    box-shadow: inset 0 0 15px 2px #3c1300;
}

.npc_title {
    margin-right: 0px;
    margin-left: 0px;
    display: block;
    background: #121212;
    color: #a6a6a6;
    padding: 8px;
    border-bottom: 1px solid #444e4f;
    min-height: 100px;
}


#chat {
    font-size: 9px;
    color: #8a7b5e;
    /*text-transform: uppercase;*/
    letter-spacing: 0.3px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

#chat::-webkit-scrollbar {
    width: 0px;
    height: 6px;
}

.chat-panel {
    bottom: 0;
    background: #212629;
    padding: 3px;
    z-index: 10;
    max-width: 540px !important;
    margin: auto;
    font-size: 14px;
    text-align: center;
    background-image: url('/theme/design/sub_top.png');
    margin: 8px -10px;
}

.chat-form-button{
    background-color: #191919;
    color: white;
    border: 1px solid #494d44;
    vertical-align: middle;
    width: 40px;
    padding: 5px;
    font-size: 14px;
    display: inline-block; 
    height: 30px;
    border-radius: 5px;
}


.chat-form {
    padding: 6px;
    z-index: 10;
    max-width: 540px!important;
    margin: auto;
    background: rgba(17, 15, 22, 0.6);
}

.chat__wrap-text {
    margin-left: 52px;
}

.equal-container{
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.equal-container > * {
    flex: 1 1 0;
    /* Все элементы начинают с 0 и делят пространство поровну */
}
.network-message {
    font-size: 12px;
    padding: 3px;
}

.navigMsg {
    display: block;
    min-height: 50px;
    font-size: 0.9em;
    border-bottom: 1px solid #282828;
    background-color: rgba(20,20,20,0.3);
    color: #CF950E;
    padding-top: 3px;
    background: #000;
    padding-left: 4px;
    font-size: 1em;
}

.chat__avatar {
    width: 50px;
    margin: 2px;
}

.chat__wrap-text {
    background: #1B1B1B;
    min-height: 55px;
    padding: 4px;
    border-radius: 2px;
    border-left: 2px solid white;
}

.key-switch-img {
    display: inline-block;
}

.key-switch-img li {
    display: inline-block;
}

.key-switch-img input[type=checkbox], .key-switch-img input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.key-switch-img input[type=checkbox] + li,.key-switch-img input[type=radio]:checked + li {
    cursor: pointer;
}

.key-switch-img input[type=checkbox]:checked + li,.key-switch-img input[type=radio]:checked + li {
    border: 2px solid #ade892;
}

.coub__wrap {
    width: 100%;
    border-radius: 8px;
    background: #222;
    padding: 5px 0px;
}

.coub__wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.coub__wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.view_usr__name {
    display: block;
    margin: 1px 0;
    padding: 5px 7px;
    background: #100e0e;
    color: #b8cccd;
    box-sizing: border-box;
    border-left: 1px solid #36073c;
}

.view_usr span {
    color: orange;
    font-size: 13px;
    margin: 1px 0;
    padding: 1px 7px;
}

.view_usr {
    font-size: 14px;
}

.footerLink {
    margin: 5px;
}

.rad-dark {
    background-image: url('radioactive-128-dark.png'),url('radioactive-128-dark.png')!important;
    background-size: contain, contain!important;
    background-position: 5px, right 5px top 0px !important;
    background-repeat: no-repeat!important;
}

.click, .list-click li {
    display: block;
    width: 100%;
    cursor: pointer;
    background-image: url('/img/ico/hand_point.png');
    background-size: auto;
    background-position: right center;
    background-repeat: no-repeat;
}

.d-show {
    background-image: url('../img/ico/s2.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    position: relative;
    z-index: 0;
}
.info-block-blue {
    padding: 10px 12px;
    border-radius: 2px;
    margin-bottom: 8px;
    font-size: 11px;
    background: linear-gradient(90deg, rgba(138, 196, 196, 0.12), transparent);
    color: #8ac4c4;
    border: 1px solid rgba(138, 196, 196, 0.2);
    margin-top: 3px;
}
.info-block-red{
    gap: 10px;
    padding: 12px;
    background: rgba(185, 101, 101, 0.1);
    border: 1px solid rgba(185, 101, 101, 0.2);
    border-radius: 4px;
    margin-bottom: 12px;
    margin-top: 5px;
}
.info-block{
    gap: 10px;
    padding: 12px;
    background: rgba(185, 101, 101, 0.1);
    border: 1px solid rgba(185, 101, 101, 0.2);
    border-radius: 4px;
    margin-bottom: 12px;
    margin-top: 5px;
}
.info-block-green{
    gap: 10px;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    margin-top: 5px;
    background: rgba(101, 185, 161, 0.1);
    border-color: rgba(101, 185, 161, 0.3);
}

.ico {
    vertical-align: bottom;
    opacity: 0.9;
    max-height: 18px;
    padding-right: 3px;
}
.ico-min {
    vertical-align: bottom;
    opacity: 0.9;
    max-height: 12px;
    margin: 3px;
}

.btn-confirm{
  padding: 10px;
  border: none;
  background-color: green;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  width:100px;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  margin:10px ;
}
.btn-reject{
  padding: 10px;
  border: none;
  background-color: red;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  width:100px;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  margin:10px ;
}


.btn {
    font-size: 14px;
    padding: 6px;
    margin-top:4px;
    /*border-radius: 8px;*/
    box-sizing: border-box;
    display: block;
    background: #191718;
    font-family: 'El Messiri', sans-serif;
    color: #fff;
}

.btn_3 {
    padding: 5px 10px;
    margin: 0 1px;
    display: block;
    border: 1px solid #bfb5ba;
    color: #bfb5ba;
    height: auto;
}
.btn-yellow{
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, #a79b69, #8a7f55);
    border: 1px solid #a79b69;
    border-radius: 2px;
    color: #111;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-red{
    background: linear-gradient(180deg, rgba(185, 101, 101, 0.2), rgba(185, 101, 101, 0.1)) !important;
    border-color: rgba(185, 101, 101, 0.3) !important;
    color: #b96565 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(167, 155, 105, 0.3);
    border-radius: 3px;
    color: #a79b69;
    font-size: 12px;
    font-family: 'Strong', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}
.btn-color{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(180deg, rgba(167, 155, 105, 0.2), rgba(167, 155, 105, 0.1));
    border: 1px solid rgba(167, 155, 105, 0.3);
    border-radius: 3px;
    color: #a79b69;
    font-size: 12px;
    font-family: 'Strong', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.reg-btn {
background-color: rgba(0,0,0, 0.5);
border: 0px;padding: 11px 0px 11px 0px;
margin-top:8px;width:50%;max-width:185px;
}
.btn_2{
    background-color: rgba(48,48,48, 0.5);
    border: 0px;padding: 6px;
    margin-top:8px;width:50%;
    text-align: center;
    box-shadow: inset 0 0 5px 0px #000000;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    display: inline-block;
}
.btn_4 {
        padding: 6px;
    margin-top: 4px;
    background: #333;
    border: 1px solid #222;
    color: #ddd;
    border-radius: 0px;
    font-weight: 700;
    font-family: Tahoma;
    cursor: pointer;
    width: 100%;
    display: inline-block;
}
.panel-link{
  display: block;
  font-size: 14px;
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.panel-link-a{
    background: url(/theme/design/panel-link.png) repeat;
  padding: 7px 0px;
  display: inline-flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.panel-link-active{
    border-top: 2px solid #a79b69;
    border-bottom: 2px solid #a79b69;
    padding: 5px 0px;
}

.button {
  padding: 10px;
  border: none;
  background-color: var(--btn);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: block;
  margin-top:6px ;
  text-decoration: none;
}
.button-red{
    background-color: var(--btn-red); !important;
}
.button-green{
    background-color: var(--btn-green); !important;
}
.button-blue{
    background-color: #225069 !important;
    color:white !important;
}
#load_animation {
position: fixed;
    z-index: 9199;
    width: 100%;
    display: none;
    height: 36px;
    font-size: 24px;
    /* margin: 0; */
    color: #fff;
    bottom: 51px;
}

#load_animation_error {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
}

.c1 {
    color: #4682b4 !important;
}

.c2 {
    color: rgb(255 212 134) !important;
}

.c3 {
    color: #7ac755 !important;
}

.c4 {
    color: #d3ff3b !important;
}

.c5 {
    color: #ddd !important;
}

.c6 {
    color: #F18F39 !important;
}

.c7 {
    color: #71D86D !important;
}

.c8 {
    color: #bfb5ba !important;
}

.c9 {
    color: #182FfD !important;
}

.c10 {
    color: #4682b4 !important;
}

.p0 {
    padding: 0px !important;
}

.p1 {
    padding: 1px !important;
}

.p3 {
    padding: 3px !important;
}

.p5 {
    padding: 5px !important;
}

.p6 {
    padding: 6px !important;
}

.p8 {
    padding: 8px !important;
}

.p10 {
    padding: 10px !important;
}

.p20 {
    padding: 20px !important;
}

.pt0 {
    padding: 0px !important;
}

.pt1 {
    padding: 1px !important;
}

.pt3 {
    padding: 3px !important;
}

.pt5 {
    padding: 5px !important;
}

.pt10 {
    padding: 10px !important;
}

.pt20 {
    padding: 20px !important;
}

.pb0 {
    padding: 0px !important;
}

.pb1 {
    padding: 1px !important;
}

.pb3 {
    padding: 3px !important;
}

.pb5 {
    padding: 5px !important;
}

.pb10 {
    padding: 10px !important;
}

.pb20 {
    padding: 20px !important;
}

.green {
    color: green !important;
}

.black {
    color: black !important;
}

.red {
    color: red !important;
}

.blue {
    color: blue !important;
}

.white {
    color: white !important;
}

.mr8 {
    margin-right: 8px !important;
}

.m0 {
    margin: 0px;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline-block;
}

.center {
    text-align: center;
}

.c-pointer {
    cursor: pointer;
}

.w5 {
    width: 5% !important;
}

.w10 {
    width: 10% !important;
}

.w20 {
    width: 20% !important;
}

.w25 {
    width: 25% !important;
}

.w30 {
    width: 30% !important;
}
.w33 {
    width: 33.3% !important;
}
.w49 {
    width: 49% !important;
}

.w50 {
    width: 50% !important;
}

.w70 {
    width: 70% !important;
}

.w75 {
    width: 75% !important;
}

.w90 {
    width: 90% !important;
}

.w95 {
    width: 95% !important;
}

.w100 {
    width: 100% !important;
}

.wp20 {
    width: 20px !important;
}

.wp50 {
    width: 50px !important;
}

.wp70 {
    width: 70px !important;
}

.wp200 {
    width: 200px !important;
}

.hp20 {
    height: 20px !important;
}

.hp30 {
    height: 30px !important;
}

.hp50 {
    height: 50px !important;
}

.hp100 {
    height: 100px !important;
}

.hp200 {
    height: 200px !important;
}

.hp300 {
    height: 300px !important;
}

.h100 {
    height: 100% !important;
}

.tar {
    text-align: right;
}

.tal {
    text-align: left;
}

.tac {
    text-align: center;
}

.mw90 {
    max-width: 90px;
}

.mw100 {
    max-width: 100px;
}

.mw120 {
    max-width: 120px;
}

.mw200 {
    max-width: 200px;
}

.mw250 {
    max-width: 250px;
}

.mh100 {
    max-height: 100px;
}

.minw200 {
    min-width: 200px;
}

.lh1 {
    line-height: 18px !important;
}

.lh2 {
    line-height: 24px !important;
}

.ml5 {
    margin-left: 5px !important;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mt5 {
    margin-top: 5px !important;
}

.mt3 {
    margin-top: 3px !important;
}

.mt2 {
    margin-top: 2px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mb10 {
    margin-bottom: 10px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb3 {
    margin-bottom: 3px;
}

.mb2 {
    margin-bottom: 2px;
}

.m15 {
    margin: 15px;
}

.m10 {
    margin: 10px;
}

.m5 {
    margin: 5px;
}

.m3 {
    margin: 3px;
}

.m0 {
    margin: 0px;
}

.mt0 {
    margin-top: 0px!important;
}

.mb0 {
    margin-bottom: 0px!important;
}

.m0auto {
    margin: 0 auto;
}

.ul {
    list-style-type: disc;
    margin-left: -10px;
}

.tbs2 {
    border-spacing: 2px;
}

.tbs0 {
    border-spacing: 0px;
}

.font120 {
    font-size: 120%;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cfl {
    clear: left;
}

.cfr {
    clear: right;
}

.vm, .vam {
    vertical-align: middle;
}

.vat {
    vertical-align: top;
}

.vatt {
    vertical-align: text-top;
}

.vatm {
    vertical-align: text-middle;
}

.hidden {
    display: none;
}

.d-ib {
    display: inline-block;
}

.d-b {
    display: block;
}

.pos-r {
    position: relative;
}

.pos-a {
    position: absolute;
}

.lot {
    width: 72px;
    height: 72px;
}

.rot10 {
    transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
}

.rot45{
    transform: rotate(45deg);

    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.rot90{
    transform: rotate(90deg);

    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}
.rot180{
    transform: rotate(180deg);

    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}
.rot180{
    transform: rotate(360deg);

    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
}
.tdn {
    text-decoration: none;
}

.op25 {
    opacity: .25;
    -moz-opacity: .25;
    filter: alpha(opacity=25);
}

.op40 {
    opacity: .4;
    -moz-opacity: .4;
    filter: alpha(opacity=40);
}

.op50 {
    opacity: .5;
    -moz-opacity: .5;
    filter: alpha(opacity=50);
}

.op100 {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

.ovh {
    overflow: hidden;
}

.award_a {
    animation: awarda 1s forwards linear;
    -webkit-animation: awarda 1s forwards linear;
    transform: translateZ(0);
}

@-webkit-keyframes awarda {
    from {
        transform: scaleX(0.75) scaleY(0.9);
    }

    to {
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes awarda {
    from {
        transform: scaleX(0.75) scaleY(0.9);
    }

    to {
        transform: scaleX(1) scaleY(1);
    }
}

.btl_btn_hdr {
    background: url('//img0.flibu.mobi/img/battle/btn-top.png') 0 0 repeat-x #1d1b18;
}

.pt1 {
    padding-top: 1px !important;
}

.pt3 {
    padding-top: 3px !important;
}

.pb1 {
    padding-bottom: 1px !important;
}

.pb3 {
    padding-bottom: 3px !important;
}

.pl10 {
    padding-bottom: 10px !important;
}

.bgc333 {
    background-color: #333 !important;
}

.bgc_btl_me {
    background-color: #251C10;
}

.bgc_btl_enemy {
    background-color: #202325;
}

.pad0 {
    padding: 0;
}

.pad1 {
    padding: 1px;
}

.pad3 {
    padding: 3px;
}

.pad5 {
    padding: 5px;
}

.pad10 {
    padding: 10px;
}

.top0 {
    top: 0px;
}

.left0 {
    left: 0px;
}

.right0 {
    right: 0px;
}

.row {
    display: table-row;
}

.cell {
    display: table-cell;
}

.small {
    font-size: 10px !important;
}

.big {
    font-size: 18px !important;
}

.disabled {
    pointer-events: none;
}

.ng_div {
    background: #e6e6fa;
    color: #000;
    font-family: sans-serif;
    margin: .1pt;
    opacity: 2.95;
    padding: 4px;
}

.font-stalker {
    font-family: 'stalker';
}

.notification-down {
    position: fixed;
    bottom: 90px;
    background-color: #222;
    opacity: 0.8;
    font-size: 15px;
    width: 100%;
    text-align: center;
    z-index: 13;
    max-width: 540px;
    margin: auto;
}

.notification-down a {
    color: #fff !important;
    display: block;
    margin-top: 4px;
    padding: 7px;
}
.down-money{
    display: flex; align-content: center; justify-content: space-around; flex-wrap: wrap;
    background: url(/theme/design/pda_background.png); border-radius: 2px; padding: 5px 0; margin-bottom: 1px;
    text-align: center;
}
.back{  
padding: 8px;
    font-size: 14px;
    border-radius: 0px 0px 10px 10px;
    border-bottom: 4px solid #000;
    margin: 0px;
    text-decoration: none;
    background-color: #1B1B1B;
    padding: 8px;
    border-top: 1px solid #2e2e2e;
    border-bottom: 1px solid #0a0a0a;
    display: block;
    position: relative;
    z-index: 0;
    color: #c77228;
background: url(/theme/design/pda_background.png);
}

.inTurnBlurringTextG {
    color: transparent;
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    text-align: center;
    display: inline-block;
    text-shadow: rgb(221,221,221) 0 0 0;
    animation-name: bounce_inTurnBlurringTextG;
    -o-animation-name: bounce_inTurnBlurringTextG;
    -ms-animation-name: bounce_inTurnBlurringTextG;
    -webkit-animation-name: bounce_inTurnBlurringTextG;
    -moz-animation-name: bounce_inTurnBlurringTextG;
    animation-duration: 3s;
    -o-animation-duration: 2.09s;
    -ms-animation-duration: 2.09s;
    -webkit-animation-duration: 2.09s;
    -moz-animation-duration: 2.09s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
}

#inTurnBlurringTextG_1 {
    animation-delay: 0.9s;
    -o-animation-delay: 0.9s;
    -ms-animation-delay: 0.9s;
    -webkit-animation-delay: 0.75s;
    -moz-animation-delay: 0.75s;
}

#inTurnBlurringTextG_2 {
    animation-delay: 1.2s;
    -o-animation-delay: 0.9s;
    -ms-animation-delay: 0.9s;
    -webkit-animation-delay: 0.9s;
    -moz-animation-delay: 0.9s;
}

#inTurnBlurringTextG_3 {
    animation-delay: 1.3s;
    -o-animation-delay: 1.05s;
    -ms-animation-delay: 1.05s;
    -webkit-animation-delay: 1.05s;
    -moz-animation-delay: 1.05s;
}

#inTurnBlurringTextG_4 {
    animation-delay: 1.4s;
    -o-animation-delay: 1.2s;
    -ms-animation-delay: 1.2s;
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
}

#inTurnBlurringTextG_5 {
    animation-delay: 1.45s;
    -o-animation-delay: 1.35s;
    -ms-animation-delay: 1.35s;
    -webkit-animation-delay: 1.35s;
    -moz-animation-delay: 1.35s;
}

#inTurnBlurringTextG_6 {
    animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
}

#inTurnBlurringTextG_7 {
    animation-delay: 1.64s;
    -o-animation-delay: 1.64s;
    -ms-animation-delay: 1.64s;
    -webkit-animation-delay: 1.64s;
    -moz-animation-delay: 1.64s;
}

#inTurnBlurringTextG_8 {
    animation-delay: 1.79s;
    -o-animation-delay: 1.79s;
    -ms-animation-delay: 1.79s;
    -webkit-animation-delay: 1.79s;
    -moz-animation-delay: 1.79s;
}

#inTurnBlurringTextG_9 {
    animation-delay: 1.94s;
    -o-animation-delay: 1.94s;
    -ms-animation-delay: 1.94s;
    -webkit-animation-delay: 1.94s;
    -moz-animation-delay: 1.94s;
}

#inTurnBlurringTextG_10 {
    animation-delay: 2.09s;
    -o-animation-delay: 2.09s;
    -ms-animation-delay: 2.09s;
    -webkit-animation-delay: 2.09s;
    -moz-animation-delay: 2.09s;
}

#inTurnBlurringTextG_11 {
    animation-delay: 2.24s;
    -o-animation-delay: 2.24s;
    -ms-animation-delay: 2.24s;
    -webkit-animation-delay: 2.24s;
    -moz-animation-delay: 2.24s;
}

@keyframes bounce_inTurnBlurringTextG {
    0% {
        text-shadow: rgba(221,221,221,0.97) 0 0 0;
    }

    100% {
        text-shadow: rgba(0,0,0,0.98) 0 0 19px;
    }
}

@-o-keyframes bounce_inTurnBlurringTextG {
    0% {
        text-shadow: rgba(221,221,221,0.97) 0 0 0;
    }

    100% {
        text-shadow: rgba(0,0,0,0.98) 0 0 19px;
    }
}

@-ms-keyframes bounce_inTurnBlurringTextG {
    0% {
        text-shadow: rgba(221,221,221,0.97) 0 0 0;
    }

    100% {
        text-shadow: rgba(0,0,0,0.98) 0 0 19px;
    }
}

@-webkit-keyframes bounce_inTurnBlurringTextG {
    0% {
        text-shadow: rgba(221,221,221,0.97) 0 0 0;
    }

    100% {
        text-shadow: rgba(0,0,0,0.98) 0 0 19px;
    }
}

@-moz-keyframes bounce_inTurnBlurringTextG {
    0% {
        text-shadow: rgba(221,221,221,0.97) 0 0 0;
    }

    100% {
        text-shadow: rgba(0,0,0,0.98) 0 0 19px;
    }
}

#glitch {
    text-align: center;
    color: #ddd;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #000;
    top: 0px;
}

#glitch h2 {
    margin-top: 50%;
    color: #fff;
    text-transform: uppercase;
    font-size: 28px;
    background: #000;
}

#glitch span {
    display: block;
}

#glitch span:not(.light) {
    opacity: 4;
    animation: flashText 1.6s ease-out alternate infinite;
}

#glitch span.light {
    position: relative;
    display: inline-block;
    &: before {position: absolute;
    left: 0;
    top: -10%;
    width: 100%;
    height: 120%;
    background: #000;
    filter: blur(10px);
    opacity: 0;
    animation: flash 1.6s ease-out alternate infinite;
}}
.global-background {
    background: url("/theme/bg/4.jpg");
    background-repeat: no-repeat;background-size:cover;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    position: relative;
    margin-top: 0px;
    background-size: 100% 100%;
    min-height: 99vh;
    padding-top: 50px;
}
.global-background-1{background: url(/theme/bg/1.jpg) no-repeat; background-size:cover; background-position-x: center;}
.global-background-2{background: url(/theme/bg/2.jpg) no-repeat;background-size:cover;background-position-x: center;}
.global-background-3{background: url(/theme/bg/3.jpg) no-repeat;background-size:cover;background-position-x: center;}
.global-background-4{background: url(/theme/bg/4.jpg)  no-repeat;background-size:cover;background-position-x: center;}
.global-background-5{background: url(/theme/bg/5.jpg)  no-repeat;background-size:cover;background-position-x: center;}
.global-background-6{background: url(/theme/bg/6.jpg)  no-repeat;background-size:cover;background-position-x: center;}

.global-background-title{
    position: relative;
    padding: 14px 34px;
    margin: 0 auto 22px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #f2f2f2;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    overflow: hidden;
    animation: titleFlicker 3.2s infinite;
}

/* Радиоактивный знак */
.global-background-title::before{
    content: "☢";
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    animation: radPulse 1.6s infinite;
    margin-right: 15px;
}

/* Блик + искры */
.global-background-title::after{
    content: "☢";
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    margin-left: 15px;

    animation: radPulse 1.6s infinite;
}

/* Мерцание */
@keyframes titleFlicker{
    0%, 18%, 22%, 30%, 55%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    20%, 21% {
        opacity: 0.72;
        filter: brightness(1.4);
    }
    31% {
        opacity: 0.85;
        filter: brightness(1.2);
    }
    56% {
        opacity: 0.6;
        filter: brightness(1.6);
    }
    57% {
        opacity: 1;
        filter: brightness(1);
    }
}

/* Пульсация знака */
@keyframes radPulse{
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-50%) scale(1.15);
        opacity: 1;
    }
}

/* Искры */
@keyframes sparks{
    0%   { transform: translate(0, 0); opacity: 0.35; }
    25%  { transform: translate(1px, -1px); opacity: 0.8; }
    50%  { transform: translate(-1px, 1px); opacity: 0.5; }
    75%  { transform: translate(1px, 0); opacity: 0.9; }
    100% { transform: translate(0, 0); opacity: 0.35; }
}


#gl span {
    display: block;
}

#gl span:not(.light) {
    opacity: 4;
    animation: flashText 1.6s ease-out alternate infinite;
}

#gl span.light {
    position: relative;
    display: inline-block;
    &: before {position: absolute;
    left: 0;
    top: -10%;
    width: 100%;
    height: 120%;
    background: #000;
    filter: blur(10px);
    opacity: 0;
    animation: flash 1.6s ease-out alternate infinite;
}}

@keyframes flash {
    to {
        opacity: 1;
    }
}

@keyframes flashText {
    to {
        opacity: 0.15;
    }
}

.l-time {
    font-size: 18px;
    padding: 3px;
    font-family: stalker;
    position: absolute;
    left: 48%;
    top: 10%;
    z-index: 100;
    color: white;
}

.bg1 {
    background-color: #191919!important;
}

.bg2 {
    background-color: #212629!important;
}

.bg3 {
    background-color: #182F1D!important;
    color: #fff !important;
}

.bg4 {
    background-color: #D77500!important;
    color: #fff !important;
}

.bg5 {
    background: #31333a!important;
    color: #fff !important;
}
/* Основная карточка предмета - Dark Theme */
.item-card {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
    color: #cccccc;
}

/* Заголовок */
.item-header {
    background: linear-gradient(180deg, #1a1a1a, #111111);
    padding: 16px 24px;
    border-bottom: 1px solid #2a2a2a;
}

.item-title {
    font-size: 22px;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.item-rarity {
    font-size: 13px;
    margin-left: 10px;
    font-weight: 600;
}

/* Блок с изображением */
.item-image-block {
    text-align: center;
    padding: 20px;
    background: #111111;
    border-bottom: 1px solid #2a2a2a;
}

.item-image {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    background: #1a1a1a;
    padding: 10px;
    transition: transform 0.3s ease;
    filter: brightness(0.95);
}

.item-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Описание */
.item-description {
    padding: 14px 24px;
    background: #0f0f0f;
    border-bottom: 1px solid #2a2a2a;
    line-height: 1.7;
    color: #999;
    font-size: 14px;
}

/* Блок характеристик */
.item-stats {
    padding: 10px 24px;
    border-bottom: 1px solid #1a1a1a;
}

.item-stats:last-of-type {
    border-bottom: none;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: #ddd;
    font-size: 15px;
    font-weight: 500;
}

.stat-link {
    color: #ff6b35;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px dotted #ff6b35;
}

.stat-link:hover {
    color: #ff8c5a;
}

.faction {
    color: #e6b800;
    font-weight: 600;
}

/* Уведомления */
.item-notification {
    padding: 12px 24px;
    background: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
    font-size: 13px;
    color: #aa7700;
    text-align: center;
    border-left: 3px solid #aa7700;
    margin: 0 0 0 0;
}

.item-restricted {
    color: #cc3333;
    background: rgba(204, 51, 51, 0.05);
    border-left-color: #cc3333;
}

.admin-info {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
    border-left-color: #ff4757;
    font-family: monospace;
    font-size: 12px;
}

/* Теги */
.item-tags {
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.tag {
    background: #1a1a1a;
    color: #88cc88;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #2a2a2a;
}

.tag:hover {
    background: #222;
    border-color: #88cc88;
}

/* Специальные стили для оружия */
.weapon-stats {
    background: rgba(255, 107, 53, 0.02);
}

/* Анимация для уведомлений */
.item-notification {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.forum-rating {
    font-weight: normal;
    font-size: 0;
    padding: 4px 0 5px 0;
}

.forum-rating li {
    display: inline-block;
    margin: 0 3px;
    background: #040604;
    font-size: 14px;
    box-shadow: 0 0 3px #040604;
    color: #5c735f;
    border-radius: 1px;
    padding-right: 7px;
    overflow: hidden;
    margin-bottom: 5px;
    vertical-align: top;
    min-width: 100px;
    cursor: pointer;
}

.forum-rating span {
    padding: 2px 4px;
    min-width: 16px;
    text-align: center;
    display: inline-block;
    margin-right: 4px;
    background: #19311c;
    color: #b1afaf;
    box-sizing: border-box;
    min-width: 100px;
}

.ppg {
    text-decoration: none;
    background-color: #1B1B1B;
    padding: 8px;
    border-top: 1px solid #2e2e2e;
    border-bottom: 1px solid #0a0a0a;
    display: block;
    position: relative;
    z-index: 0;
    color: #c77228;
}

.ppg2 {
    color: #009933;
    padding: 4px 4px 4px 4px;
    display: inline-block;
}

.ppg3 a,.ppg3 li,.ppg4, .list-a {
    text-decoration: none;
    background-color: #1B1B1B;
    padding: 8px;
    border-top: 1px solid #2e2e2e;
    border-bottom: 1px solid #0a0a0a;
    display: block;
    position: relative;
    z-index: 0;
    color: #c77228;
}

.select li,.select a {
    display: block;
    width: 100%;
    border: 1px solid #474B4B;
    background-color: #000;
    padding: 4px;
    margin-bottom: 2px;
    margin-top: 2px;
    border-radius: 2px;
}

.ppg3 a:hover,.ppg3 li:hover,.ppg4:hover, .back:hover {
    background-color: rgba(60,60,60,0.1);
}

.ppg2:hover {
    color: #009999;
    padding: 4px 4px 4px 4px;
    background: #000;
    display: inline-block;
}

.ppg:hover {
    background-color: #070f16;
}

.ppg_center:hover {
    text-align: center;
    text-decoration: none;
    color: #ddd;
    background: #222;
}

.theme b {
    font-size: 18px;
    padding: 2px;
    margin-top: 10px;
}


.card-product{
  
}
.card-product-item{
  background: #333;
  padding: 5px;
  width: 48%;
  display: inline-block;
  margin: 2px;
  text-align: center;
  font-size: 10px;
}
.card-product-item img{
  height: 65px;
  display: inline-block;
}
.card-product-item span{
  font-weight: 900;
  margin-top: 10px;
  display: block;
}

.card-product-text{
  background: #333;
  font-weight: 900;
  margin-top: 10px;
  display: block;
  padding: 5px;
}
    .w_res-block{
        position: relative;
        background-repeat: no-repeat;
        background-size: 100%;
    }
    .w-res-img{
        background: url(/theme/design/pda_background.png);
        border: 1px solid #222;
        border-radius: 2px;
        padding: 12px 8px;
        margin-bottom: 10px;
        text-align: center;
    }
    .w-res-img img{
        max-width: 50%;
        max-height: 200px;
    }
    .w_res-block-info{
        background: url(/theme/design/pda_background.png);
        border: 1px solid #222;
        border-radius: 2px;
        padding: 12px 8px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 6px;
        margin-bottom: 10px;
    }
    .w_res-block-title{
        background: #1e1d1d;
        margin-top:5px;
        padding: 6px;
        font-size: 14px;
      font-weight: bold;
      color: #a79b69;
      font-family: 'Strong', sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-left: 2px solid #a79b69;
    }


#sidebar {
    background: #1e1d1d;
    background: radial-gradient(circle, #040604 0%, #1e1d1d 100%);
    padding: 5px;
    font-size: 12px;
    border: 2px solid #161616;  box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    -webkit-box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    -moz-box-shadow: 0px 0px 4px 0px rgb(70, 70, 70);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0px;
    margin-right: -2700px;
    z-index: 460;
    box-sizing: border-box;
    width: 70%;
    overflow-y: auto;
}
#overlay.opened {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgb(105, 105, 105);
    opacity: 0.7;
    top: 0;
    left: 0;
    z-index: 400;
    cursor: pointer;
}
#sidebar.opened {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    margin-right: 0;
}
@media screen and (min-width: 720px) {
    #sidebar.opened {
        width: 40%;
        margin-right: 0;
    }
}

    
.view-block{
    background-color: #151311;
    padding:5px;
    color: #ededed;
    border-radius: 3px;
    display: inline-flex;
    height: 75px;
    text-align: center;
    justify-content: center;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 0 5px 0px #000000;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    background-size:50% 50%;background-repeat:no-repeat;background-position:center;
    position: relative;
    white-space: normal; 
 overflow-wrap: break-word; 

}
.view-block-name{
    position: absolute;
    bottom:5px;  
    width:100%;
}
.view-block-koll{
    position: absolute;
    top:5px;  
    right:5px;   
}
.view-block-top{
    position: absolute;
    top:5px;  
}
.category-card {
    background: var(--wiki-card);
    border: 1px solid var(--wiki-border);
    border-radius: 2px;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    color: var(--wiki-text);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.view-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}
.ivent-revard{
    overflow: auto;
    width: 100%;
    position: absolute;
    bottom: 0px;
}

/* Стилизация всей области прокрутки */  
.ivent-revard::-webkit-scrollbar {  
    width: 6px; /* Ширина вертикальной полосы прокрутки */  
    height: 6px; /* Высота горизонтальной полосы прокрутки */  
}  

/* Стилизация ползунка прокрутки */  
.ivent-revard::-webkit-scrollbar-thumb {  
    background-color: #F18F39; /* Цвет ползунка */  
}  

/* Стилизация дорожки прокрутки */  
.ivent-revard::-webkit-scrollbar-track {  
    background: #f1f1f1; /* Цвет дорожки */  
}
.ivent-revard-item{
    width:75px;display:inline:block;
}
.arrow-left {  
    width: 30%;
    display: inline-block;
    text-align: center;  
    height: 0;  
    border-top: 20px solid transparent; /* Верхний треугольник */  
    border-bottom: 20px solid transparent; /* Нижний треугольник */  
    border-right: 40px solid #000; /* Левый треугольник (цвет стрелки) */  
}  
.arrow-right { 
        margin-left: 39%; 
    width: 30%;
    display: inline-block;
    text-align: center;  
    height: 0;  
    border-top: 20px solid transparent; /* Верхний треугольник */  
    border-bottom: 20px solid transparent; /* Нижний треугольник */  
    border-left: 40px solid #000; /* Правый треугольник (цвет стрелки) */  
}  
.ivent-revard-item-title{
    padding: 4px;
    text-align: center;
    font-weight: bold;
    display: inline-block;
}
.ivent-revard-item-top{
    text-align: center;
    font-weight: bold;
    display: inline-block;
}
.ivent-revard-item-bottom{
    text-align: center;
    font-weight: bold;
    display: inline-block;
}

.ivent-revard-top{
    background: rgb(48, 48, 48, 0.3);
    border-bottom: 1px solid #222;
}
.ivent-revard-center{
    background: #e67e5a2b;
    border-bottom: 1px solid #222;
}
.ivent-revard-bottom{
    background: #9a6f2757;
}

.speed-slot{
    display: flex;
    z-index: 12;
    cursor: pointer;
    bottom: 6px;
    justify-content: center;
    width: 100%;
    position: relative;
}
.speed-slot a{
    background-color: #151311;
    padding-top:5px;
    color: #ededed;
    border-radius: 3px;
    /* display: inline-flex; */
    width: 15%;
    height: 50px;
    text-align: center;
    /* justify-content: center; */
    font-size: 14px;
    margin: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 0 5px 0px #000000;
    text-shadow: 2px 0 2px #000, 0 2px 2px #000, -2px 0 2px #000, 0 -2px 2px #000;
    background-size:75% 75%;background-repeat:no-repeat;background-position:center;

}
.speed-slot img{
    margin-top: px;
    width: 16px;
    height: 16px;       
}

.cit {
    background: #2b2b2b;
    color: #949494;
    padding: 5px;
    border-left: 2px solid #228e5d;
    margin: 5px 0 5px 0;
}

.npc-head{
        display: block;
    background: url(/theme/design/pda_background.png);
    padding: 4px;
    margin: 5px;
    margin-bottom: 1px;
    border: 1px solid #222;
}
.npc-button{
      display: block;
    background: url(/theme/design/pda_background.png);
    padding: 4px;
    margin: 5px;
    margin-bottom: 1px;
    border: 1px solid #222;
}