html {
    margin: 0;
    width: 100%;
    min-height: 100%;
    background: #050816;
}

body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    color: #e8f0ff;
    font-family: "Microsoft YaHei", Arial;

    position: relative;
    overflow-x: hidden;

    background:
        radial-gradient(circle at 82% 16%, rgba(59, 130, 246, 0.26), transparent 26%),
        radial-gradient(circle at 16% 84%, rgba(54, 56, 205, 0.548), transparent 50%),
        linear-gradient(180deg, #07101f 0%, #050816 48%, #0a1143 100%);

    background-repeat: no-repeat;
    background-size:
        120% 120%,
        140% 140%,
        100% 100%;
    background-position:
        0% 0%,
        0% 0%,
        center;

    animation: backgroundBreath 14s ease-in-out infinite alternate;
}

@keyframes backgroundBreath {
    from {
        background-size:
            115% 115%,
            135% 135%,
            100% 100%;
        background-position:
            0% 0%,
            0% 0%,
            center;
    }

    to {
        background-size:
            125% 125%,
            150% 150%,
            100% 100%;
        background-position:
            2% -1%,
            -2% 2%,
            center;
    }
}

/* 中央画布区域 */
.画布容器 {
    grid-column: 2;
    width: 100%;
    justify-self: center;

    padding: 10px;
    border-radius: 14px;

    background: rgba(8, 13, 28, 0.72);
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow:
        0 0 22px rgba(37, 99, 235, 0.14),
        inset 0 0 24px rgba(15, 23, 42, 0.72);
}

/* 三体主画布 */
#三体仿真画布 {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;

    border-radius: 10px;
    background: #050510;

    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 0 18px rgba(59, 130, 246, 0.16),
        inset 0 0 28px rgba(0, 0, 0, 0.45);
}

/* 画布下方提示文字 */
.画布容器>div:not(.运动图工具栏) {
    margin-top: 8px !important;
    color: rgba(148, 163, 184, 0.75) !important;
    font-size: 12px !important;
}

/* 画布工具栏 */
.运动图工具栏 {
    margin-top: 8px;
    text-align: center;
}

/* 右侧控制面板 */
.右侧面板 {
    grid-column: 3;
    width: 100%;
    box-sizing: border-box;
}

/* 响应式：屏幕较窄时恢复上下布局，避免挤压 */
@media (max-width: 1200px) {
    .总容器 {
        width: min(980px, calc(100vw - 32px));
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .画布容器,
    .右侧面板 {
        grid-column: 1;
    }

    .右侧面板 {
        max-height: none;
    }
}

/* 三栏主体布局 */

.总容器 {
    width: 100%;
    margin: 16px auto 0;

    display: grid;
    grid-template-columns: 320px 720px 340px;
    column-gap: 22px;

    justify-content: center;
    align-items: start;
}


/* 左右两侧公共样式 */
.左侧面板,
.右侧面板 {
    position: relative;
    align-self: start;
    height: auto;

    padding: 12px;
    box-sizing: border-box;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(15, 23, 42, 0.50) 38%,
            rgba(2, 6, 23, 0.62));

    border: 1px solid rgba(191, 219, 254, 0.28);

    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.10),
        0 20px 48px rgba(0, 0, 0, 0.34),
        0 0 32px rgba(59, 130, 246, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 0 28px rgba(15, 23, 42, 0.42);
}

/* 左侧面板：内容较多时在面板内部滚动 */
.左侧面板 {
    max-height: calc(100vh - 130px);
    overflow-x: hidden;
    overflow-y: auto;
}

/* 右侧面板：防止浏览器缩放过大时模块溢出背景框 */
.右侧面板 {
    max-height: calc(100vh - 130px);
    overflow-x: hidden;
    overflow-y: auto;
}





/* 中心区域 */
.中心仿真区 {
    width: 100%;
    min-width: 0;
}


/* 内部功能模块卡片 */
.功能卡片 {
    margin-bottom: 12px;
    padding: 12px;

    border-radius: 13px;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.06),
            rgba(15, 23, 42, 0.44),
            rgba(2, 6, 23, 0.50));

    border: 1px solid rgba(148, 163, 184, 0.20);

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.075),
        0 8px 18px rgba(0, 0, 0, 0.18);
}



/* 模块标题 */
.功能卡片 h3 {
    margin: 0 0 10px;
    padding-bottom: 6px;

    font-size: 14px;
    font-weight: 700;
    color: #dbeafe;

    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

/* 参数提示图标与弹窗 */

/* 标题右侧带提示按钮 */
.带提示标题 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

/* 提示按钮本体 */
.提示按钮 {
    width: 20px;
    height: 20px;

    padding: 0;
    margin: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;

    border: none;
    outline: none;
    border-radius: 50%;

    color: rgba(191, 219, 254, 0.95);
    background: transparent;

    cursor: pointer;

    box-shadow: none;

    transition:
        color 0.18s ease,
        filter 0.18s ease,
        transform 0.18s ease;
}

.提示按钮:hover {
    color: #ffffff;

    background: transparent;

    filter:
        drop-shadow(0 0 5px rgba(96, 165, 250, 0.55)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.30));

    transform: translateY(-1px) scale(1.08);
}

.提示按钮:active {
    transform: translateY(0) scale(0.96);
}


/* SVG 图标 */
.提示图标 {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

/* 放在参数文字左侧的小图标 */
.行内提示按钮 {
    margin-right: 5px;
}

/* 让带图标的 label 垂直居中 */
.单项参数 label {
    display: inline-flex;
    align-items: center;
}

/* 提示弹窗 */
.提示弹窗 {
    position: fixed;
    z-index: 9999;

    max-width: 300px;
    padding: 10px 12px;
    white-space: pre-line;

    border-radius: 11px;
    border: 1px solid rgba(147, 197, 253, 0.36);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.97),
            rgba(2, 6, 23, 0.97));

    color: rgba(226, 232, 240, 0.94);

    font-size: 12px;
    line-height: 1.65;
    letter-spacing: 0.02em;

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(59, 130, 246, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);

    animation: 提示弹窗出现 0.16s ease-out;
}

@keyframes 提示弹窗出现 {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 弹窗顶部小三角 */
.提示弹窗::before {
    content: "";
    position: absolute;

    width: 8px;
    height: 8px;

    left: 18px;
    top: -5px;

    background: rgba(15, 23, 42, 0.97);
    border-left: 1px solid rgba(147, 197, 253, 0.36);
    border-top: 1px solid rgba(147, 197, 253, 0.36);

    transform: rotate(45deg);
}


/* 中心仿真大屏外框 */
.画布容器 {
    position: relative;
    width: 100%;

    padding: 10px;
    border-radius: 18px;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.09),
            rgba(15, 23, 42, 0.46) 36%,
            rgba(2, 6, 23, 0.66));

    border: 1px solid rgba(191, 219, 254, 0.30);

    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.12),
        0 24px 60px rgba(0, 0, 0, 0.38),
        0 0 38px rgba(59, 130, 246, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 30px rgba(15, 23, 42, 0.45);
}


/* 面板顶部高光 */
.左侧面板::before,
.右侧面板::before,
.画布容器::before,
.中心控制栏::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;

    height: 1px;
    border-radius: 999px;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.38),
            transparent);

    pointer-events: none;
}




#三体仿真画布 {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;

    border-radius: 10px;
    background: #050510;

    border: 1px solid rgba(148, 163, 184, 0.14);
}

/* 画布提示文字 */
.画布提示文字 {
    margin-top: 7px;
    text-align: center;

    font-size: 12px;
    color: rgba(148, 163, 184, 0.75);
}

/* 画布内部底部视角控制 */
.画布视角控制 {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);

    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;

    padding: 7px 9px;
    border-radius: 999px;

    background: rgba(2, 6, 23, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.16);

    backdrop-filter: blur(8px);
}

/* 中心控制栏：半透明磨砂按钮栏 */
.中心控制栏 {
    margin-top: 12px;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(15, 23, 42, 0.48),
            rgba(2, 6, 23, 0.62));

    border: 1px solid rgba(191, 219, 254, 0.24);

    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.10),
        0 16px 38px rgba(0, 0, 0, 0.30),
        0 0 26px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}



