/* 基础设置 */
:root {
    --primary-color: #112347;
    --secondary-color: #3b73b7;
    --font-size-base: 20px;
}

body,
html {
    margin: 0;
    padding: 0;
    font-size: var(--font-size-base);
    font-family: Microsoft YaHei, Microsoft YaHei, Arial, sans-serif;
    height: 100%;
    overflow: hidden;
    /* 防止页面出现滚动条 */
    background-color: #F2F0ED;
}

body {
    /* 背景图 */
    background-image: url("./images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5.3rem;
    /* 160px */
    /* background-color: #fff;
    border: 1px solid #B8C2BD; */
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    background-position: center;
    height: 100%;
    flex: 1;
    position: relative;
    /* left: 20px; */

    align-items: center;
    background-position: center;
    height: 100%;
    flex: 16;
    position: absolute;
    display: flex;
    left: 20px;
}

.logo {
    height: 48%;
}

.carousel-mode {
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 1rem;
}

/* 内容区域 */
.content {
    display: flex;
    flex: 1;
    /* 占据剩余空间 */
    overflow: hidden;
}

.sidebar {
    width: 16%;
    overflow-y: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.8rem 0.4rem 0.4rem;
    cursor: pointer;
    transition: background-color .3s;
    background-color: #CCE2E8FF;
    margin-top: 1rem;
    border-radius: 0.4rem;
    margin-left: 1rem;
    margin-right: 0.5rem;
    transition: 0.4s;
}

.sidebar li:not(.active):hover {
    background: var(--secondary-color);
    transition: 0.4s;
    color: #ffffff;
}


.sidebar .active {
    background: url('images/select_insect_bg.svg'), linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sidebar .active span {
    color: #ffffff;
    font-weight: 400;
}

.sidebar ul :first-child {
    margin-top: 0;
    object-fit: cover;
}

.sidebar li:hover {
    background-color: #f5f5f5;
}

.sidebar .cover {
    width: 4rem;
    height: 4rem;
    margin-right: 0.75rem;
    border-radius: 0.4rem;
}

.arrow {
    margin-left: auto;
    width: 1rem;
}

.details {
    width: calc(100% - 2rem);
    position: relative;
    overflow: hidden;
    left: 2rem;
    margin-right: 30px;
}

.details section {
    position: absolute;
    box-sizing: border-box;
    border-radius: 0.4rem;
    overflow: hidden;
    background: url(images/detail-content-bg.svg) #FFFDF9;
}

.detail-center {
    top: 0;
    left: 0;
    height: calc(100% - 3rem);
    width: calc(71% - 1rem);
    background: url(images/detail-content-bg.svg) #FFFDF9;
    background-image: unset !important;
}

.detail-center-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.model:not(.detail-center) .details-content .details-model {
    height: calc(100% - 1rem);
    overflow: scroll;
    overflow-x: hidden;
}

.detail-center-container #scale {
    display: none;
}

.hide_more_action:not(.detail-center) #switch-btns {
    scale: 0.6;
    left: 0;
}



.details .detail-center .details-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.detail-top,
.detail-middle,
.detail-bottom {
    width: 29%;
    height: calc(33.333333% - 0.5rem);
    left: 71%;
}

.detail-top {
    top: 0;
}

.detail-middle {
    top: calc(33.333333% + 1rem);
}

.detail-bottom {
    top: calc(66.6666666% + 2rem);
}

/* 修改 */


/* 新增 */
.bio-list {
    height: 100%;
    overflow-y: scroll;
    display: block;
    overflow-x: hidden;
}

.bio-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

.bio-item>img {
    width: 100%;
}

.bio-item p {
    text-align: center;
}

.bio-item p img {
    height: 0.8rem;
}

.details-content {
    position: relative;
}

#model .details-content {
    background: radial-gradient(circle, rgb(239 239 239), rgb(147 147 147));
}

.details-content .showmore {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    opacity: 0;
    cursor: pointer;
    z-index: 999;
}

