.re-unified-ui {
    background-color: #0a0f1a;
    color: #b0bec5;
    font-family: 'Courier New', 'Roboto Mono', '新魏', 'SimWei', 'STWei', '魏体', cursive;
    padding: 12px;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 30, 60, 0.8) inset, 0 0 15px #000;
    line-height: 1.5;
    font-size: 16px;           /* 原14px → 16px */
    position: relative;
    overflow: hidden;
}

.re-unified-ui .sys-panel {
    background-color: rgba(10, 20, 30, 0.9);
    border: 1px solid #1e3a5f;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(2px);
}

.re-unified-ui .sys-panel > summary {
    background: linear-gradient(90deg, #0f1f2f 0%, #1a2a3a 100%);
    color: #8ab4f8;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1e3a5f;
    list-style: none;
    text-shadow: 0 0 3px rgba(138, 180, 248, 0.4);
    transition: background 0.2s;
    font-size: 16px;           /* 新增，与全局保持一致 */
}

.re-unified-ui .sys-panel > summary::-webkit-details-marker {
    display: none;
}

.re-unified-ui .sys-panel[open] > summary {
    border-bottom: 1px solid #4afcff;
    background: linear-gradient(90deg, #1a2f3f 0%, #1f3a4a 100%);
}

.re-unified-ui .panel-content {
    padding: 16px;
    border-top: none;
    font-size: 15px;           /* 原继承14px → 明确15px */
}

.re-unified-ui .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.re-unified-ui .info-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 10px;
    border-left: 3px solid #2c5282;
    border-radius: 0 4px 4px 0;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .label {
    color: #78909c;
    font-weight: 600;
    margin-right: 6px;
    font-size: inherit;        /* 继承父级 */
}

.re-unified-ui .label.warning { color: #e53935; }
.re-unified-ui .label.highlight { color: #4afcff; }

.re-unified-ui .value {
    color: #e0e0e0;
}

.re-unified-ui .status-block {
    display: flex;
    gap: 20px;
    margin: 12px 0;
    flex-wrap: wrap;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .status-item .status-val.fine { color: #81c784; }
.re-unified-ui .status-item .status-val.danger { color: #e53935; }

.re-unified-ui .desc-block,
.re-unified-ui .equip-block {
    margin-top: 12px;
    padding: 10px;
    background: rgba(0, 20, 40, 0.5);
    border-left: 2px solid #2c3e50;
    border-radius: 0 4px 4px 0;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .item-list {
    margin: 8px 0 0 0;
    padding-left: 20px;
    color: #b0bec5;
    font-size: 14px;           /* 略小于正文，保持层级 */
}

.re-unified-ui .item-list .item-name {
    color: #bbdefb;
    font-weight: bold;
}

.re-unified-ui .map-view {
    background: #030b14;
    padding: 0;
    border: 1px solid #1e3a5f;
}

.re-unified-ui .viewport-3d {
    perspective: 800px;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #0a192f 0%, #020c1b 100%);
    border: 1px solid #1e3a8a;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.re-unified-ui .viewport-3d::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(74, 252, 255, 0.6) 40%,
        rgba(74, 252, 255, 0.6) 60%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(74, 252, 255, 0.8);
    pointer-events: none;
    z-index: 5;
    animation: scan-map 4s linear infinite;
}

@keyframes scan-map {
    0% { top: -10%; }
    100% { top: 110%; }
}

.re-unified-ui .hologram-grid {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg);
    background-image:
        linear-gradient(rgba(74, 252, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 252, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    border: 2px solid rgba(74, 252, 255, 0.3);
    box-shadow: 0 0 30px rgba(74, 252, 255, 0.2);
    animation: grid-float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes grid-float {
    0%, 100% { transform: rotateX(60deg) rotateZ(-45deg) translateZ(0px); }
    50% { transform: rotateX(60deg) rotateZ(-45deg) translateZ(15px); }
}

.re-unified-ui .node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(-90deg);
    transform-style: preserve-3d;
    box-shadow: 0 0 15px currentColor;
}

.re-unified-ui .node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    border: 1px solid currentColor;
    animation: ripple 2s infinite;
}

.re-unified-ui .node-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid currentColor;
    pointer-events: none;
    color: #eee;
}

.re-unified-ui .safe { color: #81c784; background: #81c784; }
.re-unified-ui .danger { color: #e53935; background: #e53935; }
.re-unified-ui .objective { color: #fdd835; background: #fdd835; }
.re-unified-ui .unknown { color: #b0bec5; background: #b0bec5; }

@keyframes ripple {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 40px; height: 40px; opacity: 0; }
}

.re-unified-ui .data-link {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: link-flow 1.5s linear infinite;
}

.re-unified-ui .link-1 {
    top: 20%; left: 30%; width: 50px;
    transform-origin: left center; transform: rotate(45deg);
}

.re-unified-ui .link-2 {
    top: 40%; left: 50%; width: 70px;
    transform-origin: left center; transform: rotate(15deg);
}

@keyframes link-flow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.re-unified-ui .action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.re-unified-ui .action-list li {
    padding: 10px 15px;
    margin-bottom: 8px;
    background: rgba(0, 30, 60, 0.5);
    border-left: 4px solid #4afcff;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .action-list li:hover {
    background: rgba(20, 60, 100, 0.7);
    transform: translateX(5px);
}

.re-unified-ui .action-list .safe-text { border-color: #81c784; color: #81c784; }
.re-unified-ui .action-list .danger-text { border-color: #e53935; color: #e53935; }
.re-unified-ui .action-list .obj-text { border-color: #fdd835; color: #fdd835; }

.re-unified-ui .log-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.re-unified-ui .log-list li {
    padding: 6px 10px;
    border-bottom: 1px dashed #2c3e50;
    color: #b0bec5;
    font-size: 14px;           /* 原13px → 14px */
}

.re-unified-ui .log-list li:last-child {
    border-bottom: none;
}

.re-unified-ui .inventory-header {
    margin-bottom: 10px;
    padding: 5px;
    background: rgba(0, 40, 80, 0.4);
    border-radius: 4px;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .threat-block,
.re-unified-ui .objective-block {
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid;
    font-size: 15px;           /* 新增 */
}

.re-unified-ui .threat-block { border-color: #e53935; }
.re-unified-ui .objective-block { border-color: #4afcff; }

.re-unified-ui .intel-section {
    overflow-x: auto;
}

.re-unified-ui .intel-title {
    margin: 15px 0 8px 0;
    color: #8ab4f8;
    font-size: 16px;           /* 原15px → 16px */
    border-bottom: 1px solid #1e3a5f;
    padding-bottom: 3px;
}

.re-unified-ui .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;           /* 原13px → 14px */
    background: rgba(0, 10, 20, 0.6);
    min-width: 400px;
}

.re-unified-ui .data-table th,
.re-unified-ui .data-table td {
    border: 1px solid #1e3a5f;
    padding: 8px;
    text-align: left;
    color: #e0e0e0;
}

.re-unified-ui .data-table th {
    background: #0f1f2f;
    color: #8ab4f8;
    font-weight: bold;
    font-size: 14px;           /* 新增 */
}

@media (max-width: 600px) {
    .re-unified-ui {
        padding: 8px;
        font-size: 15px;       /* 原13px → 15px */
    }
    .re-unified-ui .info-grid {
        grid-template-columns: 1fr;
    }
    .re-unified-ui .viewport-3d {
        height: 250px;
    }
    .re-unified-ui .hologram-grid {
        width: 220px;
        height: 220px;
        background-size: 20px 20px;
    }
    .re-unified-ui .node-label {
        font-size: 10px;
        top: -20px;
    }
    .re-unified-ui .action-list li {
        padding: 8px 12px;
        font-size: 14px;       /* 新增 */
    }
    .re-unified-ui .data-table {
        min-width: 300px;
        font-size: 13px;       /* 保证手机端表格不溢出 */
    }
    .re-unified-ui .re-main-body {
        font-size: 16px;       /* 原15px → 16px */
        padding: 16px;
    }
}

.re-unified-ui .re-main-body {
    background: rgba(0, 20, 40, 0.7);
    border: 1px solid #1e3a5f;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 16px;
    color: #e0e0e0;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    font-size: 17px;           /* 原15px → 17px */
}