/* ============================================
   3D量化宇宙 - 立体视觉效果
   ============================================ */

/* WebGL太阳系容器样式 */
#webgl-solar-system {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

#webgl-solar-system canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.solar-system-controls button:hover {
    background: rgba(0, 255, 136, 0.4) !important;
    transform: scale(1.05);
}

/* 3D量化宇宙容器 - 增强透视效果 */
.quantum-universe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    pointer-events: none;
    perspective: 1500px; /* 减小perspective增强3D效果 */
    perspective-origin: center center;
    opacity: 1;
}

/* 3D空间容器 - 优化透视角度 */
.universe-3d-space {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    transform-origin: center center;
    transform-style: preserve-3d;
    margin-left: -600px;
    margin-top: -600px;
    /* 调整基础角度以配合新的轨道设计 */
    transform: rotateX(25deg) rotateY(8deg) translateZ(0px);
    filter: drop-shadow(0 0 25px rgba(255, 165, 0, 0.4));
}

/* ============================================
   中心太阳系 - 真正的3D中心定位
   ============================================ */
.central-solar-system {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px; /* 增大容器确保轨道完整显示 */
    height: 600px;
    transform: translate(-50%, -50%) translateZ(0px); /* 移除Z轴偏移 */
    transform-style: preserve-3d;
    transform-origin: center center;
    z-index: 8;
    opacity: 1;
}

.quantum-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px; /* 显著放大太阳作为中心恒星 */
    height: 90px;
    transform: translate(-50%, -50%) translateZ(20px); /* 太阳稍微向前 */
    background: 
        /* 强烈的高光 */
        radial-gradient(ellipse 25% 20% at 20% 20%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, transparent 55%),
        /* 主要球体渐变 */
        radial-gradient(circle at center, 
            #fff8dc 0%, 
            #ffeb99 12%, 
            #ffa500 30%, 
            #ff7700 55%, 
            #cc4400 80%, 
            #8b0000 100%);
    border-radius: 50%;
    box-shadow: 
        /* 强烈的内阴影创造球体感 - 适配更大的太阳 */
        inset -25px -25px 40px rgba(0, 0, 0, 0.8),
        inset -10px -10px 20px rgba(0, 0, 0, 0.6),
        inset 5px 5px 12px rgba(255, 255, 255, 0.3),
        /* 增强外发光 */
        0 0 40px rgba(255, 165, 0, 0.9),
        0 0 80px rgba(255, 140, 0, 0.7),
        0 0 120px rgba(255, 100, 0, 0.5);
    animation: quantumSunPulse 8s ease-in-out infinite;
    opacity: 1;
    z-index: 15; /* 提高z-index确保太阳在最前 */
}

@keyframes quantumSunPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) translateZ(20px) scale(1.0) rotateZ(0deg);
        opacity: 0.9;
        box-shadow: 
            inset -25px -25px 40px rgba(0, 0, 0, 0.8),
            inset -10px -10px 20px rgba(0, 0, 0, 0.6),
            inset 5px 5px 12px rgba(255, 255, 255, 0.3),
            0 0 50px rgba(255, 165, 0, 0.8),
            0 0 100px rgba(255, 140, 0, 0.6),
            0 0 150px rgba(255, 100, 0, 0.4);
    }
    50% { 
        transform: translate(-50%, -50%) translateZ(20px) scale(1.15) rotateZ(180deg);
        opacity: 1;
        box-shadow: 
            inset -25px -25px 40px rgba(0, 0, 0, 0.8),
            inset -10px -10px 20px rgba(0, 0, 0, 0.6),
            inset 5px 5px 12px rgba(255, 255, 255, 0.3),
            0 0 60px rgba(255, 165, 0, 1),
            0 0 120px rgba(255, 140, 0, 0.8),
            0 0 180px rgba(255, 100, 0, 0.6);
    }
}

.quantum-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform-origin: center center;
    transform-style: preserve-3d;
    animation: none;
    z-index: 7;
    /* 3D椭圆轨道效果 */
    border: 2px solid transparent;
    background: transparent;
    box-shadow: 
        inset 0 0 0 1px rgba(0, 255, 255, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(0, 255, 255, 0.3);
    opacity: 0.7;
}

