/* --- UI Layout --- */
:root {
    --accent: #ff6b6b;
    --dark-bg: #0b1220;
    --card-bg: #161d2b;
}

body { 
    background: var(--dark-bg); 
    color: #fff; 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 15px;
}

.video-title { 
    margin: 15px 0; font-size: 1.1rem; color: var(--accent); font-weight: bold; 
    text-align: center; max-width: 720px;
}

.player-container { 
    width: 100%; max-width: 720px; aspect-ratio: 720 / 1280; 
    background: #000; border-radius: 12px; overflow: hidden;
    position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

video { width: 100%; height: 100%; object-fit: contain; }

.action-bar { display: flex; gap: 10px; margin: 15px 0; width: 100%; max-width: 720px; }
.btn { flex: 1; padding: 14px; border-radius: 8px; border: none; font-weight: bold; cursor: pointer; text-align: center; text-decoration: none; font-size: 0.95rem; }
.btn-main { background: var(--accent); color: white; }
.btn-copy { background: #2d3748; color: white; }

/* --- Suggestions List --- */
.suggestions-list { width: 100%; max-width: 720px; margin-top: 20px; }
.suggestion-header { font-size: 1rem; color: #718096; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }

.next-card {
    background: var(--card-bg); 
    padding: 10px; border-radius: 10px;
    display: flex; align-items: center; gap: 12px; 
    cursor: pointer; margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}
.next-card:hover { background: #1f2937; }

.next-thumb { width: 100px; height: 65px; object-fit: cover; border-radius: 5px; background: #000; }
.next-info .next-title { font-size: 0.9rem; font-weight: 500; color: #e2e8f0; line-height: 1.2; }

#statusOverlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 10; color: #eee; }

@media (max-height: 900px) { .player-container { height: 70vh; aspect-ratio: unset; } }