.details section:not(.detail-center):hover .showmore {
    opacity: 1;
    display: inline-block;
}

.detail-center.showmore {
    display: none !important;
}

.show_more_action:not(.detail-center) {
    height: calc(100% - 24rem) !important;
    transition: all 0.4s;
}

.hide_more_action:not(.detail-center) {
    height: 12rem !important;
    transition: all 0.4s;
}

.details .detail-center {
    position: absolute;
    margin-left: unset;
    /* height: calc(100% - 2rem); */
}

.details section:not(.detail-center) {
    margin-left: 71%;
    position: unset;
    height: calc(33.333333% - 0.666666rem);
    margin-bottom: 1rem;
}

.details {
    padding-bottom: 3rem;
}

.image2d .details-content {
    overflow-y: scroll;
}

.show_more_action #square {
    /* transform: scale(1) !important */
}

.bio.detail-center .details-content {
    height: calc(100% - 8.7rem);
    margin-top: 8.7rem;
}

.details-item-title {
    height: 4rem;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.details-item-title .icon {
    margin-left: 1.6rem;
    height: 1.5rem;
    margin-right: 0.55rem;
    z-index: 2;
}

.details-item-title .bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    height: 100%;
    z-index: 1;
    width: 100%;
    display: flex;
}

.details-item-title .bg img {
    height: 100%;
}

.details-item-title .bg span {
    display: block;
    height: 33.06923%;
    background: linear-gradient(to right, #112347, #3b73b7);
    flex: 1;
    display: inline-block;
    position: relative;
    left: -1px;
}

.details-item-title span {
    font-size: 1.2rem;
    color: #F9FFFC;
    font-weight: bold;
    z-index: 2;
}

.details-item-title .switch-layout-button {
    position: absolute;
    right: 3rem;
    bottom: 0.45rem;
    width: 1.85rem;
    cursor: pointer;
    z-index: 4;
}

.details-item-title .showmore-layout-button {
    position: absolute;
    right: 0.6rem;
    bottom: 0.45rem;
    width: 1.85rem;
    cursor: pointer;
    z-index: 4;
}

.detail-center .details-item-title .switch-layout-button,
.detail-center .details-item-title .showmore-layout-button {
    display: none;
}

.details-bug-name-nav,
.details-bug-name {
    position: relative;
    display: none;
    z-index: 10;
}

.details-content {
    height: calc(100% - 4rem);
}

.detail-center .details-bug-name,
.detail-center .details-bug-name-nav {
    display: block;
}

.detail-center {
    position: relative;
}

#switch-btns {
    position: absolute;
    bottom: 1.6rem;
    left: calc(50% - 5.85rem);
    height: 2.63rem;
    border-radius: 1.325rem;
    background: #ECEAE7;
    z-index: 6;
}

#switch-btns button {
    border: none;
    background: none;
    color: #2D2D2D;
    line-height: 2.63rem;
    text-align: center;
    width: 5.85rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 400;
    transition: 0.3s;
    border-radius: 1.325rem;
    margin: 0;
    padding: 0;
    margin-right: 0;
    float: left;
}

#switch-btns button:not(.active):hover {
    background: #35B476;
    transition: 0.3s;
    color: #fff;
}

#switch-btns .active {
    color: #F9FFFC;
    background: linear-gradient(to right, #112347, #3b73b7);
}

#exit-full {
    width: 11.7rem;
    position: absolute;
    bottom: 1.6rem;
    left: calc(50% - 5.85rem);
    height: 2.63rem;
    border-radius: 1.325rem;
    background: var(--primary-color);
    z-index: 99;
    border: none;
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s;
    display: none;
}

#exit-full:hover {
    transition: 0.4s;
    background: #016836;
}

#exit-full img {
    height: 2rem;
    margin-right: 1rem;
}

.details-content .details-model {
    height: 100%;
    opacity: 0;
    z-index: 1;
    position: absolute;
    width: 100%;
}

.details-content .details-show {
    opacity: 1 !important;
    z-index: 2 !important;
}