/* ========== 表单和按钮基础美化 ========== */

.参数分组 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.单项参数 {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    color: rgba(226, 232, 240, 0.86);
}

.单项参数 label {
    min-width: 104px;
    color: rgba(203, 213, 225, 0.82);
}

/* 参数说明文字 */
.参数提示文字 {
    margin: 2px 0 12px;
    padding-left: 1px;

    font-size: 11px;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.58);
}

/* 两行式滑块项目 */
.滑块参数项 {
    margin-bottom: 14px;
}

/* 上面一行：左侧名称，右侧数值 */
.滑块参数头部 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 8px;
}

.滑块参数头部 label {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.88);
    white-space: nowrap;
}

/* 右侧可点击输入的数值徽标 */
.参数数值输入 {
    width: 78px;
    height: 24px;

    padding: 0 8px;
    box-sizing: border-box;

    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.42);

    background: rgba(8, 13, 30, 0.82);
    color: rgba(226, 232, 240, 0.96);

    font-size: 12px;
    font-weight: 600;
    text-align: center;

    outline: none;
    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 12px rgba(37, 99, 235, 0.12);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.参数数值输入:hover {
    border-color: rgba(147, 197, 253, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 0 15px rgba(59, 130, 246, 0.26);
}

.参数数值输入:focus {
    cursor: text;
    border-color: rgba(56, 189, 248, 0.95);
    background: rgba(2, 6, 23, 0.96);
    box-shadow:
        0 0 0 2px rgba(56, 189, 248, 0.13),
        0 0 18px rgba(56, 189, 248, 0.24);
}

/* 输入不合法时变红 */
.参数数值输入.输入错误 {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.95);
    background: rgba(127, 29, 29, 0.32);
    box-shadow:
        0 0 0 2px rgba(248, 113, 113, 0.10),
        0 0 14px rgba(239, 68, 68, 0.25);
}

/* 两行式滑块 */
.参数滑块 {
    width: 100%;
    height: 6px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 999px;
    outline: none;

    background: linear-gradient(90deg,
            #1e90ff,
            #60a5fa);

    cursor: pointer;
}

/* Chrome / Edge 滑块圆点 */
.参数滑块::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 16px;
    height: 16px;

    border-radius: 50%;
    border: 2px solid rgba(219, 234, 254, 0.96);

    background: #0ea5e9;

    box-shadow:
        0 0 0 4px rgba(14, 165, 233, 0.15),
        0 0 14px rgba(14, 165, 233, 0.45);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.参数滑块::-webkit-slider-thumb:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 0 5px rgba(14, 165, 233, 0.18),
        0 0 18px rgba(14, 165, 233, 0.62);
}

/* Firefox 滑块圆点 */
.参数滑块::-moz-range-thumb {
    width: 16px;
    height: 16px;

    border-radius: 50%;
    border: 2px solid rgba(219, 234, 254, 0.96);

    background: #0ea5e9;

    box-shadow:
        0 0 0 4px rgba(14, 165, 233, 0.15),
        0 0 14px rgba(14, 165, 233, 0.45);

    cursor: pointer;
}


input[type="number"],
select {
    flex: 1;
    min-width: 0;

    height: 24px;
    padding: 2px 6px;

    color: #e5eefc;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 6px;
}

input[type="range"] {
    flex: 1;
}

.快捷按钮组,
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

button {
    cursor: pointer;

    padding: 5px 9px;
    border-radius: 7px;

    font-size: 12px;
    color: #e8f0ff;

    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

button:hover {
    background: rgba(37, 99, 235, 0.45);
    border-color: rgba(147, 197, 253, 0.48);
}

/* 画布里的小按钮更紧凑一点 */
.画布视角控制 button {
    padding: 4px 8px;
    font-size: 11px;
}

/* 中心控制栏按钮稍微明显一点 */
.中心控制栏 button {
    min-width: 82px;
    padding: 7px 10px;
}

/* ========== 右侧图表区域 ========== */

.实时状态区域 p {
    margin: 5px 0;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.84);
}

.实时状态区域 span {
    color: #bfdbfe;
}

.侧栏图表区 p {
    margin: 0 0 8px;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.82);
}

#能量曲线图,
#相图画布 {
    display: block;
    width: 100%;
    height: 190px;

    border-radius: 8px;
    background: #050510;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

/* ========== 滚动条简单处理 ========== */

.左侧面板::-webkit-scrollbar,
.右侧面板::-webkit-scrollbar {
    width: 6px;
}

.左侧面板::-webkit-scrollbar-thumb,
.右侧面板::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}

/* ========== 窄屏适配 ========== */

@media (max-width: 1300px) {
    .总容器 {
        width: min(1000px, calc(100vw - 32px));
        grid-template-columns: 1fr;
        row-gap: 16px;

        justify-content: center;
    }

    .左侧面板,
    .右侧面板,
    .中心仿真区 {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .画布视角控制 {
        position: static;
        transform: none;
        margin: 8px auto 0;
    }
}

/* ==============================
   启动页 Landing Page
============================== */

html,
body {
    min-height: 100%;
}

body {
    overflow: hidden;
}

/* 主界面默认显示，但在未进入时隐藏 */
.主界面 {
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.985);
    transition:
        opacity 0.65s ease,
        visibility 0.65s ease,
        transform 0.65s ease;
}

/* 启动页 */
.启动页 {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at 72% 42%, rgba(56, 189, 248, 0.24), transparent 24%),
        radial-gradient(circle at 35% 45%, rgba(124, 58, 237, 0.26), transparent 27%),
        radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.30), transparent 34%),
        linear-gradient(135deg, #020617 0%, #08111f 45%, #11115c 100%);

    transition:
        opacity 0.75s ease,
        visibility 0.75s ease,
        transform 0.75s ease;
}

/* 华丽背景光晕 */
.启动页背景光晕 {
    position: absolute;
    inset: -20%;
    background:
        conic-gradient(from 180deg at 50% 50%,
            rgba(56, 189, 248, 0.04),
            rgba(99, 102, 241, 0.20),
            rgba(236, 72, 153, 0.09),
            rgba(34, 211, 238, 0.16),
            rgba(56, 189, 248, 0.04));
    filter: blur(34px);
    opacity: 0.9;
    animation: 启动页光晕旋转 18s linear infinite;
}

/* 星云层 */
.启动页星云层 {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(96, 165, 250, 0.30), transparent 16%),
        radial-gradient(circle at 72% 26%, rgba(168, 85, 247, 0.26), transparent 20%),
        radial-gradient(circle at 78% 74%, rgba(14, 165, 233, 0.18), transparent 24%),
        radial-gradient(circle at 42% 70%, rgba(59, 130, 246, 0.16), transparent 18%);
    mix-blend-mode: screen;
    opacity: 0.88;
}

/* 粒子层：用多重径向渐变模拟星点 */
.启动页粒子层 {
    position: absolute;
    inset: 0;
    opacity: 0.75;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(125, 211, 252, 0.85) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(196, 181, 253, 0.70) 0 1px, transparent 1.4px);
    background-size:
        110px 110px,
        160px 160px,
        230px 230px;
    background-position:
        0 0,
        36px 70px,
        90px 40px;
    animation: 启动页星点漂移 38s linear infinite;
}

