body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
    color: #333; 
}
.controls { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 8px; 
} 
input[type="text"] { 
    flex: 1; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 16px; 
}
button { 
    padding: 10px 20px; 
    background-color: #007bff; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background 0.2s; 
    white-space: nowrap; 
}
button:hover { 
    background-color: #0056b3; 
}
        
/* 提示文字样式 */
.tips { 
    font-size: 13px; 
    color: #666; 
    margin-bottom: 20px; 
    line-height: 1.5; 
    padding: 0 5px; 
}
.tips p { 
    margin: 0; 
}
.tips a { 
    color: #007bff; 
    text-decoration: none; 
    font-weight: 500; 
}
.tips a:hover { 
    text-decoration: underline; 
}

video { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    background-color: #000; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}
        
/* 数据大盘样式 */
.stats-dashboard { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 15px; 
    padding: 15px; 
    background: #e3f2fd; 
    border-radius: 8px; 
    border: 1px solid #bbdefb; 
    font-weight: 500; 
}
.stat-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.stat-label { 
    font-size: 12px; 
    color: #555; 
    margin-bottom: 4px; 
}
.stat-value { 
    font-size: 18px; 
    color: #0d47a1; 
    font-family: "Courier New", Courier, monospace; 
    font-weight: bold; 
}

.log-container { 
    margin-top: 15px; 
    border: 1px solid #eee; 
    border-radius: 8px; 
    background: #f8f9fa; 
}
.log-header { 
    padding: 10px 15px; 
    background: #e9ecef; 
    border-bottom: 1px solid #ddd; 
    font-weight: bold; 
    border-top-left-radius: 8px; 
    border-top-right-radius: 8px; 
}
#log { 
    height: 250px; 
    overflow-y: auto; 
    padding: 15px; 
    margin: 0; 
    font-family: "Courier New", Courier, monospace; 
    font-size: 13px; 
    line-height: 1.6; 
    color: #444; 
}
.log-error { color: #dc3545; }
.log-success { color: #28a745; }
.log-info { color: #0056b3; }