//*
//Author by Axnov(Yakhnov Anatoliy), All rights reserved.
*//
html {
    min-height: 100%;
    min-height: 100dvh;
    background: #202325;
}
body {
    margin: 0 auto;
    min-width: 240px;
    max-width: 600px;
    min-height: 100vh;
    min-height: 100dvh;
    font-size: 14px;
    font-family: arial, verdana, tahoma, sans-serif;
    font-style: normal;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000000;
    overflow-y: auto;
    background: #202325;
    background-image: none;
}
@media (min-width: 600px) {
    body {
        background: url(/public/img/back/bg.jpg) no-repeat fixed 50% #202325;
        background-size: 1920px 1080px;
    }
}
/* Экран не больше 1366×768 — подставляем размер фона под эту сетку */
@media (min-width: 600px) and (max-width: 1366px) and (max-height: 768px) {
    body {
        background-size: 1366px 768px;
        background: url(/public/img/back/bgmini.jpg) no-repeat fixed 50% #202325;
    }
}
.centerScreen{
    Z-index: 9999;
    position: fixed;
    background-color: rgba(0, 0, 0, .6);
    height: 100vh;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    overflow-y: auto;
}
.messageMenu{
    display: flex;
    margin: auto;
    
}
.messagePositionExit{
    position: absolute;
    top: -15px;
    right: -15px;
}
.messageBack{
    color: #d3d3d3;
    border: solid 1px #65738b;
    border-radius: 10px;
    background: linear-gradient(to right, #40545f, #517489, #40545f);
}
.fontSegoe{
    font-family: Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.logoLogin{
    background: url(/public/boby/cloud.png) 0 -205px / 200% repeat-x, url(/public/img/main/logo.png) 0 0 / 100% no-repeat, url(/public/boby/1.png) 0 0 / 100% repeat;
}
.start{
    background: url(/public/img/main/aute.png) 0 59% / 100% no-repeat;
    padding: 31px;
    font-size: 32px;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 3px 1px rgba(0, 0, 0, .25));
}
.castleMap{
    background-image: url(/public/img/castle/castle.jpg);
    padding-bottom: 146.53%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.castlePosition0img{
    background-image: url(/public/img/build/0.png);
}
.castlePosition1img{
    background-image: url(/public/img/build/1.png);
}
.castlePosition2img{
    background-image: url(/public/img/build/2.png);
}

.castlePosition3img{
    background-image: url(/public/img/build/3.png);
}
.castlePosition4img{
    background-image: url(/public/img/build/4.png);
}
.castlePosition5img{
    background-image: url(/public/img/build/5.png);
}
.castlePosition6img{
    background-image: url(/public/img/build/6.png);
}
.castlePosition7img{
    background-image: url(/public/img/build/7.png);
}
.castlePosition8img{
    background-image: url(/public/img/build/8.png);
}
.castlePosition9img{
    background-image: url(/public/img/build/9.png);
}
.castlePosition10img{
    background-image: url(/public/img/build/10.png);
}
.castlePosition11img{
    background-image: url(/public/img/build/11.png);
}
.castlePosition12img{
    background-image: url(/public/img/build/12.png);
}
.castlePosition13img{
    background-image: url(/public/img/build/13.png);
}
.castlePosition14img{
    background-image: url(/public/img/build/14.png);
}
.castlePosition15img{
    background-image: url(/public/img/build/15.png);
}
.castlePosition16img{
    background-image: url(/public/img/build/16.png);
}
.castlePosition17img{
    background-image: url(/public/img/build/17.png);
}
.castlePosition18img{
    background-image: url(/public/img/build/18.png);
}
.castlePosition19img{
    background-image: url(/public/img/build/19.png);
}
.castlePosition20img{
    background-image: url(/public/img/build/20.png);
}
.castlePosition21img{
    background-image: url(/public/img/build/21.png);
}
.castlePosition22img{
    background-image: url(/public/img/build/22.png);
}
.castlePosition23img{
    background-image: url(/public/img/build/23.png);
}
.castlePosition24img{
    background-image: url(/public/img/build/24.png);
}
.castlePosition25img{
    background-image: url(/public/img/build/25.png);
}
.castlePosition26img{
    background-image: url(/public/img/build/26.png);
}
.castlePositionDevImg{
    background-image: url(/public/img/build/dev.png);
}
.castlePosition0{
    left: 23%;
    top: 30%;
}

.castlePosition1{
    left: 72%;
    top: 31%;
}
.castlePosition2{
    left: 14%;
    top: 36%;
}
.castlePosition3{
    left: 32%;
    top: 36%;
}
.castlePosition4{
    left: 56%;
    top: 36%;
}
.castlePosition5{
    left: 55%;
    top: 47%;
}
.castlePosition6{
    left: 65%;
    top: 41%;
}
.castlePosition7{
    left: 14%;
    top: 44%;
}
.castlePosition8{
    left: 32%;
    top: 44%;
}
.castlePosition9{
    left: 80%;
    top: 37%;
}
.castlePosition10{
    left: 80%;
    top: 46%;
}
.castlePosition11{
    left: 14%;
    top: 53%;
}
.castlePosition12{
    left: 27%;
    top: 53%;
}
.castlePosition13{
    left: 55%;
    top: 57%;
}
.castlePosition14{
    left: 83%;
    top: 54%;
}
.castlePosition15{
    left: 13%;
    top: 61%;
}
.castlePosition16{
    left: 33%;
    top: 60%;
}
.castlePosition17{
    left: 55%;
    top: 66%;
}
.castlePosition18{
    left: 70%;
    top: 58%;
}
.castlePosition19{
    left: 12%;
    top: 70%;
}
.castlePosition20{
    left: 25%;
    top: 66%;
}
.castlePosition21{
    left: 20%;
    top: 79%;
}
.castlePosition22{
    left: 55%;
    top: 75%;
}
.castlePosition23{
    left: 69%;
    top: 69%;
}
.castlePosition24{
    left: 82%;
    top: 66%;
}
.castlePosition25{
    left: 70%;
    top: 77%;
}
.castlePosition26{
    left: 33%;
    top: 74%;
}
.castlePositionInner{
    padding-bottom: 100%;
    width: 100%;
}
.castlePositionUrl{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}
.pisitionLevel{

    display: block;
    position: absolute;
    top: 2%;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    left: -3px;
    /* width: 30px; */
    /* height: 30px; */
    padding: 0 5%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background: #4b4545;
    border-radius: 13px;
    border: solid 1px #b3b3b3;
}
.positionName{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    z-index: 5;
    left: 0%;
    width: 100%;
    bottom: -20%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.castleButtom{
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 11%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    bottom: 0%;
}
.castleMenu {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    top: 0%;
    z-index: 9999;
    background: #0000008a;
}
.castleMenuPanel {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    top: 0%;
    z-index: 9999;
    background: url(/public/img/castle/panel.png?v=1) 0 50% / 100% no-repeat;
}
.castleMenuPanelColor{
    color: #000000;
    font-size: 16px;
    text-shadow: 1px 1px 2px #ffffff;
    font-weight: 700;
}
.castleMenuPanelUrls {
    position: absolute;
    display: inline-block;
    width: 90%;
    height: 50%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    top: 23%;
    left: 7%;
    z-index: 9999;
    overflow: auto;
    scrollbar-color: #452113 black;
}
.castleMenuPanelExit {
    position: absolute;
    display: inline-block;
    width: 12%;
    height: 12%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    top: 16%;
    right: 15%;
    z-index: 9999;
    background: url(/public/img/castle/exit.png?v=1) 0 50% / 100% no-repeat;
}
/* Панель ресурсов — под панелью сообщений */
.castleTopBar {
    position: relative;
    top: 6%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    background: #16242f;
}


/* Список элементов под панелями (слева) */
.castleQuickList {
    position: absolute;
    top: 1%;
    left: 1%;
    display: flex;
    flex-direction: column;
    gap: 0.9%;
    z-index: 12;
    pointer-events: auto;
    width: 15%;
}
.castleQuickListRight {
    left: auto;
    right: 1%;
}
.castleQuickItem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.6% 5% 4%;
    min-height: 7.2%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
}
.castleQuickItem::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    pointer-events: none;
}
.castleQuickItem::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: transparent;
    pointer-events: none;
}
.castleQuickItem-icon {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 64%;
    height: 0;
    padding-bottom: 68%;
    margin: 0;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.22));
}
.castleQuickItem-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 1.2%;
}
.castleQuickItem-sub {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.castleQuickItem-sub { font-size: 2.1vw; }
@media (min-width: 600px) {
    .castleQuickItem-sub { font-size: 12px; }
}

@media (hover: hover) {
    .castleQuickItem:hover {
        filter: brightness(1.03);
    }
}

.castleTopPanel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6%;
    height: 100%;
    text-decoration: none;
    color: #aed6f1;
    background: transparent;
    position: relative;
    z-index: 1;
    border-radius: 6px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.castleTopPanel:active {
    background: rgba(82, 201, 255, 0.12);
    box-shadow: inset 0 0 14px rgba(82, 201, 255, 0.18);
    transform: scale(0.96);
}
.castleTopPanel-icon {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% auto;
    transition: filter 0.2s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.castleTopPanel.has-new .castleTopPanel-icon {
    filter: drop-shadow(0 0 8px rgba(82, 201, 255, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.castleTopPanel-mail .castleTopPanel-icon {
    background-image: url(/public/img/topPanel/mail.png);
}
.castleTopPanel-mail.has-new .castleTopPanel-icon {
    background-image: url(/public/img/topPanel/in.png);
}
.castleTopPanel-report .castleTopPanel-icon {
    background-image: url(/public/img/topPanel/report.png);
}
/* Панель сообщений (почта, отчёты, атаки, подкрепления) — сверху, на всю ширину */
.castleBottomBar {
    position: relative;
    top: 0%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 5px;
    box-sizing: border-box;
    gap: 1%;
    background: #1B304D;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-bottom: solid 1px #2F435E;
}
.castleBottomBar::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.castleBottomBar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    background: transparent;
    height: 50px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border: 1px solid rgba(120, 180, 255, 0.16);
}

@media (max-width: 399px) {
    .castleBottomBar-item {
        height: 40px;
    }
}

@media (max-width: 299px) {
    .castleBottomBar-item {
        height: 30px;
    }
}

.castleBottomBar-item:hover {
    border-color: rgba(120, 180, 255, 0.32);
}
.castleBottomBar-item:active {
    border-color: rgba(120, 180, 255, 0.45);
}
.castleBottomBar-item.has-new .castleBottomBar-icon {
    filter: drop-shadow(0 0 4px rgba(140, 200, 255, 0.6)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.castleBottomBar-icon {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 64%;
    height: 0;
    padding-bottom: 68%;
    margin: 0;
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.22));
}
.castleBottomBar-icon-mail { background-image: url(/public/img/topPanel/mail.png); }
.castleBottomBar-item.has-new .castleBottomBar-icon-mail { background-image: url(/public/img/topPanel/in.png); }
.castleBottomBar-icon-report { background-image: url(/public/img/topPanel/mail.png); }
.castleBottomBar-item.has-new .castleBottomBar-icon-report { background-image: url(/public/img/topPanel/report.png); }
.castleBottomBar-icon-attackme { background-image: url(/public/img/army/attackMe.png); }
.castleBottomBar-icon-attackmy { background-image: url(/public/img/army/attackMy.png); }
.castleBottomBar-icon-reinforce { background-image: url(/public/img/army/yourReinforcements.png); }
.castleBottomBar-icon-foreign { background-image: url(/public/img/army/foreignReinforcements.png); }
.castleBottomBar-num {
    position: absolute;
    top: -10%;
    left: 65%;
    right: auto;
    padding: 4%;
    min-width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5vw;
    font-weight: 800;
    color: #d4e6f1;
    background: linear-gradient(180deg, rgba(82, 201, 255, 0.18) 0%, rgba(25, 40, 55, 0.78) 45%, rgba(12, 22, 34, 0.92) 100%);
    border: 1px solid rgba(52, 152, 219, 0.40);
    border-radius: 99px;
    text-shadow: none;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 18px rgba(82, 201, 255, 0.10);
    z-index: 3;
}

@media (min-width: 600px) {
    .castleBottomBar-num {
        font-size: 14px;
        
    }
}
.castleResRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 4.2%;
    box-sizing: border-box;
    background: #16242f;
    border: none;
    background: linear-gradient(180deg, rgba(15, 25, 35, 0.92) 0%, rgba(25, 40, 55, 0.92) 100%);
    overflow: hidden;
}
.castleResItem {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 2% 7%;
    background: transparent;
    border: none;
    border-radius: 0;
    flex-shrink: 1;
    box-shadow: none;
    box-sizing: border-box;
}
.castleResItem + .castleResItem {
    border-left: 1px solid rgba(52, 152, 219, 0.18);
}
.castleResItem + .castleResItem::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    pointer-events: none;
}
.castleResItem-icon {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 30%;
    height: 100%;
    margin: 0;
    background-position: 50% 50%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.28));
}
.castleResItem-les { background: url(/public/img/res/les.png) 50% 50% / 100% auto no-repeat; }
.castleResItem-kam { background: url(/public/img/res/kam.png) 50% 50% / 100% auto no-repeat; }
.castleResItem-zel { background: url(/public/img/res/zel.png) 50% 50% / 100% auto no-repeat; }
.castleResItem-eda { background: url(/public/img/res/eda.png) 50% 50% / 100% auto no-repeat; }
.castleResItem-lud { background: url(/public/img/res/lud.png) 50% 50% / 100% auto no-repeat; }
.castleResItem-value {
    font-size: 3.2vw;
    font-weight: 700;
    color: #f7d36a;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.65),
        0 2px 4px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    letter-spacing: 0.2px;
}
@media (min-width: 600px) {
    .castleResItem-value { font-size: 20px; }
}