/* 启动页内容：整体略向左移动，拉开与右侧预览屏的距离 */
.启动页内容 {
    position: relative;
    z-index: 2;

    width: min(1200px, 88vw);
    margin-left: 6vw;

    transform: translateX(-48px);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.启动页标签 {
    margin-bottom: 18px;
    padding: 7px 12px;

    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 999px;

    color: rgba(191, 219, 254, 0.92);
    background: rgba(15, 23, 42, 0.36);
    backdrop-filter: blur(12px);

    font-size: 12px;
    letter-spacing: 0.08em;
}

.启动页标题 {
    margin: 0;

    color: rgba(241, 245, 249, 0.98);

    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 900;

    letter-spacing: -0.032em;

    text-shadow:
        0 0 18px rgba(96, 165, 250, 0.38),
        0 0 44px rgba(59, 130, 246, 0.22);
}


.启动页英文标题 {
    margin: 20px 0 0;

    color: rgba(147, 197, 253, 0.92);

    font-size: clamp(13px, 1.35vw, 18px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.启动页说明 {
    max-width: 640px;
    margin: 16px 0 0;

    color: rgba(203, 213, 225, 0.78);

    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

.开始探索按钮 {
    margin-top: 34px;
    height: 48px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid rgba(125, 211, 252, 0.55);
    border-radius: 999px;

    color: #e0f2fe;
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.95),
            rgba(14, 165, 233, 0.85));

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;

    cursor: pointer;

    box-shadow:
        0 0 24px rgba(56, 189, 248, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.开始探索按钮:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    box-shadow:
        0 0 34px rgba(56, 189, 248, 0.48),
        0 12px 26px rgba(15, 23, 42, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.开始探索按钮:active {
    transform: translateY(0) scale(0.98);
}

.按钮箭头 {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.开始探索按钮:hover .按钮箭头 {
    transform: translateX(4px);
}

/* 右侧仿真预览屏：固定在页面中心靠右 */
.启动页预览屏 {
    position: absolute;
    z-index: 2;

    /*
       以页面中心为锚点，而不是以右下角为锚点。
       这样浏览器缩放时，小面板会稳定停留在中心偏右区域。
    */
    left: calc(50% + clamp(330px, 27vw, 460px));
    top: 50%;
    right: auto;
    bottom: auto;

    width: clamp(360px, 28vw, 420px);
    height: clamp(270px, 22vw, 320px);

    transform:
        translate(-50%, -50%) perspective(1000px) rotateY(-9deg) rotateX(4deg);

    transform-origin: center center;

    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 24px;

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.72),
            rgba(2, 6, 23, 0.86));

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.48),
        0 0 50px rgba(59, 130, 246, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(18px) saturate(140%);
    overflow: hidden;

    animation: 启动页预览浮动 5.6s ease-in-out infinite;
}

.预览屏顶部栏 {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;

    border-bottom: 1px solid rgba(147, 197, 253, 0.14);
    background: rgba(15, 23, 42, 0.56);
}

.预览屏顶部栏 span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.72);
}

.预览屏顶部栏 span:nth-child(1) {
    background: rgba(248, 113, 113, 0.95);
}

.预览屏顶部栏 span:nth-child(2) {
    background: rgba(250, 204, 21, 0.95);
}

.预览屏顶部栏 span:nth-child(3) {
    background: rgba(34, 197, 94, 0.95);
}

.预览屏画布 {
    position: absolute;
    left: 28%;
    top: 18%;

    width: 56%;
    height: 64%;

    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.16);

    background:
        radial-gradient(circle at center, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.92));
    overflow: hidden;
}

.预览屏画布::before,
.预览屏画布::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 0;
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.16);
}

.预览屏画布::after {
    inset: 0 auto auto 50%;
    width: 1px;
    height: 100%;
}

.预览轨道 {
    position: absolute;
    left: 50%;
    top: 50%;

    border: 1px solid;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.72;
}

.轨道一 {
    width: 62%;
    height: 38%;
    border-color: rgba(248, 113, 113, 0.85);
    animation: 启动页轨道旋转 8s linear infinite;
}

.轨道二 {
    width: 78%;
    height: 50%;
    border-color: rgba(96, 165, 250, 0.86);
    animation: 启动页轨道旋转 10s linear reverse infinite;
}

.轨道三 {
    width: 52%;
    height: 72%;
    border-color: rgba(34, 211, 238, 0.84);
    animation: 启动页轨道旋转 12s linear infinite;
}

.预览星体 {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;

    box-shadow:
        0 0 8px currentColor,
        0 0 18px currentColor;
}

.星体红 {
    color: #f87171;
    background: currentColor;
    left: 26%;
    top: 42%;
    animation: 启动页星体闪烁 1.8s ease-in-out infinite;
}

.星体蓝 {
    color: #60a5fa;
    background: currentColor;
    left: 68%;
    top: 56%;
    animation: 启动页星体闪烁 2.1s ease-in-out infinite;
}

.星体青 {
    color: #22d3ee;
    background: currentColor;
    left: 48%;
    top: 24%;
    animation: 启动页星体闪烁 2.4s ease-in-out infinite;
}

.预览参数面板 {
    position: absolute;
    width: 20%;
    padding: 12px;

    border-radius: 14px;
    border: 1px solid rgba(147, 197, 253, 0.15);

    background: rgba(15, 23, 42, 0.58);
}

.预览参数面板 p {
    height: 7px;
    margin: 0 0 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.7), rgba(255, 255, 255, 0.15));
}

.预览参数左 {
    left: 5%;
    top: 20%;
}

.预览参数右 {
    right: 5%;
    bottom: 12%;
}

/* 进入主界面后的状态 */
body.已进入主界面 {
    overflow-x: hidden;
    overflow-y: auto;
}


body.已进入主界面 .启动页 {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.04);
}

body.已进入主界面 .主界面 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.天体初始参数卡片 {
    position: relative;
    overflow: hidden;
}

.天体初始参数卡片 h3 {
    margin-bottom: 6px !important;
}

.天体参数表滚动容器 {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 0 0 5px;
    margin-top: 0;

    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.45) rgba(15, 23, 42, 0.45);
}

.天体参数表滚动容器::-webkit-scrollbar {
    height: 6px;
}

.天体参数表滚动容器::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
}

.天体参数表滚动容器::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg,
            rgba(37, 99, 235, 0.75),
            rgba(14, 165, 233, 0.85));
}

.天体参数表 {
    width: max-content;
    min-width: 520px;

    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 4px 4px;

    margin: 0;

    font-size: 12px;
}

.天体参数表 thead th {
    padding: 0 2px;

    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.05;

    color: rgba(148, 163, 184, 0.82);
}

.天体参数表 thead tr:first-child th {
    height: 16px;
    padding-top: 0;
    padding-bottom: 0;

    font-size: 13px;
    line-height: 1;
}

.天体参数表 thead tr:nth-child(2) th {
    height: 17px;
    padding-top: 0;
    padding-bottom: 1px;

    font-size: 12px;
    line-height: 1;
}

.天体参数表 thead .分组表头 {
    color: rgba(191, 219, 254, 0.80);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.天体参数表 tbody td {
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

.天体参数表 tbody tr {
    transition:
        transform 0.16s ease,
        filter 0.16s ease;
}

.天体参数表 tbody tr:hover {
    transform: translateX(1px);
    filter: brightness(1.06);
}

.天体参数表 th,
.天体参数表 td {
    width: 64px;
    min-width: 64px;
}

.天体参数表 .星体列,
.天体参数表 th.星体列,
.天体参数表 td.星标 {
    width: 30px;
    min-width: 30px;
}

.天体参数表 .质量列,
.天体参数表 th.质量列,
.天体参数表 td:nth-child(2) {
    width: 60px;
    min-width: 60px;
}

.天体参数表 .星标 {
    width: 30px;
    min-width: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0;

    font-size: 15px;
    line-height: 0.95;
    font-weight: 800;

    text-shadow:
        0 0 6px currentColor,
        0 0 12px currentColor;
}

.天体参数表 .星标符号 {
    font-size: 13px;
    line-height: 0.85;
}

.天体参数表 .星标A {
    color: #ff6b8a;
}

.天体参数表 .星标B {
    color: #4ade80;
}

.天体参数表 .星标C {
    color: #60a5fa;
}

.天体参数表 input[type="number"] {
    width: 64px;
    height: 34px;

    box-sizing: border-box;

    padding: 2px 6px;

    text-align: center;
    font-size: 14px;
    font-weight: 500;

    color: rgba(226, 232, 240, 0.96);

    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.95),
            rgba(2, 6, 23, 0.96));

    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 9px;

    outline: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 10px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(37, 99, 235, 0.06);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.天体参数表 td:nth-child(2) input[type="number"] {
    width: 60px;
}

.天体参数表 input[type="number"]:hover {
    border-color: rgba(96, 165, 250, 0.50);

    box-shadow:
        0 0 10px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.天体参数表 input[type="number"]:focus {
    border-color: rgba(56, 189, 248, 0.90);

    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, 1),
            rgba(2, 6, 23, 1));

    box-shadow:
        0 0 0 2px rgba(56, 189, 248, 0.10),
        0 0 14px rgba(56, 189, 248, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transform: translateY(-1px);
}

.天体参数表 input[type="number"]::-webkit-outer-spin-button,
.天体参数表 input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
}