/* 水星轨道 - 最内层，倾斜度小 */
.orbit-1 { 
    width: 180px; 
    height: 180px; 
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
}
/* 金星轨道 */
.orbit-2 { 
    width: 240px; 
    height: 240px; 
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(15deg);
}
/* 地球轨道 */
.orbit-3 { 
    width: 300px; 
    height: 300px; 
    transform: translate(-50%, -50%) rotateX(74deg) rotateZ(-10deg);
}
/* 火星轨道 */
.orbit-4 { 
    width: 360px; 
    height: 360px; 
    transform: translate(-50%, -50%) rotateX(76deg) rotateZ(25deg);
}
/* 木星轨道 */
.orbit-5 { 
    width: 420px; 
    height: 420px; 
    transform: translate(-50%, -50%) rotateX(78deg) rotateZ(-20deg);
}
/* 土星轨道 */
.orbit-6 { 
    width: 480px; 
    height: 480px; 
    transform: translate(-50%, -50%) rotateX(80deg) rotateZ(30deg);
}
/* 天王星轨道 */
.orbit-7 { 
    width: 540px; 
    height: 540px; 
    transform: translate(-50%, -50%) rotateX(82deg) rotateZ(-35deg);
}
/* 海王星轨道 - 最外层，倾斜度最大 */
.orbit-8 { 
    width: 600px; 
    height: 600px; 
    transform: translate(-50%, -50%) rotateX(85deg) rotateZ(45deg);
}

.quantum-planet {
    position: absolute;
    border-radius: 50%;
    top: -10px;
    left: 50%;
    /* 行星位置跟随轨道的3D角度 */
    transform: translateX(-50%);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5), 
        inset -3px -3px 6px rgba(0, 0, 0, 0.4),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
    opacity: 1;
    z-index: 9;
    /* 增强3D球体效果 */
    background-size: cover;
    background-position: center;
}

