:root {
    --bg: #0f172a;
    --card: #1e293b;
    --accent: #22c55e;
    --text: #f8fafc;
}

body, html { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--text); font-family: sans-serif; overflow-x: hidden; }

#admin-trigger { position: fixed; top: 0; right: 0; width: 80px; height: 80px; background: transparent; z-index: 1000; }

.main-header { text-align: center; padding: 50px 20px 20px; }
.logo { font-size: 32px; font-weight: 900; }
.logo span { color: var(--accent); }
.main-header p { color: #94a3b8; margin-top: 10px; font-size: 14px; }

.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding: 20px; max-width: 1200px; margin: 0 auto; }
.channel-card { background: var(--card); border-radius: 15px; overflow: hidden; cursor: pointer; border: 1px solid #334155; transition: 0.3s; }
.channel-card:hover { border-color: var(--accent); transform: translateY(-5px); }

.thumb { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background-color: #000; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.info { padding: 15px; }
.info h3 { margin: 0; font-size: 18px; color: #fff; }
.info span { color: var(--accent); font-size: 12px; font-weight: bold; }

#player-view { width: 100%; height: 100%; background: #000; position: fixed; top: 0; left: 0; z-index: 2000; }
iframe { width: 100%; height: 100%; border: none; }
.back-btn { position: absolute; top: 20px; left: 20px; z-index: 2100; padding: 10px 15px; background: rgba(0,0,0,0.7); color: #fff; border: 1px solid #fff; border-radius: 8px; cursor: pointer; }
#fs-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2050; display: flex; justify-content: center; align-items: center; flex-direction: column; }