.天体参数表 input[type="number"] {
    -moz-appearance: textfield;
}

.应用初值按钮 {
    width: 100%;
    height: 36px;

    margin-top: 7px;
    padding: 0 12px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;

    color: #e0f2fe;

    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.94),
            rgba(14, 165, 233, 0.82));

    border: 1px solid rgba(125, 211, 252, 0.55);

    box-shadow:
        0 0 16px rgba(56, 189, 248, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.应用初值按钮:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);

    box-shadow:
        0 0 24px rgba(56, 189, 248, 0.32),
        0 8px 18px rgba(15, 23, 42, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.应用初值按钮:active {
    transform: translateY(0) scale(0.99);
}

/* 左侧面板紧凑 */
.左侧面板 .功能卡片 {
    margin-bottom: 8px;
}

.左侧面板 .参数分组 {
    margin: 2px 0;
}

.左侧面板 h3 {
    margin: 8px 0 7px;
    font-size: 0.78rem;
}

#三体仿真画布 {
    animation: 画布呼吸 6s ease-in-out infinite;
}

@keyframes 画布呼吸 {

    0%,
    100% {
        box-shadow: 0 0 18px rgba(59, 130, 246, 0.16), inset 0 0 28px rgba(0, 0, 0, 0.45);
    }

    50% {
        box-shadow: 0 0 32px rgba(96, 165, 250, 0.28), inset 0 0 40px rgba(15, 23, 42, 0.55);
    }
}

.功能卡片 button:not(.提示按钮):hover {
    transform: translateY(-1px);
    transition: transform 0.15s ease;
}

#运行状态文本 {
    transition: color 0.3s;
}

