@charset "UTF-8";
/* CSS Document */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000000;
    -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
    touch-action: auto;              /* 允许触摸滚动 */
}
body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: #000000;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
    touch-action: auto;              /* 允许触摸滚动 */
}
#container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    /* 默认不旋转（在横屏时正常） */
    transform: translate(-50%, -50%) rotate(0deg);
    /* 下面的宽高将在脚本中动态设置为交换后的视口值 */
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    background-color: green;
}
iframe {
    border: none;
}
#v3d {
    position: absolute;
    width: 100%;
    height: 100%;
}
.tip {
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
    text-shadow: 2px 2px 2px #00000;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 1s ease;
}
.nav {
    position: absolute;
    bottom: 10px;
    font-size: 12px;
}
.nav .btn {
    margin-top: 6px;
    margin-bottom: 6px;
}
.btn {
    border: rgba(255,255,255,0.5) 1px solid;
    background-color: rgba(0,0,0,0.5);
    border-radius: 200px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 7px;
    box-sizing: border-box;
    line-height: 1;
    overflow: hidden;
    color: #ffffff;
    min-height: 37.2px;
}
.btn:hover {
    filter: brightness(1.2);
}
.icon {
    display: inline-block;
    border: none;
    padding: 0;
}
#color-picker {
    font-size: 20px;
    display: none;
}
.color:hover {
    filter: brightness(1.5);
}
#wall-color-change {

}
#nav-left {
    left: 10px;
    display: none;
    bottom: 140px;
}

#nav-right {
    right: 10px;
    display: none;
    bottom: 50%;
    transform: translateY(50%);
}

.fs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
#intro-page {
    pointer-events: auto;
    background-image: url("ui/intro.webp");
    cursor: pointer;
    filter: blur(0px);
    opacity: 1;
    transition: opacity 0.3s ease, filter 0.3s ease;
    display: flex;
}
#intro-video {
    opacity: 1;
    filter: blur(0px);
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    transition: opacity 0.5s ease, filter 0.5s ease;
}
#intro-video video {
    width: 100%;
}
#btn-jump {
    position: absolute;
    transform: scale(1.2) translateX(-50%);
    left: 50%;
    top: 30px;
    pointer-events: none;
}

#intro-lan {
    position: absolute;
    background: url('works/buiding-photo.webp') center/cover no-repeat;
    opacity: 1;
}
@keyframes heartBeat {
    0% {transform: scale(1); }
    14% { transform: scale(1.2); } 
    28% { transform: scale(1); }
    42% { transform: scale(1.2); } 
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}
.ani-heart-beat {
    animation: heartBeat 1.8s infinite; 
    -webkit-animation: heartBeat 1.8s infinite; 
    animation-fill-mode: forwards; 
}
#map-pin {
    box-sizing: border-box;
	width: 128px;
    height: 128px;
	cursor: pointer;
}
#intro-lan-icon-btn-group {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-top: -30px;
}
#intro-lan-btn {
    transform: scale(1.4);
}
#intro-se {
    background-image: url("ui/intro-ex.webp");
    cursor: pointer;
    filter: blur(0px);
    opacity: 1;
    transition: opacity 0.5s ease, filter 0.5s ease;
}
#intro-ch {
    display: none;
}

#joy-stick {
    position: absolute;
    bottom: 10px;
    left: 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px rgba(255,255,255,1.00) solid;
    background-image: url("ui/arrow.svg");
    background-size: contain;
    background-position: center;
    
}
.joy-stick-stick {
    transition: transform 0.3s ease; /* 平滑过渡效果 */
}
#stick {
    left: 25px;
    top: 25px;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color:rgba(255,255,255,1.00);
    border-radius: 50%;
    cursor: grab;
    box-sizing: border-box;
    transition: left 0.5s ease, top 0.5s ease; /* 添加过渡效果 */
}
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 1;
    filter: blur(5px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

#work {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    filter: blur(0px);
    transition: opacity 0.3s ease, filter 0.3s ease;
    pointer-events: none;
    width: 100%;
    height: 100%;
    border: none;
    overflow-y: auto;
    margin: 0;
}
#work iframe {
    width: 90%;
    height: 100%;
    margin-left: 0;
    background-color: transparent;
    overflow-y: auto;
}
#goback {
    background-image: url("ui/close.svg");
    width: 100px;
    height: 100px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    cursor: pointer;
}