/* 用户页面容器 */
.UserContainer {
    padding: 80px 0 60px;
}

/* 覆盖 odometer 默认字体，使用网站全局字体 */
.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
    font-family: inherit !important;
}

/* 修复 odometer 生成的 DOM 结构导致的对齐问题 */
.UserStatItem .odometer {
    display: inline-block;
}

.UserStatItem .UserStatSuffix {
    display: inline-block;
    vertical-align: baseline;
    font-size: 40px;
    font-weight: 700;
    color: #00b4ff;
    white-space: nowrap;
}

/* Banner 区域（隐藏，地图移到主内容区） */
.UserBanner {
    display: none;
}

/* 标题 */
.UserHeader {
    margin-bottom: 0;
    position: relative;
    padding-top: 55px;
}

.UserHeader::before {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background: #00b4ff;
    border-radius: 2px;
    margin-bottom: 16px;
    position: relative;
    left: 0;
}

.UserHeader::after {
    content: '';
    display: block;
    width: 8px;
    height: 4px;
    background: #00b4ff;
    border-radius: 2px;
    position: absolute;
    top: 55px;
    left: 38px;
}

.UserHeader h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0;
}

.UserHeader h2 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterIn 0.5s ease forwards;
}

@keyframes letterIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主内容区域：标题在左上，统计在左下，地图在右侧 */
.UserMainContent {
    position: relative;
    min-height: 430px;
}

/* 右侧地图 */
.UserMapRight {
    position: absolute;
    right: -20%;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.UserMapShape {
    animation: mapSlideIn 1.5s ease-out forwards;
}

@keyframes mapSlideIn {
    0% {
        opacity: 0;
        margin-right: -400px;
    }

    100% {
        opacity: 1;
        margin-right: 0;
    }
}

.UserMapRight img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

/* 左侧统计数据 */
.UserStatsLeft {
    position: absolute;
    left: 0;
    bottom: 16%;
    z-index: 2;
}

.UserStatsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 30px;
}

.UserStatItem {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.UserStatNumber {
    font-size: 40px;
    font-weight: 700;
    color: #00b4ff;
    white-space: nowrap;
}

.UserStatLabel {
    font-size: 20px;
    color: #666;
    white-space: nowrap;
}

/* 长文字描述 */
.UserDescription {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Tab 菜单 */
.UserTabsWrapper {
    margin-bottom: 40px;
}

.UserTabsSwiper {
    background: #fff;
    box-shadow: 5px 3px 10px rgb(3 169 244 / 24%);
    border-radius: 8px;
    overflow: hidden;
}

.UserTabsSwiper .swiper-wrapper {
    display: flex;
    width: 100%;
}

.UserTabsSwiper .swiper-slide {
    flex: 1;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.UserTabsSwiper .swiper-slide::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #666;
}

.UserTabsSwiper .swiper-slide:last-child::after {
    display: none;
}

.UserTabItem {
    flex: 1;
    padding: 10px 24px;
    text-align: center;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.UserTabItem:last-child {
    border-right: none;
}

.UserTabItem:hover {
    color: #00b4ff;
}

.UserTabItem.active {
    color: #00b4ff;
}

.UserTabItem.active::before {
    content: '';
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #00b4ff;
}

/* Logo Swiper */
.UserLogoSwiper {
    padding-bottom: 40px;
    width: 100%;
    overflow: hidden;
}

.UserLogoSwiper .swiper-wrapper {
    align-items: center;
}

.UserLogoSwiper .swiper-slide {
    height: auto;
    flex-shrink: 0;
}

.UserLogoSwiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.UserLogoSwiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #1a3a5c;
    opacity: 0.3;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.UserLogoSwiper .swiper-pagination-bullet-active {
    width: 20px;
    height: 6px;
    background: #007cff;
    opacity: 1;
    border-radius: 3px;
}

/* Tab 内容区域 */
.UserTabContent {
    position: relative;
    width: 100%;
}

.UserTabPanel {
    display: none;
    width: 100%;
}

.UserTabPanel.active {
    display: block;
}

.UserLogoItem {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
}

.UserLogoItem:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.UserLogoItem img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.UserLogoItem:hover img {
    animation: heartBeat 1s ease;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.15);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(1);
    }
}

.UserLogoItem a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 响应式 */
@media (max-width: 768px) {
    .UserContainer {
        padding: 80px 0 30px;
    }

    .UserHeader h2 {
        font-size: 20px;
    }

    .UserDescription {
        font-size: 13px;
        line-height: 1.6;
    }

    .UserMainContent {
        min-height: 200px;
    }

    .UserMapRight {
        width: 152%;
        bottom: 0;
        right: -75%;
    }

    .UserMapRight img {
        max-height: 250px;
        width: 100%;
    }

    .UserStatsLeft {
        padding-top: 40px;
    }

    .UserStatsGrid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .UserStatNumber {
        font-size: 16px;
    }

    .UserStatItem .UserStatSuffix {
        font-size: 16px;
    }

    .UserStatLabel {
        font-size: 12px;
    }

    .UserTabItem {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Tab 菜单 Swiper */
    .UserTabsWrapper {
        /* max-width: 100%; */
        padding: 0 15px;
    }

    .UserTabsSwiper {
        box-shadow: 5px 3px 10px rgb(3 169 244 / 24%);
        border-radius: 8px;
        background: #fff;
    }

    .UserTabsSwiper .swiper-slide {
        width: auto;
        flex: none;
    }

    .UserTabItem {
        display: inline-block;
        flex: none;
        padding: 7px 20px;
        border-right: 1px solid #eee;
        border-bottom: none;
        white-space: nowrap;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        margin-right: 0;
    }

    .UserTabItem:last-child {
        border-right: none;
        margin-right: 0;
    }

    .UserTabItem.active::before {
        display: block;
        left: 10px;
    }

    /* Logo Swiper */
    .UserLogoSwiper {
        padding-bottom: 40px;
    }

    .UserLogoSwiper .swiper-slide {
        width: 50%;
        padding: 5px;
        box-sizing: border-box;
    }

    .UserLogoItem {
        height: 80px;
        padding: 10px;
    }

    .UserLogoItem img {
        max-height: 60px;
    }

    /* 分页器样式 */
    .UserLogoSwiper .swiper-pagination {
        display: block;
        position: relative;
        margin-top: 20px;
    }

    .UserLogoSwiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: #1a3a5c;
        opacity: 0.3;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .UserLogoSwiper .swiper-pagination-bullet-active {
        width: 20px;
        height: 6px;
        background: #00b4ff;
        opacity: 1;
        border-radius: 3px;
    }
}