@charset "utf-8";
body {
    margin: 0;
    overflow: hidden;
}

/* 场景容器 */
#scene-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

canvas{
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* 操作提示 */
.instructions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #94877b;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    z-index: 1000;
    white-space: nowrap;
}

.instructions p {
    margin: 0;
}

/* Letterbox弹窗样式 */
.letterbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    z-index: 2000;
    cursor: pointer;
    animation: fadeIn 3s ease-out;
}

.movie-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}



/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* iframe禁用鼠标响应样式 */
iframe {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}