#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Fantasy', sans-serif;
}

#preloader::before {
    content: "";
    width: 100px;
    height: 100px;
    background: url('https://image.eralen.cc/im/fav01.png') no-repeat center center;
    background-size: contain;
    animation: heartbeat 1.5s infinite ease-in-out; 
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    75% { transform: scale(1.1); }
}

#preloader span {
    margin-top: 20px;
    color: #ffffff;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    animation: fadeInOut 1.5s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.kletka {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: white;
    font-size: 9px;
    margin: 0;
    background: #999999;
}

.boss {
    font: bold 9px Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
    color: white;
    margin: 3px;
}

.bosse {
    font: bold 9px Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
    color: #FF99CC;
    margin: 3px;
}

.levelbot {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: red;
    font-size: 16px;
    font-weight: bold;
    margin: 3px;
}

.lbut {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
    background-color: #CCCCCC;
    background-image: url(https://image.eralen.cc/image/but.gif);
    border: 1px solid #000000;
    cursor: pointer;
}

.unique-button {
    transition: transform 0.3s ease-in-out;
}

.unique-button:hover {
    transform: scale(1.1);
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.go-yes {
    position: relative;
    left: 2px;
    top: 2px;
    width: 90px;
    height: 90px;
    padding: 2px;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    margin: 0;
    background: #009900;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.go-no {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: white;
    font-size: 9px;
    margin: 0;
    background: #990000;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.go-bots {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: white;
    font-size: 9px;
    margin: 0;
    background: #000099;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.trava {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #7FFFD4;
    font-size: 9px;
    margin: 0;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.les {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #00FFFF;
    font-size: 9px;
    margin: 0;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.location {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #FF7F50;
    font-style: normal;
    font-size: 10px;
    text-shadow: 0px 0px 4px #000;
    margin: 0;
    display: block;
    word-wrap: break-word;
    white-space: normal;
}

.loca {
    color: #f2f3f4;
    font: normal 68px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: -25px;
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}

.swords {
    position: relative;
    width: 120px;
    height: 120px;
}

.sword {
    position: absolute;
    width: 60px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: bottom;
    animation: swordSwing 1.5s infinite;
}

.sword.left {
    left: 10px;
    background-image: url('https://image.eralen.cc/im/left_kn.png');
    transform: rotate(30deg);
}

.sword.right {
    right: 10px;
    background-image: url('https://image.eralen.cc/im/right_kn.png');
    transform: rotate(-30deg);
    animation-delay: 0.75s;
}

@keyframes swordSwing {
    0%, 100% { transform: rotate(30deg); }
    50% { transform: rotate(0deg); }
}

#map-container {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-image: url('https://image.eralen.cc/im/Message_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 830px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0);
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.map-table {
    border-collapse: collapse;
    table-layout: fixed;
    margin: auto;
}

.map-cell2 {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
}

.map-cell {
    position: relative;
    width: 70px;
    height: 70px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #B0E0E6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.map-cell:hover {
    z-index: 10;
    box-shadow: 0 0 15px 5px rgba(0, 191, 255, 0.6);
    transform: scale(1.0);
    filter: brightness(1.4) saturate(1.2);
}

.active-cell {
    border: 2px solid #ff0000;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { border-color: #ff0000; }
    50% { border-color: #ffffff; }
}

.numsrsw {
    text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
    color: #f2f3f4;
    font: normal 11px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: -25px;
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}

.numsrsw_r {
    text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
    color: #f2f3f4;
    font: normal 9px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: -5px;
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}

.bot {
    text-shadow: #000 0px 0px 2px, #000 0px 0px 2px, #000 0px 0px 2px;
    color: #00FFFF;
    font: normal 9px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: -25px;
    left: 50%;
    transform: translateX(-1%) translateY(1px);
}    

.inf {
    text-shadow: #8B4513 1px 1px 4px, #8B4513 0px 0px 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #FF4500;
    font: normal 10px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: 0; 
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}
    
.grass {
    text-shadow: #8B4513 1px 1px 4px, #8B4513 0px 0px 6px;
    color: #00FF7F;
    font: normal 11px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: 0; 
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}

.less {
    text-shadow: #800000 1px 1px 2px, #8B4513 0px 0px 1px;
    color: #FF4500;
    font: normal 11px Verdana, Arial, Helvetica, Tahoma, sans-serif;
    text-align: center;
    top: 0; 
    left: 50%;
    transform: translateX(-1%) translateY(-5px);
}
    
.close {
    position: absolute;
    top: 50px;
    right: 63px;
    width: 15px;  
    height: 15px; 
    cursor: pointer;
    z-index: 2;
}

.close img {
    width: 100%;
    height: 100%;
}



.mw-region-map-frame table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.mw-region-map-frame td {
    position: relative;
    border: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.mw-region-map-frame td:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: -1px;
    bottom: -1px;
    border-right: 1px solid rgba(245, 245, 245, 0.30);
    border-bottom: 1px solid rgba(245, 245, 245, 0.30);
    pointer-events: none;
    z-index: 20;
}

.mw-region-map-frame td img,
.mw-region-map-frame .map-tile {
    border: 0 !important;
    outline: none;
    box-shadow: none !important;
    box-sizing: border-box;
}

.mw-region-map-frame img[style*="outline"] {
    outline: 2px solid #d10000 !important;
    outline-offset: -2px;
    box-shadow: 0 0 8px rgba(209, 0, 0, 0.85) !important;
    position: relative;
    z-index: 30;
}