/* Панель ресурсов (castleTopBar): плотная вёрстка на узких экранах, в духе castleBottomBar */
@media (max-width: 399px) {
    .castleTopBar {
        padding-left: 2px;
        padding-right: 2px;
    }
    .castleResRow {
        min-height: 40px;
        height: auto;
    }
    .castleResItem {
        
    }
    .castleResItem + .castleResItem::before {
        top: 12%;
        bottom: 12%;
    }
    
    
}

@media (max-width: 299px) {
    .castleTopBar {
        padding-left: 1px;
        padding-right: 1px;
    }
    .castleResRow {
        min-height: 30px;
    }
    
    .castleResItem + .castleResItem::before {
        top: 8%;
        bottom: 8%;
    }
    
    .castleResItem-value {
        font-size: 10px;
        letter-spacing: 0;
    }
}

.castleCreateButton{
    background: url(/public/img/castle/create.png) 0 59% / 100% no-repeat;
    position: absolute;
    display: inline-block;
    width: 40%;
    height: 100%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    left: 30%;
}
.castleScrollButton{
    background: url(/public/img/castle/menu.png) 0 59% / 100% no-repeat;
    position: absolute;
    display: inline-block;
    width: 23%;
    height: 93%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    left: 2%;
    bottom: 7%;
}
.castleResButton{
    background: url(/public/img/castle/res.png) 0 59% / 100% no-repeat;
    position: absolute;
    display: inline-block;
    width: 23%;
    height: 93%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    right: 2%;
    bottom: 7%;
}
.castlePosition{
    position: absolute;
    display: inline-block;
    width: 10%;
    height: 7%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
}
.back2{
    background: #40545f;
        padding: 10px 0px 15px 0px;
        background: linear-gradient(to right, #40545f, #517489, #40545f);
}
.infoMain{
    background: linear-gradient(to right, #10192021, #16161680, #10192021);
    color: #FED36B;
    padding: 10px;
}
.gameName{
    background: linear-gradient(#f5d952, #ef830f);
    text-shadow: none;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 3px 1px rgba(0, 0, 0, .25));
}
.gameNameSize {
    
    font-size: 10vw;
} 

@media (min-width: 600px){
    .gameNameSize {
        font-size: 60px;
    }   
}
.gameNameDiscription{
    color: #f3cfb4;
}
.gameNameDiscriptionSize{
    font-size: 3vw;
}
@media (min-width: 600px) {
    .gameNameDiscriptionSize{
        font-size: 18px;
    }
}


.gameNameText{
    text-shadow: 0 0 2px #fff, 
             /* выпуклость надписи */
             -1px -1px 0 hsl(80, 70%, 35%),
             -2px -2px 1px hsl(80, 70%, 35%),
             /* переход к подложке */  
             -2px -2px 2px hsl(80, 10%, 15%), 
             /* подложка */                            
             -2px -2px 0 7px hsl(60, 80%, 95%),
             -3px -3px 0 7px hsl(60, 10%, 65%),
             -4px -4px 0 7px hsl(60, 10%, 65%),
             -5px -5px 0 7px hsl(60, 10%, 65%),
             -6px -6px 0 7px hsl(60, 10%, 65%),
             /* тень подложки */                            
             -7px -7px 4px 8px hsl(60, 10%, 40%),
             -8px -8px 6px 9px hsl(60, 10%, 55%);
}

.bigName{
    color: #FFFADD;
    font-size: 18px;
}
.rel {
    position: relative;
}
.absolute{
    position: absolute;
}
.inh{
    position: inherit
}
.onlineOval{
    background: #856A4D;
    border-radius: 15px;
    position: inherit;
    padding: 5px 15px;
    top: -6px;
    border: solid 2px #8F7962;
    box-shadow: 0px 0px 0px 1px #0a0a0a, -1px -1px 0px 0px #675a5a21, inset 0px -2px 0px 0px #100e0cb5, inset 0px 1px 0px 0px #2f2f2f, 0px 0px 0px 3px #674f4894, inset 0px 2px 12px 1px #6f3505;
}
a {
	
	color: #fff;
}
.aTDN{
    text-decoration: none;
}
form{
    margin: 0;
}
hr{
    margin: 0;
    padding: 0;
    height: 0;
    border: none;
    /*border-top: 1px solid #000000bd;
    border-bottom: 1px solid #ffffff26;*/
    border-top: 1px #000000 solid;
    border-bottom: 1px #425763 solid;
}
.hr2 {
    margin: 0;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px #000000 solid;
    border-bottom: 1px #7691a1 solid;
}
.repaColor1{
   filter: hue-rotate(70deg);
}
.repaColor2{
    filter: hue-rotate(264deg);
}
.repaColor3{
    filter: hue-rotate(170deg);
    
}
.repaColor4{
    filter: hue-rotate(220deg);
}
.repaColor5{
    filter: hue-rotate(330deg);
}

.knockAnimate {
  
  
  -webkit-animation: knock 5s infinite;
  animation: knock 5s infinite;
}
@-webkit-keyframes knock {
  0% {
    filter: saturate(2);
    filter: hue-rotate(0deg);
  }
  50% {
    filter: saturate(1);
    filter: hue-rotate(200deg);
  }
  100% {
    filter: saturate(2);
    filter: hue-rotate(0deg);
  }
}

@keyframes knock {
  0% {
    filter: saturate(2);
    filter: hue-rotate(0deg);
  }
  50% {
    filter: saturate(1);
    filter: hue-rotate(200deg);
  }
  100% {
    filter: saturate(2);
    filter: hue-rotate(0deg);
  }
}


.row {
    display: flex;
    flex-wrap: wrap;
}
.w100 {
    width: 100%;
}
.w95 {
    width: 95%;
}
.w90 {
    width: 90%;
}
.w60 {
    width: 60%;
}
.w50 {
    width: 50%;
}
.w33 {
    width: 33%;
}
.w20 {
    width: 100%;
}
.col2 {
    flex: 0 0 50%;
    max-width: 50%;
}
.col4 {
    flex: 0 0 25%;
    max-width: 25%;
}
.col7 {
    flex: 0 0 14.28%;
    max-width: 14.28%;
}

.col3-320 {
	    flex: 0 0 33%;
	    max-width: 33%;
	}
@media (min-width: 320px){
    .col5 {
        flex: 0 0 20%;
        max-width: 20%;
    }	
}
@media (min-width: 400px){
	.col3 {
	    flex: 0 0 33%;
	    max-width: 33%;
	}
}
.fontSizeCastle {
    
    font-size: 2.5vw;
} 

@media (min-width: 600px){
    .fontSizeCastle {
        font-size: 14px;
    }   
}

.fz12{
	font-size: 12px;
}
.fz16{
    font-size: 16px;
}
.fz18{
    font-size: 18px;
}
.strokeText{
    text-shadow: 
    -0   -1px 1px #000000,
     0   -1px 1px #000000,
    -0    1px 1px #000000,
     0    1px 1px #000000,
    -1px -0   1px #000000,
     1px -0   1px #000000,
    -1px  0   1px #000000,
     1px  0   1px #000000,
    -1px -1px 1px #000000,
     1px -1px 1px #000000,
    -1px  1px 1px #000000,
     1px  1px 1px #000000,
    -1px -1px 1px #000000,
     1px -1px 1px #000000,
    -1px  1px 1px #000000,
     1px  1px 1px #000000;
}

.bg {
    background: #34474f;
    border-left: solid 1px #000000;
    border-right: solid 1px #000000;
    border-radius: 2px;
    box-shadow: inset 0px 0px 2px 1px #ffffff1f, 0px 0px 12px 0px #00000059;
}
.p-5-10{
    padding: 5px 10px;
}
.p20-0-0-0{
	padding: 20px 0px 0px 0px;
}
.p3-0{
	padding: 3px 0;
}
.p4-0{
    padding: 4px 0;
}
.p3{
	padding: 3px;
}
.p7-0{
    padding: 7px 0;
}
.p1{
    padding: 1px;
}
.p2{
    padding: 2px;
}
.p10{
    padding: 10px;
}
.p10-0{
    padding: 10px 0px;
}
.p0-10{
    padding: 0px 10px;
}
.p10-20{
    padding: 10px 20px;
}
.p20{
    padding: 20px;
}
.p0-5{
    padding: 0px 5px;
}
.p5persent{
    padding: 5%;
}
.p2persent{
    padding: 2%;
}
.mTop10{
    margin-top: 10px;
}
.mTop3 {
    margin-top: 3px;
}
.mLeft10{
    margin-left: 10px;
}
.content{
    background: #1f2d3b;
    border-radius: 5px;
}
.center{
    text-align: center;
}
.right{
    text-align: right;
}
.fr {
    float: right;
}
.fl {
    float: left;
}
.inputForm {
    color: #ffffff;
    border: solid 1px #AAB4BD;
    background: #3C474D;
    padding: 9px 10px;
    border-radius: 3px;
    box-shadow: inset 0px 1px 0px 0px #2E393F, inset 0px -1px 0px 0px #4b4b4b, 0px -1px 0px 0px #505D66, 0px 1px 0px 0px #3F4E55, 0px 0px 4px 2px #22303942;
}
.inputForm2 {
    color: #290B06;
    border: none;
    background: #CAC9C2;
    border-radius: 3px;
    box-shadow: inset 0px -1px 1px 0px #ffffffbd, inset 0px 3px 1px 0px #0000008c;
    padding: 10px 5px;
    width: 97%;
}
/* Эффект при наведении и фокусе */
.inputForm2:focus,
.inputForm2:hover {
    border-color: rgba(255, 255, 255, 0.5); /* Более заметная рамка при взаимодействии */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* Тень становится глубже */
}

/* Дизайн placeholder-текста */
.inputForm2::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5); /* Светлый серый цвет placeholder */
}