@keyframes 启动页光晕旋转 {
    from {
        transform: rotate(0deg) scale(1.1);
    }

    to {
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes 启动页星点漂移 {
    from {
        background-position:
            0 0,
            36px 70px,
            90px 40px;
    }

    to {
        background-position:
            260px 180px,
            220px 320px,
            30px 260px;
    }
}

@keyframes 启动页预览浮动 {

    0%,
    100% {
        transform:
            translate(-50%, -50%) perspective(1000px) rotateY(-9deg) rotateX(4deg);
    }

    50% {
        transform:
            translate(-50%, calc(-50% - 12px)) perspective(1000px) rotateY(-6deg) rotateX(5deg);
    }
}


@keyframes 启动页轨道旋转 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes 启动页星体闪烁 {

    0%,
    100% {
        opacity: 0.72;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@media (max-width: 980px) {
    .启动页内容 {
        transform: translateX(0);
        width: 84vw;
    }

    .启动页预览屏 {
        display: none;
    }
}

.主界面 {
    width: 100%;
    min-height: 100vh;
}

.主界面>h1,
.主界面>.E,
.主界面>.C {
    width: 100%;
    text-align: center;
}

.主界面 {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

.主界面标题区 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin: 0 auto 16px;
    padding-top: 12px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.主界面大标题 {
    width: 100%;
    margin: 0 auto;

    text-align: center;

    color: rgba(226, 241, 255, 0.98);

    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.04em;

    text-shadow:
        0 0 6px rgba(147, 197, 253, 0.65),
        0 0 14px rgba(96, 165, 250, 0.35),
        0 0 28px rgba(59, 130, 246, 0.18);

    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.20));
}

.主界面英文标题 {
    width: 100%;
    margin: 6px auto 0;

    text-align: center;

    color: rgba(191, 219, 254, 0.82);

    font-size: clamp(9px, 0.75vw, 13px);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.08em;

    text-shadow:
        0 0 5px rgba(96, 165, 250, 0.45),
        0 0 12px rgba(59, 130, 246, 0.22);
}

.主界面说明文字 {
    width: 100%;
    margin: 4px auto 0;

    text-align: center;

    color: rgba(148, 163, 184, 0.82);

    font-size: clamp(8px, 0.65vw, 11px);
    line-height: 1.4;
    letter-spacing: 0.04em;

    text-shadow:
        0 0 4px rgba(148, 163, 184, 0.32),
        0 0 10px rgba(59, 130, 246, 0.16);
}

#能量曲线图,
#相图画布 {
    display: block;

    width: 100%;
    height: 190px;

    border-radius: 10px;

    background:
        radial-gradient(circle at 50% 40%,
            rgba(30, 64, 175, 0.16),
            rgba(5, 5, 16, 0.96) 58%,
            rgba(2, 6, 23, 1) 100%);

    border: 1px solid rgba(148, 163, 184, 0.20);

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 10px 24px rgba(0, 0, 0, 0.28),
        0 0 22px rgba(59, 130, 246, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.侧栏图表区 p {
    margin: 0 0 10px;

    color: rgba(203, 213, 225, 0.68);

    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.侧栏图表区 .单项参数 {
    margin-bottom: 8px;
}

.实时状态区域 .单项参数 label {
    min-width: auto;
    white-space: nowrap;
}

.实时状态区域 .单项参数 {
    display: grid;
    grid-template-columns: auto 82px minmax(0, 1fr);
    align-items: center;
    column-gap: 7px;

    width: 100%;

    font-size: 12px;
}

.实时状态区域 .单项参数 label {
    min-width: auto;
    white-space: nowrap;

    font-size: 12px;
}

#星体选择下拉 {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    flex: none;

    height: 30px;

    box-sizing: border-box;

    padding: 2px 16px 2px 8px;

    font-size: 12px;
    font-weight: 600;

    color: rgba(226, 232, 240, 0.96);

    background: rgba(2, 6, 23, 0.82);
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 8px;

    outline: none;
}

#选中星体坐标 {
    display: block;

    min-width: 0;
    max-width: 100%;

    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

/* =========================================================
   中心区域布局微调：画布 → 天体初始参数 → 仿真操作区
   强覆盖版
   ========================================================= */

/* 1. 三栏整体间距：防止中心画布和右侧栏贴太近 */
.总容器 {
    column-gap: 30px !important;
    gap: 16px 30px !important;
}

/* 2. 中心仿真区改为纵向排列 */
.中心仿真区 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* 3. 画布容器、天体参数卡片、操作区保持同一视觉宽度 */
.中心仿真区 .画布容器,
.中心仿真区 .中心天体初始参数卡片,
.中心仿真区 .中心控制栏 {
    width: 100% !important;
    max-width: 720px !important;
    box-sizing: border-box !important;
}

/* 4. 天体初始参数卡片：和画布之间拉开一点距离 */
.中心仿真区 .中心天体初始参数卡片 {
    margin-top: 22px !important;
    margin-bottom: 16px !important;
    padding: 14px 16px 16px !important;
    align-self: center !important;
}

/* 5. 标题不要贴着表格 */
.中心仿真区 .中心天体初始参数卡片 h3 {
    margin: 0 0 12px 0 !important;
    padding-bottom: 8px !important;
}

/* 6. 取消原来左栏横向滚动容器的限制 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表滚动容器 {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 7. 参数分组占满卡片 */
.中心仿真区 .中心天体初始参数卡片 .参数分组 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 8. 表格整体真正铺开 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    table-layout: fixed !important;
    border-collapse: separate !important;

    /* 列间距、行间距 */
    border-spacing: 9px 7px !important;

    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 9. 表头和单元格更舒展 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 th,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 td {
    padding: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* 10. 星体列宽度 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 .星体列,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 td.星标 {
    width: 54px !important;
    min-width: 54px !important;
}

/* 11. 质量列宽度 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 .质量列 {
    width: 78px !important;
    min-width: 78px !important;
}

/* 12. 星体 A/B/C 标记不换行 */
.中心仿真区 .中心天体初始参数卡片 .星标 {
    white-space: nowrap !important;
}

/* 13. 所有数字输入框强制变宽变高 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 input,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 input[type="number"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 32px !important;
    line-height: 32px !important;

    padding: 0 8px !important;
    box-sizing: border-box !important;

    text-align: center !important;
    font-size: 12px !important;
}

/* 14. 表头文字稍微清晰一点 */
.中心仿真区 .中心天体初始参数卡片 .天体参数表 th {
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* 15. 应用初始参数按钮适配变宽后的背景框 */
.中心仿真区 .中心天体初始参数卡片 .应用初值按钮 {
    display: block !important;
    width: min(460px, 92%) !important;
    height: 34px !important;
    margin: 14px auto 0 !important;
}

/* 16. 仿真操作区在天体参数下方 */
.中心仿真区 .中心控制栏 {
    margin-top: 0 !important;
    padding: 10px 12px !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

/* 17. 操作按钮不要被拉伸 */
.中心仿真区 .中心控制栏 button {
    flex: 0 0 auto !important;
}

/* =========================================================
   精修加强版：让中心天体初始参数内容更充分填充背景框
   ========================================================= */

.中心仿真区 .中心天体初始参数卡片 {
    width: 100% !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding: 14px 20px 16px !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表滚动容器 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.中心仿真区 .中心天体初始参数卡片 .参数分组 {
    width: 96% !important;
    max-width: 660px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 10px 7px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 th,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 td {
    padding: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 .星体列,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 td.星标 {
    width: 50px !important;
    min-width: 50px !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 .质量列 {
    width: 78px !important;
    min-width: 78px !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 input,
.中心仿真区 .中心天体初始参数卡片 .天体参数表 input[type="number"] {
    width: 100% !important;
    min-width: 58px !important;
    max-width: none !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 12px !important;
}

.中心仿真区 .中心天体初始参数卡片 table.天体参数表 tbody tr td input[type="number"] {
    width: 100% !important;
    min-width: 58px !important;
    height: 32px !important;
}

.中心仿真区 .中心天体初始参数卡片 .天体参数表 th {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
}

.中心仿真区 .中心天体初始参数卡片 .星标 {
    white-space: nowrap !important;
}

.中心仿真区 .中心天体初始参数卡片 .应用初值按钮 {
    display: block !important;
    width: 96% !important;
    max-width: 660px !important;
    height: 34px !important;
    margin: 14px auto 0 !important;
}

.中心仿真区 .中心天体初始参数卡片 h3 {
    margin-bottom: 10px !important;
}


/* 中心仿真区：纵向排列并居中 */
.中心仿真区 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* 画布容器、天体参数模块、操作栏统一宽度 */
.中心仿真区>.画布容器,
.中心仿真区>.中心控制栏,
.中心仿真区>.天体初始参数卡片,
.中心仿真区>.中心天体初始参数卡片 {
    width: 720px !important;
    max-width: 720px !important;
    box-sizing: border-box !important;
}

/* 天体初始参数模块外框：和画布同宽，并留出上下间距 */
.中心仿真区>.天体初始参数卡片,
.中心仿真区>.中心天体初始参数卡片 {
    align-self: center !important;
    margin-top: 18px !important;
    margin-bottom: 14px !important;

    /* 关键：让背景框真正变成画布宽度 */
    width: 720px !important;
    max-width: 720px !important;
    min-width: 720px !important;

    /* 内部留白 */
    padding: 14px 28px 16px !important;

    box-sizing: border-box !important;
}

/* 天体参数模块内部滚动容器强制撑满 */
.中心仿真区>.天体初始参数卡片 .天体参数表滚动容器,
.中心仿真区>.中心天体初始参数卡片 .天体参数表滚动容器 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow-x: visible !important;
    overflow-y: visible !important;

    box-sizing: border-box !important;
}

/* 参数分组强制铺开 */
.中心仿真区>.天体初始参数卡片 .参数分组,
.中心仿真区>.中心天体初始参数卡片 .参数分组 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* 表格强制占满卡片内容区 */
.中心仿真区>.天体初始参数卡片 table.天体参数表,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    table-layout: fixed !important;
    border-collapse: separate !important;

    /* 这里控制输入框之间的横向、纵向间距 */
    border-spacing: 12px 8px !important;

    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 所有表头、单元格取消旧 padding 限制 */
.中心仿真区>.天体初始参数卡片 table.天体参数表 th,
.中心仿真区>.天体初始参数卡片 table.天体参数表 td,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 th,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 td {
    padding: 0 !important;
    margin: 0 !important;

    text-align: center !important;
    vertical-align: middle !important;

    box-sizing: border-box !important;
}

/* 星体列略窄，避免占空间 */
.中心仿真区>.天体初始参数卡片 table.天体参数表 .星体列,
.中心仿真区>.天体初始参数卡片 table.天体参数表 td.星标,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 .星体列,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 td.星标 {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    white-space: nowrap !important;
}

/* 质量列稍宽 */
.中心仿真区>.天体初始参数卡片 table.天体参数表 .质量列,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 .质量列 {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
}

/* 输入框强制变宽、变高 */
.中心仿真区>.天体初始参数卡片 table.天体参数表 input,
.中心仿真区>.天体初始参数卡片 table.天体参数表 input[type="number"],
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 input,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 input[type="number"] {
    display: block !important;

    width: 100% !important;
    min-width: 62px !important;
    max-width: none !important;

    height: 34px !important;
    line-height: 34px !important;

    padding: 0 8px !important;

    text-align: center !important;
    font-size: 12px !important;

    box-sizing: border-box !important;
}

/* 表头文字 */
.中心仿真区>.天体初始参数卡片 table.天体参数表 th,
.中心仿真区>.中心天体初始参数卡片 table.天体参数表 th {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

/* 标题和表格之间留间距 */
.中心仿真区>.天体初始参数卡片 h3,
.中心仿真区>.中心天体初始参数卡片 h3 {
    margin-bottom: 12px !important;
}

/* 应用初始参数按钮：跟表格一样舒展 */
.中心仿真区>.天体初始参数卡片 .应用初值按钮,
.中心仿真区>.中心天体初始参数卡片 .应用初值按钮 {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 36px !important;
    line-height: 36px !important;

    margin: 14px auto 0 !important;

    box-sizing: border-box !important;
}

/* 下方仿真操作栏保持和画布同宽 */
.中心仿真区>.中心控制栏 {
    width: 720px !important;
    max-width: 720px !important;

    margin-top: 0 !important;

    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;

    box-sizing: border-box !important;
}

/* 操作按钮不要被强制拉伸 */
.中心仿真区>.中心控制栏 button {
    flex: 0 0 auto !important;
}

@media (max-width: 768px) {

    /* 只修改画布容器宽度，保持正方形 */
    .画布容器 {
        width: min(85vw, 340px) !important;
        /* 调整这里改变画布大小 */
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 8px !important;
        box-sizing: border-box;
    }

    /* 确保画布本身填满容器 */
    #三体仿真画布 {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

}

/* 手机端：参数面板右移 */
@media (max-width: 900px) {
    .天体初始参数卡片 {
        margin-left: 24px !important;
        margin-right: auto !important;
    }
}

/* 手机端：6按钮右移 */
@media (max-width: 900px) {
    .中心控制栏 {
        margin-left: 24px !important;
        margin-right: auto !important;
    }
}








/* 手机端：5个视角按钮悬浮在画布内部正下方（与桌面一致） */
@media (max-width: 900px) {
    .画布容器 {
        position: relative !important;
        padding-bottom: 56px !important;
    }

    .画布容器 .画布视角控制 {
        position: absolute !important;
        left: 50% !important;
        bottom: -14px !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        width: max-content !important;
        max-width: 96% !important;
    }
}

/* 播放按钮：颜色突出 */
.播放高亮按钮 {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.90), rgba(14, 165, 233, 0.80)) !important;
    color: #e0f2fe !important;
    font-weight: 700 !important;
    border-color: rgba(125, 211, 252, 0.55) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
}

.播放高亮按钮:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(14, 165, 233, 0.95)) !important;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.5) !important;
}

/* 桌面：手机版按钮隐藏，大播放按钮显示 */
.手机播放按钮 {
    display: none !important;
}

/* 手机：大播放按钮隐藏，栏内按钮显示 */
@media (max-width: 900px) {
    .播放主按钮 {
        display: none !important;
    }

    .手机播放按钮 {
        display: inline-block !important;
    }
}

/* ==============================
   启动页按钮组：开始探索 + 使用手册
============================== */

.启动页按钮组 {
    margin-top: 34px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

/* 覆盖原开始探索按钮自己的 margin-top，避免按钮组内上下错位 */
.启动页按钮组 .开始探索按钮 {
    margin-top: 0;
}

/* 使用手册按钮：次级按钮，不抢开始探索的主视觉 */
.使用手册按钮 {
    height: 48px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.42);

    color: rgba(219, 234, 254, 0.96);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.50),
            rgba(30, 41, 59, 0.46));

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;

    cursor: pointer;

    box-shadow:
        0 0 18px rgba(59, 130, 246, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.使用手册按钮:hover {
    transform: translateY(-2px) scale(1.03);

    border-color: rgba(125, 211, 252, 0.68);

    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.34),
            rgba(14, 165, 233, 0.26));

    box-shadow:
        0 0 28px rgba(56, 189, 248, 0.30),
        0 12px 26px rgba(15, 23, 42, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    filter: brightness(1.08);
}

.使用手册按钮:active {
    transform: translateY(0) scale(0.98);
}


/* ==============================
   使用手册弹窗
============================== */

.使用手册遮罩 {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;
    box-sizing: border-box;

    background:
        radial-gradient(circle at 50% 45%, rgba(59, 130, 246, 0.16), transparent 38%),
        rgba(2, 6, 23, 0.66);

    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.使用手册遮罩.显示 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.使用手册弹窗 {
    width: min(960px, 94vw);
    max-height: min(760px, 88vh);

    display: flex;
    flex-direction: column;

    border-radius: 24px;
    border: 1px solid rgba(147, 197, 253, 0.34);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.94),
            rgba(2, 6, 23, 0.96) 48%,
            rgba(15, 23, 42, 0.92));

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.58),
        0 0 50px rgba(59, 130, 246, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    overflow: hidden;

    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease;
}

.使用手册遮罩.显示 .使用手册弹窗 {
    transform: translateY(0) scale(1);
}


/* 弹窗头部 */
.使用手册头部 {
    padding: 22px 26px 18px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    border-bottom: 1px solid rgba(148, 163, 184, 0.16);

    background:
        linear-gradient(90deg,
            rgba(37, 99, 235, 0.16),
            rgba(14, 165, 233, 0.07),
            transparent);
}

.使用手册头部 h2 {
    margin: 0;

    color: rgba(241, 245, 249, 0.98);

    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.08em;

    text-shadow:
        0 0 10px rgba(96, 165, 250, 0.42),
        0 0 24px rgba(59, 130, 246, 0.24);
}

.使用手册头部 p {
    margin: 8px 0 0;

    color: rgba(191, 219, 254, 0.78);

    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.关闭使用手册按钮 {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.22);

    color: rgba(226, 232, 240, 0.9);
    background: rgba(15, 23, 42, 0.56);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.关闭使用手册按钮:hover {
    transform: rotate(90deg) scale(1.06);

    color: #ffffff;
    border-color: rgba(125, 211, 252, 0.56);
    background: rgba(37, 99, 235, 0.36);
}


/* 弹窗内容 */
.使用手册内容 {
    flex: 1;
    min-height: 0;

    padding: 20px 26px 18px;

    overflow-y: auto;
    overflow-x: hidden;
}

.使用手册内容::-webkit-scrollbar {
    width: 7px;
}

.使用手册内容::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 999px;
}

.使用手册内容::-webkit-scrollbar-thumb {
    background:
        linear-gradient(180deg,
            rgba(37, 99, 235, 0.75),
            rgba(14, 165, 233, 0.85));
    border-radius: 999px;
}


/* 七步流程总览：横向流程条 */
.使用流程总览 {
    width: 100%;
    margin: 0 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 14px 16px;
    box-sizing: border-box;

    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.28);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.72),
            rgba(2, 6, 23, 0.60));

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.22);
}

.流程节点 {
    min-width: 74px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 8px 8px;

    border-radius: 14px;
    border: 1px solid rgba(147, 197, 253, 0.20);

    background:
        linear-gradient(180deg,
            rgba(30, 41, 59, 0.72),
            rgba(15, 23, 42, 0.55));

    box-shadow:
        0 0 14px rgba(59, 130, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.流程序号 {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #e0f2fe;
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.96),
            rgba(14, 165, 233, 0.86));

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 0 14px rgba(56, 189, 248, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.流程文字 {
    color: rgba(219, 234, 254, 0.94);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.流程箭头 {
    flex: 0 0 auto;

    color: rgba(125, 211, 252, 0.78);

    font-size: 18px;
    font-weight: 900;

    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.45),
        0 0 18px rgba(59, 130, 246, 0.24);
}



/* 步骤卡片：图文说明版 */
.手册步骤列表 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.手册步骤卡片 {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 260px;
    gap: 16px;
    align-items: start;

    padding: 16px;

    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.055),
            rgba(15, 23, 42, 0.48),
            rgba(2, 6, 23, 0.54));

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.075),
        0 10px 24px rgba(0, 0, 0, 0.20);
}