.details-content .fullscreen-model {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99 !important;
    /* background: rgba(0, 0, 0, 0.2); */
}

/* 模型控制按钮容器 */
.model-controls {
    position: absolute;
    top: 1.5rem;
    right: 1.6rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

#fullscreen-btn {
    width: 1.6rem;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.4s;
}

#fullscreen-btn:hover {
    opacity: 1;
    transition: 0.4s;
}

/* 标记点开关图标样式 */
.marker-toggle-icon {
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: brightness(0.7);
}

.marker-toggle-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1);
}

.marker-toggle-icon.active {
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 8px rgba(59, 115, 183, 0.6));
}

.marker-toggle-icon.active:hover {
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(59, 115, 183, 0.8));
}

.details-bug-name-nav .nav {
    font-weight: 400;
    font-size: 1.2rem;
    color: #2D2D2D;
    line-height: 1.5rem;
    margin: 1.6rem 1.5rem;
    display: inline-block;
}

.details-bug-name-nav .name {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.details-bug-name-nav .name span {
    font-weight: bold;
    font-size: 1.6rem;
    color: #2D2D2D;
    margin: 0 0.8rem;
}

/*基本信息*/
.info .details-content {
    padding: 0 0 0 1.6rem;
}

.info.detail-center .details-content {
    height: calc(100% - 9rem);
    top: 9rem;
}

.info.detail-center .info-nav a {
    font-size: 1.2rem;
    width: 5rem;
}

.info.detail-center .info-contents-container {
    font-size: 1.2rem;
}

.info-nav {
    height: 1.85rem;
    margin-top: 0.8rem;
    box-sizing: border-box;
}

.info-nav a {
    line-height: 1.35rem;
    padding-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    color: #2D2D2D;
    font-weight: 400;
    text-decoration: none;
    width: 4.25rem;
    text-align: center;
}

.info-nav .active {
    font-weight: bold;
}

.info-nav a:hover {
    color: var(--primary-color);
}

.info-nav a::after {
    content: " ";
    width: 50%;
    left: 25%;
    bottom: 0;
    display: inline-block;
    height: 0.2rem;
    border-radius: 0.1rem;
    background-color: var(--primary-color);
    position: absolute;
}

.info-nav a:not(.active)::after {
    display: none;
}

.info-contents-container {
    height: calc(100% - 2.65rem);
    overflow-y: scroll;
}

.info-contents-container>div {
    margin-top: 1.7rem;
}

.info-contents-item {
    margin-top: 0rem;
}

.info-contents-item h3 {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.info-contents-item h3 img {
    height: 1rem;
    margin-top: 0.1rem;
}

.info-contents-item h3 span {
    color: #2D2D2D;
    font-weight: bold;
    margin-left: 0.4rem;
}

.info-content {
    line-height: 1.75rem;
    color: #545454;
    padding: 1rem 0;
    text-indent: 1em;
}

.detail-center .info-content {
    line-height: 2rem;
}

.info-content p {
    margin: 0;
    padding: 0;
}

/*2d彩图*/
.image2d .details-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image2d.detail-center .details-content {
    margin-top: 9rem;
    height: calc(100% - 9rem);
}

#square {
    display: flex;
    flex-direction: column;
    width: 477px;
    height: 477px;
}

#square .arrows2d {
    width: 56px;
    height: 56px;
}

.image-egg,
.image-adult {
    width: 104.8px;
    margin: 0 10px;
}

#square span {
    text-align: center;
    color: #545454;
    display: inline-block;
    font-size: 20px;
}


.image-pupa,
.image-larva {
    height: 104.8px;
    display: flex;
    align-items: center;
    flex: 1;
}

.image-pupa span {
    margin-right: 11px;
}

.image-larva span {
    margin-left: 11px;
}

.image-egg span {
    margin-bottom: 5px;
}

.image-adult span {
    /* margin-top: 0.55rem; */
}

.image-larva {
    justify-content: end;
}

