﻿:root {
    /*--main-color: #232323;*/
    --main-color: #FFEBCD;
    --dull-main-color: #998d7b;
    --add-color: #393939;
    --green-color: #2d9062;
    --yellow-color: #faaf08;
    --wheat-color: #FFEBCD;
    --dark-theme: linear-gradient(315deg, rgb(35, 35, 35) 16%, rgb(55, 55, 55) 80%);
    --main-theme: linear-gradient(135deg, #FFF4D1, #F3C99D, #D9A065);
    --pattern: url(/img/menu-icons/black-scratch-lines.png);
    --accent-glow: rgba(250, 175, 8, 0.7);
    --nav-highlight: rgba(255, 235, 205, 0.2);
    --nav-transition: 0.3s ease;
    --nav-border-color: #614726;
    --nav-shadow-inner: rgba(0, 0, 0, 0.4);
    --nav-shadow-outer: rgba(250, 175, 8, 0.3);
    --nav-background: rgba(35, 35, 35, 0.95);
    --medieval-gold: linear-gradient(145deg, #d4af37, #f0e68c 50%, #d4af37);
}

body {
    /*background-color: var(--wheat-color);

    background-size: 100%;
    margin: 0;*/
    background: var(--dark-theme);
    background-size: 100%;
    margin: 0;    
}

button {
    -webkit-appearance: none !important; /* Отключает стандартные стили Safari */
    appearance: none !important; /* Отключает стандартные стили для других браузеров */
}

.header-menu {
    border-style: solid;
    border-width: 1px;
    border-color: #000
}

.header-menu.main-btn {
    background-image: url(/img/menu-icons/main_img.png);
    background-size: 100%;

}

    .header-menu.map-btn {
        background-image: url(/img/menu-icons/map-icon.png);
        background-size: 100%;

    }

    .header-menu.state-btn {
        background-image: url(/img/menu-icons/country-icon.png);
        background-size: 100%;

    }

    .header-menu.settings-btn {
        background-image: url(/img/menu-icons/settings.jpg);
        background-size: 100%;

    }

    .header-menu.rating-btn {
        background-image: url(/img/menu-icons/rating.png);
        background-size: 100%;

    }

    .header-menu.wars-btn {
        background-image: url(/img/menu-icons/war.png);
        background-size: 100%;

    }

    .header-menu.shop-btn {
        background-image: url(/img/menu-icons/shop.jpg);
        background-size: 100%;

    }

    .header-menu.letters-btn {
        background-image: url(/img/menu-icons/letters-menu.jpg);
        background-size: 100%;
    }

.coins-btn {
    background-image: url(/img/interface-icons/coins.png);
    background-size: 100%;
    height: 30px;
    width: 20px
}

.nav-avatar-img {
    height: 100px;
    width: 100px;
    border: 1px solid transparent; /* Убираем стандартную черную границу */
    border-radius: 7px; /* Немного более округлые углы */
    vertical-align: top;
    /* Золотистый градиент на рамке */
    background-image: linear-gradient(#232323, #232323), /* �������� ������ ��� */
    linear-gradient(to right, #d4af37, #f0e68c);
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 1px; /* Расстояние для рамки */
    vertical-align: top
}

.lhst_scale {
    display: inline-block;
    overflow: hidden
}

    .lhst_scale img {
        transition: .1s;
        display: block
    }

        .lhst_scale img:hover {
            transform: scale(1.1);
            
        }

    .lhst_scale div {
        transition: .1s;
        display: block
    }

        .lhst_scale div:hover {
            transform: scale(1.1)
        }

    .lhst_scale polygon {
        transition: .1s;
        display: block;
        stroke: transparent; /* Прозрачная обводка по умолчанию */
        stroke-width: 0; /* Без толщины по умолчанию */
    }

        .lhst_scale polygon:hover {
            transform: scale(0.995);
            border-style: outset;
            stroke: var(--yellow-color) !important; /* цветная граница */
            stroke-width: 2; /* Толщина границы */
            
        }

        .lhst_scale polygon:active {
            border-style: inset;
            
        }

    .lhst_scale a {
        transition: .1s;
        display: block;
        border-width: 2px;
        border-style: outset;
        background-clip: padding-box;
    }

        .lhst_scale a:hover {
            transform: scale(1.05);
            border-color: var(--main-color);
            box-shadow: 0 0 5px rgba(255, 223, 150, 0.8), 0 0 10px rgba(255, 200, 100, 0.5);
            border-style: outset
        }

        .lhst_scale a:active {
            border-style: inset;
            transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
        }

    .lhst_scale button {
        transition: .1s;
        display: inline-flex;
        border-width: 0px;
        border-style: outset
    }

        .lhst_scale button:hover {
            transform: scale(1.05);
            border-color: var(--main-color);
            border-style: outset;
            box-shadow: 0 0 5px rgba(255, 223, 150, 0.8), 0 0 10px rgba(255, 200, 100, 0.5);
            filter: brightness(1.3)
        }

        .lhst_scale button:active {
            border-style: inset;
            transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
        }

.player-overview-div-inline {
    display: inline
}

.lhst_person-nav-container-inline {
    display: inline-block;
    overflow: hidden
}

.lhst_person-div-overview-data {
    margin: 0
}

.lhst_person-data-div-align {
    position: absolute;
    margin-left: 5px
}

.lhst_overview-player-name {
    color: #a52a2a;
    font-weight: 700
}

    .lhst_overview-player-name:hover {
        font-family: Algerian;
        color: var(--yellow-color)
    }

li.lhst_nav {
    float: left;
    margin: 5px;
    list-style-type: none;
}

li a.lhst_nav {
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 90px;
    height: 90px;
    color: var(--wheat-color) !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--nav-transition);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    li a.lhst_nav:hover {
        color: var(--yellow-color) !important;
        font-weight: 600;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--accent-glow);
        filter: brightness(1.2);
    }

    li a.lhst_nav:active {
        transform: translateY(2px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        filter: brightness(0.95);
    }

    li a.lhst_nav::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        z-index: 0;
        transition: height var(--nav-transition);
    }

    /* Text positioning with z-index to appear above gradient */
    li a.lhst_nav span {
        position: relative;
        z-index: 1;
        padding-bottom: 8px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        text-shadow: 1px 0 1px #000000,0 1px 1px #000000,-1px 0 1px #000000,0 0 1px #000000,0 -1px 1px #000;
    }

    li a.lhst_nav:hover::after {
        height: 50%;
    }

li menu.lhst_nav {
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 90px;
    height: 90px;
    color: var(--wheat-color) !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    border-style: none;
    transition: all var(--nav-transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    li menu.lhst_nav:hover {
        color: var(--yellow-color) !important;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--accent-glow);
    }

li button.lhst_nav {
    padding-top: 50px;
    text-align: center;
    text-decoration: none;
    width: 90px;
    height: 90px;
    color: var(--wheat-color) !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--nav-transition);
    border: none;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    li button.lhst_nav:hover {
        color: var(--yellow-color) !important;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--accent-glow);
    }

    li button.lhst_nav:active {
        transform: translateY(2px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        filter: brightness(0.95);
    }

.header-menu {
    border-style: none;
    border-width: 0;
    border-color: transparent;
    transition: all var(--nav-transition);
    position: relative;
}

li a.lhst_nav.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: var(--yellow-color);
    border-radius: 3px;
    z-index: 2;
}

.dropdown-toggle {
    background: rgba(57, 57, 57, 0.8);
    color: var(--wheat-color);
    border-radius: 8px;
    padding: 5px;
    font-size: 16px;
    cursor: pointer;
    display: none;
    width: 50px;
    height: 50px;
    border: none;
    transition: all var(--nav-transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    .dropdown-toggle:hover {
        background: rgba(45, 144, 98, 0.8);
        color: var(--yellow-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--accent-glow);
        transform: translateY(-3px);
    }

    .dropdown-toggle:active {
        transform: translateY(2px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

.dropdown-menu {
    display: none;
    position: absolute;
    background: rgba(57, 57, 57, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
    max-width: 100px;
    min-width: 7rem;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.lhst_inline {
    display: inline-block
}

.lhst_header_margin {
    margin: 15px
}

.lhst_header_avatar_scale {
    width: 230px;
    height: 120px;
    padding-top: 4px;
    padding-left: 10px
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important
}

.lhst_vertical-line {
    border-style: solid;
    border-width: 0 .5px 0 0;
    border-color: var(--add-color);
    margin: 0 0 0 -1px
}

.lhst_left-side-bar {
    background-image: var(--pattern);
    background-size: 60%;
    /*background-color: #232323;*/ /* Основной фон */
    /*background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.1) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.1) 75%);
    background-size: 40px 40px;*/ /* Размер узора */
    /*background-position: 0 0, 20px 20px, 20px 20px, 0 0;*/
    width: 229px;
    min-width: 229px;
    /*position: fixed;
    height: 100%;*/
}


.lhst_vertical-alignment-top {
    vertical-align: top
}

.column {
    display: inline-block
}

.lhst_coins-img {
    width: 17px;
    height: 17px
}

.lhst_coins-text {
    vertical-align: top;
    color: var(--wheat-color)
}

footer {
    background-color: var(--main-color);
    border-top: 1px solid
}

.lhst_footer-text {
    color: var(--wheat-color);
    margin-left: 5px
}

.lhst_privacy-btn {
    color: var(--wheat-color)
}

.lhst_main-section {
    margin-left: 229px;
}

.lhst_main-section_mainmenu {
    margin-left: 239px;
    margin-bottom: 70px
}

.lhst_building_ext_card {
    border-style: solid;
    /*border-width: 0px;*/
    border-width: 2px;
    border-color: #2b2b2b;
    background-image: var(--pattern);
    /*background-image: conic-gradient(from 235deg at 41% 47%,#232323 16%,#faaf08 33%,#faaf08 58%,#232323 70%);*/
    /*background-repeat: no-repeat;*/
    background-size: 100%;
    width: 130px;
    border-radius: 6px
}

.lhst_main_data_image {
    border-style: solid;
    border-width: 0px;
    border-color: #2b2b2b;
    height: 120px;
    /*width: 120px;*/
    display: block;
    overflow: hidden;
    border-radius: 3px;
    margin: 3px 3px 3px 3px;
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.lhst_possessions_titles {
    margin: 3px;
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color)
}

.lhst_card_properties {
    margin: 2px;
    color: var(--wheat-color);
}

.lhst_building_card_left_part {
    width: 96px;
    justify-items: left;
}

.lhst_unit_card_left_part {
    justify-items: left;
}

.lhst_btn_building_lvlup {
    margin-bottom: 3px;
    padding: 0;
    width: 24px;
    height: 24px;
    background: radial-gradient(var(--add-color),black);
    color: var(--wheat-color);
    border-radius: 3px;
    font-weight: 700;
    font-size: revert;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-color: #666060;
}

.lhst_btn_building_lvlup:hover {
    background: radial-gradient(var(--green-color),black);
    color: var(--yellow-color);
    border-style: outset
}

.lhst_btn_building_lvlup:active {
    border-style: inset;
    transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
}

.lhst_btn_unit_recruit {
    background: radial-gradient(var(--add-color),black);
    color: var(--wheat-color);
    border-radius: 3px;
    overflow: hidden;
    width: 58px;
    height: 26.2px;
    font-size: revert;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-color: #666060;
}

    .lhst_btn_unit_recruit:hover {
        background: radial-gradient(var(--green-color) 0%,black);
        color: var(--yellow-color);
        border-style: outset
    }

    .lhst_btn_unit_recruit:active {
        border-style: inset;
        transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
    }

.lhst_btn_logout {
    background: radial-gradient(var(--add-color),black);
    color: var(--wheat-color);
    border-radius: 3px;
    width: 58px;
    height: 26.2px;
    font-size: revert;
        font-family: 'Sitka Display','Arial',Arial,sans-serif;

}

    .lhst_btn_logout:hover {
        background: radial-gradient(var(--green-color),black);
        color: var(--yellow-color);
        border-style: outset
    }

    .lhst_btn_logout:active {
        border-style: inset;
        transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
    }

.lhst_btn_group_selected_land {
    vertical-align: bottom;
    text-align: center;
    border: var(--wheat-color);
    border-style: outset;
    border-block-width: 3px;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 5px
}

.lhst_info_region_group_selected_land {
    vertical-align: bottom;
    text-align: left;
    border: var(--wheat-color);
    border-style: outset;
    border-block-width: 3px;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: .5em
}

.lhst_range_map {
    vertical-align: bottom;
    margin-top: 413px;
    height: 100px
}

.lhst_tb_unit_recruit {
    width: 58px;
    height: 26.2px;
    margin-bottom: 3px;
    margin-left: 4px;
    background: radial-gradient(var(--add-color),black);
    color: var(--wheat-color);
    border-radius: 3px
}

.lhst_shadow_text {
    text-shadow: 1px 0 1px #000000,0 1px 1px #000000,-1px 0 1px #000000,0 0 1px #000000,0 -1px 1px #000
}

.lhst_info_region_icon_left_bar {
    height: 30px
}

.lhst_info_region_text {
    color: var(--wheat-color);
    margin-left: 5px
}

.lhst_info_region_value {
    display: inline-block;
    font-size: 20px;
    color: var(--wheat-color);
    margin-left: 10px
}

.lhst_selected_land_text_content {
    margin: 5px;
    text-align: center;
    word-wrap: break-word
}

.lhst_current_land_text_content {
    margin-bottom: 0;
    word-wrap: break-word
}

.lhst_selected_land_name {
    color: var(--wheat-color);
    height: 30px
}

.lhst_current_land_name {
    color: var(--wheat-color)
}

.lhst_map_region_icon_left_bar_col {
    padding: 0 !important;
    border-radius: inherit;
}

.lhst_tb_unit_recruit::-webkit-outer-spin-button, .lhst_tb_unit_recruit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.lhst_independent_land_description {
    width: 250px;
    overflow-wrap: break-word
}

.lhst_independent_land_description_money_amount {
    color: var(--yellow-color);
    font-weight: 700
}

.lhst_independent_land_description_money_icon {
    height: 12px
}

.lhst_independent_land_description_crowns_icon {
    height: 14px
}

.lhst_independent_land_description_divs {
    height: 302px;
    width: 282px;
    margin-top: 10px;
    padding: 15px;
    background-color: #333;
    border-radius: 7px;
    border-width: 2px;
    border-color: var(--wheat-color);
    color: var(--wheat-color)
}

.lhst_independent_land_description_image {
    border-radius: 7px;
    border-width: 2px;
    border-color: var(--wheat-color);
    margin-top: 10px
}

.lhst_independent_land_description_h2 {
    margin-bottom: 7px
}

.lhst_independent_land_description_divs_align {
    vertical-align: top
}

.lhst_found_country_label {
    margin-bottom: 0;
    font-size: 12px
}

.lhst_btn_found_state {
    background: radial-gradient(#f7f7c7,#6e6f61);
    color: #333;
    border-radius: 7px;
    border-width: medium;
    border-color: var(--wheat-color);
    width: 220px;
    height: 50px;
    font-size: revert;
    font-weight: 700;
    overflow-wrap: break-word
}

.lhst_mt_35 {
    margin-top: 35px
}

.lhst_color_picker {
    border-color: var(--wheat-color);
    color: var(--wheat-color)
}

lhst_marquee {
    display: inline-block;
    vertical-align: bottom
}

.lhst_marquee img {
    display: inline-block;
    height: 50px
}

.lhst_test {
    height: 25px;
    width: 150px;
    display: inline-block
}

.lhst_ml-65 {
    margin-left: 6.5rem !important
}

.lhst_ratingName_width {
    width: 100px
}

.lhst_cursor_pointer {
    cursor: pointer
}

.lhst_leftSideBar_country_name {
    font-family: 'Sitka Display','Arial',Arial,sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px
}

.lhst_leftSideBar_land_name {
    font-family: 'Sitka Display','Arial',Arial,sans-serif;
    font-size: 14px;
    font-weight: 200;
    margin-top: 5px
}

.lhst_clr-wheat {
    color: var(--wheat-color)
}

.lhst_clr-brown {
    color: #FF033E
}

.lhst_clr-money {
    color: var(--yellow-color)
}

.lhst_line {
    height: 1px;
    width: auto;
    margin-left: .5rem;
    margin-right: .5rem;
    background-color: var(--wheat-color)
}

.lhst_production_card {
    width: 350px;
    border-style: solid;
    border-width: 2px;
    border-color: #2b2b2b;
    background-image: var(--pattern);
    background-size: 60%;
    border-radius: 6px;
    color: var(--wheat-color);
    padding: 1rem;
}

.lhst_font_size-smaller {
    font-size: smaller
}

.lhst_progressbar_div {
    width: 100px;
    color: red
}

.lhst_progressbar {
    border-radius: 5px;
    width: 150px;
}

    .lhst_progressbar::-webkit-progress-bar {
        background-color: var(--wheat-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.25) inset;
        border-radius: 5px
    }

    .lhst_progressbar::-webkit-progress-value {
        background-image: -webkit-linear-gradient(-45deg,transparent 33%,rgba(0,0,0,.1) 33%,rgba(0,0,0,.1) 66%,transparent 66%),-webkit-linear-gradient(top,rgba(255,255,255,.25),rgba(0,0,0,.25)),-webkit-linear-gradient(left,var(--yellow-color),var(--main-color));
        border-radius: 5px
    }

@keyframes flash {
    0% {
        background-color: #4caf50;
    }

    50% {
        background-color: #fff700;
    }

    100% {
        background-color: #4caf50;
    }
}

/* Класс для вспышки */
.flash {
    animation: flash 0.5s ease-in-out;
}

.lhst_unitRecruit_width {
    width: 126px
}

.lhst_default_button {
    background: radial-gradient(var(--add-color), black);
    transition: .3s;
    color: #f4ebdb;
    border-radius: 5px;
    font-family: 'Sitka Display', 'Arial', Arial, sans-serif;
    line-height: 1.2;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-color: #666060;
}

.lhst_default_button:hover {
    background: radial-gradient(var(--green-color) 0%,black);
    color: var(--yellow-color);
    border-style: outset
}

.lhst_default_button:active {
    border-style: inset;
    transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
}

[data-title]:hover:after {
    visibility: visible;
    transition: all .5s ease
}

[data-title]:after {
    content: attr(data-title);
    visibility: hidden;
    background-color: rgba(0,0,0,.9);
    color: #f4ebdb;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    font-family: 'Comfortaa',cursive;
    text-align: justify;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,.9) transparent transparent
}

[data-title] {
    position: relative;
    display: inline-flex;
    border-bottom: 1px var(--main-color);
    font-weight: 100;
    margin: -2px 0 0 2px;

    text-align: justify;
    color: var(--wheat-color);
    font-family: 'Sitka Display','Arial',Arial,sans-serif;
}

.lhst_tooltip {
    position: relative;
    display: inline-flex;
    border-bottom: 1px var(--main-color);
    font-weight: 100;
    margin: -2px 0 0 2px;
    box-shadow: 0 0 3px rgba(56,54,54,0.86);
    text-align: justify;
    color: #f4ebdb;
    font-family: 'Sitka Display','Arial',Arial,sans-serif;
}

    .lhst_tooltip .lhst_tooltiptext {
        visibility: hidden;
        width: 220px;
        background-color: rgba(0,0,0,.9);
        color: #f4ebdb;
        text-align: center;
        border-radius: 6px;
        padding: 10px 20px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -110px;
        font-family: 'Comfortaa',cursive;
        text-align: justify
    }

        .lhst_tooltip .lhst_tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: rgba(0,0,0,.9) transparent transparent
        }

    .lhst_tooltip:hover .lhst_tooltiptext {
        visibility: visible;
        transition: all .5s ease
    }

.lhst_tooltip_production {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    border-bottom: 1px var(--main-color);
    font-weight: 100;
    margin: -2px 0 0 2px;

    text-align: justify;
    color: var(--wheat-color);
        font-family: 'Sitka Display','Arial',Arial,sans-serif;
}

    .lhst_tooltip_production .lhst_tooltiptext_production {
        visibility: hidden;
        width: 220px;
        background-color: rgba(0,0,0,.9);
        color: #f4ebdb;
        text-align: center;
        border-radius: 6px;
        padding: 10px 20px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -110px;
        font-family: 'Comfortaa',cursive;
        text-align: justify
    }

        .lhst_tooltip_production .lhst_tooltiptext_production::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: rgba(0,0,0,.9) transparent transparent
        }

    .lhst_tooltip_production:hover .lhst_tooltiptext_production {
        visibility: visible;
        transition: all .5s ease
    }

.lhst_cursor_help {
    cursor: help
}

.lhst_cursor_not_allowed {
    cursor: not-allowed
}

.lhst_cursor_cross {
    cursor: crosshair
}

.lhst_cursor_wait {
    cursor: wait
}

.lhst_cursor_progress {
    cursor: progress
}

.lhst_cursor_text {
    cursor: text;
}

.lhst_cursor_move {
    cursor: move
}

.lhst_cursor_copy {
    cursor: copy
}

.lhst_brightness {
    filter: brightness(1.3)
}

.lhst_checkbox {
    background-color: #ffffff2b;
    border-radius: 100px;
    padding: 1px;
    margin: 5px 0px 0px 5px;
    cursor: pointer;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    align-items: center;
    position: relative;
    display: block;
    width: 51px;
    height: 29px;
    box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, rgba(0, 0, 0, 0.21) 0px 0px 0px 24px inset, #22cc3f 0px 0px 0px 0px inset, rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}

    .lhst_checkbox::after {
        content: "";
        display: flex;
        top: 2.3px;
        left: 2px;
        width: 26px;
        height: 26px;
        background-color: var(--wheat-color);
        border-radius: 200px;
        position: absolute;
        box-shadow: transparent 0px 0px 0px 2px, rgba(0, 0, 0, 0.3) 0px 6px 6px;
        transition: left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
        will-change: left, background-color;
    }

.switch input[type="checkbox"]:checked + .lhst_checkbox {
    box-shadow: rgba(0, 0, 0, 0.62) 0px 0px 5px inset, var(--green-color) 0px 0px 0px 2px inset, var(--green-color) 0px 0px 0px 24px inset, rgba(224, 224, 224, 0.45) 0px 1px 0px 0px;
}

    .switch input[type="checkbox"]:checked + .lhst_checkbox::after {
        left: 24px;
    }

.switch input[type="checkbox"] {
    display: none;
}

.blinking {
    animation: blinkShadow 1.5s infinite ease-in-out;
    border-style: solid;
    border-width: 2px;
    border-color: var(--main-color);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 3px rgba(255, 223, 150, 0.4), 0 0 6px rgba(255, 200, 100, 0.3); /* Начальная тень */
}

@keyframes blinkShadow {
    0% {
        box-shadow: 0 0 3px rgba(255, 223, 150, 0.4), 0 0 6px rgba(255, 200, 100, 0.3);
    }

    50% {
        box-shadow: 0 0 8px rgba(255, 223, 150, 0.8), 0 0 12px rgba(255, 200, 100, 0.6); /* Легкое усиление */
    }

    100% {
        box-shadow: 0 0 3px rgba(255, 223, 150, 0.4), 0 0 6px rgba(255, 200, 100, 0.3);
    }
}



#passwordStrength {
    width: 100%;
    background-color: #e0e0e0;
}

#strengthBar {
    height: 10px;
    width: 0%;
}

.lhst_margin_logout {
    position: absolute;
    top: 10px;
    right: 20px;
    justify-items: center;
}


.dropdown {
    position: relative;
    display: none;
}

.dropdown-toggle {
    background: radial-gradient(var(--add-color),black);
    color: var(--wheat-color);
    border-radius: 3px;
    padding: 5px 5px;
    font-size: 16px;
    cursor: pointer;
    display: none;
    width: 50px;
    height: 50px;
    border-color: #666060;
}

.dropdown-toggle:hover {
    background: radial-gradient(var(--green-color) 0%,black);
    color: var(--yellow-color);
    border-style: outset
}

.dropdown-toggle:active {
    border-style: inset;
    transform: scale(0.95); /* Небольшое уменьшение размера при нажатии */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень, создающая ощущение вдавливания */
}

.dropdown-menu {
    display: none; /* скрыто по умолчанию */
    position: absolute;
    background: radial-gradient(var(--add-color),black);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8); /* Эффект свечения */
    z-index: 1;
    max-width: 100px;
    min-width: 7rem;
   justify-items: center;
}

#contactInfo{
    display:flex;
}

.mobile_display_country {
    display: inline-flex;
}

.lhst_panel_background {
    background-image: var(--pattern);
    background-size: 50%;
}

.lhst_geo_object {
    color: var(--wheat-color);
}

.lhst_geo_object:hover {
    color: var(--yellow-color);
}

.lhst_profile_object {
    color: var(--wheat-color);
}

.lhst_profile_object:hover {
    color: var(--yellow-color);
}

.lhst_left_side_bar_online_players_content {
    margin: 0em .5em .5em .5em !important;
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(#fff2, transparent);
    border: 1px solid #333;
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    max-height: 250px;
}


    /*.dropdown-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-menu li {
    }

        .dropdown-menu li a {
            color: black;
            text-decoration: none;
        }

        .dropdown-menu li:hover {
            background: radial-gradient(var(--green-color) 0%,var(--main-color) 90%);
            color: var(--yellow-color);
            border-style: outset
        }*/
.lhst_main_leftbar_online {
    text-align: left;
    max-height: 250px;
    background-size: 50%;
    color: var(--wheat-color) #4c473d;
    height: 200px;
}

svg {
    touch-action: none;
}

.lhst_iphone_border {
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-color: #666060;
}

.checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

    .checkbox:hover .checkbox-check {
        background: var(--add-color);
    }

.checkbox-input {
    width: 1px;
    height: 1px;
    opacity: 0;
}

    .checkbox-input:checked + .checkbox-check {
        background: var(--wheat-color);
        stroke-dashoffset: 0;
    }

.checkbox-check {
    border: 0.2rem solid var(--wheat-color);
    stroke: var(--add-color);
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    stroke-linecap: round;
    stroke-width: 0.2rem;
    border-radius: 0.2rem;
    fill: none;
    transition: background 0.1s, stroke-dashoffset 0.1s;
}

/* Add position relative to the mailbox link container */
li a.lhst_nav.letters-btn {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.lhst_mailbox_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    border-radius: 20%;
    background-color: var(--yellow-color);
    color: white;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

/* Style for the mailbox link with badge */
.letters-btn span.lhst_mailbox_badge {
    padding: 0 0.5em;
}

.lhst_text {
    font-family: 'Sitka Display', 'Arial', Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.lhst_geo_name_width {
    width: 180px;
}

.lhst_new_line {
    clear: both;
}