﻿/* 核心动画与逻辑定位样式 - 严禁修改 ID 和 宽高 */
div#total { width: 900px; height: 500px; border: 2px solid #3B82F6; border-radius: 12px; box-sizing: border-box; overflow: hidden; position: relative !important; background: #fff; }
div#canvas { width: 600px; height: 500px; background-color: #f8f9fa; }
div#panel { left: 600px; width: 300px; height: 500px; background-color: #ffffff; border-left: 1px solid #e2e8f0; } 
.pos1 { left: 10px; }
.pos2 { left: 50px; }
button.b1 { margin-left: 15px; width: 125px; background-color: #3B82F6; color: white; border: none; border-radius: 4px; padding: 6px; cursor: pointer; font-weight: 600; transition: background 0.2s; }
button.b1:hover { background-color: #2563EB; }
button.b2 { margin-left: 15px; width: 35px; background-color: #fff; border: 1px solid #cbd5e1; border-radius: 4px; padding: 4px; cursor: pointer; transition: all 0.2s; }
button.b2:hover { border-color: #3B82F6; color: #3B82F6; }
button.b3 { margin-left: 230px; width: 35px; background-color: #FBBF24; color: #78350F; border: none; border-radius: 4px; padding: 4px; cursor: pointer; font-weight: 700; }
button.b4 { margin-left: 15px; width: 35px; background-color: #EEF2FF; color: #3730A3; border: 1px solid #C7D2FE; border-radius: 4px; padding: 4px; cursor: pointer; font-weight: 700; }
select.s1 { left: 130px; width: 160px; border: 1px solid #cbd5e1; border-radius: 4px; padding: 2px; background: #fff; }

/* 全球顶级教育 UI 样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Segoe UI", "Microsoft YaHei", -apple-system, sans-serif;
    background: #F1F5F9;
    color: #1E293B;
    line-height: 1.8;
    }
.container { margin: 20px; }
.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 50px;
    border: 1px solid #E2E8F0;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #64748B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: all 0.2s;
}
.back-btn:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #CBD5E1;
}
h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #0F172A;
    letter-spacing: -0.025em;
}
h2 {
    font-size: 20px;
    color: #0F172A;
    margin: 30px 0 15px;
    font-weight: 700;
}
p {
    font-size: 17px;
    color: #334155;
    margin-bottom: 20px;
    text-align: justify;
}
.highlight-box {
    background: #F8FAFC;
    border-left: 4px solid #3B82F6;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}
.highlight-box p { margin-bottom: 0; font-size: 16px; color: #475569; }
ul {
    padding-left: 25px;
    margin-bottom: 20px;
}
li {
    font-size: 16px;
    color: #475569;
    margin-bottom: 8px;
}

/* 仿真器容器适配 */
.sim-wrapper {
    justify-content: center;
    margin: 40px 0;
    }
#total {
    transform-origin: center top;
    flex-shrink: 0;
}

/* 响应式媒体查询 */
@media (max-width: 950px) {
    #total { /* scale removed */ }
}
@media (max-width: 850px) {
    #total { /* scale removed */ }
    .card { padding: 30px; }
}
@media (max-width: 720px) {
    #total { /* scale removed */ }
    h1 { font-size: 24px; }
}
@media (max-width: 480px) {
    #total { /* scale removed */ }
    body { padding: 20px 10px; }
}