.inputForm2:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.inputForm2::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.button{
	background: #83a6a9;
    border: solid 0px;
    box-shadow: inset 0px 0px 1px 2px #ffffff2e, inset 0px -1px 0px 1px #0000006b, 0px 0px 0px 1px #00000069, 0px 4px 2px 0px #0000002e, inset 0px 1px 0px 0px #ffffff59;
    border-radius: 1px;
    color: #fff;
    padding: 9px 20px;
    color: #ffffff;
    border-radius: 3px;
    text-shadow: 1px 1px 2px #000000;
}
.button2 {
    border-radius: 10px;
    padding: 9px 20px;
    background: #CAC9C2;
    border: 1px solid #0e0e0e;
    box-shadow: inset 0px 30px 16px 0px #ffffff42, inset 0 3px 2px 0px #ffffffeb, inset 0 -2px 2px 0px #0000007d;
    text-shadow: 1px 1px 2px #AB958D;
    color: #28100E;
}
.errorColor{
	color: red;
}
.red{
	color: #ff7b7b;
}
.green{
    color: #16bd16;
}
.topPanel{
	background: #112933;
    padding: 5px;
/*    margin: 4px 0px;*/
    border-top: solid 1px #8A8FA0;
    border-bottom: solid 1px #8A8FA0;
    color: #ffffff;
    box-shadow: 0px 1px 3px 0px #000000, 0px 0px 0px 0px #000000, inset 0px 13px 20px 0px #ffffff24, inset 0px -13px 20px 0px #00000085;
}
.vs{
	vertical-align: sub;
}
.vm {
    vertical-align: middle;
}
.minW100{
	min-width: 100px;
}
.minW150{
	min-width: 150px;
}
.minW180{
    min-width: 180px;
}
.minW200{
    min-width: 200px;
}
.tdlt{
	text-decoration: line-through;
}
.mapBack{
    background: url(/public/img/back/grass.png) repeat;
}
.pml0{
    padding: 0px;
    margin: 0;
    line-height: 0px;
}
.buttonBig{
    background: #945232;
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0px;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #000;
    box-shadow: inset 0px 0px 5px 1px #C96C40;
}
.tableInfoBack1{
    background: #455d67;
}
.tableInfoBack2{
    background: #2f4047;
}
.tableInfoBackGold{
    background: #D1B89B;
}
.nav_button_on {
    background-color: #7c9aa7;
    border-color: #ffffff;
    box-shadow: 1px;
    box-shadow: inset 1px 1px 0px 0px #fdfdfda1, inset -1px -1px 0px 0px #00000040;
}
.nav_button_off {
    background-color: #7c9aa7;
    box-shadow: inset -1px -1px 0px 0px #fdfdfdba, inset 1px 1px 0px 0px #0000006b;
}
.nav {
    padding: 3px;
    font-size: 17px;
    border: solid 1px #000;
    min-width: 26px;
    border-radius: 0px;
    text-shadow: 1px 1px 2px #000000;
}

.nav2 {
    padding: 8px;
    font-size: 20px;
    border: solid 1px #000;
    min-width: 26px;
    border-radius: 3px;
    text-shadow: 1px 1px 2px #000000;
}
.nav_button_on2 {
    background-color: #96B0C0;
    box-shadow: 1px;
    box-shadow: inset 1px 1px 0px 0px #fdfdfda1, inset -1px -1px 0px 0px #00000040;
}
.nav_button_off2 {
    background-color: #96b0c09e;
    box-shadow: inset -1px -1px 0px 0px #fdfdfdba, inset 1px 1px 0px 0px #0000006b;
}


