* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Firefox 细滚动条 */
    scrollbar-width: thin;
    scrollbar-color: #ff8c00 rgba(40, 40, 48, 0.4);
}
html, body {
    height: 100%;
    background: #ffffff;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}
#app {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.container {
    position: relative;
    flex: 1;
}
/* 所有面板公共毛玻璃通用类 */
.glass-panel {
    background: rgba(26, 26, 32, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 80px;
    bottom: 20px;
    overflow-y: hidden;
    z-index: 10;
}
/* ========== 全局细滚动条样式（Chrome/Edge/Safari） ========== */
::-webkit-scrollbar {
    width: 5px; /* 缩细，原8px改为5px */
}
/* 滚动条轨道：与面板同圆角 */
::-webkit-scrollbar-track {
    background: rgba(40, 40, 48, 0.4);
    border-radius: 0 6px 6px 0; /* 宽度缩小同步减小圆角 */
    margin: 0;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: #ff8c00; /* 橙色不变 */
    border-radius: 0 6px 6px 0;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff9f33;
}
::-webkit-scrollbar-button {
    display: none; /* 隐藏上下箭头 */
}

#unity-canvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: black; /* 区分纯白渲染和画布空白 */
    z-index: 1;
}