/* ============================================
   maps.css - ??????????
   ============================================ */

/* ??????????*/
body.dragging,
body.dragging * {
    cursor: url('../img/cursor/wot_link.cur'), pointer !important;
}

/* ??????????? */
.filter-row,
.filter-row *,
.filter-options,
.filter-options *,
.filter-option,
.filter-header,
.filter-header *,
.reset-filters-btn {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* ????????? */
.hero-subtitle {
    font-size: 1rem;
    color: var(--wg-white);
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ????????*/
.maps-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* ?????? */
.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    transition: transform 0.3s ease;
}

/* ?????????????????????????? */
#statCollection {
    min-width: 4em;
    text-align: center;
}

/* ???????? */
.stat-number.pulse-effect {
    animation: statPulse 0.6s ease-in-out;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
        text-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

.stat-label {
    font-size: 0.85rem;
    color: var(--wg-white);
    letter-spacing: 1px;
}

/* ????????- ??tab-recommendation-bar???????? */
.maps-list-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.maps-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.maps-list-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wg-white);
}

.maps-list-count {
    font-size: 1rem;
    color: var(--wg-accent);
    font-weight: normal;
}

.maps-list-count span {
    font-size: 1.1rem;
    font-weight: normal;
}

/* ????????????????components.css?????? */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1f1f1f 100%);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.search-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown-content {
    padding: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: rgba(255, 107, 0, 0.1);
}

