/* =========================================
   Omnitrix OS v4.0 - 全息终端 (终极版)
   ========================================= */

/* 全局容器：模拟超能仪主显示屏 */
.master-terminal, .status-panel {
    font-family: 'Consolas', 'Monaco', 'PingFang SC', sans-serif;
    background: #050806;
    background-image: 
        radial-gradient(circle, rgba(57, 255, 20, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 20px 20px, 20px 20px;
    border: 2px solid #1a4a28;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(57, 255, 20, 0.1);
}

/* 顶部状态扫描线 */
.master-terminal::before {
    content: "● OMNITRIX OS v4.0 // LINKED TO PRIMUS";
    display: block;
    color: #39ff14;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #39ff14;
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
    padding-bottom: 5px;
}

/* 正文区域美化：数据流解码区 */
text {
    display: block !important;
    background: rgba(10, 20, 14, 0.9) !important;
    border: 1px solid rgba(57, 255, 20, 0.3) !important;
    border-left: 5px solid #39ff14 !important;
    border-radius: 4px 15px 15px 4px;
    padding: 22px !important;
    margin: 20px 0 !important;
    color: #e6f7e9 !important;
    font-size: 16px !important;
    line-height: 2.0 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6) inset;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 战力徽章 */
.t-level {
    display: inline-block;
    background: #1a4a28;
    color: #39ff14;
    border: 1px solid #39ff14;
    border-radius: 3px;
    padding: 0px 6px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
    margin: 0 2px;
}

/* 状态栏折叠块 */
.sandbox-ui details, .status-panel details {
    background: rgba(20, 40, 25, 0.7);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 8px;
    margin-bottom: 12px;
}

.sandbox-ui summary, .status-panel summary {
    padding: 12px 18px;
    color: #39ff14;
    font-weight: bold;
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.2) 0%, transparent 100%);
    cursor: pointer;
    outline: none;
}

.status-panel b { color: #39ff14; font-size: 13px; }

/* 记忆区表格美化 */
.memory-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 10px;
}
.memory-table th { color: #39ff14; border-bottom: 1px solid #1a4a28; padding: 5px; text-align: left; }
.memory-table td { padding: 8px 5px; border-bottom: 1px solid rgba(57, 255, 20, 0.1); color: #c8d6ce; }

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .master-terminal, .status-panel { padding: 10px 4px !important; }
    text { padding: 15px 10px !important; font-size: 15px !important; }
}