.displayIB{
    display:inline-block
}
.checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 1px 0 0 0px;
}
.checkbox + label {
    position: relative;
    padding: 0px 0px 0px 40px;
    cursor: pointer;
}
.checkbox + label:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 33px;
    height: 15px;
    border-radius: 13px;
    background: #676d7f;
    box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
    transition: .2s;
}
.checkbox + label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 13px;
    border-radius: 10px;
    background: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    transition: .2s;
}
.checkbox:checked + label:before {
    background: #b4bac9;
}
.checkbox:checked + label:after {
    left: 20px;
}
.checkbox:focus + label:before {
}
.bflex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header .headerCenterBlock {
    width: calc(100% - 28%);
    text-align: center;
}
.header .headerLeftBlock, .header .headerRightBlock {
    width: 14%;
    display: inline-block;
}
.slot{
    border: solid 1px #101010;
    box-shadow: inset 0px 0px 0px 1px #BEA68B;
    border-radius: 4px;
    background: #112933;
    padding: 2px;
}
.profileSlotLeft{
    width: 25%;
}
.profileSlotCenter{
    width: calc(100% - 50%);
}
.profileSlotRight{
    width: 25%;
}
.item {
    display: block;
    height: 70px;
    position: relative;
    overflow: hidden;
    border: 1px solid #000;
    text-decoration: none;
    border-radius: 5px;
    background: #E3473B;
    box-shadow: inset 0px -2px 0px 1px #00000047, inset 0px 2px 1px 1px #ffffff52;
}
.itemImg {
    height: 30px;
    padding: 12px 0 2px 0;
    background: url(https://bratki.mobi/images/klyak.png) no-repeat 50% 4px;
}
.menuItem {
    height: auto;
    padding: 5px 0;
    text-align: left;
    background: #6C757E;
    display: block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    border: 1px solid #000;
    text-decoration: none;
    border-radius: 3px;
}
.menuItem img {
    vertical-align: middle;
    margin: 0 3px;
}
.right{
    text-align: right;
}
.left{
    text-align: left;
}
.imgParamGeneral{
    max-height: 200px;
    max-width: 200px;
}
.yellow{
    color:yellow;
}
.earth{
    width: 100%;
    background-image: url(/public/img/map/earth.png);
    height: 100%;
    background-size: cover;
}
.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
   }