/* 水星 - 灰色小行星，增强3D效果 */
.planet-mercury {
    width: 15px; /* 稍微增大 */
    height: 15px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 25% 20% at 20% 20%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 30%, transparent 60%),
        /* 球体基色 - 灰色 */
        radial-gradient(circle at center, #8c7853 0%, #6b6b6b 25%, #4a4a4a 50%, #2c2c2c 75%, #1a1a1a 100%);
    color: #8c7853;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影营造球体感 */
        inset -10px -10px 15px rgba(0, 0, 0, 0.9),
        inset -4px -4px 8px rgba(0, 0, 0, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        /* 增强外发光 */
        0 0 20px rgba(140, 120, 83, 0.7), 
        0 0 35px rgba(140, 120, 83, 0.4);
}

/* 金星 - 黄白色，明亮，增强3D效果 */
.planet-venus {
    width: 22px; /* 增大 */
    height: 22px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 30% 25% at 25% 25%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, transparent 55%),
        /* 球体基色 - 黄白色 */
        radial-gradient(circle at center, #ffc649 0%, #ffb84d 20%, #e6a046 40%, #cc8533 65%, #b8722d 85%, #a0621a 100%);
    color: #ffc649;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -12px -12px 20px rgba(0, 0, 0, 0.8),
        inset -5px -5px 10px rgba(0, 0, 0, 0.7),
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        /* 增强外发光 */
        0 0 30px rgba(255, 198, 73, 0.9), 
        0 0 50px rgba(255, 198, 73, 0.6);
}

/* 地球 - 蓝绿色，最立体效果 */
.planet-earth {
    width: 25px; /* 作为宜居星球，稍大 */
    height: 25px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 35% 30% at 25% 25%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 20%, transparent 50%),
        /* 球体基色 - 蓝绿色（地球） */
        radial-gradient(circle at center, #6b93d6 0%, #4a86c7 15%, #2e7d32 30%, #1565c0 55%, #0d47a1 80%, #0a2e5c 100%);
    color: #6b93d6;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -15px -15px 25px rgba(0, 0, 0, 0.8),
        inset -6px -6px 12px rgba(0, 0, 0, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.3),
        /* 强烈外发光 */
        0 0 35px rgba(107, 147, 214, 0.9), 
        0 0 60px rgba(107, 147, 214, 0.6);
}

/* 火星 - 红色，增强3D效果 */
.planet-mars {
    width: 20px; /* 增大 */
    height: 20px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 28% 23% at 23% 23%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 60%),
        /* 球体基色 - 红色（火星） */
        radial-gradient(circle at center, #cd5c5c 0%, #a0522d 25%, #8b0000 50%, #660000 75%, #330000 90%, #1a0000 100%);
    color: #cd5c5c;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -12px -12px 18px rgba(0, 0, 0, 0.9),
        inset -5px -5px 10px rgba(0, 0, 0, 0.8),
        inset 3px 3px 6px rgba(255, 255, 255, 0.2),
        /* 增强外发光 */
        0 0 25px rgba(205, 92, 92, 0.9), 
        0 0 45px rgba(205, 92, 92, 0.6);
}

/* 木星 - 橙色大行星，最大的行星 */
.planet-jupiter {
    width: 50px; /* 最大的行星 */
    height: 50px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 40% 35% at 25% 25%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 20%, transparent 50%),
        /* 球体基色 - 橙色（木星） */
        radial-gradient(circle at center, #d2691e 0%, #cd853f 15%, #bc7c3a 30%, #8b4513 55%, #654321 80%, #3d2817 100%);
    color: #d2691e;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影创造巨大球体感 */
        inset -25px -25px 40px rgba(0, 0, 0, 0.8),
        inset -10px -10px 20px rgba(0, 0, 0, 0.7),
        inset 6px 6px 12px rgba(255, 255, 255, 0.3),
        /* 强烈外发光 */
        0 0 50px rgba(210, 105, 30, 0.9), 
        0 0 80px rgba(210, 105, 30, 0.6);
}

/* 土星 - 黄色带环，第二大行星 */
.planet-saturn {
    width: 42px; /* 第二大行星 */
    height: 42px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 35% 30% at 24% 24%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, transparent 60%),
        /* 球体基色 - 黄色（土星） */
        radial-gradient(circle at center, #ffd700 0%, #daa520 20%, #b8860b 40%, #8b7355 65%, #696969 85%, #404040 100%);
    color: #ffd700;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -22px -22px 35px rgba(0, 0, 0, 0.8),
        inset -8px -8px 16px rgba(0, 0, 0, 0.7),
        inset 5px 5px 10px rgba(255, 255, 255, 0.3),
        /* 增强外发光 */
        0 0 40px rgba(255, 215, 0, 0.9), 
        0 0 65px rgba(255, 215, 0, 0.6);
}

/* 天王星 - 蓝绿色，冰巨星 */
.planet-uranus {
    width: 32px; /* 冰巨星尺寸 */
    height: 32px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 32% 25% at 23% 23%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 25%, transparent 55%),
        /* 球体基色 - 蓝绿色（天王星） */
        radial-gradient(circle at center, #4fd1c5 0%, #40e0d0 25%, #20b2aa 50%, #008b8b 75%, #006666 90%, #003d3d 100%);
    color: #4fd1c5;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -18px -18px 28px rgba(0, 0, 0, 0.8),
        inset -6px -6px 12px rgba(0, 0, 0, 0.7),
        inset 4px 4px 8px rgba(255, 255, 255, 0.3),
        /* 增强外发光 */
        0 0 35px rgba(79, 209, 197, 0.9), 
        0 0 55px rgba(79, 209, 197, 0.6);
}

/* 海王星 - 深蓝色，最远的冰巨星 */
.planet-neptune {
    width: 30px; /* 冰巨星尺寸 */
    height: 30px;
    background: 
        /* 强烈高光 */
        radial-gradient(ellipse 30% 25% at 21% 21%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 30%, transparent 60%),
        /* 球体基色 - 深蓝色（海王星） */
        radial-gradient(circle at center, #4169e1 0%, #191970 30%, #000080 55%, #00008b 80%, #000033 95%, #000022 100%);
    color: #4169e1;
    animation: none;
    border-radius: 50%;
    box-shadow: 
        /* 深度内阴影 */
        inset -16px -16px 25px rgba(0, 0, 0, 0.9),
        inset -6px -6px 12px rgba(0, 0, 0, 0.8),
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        /* 增强外发光 */
        0 0 30px rgba(65, 105, 225, 0.9), 
        0 0 50px rgba(65, 105, 225, 0.6);
}

/* ============================================
   月亮系统
   ============================================ */
.quantum-moon {
    position: absolute;
    border-radius: 50%;
    background: 
        radial-gradient(ellipse 50% 40% at 25% 25%, rgba(245, 245, 245, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 70% 70% at 30% 30%, rgba(220, 220, 220, 0.8) 0%, rgba(180, 180, 180, 0.9) 50%, rgba(140, 140, 140, 1) 100%);
    box-shadow: 
        inset -3px -3px 6px rgba(0, 0, 0, 0.6),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 75% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 25%);
}

/* 地球的月亮 */
.moon-earth {
    width: 5px;
    height: 5px;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotateX(-75deg);
    animation: realisticMoonOrbit 4s linear infinite;
}

/* 木星的卫星 */
.moon-jupiter-1 {
    width: 3px;
    height: 3px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: 0 25px;
    animation: jupiterMoonOrbit1 8s linear infinite;
}

.moon-jupiter-2 {
    width: 4px;
    height: 4px;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: 0 18px;
    animation: jupiterMoonOrbit2 5s linear infinite reverse;
}

/* 木星卫星轨道动画 */
@keyframes jupiterMoonOrbit1 {
    from { transform: translateX(-50%) rotate(0deg) translateX(25px); }
    to { transform: translateX(-50%) rotate(360deg) translateX(25px); }
}

@keyframes jupiterMoonOrbit2 {
    from { transform: translateX(-50%) rotate(0deg) translateX(18px); }
    to { transform: translateX(-50%) rotate(360deg) translateX(18px); }
}

@keyframes realisticMoonOrbit {
    from { transform: translateX(-50%) rotateX(-75deg) rotate(0deg) translateX(12px); }
    to { transform: translateX(-50%) rotateX(-75deg) rotate(360deg) translateX(12px); }
}

/* 逼真的轨道旋转动画 */
@keyframes realisticOrbit {
    from { transform: rotateZ(0deg); }
    to { transform: rotateZ(360deg); }
}

/* 确保轨道容器有旋转动画 */
.quantum-planet-container {
    animation: realisticOrbit linear infinite !important;
    animation-play-state: running !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    transform-style: preserve-3d !important;
}

/* ============================================
   数学公式 - 像星星一样漂浮
   ============================================ */
.formula-3d {
    position: fixed;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    text-align: center;
    white-space: nowrap;
    z-index: 15;
    pointer-events: none;
    /* 公式始终保持正向显示，不翻转 */
    transform: none;
}

.formula-float {
    animation: formulaStarFloat 15s ease-in-out infinite;
}

.formula-twinkle {
    animation: formulaTwinkle 8s ease-in-out infinite;
}

.formula-static {
    animation: none;
    opacity: 0.9;
}

.formula-3d-1 {
    top: 15%;
    left: 15%;
    color: rgba(0, 255, 255, 0.03);
    text-shadow: 0 0 1px rgba(0, 255, 255, 0.02);
    animation-delay: 0s;
    font-size: 9px;
}

.formula-3d-2 {
    top: 25%;
    right: 20%;
    color: rgba(255, 0, 255, 0.03);
    text-shadow: 0 0 1px rgba(255, 0, 255, 0.02);
    animation-delay: 0s;
    font-size: 9px;
}

.formula-3d-3 {
    bottom: 30%;
    left: 10%;
    color: rgba(0, 255, 136, 0.03);
    text-shadow: 0 0 1px rgba(0, 255, 136, 0.02);
    font-size: 9px;
}

.formula-3d-4 {
    bottom: 20%;
    right: 25%;
    color: rgba(255, 170, 0, 0.03);
    text-shadow: 0 0 1px rgba(255, 170, 0, 0.02);
    animation-delay: 2s;
    font-size: 9px;
}

.formula-3d-5 {
    top: 40%;
    left: 8%;
    color: rgba(255, 102, 0, 0.03);
    text-shadow: 0 0 1px rgba(255, 102, 0, 0.02);
    animation-delay: 4s;
    font-size: 9px;
}

.formula-3d-6 {
    top: 60%;
    right: 12%;
    color: rgba(153, 0, 255, 0.03);
    text-shadow: 0 0 1px rgba(153, 0, 255, 0.02);
    font-size: 9px;
}

@keyframes formulaStarFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-15px) scale(1.05);
        opacity: 1;
    }
    50% {
        transform: translateY(10px) scale(1.02);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-8px) scale(1.03);
        opacity: 1;
    }
}