.步骤编号 {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: #e0f2fe;
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.95),
            rgba(14, 165, 233, 0.82));

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.步骤正文 {
    min-width: 0;
}

.步骤正文 h3 {
    margin: 0 0 8px;

    color: rgba(219, 234, 254, 0.98);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.步骤正文 p {
    margin: 6px 0 0;

    color: rgba(203, 213, 225, 0.84);

    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}


/* 手册步骤要点列表 */
.手册要点列表 {
    margin: 10px 0 0;
    padding-left: 18px;

    color: rgba(203, 213, 225, 0.82);

    font-size: 13px;
    line-height: 1.8;
}

.手册要点列表 li {
    margin: 2px 0;
}

.手册要点列表 li::marker {
    color: rgba(56, 189, 248, 0.95);
}


/* 提示条 */
.手册提示条 {
    margin-top: 10px;
    padding: 8px 10px;

    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);

    color: rgba(224, 242, 254, 0.92);
    background:
        linear-gradient(135deg,
            rgba(14, 165, 233, 0.12),
            rgba(37, 99, 235, 0.08));

    font-size: 12px;
    line-height: 1.6;
}


/* 步骤图片 */
.手册步骤图片 {
    margin: 0;

    width: 100%;

    border-radius: 14px;
    overflow: hidden;

    border: 1px solid rgba(147, 197, 253, 0.22);

    background: rgba(2, 6, 23, 0.68);

    box-shadow:
        0 0 16px rgba(59, 130, 246, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.手册步骤图片 img {
    display: block;

    width: 100%;
    height: 150px;

    object-fit: cover;
    object-position: center;

    background:
        radial-gradient(circle at center,
            rgba(37, 99, 235, 0.18),
            rgba(2, 6, 23, 0.96));
}

.手册步骤图片 figcaption {
    padding: 7px 9px;

    color: rgba(191, 219, 254, 0.76);
    background: rgba(15, 23, 42, 0.72);

    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}


.步骤编号 {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: #e0f2fe;
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.95),
            rgba(14, 165, 233, 0.82));

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;

    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.步骤正文 h3 {
    margin: 0 0 8px;

    color: rgba(219, 234, 254, 0.96);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.步骤正文 p {
    margin: 6px 0 0;

    color: rgba(203, 213, 225, 0.82);

    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.使用手册底部 {
    flex: 0 0 auto;

    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 16px 28px 18px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;

    border-top: 1px solid rgba(148, 163, 184, 0.16);

    background:
        linear-gradient(90deg,
            rgba(15, 23, 42, 0.82),
            rgba(2, 6, 23, 0.90));

    box-shadow:
        0 -12px 28px rgba(2, 6, 23, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* ==============================
   使用手册：顶部流程条
============================== */

.使用流程总览 {
    width: 100%;
    margin: 0 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 13px 14px;
    box-sizing: border-box;

    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.28);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.72),
            rgba(2, 6, 23, 0.60));

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.22);
}

.流程节点 {
    min-width: 82px;
    height: 54px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 6px 8px;

    border-radius: 14px;
    border: 1px solid rgba(147, 197, 253, 0.20);

    color: rgba(219, 234, 254, 0.86);

    background:
        linear-gradient(180deg,
            rgba(30, 41, 59, 0.72),
            rgba(15, 23, 42, 0.55));

    box-shadow:
        0 0 14px rgba(59, 130, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.流程节点:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.48);
    filter: brightness(1.08);
}

.流程节点.当前流程节点 {
    border-color: rgba(125, 211, 252, 0.86);

    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.72),
            rgba(14, 165, 233, 0.50));

    box-shadow:
        0 0 22px rgba(56, 189, 248, 0.38),
        0 0 0 1px rgba(125, 211, 252, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.流程序号 {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #e0f2fe;
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.96),
            rgba(14, 165, 233, 0.86));

    font-size: 11px;
    font-weight: 900;

    box-shadow:
        0 0 12px rgba(56, 189, 248, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.当前流程节点 .流程序号 {
    background:
        linear-gradient(135deg,
            rgba(14, 165, 233, 1),
            rgba(56, 189, 248, 0.95));

    box-shadow:
        0 0 18px rgba(125, 211, 252, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.流程文字 {
    color: rgba(219, 234, 254, 0.94);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.流程箭头 {
    flex: 0 0 auto;

    color: rgba(125, 211, 252, 0.82);

    font-size: 18px;
    font-weight: 900;

    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.45),
        0 0 18px rgba(59, 130, 246, 0.24);
}

/* ==============================
   使用手册：步骤轮播卡片
============================== */

.手册轮播区 {
    position: relative;

    width: 100%;

    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.手册轮播卡片 {
    min-height: 360px;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 22px;
    align-items: stretch;

    padding: 22px;
    box-sizing: border-box;

    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);

    background:
        radial-gradient(circle at 20% 18%, rgba(59, 130, 246, 0.18), transparent 32%),
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.06),
            rgba(15, 23, 42, 0.50),
            rgba(2, 6, 23, 0.58));

    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.07),
        0 18px 42px rgba(0, 0, 0, 0.28),
        0 0 26px rgba(59, 130, 246, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    overflow: hidden;
}

.手册卡片文字区 {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.手册卡片顶部 {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 14px;
}

.手册当前编号 {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;

    border-radius: 18px;

    color: #e0f2fe;

    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.96),
            rgba(14, 165, 233, 0.86));

    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.04em;

    box-shadow:
        0 0 24px rgba(56, 189, 248, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.手册卡片顶部 h3 {
    margin: 0;

    color: rgba(241, 245, 249, 0.98);

    font-size: 24px;
    line-height: 1.3;
    font-weight: 900;

    text-shadow:
        0 0 10px rgba(96, 165, 250, 0.32),
        0 0 22px rgba(59, 130, 246, 0.18);
}

.手册卡片顶部 p {
    margin: 5px 0 0;

    color: rgba(191, 219, 254, 0.78);

    font-size: 13px;
    line-height: 1.5;
}

.手册当前说明 {
    margin: 0 0 12px;

    color: rgba(203, 213, 225, 0.86);

    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

.手册要点列表 {
    margin: 4px 0 0;
    padding-left: 18px;

    color: rgba(203, 213, 225, 0.84);

    font-size: 13px;
    line-height: 1.85;
}

.手册要点列表 li {
    margin: 2px 0;
}

.手册要点列表 li::marker {
    color: rgba(56, 189, 248, 0.95);
}

.手册提示条 {
    margin-top: auto;
    padding: 10px 12px;

    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.24);

    color: rgba(224, 242, 254, 0.94);

    background:
        linear-gradient(135deg,
            rgba(14, 165, 233, 0.13),
            rgba(37, 99, 235, 0.08));

    font-size: 12px;
    line-height: 1.7;
}


/* 图片区 */
.手册卡片图片区 {
    margin: 0;

    display: flex;
    flex-direction: column;

    border-radius: 18px;
    overflow: hidden;

    border: 1px solid rgba(147, 197, 253, 0.24);

    background:
        radial-gradient(circle at 50% 38%,
            rgba(37, 99, 235, 0.18),
            rgba(2, 6, 23, 0.96) 62%);

    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.手册卡片图片区 img {
    display: block;

    width: 100%;
    height: 285px;

    object-fit: contain;
    object-position: contain;

    background:
        radial-gradient(circle at center,
            rgba(37, 99, 235, 0.20),
            rgba(2, 6, 23, 0.96));
}

.手册卡片图片区 figcaption {
    padding: 9px 10px;

    color: rgba(191, 219, 254, 0.78);
    background: rgba(15, 23, 42, 0.74);

    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* 左右切换箭头 */
.手册切换箭头 {
    width: 42px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.32);

    color: rgba(224, 242, 254, 0.96);

    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.72),
            rgba(2, 6, 23, 0.72));

    font-size: 42px;
    line-height: 1;
    font-weight: 300;

    cursor: pointer;

    box-shadow:
        0 0 18px rgba(59, 130, 246, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

.手册切换箭头:hover {
    transform: translateY(-1px) scale(1.04);

    border-color: rgba(125, 211, 252, 0.66);

    background:
        linear-gradient(180deg,
            rgba(37, 99, 235, 0.48),
            rgba(14, 165, 233, 0.30));

    box-shadow:
        0 0 28px rgba(56, 189, 248, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.手册切换箭头:active {
    transform: scale(0.96);
}


/* 页码 */
.手册页码提示 {
    margin-top: 12px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.手册页码提示 span {
    padding: 5px 12px;

    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.28);

    color: rgba(191, 219, 254, 0.84);
    background: rgba(15, 23, 42, 0.52);

    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .使用流程总览 {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 12px;
    }

    .流程节点 {
        min-width: 82px;
        flex: 0 0 auto;
    }

    .流程箭头 {
        flex: 0 0 auto;
    }

    .手册轮播区 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .手册左箭头,
    .手册右箭头 {
        position: absolute;
        top: 50%;
        z-index: 2;

        width: 36px;
        height: 56px;

        transform: translateY(-50%);

        background: rgba(2, 6, 23, 0.78);
    }

    .手册左箭头 {
        left: 8px;
    }

    .手册右箭头 {
        right: 8px;
    }

    .手册左箭头:hover,
    .手册右箭头:hover {
        transform: translateY(-50%) scale(1.04);
    }

    .手册轮播卡片 {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 18px;
    }

    .手册卡片顶部 h3 {
        font-size: 20px;
    }

    .手册卡片图片区 img {
        height: 220px;
    }
}

/* =========================================================
   使用手册卡片：根据图片比例切换布局
   - 手册布局左右：普通左文右图
   - 手册布局上下：上方文字，下方横向配图
   ========================================================= */

/* 默认左右布局 */
.手册轮播卡片.手册布局左右 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 28px !important;
    align-items: center !important;
}

/* 上下布局：适合第4步这种扁长操作栏截图 */
.手册轮播卡片.手册布局上下 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 18px !important;
    align-items: stretch !important;

    min-height: 390px !important;

    padding: 26px 30px 24px !important;
}

/* 上下布局时，文字区铺满宽度 */
.手册轮播卡片.手册布局上下 .手册卡片文字区 {
    max-width: none !important;
    width: 100% !important;
}

/* 上下布局时，标题区域更紧凑一点 */
.手册轮播卡片.手册布局上下 .手册卡片顶部 {
    margin-bottom: 14px !important;
}

/* 上下布局时，正文说明不要太长一行，提升可读性 */
.手册轮播卡片.手册布局上下 .手册当前说明 {
    max-width: 850px !important;
    margin-bottom: 10px !important;
}

/* 上下布局时，要点列表可以分两列，减少高度占用 */
.手册轮播卡片.手册布局上下 .手册要点列表 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 26px !important;
    row-gap: 2px !important;

    margin-top: 8px !important;
    line-height: 1.75 !important;
}

/* 上下布局时，提示条不要顶到最底部 */
.手册轮播卡片.手册布局上下 .手册提示条 {
    margin-top: 12px !important;
    max-width: 850px !important;
}

/* 上下布局的图片区：横向铺开，降低高度 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 {
    width: 100% !important;
    height: 150px !important;

    padding: 12px 16px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 18px !important;

    background:
        radial-gradient(circle at 50% 40%,
            rgba(37, 99, 235, 0.18),
            rgba(15, 23, 42, 0.70) 46%,
            rgba(2, 6, 23, 0.94) 100%) !important;
}

/* 上下布局时，图片完整显示，不变形 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 img {
    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 10px !important;
}

/* 上下布局时，图示说明放到右下角，不挡主体 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 figcaption {
    left: auto !important;
    right: 18px !important;
    bottom: 14px !important;

    transform: none !important;

    max-width: 60% !important;
}

/* =========================================================
   修复：使用手册上下布局图片框居中与溢出问题
   适用于第4步“运行仿真”这类横向长图
   ========================================================= */

/* 上下布局的整张卡片：防止内部任何元素撑出卡片 */
.手册轮播卡片.手册布局上下 {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
    overflow: hidden !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;

    justify-items: center !important;
    align-items: stretch !important;

    padding: 26px 30px 24px !important;
}

/* 上下布局文字区：铺满但不溢出 */
.手册轮播卡片.手册布局上下 .手册卡片文字区 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
}

/* 上下布局图片区：重点修复居中和溢出 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 {
    position: relative !important;

    /* 不要让图片框贴满整个卡片，留出左右呼吸感 */
    width: min(100%, 820px) !important;
    max-width: 100% !important;

    /* 居中 */
    justify-self: center !important;
    margin: 0 auto !important;

    /* 盒模型必须包含 padding，防止实际宽度超出 */
    box-sizing: border-box !important;

    height: 160px !important;
    padding: 12px 18px 30px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 18px !important;
    overflow: hidden !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;

    background:
        radial-gradient(circle at 50% 42%,
            rgba(37, 99, 235, 0.20),
            rgba(15, 23, 42, 0.70) 48%,
            rgba(2, 6, 23, 0.94) 100%) !important;

    border: 1px solid rgba(147, 197, 253, 0.24) !important;

    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.16),
        0 14px 30px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* 修复图片区内部背景层，避免伪元素撑宽 */