#square .top,
#square .bottom {
    height: 38.2352941%;
    align-items: flex-start;
    text-align: center;
    justify-content: center;
}

#square .top {
    align-items: flex-end;
    padding-bottom: 4px;
    box-sizing: border-box;
}

.image2d .details-content #square .middle {
    height: 23.5294118%;
}

.image2d .details-content .top-right {
    transform: rotate(-90deg);
}

.image2d .details-content .bottom-right {
    transform: rotate(180deg);
}

.image2d .details-content .bottom-left {
    transform: rotate(90deg);
}

#square>div {
    width: 100%;
    display: flex;
}

#square>div>div {
    transition: 0.3s;
    cursor: pointer;
}

#square>div>div:hover span {
    color: var(--primary-color);
}

#square>div>div:hover img {
    border-color: #FFCB05;
    transition: 0.3s;
}

#square>div>div>img {
    object-fit: cover !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-sizing: border-box;
    width: 104.8px;
    height: 104.8px;
    object-fit: contain;
}

.image-egg {
    top: 0;
    left: 37.5%;
    text-align: center;
}

.image-pupa {
    right: 0;
    top: 37.5%
}

.image-larva {
    left: 0;
    top: 37.5%;
    text-align: center;
}

.image-adult {
    bottom: 0;
    left: 37.5%
}

.immature-2d {
    display: none;
}

.immature .mature-2d {
    display: none !important;
}

.immature .immature-2d {
    display: inline;
}

.middle-arrow {
    border: none;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
}

.middle-arrow img {
    border: none !important;
    border-radius: 0 !important;
    transform: rotate(135deg) !important;
}

.immature .top {
    height: 60% !important;
}

.immature .top div {
    margin-bottom: 10%;
}

.immature .middle {
    margin-top: 5%;
    height: 40%;
}

/*2d彩图*/
.image {
    bottom: 0;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 0.4rem;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.copyright {
    color: #878787;
    text-align: center;
    font-size: 0.8rem;
    line-height: 2rem;
}

#static-model-full,
#dynamics-model-full {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

#scale {
    position: absolute;
    left: 1rem;
    bottom: 1.6rem;
    z-index: 9;
    text-align: center;
    width: 4rem;
}

#scale img {
    width: 4rem;
    height: auto;
}

.scale-text {
    position: relative;
    top: 1.2rem;
    display: block;
    font-size: 0.7rem;
}

.loading {
    position: fixed;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background: rgba(31, 32, 31, 0.56);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    display: none;
}

.loading>div {
    background-color: #fff;
    width: 9.35rem;
    height: 9.35rem;
    border: 0.4rem;
    color: var(--primary-color);
    border-radius: 0.4rem;
}

#loadingBox.loading>div {
    background-color: #fff;
    width: 9.35rem;
    height: 9.35rem;
    border: 0.4rem;
    color: var(--primary-color);
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loadingBox.loading>div>div {
    margin-top: 0;
}

.loading>div>div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 1.5rem;
    width: 100%;
    height: 4.5rem;
}

.loading>div p {
    padding: 0;
    margin: 0;
    text-align: center;
    margin-top: 1rem;
}

.loading div img {
    width: 100%;
    height: 100%;
    animation: rotate 2s linear infinite;
    position: absolute;

}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*swiper*/

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-container-thumbs {
    height: 100px;
}

.swiper-container-thumbs .swiper-slide {
    opacity: 0.4;
}

.swiper-container-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.loading div span {
    display: inline-block;
}

/*轮播slider-container*/
.slider-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #fff;
}

