:root { --bg-main: #0e0e10; --bg-sidebar: #18181b; --bg-card: #1f1f23; --accent: #9146FF; --accent-hover: #772ce8; --text: #efeff1; --text-secondary: #adadb8; --success: #00c853; --error: #ff4444; --warning: #ffab00; /* Soft border that adapts to theme — used by post-4.5.x UI additions (filter input, sort select, bulk bar) so they don't visually break in light theme. */ --border-soft: rgba(255, 255, 255, 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg-main); color: var(--text); height: 100vh; overflow: hidden; } .app { display: flex; height: 100vh; } /* Sidebar */ .sidebar { width: 300px; background: var(--bg-sidebar); display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,0.1); overflow-y: auto; overflow-x: hidden; } .logo { padding: 20px; font-size: 18px; font-weight: bold; color: var(--accent); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); } .logo svg { width: 28px; height: 28px; fill: currentColor; } .nav { padding: 15px; } .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 6px; cursor: pointer; color: var(--text-secondary); transition: all 0.2s; margin-bottom: 4px; font-size: 14px; } .nav-item:hover { background: rgba(145, 71, 255, 0.15); color: var(--text); } .nav-item.active { background: var(--accent); color: white; } .nav-item:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.55); } .nav-item svg { width: 20px; height: 20px; } .section-title { font-size: 11px; text-transform: uppercase; color: var(--text-secondary); padding: 15px 15px 8px; letter-spacing: 0.5px; } .streamers { flex: 1; overflow-y: auto; padding: 0 10px; } .streamer-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; cursor: pointer; color: var(--text-secondary); transition: all 0.2s; font-size: 14px; } .streamer-item:hover { background: rgba(255,255,255,0.05); color: var(--text); } .streamer-item:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(145, 70, 255, 0.55); } .streamer-item.active { background: linear-gradient(90deg, rgba(145, 71, 255, 0.28) 0%, rgba(145, 71, 255, 0.08) 100%); color: var(--text); border-left: 3px solid var(--accent); box-shadow: inset 0 0 0 1px rgba(145, 71, 255, 0.18); position: relative; } .streamer-item.active::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; background: var(--accent); border-radius: 2px 0 0 2px; opacity: 0.85; } .streamer-item.active .streamer-name { font-weight: 600; } /* ============================================ VOD BULK-ACTION BAR — slides in when 1+ VOD is selected ============================================ Lives between the filter row and the VOD grid. Used to be all inline-styled in HTML; extracted to a class so the slide-in animation has somewhere to live and the styling stays consistent with the rest of the action surfaces. */ .vod-bulk-bar { align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(135deg, rgba(145, 70, 255, 0.15) 0%, rgba(145, 70, 255, 0.08) 100%); border: 1px solid rgba(145, 70, 255, 0.42); border-radius: 8px; margin-bottom: 12px; flex-wrap: wrap; box-shadow: 0 4px 16px rgba(145, 70, 255, 0.10); /* Animation fires whenever the JS flips display:none -> display:flex, because Animation events restart on each display change. */ animation: vod-bulk-bar-slide 0.22s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes vod-bulk-bar-slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .vod-bulk-count { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: 0.2px; } .vod-bulk-spacer { flex: 1; } /* ============================================ CLIP-CUTTER MODAL — themed to match the rest of the app ============================================ This modal had a stack of hard-coded #2b2b2b / #E5A00D / #888 / #333 colors from before the Twitch-purple theme was a thing. Extracted to classes and re-themed using CSS vars + accent. */ .clip-modal { max-width: 500px; background: var(--bg-card); } .clip-modal-title { text-align: center; margin-bottom: 20px; color: var(--text); } .clip-modal-field { margin-bottom: 15px; } .clip-modal-label { display: block; margin-bottom: 6px; color: var(--text); font-size: 13px; font-weight: 500; } .clip-modal-meta { color: var(--text-secondary); font-size: 12px; } .clip-modal-time-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .clip-modal-time-input { width: 100px; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: 6px; padding: 6px 10px; color: var(--text); font-family: 'Consolas', 'Segoe UI Mono', monospace; text-align: center; } .clip-modal-part-input { width: 100px; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 12px; color: var(--text); } .clip-modal-template-input { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 12px; color: var(--text); font-family: 'Consolas', 'Segoe UI Mono', monospace; } .clip-modal-duration { text-align: center; margin-bottom: 20px; padding: 10px; background: rgba(0, 200, 83, 0.06); border: 1px solid rgba(0, 200, 83, 0.18); border-radius: 6px; } .clip-modal-duration-value { color: #00c853; font-weight: 600; font-family: 'Consolas', 'Segoe UI Mono', monospace; font-size: 14px; } .clip-modal-hint { color: var(--text-secondary); font-size: 12px; margin-top: 6px; line-height: 1.4; } /* .clip-template-lint was the old per-modal rule for the clip-cutter template lint badge. Superseded by the shared .template-lint class (with .ok / .warn modifiers driven from var(--success) / var(--error)). Class kept as a no-op alias in case any external reference still uses it. */ .clip-template-lint { font-size: 12px; margin-top: 4px; } .clip-template-wrap { margin-top: 10px; } .clip-radio-row { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 8px; padding: 6px 8px; border-radius: 6px; transition: background 0.15s; } .clip-radio-row:hover { background: rgba(145, 70, 255, 0.06); } .clip-radio-label { color: var(--text-secondary); font-size: 13px; flex: 1; transition: color 0.15s; } .clip-radio-row:has(input[type="radio"]:checked) .clip-radio-label { color: var(--text); font-weight: 500; } .clip-modal-actions { text-align: center; margin-top: 10px; } /* ============================================ EVENTS / CHAT VIEWER MODALS — shared structure ============================================ Both viewers used to roll their own inline-styled list container + status row. Extracted into a small shared family so the look stays consistent if either one is touched independently later. */ .viewer-modal { display: flex; flex-direction: column; } .viewer-modal-events { max-width: 700px; max-height: 80vh; } .viewer-modal-chat { max-width: 800px; height: 80vh; } .viewer-modal-title { margin-top: 0; } .viewer-modal-status { color: var(--text-secondary); font-size: 12px; margin-bottom: 8px; } .viewer-modal-status-inline { margin-bottom: 0; } .viewer-modal-list { flex: 1; overflow-y: auto; background: var(--bg-main); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px; } .viewer-modal-list-chat { font-family: 'Consolas', 'Segoe UI Mono', monospace; font-size: 12px; } .viewer-modal-filter-row { display: flex; margin-bottom: 8px; gap: 8px; flex-wrap: wrap; align-items: center; } .viewer-modal-filter-input { flex: 1; min-width: 160px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; padding: 6px 10px; color: var(--text); font-size: 13px; } /* ============================================ FILTER INPUTS — shared family for search/filter boxes ============================================ Used by the primary VOD filter above the grid, the archive search, and (in a compact variant) the sidebar streamer-list filter that only shows once the list crosses the threshold. */ .filter-input { flex: 1; min-width: 180px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 12px; color: var(--text); font-size: 13px; } .filter-input.compact { width: calc(100% - 16px); margin: 0 8px 8px; padding: 4px 8px; border-radius: 4px; font-size: 12px; flex: none; min-width: 0; } .filter-input.flex-1-1-240 { flex: 1 1 240px; min-width: 200px; border-radius: 4px; padding: 6px 10px; } /* Monospace input utility — for filename-template fields and similar places where the value is expected to be a code-shaped string. */ .input-monospace { font-family: 'Consolas', 'Segoe UI Mono', monospace; } .streamer-item .remove { margin-left: auto; opacity: 0; color: var(--error); cursor: pointer; } .streamer-item:hover .remove, .streamer-item .remove:focus-visible { opacity: 1; } .streamer-item .remove:focus-visible, .queue-item .remove:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255, 70, 70, 0.5); border-radius: 3px; } /* Keyboard focus rings for the AUTO / VOD / REC chip buttons. Each picks up its own accent: AUTO + VOD use semantic green/blue tints matching their active state, REC the red of the live dot. */ .streamer-auto:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.55); } .streamer-vod:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.55); } .streamer-rec:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.55); } /* Live-dot — red pulsing indicator shown next to a streamer's name in the sidebar when they are currently broadcasting on Twitch. */ .streamer-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e91916; flex-shrink: 0; animation: streamer-live-pulse 1.6s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(233, 25, 22, 0.55); } @keyframes streamer-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 25, 22, 0.55); } 70% { box-shadow: 0 0 0 6px rgba(233, 25, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 25, 22, 0); } } .streamer-name.is-live { color: var(--text); font-weight: 600; } /* ============================================ VOD SKELETON CARDS — shown while VODs load ============================================ */ .vod-card-skeleton { cursor: default; pointer-events: none; border-color: transparent !important; box-shadow: none !important; transform: none !important; } .vod-card-skeleton .vod-skel-thumb { width: 100%; aspect-ratio: 16/9; background: linear-gradient(90deg, var(--bg-elevated) 0%, rgba(255,255,255,0.04) 50%, var(--bg-elevated) 100%); background-size: 200% 100%; animation: skel-shimmer 1.5s linear infinite; } .vod-card-skeleton .vod-skel-line { height: 14px; background: linear-gradient(90deg, var(--bg-elevated) 0%, rgba(255,255,255,0.06) 50%, var(--bg-elevated) 100%); background-size: 200% 100%; border-radius: 3px; animation: skel-shimmer 1.5s linear infinite; } @keyframes skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* ============================================ TAB SWITCH FADE — subtle 180ms ease-in ============================================ */ .tab-content.active { animation: tab-fade-in 0.18s ease-out; } @keyframes tab-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } /* ============================================ SCROLLBAR — twitch-themed, thin, subtle ============================================ */ *::-webkit-scrollbar { width: 10px; height: 10px; } *::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); } *::-webkit-scrollbar-thumb { background: rgba(145, 70, 255, 0.25); border-radius: 5px; border: 2px solid transparent; background-clip: padding-box; transition: background 0.2s; } *::-webkit-scrollbar-thumb:hover { background: rgba(145, 70, 255, 0.55); background-clip: padding-box; border: 2px solid transparent; } *::-webkit-scrollbar-corner { background: transparent; } .add-streamer { padding: 10px; display: flex; gap: 8px; } .add-streamer input { flex: 1; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 12px; color: var(--text); font-size: 13px; transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; } .add-streamer input:focus { outline: none; border-color: var(--accent); background: rgba(145, 70, 255, 0.08); box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.18); } .add-streamer input::placeholder { color: var(--text-secondary); } .add-streamer button { background: var(--accent); border: none; border-radius: 6px; color: white; width: 36px; cursor: pointer; font-size: 18px; font-weight: 600; transition: background 0.18s, transform 0.12s, box-shadow 0.18s; } .add-streamer button:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(145, 70, 255, 0.35); } .add-streamer button:active { transform: scale(0.96); } /* ============================================ GLOBAL TEXT-INPUT POLISH — focus ring + smooth transitions ============================================ */ input[type="text"], input[type="search"], input[type="number"], input[type="password"], input[type="email"], textarea, select { transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; } input[type="text"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.18); } /* ============================================ CUSTOM CHECKBOX — modern Twitch-purple ============================================ Replaces the OS gray box with a 16px rounded square that fills purple + draws a white check when checked. Smooth 0.18s transition on every state change. Focus ring matches inputs. */ input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex-shrink: 0; border: 1.5px solid var(--border-soft); border-radius: 4px; background: var(--bg-card); cursor: pointer; position: relative; transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.12s; vertical-align: middle; } input[type="checkbox"]:hover:not(:disabled) { border-color: rgba(145, 70, 255, 0.6); } input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); } input[type="checkbox"]:checked::after { content: ''; position: absolute; left: 4px; top: 0.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); } input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.25); } input[type="checkbox"]:active:not(:disabled) { transform: scale(0.92); } input[type="checkbox"]:disabled { opacity: 0.45; cursor: not-allowed; } /* ============================================ CUSTOM RADIO — matches the checkbox visual ============================================ */ input[type="radio"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex-shrink: 0; border: 1.5px solid var(--border-soft); border-radius: 50%; background: var(--bg-card); cursor: pointer; position: relative; transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.12s; vertical-align: middle; } input[type="radio"]:hover:not(:disabled) { border-color: rgba(145, 70, 255, 0.6); } input[type="radio"]:checked { border-color: var(--accent); background: var(--bg-card); } input[type="radio"]:checked::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px rgba(145, 70, 255, 0.45); } input[type="radio"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.25); } input[type="radio"]:active:not(:disabled) { transform: scale(0.92); } /* ============================================ CUSTOM SELECT — chevron via inline SVG background ============================================ */ select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 14px; padding-right: 28px !important; cursor: pointer; } select:hover:not(:disabled) { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239146FF'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E"); } select option { background: var(--bg-card); color: var(--text); } /* Queue Section */ .queue-section { border-top: 1px solid rgba(255,255,255,0.1); padding: 15px; display: flex; flex-direction: column; min-height: 0; flex: 1; } .queue-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; } .queue-title { font-size: 13px; font-weight: 600; } .queue-count { background: var(--accent); color: white; font-size: 11px; padding: 2px 8px; border-radius: 10px; } .queue-list { flex: 1; overflow-y: auto; min-height: 60px; } .health-badge { font-size: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; } .health-badge.good { background: rgba(0, 200, 83, 0.2); border-color: rgba(0, 200, 83, 0.45); color: #93efb9; } .health-badge.warn { background: rgba(255, 171, 0, 0.2); border-color: rgba(255, 171, 0, 0.45); color: #ffd98e; } .health-badge.bad, .health-badge.unknown { background: rgba(255, 68, 68, 0.2); border-color: rgba(255, 68, 68, 0.45); color: #ffaaaa; } .queue-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 8px; background: var(--bg-card); border-radius: 6px; margin-bottom: 6px; font-size: 12px; border-left: 3px solid transparent; transition: border-color 0.2s, background 0.2s; } .queue-item:has(.status.downloading) { border-left-color: var(--accent); background: rgba(145, 70, 255, 0.06); } .queue-item:has(.status.error) { border-left-color: var(--error); } .queue-item:has(.status.completed) { border-left-color: var(--success); opacity: 0.85; } .queue-item .status { width: 8px; height: 8px; border-radius: 50%; background: var(--text-secondary); flex-shrink: 0; margin-top: 4px; } .queue-item .status.pending { background: var(--warning); box-shadow: 0 0 6px rgba(255, 167, 38, 0.5); } .queue-item .status.downloading { background: var(--accent); animation: pulse 1s infinite; box-shadow: 0 0 8px rgba(145, 70, 255, 0.6); } .queue-item .status.completed { background: var(--success); box-shadow: 0 0 6px rgba(0, 200, 83, 0.5); } .queue-item .status.error { background: var(--error); box-shadow: 0 0 6px rgba(255, 70, 70, 0.5); } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .queue-item .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } .queue-detail-label { color: var(--text-secondary); font-weight: 500; margin-right: 4px; } .queue-retry-btn { background: transparent; border: 1px solid var(--border-soft); border-radius: 6px; color: var(--text-secondary); cursor: pointer; padding: 4px 8px; font-size: 14px; line-height: 1; align-self: center; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s; } .queue-retry-btn:hover { background: rgba(145, 70, 255, 0.18); border-color: rgba(145, 70, 255, 0.55); color: #fff; } .queue-retry-btn:active { transform: scale(0.92); } .queue-main { flex: 1; min-width: 0; } .queue-title-row { display: flex; align-items: center; gap: 8px; } .queue-status-label { flex-shrink: 0; font-size: 10px; color: var(--text-secondary); } .queue-meta { font-size: 10px; color: var(--text-secondary); margin-top: 2px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .queue-progress-wrap { height: 5px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.10); position: relative; } .queue-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent) 0%, #b97aff 100%); transition: width 0.3s ease; position: relative; overflow: hidden; } /* Moving shimmer overlay — implies "active" without needing a different border or pulse rule. Only visible because the bar is purple. */ .queue-progress-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%); transform: translateX(-100%); animation: queue-progress-shimmer 1.8s ease-in-out infinite; } @keyframes queue-progress-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .queue-progress-bar.indeterminate { width: 35% !important; animation: queue-indeterminate 1.3s ease-in-out infinite; } .queue-progress-text { margin-top: 3px; font-size: 10px; color: var(--text-secondary); } @keyframes queue-indeterminate { 0% { transform: translateX(-100%); } 100% { transform: translateX(280%); } } .queue-item .remove { cursor: pointer; color: var(--error); opacity: 0.7; } .queue-item .remove:hover { opacity: 1; } .queue-item[draggable="true"] { cursor: grab; } .queue-item[draggable="true"]:active { cursor: grabbing; } .queue-item.dragging { opacity: 0.4; } .queue-details { font-size: 10px; color: var(--text-secondary); padding: 4px 0; word-break: break-all; } .queue-details div { margin-bottom: 2px; } .queue-selector { min-width: 22px; height: 22px; padding: 0 3px; border: 2px solid var(--text-secondary); border-radius: 4px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--bg-primary); user-select: none; transition: all 0.15s; } .queue-selector:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.55); } .queue-item .title:focus-visible { outline: none; border-radius: 3px; box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.45); } .queue-selector.selected { background: var(--accent); border-color: var(--accent); } .queue-selector:hover { border-color: var(--accent); } .queue-item.merge-group { border-left: 3px solid var(--accent); } .merge-group-icon { vertical-align: middle; margin-right: 2px; opacity: 0.8; } .btn-merge-group { background: var(--accent); color: var(--bg-primary); } .btn-merge-group:hover { opacity: 0.9; } .queue-actions { display: flex; gap: 8px; margin-top: 10px; flex-shrink: 0; } .stats-bar { padding: 6px 15px; font-size: 10px; color: var(--text-secondary); border-top: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; } .btn { flex: 1; padding: 5px 8px; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 12px; transition: all 0.2s; } .btn-retry { background: #2a3344; color: #d9e4f7; } .btn-retry:hover { background: #33405a; } .btn-start { background: var(--success); color: white; } .btn-start:hover { background: #00a844; } .btn-start.downloading { background: var(--error); } .btn-clear { background: var(--bg-card); color: var(--text-secondary); } .btn-clear:hover { background: #2a2a2e; } /* Main Content */ .main { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .header { padding: 20px 30px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; } .header h1 { font-size: 22px; font-weight: 600; } .header-actions { display: flex; align-items: center; gap: 15px; } .header-search { display: flex; gap: 8px; } .header-search input { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; padding: 8px 12px; color: var(--text); font-size: 13px; width: 200px; } .header-search input::placeholder { color: var(--text-secondary); } .header-search button { background: var(--accent); border: none; border-radius: 6px; color: white; padding: 8px 14px; cursor: pointer; font-size: 16px; font-weight: 700; transition: background 0.18s, transform 0.12s, box-shadow 0.18s; line-height: 1; } .header-search button:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(145, 70, 255, 0.35); } .header-search button:active { transform: scale(0.94); } .btn-icon { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 6px; color: var(--text); padding: 8px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; transition: background 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s; } .btn-icon:hover { background: rgba(145, 70, 255, 0.12); border-color: rgba(145, 70, 255, 0.45); color: #fff; } .btn-icon:hover svg { animation: btn-icon-spin 0.6s ease-out; } .btn-icon:active { transform: scale(0.96); } @keyframes btn-icon-spin { from { transform: rotate(0deg); } to { transform: rotate(180deg); } } .content { flex: 1; overflow-y: auto; padding: 25px 30px; } /* Tabs */ .tab-content { display: none; } .tab-content.active { display: flex; flex-direction: column; min-height: 100%; } /* VOD Grid */ .vod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; flex: 1; } .vod-grid:has(.empty-state) { display: flex; align-items: center; justify-content: center; } .vod-card { background: var(--bg-card); border-radius: 8px; overflow: hidden; transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s; cursor: pointer; position: relative; border: 1px solid transparent; } .vod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(145, 70, 255, 0.35); border-color: rgba(145, 70, 255, 0.35); } .vod-card:focus-visible { outline: none; border-color: rgba(145, 70, 255, 0.7); box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.35); } .vod-card.selected { box-shadow: 0 0 0 2px #9146FF, 0 8px 25px rgba(145, 70, 255, 0.25); } .vod-downloaded-badge { position: absolute; top: 8px; right: 8px; background: rgba(0, 200, 83, 0.92); color: white; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; z-index: 2; pointer-events: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .vod-card.already-downloaded .vod-thumbnail { opacity: 0.6; } #cutterPreview.drag-over { outline: 2px dashed var(--accent); outline-offset: -8px; background: rgba(145, 70, 255, 0.08); } .streamer-item.dragging { opacity: 0.4; } .streamer-rec { margin-right: 6px; color: #ff4444; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; padding: 2px 5px; border: 1px solid rgba(255, 68, 68, 0.4); border-radius: 3px; background: transparent; transition: background 0.15s; } .streamer-rec:hover { background: rgba(255, 68, 68, 0.15); } .streamer-auto { margin-left: auto; margin-right: 4px; color: var(--text-secondary); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; padding: 2px 5px; border: 1px solid var(--border-soft); border-radius: 3px; background: transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; } .streamer-auto.active { color: #00c853; border-color: rgba(0, 200, 83, 0.45); background: rgba(0, 200, 83, 0.10); } .streamer-auto:hover { background: rgba(0, 200, 83, 0.18); color: #00c853; } .streamer-vod { margin-right: 4px; color: var(--text-secondary); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; padding: 2px 5px; border: 1px solid var(--border-soft); border-radius: 3px; background: transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; } .streamer-vod.active { color: #2196f3; border-color: rgba(33, 150, 243, 0.45); background: rgba(33, 150, 243, 0.10); } .streamer-vod:hover { background: rgba(33, 150, 243, 0.18); color: #2196f3; } .queue-health-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 4px currentColor; } .queue-health-dot.health-ok { background: #00c853; color: #00c853; animation: queue-health-pulse 2s ease-in-out infinite; } .queue-health-dot.health-stale { background: #ffab00; color: #ffab00; animation: queue-health-flash 1s ease-in-out infinite; } .queue-health-dot.health-unknown { background: var(--text-secondary); color: var(--text-secondary); box-shadow: none; } @keyframes queue-health-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } } @keyframes queue-health-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } .queue-live-badge { display: inline-block; background: #ff4444; color: white; font-size: 9px; font-weight: 700; letter-spacing: 0.5px; padding: 1px 5px; border-radius: 3px; vertical-align: middle; animation: queue-live-pulse 1.5s ease-in-out infinite; } @keyframes queue-live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } } .vod-thumbnail { width: 100%; aspect-ratio: 16/9; background: #333; object-fit: cover; } .vod-info { padding: 12px 15px; } .vod-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; } .vod-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-secondary); } .vod-actions { padding: 10px 15px 15px; display: flex; gap: 8px; } .vod-btn { flex: 1; padding: 8px; border: none; border-radius: 4px; cursor: pointer; font-weight: 500; font-size: 12px; transition: all 0.2s; } .vod-btn.primary { background: var(--accent); color: white; } .vod-btn.primary:hover { background: var(--accent-hover); } .vod-btn.secondary { background: rgba(255,255,255,0.1); color: var(--text); } .vod-btn.secondary:hover { background: rgba(255,255,255,0.15); } /* Settings */ .settings-card { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 20px; } .settings-card h3 { font-size: 16px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; } .form-group { margin-bottom: 15px; } .form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; } .form-group input:not([type="checkbox"]):not([type="radio"]), .form-group select { width: 100%; background: var(--bg-main); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 10px 12px; color: var(--text); font-size: 14px; } .form-group input:not([type="checkbox"]):not([type="radio"]):focus, .form-group select:focus { outline: none; border-color: var(--accent); } .form-group input:not([type="checkbox"]):not([type="radio"]):disabled, .form-group select:disabled { opacity: 0.55; cursor: not-allowed; color: rgba(239, 239, 241, 0.7); } .input-disabled { opacity: 0.65; } .form-group input[type="checkbox"], .form-group input[type="radio"] { width: auto; } .language-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .lang-option { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; background: var(--bg-main); color: var(--text); padding: 9px 10px; cursor: pointer; font-size: 13px; } .lang-option:hover { border-color: rgba(255,255,255,0.26); } .lang-option.active { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(145, 70, 255, 0.2); } .flag-icon { width: 16px; height: 12px; border-radius: 2px; border: 1px solid rgba(0,0,0,0.35); flex-shrink: 0; position: relative; overflow: hidden; } .flag-de { background: linear-gradient(to bottom, #111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%); } .flag-en { background: repeating-linear-gradient(to bottom, #b22234 0 7.7%, #ffffff 7.7% 15.4%); } .flag-en::before { content: ''; position: absolute; left: 0; top: 0; width: 45%; height: 56%; background: #3c3b6e; } .form-row { display: flex; gap: 10px; } .log-panel { background: #11151c; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 10px; max-height: 220px; overflow: auto; white-space: pre-wrap; color: #b8c7df; font-size: 12px; line-height: 1.35; } .form-row input { flex: 1; } .btn-primary { background: var(--accent); color: white; border: none; border-radius: 4px; padding: 10px 20px; cursor: pointer; font-weight: 600; } .btn-primary:hover { background: var(--accent-hover); } .btn-primary:disabled { background: var(--text-secondary); cursor: not-allowed; } .btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 10px 20px; cursor: pointer; } /* ============================================ COMPACT / UTILITY BUTTONS ============================================ .btn-pill — small action buttons used in toolbars + bulk-bars. Comes in default (transparent), primary (purple), success (green). Replaces the inline-style blocks the renderer was rolling for each bulk action button. */ .btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: var(--text-secondary); border: 1px solid var(--border-soft); border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; line-height: 1.2; } .btn-pill:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: rgba(255, 255, 255, 0.18); } .btn-pill:active:not(:disabled) { transform: translateY(1px); } .btn-pill:disabled { opacity: 0.45; cursor: not-allowed; } .btn-pill.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; } .btn-pill.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 4px 14px rgba(145, 70, 255, 0.35); } .btn-pill.success { background: #00c853; color: #fff; border-color: #00c853; font-weight: 600; } .btn-pill.success:hover:not(:disabled) { background: #00e676; border-color: #00e676; box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35); } .btn-pill.danger { background: transparent; color: #ff6b6b; border-color: rgba(255, 107, 107, 0.4); } .btn-pill.danger:hover:not(:disabled) { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.7); color: #ff8a8a; } /* .btn-close — square X-close button for filter clears, inline removals. Renamed from .btn-icon to avoid clashing with the existing top-bar icon+text button class that's used for Refresh. */ .btn-close { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border-soft); border-radius: 6px; padding: 6px 10px; color: var(--text-secondary); cursor: pointer; font-size: 12px; font-weight: 500; transition: background 0.15s, color 0.15s, border-color 0.15s; line-height: 1; } .btn-close:hover:not(:disabled) { background: rgba(255, 70, 70, 0.10); border-color: rgba(255, 70, 70, 0.45); color: #ff6b6b; } /* .queue-detail-btn — tiny chip-style action button used in queue item detail rows AND in the archive search results list. Was previously rendering with browser defaults (gray flat button). */ .queue-detail-btn { display: inline-flex; align-items: center; justify-content: center; background: rgba(145, 70, 255, 0.10); color: var(--text); border: 1px solid rgba(145, 70, 255, 0.30); border-radius: 5px; padding: 4px 10px; margin-right: 6px; margin-bottom: 4px; font-size: 11px; font-weight: 500; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s; } .queue-detail-btn:hover { background: rgba(145, 70, 255, 0.22); border-color: rgba(145, 70, 255, 0.6); color: #fff; transform: translateY(-1px); } .queue-detail-btn:active { transform: translateY(0); } /* Clips */ .clip-input { max-width: 600px; margin: 0 auto; text-align: center; padding: 40px 20px; } .clip-input h2 { margin-bottom: 20px; } .clip-input input { width: 100%; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 12px 15px; color: var(--text); font-size: 14px; margin-bottom: 15px; } .clip-status { margin-top: 15px; font-size: 14px; } .clip-status.success { color: var(--success); } .clip-status.error { color: var(--error); } .clip-status.loading { color: var(--warning); } /* Empty State */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 60vh; padding: 20px; color: var(--text-secondary); } .empty-state svg { width: 80px; height: 80px; margin-bottom: 18px; opacity: 0.45; color: var(--accent); animation: empty-state-float 4s ease-in-out infinite; } @keyframes empty-state-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } } .empty-state h3 { margin-bottom: 10px; color: var(--text); font-size: 18px; font-weight: 600; } .empty-state p { max-width: 380px; line-height: 1.5; font-size: 13px; } /* Status Bar */ .status-bar { padding: 10px 30px; background: var(--bg-sidebar); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); } .status-indicator { display: flex; align-items: center; gap: 8px; } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-secondary); } .status-dot.connected { background: var(--success); } .status-dot.error { background: var(--error); } .status-bar-queue-summary { color: var(--text-secondary); font-size: 12px; margin-left: auto; padding-right: 12px; font-variant-numeric: tabular-nums; } .status-bar-version { color: var(--text-secondary); font-size: 12px; opacity: 0.7; } /* ============================================ STORAGE STATS TABLE — Settings page disk usage ============================================ */ .storage-stats-table { width: 100%; border-collapse: collapse; font-size: 12px; } .storage-stats-table th { text-align: left; padding: 6px 8px; color: var(--text-secondary); border-bottom: 1px solid var(--border-soft); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; font-size: 10px; } .storage-stats-table td { padding: 6px 8px; border-bottom: 1px solid var(--border-soft); font-variant-numeric: tabular-nums; } .storage-stats-table tbody tr { transition: background 0.12s; } .storage-stats-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); } .storage-stats-table tbody tr:last-child td { border-bottom: none; } .storage-stats-section { color: var(--text-secondary); font-size: 12px; margin: 14px 0 4px; text-transform: uppercase; letter-spacing: 0.4px; } /* ============================================ FORM UTILITY CLASSES — small recurring patterns ============================================ These replace the 6+ inline-style copies of the same visual pattern that were scattered across Settings cards. */ /* Small secondary-coloured label / note text. Used as field-label above stacked inputs, as inline metadata next to controls, etc. */ .form-sublabel { font-size: 12px; color: var(--text-secondary); } /* Vertical stack: label on top, control below, equal flex share in a flex-row. Used for the 3-up auto-cleanup row + poll-config rows. */ .form-stack { display: flex; flex-direction: column; gap: 4px; flex: 1; } /* Block-level note text — same colour as .form-sublabel but reserved for full-row paragraphs like the cleanup report area. */ .form-note { color: var(--text-secondary); font-size: 12px; line-height: 1.45; } /* Settings toggle row — label wraps an input[type=checkbox] + span. Used 17 times across the Settings cards. Adjacent-sibling combinator adds the gap between consecutive toggle rows so the inline `margin-top: 8px` repeats are no longer needed. */ .toggle-row { display: flex; align-items: center; gap: 8px; cursor: pointer; } .toggle-row + .toggle-row { margin-top: 8px; } /* Indented sub-toggle — kept by the renderer for visual nesting under a parent toggle (delete-parts-after-merge under auto-merge-parts, for example). */ .toggle-row.indented { margin-left: 22px; } /* Compact horizontal-row toggle — used in filter rows where the toggle sits alongside other controls (Hide downloaded, etc). Tighter gap + secondary colour + tiny font to fit a tool-row without dominating it. */ .inline-toggle { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 12px; cursor: pointer; user-select: none; } /* Filename-template lint badge — used both by the Settings card's template inputs and by the clip-cutter modal's custom template row. Two states: green for OK, red for unknown-placeholder warning. Pull the colours from --success / --error vars so the lint always tracks the rest of the apps semantic palette. */ .template-lint { font-size: 12px; line-height: 1.4; transition: color 0.15s; } .template-lint.ok { color: var(--success); } .template-lint.warn { color: var(--error); } /* Sidebar queue empty state — small dashed-border card matching the sibling streamer-list empty state. */ .queue-empty { color: var(--text-secondary); font-size: 12px; text-align: center; padding: 14px; border: 1px dashed var(--border-soft); border-radius: 6px; background: rgba(255, 255, 255, 0.02); margin: 4px 0; line-height: 1.4; } /* Merge-tab empty state — uses the global .empty-state base and adds its own padding override since the merge file-list container sits inside a settings-card with its own padding. */ .merge-empty-state { padding: 40px 20px; } .merge-empty-state svg { opacity: 0.3; width: 48px; height: 48px; } .merge-empty-state p { margin-top: 10px; } /* Old generic scrollbar rules were dead — superseded by the purple-themed *::-webkit-scrollbar block further down the file. Removed to avoid confusion when someone greps for scrollbar styles. */ /* Update Banner */ .update-banner { background: linear-gradient(90deg, var(--accent), #5a2d82); padding: 10px 20px; display: none; justify-content: center; align-items: center; gap: 15px; font-size: 13px; } .update-banner.show { display: flex; } .update-banner button { background: white; color: var(--accent); border: none; border-radius: 4px; padding: 6px 15px; cursor: pointer; font-weight: 600; } .update-banner button:disabled { opacity: 0.7; cursor: not-allowed; } /* Update-banner download progress — sits between the message and the button, fills as the update download runs. */ .update-banner-progress-wrap { flex: 1; margin: 0 15px; } .update-banner-progress-track { background: rgba(0, 0, 0, 0.3); border-radius: 4px; height: 8px; overflow: hidden; } .update-banner-progress-bar { background: #fff; height: 100%; width: 0%; transition: width 0.3s ease-out; } .update-modal { max-width: 680px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, rgba(145, 70, 255, 0.18) 0%, rgba(145, 70, 255, 0.05) 24%, rgba(14, 14, 16, 0.98) 100%), var(--bg-card); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48); } .update-modal-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(145, 70, 255, 0.16); color: #f1e7ff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; } .update-modal-message { color: var(--text); line-height: 1.6; margin: -8px 0 12px; } .update-modal-meta { color: var(--text-secondary); font-size: 12px; margin-bottom: 16px; } .update-modal-actions { justify-content: flex-end; } .update-changelog-card { margin-top: 10px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(7, 7, 10, 0.42); overflow: hidden; } .update-changelog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .update-changelog-label { font-size: 12px; color: var(--text-secondary); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; } .update-changelog-toggle { background: transparent; border: none; color: #f3ecff; cursor: pointer; font-size: 13px; font-weight: 600; } .update-changelog-toggle:hover { color: white; } .update-changelog-panel { max-height: 320px; overflow: auto; padding: 14px; } .update-changelog-content { display: grid; gap: 12px; } .update-changelog-heading { font-size: 17px; line-height: 1.25; color: #ffffff; margin: 0; } .update-changelog-paragraph { margin: 0; color: var(--text); line-height: 1.6; } .update-changelog-list { margin: 0; padding-left: 18px; color: var(--text); display: grid; gap: 8px; } .update-changelog-list li { line-height: 1.5; } .update-changelog-content strong { color: #ffffff; font-weight: 700; } .update-changelog-empty { margin: 0; color: var(--text-secondary); font-size: 13px; } #updateProgressBar.downloading { width: 30% !important; animation: indeterminate 1.5s ease-in-out infinite; } @keyframes indeterminate { 0% { margin-left: 0; width: 30%; } 50% { margin-left: 35%; width: 30%; } 100% { margin-left: 70%; width: 30%; } } /* Video Cutter Styles */ .cutter-container { max-width: 900px; margin: 0 auto; } .video-preview { background: #000; border-radius: 8px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; } .video-preview img { max-width: 100%; max-height: 100%; object-fit: contain; } .video-preview .placeholder { color: var(--text-secondary); text-align: center; } .timeline-container { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 20px; } .timeline { position: relative; height: 60px; background: var(--bg-main); border-radius: 4px; margin: 15px 0; cursor: pointer; } .timeline-selection { position: absolute; top: 0; height: 100%; background: rgba(145, 71, 255, 0.3); border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); } .timeline-handle { position: absolute; top: -5px; width: 12px; height: 70px; background: var(--accent); border-radius: 3px; cursor: ew-resize; } .timeline-handle.start { left: 0; transform: translateX(-50%); } .timeline-handle.end { right: 0; transform: translateX(50%); } .timeline-current { position: absolute; top: 0; width: 2px; height: 100%; background: var(--success); pointer-events: none; } .time-inputs { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 15px; } .time-input-group { display: flex; align-items: center; gap: 8px; } .time-input-group label { color: var(--text-secondary); font-size: 13px; } .time-input-group input { width: 100px; background: var(--bg-main); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 8px 10px; color: var(--text); text-align: center; font-family: monospace; } .cutter-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; } .cutter-info { background: var(--bg-card); border-radius: 8px; padding: 15px 20px; margin-bottom: 20px; display: flex; justify-content: space-around; text-align: center; } .cutter-info-item { display: flex; flex-direction: column; gap: 5px; } .cutter-info-label { font-size: 12px; color: var(--text-secondary); } .cutter-info-value { font-size: 16px; font-weight: 600; font-family: monospace; } /* Merge Styles */ .merge-container { max-width: 800px; margin: 0 auto; } .file-list { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 20px; min-height: 200px; } .file-item { display: flex; align-items: center; gap: 15px; padding: 12px 15px; background: var(--bg-main); border-radius: 6px; margin-bottom: 10px; } .file-item .file-order { width: 30px; height: 30px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; } .file-item .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-item .file-actions { display: flex; gap: 8px; } .file-item .file-btn { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 5px; font-size: 16px; } .file-item .file-btn:hover { color: var(--text); } .file-item .file-btn.remove:hover { color: var(--error); } .merge-actions { display: flex; gap: 10px; justify-content: center; } /* Progress Bar */ .progress-container { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 20px; display: none; } .progress-container.show { display: block; } .progress-bar { height: 8px; background: var(--bg-main); border-radius: 4px; overflow: hidden; margin-bottom: 10px; } .progress-bar-fill { height: 100%; background: var(--accent); transition: width 0.3s; } .progress-text { text-align: center; color: var(--text-secondary); font-size: 14px; } /* Theme variations */ body.theme-discord { --bg-main: #36393f; --bg-sidebar: #202225; --bg-card: #2f3136; --accent: #5865F2; --accent-hover: #4752C4; } body.theme-youtube { --bg-main: #0f0f0f; --bg-sidebar: #0f0f0f; --bg-card: #272727; --accent: #FF0000; --accent-hover: #cc0000; } body.theme-apple { --bg-main: #1c1c1e; --bg-sidebar: #2c2c2e; --bg-card: #3a3a3c; --accent: #0A84FF; --accent-hover: #0071e3; } body.theme-light { --bg-main: #f0f2f5; --bg-sidebar: #ffffff; --bg-card: #e4e6ea; --text: #1a1a2e; --text-secondary: #65676b; --accent: #9146ff; --accent-hover: #772ce8; --success: #00c853; --error: #e41e3f; --warning: #e68a00; --border-soft: rgba(0, 0, 0, 0.12); } /* Light theme: swap white-alpha borders/backgrounds to black-alpha */ body.theme-light .sidebar, body.theme-light .queue-section, body.theme-light .logo, body.theme-light .stats-bar, body.theme-light .header, body.theme-light .status-bar { border-color: rgba(0,0,0,0.1); } body.theme-light .add-streamer input, body.theme-light .form-group input:not([type="checkbox"]):not([type="radio"]), body.theme-light .form-group select, body.theme-light .clip-input input, body.theme-light .time-input-group input, body.theme-light .part-number-group input, body.theme-light .btn-secondary, body.theme-light .lang-option, body.theme-light .log-panel, body.theme-light .template-guide-table-wrap, body.theme-light .template-guide-preview-box { border-color: rgba(0,0,0,0.12); } body.theme-light .lang-option:hover { border-color: rgba(0,0,0,0.26); } body.theme-light .streamer-item:hover { background: rgba(0,0,0,0.05); } body.theme-light .vod-btn.secondary { background: rgba(0,0,0,0.08); } body.theme-light .vod-btn.secondary:hover { background: rgba(0,0,0,0.12); } body.theme-light .nav-item:hover { background: rgba(145, 71, 255, 0.1); } body.theme-light ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); } body.theme-light ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); } body.theme-light .update-modal { border-color: rgba(0,0,0,0.1); background: linear-gradient(180deg, rgba(145, 70, 255, 0.12) 0%, rgba(145, 70, 255, 0.03) 24%, rgba(240, 242, 245, 0.98) 100%), var(--bg-card); } body.theme-light .update-modal-eyebrow { color: #4a2a8a; } body.theme-light .update-changelog-card { border-color: rgba(0,0,0,0.08); background: rgba(255, 255, 255, 0.6); } body.theme-light .update-changelog-header { border-bottom-color: rgba(0,0,0,0.06); } body.theme-light .update-changelog-toggle { color: #4a2a8a; } body.theme-light .update-changelog-toggle:hover { color: #1a1a2e; } body.theme-light .update-changelog-heading, body.theme-light .update-changelog-content strong { color: #1a1a2e; } body.theme-light .template-guide-preview-box { background: rgba(0, 0, 0, 0.04); } body.theme-light .template-guide-output { background: rgba(0, 0, 0, 0.06); } body.theme-light .template-guide-table th, body.theme-light .template-guide-table td { border-bottom-color: rgba(0,0,0,0.08); } body.theme-light .log-panel { background: #f8f9fb; color: #2c3e50; } body.theme-light .app-toast { background: rgba(255, 255, 255, 0.96); color: #1a1a2e; border-color: rgba(0,0,0,0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); } body.theme-light .btn-retry { background: #dce4f0; color: #2a3344; } body.theme-light .btn-retry:hover { background: #c8d4e8; } body.theme-light .btn-clear:hover { background: #d0d2d6; } body.theme-light .modal { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); } /* Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.65); display: none; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: modal-overlay-fade 0.2s ease-out; } .modal-overlay.show { display: flex; } @keyframes modal-overlay-fade { from { opacity: 0; } to { opacity: 1; } } .modal { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 25px 28px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(145, 70, 255, 0.10); animation: modal-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1); position: relative; } @keyframes modal-pop { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } } .modal h2 { margin-bottom: 18px; font-size: 18px; font-weight: 600; letter-spacing: -0.2px; color: var(--text); } .modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; background: transparent; border: 1px solid var(--border-soft); border-radius: 8px; color: var(--text-secondary); font-size: 16px; cursor: pointer; padding: 0; line-height: 1; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s; } .modal-close:hover { color: #fff; background: rgba(255, 70, 70, 0.18); border-color: rgba(255, 70, 70, 0.55); } .modal-close:active { transform: scale(0.92); } .slider-group { margin-bottom: 20px; } .slider-group label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 13px; } /* ============================================ RANGE SLIDER — Twitch-purple track + thumb ============================================ Track gets a subtle purple-tint behind a darker base so the slider reads as part of the same family as the queue progress bar. Thumb is a 16px purple circle with a hover halo. */ .slider-group input[type="range"], .modal input[type="range"] { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, rgba(145, 70, 255, 0.18) 0%, rgba(20, 20, 24, 0.95) 100%); border-radius: 999px; outline: none; cursor: pointer; transition: box-shadow 0.18s; } .slider-group input[type="range"]:focus-visible, .modal input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.22); } .slider-group input[type="range"]::-webkit-slider-thumb, .modal input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: var(--accent); border: 2px solid #fff; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.15s, box-shadow 0.15s; } .slider-group input[type="range"]::-moz-range-thumb, .modal input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--accent); border: 2px solid #fff; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.15s, box-shadow 0.15s; } .slider-group input[type="range"]:hover::-webkit-slider-thumb, .modal input[type="range"]:hover::-webkit-slider-thumb { background: var(--accent-hover); transform: scale(1.15); box-shadow: 0 3px 12px rgba(145, 70, 255, 0.55); } .slider-group input[type="range"]:hover::-moz-range-thumb, .modal input[type="range"]:hover::-moz-range-thumb { background: var(--accent-hover); transform: scale(1.15); box-shadow: 0 3px 12px rgba(145, 70, 255, 0.55); } /* ============================================ NUMBER INPUT — hide OS spinners, rely on keyboard / scroll ============================================ The default Webkit spinners are a tiny gray arrow stack that always reads as "unfinished input field" no matter the theme. Hidden across all number inputs; users type or use arrow keys. Spinner-on-hover pattern could come back as a custom thing later if needed. */ input[type="number"] { -moz-appearance: textfield; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; } .clip-time-display { display: flex; justify-content: space-between; margin-top: 8px; font-family: monospace; font-size: 14px; } .clip-info-row { background: var(--bg-main); padding: 12px 15px; border-radius: 6px; margin-bottom: 15px; text-align: center; } .clip-info-row .label { color: var(--text-secondary); font-size: 12px; margin-bottom: 4px; } .clip-info-row .value { font-size: 18px; font-weight: 600; color: var(--success); } .clip-info-row .value.error { color: var(--error); } .part-number-group { margin-bottom: 20px; } .part-number-group input { width: 100px; background: var(--bg-main); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 8px 12px; color: var(--text); font-size: 14px; } .part-number-group small { display: block; margin-top: 5px; color: var(--text-secondary); font-size: 11px; } .modal-actions { display: flex; gap: 10px; margin-top: 20px; } .modal-actions button { flex: 1; } .template-guide-modal { max-width: 860px; } .template-guide-intro { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.5; } .template-guide-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .template-guide-actions .btn-secondary { padding: 8px 12px; min-width: 140px; } .template-guide-actions .btn-secondary.active { background: var(--accent); color: #fff; border-color: transparent; } .template-guide-label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-secondary); } .template-guide-input { width: 100%; font-family: Consolas, "Courier New", monospace; margin-bottom: 10px; } .template-guide-preview-box { background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px; margin-bottom: 14px; } .template-guide-preview-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; } .template-guide-output { font-family: Consolas, "Courier New", monospace; color: var(--text); word-break: break-word; background: rgba(0, 0, 0, 0.2); border-radius: 6px; padding: 8px; } .template-guide-context { margin-top: 6px; font-size: 12px; color: var(--text-secondary); } .template-guide-vars-title { margin: 0 0 8px; font-size: 14px; } .template-guide-table-wrap { max-height: 280px; overflow: auto; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; margin-bottom: 12px; } .template-guide-table { width: 100%; border-collapse: collapse; font-size: 13px; } .template-guide-table th, .template-guide-table td { text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 8px; vertical-align: top; } .template-guide-table tbody tr:last-child td { border-bottom: 0; } .template-guide-table td:first-child, .template-guide-table td:last-child { font-family: Consolas, "Courier New", monospace; } .template-guide-footer { display: flex; justify-content: flex-end; } .app-toast { position: fixed; right: 18px; bottom: 16px; z-index: 2200; max-width: min(90vw, 520px); background: linear-gradient(135deg, rgba(28, 28, 34, 0.98), rgba(20, 20, 24, 0.98)); color: #e6e6ea; border: 1px solid rgba(255, 255, 255, 0.10); border-left: 3px solid var(--accent); border-radius: 10px; padding: 12px 16px 12px 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(145, 70, 255, 0.12); opacity: 0; transform: translateX(20px); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(8px); } .app-toast.show { opacity: 1; transform: translateX(0); } .app-toast.warn { border-left-color: var(--warning); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 167, 38, 0.25); } .app-toast.error { border-left-color: var(--error); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 70, 70, 0.25); } /* ============================================ STREAMER SECTION COUNTER ============================================ Tiny "X · Y live" line next to the "Streamer" section heading. Updated by renderStreamers on every redraw. */ .streamer-section-counter { font-size: 11px; color: var(--text-secondary); font-weight: 400; letter-spacing: 0.2px; } .streamer-section-counter-divider { opacity: 0.5; margin: 0 1px; } .streamer-section-counter-live { color: #e91916; font-weight: 600; } /* Empty-state hint inside the sidebar streamer list (no streamers added yet). Subtler than the full-page .empty-state — fits the narrow sidebar context. */ .streamer-list-empty { padding: 12px 14px; margin: 4px 8px; color: var(--text-secondary); font-size: 12px; line-height: 1.45; border: 1px dashed var(--border-soft); border-radius: 6px; text-align: center; background: rgba(255, 255, 255, 0.02); } /* ============================================ VOD DURATION BADGE — Twitch-style pill on the thumbnail ============================================ Sits inside .vod-thumb-wrap so the absolute positioning anchors to the thumbnail bounds, not the whole card (which would push the badge past the action buttons at the bottom — regression reported in 4.6.44 screenshot). */ .vod-thumb-wrap { position: relative; line-height: 0; } .vod-thumb-wrap .vod-thumbnail { display: block; } .vod-duration-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 3px; z-index: 1; letter-spacing: 0.3px; backdrop-filter: blur(2px); pointer-events: none; } .vod-card:hover .vod-duration-badge { background: rgba(0, 0, 0, 0.88); } .vod-card.preview-active .vod-duration-badge { opacity: 0; transition: opacity 0.2s; } /* ============================================ CHAT VIEWER — Twitch-chat-like message rows ============================================ Replaces the inline-style chat row inside the chat-viewer modal with proper class-based styling. Renderer still uses inline per-message colour for the username (driven by Twitch's IRC color metadata). */ .chat-viewer-row { padding: 4px 8px; line-height: 1.55; border-radius: 4px; transition: background 0.12s; font-size: 13px; word-wrap: break-word; } .chat-viewer-row:hover { background: rgba(255, 255, 255, 0.04); } .chat-viewer-row .chat-viewer-time { color: var(--text-secondary); margin-right: 8px; font-size: 10px; opacity: 0.7; font-family: 'Segoe UI Mono', 'Consolas', monospace; } .chat-viewer-row .chat-viewer-user { font-weight: 700; margin-right: 4px; } .chat-viewer-row .chat-viewer-tag { color: var(--accent); font-style: italic; font-size: 11px; margin-right: 6px; background: rgba(145, 70, 255, 0.12); padding: 1px 6px; border-radius: 3px; border: 1px solid rgba(145, 70, 255, 0.3); } .chat-viewer-row.is-system { background: rgba(145, 70, 255, 0.05); border-left: 2px solid rgba(145, 70, 255, 0.45); padding-left: 10px; } /* ============================================ EVENTS VIEWER — timeline rows ============================================ Per-event-type colours live here via [data-type] attribute selectors so the renderer just stamps the type and the CSS handles the palette. Add a new event type by extending this block, not the renderer. */ .event-viewer-row { padding: 8px 10px; border-bottom: 1px solid var(--border-soft); font-size: 12px; } .event-viewer-row:last-child { border-bottom: none; } .event-viewer-time { color: var(--text-secondary); margin-right: 8px; font-family: 'Consolas', 'Segoe UI Mono', monospace; } .event-viewer-tag { font-weight: 600; margin-right: 8px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.3px; font-size: 11px; padding: 2px 7px; border-radius: 3px; background: rgba(145, 70, 255, 0.10); border: 1px solid rgba(145, 70, 255, 0.25); } .event-viewer-tag[data-type="recording_start"] { color: #00c853; background: rgba(0, 200, 83, 0.10); border-color: rgba(0, 200, 83, 0.30); } .event-viewer-tag[data-type="recording_end"] { color: #9146ff; background: rgba(145, 70, 255, 0.10); border-color: rgba(145, 70, 255, 0.30); } .event-viewer-tag[data-type="recording_resume"] { color: #2196f3; background: rgba(33, 150, 243, 0.10); border-color: rgba(33, 150, 243, 0.30); } .event-viewer-tag[data-type="title_change"] { color: #ffab00; background: rgba(255, 171, 0, 0.10); border-color: rgba(255, 171, 0, 0.30); } .event-viewer-tag[data-type="game_change"] { color: #ff4444; background: rgba(255, 68, 68, 0.10); border-color: rgba(255, 68, 68, 0.30); } .event-viewer-detail { margin-top: 4px; color: var(--text); line-height: 1.5; } /* ============================================ STREAMER PROFILE HEADER ============================================ Polished channel-page-style header that shows up above the VOD grid when a streamer is selected. Modeled on Twitch's own profile header for instant familiarity, but trimmed for the desktop-app context. */ .streamer-profile-header { position: sticky; top: -25px; /* negate the .content top padding so the header pins flush with the visible top edge */ z-index: 100; display: block; padding: 0; margin-top: -2px; margin-bottom: 14px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; animation: profile-fade-in 0.32s ease-out; isolation: isolate; /* new stacking context so VODs below cannot leak above */ box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35); } /* Dimming gradient sits ABOVE the banner-bg but BELOW the content row. Gives the banner room to breathe while keeping name + bio readable. */ .streamer-profile-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 15, 18, 0.55) 0%, rgba(15, 15, 18, 0.78) 100%); z-index: 1; pointer-events: none; } .streamer-profile-row { position: relative; z-index: 2; display: flex; gap: 18px; align-items: center; padding: 18px 22px; } .streamer-profile-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(10px) saturate(1.35); opacity: 1; pointer-events: none; z-index: 0; transform: scale(1.12); /* hide the blur edge bleed inside the rounded corner clip */ } @keyframes profile-fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } } .streamer-profile-header.is-live::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(233, 25, 22, 0.4); } .streamer-profile-avatar-wrap { position: relative; flex-shrink: 0; cursor: pointer; transition: transform 0.2s; } .streamer-profile-avatar-wrap:hover { transform: scale(1.04); } .streamer-profile-avatar-wrap:focus-visible { outline: none; border-radius: 50%; box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.55); } .streamer-profile-live-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(233, 25, 22, 0.55), 0 6px 22px rgba(233, 25, 22, 0.20); } .streamer-profile-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); border: 3px solid rgba(145, 70, 255, 0.6); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.30); } .streamer-profile-avatar.is-live { border-color: #e91916; animation: profile-live-ring 1.6s ease-in-out infinite; } @keyframes profile-live-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 25, 22, 0.5), 0 4px 18px rgba(0, 0, 0, 0.30); } 50% { box-shadow: 0 0 0 8px rgba(233, 25, 22, 0), 0 4px 18px rgba(0, 0, 0, 0.30); } } .streamer-profile-avatar-fallback { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, #9146ff, #00c853); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; border: 3px solid rgba(145, 70, 255, 0.6); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.30); } .streamer-profile-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .streamer-profile-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .streamer-profile-display-name { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -0.2px; } .streamer-profile-login { font-size: 13px; color: var(--text-secondary); font-weight: 500; } .streamer-profile-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; } .streamer-profile-badge.partner { background: rgba(145, 70, 255, 0.18); color: #9146ff; border: 1px solid rgba(145, 70, 255, 0.5); } .streamer-profile-badge.affiliate { background: rgba(0, 200, 83, 0.15); color: #00c853; border: 1px solid rgba(0, 200, 83, 0.45); } .streamer-profile-badge.live { background: #e91916; color: #fff; border: 1px solid #e91916; animation: profile-live-blink 1.6s ease-in-out infinite; } .streamer-profile-badge.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; } @keyframes profile-live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } } .streamer-profile-bio { font-size: 13px; color: var(--text-secondary); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 2px; } .streamer-profile-live-info { font-size: 13px; color: var(--text); background: rgba(233, 25, 22, 0.08); border-left: 3px solid #e91916; padding: 6px 10px; border-radius: 0 4px 4px 0; margin-top: 4px; } .streamer-profile-live-info strong { color: #ff6b6b; font-weight: 600; } .streamer-profile-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; } .streamer-profile-stat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); } .streamer-profile-stat strong { color: var(--text); font-weight: 600; font-size: 13px; } .streamer-profile-stat svg { width: 14px; height: 14px; opacity: 0.7; } .streamer-profile-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; } .streamer-profile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; background: var(--bg-elevated); border: 1px solid var(--border-soft); color: var(--text); border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.18s; text-decoration: none; white-space: nowrap; } .streamer-profile-btn:hover { background: rgba(145, 70, 255, 0.18); border-color: rgba(145, 70, 255, 0.6); color: var(--text); transform: translateY(-1px); } .streamer-profile-btn.primary { background: #9146ff; border-color: #9146ff; color: #fff; } .streamer-profile-btn.primary:hover { background: #a970ff; border-color: #a970ff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(145, 70, 255, 0.4); } /* Skeleton loading state */ .streamer-profile-skeleton .streamer-profile-skel-block { background: linear-gradient(90deg, var(--bg-elevated) 0%, rgba(255,255,255,0.06) 50%, var(--bg-elevated) 100%); background-size: 200% 100%; animation: profile-skel-shimmer 1.4s linear infinite; border-radius: 4px; } @keyframes profile-skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } @media (max-width: 720px) { .streamer-profile-row { flex-direction: column; align-items: flex-start; } .streamer-profile-actions { flex-direction: row; width: 100%; } } /* ============================================ LIVE PREVIEW CARD — inside the profile header ============================================ */ .streamer-profile-live-card { position: relative; z-index: 1; display: flex; gap: 14px; margin: 0 14px 14px; padding: 12px; background: rgba(233, 25, 22, 0.10); border: 1px solid rgba(233, 25, 22, 0.5); border-radius: 10px; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; animation: profile-fade-in 0.4s ease-out; } .streamer-profile-live-card:hover { transform: translateY(-2px); background: rgba(233, 25, 22, 0.16); box-shadow: 0 6px 22px rgba(233, 25, 22, 0.20); } .streamer-profile-live-thumb { width: 240px; height: 135px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #000; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); } .streamer-profile-live-thumb-fallback { width: 240px; height: 135px; border-radius: 6px; flex-shrink: 0; background: linear-gradient(135deg, #2a0a0a, #1a0606); display: flex; align-items: center; justify-content: center; color: rgba(233, 25, 22, 0.5); } .streamer-profile-live-thumb-fallback svg { width: 48px; height: 48px; } .streamer-profile-live-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; } .streamer-profile-live-badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .streamer-profile-live-viewers { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text); font-weight: 600; } .streamer-profile-live-viewers svg { width: 14px; height: 14px; opacity: 0.85; } .streamer-profile-live-title { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .streamer-profile-live-game { font-size: 13px; color: var(--text-secondary); } .streamer-profile-live-rec-btn { margin-top: 6px; align-self: flex-start; background: #e91916 !important; border-color: #e91916 !important; } .streamer-profile-live-rec-btn:hover { background: #ff3733 !important; border-color: #ff3733 !important; box-shadow: 0 4px 14px rgba(233, 25, 22, 0.4); } @media (max-width: 720px) { .streamer-profile-live-card { flex-direction: column; } .streamer-profile-live-thumb, .streamer-profile-live-thumb-fallback { width: 100%; height: 180px; } } /* ============================================ VOD HOVER PREVIEW — storyboard sprite cycling ============================================ Overlay sits as a direct child of .vod-card, positioned over the thumbnail's bounding box. Width matches the card; aspect-ratio 16/9 anchors the height to align with the thumbnail. */ .vod-storyboard-preview { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 16/9; background-repeat: no-repeat; opacity: 0; transition: opacity 0.22s ease-out; pointer-events: none; z-index: 2; border-radius: 8px 8px 0 0; overflow: hidden; } .vod-card.preview-active .vod-storyboard-preview { opacity: 1; } .vod-card.preview-active .vod-thumbnail { filter: brightness(0.92); transition: filter 0.3s; } .vod-storyboard-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.18) 100%); pointer-events: none; }