.手册轮播卡片.手册布局上下 .手册卡片图片区::before {
    content: "" !important;

    position: absolute !important;
    inset: 10px 14px 28px 14px !important;

    width: auto !important;
    height: auto !important;

    border-radius: 14px !important;
    box-sizing: border-box !important;

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.68),
            rgba(2, 6, 23, 0.58)) !important;

    border: 1px solid rgba(96, 165, 250, 0.14) !important;

    pointer-events: none !important;
}

/* 上下布局图片：完整显示，不拉伸，不裁切，不撑出容器 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 img {
    position: relative !important;
    z-index: 1 !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    border-radius: 10px !important;

    transform: none !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.28),
        0 0 14px rgba(59, 130, 246, 0.12) !important;
}

/* 上下布局图注：居中放在底部，不参与布局，不撑宽 */
.手册轮播卡片.手册布局上下 .手册卡片图片区 figcaption {
    position: absolute !important;

    left: 50% !important;
    right: auto !important;
    bottom: 8px !important;

    transform: translateX(-50%) !important;

    width: auto !important;
    max-width: calc(100% - 40px) !important;

    padding: 4px 12px !important;

    border-radius: 999px !important;

    color: rgba(219, 234, 254, 0.82) !important;

    background: rgba(2, 6, 23, 0.58) !important;
    border: 1px solid rgba(147, 197, 253, 0.20) !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;

    backdrop-filter: blur(8px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(130%) !important;

    pointer-events: none !important;
}

/* 防止轮播区自身造成横向溢出 */
.手册轮播区 {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* 防止主内容区横向滚动 */
.使用手册内容 {
    overflow-x: hidden !important;
}

.下载手册按钮,
.手册开始探索按钮 {
    min-width: 150px;
    height: 36px;

    padding: 0 18px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
    text-decoration: none;

    white-space: nowrap;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.下载手册按钮 {
    color: rgba(219, 234, 254, 0.96);

    border: 1px solid rgba(147, 197, 253, 0.36);

    background:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.70),
            rgba(30, 41, 59, 0.56));
}

.手册开始探索按钮 {
    color: #e0f2fe;

    border: 1px solid rgba(125, 211, 252, 0.54);

    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.96),
            rgba(14, 165, 233, 0.84));

    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.下载手册按钮:hover,