.slider-header {
    background: var(--primary-color);
    height: 4rem;
    border-bottom: 0.6rem solid #FFCB05;
    padding: 0 2.4rem;
    display: flex;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-header .slider-logo,
.slider-header .exit-slider {
    position: absolute;
    top: 0;
}

.slider-header .slider-logo {
    margin-right: auto;
    display: flex;
    align-items: center;
    height: 100%;
    left: 2.4rem;
}

.slider-header .exit-slider {
    right: 2.4rem;
}

.slider-header img {
    width: 2.25rem;
    margin-right: 1.05rem;
}

.slider-header .title {
    margin-right: auto;
    margin-left: auto;
    font-weight: bold;
    font-size: 2.15rem;
}

.slider-header button {
    background: #F9FFFC;
    border-radius: 0.4rem;
    color: var(--primary-color);
    width: 5.85rem;
    height: 2.15rem;
    margin-top: 0.825rem;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.4s;
    border: 1px solid #F9FFFC;
}

.slider-header button:hover {
    border-color: #DFE5E2;
    transition: 0.4s;
}

.slider-swiper {
    height: calc(100% - 4.6rem);
}

.gallery-top {
    width: 100%;
    height: calc(100% - 8rem);
}

.gallery-thumbs-container {
    width: 80%;
    overflow: hidden;
    position: absolute;
    left: 12%;
    z-index: 99;
}

.gallery-thumbs {
    width: 100%;
    height: 5.35rem;
    bottom: 1.65rem;
}

.gallery-thumbs .swiper-slide {
    width: 5.35rem !important;
    height: 5.35rem !important;
    margin: 0 0.4rem;
    background: #EBEBEB !important;
    border-radius: 0.4rem;
    border: 1px solid #EBEBEB;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    transition: 0.4s;
}

.gallery-thumbs .swiper-wrapper {
    justify-content: center;
}

.gallery-thumbs .swiper-slide:hover,
.gallery-thumbs .swiper-slide-thumb-active {
    border: 0.1rem solid var(--primary-color);
    border-radius: 0.4rem;
    transition: 0.4s;
}

.slider-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-container-thumbs {
    height: 100px;
}

.swiper-container-thumbs .swiper-slide {
    opacity: 0.4;
}

.swiper-container-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    width: 3rem;
    height: 3rem;
    background: rgba(41, 44, 43, 0.56);
    border-radius: 1.5rem;
    transition: 0.4s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(41, 44, 43, 0.90);
    transition: 0.4s;
}

.full2d .swiper-button-next:hover,
.full2d .swiper-button-prev:hover {
    background: #4D4D4D;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.3rem;
    color: #fff;
}

/*全屏2D彩图*/
.full2d {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    display: none;
}

.full2d-left,
.full2d-right {
    border-radius: 0.4rem;
    box-sizing: border-box;
    background: url('images/bg_texture.svg'), #fff;
    overflow: hidden;
}

.full2d-left {
    width: calc(75% - 2.25rem);
    height: calc(100% - 4.5rem);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2.25rem 0 2.25rem 2.25rem;
}

.full2d-left-img-container {
    width: 80%;
    height: 80%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 34px 6px rgba(0, 0, 0, 0.12);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.large-image {
    max-width: 100%;
    max-height: 80%;
    /* margin: 20px 0; */
}

.image-name {
    color: #ffffff;
    background: var(--primary-color);
    border-bottom: 4px solid #FFCB05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    max-height: 10%;
    height: 4rem;
    line-height: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
}

.full2d-right {
    width: calc(25% - 3.5rem);
    height: calc(100% - 4.5rem);
    margin: 2.25rem 2.25rem 2.25rem 1.25rem;
}

.full2d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    /* margin-top: 1.3rem; */
    position: relative;
}

.full2d-header h2 {
    padding: 0;
    font-size: 1.35rem;
    margin: 0;
    width: 100%;
}

.close-btn {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background-color: #4D4D4D;
    color: #9D9D9D;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    bottom: 0;
    right: 10px;
    cursor: pointer;
    z-index: 999;
}

.close-btn:hover {
    color: #fff;
}

.categories {
    border-bottom: 1px solid #555555;
    height: 2.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    margin-left: 20px;
    margin-right: 20px;
}

