* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    background: #000;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
}

.debug-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

.debug-panel h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ff6b6b;
}

.debug-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.debug-controls label {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#debug-time-display {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #4ecdc4;
    margin-left: 10px;
}

#debug-time-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#debug-time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4ecdc4;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#debug-time-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4ecdc4;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .debug-panel {
        top: 10px;
        right: 10px;
        padding: 15px 20px;
        min-width: 260px;
    }
    
    .debug-panel h2 {
        font-size: 18px;
    }
    
    #debug-time-display {
        font-size: 20px;
    }
}
