/* 状态监控面板样式 */
.status-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 10000;
    font-size: 14px;
    max-width: 300px;
    border: 1px solid #40e0d0;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
    backdrop-filter: blur(5px);
    display: none;
}

.status-panel.show-debug-panel {
    display: block; 
}

.region-indicator {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff8c00;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    border: 1px solid #40e0d0;
    display: none;
}

.region-indicator.show-debug-panel {
    display: block; 
}

.status-item {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
}

.status-label {
    color: #a0d2eb;
}

.status-value {
    color: #ff8c00;
    font-weight: bold;
}

.retry-btn {
    background: linear-gradient(45deg, #ff8c00, #ff0080);
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.4);
}

.img-loading {
    position: relative;
    min-height: 50px;
    background: rgba(10, 25, 47, 0.3);
    border-radius: 4px;
}

.img-loading::after {
    content: "加载中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #40e0d0;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.img-error {
    border: 2px solid rgba(255, 50, 50, 0.5);
    animation: pulse 1.5s infinite;
}