.search-result-number {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff6b00;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.search-result-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.search-highlight {
    color: #ff6b00;
    font-weight: 600;
}

.search-no-result {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.search-more {
    padding: 10px;
    text-align: center;
    color: #ff6b00;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
}

/* ?????? */
.maps-view-controls {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.maps-view-btn {
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--wg-light);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maps-view-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.maps-view-btn.active {
    background: var(--wg-accent);
    color: var(--wg-dark);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* ???? */
.maps-sort-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
}

.sort-btn {
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--wg-light);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sort-btn.active {
    background: var(--wg-accent);
    color: var(--wg-dark);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* ???? */
.view-icon-minimal {
    display: block;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18'/%3E%3Cline x1='12' y1='3' x2='12' y2='21'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18'/%3E%3Cline x1='12' y1='3' x2='12' y2='21'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.view-icon-grid {
    display: block;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3V3zm0 10h8v8H3v-8zM13 3h8v8h-8V3zm0 10h8v8h-8v-8z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.view-icon-list {
    display: block;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

/* ?????? - ????????????*/
.maps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* ????3??*/
@media (max-width: 1200px) {
    .maps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ????????*/
@media (max-width: 900px) {
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ????1??*/
@media (max-width: 600px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }
}

/* ???? - ??????????????????????*/
.maps-grid.minimal-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

@media (max-width: 1200px) {
    .maps-grid.minimal-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .maps-grid.minimal-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .maps-grid.minimal-view {
        grid-template-columns: 1fr;
    }
}

.maps-grid.minimal-view .map-card {
    background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-color: #5a5a5a;
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
}

.maps-grid.minimal-view .map-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.maps-grid.minimal-view .map-card-image {
    aspect-ratio: 1 / 1;
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
    width: 100% !important;
    height: auto !important;
}

.maps-grid.minimal-view .map-coordinates {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 20px repeat(10, 1fr);
    grid-template-rows: 20px repeat(10, 1fr);
}

.maps-grid.minimal-view .map-image-area {
    grid-column: 2 / -1;
    grid-row: 2 / -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.maps-grid.minimal-view .map-card-body {
    padding: 8px 10px !important;
    text-align: center;
    position: relative;
    height: 32px;
    box-sizing: border-box;
    display: block;
}

.maps-grid.minimal-view .map-card-body .map-status-corner {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.maps-grid.minimal-view .map-card-body .map-status-corner::before {
    content: '';
    position: absolute;
    inset: 0;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.active::before {
    background: #2e7d32;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.seasonal::before {
    background: #e65100;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.removed::before {
    background: #c62828;
}

.maps-grid.minimal-view .map-card-body .map-status-text {
    font-size: 8px;
    position: relative;
    z-index: 11;
}

.maps-grid.minimal-view .map-card-body .map-status-text::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-bottom: 2px;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.active .map-status-text::before {
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin: 2px auto 5px;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.seasonal .map-status-text::before {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 2px auto;
    box-sizing: border-box;
}

.maps-grid.minimal-view .map-card-body .map-status-corner.removed .map-status-text::before {
    width: 10px;
    height: 10px;
    margin: 2px auto;
    position: relative;
    background:
        linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}

.maps-grid.minimal-view .map-card-body .map-name-row {
    margin-bottom: 0;
    padding-left: 26px;
    line-height: 16px;
}

.maps-grid.minimal-view .map-card-body .map-name-wrapper {
    display: block;
}

.maps-grid.minimal-view .map-card-body .map-name {
    font-size: 12px;
    font-weight: 500;
    color: #c4b998;
    margin: 0;
}

.maps-grid.minimal-view .map-card-body .map-name-en,
.maps-grid.minimal-view .map-card-body .map-type-badge-inline,
.maps-grid.minimal-view .map-card-body .tags-row,
.maps-grid.minimal-view .map-card-body .map-description {
    display: none;
}

.maps-grid.minimal-view .version-slider-container,
.maps-grid.minimal-view .map-card-footer,
.maps-grid.minimal-view .map-card-middle {
    display: none;
}

/* ?????? - ?????????*/
.maps-grid.list-view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.maps-grid.list-view .map-card {
    display: grid !important;
    grid-template-columns: 323px 1fr;
    grid-template-rows: 1fr 65px 38px;
    height: 323px;
    min-height: 323px;
    max-height: 323px;
    overflow: hidden;
    border-color: #5a5a5a;
}

.maps-grid.list-view .map-card-image {
    width: 323px !important;
    height: 323px !important;
    grid-column: 1;
    grid-row: 1 / 4;
    flex-shrink: 0;
    aspect-ratio: unset;
}

.maps-grid.list-view .map-coordinates {
    width: 323px;
    height: 323px;
}

.maps-grid.list-view .map-image-area {
    width: 303px;
    height: 303px;
}

.maps-grid.list-view .map-card-middle {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.maps-grid.list-view .map-card-footer {
    grid-column: 2;
    grid-row: 3;
    flex-shrink: 0;
    overflow: hidden;
    height: 38px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid #3d3d3d;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    position: relative;
}

.maps-grid.list-view .map-card-footer .map-status-corner {
    position: absolute;
    left: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.maps-grid.list-view .map-card-footer .map-status-corner::before {
    content: '';
    position: absolute;
    inset: 0;
}

.maps-grid.list-view .map-card-footer .map-status-corner.active::before {
    background: #2e7d32;
}

.maps-grid.list-view .map-card-footer .map-status-corner.seasonal::before {
    background: #e65100;
}

.maps-grid.list-view .map-card-footer .map-status-corner.removed::before {
    background: #c62828;
}

.maps-grid.list-view .map-card-footer .map-status-text {
    font-size: 8px;
}

.maps-grid.list-view .map-card-footer .map-status-text::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-bottom: 2px;
}

.maps-grid.list-view .map-card-footer .map-status-corner.active .map-status-text::before {
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin: 2px auto 5px;
}

.maps-grid.list-view .map-card-footer .map-status-corner.seasonal .map-status-text::before {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 0 auto 2px;
    box-sizing: border-box;
}

.maps-grid.list-view .map-card-footer .map-status-corner.removed .map-status-text::before {
    width: 10px;
    height: 10px;
    margin: 0 auto 2px;
    position: relative;
    background:
        linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}

.maps-grid.list-view .map-card-footer .map-likeability {
    font-size: 13px;
    gap: 12px;
    flex: 1;
    justify-content: center;
    margin-left: 26px;
}

.maps-grid.list-view .map-card-footer .map-likeability .like-text,
.maps-grid.list-view .map-card-footer .map-likeability .dislike-text {
    font-size: 13px;
}

.maps-grid.list-view .map-card-footer .map-actions {
    padding: 0;
    gap: 3px;
    margin-left: auto;
    margin-right: -10px;
}

.maps-grid.list-view .map-card-footer .action-btn {
    font-size: 11px;
    padding: 3px 8px;
}



/* ??????????- ????*/
.maps-grid.list-view .version-slider-container {
    padding: 0 15px 2px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    grid-column: 2;
    grid-row: 2;
    flex-shrink: 0;
    overflow: hidden;
    height: 65px;
    box-sizing: border-box;
    display: block;
}

.maps-grid.list-view .version-slider-container .version-ruler {
    height: 26px;
    margin-bottom: 4px;
    margin-top: 0;
}

.maps-grid.list-view .version-slider-container .ruler-needle {
    height: 12px;
}

.maps-grid.list-view .version-slider-container .ruler-knob {
    top: 12px;
    width: 14px;
    height: 14px;
}

.maps-grid.list-view .version-slider-container .version-info-row {
    gap: 8px;
    padding-top: 4px;
}

.maps-grid.list-view .version-slider-container .current-version-name {
    font-size: 12px;
}

.maps-grid.list-view .version-slider-container .version-meta-box {
    font-size: 11px;
}

.maps-grid.list-view .version-slider-container .version-play-btn {
    width: 20px;
    height: 20px;
}

.maps-grid.list-view .map-card-body {
    flex: 1;
    padding: 12px 15px !important;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    grid-column: 2;
    grid-row: 1;
    box-sizing: border-box;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.maps-grid.list-view .map-name-row {
    margin-bottom: 8px;
    flex-shrink: 0;
}

.maps-grid.list-view .map-name {
    font-size: 18px;
}

.maps-grid.list-view .map-name-en {
    font-size: 11px;
}

.maps-grid.list-view .map-attributes-box {
    margin-bottom: 0;
    margin-right: 8px;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    font-size: 11px;
}

.maps-grid.list-view .map-tags {
    margin-bottom: 0;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    vertical-align: middle;
}

.maps-grid.list-view .map-tag {
    font-size: 11px;
    padding: 2px 6px;
}

.maps-grid.list-view .tags-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.maps-grid.list-view .map-description {
    height: auto;
    -webkit-line-clamp: 3;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
}

/* ????????????body???????*/
.map-card-body .map-status-corner {
    display: none;
}

/* ???????body???????*/
.maps-grid.minimal-view .map-card-body .map-status-corner {
    display: flex !important;
}



/* ???? */
.map-card {
    background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border-color: #5a5a5a;
}

.map-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ???????????? */
.map-card-middle {
    display: contents;
}

/* ??????????*/
.tags-row {
    display: contents;
}

/* ?????? */
.map-card-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #3d3d3d;
}

/* ???????????*/
.map-status-corner {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.map-status-corner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.map-status-corner.active::before {
    background: #2e7d32;
}

.map-status-corner.seasonal::before {
    background: #e65100;
}

.map-status-corner.removed::before {
    background: #c62828;
}

.map-status-corner .map-status-text {
    position: relative;
    font-size: 8px;
    font-weight: normal;
    color: #fff;
    white-space: nowrap;
    z-index: 11;
}

/* CSS?????? */
.map-status-corner .map-status-text::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin-bottom: 2px;
}

/* ?? - ?????*/
.map-status-corner.active .map-status-text::before {
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin: 2px auto 5px;
}

/* ?? - ?????*/
.map-status-corner.seasonal .map-status-text::before {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 0 auto 2px;
    box-sizing: border-box;
}

/* ??- ?????*/
.map-status-corner.removed .map-status-text::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto 2px;
    position: relative;
    background:
        linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}

.map-status-corner.removed .map-status-text::after {
    display: none;
}

.map-status-corner.removed::after {
    display: none;
}

.map-type-badge {
    font-size: 11px;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 3px;
}

/* ???????? - ????*/
.map-card-image {
    aspect-ratio: 1 / 1;
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* ???? - ????????*/
.map-coordinates {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 20px repeat(10, 1fr);
    grid-template-rows: 20px repeat(10, 1fr);
}

/* ???LOGO */
.coord-corner {
    grid-column: 1;
    grid-row: 1;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coord-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    opacity: 1;
    transition: opacity 0.2s;
}

.coord-logo.hidden-grid {
    opacity: 0.4;
}

.map-coordinates.no-grid .coord-grid,
.map-coordinates.no-grid .coord-top::before,
.map-coordinates.no-grid .coord-left::before {
    display: none;
}

/* ??????*/
.coord-top {
    grid-column: 2 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
    justify-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: #1a1a2e;
    position: relative;
}

.coord-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 10% 100%;
    pointer-events: none;
}

.coord-top span {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ??????*/
.coord-left {
    grid-column: 1;
    grid-row: 2 / -1;
    display: grid;
    grid-template-rows: repeat(10, 1fr);
    align-items: center;
    justify-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: #1a1a2e;
    position: relative;
}

.coord-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 100% 10%;
    pointer-events: none;
}

.coord-left span {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ?????? */
.map-image-area {
    grid-column: 2 / -1;
    grid-row: 2 / -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ???? */
.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* ??????- ??10x10????*/
.coord-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 10% 100%, 100% 10%;
    pointer-events: none;
    z-index: 1;
}

/* ????????- ??????*/
.version-slider-container {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #3d3d3d;
    border-bottom: 1px solid #3d3d3d;
    padding: 0 15px 12px 15px;
    height: 85px;
    box-sizing: border-box;
}

/* ????*/
.version-ruler {
    position: relative;
    height: 35px;
    margin-bottom: 8px;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
}

/* ??????*/
.ruler-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* ???? */
.ruler-ticks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

/* ???? */
.version-tick {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.3);
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    transition: all 0.2s;
}

/* ???? - ????*/
.version-tick.tick-major {
    width: 2px;
    height: 12px;
}

.version-tick.tick-major::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

/* ????- ????*/
.version-tick.tick-minor {
    width: 1px;
    height: 6px;
}

.version-tick.tick-minor::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.version-tick:hover {
    background: #ffffff;
}

/* ??????????????*/
.version-tick.active-tick::after {
    display: none;
}

/* ??- ????????*/
.ruler-needle {
    position: absolute;
    top: 0;
    width: 2px;
    height: 18px;
    background: linear-gradient(to bottom, #ffffff, #cccccc);
    transform: translateX(-50%);
    z-index: 15;
    pointer-events: none;
}

/* ????- ???? */
.ruler-knob {
    position: absolute;
    top: 18px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    z-index: 20;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ruler-knob:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

/* ??????*/
.version-info-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    position: relative;
}

.version-info-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.2) 80%, transparent);
}

/* ????????*/
.version-slider-container.no-versions {
    display: flex;
    align-items: flex-end;
}

.version-slider-container.no-versions .current-version-name {
    color: #666;
}

.version-slider-container.no-versions .version-number,
.version-slider-container.no-versions .version-year {
    color: #444;
    background: transparent;
}

/* ???? */
.version-play-btn {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.version-play-btn::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 2px;
}

.version-play-btn.playing::before {
    content: '';
    width: 8px;
    height: 8px;
    border: none;
    background: #ffffff;
    margin-left: 0;
}

.version-play-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.version-play-btn.playing {
    background: rgba(255, 255, 255, 0.6);
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.current-version-name {
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
}

.current-version-meta {
    font-size: 10px;
    color: #666;
    margin-left: auto;
}

/* ?????? */
.version-meta-box {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    font-size: 11px;
    margin-left: auto;
}

.version-number {
    padding: 2px 6px;
    color: rgba(255, 255, 255, 0.8);
}

.version-year {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #cccccc;
}

.map-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 185, 152, 0.1) 0%, transparent 50%);
}

.map-image-placeholder {
    text-align: center;
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-name-main {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #c4b998;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.map-name-sub {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ?????? */
.map-card-body {
    padding: 15px;
}

/* ??????- ????????*/
.map-name-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
}

.map-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.map-name {
    font-size: 18px;
    color: #c4b998;
    font-weight: 600;
    margin: 0;
}

.map-name-en {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ?????? - ???? */
.map-type-badge-inline {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    color: #cccccc;
    white-space: nowrap;
}

.map-description {
    font-size: 13px;
    color: #888;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 68px;
    word-break: break-word;
}

/* ?????- ???? */
.map-attributes-inline {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.attr-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 11px;
    color: #c4b998;
}

.attr-divider {
    color: #444;
    font-size: 11px;
}

.environment-icons,
.building-icons {
    display: flex;
    gap: 4px;
}

.map-environment,
.map-building {
    font-size: 14px;
}

/* ????? - ??????*/
.map-attributes-box {
    margin-top: 0;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.map-attr-item {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    color: #cccccc;
    white-space: nowrap;
}

.attr-skew-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 2px;
}

/* ???? */
.map-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}

.map-tag {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ?????? */
.map-card-footer {
    padding: 3px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* ??????????*/
.map-card-footer .map-status-corner {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.map-card-footer .map-status-corner::before {
    content: '';
    position: absolute;
    inset: 0;
}

.map-card-footer .map-status-corner.active::before {
    background: #2e7d32;
}

.map-card-footer .map-status-corner.seasonal::before {
    background: #e65100;
}

.map-card-footer .map-status-corner.removed::before {
    background: #c62828;
}

.map-card-footer .map-status-text {
    font-size: 8px;
    position: relative;
    z-index: 11;
    color: #fff;
}

.map-card-footer .map-status-text::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-bottom: 2px;
}

.map-card-footer .map-status-corner.active .map-status-text::before {
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin: 2px auto 5px;
}

.map-card-footer .map-status-corner.seasonal .map-status-text::before {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 2px auto;
    box-sizing: border-box;
}

.map-card-footer .map-status-corner.removed .map-status-text::before {
    width: 10px;
    height: 10px;
    margin: 2px auto;
    position: relative;
    background:
        linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}

.map-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    margin-left: auto;
}

.action-btn {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(196, 185, 152, 0.1);
    border: 1px solid rgba(196, 185, 152, 0.3);
    border-radius: 3px;
    color: #c4b998;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #cccccc;
}

/* ??????*/
.map-likeability {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
}

.map-likeability .like-wrapper,
.map-likeability .dislike-wrapper {
    display: flex;
    align-items: baseline;
}

.map-likeability .like-text {
    color: #4caf50;
    font-size: 13px;
}

.map-likeability .dislike-text {
    color: #f44336;
    font-size: 13px;
}

.map-likeability .like-percent {
    font-size: 10px;
    color: #4caf50;
}

.map-likeability .dislike-percent {
    font-size: 10px;
    color: #f44336;
}

/* ??????*/
.no-maps-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed #3d3d3d;
    border-radius: 4px;
}

.no-maps-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.no-maps-message h3 {
    color: #c4b998;
    font-size: 18px;
    margin-bottom: 8px;
}

.no-maps-message p {
    color: #888;
    font-size: 14px;
}

/* ??????? */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.map-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.map-modal-content {
    background: linear-gradient(180deg, #2d2d2d 0%, #1f1f1f 100%);
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(180deg, #3d3d3d 0%, #2d2d2d 100%);
    border-bottom: 1px solid #3d3d3d;
}

.map-modal-header h2 {
    font-size: 22px;
    color: #c4b998;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    background: #8b0000;
    border: 1px solid #a52a2a;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #a52a2a;
}

.map-modal-body {
    padding: 25px;
}

/* ?????? */
.map-detail-section h4 {
    font-size: 16px;
    color: #c4b998;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3d3d3d;
}

.map-detail-header {
    margin-bottom: 25px;
}

.map-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-badge {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 3px;
    border: 1px solid;
}

.detail-badge.type {
    background: rgba(100, 149, 237, 0.1);
    color: #6495ed;
    border-color: rgba(100, 149, 237, 0.3);
}

.detail-badge.size {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border-color: #3d3d3d;
}

.map-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    font-size: 12px;
    color: #666;
    min-width: 70px;
}

.meta-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(196, 185, 152, 0.1);
    color: #c4b998;
    border-radius: 3px;
    border: 1px solid rgba(196, 185, 152, 0.2);
}

.tactic-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(100, 149, 237, 0.1);
    color: #6495ed;
    border-radius: 3px;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.terrain-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(144, 238, 144, 0.1);
    color: #90ee90;
    border-radius: 3px;
    border: 1px solid rgba(144, 238, 144, 0.2);
}

/* ???? */
.map-detail-description {
    margin-bottom: 25px;
}

.map-detail-description p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

/* ?????*/
.map-detail-tags {
    margin-bottom: 25px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    font-size: 12px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ???? */
.map-detail-keypoints {
    margin-bottom: 25px;
}

.key-points-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.key-point-item {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #c4b998;
}

.key-point-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #c4b998 0%, #a08060 100%);
    color: #1a1a1a;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.key-point-info h5 {
    font-size: 14px;
    color: #c4b998;
    margin-bottom: 5px;
}

.key-point-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* ???? */
.map-detail-tactics {
    margin-bottom: 15px;
}

.tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tactic-type {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #3d3d3d;
}

.tactic-icon {
    width: 40px;
    height: 40px;
    background: rgba(196, 185, 152, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.tactic-info h5 {
    font-size: 14px;
    color: #c4b998;
    margin-bottom: 5px;
}

.tactic-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ????????????*/
.environment-icon,
.building-icon {
    margin-right: 4px;
}

/* ????????*/
.filter-option-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ??????*/
@media (max-width: 768px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }

    .tactics-grid {
        grid-template-columns: 1fr;
    }

    .map-modal-content {
        margin: 10px;
    }

    .map-modal-body {
        padding: 15px;
    }

    .map-detail-badges {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ??????*/
.map-modal::-webkit-scrollbar {
    width: 8px;
}

.map-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.map-modal::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

.map-modal::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}