.手册开始探索按钮:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
/* ============================================================
   返回初始界面按钮 + 手机使用手册适配（仅手机）
   ============================================================ */
.返回初始界面按钮 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #bfdbfe;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(96, 165, 250, 0.35);
    cursor: pointer;
    margin-bottom: 6px;
    transition: all 0.2s;
}
.返回初始界面按钮:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(96, 165, 250, 0.6);
}

/* 手机版使用手册适配 */
@media (max-width: 900px) {
    .使用手册弹窗 {
        width: 94vw !important;
        max-width: 94vw !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }
    .使用手册内容 {
        flex-direction: column !important;
        overflow-y: visible !important;
    }
    .手册轮播区 {
        flex-direction: column !important;
    }
    .手册轮播卡片 {
        flex-direction: column !important;
    }
    .手册卡片图片区 img {
        width: 100% !important;
        height: auto !important;
    }
    .使用流程总览 {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .使用手册头部 h2 { font-size: 16px !important; }
    .使用手册底部 {
        flex-direction: column !important;
        gap: 8px !important;
    }
}

/* 手机手册：强制可上下滚动、完整显示 */
@media (max-width: 900px) {
    .使用手册遮罩 {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 0 !important;
    }
    .使用手册弹窗 {
        position: relative !important;
        width: 94vw !important;
        max-width: 94vw !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        padding: 12px !important;
        margin: 0 auto !important;
    }
    .使用手册内容 {
        max-height: none !important;
        overflow: visible !important;
    }
    .手册轮播卡片 { gap: 8px !important; }
    .手册卡片图片区 { width: 100% !important; }
    .手册卡片图片区 img {
        width: 100% !important;
        height: auto !important;
        max-height: 40vh !important;
        object-fit: contain !important;
    }
    .使用手册头部 { flex-wrap: wrap !important; }
}

/* 手机手册：强制单列，文字完整换行显示 */
@media (max-width: 900px) {
    .手册轮播卡片.手册布局左右,
    .手册轮播卡片.手册布局上下 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 12px !important;
        padding: 14px !important;
        min-height: auto !important;
    }
    .手册轮播卡片 .手册卡片文字区,
    .手册轮播卡片 .手册卡片图片区 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }
    .手册卡片文字区 p, .手册卡片文字区 li, .手册当前说明 {
        white-space: normal !important;
        line-height: 1.6 !important;
        font-size: 13px !important;
    }
    .手册卡片图片区 img {
        width: 100% !important;
        max-width: 100% !important;
    }
    .手册轮播区 {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .手册切换箭头 {
        position: static !important;
        align-self: center !important;
    }
}

/* 手机手册：左右箭头分置两侧 */
@media (max-width: 900px) {
    .手册轮播区 {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .手册左箭头 {
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
    }
    .手册右箭头 {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
    }
    .手册轮播卡片 {
        padding-left: 36px !important;
        padding-right: 36px !important;
    }
}


/* ============================================================
   移动端性能优化：关闭重特效，防止未运行就卡
   ============================================================ */
@media (max-width: 900px) {
    body { animation: none !important; }
    .左侧面板, .右侧面板, .画布容器, .中心控制栏, .功能卡片,
    .启动页预览屏, .提示弹窗, .使用手册弹窗, .使用手册遮罩 {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .启动页背景光晕 { animation: none !important; opacity: 0.4 !important; }
    .启动页粒子层 { display: none !important; }
    .启动页星云层 { opacity: 0.5 !important; }
    #三体仿真画布 { animation: none !important; }
    .左侧面板, .右侧面板, .画布容器, .功能卡片, .中心控制栏 {
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }
    .启动页预览屏 { animation: none !important; }
}

/* ============================================================
   手机版统一优化
   ============================================================ */
/* 画布：禁止浏览器手势抢占，双指缩放交给JS */
#三体仿真画布 {
    touch-action: none !important;
    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 900px) {
    /* 1. 上下控制面板居中，与画布、天体初始参数面板中心对齐 */
    .左侧面板,
    .右侧面板 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
        justify-self: center !important;
    }

    /* 2. 重置视角5按钮放到画布下方 */
    .画布容器 .画布视角控制 {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        margin: 10px auto 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }
}
