:root { --bg: #0f172a; --card: #1e293b; --accent: #3b82f6; --text: #f8fafc; --text-dim: #94a3b8; --danger: #ef4444; } body { margin: 0; font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text); display: flex; justify-content: center; padding: 2rem; } .container { max-width: 800px; width: 100%; } header { text-align: center; margin-bottom: 3rem; } header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; background: linear-gradient(to right, #60a5fa, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } header p { color: var(--text-dim); } .add-stream { background: var(--card); padding: 1.5rem; border-radius: 1rem; margin-bottom: 2rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .input-group { display: flex; gap: 1rem; } input { flex: 1; background: #0f172a; border: 1px solid #334155; padding: 0.75rem 1rem; border-radius: 0.5rem; color: white; font-size: 0.9rem; } input:focus { outline: none; border-color: var(--accent); } button { background: var(--accent); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: transform 0.1s; } button:active { transform: scale(0.95); } .stream-list { display: flex; flex-direction: column; gap: 1rem; max-height: 500px; overflow-y: auto; padding-right: 0.5rem; } .stream-item { background: var(--card); padding: 1rem; border-radius: 1rem; display: flex; align-items: center; gap: 1.5rem; } .stream-item img { width: 100px; height: 56px; border-radius: 0.5rem; object-fit: cover; } .stream-info { flex: 1; } .stream-info h3 { margin: 0; font-size: 1.1rem; } .stream-info code { color: var(--text-dim); font-size: 0.8rem; } .stream-actions { display: flex; gap: 0.5rem; } .copy-item-btn { background: #6366f1; } .copy-item-btn:hover { background: #4f46e5; } .test-btn { background: #334155; } .delete-btn { background: #450a0a; color: #f87171; } .download-btn { background: #10b981; } .download-btn:hover { background: #059669; } footer { margin-top: 3rem; } .m3u-link-box { background: #1e293b; border: 1px dashed #334155; padding: 1.5rem; border-radius: 1rem; text-align: center; } .link-copy { display: flex; gap: 0.5rem; margin-top: 1rem; } .link-copy input { background: #0f172a; } .options { margin: 1rem 0; text-align: left; background: #0f172a55; padding: 0.5rem 1rem; border-radius: 0.5rem; } .options label { font-size: 0.85rem; color: var(--text-dim); cursor: pointer; display: flex; align-items: center; gap: 0.5rem; } .hint { font-size: 0.75rem; color: var(--text-dim); margin-top: 1rem; font-style: italic; opacity: 0.8; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .section-header h2 { font-size: 1.25rem; } #channelCount { color: var(--text-dim); font-weight: 400; }