@keyframes formulaTwinkle {
    0%, 100% {
        opacity: 0.6;
        text-shadow: 0 0 10px currentColor;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 25px currentColor;
    }
}

/* ============================================
   3D立体K线图
   ============================================ */
.kline-fixed-container {
    position: fixed;
    top: 50%;
    right: 0;
    width: 40px;
    height: 60px;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 5px;
    box-shadow: -2px 0 10px rgba(0, 255, 255, 0.15);
    pointer-events: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kline-fixed-container:hover {
    width: 280px;
    height: 160px;
    right: -10px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: -5px 0 25px rgba(0, 255, 255, 0.3);
    border-right: 1px solid rgba(0, 255, 255, 0.4);
}

/* K线图标题样式 */

.kline-3d-title {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 8px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.kline-fixed-container:hover .kline-3d-title {
    top: 10px;
    left: 15px;
    font-size: 14px;
    text-shadow: 0 0 10px #00ffff;
}

.kline-3d-value {
    position: absolute;
    top: 15px;
    left: 5px;
    font-size: 7px;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.kline-fixed-container:hover .kline-3d-value {
    top: 10px;
    right: 15px;
    left: auto;
    font-size: 16px;
    text-shadow: 0 0 10px #00ff88;
}

/* Hover指示器 */
.kline-hover-indicator {
    transition: opacity 0.3s ease;
}

.kline-fixed-container:hover .kline-hover-indicator {
    opacity: 0;
}

@keyframes valueFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Canvas K线图样式 */
.kline-canvas {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 0;
    background: transparent;
    border-radius: 6px;
    opacity: 0;
    transition: all 0.3s ease;
}

.kline-fixed-container:hover .kline-canvas {
    height: 100px;
    opacity: 1;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .universe-3d-space {
        width: 600px;
        height: 600px;
        margin-left: -300px;
        margin-top: -300px;
    }
    
    .central-solar-system {
        width: 150px;
        height: 150px;
    }
    
    .quantum-sun {
        width: 60px;
        height: 60px;
    }
    
    .formula-3d {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 150px;
    }
    
    .kline-fixed-container {
        width: 30px;
        height: 50px;
        padding: 3px;
    }
    
    .kline-fixed-container:hover {
        width: 220px;
        height: 130px;
        padding: 10px;
    }
    
    .kline-3d-title {
        font-size: 6px;
    }
    
    .kline-fixed-container:hover .kline-3d-title {
        font-size: 12px;
    }
    
    .kline-3d-value {
        font-size: 5px;
    }
    
    .kline-fixed-container:hover .kline-3d-value {
        font-size: 14px;
    }
    
    .kline-fixed-container:hover .kline-canvas {
        height: 80px;
    }
    
    .orbit-1 { width: 90px; height: 90px; }
    .orbit-2 { width: 120px; height: 120px; }
    .orbit-3 { width: 150px; height: 150px; }
    .orbit-4 { width: 180px; height: 180px; }
    .orbit-5 { width: 210px; height: 210px; }
    .orbit-6 { width: 240px; height: 240px; }
    .orbit-7 { width: 270px; height: 270px; }
    .orbit-8 { width: 300px; height: 300px; }
}

@media (max-width: 480px) {
    .universe-3d-space {
        width: 400px;
        height: 400px;
        margin-left: -200px;
        margin-top: -200px;
    }
    
    .formula-3d {
        font-size: 10px;
        padding: 6px 10px;
        min-width: 120px;
    }
    
    .kline-fixed-container {
        width: 25px;
        height: 40px;
        padding: 2px;
    }
    
    .kline-fixed-container:hover {
        width: 180px;
        height: 110px;
        padding: 8px;
    }
    
    .kline-3d-title {
        font-size: 5px;
    }
    
    .kline-fixed-container:hover .kline-3d-title {
        font-size: 10px;
    }
    
    .kline-3d-value {
        font-size: 4px;
    }
    
    .kline-fixed-container:hover .kline-3d-value {
        font-size: 12px;
    }
    
    .kline-fixed-container:hover .kline-canvas {
        height: 60px;
    }
    
}