.footBack{
    background: #A8A092;
}
.backHp{
    background: #a99f8d;
}
.dungeonMap {
    background-image: url(/public/img/dungeon/map.jpg);
    padding-bottom: 133%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.poisonCaveMap{
    background-image: url(/public/img/dungeon/maps/1.jpg);
    padding-bottom: 146%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.fieryAbyssMap{
    background-image: url(/public/img/dungeon/maps/2.jpg);
    padding-bottom: 146%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.steleMap{
    background-image: url(/public/img/dungeon/maps/3.jpg);
    padding-bottom: 138%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.dungeonPosition{
    position: absolute;
    display: inline-block;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    cursor: pointer;
}

.dungeon1Position:hover{
    filter: drop-shadow(-6px 0px 6px #27a450);
}
.dungeon2Position:hover{
    filter: drop-shadow(7px -5px 6px #ae5927);
}
.dungeon3Position:hover{
    filter: drop-shadow(-7px 3px 6px #558ed1);
}
.dungeonExitPosition:hover{
    filter: drop-shadow(-7px 3px 6px #6fa0c7);
}

.dungeonImg1 {
    background-image: url(/public/img/dungeon/dungeon1.png);
}

.dungeonImg2 {
    background-image: url(/public/img/dungeon/dungeon2.png);
}

.dungeonImg3 {
    background-image: url(/public/img/dungeon/dungeon3.png);
}
.dungeonImg1Click {
    background-image: url(/public/img/dungeon/clickDungeon1.png);
}
.dungeonImg2Click {
    background-image: url(/public/img/dungeon/clickDungeon2.png);
}
.dungeonImg3Click {
    background-image: url(/public/img/dungeon/clickDungeon3.png);
}
.dungeonImgExitClick {
    background-image: url(/public/img/dungeon/exit.png);
}
.dungeonLevelPanel {
    background-image: url(/public/img/dungeon/panelLevel.png);
}
.dungeonMissionsPanel {
    background-image: url(/public/img/main/aute.png);
}
.dungeon1Position {
    width: 45%;
    height: 45%;
    right: 0%;
    top: 49%;
}
.dungeon2Position {
    width: 61%;
    height: 48%;
    left: 0%;
    bottom: 0%;
}
.dungeon3Position {
    width: 26%;
    height: 30%;
    right: 0%;
    top: 16%;
}
.dungeonExitPosition {
    width: 29%;
    height: 14%;
    left: 25%;
    top: 24%;
}
.dungeonLevelPanelPosition {
    width: 40%;
    height: 15%;
    left: 2%;
    top: 2%;
}
.dungeonMissionsPosition {
    width: 34%;
    height: 5%;
    right: 2%;
    top: 5%;
}
.dungeonMissionsPositionText {
    width: 100%;
    height: 55%;
    top: 19%;
}
.dungeonImgFilter{
    filter: grayscale(1);
}


.fontSizeDungeon1Name {
    font-size: 5vw;
}
.fontSizeDungeon2Name {
    font-size: 6vw;
}
.fontSizeDungeon3Name {
    font-size: 6vw;
}
.fontSizeDungeonExitName {
    font-size: 5vw;
}
.fontSizeDungeonLevelPanel {
    font-size: 6.5vw;
}
.fontSizeDungeonOnlinePanel {
    font-size: 4.5vw;
}
.fontSizeMissionsPanel {
    font-size: 4.5vw;
}
@media (min-width: 600px) {
    .fontSizeDungeon1Name {
        font-size: 30px;
    }
    .fontSizeDungeon2Name {
        font-size: 36px;
    }
    .fontSizeDungeon3Name {
        font-size: 36px;
    }
    .fontSizeDungeonExitName {
        font-size: 30px;
    }
    .fontSizeDungeonLevelPanel {
        font-size: 40px;
    }
    .fontSizeDungeonOnlinePanel {
        font-size: 24px;
    }
    .fontSizeMissionsPanel {
        font-size: 24px;
    }
}
.dungeonPosition1Name{
    color: #78bf7c;
    position: absolute;
    z-index: 5;
    left: 29%;
    width: 68%;
    bottom: 30%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.dungeonPosition2Name{
    color: #dbca72;
    position: absolute;
    z-index: 5;
    left: 8%;
    width: 68%;
    bottom: 13%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.dungeonPosition3Name{
    color: #ae93dd;
    position: absolute;
    z-index: 5;
    left: 29%;
    width: 68%;
    bottom: 30%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}


.dungeonPosition1NameOff{
    color: #78bf7c;
    position: absolute;
    z-index: 5;
    left: 29%;
    width: 68%;
    bottom: 30%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.dungeonPosition2NameOff{
    color: #dbca72;
    position: absolute;
    z-index: 5;
    left: 8%;
    width: 68%;
    bottom: 13%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.dungeonPosition3NameOff{
    color: #ae93dd;
    position: absolute;
    z-index: 5;
    left: 0%;
    width: 100%;
    bottom: 17%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}


.dungeonPositionExitName{
    color: #3b80bf;
    position: absolute;
    z-index: 5;
    left: 14%;
    width: 68%;
    bottom: 13%;
    text-align: center;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.dungeonLevelPanelLevel{
    color: #ffffff;
    position: absolute;
    z-index: 5;
    left: 2%;
    width: 40%;
    bottom: 33%;
    text-align: center;
}
.dungeonPanelOnline{
    color: #ffffff;
    position: absolute;
    z-index: 5;
    left: 47%;
    width: 41%;
    bottom: 49%;
    text-align: center;
}
.dungeonStageImgPosition1 {
    background-image: url(/public/img/dungeon/stage/1.png);
}
.dungeonStageImgUnit1 {
    background-image: url(/public/img/dungeon/units/1.png);
}
.dungeonStageImgUnit2 {
    background-image: url(/public/img/dungeon/units/2.png);
}
.dungeonStageImgUnit3 {
    background-image: url(/public/img/dungeon/units/3.png);
}
.dungeonStageImgUnit4 {
    background-image: url(/public/img/dungeon/units/4.png);
}
.dungeonStageImgUnit5 {
    background-image: url(/public/img/dungeon/units/5.png);
}
.dungeonStageImgUnit6 {
    background-image: url(/public/img/dungeon/units/6.png);
}
.fontSizeDungeonLevelStage {
    font-size: 2.5vw;
}
@media (min-width: 600px) {
    .fontSizeDungeonLevelStage {
        font-size: 14px;
    }
}

.dungeonLevelStage {
    color: #ffffff;
    position: absolute;
    z-index: 5;
    left: 0%;
    width: 100%;
    bottom: 0%;
    text-align: center;
    
}
.dungeonLevelStageText {
    padding: 0 5%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background: #0d161b;
    border-radius: 13px;
    border: solid 1px #b3b3b3;
}
.dungeonStagepoisonCavePosition1 {
    width: 12%;
    height: 10%;
    left: 70%;
    top: 6%;
}
.dungeonStagepoisonCavePosition2 {
    width: 12%;
    height: 10%;
    left: 87%;
    top: 9%;
}
.dungeonStagepoisonCavePosition3 {
    width: 12%;
    height: 10%;
    left: 50%;
    top: 9%;
}
.dungeonStagepoisonCavePosition4 {
    width: 12%;
    height: 10%;
    left: 62%;
    top: 19%;
}
.dungeonStagepoisonCavePosition5 {
    width: 12%;
    height: 10%;
    left: 32%;
    top: 18%;
}
.dungeonStagepoisonCavePosition6 {
    width: 12%;
    height: 10%;
    left: 52%;
    top: 29%;
}
.dungeonStagepoisonCavePosition7 {
    
    width: 12%;
    height: 10%;
    left: 40%;
    top: 39%;
}
.dungeonStagepoisonCavePosition8 {
    width: 12%;
    height: 10%;
    left: 61%;
    top: 40%;
}
.dungeonStagepoisonCavePosition9 {
    width: 12%;
    height: 10%;
    left: 85%;
    top: 43%;
}
.dungeonStagepoisonCavePosition10 {
    width: 12%;
    height: 10%;
    left: 48%;
    top: 50%;
}
.dungeonStagepoisonCavePosition11 {
    width: 12%;
    height: 10%;
    left: 30%;
    top: 69%;
}
.dungeonStagepoisonCavePosition12 {
    width: 12%;
    height: 10%;
    left: 20%;
    top: 79%;
}
.dungeonStagepoisonCavePosition13 {
    width: 12%;
    height: 10%;
    left: 40%;
    top: 81%; 
}
.dungeonStagepoisonCavePosition14 {
    
    width: 12%;
    height: 10%;
    left: 61%;
    top: 83%;
}
.dungeonStagepoisonCavePosition15 {
    width: 12%;
    height: 10%;
    left: 52%;
    top: 70%;
}
.dungeonStagepoisonCavePosition16 {
    width: 11%;
    height: 7%;
    left: 64%;
    top: 66%;
}
.dungeonStagepoisonCavePosition17 {
    width: 11%;
    height: 7%;
    left: 69%;
    top: 54%;
}
.dungeonStagepoisonCavePosition18 {
    width: 11%;
    height: 7%;
    left: 88%;
    top: 55%;
}
.dungeonStagepoisonCavePosition19 {
    width: 11%;
    height: 7%;
    left: 85%;
    top: 68%;
}
.dungeonStagepoisonCavePosition20 {
    width: 17%;
    height: 12%;
    left: 14%;
    top: 51%;
}
.dungeonStage2ImgPosition1 {
    background-image: url(/public/img/dungeon/stage/2.png);
}
.dungeonStage3ImgPosition1 {
    background-image: url(/public/img/dungeon/stage/3.png);
}
.dungeonStagefieryAbyssPosition1 {
    width: 8%;
    height: 7%;
    left: 23%;
    top: 17%;
}
.dungeonStagefieryAbyssPosition2 {
    width: 8%;
    height: 7%;
    left: 33%;
    top: 21%;
}
.dungeonStagefieryAbyssPosition3 {
    width: 8%;
    height: 7%;
    left: 36%;
    top: 29%;
}
.dungeonStagefieryAbyssPosition4 {
    width: 8%;
    height: 7%;
    left: 34%;
    top: 37%;
}
.dungeonStagefieryAbyssPosition5 {
    width: 8%;
    height: 7%;
    left: 33%;
    top: 45%;
}
.dungeonStagefieryAbyssPosition6 {
    width: 8%;
    height: 7%;
    left: 6%;
    top: 54%;
}
.dungeonStagefieryAbyssPosition7 {
    width: 8%;
    height: 7%;
    left: 27%;
    top: 62%;
}
.dungeonStagefieryAbyssPosition8 {
    width: 8%;
    height: 7%;
    left: 61%;
    top: 62%;
}
.dungeonStagefieryAbyssPosition9 {
    width: 8%;
    height: 7%;
    left: 49%;
    top: 64%;
}
.dungeonStagefieryAbyssPosition10 {
    width: 8%;
    height: 7%;
    left: 36%;
    top: 69%;
}
.dungeonStagefieryAbyssPosition11 {
    width: 8%;
    height: 7%;
    left: 39%;
    top: 77%;
}
.dungeonStagefieryAbyssPosition12 {
    width: 8%;
    height: 7%;
    left: 47%;
    top: 84%;
}
.dungeonStagefieryAbyssPosition13 {
    width: 8%;
    height: 7%;
    left: 59%;
    top: 86%;
}
.dungeonStagefieryAbyssPosition14 {
    width: 8%;
    height: 7%;
    left: 72%;
    top: 86%;
}
.dungeonStagefieryAbyssPosition15 {
    width: 8%;
    height: 7%;
    left: 84%;
    top: 84%;
}
.dungeonStagefieryAbyssPosition16 {
    width: 10%;
    height: 7%;
    left: 51%;
    top: 21%;
}
.dungeonStagefieryAbyssPosition17 {
    width: 10%;
    height: 7%;
    left: 62%;
    top: 12%;
}
.dungeonStagefieryAbyssPosition18 {
    width: 10%;
    height: 7%;
    left: 1%;
    top: 39%;
}
.dungeonStagefieryAbyssPosition19 {
    width: 10%;
    height: 7%;
    left: 15%;
    top: 38%;
}
.dungeonStagefieryAbyssPosition20 {
    width: 10%;
    height: 7%;
    left: 77%;
    top: 25%;
}
.dungeonStagefieryAbyssPosition21 {
    width: 10%;
    height: 7%;
    left: 86%;
    top: 17%;
}
.dungeonStagefieryAbyssPosition22 {
    width: 10%;
    height: 7%;
    left: 51%;
    top: 44%;
}
.dungeonStagefieryAbyssPosition23 {
    width: 10%;
    height: 7%;
    left: 83%;
    top: 44%;
}
.dungeonStagefieryAbyssPosition24 {
    width: 17%;
    height: 12%;
    left: 9%;
    top: 80%;
}
.dungeonStagefieryAbyssPosition25 {
    width: 17%;
    height: 12%;
    left: 61%;
    top: 73%;
}
.dungeonStagestelePosition1 {
    width: 12%;
    height: 12%;
    left: 3%;
    top: 19%;
}
.dungeonStagestelePosition2 {
    width: 12%;
    height: 12%;
    left: 16%;
    top: 24%;
}
.dungeonStagestelePosition3 {
    width: 12%;
    height: 12%;
    left: 30%;
    top: 29%;
}
.dungeonStagestelePosition4 {
    width: 12%;
    height: 12%;
    left: 44%;
    top: 34%;
}
.dungeonStagestelePosition5 {
    width: 12%;
    height: 12%;
    left: 58%;
    top: 38%;
}
.dungeonStagestelePosition6 {
    width: 12%;
    height: 12%;
    left: 72%;
    top: 42%;
}
.dungeonStagestelePosition7 {
    width: 12%;
    height: 12%;
    left: 86%;
    top: 46%;
}
.dungeonStagestelePosition8 {
    width: 12%;
    height: 12%;
    left: 86%;
    top: 68%;
}
.dungeonStagestelePosition9 {
    width: 12%;
    height: 12%;
    left: 74%;
    top: 75%;
}
.dungeonStagestelePosition10 {
    width: 12%;
    height: 12%;
    left: 59%;
    top: 81%;
}
.dungeonStagestelePosition11 {
    width: 12%;
    height: 12%;
    left: 44%;
    top: 86%;
}
.dungeonStagestelePosition12 {
    width: 12%;
    height: 12%;
    left: 27%;
    top: 86%;
}
.dungeonStagestelePosition13 {
    width: 12%;
    height: 12%;
    left: 9%;
    top: 86%;
}
.dungeonStagestelePosition14 {
    width: 12%;
    height: 12%;
    left: 3%;
    top: 74%;
}
.dungeonStagestelePosition15 {
    width: 12%;
    height: 12%;
    left: 19%;
    top: 74%;
}
.dungeonStagestelePosition16 {
    width: 12%;
    height: 12%;
    left: 37%;
    top: 74%;
}
.dungeonStagestelePosition17 {
    width: 12%;
    height: 12%;
    left: 56%;
    top: 68%;
}
.dungeonStagestelePosition18 {
    width: 12%;
    height: 12%;
    left: 42%;
    top: 62%;
}
.dungeonStagestelePosition19 {
    width: 12%;
    height: 12%;
    left: 26%;
    top: 60%;
}
.dungeonStagestelePosition20 {
    width: 12%;
    height: 12%;
    left: 8%;
    top: 60%;
}
.dungeonStagestelePosition21 {
    width: 13%;
    height: 9%;
    left: 58%;
    top: 56%;
}
.dungeonStagestelePosition22 {
    width: 13%;
    height: 9%;
    left: 38%;
    top: 50%;
}
.dungeonStagestelePosition23 {
    width: 13%;
    height: 9%;
    left: 15%;
    top: 45%;
}
.dungeonStagestelePosition24 {
    width: 13%;
    height: 9%;
    left: 5%;
    top: 8%;
}
.dungeonStagestelePosition25 {
    width: 13%;
    height: 9%;
    left: 25%;
    top: 14%;
}
.dungeonStagestelePosition26 {
    width: 13%;
    height: 9%;
    left: 46%;
    top: 10%;
}
.dungeonStagestelePosition27 {
    width: 13%;
    height: 9%;
    left: 42%;
    top: 22%;
}
.dungeonStagestelePosition28 {
    width: 13%;
    height: 9%;
    left: 64%;
    top: 19%;
}
.dungeonStagestelePosition29 {
    width: 13%;
    height: 9%;
    left: 58%;
    top: 29%;
}
.dungeonStagestelePosition30 {
    width: 13%;
    height: 9%;
    left: 79%;
    top: 33%;
}

.dungeonStage2ImgPosition1 {
    background-image: url(/public/img/dungeon/stage/2.png);
}


.dungeonLock {
    width: 40%;
    height: 15%;
    left: 2%;
    top: 2%;
    background-image: url(/public/img/icons/lock.png);
    position: absolute;
    display: inline-block;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    cursor: pointer;
}
.brightness50{
    filter: brightness(50%);  
}
.poisonCaveBattle {
    background-image: url(/public/img/dungeon/battle/1.jpg);
    padding-bottom: 94%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.poisonCaveGeneralPosition {
    width: 30%;
    height: 31%;
    left: 14%;
    top: 45%;
}
.poisonCaveEnemyPosition {
    width: 30%;
    height: 31%;
    right: 14%;
    top: 45%;
}
.poisonCaveEnemyText {
    color: #78bf7c;
    position: absolute;
    z-index: 5;
    left: 42%;
    width: 16%;
    top: 0%;
    text-align: center;
}
.fieryAbyssBattle {
    background-image: url(/public/img/dungeon/battle/2.jpg);
    padding-bottom: 94%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.fieryAbyssGeneralPosition {
    width: 30%;
    height: 31%;
    left: 14%;
    top: 52%;
}
.fieryAbyssEnemyPosition {
    width: 30%;
    height: 31%;
    right: 14%;
    top: 52%;
}
.fieryAbyssEnemyText {
    color: #dbca72;
    position: absolute;
    z-index: 5;
    left: 42%;
    width: 16%;
    top: 0%;
    text-align: center;
}
.steleBattle {
    background-image: url(/public/img/dungeon/battle/3.jpg);
    padding-bottom: 94%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.steleGeneralPosition {
    width: 30%;
    height: 31%;
    left: 14%;
    top: 52%;
}
.steleEnemyPosition {
    width: 30%;
    height: 31%;
    right: 14%;
    top: 52%;
}
.steleEnemyText {
    color: #ae93dd;
    position: absolute;
    z-index: 5;
    left: 42%;
    width: 16%;
    top: 0%;
    text-align: center;
}
.scaleXm1{
  transform: scaleX(-1);
}
.scaleX1{
  transform: scaleX(1);
}
.battlePanelHpGeneralPosition{
    

    width: 40%;
    height: 5%;
    left: 1%;
    top: 1%;
}
.battlePanelHpGeneralPositionBack{
    border: solid 1px #a0c59a;
    background: #173f2d;
}
.battlePanelHpGeneralPositionBackGreen{
    background: -webkit-gradient(linear, left top, right top, from(#337736), color-stop(50%, #4EA02C), to(#76db1f));
    background: linear-gradient(90deg, #337736 0%, #4EA02C 50%, #76DB1F 100%);
}
.battlePanelEnergyGeneralPosition{
    width: 40%;
    height: 1%;
    left: 1%;
    top: 6%;
}
.battlePanelEnergyGeneralPositionBack{
    border: solid 1px #ffffff;
    background: #173f2d;
}
.battlePanelEnergyGeneralPositionBackGreen{
    background: #e5bd44;
}
.battlePanelHpEnemyPosition{
    width: 40%;
    height: 5%;
    right: 1%;
    top: 1%;
}
.battlePanelHpEnemyPositionBack{
    border: solid 1px #d57875;
    background: #431d1a;
}
.battlePanelHpEnemyPositionBackRed{
    background: -webkit-gradient(linear, left top, right top, from(#430604), color-stop(50%, #8e2813), to(#D94C22));
    background: linear-gradient(90deg, #430604 0%, #8E2813 50%, #D94C22 100%);
}
.battlePanelGeneralPositionParamHp{
    width: 5%;
    height: 5%;
    left: 1%;
    top: 8%;
}
.battlePanelEnemyPositionParamHp{
    width: 5%;
    height: 5%;
    right: 1%;
    top: 8%;
}
.battlePanelGeneralPositionParamHpText{
    width: 35%;
    height: 5%;
    left: 7%;
    top: 9%;
}
.battlePanelEnemyPositionParamHpText{
    width: 35%;
    height: 5%;
    right: 7%;
    top: 9%;
}
.battlePanelGeneralPositionParamAttackText{
    width: 35%;
    height: 5%;
    left: 7%;
    top: 10%;
}
.battlePanelEnemyPositionParamAttackText{
    width: 35%;
    height: 5%;
    right: 7%;
    top: 10%;
}
.battlePanelGeneralPositionParamDefText{
    width: 35%;
    height: 5%;
    left: 7%;
    top: 16%;
}
.battlePanelGeneralPositionParamBloodText{
    width: 35%;
    height: 5%;
    left: 7%;
    top: 22%;
}
.battlePanelEnemyPositionParamDefText{
    width: 35%;
    height: 5%;
    right: 7%;
    top: 16%;
}
.battlePanelImgParamHp{
    background-image: url(/public/img/param/hp.png);
}
.battlePanelGeneralPositionParamAttack{
    width: 5%;
    height: 5%;
    left: 1%;
    top: 9%;
}
.battlePanelEnemyPositionParamAttack{
    width: 5%;
    height: 5%;
    right: 1%;
    top: 9%;
}
.battlePanelImgParamAttack{
    background-image: url(/public/img/param/attack.png);
}
.battlePanelGeneralPositionParamDef{
    width: 5%;
    height: 5%;
    left: 1%;
    top: 15%;
}
.battlePanelGeneralPositionParamBlood{
    width: 5%;
    height: 5%;
    left: 1%;
    top: 21%;
}
.battlePanelEnemyPositionParamDef{
    width: 5%;
    height: 5%;
    right: 1%;
    top: 15%;
}
.battlePanelImgParamDef{
    background-image: url(/public/img/param/def.png);
}
.battlePanelImgParamBlood{
    background-image: url(/public/img/icons/blood.png);
}
.fontSizeDungeonParam {
    font-size: 2.5vw;
}
.fontSizeDungeonMHp {
    font-size: 5vw;
}
@media (min-width: 600px) {
    .fontSizeDungeonParam {
        font-size: 14px;
    }
    .fontSizeDungeonMHp {
        font-size: 30px;
    }
}



.dungeonBattleUnitName{
    width: 100%;
    height: 10%;
    left: 0%;
    top: -15%;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);

}

.battlePanelGeneralHpText {
    width: 100%;
    height: 20%;
    left: 2%;
    top: 25%;
}
.battlePanelGeneralHpAttackText {
    width: 100%;
    height: 20%;
    right: 2%;
    top: 25%;
}
.battlePanelEnemyHpText {
    width: 100%;
    height: 20%;
    left: 2%;
    top: 25%;
}
.battlePanelEnemyHpAttackText {
    width: 100%;
    height: 20%;
    right: 2%;
    top: 25%;
}
.boxName{
    color: #f6ffb1;
    padding: 5px 0px;
    top: 5px;
    position: absolute;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), color-stop(30%, rgba(0, 0, 0, 0.5)), color-stop(70%, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.1)));
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}
.boxBuy{
    padding: 5px 0px;
    bottom: 0px;
    position: absolute;
}
.cursorPointer{
    cursor: pointer;
}
.p25P{
    padding: 25%;
}
.loginBack {
    background-color: #1a1614;
    background-image: url(/public/img/login/back.jpg?v=1);
    background-repeat: no-repeat;
    background-position: center 42%;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
    min-height: 100dvh;           /* вместо 100vh */
    height: 100dvh;               /* важно для iOS */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: max(4px, env(safe-area-inset-top, 0)) max(10px, env(safe-area-inset-right, 0)) max(8px, env(safe-area-inset-bottom, 0)) max(10px, env(safe-area-inset-left, 0));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-aspect-ratio: 4/3) {
    .loginBack {
        background-position: center center;
    }
}
/* Центр экрана — свиток; полоса онлайна отдельно внизу */
.loginScrollStage {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: 0.5rem max(10px, env(safe-area-inset-left, 0)) 0.5rem max(10px, env(safe-area-inset-right, 0));
}
/*
  Свиток: как на макете — сам PNG задаёт высоту (нижний ролик не режется).
  Текст/кнопки в слое поверх; отступы в % от ШИРИНЫ свитка (так совпадает с масштабом арта).
*/
.loginScroll {
    position: relative;
    width: min(72vw, 620px);
    max-width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
}
.loginScroll-art {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: crisp-edges; /* чтобы не размывался */
}
.loginScroll-inner {
    position: absolute;
    inset: 0;
    padding: 42% 19% 17.5%;          
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 3vmin, 24px);
}
.loginScroll-intro {
    flex-shrink: 0;
    min-width: 0;
}
.loginScroll-desc {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #1e1810;
    /* vmin — не раздувается на узких/низких экранах; верх ~14px на телефонах */
    font-size: clamp(11px, 2.55vmin, 14px);
    line-height: 1.42;
    font-family: Georgia, "Times New Roman", Times, serif;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow-wrap: break-word;
    hyphens: auto;
}
.loginScroll-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.25rem, 0.9vmin, 0.6rem);
    flex-shrink: 0;
}
.loginLanding-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.25rem, 1.2vmin, 0.65rem);
}
.loginLanding-btnRow {
    width: 100%;
    text-align: center;
}
.loginLanding-btnImg {
    width: min(78%, 400px);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Тяжёлые filter/drop-shadow только у устройств с настоящим hover — на телефонах меньше подвисаний */
@media (hover: hover) and (pointer: fine) {
    .loginLanding-btnImg {
        transition: filter 0.2s ease, transform 0.2s ease;
    }
    .loginLanding-btnRow a:hover .loginLanding-btnImg,
    .loginLanding-btnRow a:focus-visible .loginLanding-btnImg,
    .loginLanding-btnRow > img.loginLanding-btnImg:hover,
    .loginLanding-btnRow > img.loginLanding-btnImg:focus-visible {
        filter: brightness(1.1) drop-shadow(0 0 12px rgba(255, 215, 120, 0.5));
        transform: scale(1.02);
    }
    .loginLanding-btnRow a:active .loginLanding-btnImg,
    .loginLanding-btnRow > img.loginLanding-btnImg:active {
        filter: brightness(1.16) drop-shadow(0 0 14px rgba(255, 230, 150, 0.55));
        transform: scale(0.99);
    }
}
@media (hover: none), (pointer: coarse) {
    .loginLanding-btnRow a:active .loginLanding-btnImg,
    .loginLanding-btnRow > img.loginLanding-btnImg:active {
        filter: none;
        opacity: 0.92;
        transform: scale(0.99);
    }
}
@media (prefers-reduced-motion: reduce) {
    .loginLanding-btnImg {
        transition: none;
    }
    .loginLanding-btnRow a:hover .loginLanding-btnImg,
    .loginLanding-btnRow a:focus-visible .loginLanding-btnImg,
    .loginLanding-btnRow > img.loginLanding-btnImg:hover,
    .loginLanding-btnRow > img.loginLanding-btnImg:focus-visible,
    .loginLanding-btnRow a:active .loginLanding-btnImg,
    .loginLanding-btnRow > img.loginLanding-btnImg:active {
        transform: none;
    }
    .loginLanding-social a .socialMediaImgSize {
        transition: none;
    }
    .loginLanding-social a:hover .socialMediaImgSize,
    .loginLanding-social a:focus-visible .socialMediaImgSize,
    .loginLanding-social a:active .socialMediaImgSize {
        transform: none;
    }
}
.loginLanding-btnRow a {
    display: inline-block;
    line-height: 0;
}
.loginLanding-social {
    line-height: 0;
}
.loginLanding-social a {
    display: inline-block;
    line-height: 0;
}
.loginLanding-social a .socialMediaImgSize {
    transition: opacity 0.18s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
}
@media (hover: hover) and (pointer: fine) {
    .loginLanding-social a .socialMediaImgSize {
        transition: filter 0.2s ease, transform 0.2s ease;
    }
    .loginLanding-social a:hover .socialMediaImgSize,
    .loginLanding-social a:focus-visible .socialMediaImgSize {
        filter: brightness(1.1) drop-shadow(0 0 12px rgba(255, 215, 120, 0.5));
        transform: scale(1.08);
    }
    .loginLanding-social a:active .socialMediaImgSize {
        filter: brightness(1.16) drop-shadow(0 0 14px rgba(255, 230, 150, 0.55));
        transform: scale(0.96);
    }
}
@media (hover: none), (pointer: coarse) {
    .loginLanding-social a:active .socialMediaImgSize {
        filter: none;
        opacity: 0.9;
        transform: scale(0.96);
    }
}
.loginLanding-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    flex-shrink: 0;
}
.loginLanding-footer--online {
    justify-content: center;
    padding: 4px 8px calc(10px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(to top, rgba(10, 8, 6, 0.45), transparent);
}
.loginLanding-footer--online .onlinePodlozhka {
    max-width: min(96vw, 620px);
}
@media (max-width: 499px) {
    .loginScroll {
        width: min(88vw, 620px);
    }
    .loginScroll-desc {
        font-size: clamp(10px, 2.5vmin, 13px);
        line-height: 1.38;
    }
}
@media (max-height: 560px) {
    .loginScroll-inner {
        gap: 0.35rem;
    }
    .loginScroll-desc {
        font-size: clamp(10px, 2.4vmin, 13px);
        line-height: 1.35;
    }
}
@media (max-width: 349px) {
    .loginScroll-desc {
        font-size: clamp(9px, 2.35vmin, 11px);
        line-height: 1.32;
    }
}
@media (max-width: 299px) {
    .loginScroll-desc {
        font-size: clamp(8px, 2.2vmin, 10px);
        line-height: 1.28;
    }
}
/* Логин: под артом до низа окна — плотная подложка (без «дыры» и без второго фона body) */
body:has(.loginBack) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
body:has(.loginBack) > .bg {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: #202325;
}
body:has(.loginBack) > .bg > .fontSegoe {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
body:has(.loginBack) > .bg > .fontSegoe > .loginBack {
    flex: 1 1 auto;
    width: 100%;
}
.startPosition {
    left: 21%;
    top: 61%;
    position: absolute;
    display: inline-block;
    width: 59%;
    height: 8%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    background-image: url(/public/img/main/aute.png);
    cursor: pointer;
}
.regNextPosition {
    left: 21%;
    top: 83%;
    position: absolute;
    display: inline-block;
    width: 59%;
    height: 8%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    background-image: url(/public/img/main/auteYellow.png);
    cursor: pointer;
}
.buttonName{
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 3px 1px rgba(0, 0, 0, .25));
}
.buttonSize{
    font-size: 7.5vw;
}
@media (min-width: 600px) {
    .buttonSize{
        font-size: 45px;
    }
}
.socialMediaPosition {
    left: 0%;
    top: 82%;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 8%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
}
.socialMediaImgSize {
    width: clamp(42px, 11vw, 52px);
    height: auto;
}

@media (min-width: 600px){
    .socialMediaImgSize {
        width: 48px;
    }   
}
.onlineBack {
    background: linear-gradient(to right, #10192000, #0a030333, #10192000);
    color: #fff1ce;
    padding: 10px;
}
/* Главная: подложка «онлайн» — компактная полоса, текст внутри рамки */
.onlinePodlozhka {
    position: relative;
    display: block;
    width: fit-content;
    max-width: min(94vw, 400px);
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
@media (min-width: 900px) {
    .onlinePodlozhka {
        max-width: min(100%, 360px);
    }
}
.onlinePodlozhka-frame {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(30px, 8vmin, 48px);
    margin: 0 auto;
    vertical-align: top;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    object-position: center;
}
.onlinePodlozhka-content {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 10%;
    bottom: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15em 0.3em;
    box-sizing: border-box;
    text-align: center;
    color: #fff1ce;
    font-size: clamp(10px, min(2.8vw, 2.6vmin), 16px);
    line-height: 1.25;
    word-break: break-word;
}
.onlinePodlozhka-text,
.onlinePodlozhka-count {
    min-width: 0;
}
.onlinePodlozhka-icon {
    flex-shrink: 0;
    height: 1.15em !important;
    width: auto;
    vertical-align: middle;
}
@media (max-width: 360px) {
    .onlinePodlozhka {
        max-width: min(98vw, 100%);
    }
    .onlinePodlozhka-frame {
        max-height: clamp(28px, 9vw, 40px);
    }
    .onlinePodlozhka-content {
        left: 5%;
        right: 5%;
        font-size: clamp(9px, 2.6vw, 13px);
    }
}
.imgStandartSize{
    height: 4.2vw;
}
@media (min-width: 600px){
    .imgStandartSize {
        height: 24px;
    }   
}
.padding20{
    padding: 20px;
}
.regBack{
    background-image: url(/public/img/login/regBack.png);
    padding-bottom: 150%;
    position: relative;
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: 100% auto;
    display: block !important;
}
.topPanelRegPosition {
    left: 0%;
    top: 0%;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 12%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
}
.topPanelRegBackPosition {
    left: 2%;
    top: 0%;
    position: absolute;
    display: inline-block;
    width: 9%;
    height: 5%;
    margin: 0px !important;
    background-size: 100% auto;
    background-position: 0% 50%;
    background-image: url(/public/img/login/back.png);
    z-index: 9999;
}
.regNameColor{
    color: #DFCA9D;;
}
.regNameSize{
    font-size: 4vw;
}

@media (min-width: 600px){
    .regNameSize {
        font-size: 24px;
    }   
}
.textShadow{
    text-shadow: 1px 1px 0px black;
}
.textInfoPosition {
    left: 0%;
    top: 57%;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 26%;
    margin: 0px !important;
    z-index: 1;
}
.regUnitPosition {
    position: absolute;
    display: inline-block;
    width: 45%;
    height: 30%;
    margin: 0px !important;
    left: 29%;
    top: 25%;
    background-size: 100% auto;
    background-position: 0% 50%;
}
.regUnitLeftPosition {
    position: absolute;
    display: inline-block;
    width: 18%;
    height: 12%;
    margin: 0px !important;
    left: 10%;
    top: 33%;
    background-size: 100% auto;
    background-position: 0% 50%;
    background-image: url(/public/img/login/left.png);
}
.regUnitRightPosition {
    position: absolute;
    display: inline-block;
    width: 18%;
    height: 12%;
    margin: 0px !important;
    right: 10%;
    top: 33%;
    background-size: 100% auto;
    background-position: 0% 50%;
    background-image: url(/public/img/login/right.png);
}
.startPositionText {
    left: 21%;
    top: 61%;
    position: absolute;
    display: inline-block;
    width: 59%;
    height: 8%;
    margin: 0px !important;

}
.lh44{
    line-height: 10.5vw;
}
.lh18{
    line-height: 6vw;
}


@media (min-width: 600px){
    .lh44 {
        line-height: unset;
    } 
    .lh18{
        line-height: unset;
    }  
}
.topPanelOrange {
    padding: 9px;
    background-image: url(/public/img/main/topPanel.png);
    background-repeat: repeat-x;
    color: #FFF6AE;
    font-size: 24px;
    background-position: 100% 0px;
    height: 30px;
    /* text-shadow: 1px 1px 1px #000000; */
    text-shadow: 1px 1px 2px #000000, -1px 1px 1px #000000, -1px -1px 0.2px #000000;
}

.topOrangeName{
    background: linear-gradient(#FFE9BA, #DDC098);
    text-shadow: none;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 3px 1px rgba(0, 0, 0, .25));
}


.fz14_25{
    font-size: 2.5vw;
}
@media (min-width: 600px){
    .fz14_25 {
        font-size: 14px;
    }   
}
.fz14_25 {
    
    font-size: 2.5vw;
} 

@media (min-width: 600px){
    .fz14_25 {
        font-size: 14px;
    }   
}
.gradientTopBack{
    background: linear-gradient(to top, #28373e, #0c0f12, #28373e);
}
.cardBack{
    padding: 10px 0px;
    text-align: center;
    background-size: 100% 100%;
    background-image: url(/public/img/main/card.png);
}
.p5{
    padding: 5px;
}
.w70{
    width: 70%
}
.bottom10px{
   bottom: 10px; 
}

.imgStandartSize20 {
    height: 3.5vw;
}
@media (min-width: 600px) {
    .imgStandartSize20 {
        height: 20px;
    }
}
.cardNameColor{
    color: #E6E9E6;
}

.font-size24_4{
    font-size: 4vw;
}

@media (min-width: 600px){
    .font-size24_4 {
        font-size: 24px;
    }   
}
.blueMiniTextColor{
    color: #88E4F7;
}
.goldMibiTextColor{
    color: #f6ee71;
}
.cardButton{
    cursor: pointer;
    background: #257585;
    padding: 10px;
    border-radius: 20px;
    color: #DDF3C3;
    box-shadow: inset 1px 1px 0px 0px #fdfdfda1, inset -1px -1px 0px 0px #00000040, inset 0px -6px 3px 0px #0000004d, inset 0px 4px 2px 0px #ffffff30, inset 0px -25px 7px 0px #00000030;
    background: linear-gradient(to right, #257585ad, #257585, #257585a8);
}
.cardButtonText{
    background: linear-gradient(#bbf2ff, #DDF3C3);
    text-shadow: none;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 3px 1px rgba(0, 0, 0, .25));
}
.windowBlueBack {
    border: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: none;
    min-width: auto;
    min-width: 15vw;
    max-width: 420px;
    background: #1E4253;
    /* box-shadow: 0px 0px 4px 1px #000000; */
    border-radius: 5px;
    border: 1px solid #000000;
}
.textShadow{
    text-shadow: 1px 1px 0px #000000, -1px -1px 0px #000000;
}
.imgSize66px_11vh {
    height: 11vw
}
@media (min-width: 600px) {
    .imgSize66px_11vh {
        height: 66px;
    }
}
.font-size4vw24px{
    font-size: 4vw;
}

@media (min-width: 600px){
    .font-size4vw24px {
        font-size: 24px;
    }   
}

.imgSize100px_17vw {
    height: 17vw
}
@media (min-width: 600px) {
    .imgSize100px_17vw {
        height: 100px;
    }
}
.imgSize55px_9vh {
    height: 9vw
}
@media (min-width: 600px) {
    .imgSize55px_9vh {
        height: 55px;
    }
}

.map{
    display: block;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    width: 100%;
    height: 100%;
    TEXT-ALIGN: center;
}
.mapHome{
    top: 2%;
    position: absolute;
    right: 0%;
    width: 15%;
    display: flex;
    overflow-y: auto;
    transform: translate(0%, 0%);
}
.mapCastleMenu{
    position: absolute;
    left: 4%;
    width: 20%;
    display: flex;
    overflow-y: auto;
    z-index: 999;
    transform: translate(0%, 0%);
    TEXT-ALIGN: center;
    bottom: 1%;
}
.mapGlass{
    position: absolute;
    left: 50%;
    width: 50%;
    display: flex;
    overflow-y: auto;
    z-index: 999;
    transform: translate(-50%, -50%);
    TEXT-ALIGN: center;
    bottom: 0%;
    cursor: pointer;
}
.mapSearchBack{
    padding: 5px;background: linear-gradient(to right, #10192000, #2b2b2b80, #10192000);
}
.mapPlassMinus{
    bottom: 4%;
    position: absolute;
    right: 0%;
    width: 25%;
    display: flex;
    overflow-y: auto;
    transform: translate(0%, 0%);
}
.panelLine {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 4px 0;
    text-decoration: none;
}
.panelInfo{
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-top: 4px;
    line-height: 1.5;
}
.panelImg {
    width: 52px;
    height: 52px;
    padding: 0 6px;
}
.pageLineColor1{
    background-color: #2f4047;
}
.pageLineColor2{
    background-color: #455d67;
}
.panelImgSize {
    width: 48px;
    height: 48px;
}
.panelInfoDescription{
    font-size: small;
    color: #afb4ba;
}
.panelInfoRight{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding-right: 6px;
    text-align: center;
}
.iconSizeMiniS {
    top: 3px;
    width: 16px;
    height: 16px;
}
.fz10{
    font-size: 10px;
}
.panelImgSizeBig {
    width: 70px;
    height: 70px;
}
.panelImgBig {
    width: 70px;
    height: 70px;
    padding: 0 6px;
}
.violetColor {
    color: #c38ed7;
}
.redColor {
    color: #f78b9b;
}
.yellowColor {
    color: #ffc107;
}

.fontSizeSmall{
    font-size: small;
}
.verticalCenter{
    height: 25px;
    
}
.verticalCenter46 {
    height: 46px;
}
.line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 4px 0;
    text-decoration: none;
}
.lineView {
    width: 52px;
    height: 52px;
    padding: 0 6px;
}
.lineView90 {
    width: 90px;
    height: 90px;
    padding: 0 6px;
}
.lineSize48 {
    width: 48px;
    height: 48px;
}
.lineSize88 {
    width: 88px;
    height: 88px;
}
.lineInfo {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-top: 4px;
    line-height: 1.5;
}
.lineInfo2 {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    line-height: 1.5;
}
.lineRightCenter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding-right: 6px;
    text-align: center;
}
.colorBrown{
    color: #2C110D
}
.colorBlack{
    color: #000000
}

.shadowBrown{
    text-shadow: 1px 1px 2px #AB958D;
}
.bold {
  font-weight: 700;
}
.backBead{
    background: #BEAD99;
    
}
.post{
    background: #CAC9C2;
    border: 1px solid #000000;
    border-radius: 3px;
    box-shadow: 0 0px 9px #00000040;
    padding: 7px;
}
.postReplica {
    background: #b8bf7e;
    border: 1px solid #000000;
    border-radius: 3px;
    box-shadow: 0 0px 9px #00000040;
    padding: 7px;
}
.postInfo{
    background: #797974;
    border-radius: 4px;
    padding: 10px;
}
.postMessage{
    padding: 6px 8px;
}
.navigationBack{
    background: #2a3a41;
}
.font-size30_5{
    font-size: 5vw;
}

@media (min-width: 600px){
    .font-size30_5 {
        font-size: 30px;
    }   
}
.fz16_27 {

    font-size: 2.7vw;
} 

@media (min-width: 600px){
    .fz16_27 {
        font-size: 16px;
    }   
}
.font-size40_6{
    font-size: 6vw;
}

@media (min-width: 600px){
    .font-size40_6 {
        font-size: 40px;
    }   
}
.border-radius28{
    border-radius: 28px;
}