.category-btn {
    color: #9D9D9D;
    height: 2.25rem;
    line-height: 2.25rem;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: 0.4s;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.category-btn.active {
    color: #000000;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

.category-btn:hover {
    color: #000000;
    transition: 0.4s;
}

.thumbnail-list {
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 9.55rem);
    overflow-y: scroll;
    margin-left: 20px;
    margin-right: 20px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ffffff;
}

.thumbnails {
    width: 100%;
    position: relative;
}

.thumbnail-list .thumbnail-item {
    width: calc(33.3333% - 0.8rem);
    padding-bottom: calc(33.3333% - 0.8rem);
    margin: 0.4rem;
    float: left;
    position: relative;
    overflow: hidden;
    /* background-color: #858583; */
    border-radius: 0.4rem;
    cursor: pointer;
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.25);
    border-radius: 6px 6px 6px 6px;
}

.thumbnail-list .thumbnail-item::after {
    content: " ";
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.thumbnail-list .thumbnail-item.active::after {
    display: none;
}

.thumbnail-list img {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.thumbnail-list img.selected {
    border-color: #007bff;
}

.full2d-left-name {
    color: #fff;
    margin-top: 0.1rem;
    line-height: 2rem;
    max-width: 16rem;
    padding: 0.3rem;
    display: flex;
    height: 2rem;
    background: rgba(45, 45, 45, 0.8);
    text-align: center;
}

.info-content-detail {
    /* font-weight: bold; */
}

.info-content img {
    max-width: 100%;
}

#slider-img-list-main,
.swiper-wrapper {
    user-select: none;
}

/* 媒体查询 - 针对不同屏幕尺寸的调整 */
@media (max-width: 3840px) and (min-width: 2561px) {
    :root {
        --font-size-base: 28px;
    }
}

@media (max-width: 2560px) and (min-width: 1921px) {
    :root {
        --font-size-base: 19px;
    }
}

@media (max-width: 1920px) and (min-width: 1441px) {
    :root {
        --font-size-base: 16px;
    }
}

@media (max-width: 1440px) and (min-width: 751px) {
    :root {
        --font-size-base: 12px;
    }
}

@media (max-width: 750px) {
    :root {
        --font-size-base: 8px;
    }
}

.half-height {
    height: calc(50% - 0.66666666rem) !important;
}

.full-height {
    height: calc(100% - 1rem) !important;
}

.third-height:not(.detail-center) {
    height: calc(33.333333% - 0.66666666rem) !important;
}

/* 标记系统样式 */

.info-panel {
    position: absolute;
    top: 150px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.95));
    border-radius: 12px;
    max-width: 350px;
    min-width: 280px;
    max-height: 400px;
    backdrop-filter: blur(10px);
    display: none;
    z-index: 101;
    color: white;
    border: 1px solid rgba(56, 197, 128, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-panel-header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-colo));
    padding: 12px 16px;
    margin: 0;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.info-panel-header h3 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-panel-header .marker-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid white;
}

.info-panel-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.info-panel-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.info-panel-content {
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-colo) transparent;
}

.info-panel-content::-webkit-scrollbar {
    width: 6px;
}

.info-panel-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.info-panel-content::-webkit-scrollbar-thumb {
    background: var(--secondary-colo);
    border-radius: 3px;
}

.info-panel-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.marker-description {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #e8e8e8;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.marker-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.marker-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    border-left: 3px solid var(--secondary-colo);
}

.marker-details h4 {
    margin: 0 0 8px 0;
    color: var(--secondary-colo);
    font-size: 1rem;
    font-weight: 600;
}

.marker-details p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #d0d0d0;
}

.marker-tag {
    display: inline-block;
    background: rgba(56, 197, 128, 0.2);
    color: var(--secondary-colo);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 4px 4px 4px 0;
    border: 1px solid rgba(56, 197, 128, 0.3);
}

.marker-coordinates {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.classify-container {
    flex: 1;
    position: relative;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10.25%;
}

.classify-line-img {
    position: absolute;
    bottom: -15px;
    /* left: -6rem; */
    height: auto;
    width: 17rem;
    /* max-width: 200px; */
    z-index: 1;
}

.footer-copyright {
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    line-height: 3rem;
    color: #fff;
    right: 5%;
}