/* ═══════════════════════════════════════════════════════════════ JUKEBOX — Discord Soundboard Design: "DECK" — Cyberpunk Audio Console Fonts: Syne (display) + Outfit (body) ═══════════════════════════════════════════════════════════════ */ @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap'); /* ──────────────────────────────────────────── Theme: Midnight (default dark) ──────────────────────────────────────────── */ :root { --bg-base: #0b0b0f; --bg-surface-0: #101016; --bg-surface-1: #16161e; --bg-surface-2: #1e1e28; --bg-surface-3: #282834; --text-primary: #e4e4ec; --text-secondary: #7a7a90; --text-muted: #4a4a5e; --accent: #3b82f6; --accent-hover: #2563eb; --accent-glow: rgba(59, 130, 246, 0.15); --accent-subtle: rgba(59, 130, 246, 0.08); --danger: #ef4444; --danger-glow: rgba(239, 68, 68, 0.15); --success: #22c55e; --warning: #f59e0b; --border: rgba(255, 255, 255, 0.06); --border-hover: rgba(255, 255, 255, 0.12); --border-active: rgba(59, 130, 246, 0.4); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 20px var(--accent-glow); --grid-opacity: 1; --grid-dot: rgba(255, 255, 255, 0.03); --header-h: 64px; --tabs-h: 44px; --cats-h: 44px; --control-h: 72px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px; color-scheme: dark; } /* ──────────────────────────────────────────── Theme: Daylight ──────────────────────────────────────────── */ [data-theme="daylight"] { --bg-base: #f4f2ee; --bg-surface-0: #eae8e3; --bg-surface-1: #ffffff; --bg-surface-2: #f0eee9; --bg-surface-3: #e4e2dd; --text-primary: #1a1a2e; --text-secondary: #6b6b80; --text-muted: #a0a0b0; --accent: #2563eb; --accent-hover: #1d4ed8; --accent-glow: rgba(37, 99, 235, 0.1); --accent-subtle: rgba(37, 99, 235, 0.05); --border: rgba(0, 0, 0, 0.08); --border-hover: rgba(0, 0, 0, 0.14); --border-active: rgba(37, 99, 235, 0.4); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1); --shadow-glow: 0 0 20px var(--accent-glow); --grid-opacity: 0; --grid-dot: transparent; color-scheme: light; } /* ──────────────────────────────────────────── Theme: Neon ──────────────────────────────────────────── */ [data-theme="neon"] { --bg-base: #08080e; --bg-surface-0: #0e0e18; --bg-surface-1: #141422; --bg-surface-2: #1c1c30; --bg-surface-3: #24243c; --text-primary: #f0f0ff; --text-secondary: #8080b0; --text-muted: #505078; --accent: #e040fb; --accent-hover: #d020eb; --accent-glow: rgba(224, 64, 251, 0.2); --accent-subtle: rgba(224, 64, 251, 0.08); --border: rgba(224, 64, 251, 0.08); --border-hover: rgba(224, 64, 251, 0.18); --border-active: rgba(224, 64, 251, 0.45); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6); --shadow-glow: 0 0 24px var(--accent-glow); --grid-opacity: 1; --grid-dot: rgba(224, 64, 251, 0.025); color-scheme: dark; } /* ──────────────────────────────────────────── Theme: Vapor (Retrowave) ──────────────────────────────────────────── */ [data-theme="vapor"] { --bg-base: #140a22; --bg-surface-0: #1a0e2e; --bg-surface-1: #22143a; --bg-surface-2: #2c1c48; --bg-surface-3: #362456; --text-primary: #e8daf8; --text-secondary: #8a6aaa; --text-muted: #5a4070; --accent: #06d6a0; --accent-hover: #05c090; --accent-glow: rgba(6, 214, 160, 0.18); --accent-subtle: rgba(6, 214, 160, 0.07); --border: rgba(6, 214, 160, 0.07); --border-hover: rgba(6, 214, 160, 0.15); --border-active: rgba(6, 214, 160, 0.4); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6); --shadow-glow: 0 0 24px var(--accent-glow); --grid-opacity: 1; --grid-dot: rgba(6, 214, 160, 0.02); color-scheme: dark; } /* ──────────────────────────────────────────── Theme: Matrix ──────────────────────────────────────────── */ [data-theme="matrix"] { --bg-base: #050a05; --bg-surface-0: #0a120a; --bg-surface-1: #0f1a0f; --bg-surface-2: #162216; --bg-surface-3: #1e2e1e; --text-primary: #c0ecc0; --text-secondary: #5a8a5a; --text-muted: #2e5a2e; --accent: #22c55e; --accent-hover: #16a34a; --accent-glow: rgba(34, 197, 94, 0.18); --accent-subtle: rgba(34, 197, 94, 0.06); --border: rgba(34, 197, 94, 0.07); --border-hover: rgba(34, 197, 94, 0.15); --border-active: rgba(34, 197, 94, 0.4); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7); --shadow-glow: 0 0 24px var(--accent-glow); --grid-opacity: 1; --grid-dot: rgba(34, 197, 94, 0.025); color-scheme: dark; } /* ──────────────────────────────────────────── Reset & Base ──────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-base); color: var(--text-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; height: 100dvh; width: 100vw; } button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; } input, select { font-family: inherit; color: inherit; } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); } ::selection { background: var(--accent); color: white; } /* ──────────────────────────────────────────── App Shell ──────────────────────────────────────────── */ .app-shell { display: flex; flex-direction: column; height: 100dvh; width: 100vw; overflow: hidden; position: relative; } /* Dot grid pattern overlay */ .app-shell::after { content: ''; position: fixed; inset: 0; opacity: var(--grid-opacity); background-image: radial-gradient( circle, var(--grid-dot) 1px, transparent 1px ); background-size: 28px 28px; pointer-events: none; z-index: 0; } /* ──────────────────────────────────────────── Header ──────────────────────────────────────────── */ .header { height: var(--header-h); min-height: var(--header-h); display: flex; align-items: center; gap: 16px; padding: 0 24px; background: var(--bg-surface-0); border-bottom: 1px solid var(--border); position: relative; z-index: 20; } .logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; background: linear-gradient(135deg, var(--accent), var(--text-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; user-select: none; } .header-search { flex: 1; max-width: 420px; position: relative; } .header-search .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-muted); pointer-events: none; } .header-search input { width: 100%; background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 36px 8px 38px; font-size: 13.5px; font-weight: 400; color: var(--text-primary); transition: all 0.2s ease; } .header-search input::placeholder { color: var(--text-muted); } .header-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-surface-1); } .header-search .search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.15s; } .header-search .search-clear:hover { background: var(--bg-surface-3); color: var(--text-primary); } .header-meta { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; } .sound-count { font-size: 12px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; } .sound-count strong { color: var(--accent); font-weight: 700; } /* Theme & Channel selects */ .select-clean { appearance: none; background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 28px 6px 10px; font-size: 12.5px; font-weight: 500; color: var(--text-primary); cursor: pointer; transition: all 0.15s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a7a90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; } .select-clean:hover { border-color: var(--border-hover); background-color: var(--bg-surface-3); } .select-clean:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); } .select-clean option { background: var(--bg-surface-1); color: var(--text-primary); } /* ──────────────────────────────────────────── Tab Bar ──────────────────────────────────────────── */ .tab-bar { height: var(--tabs-h); min-height: var(--tabs-h); display: flex; align-items: stretch; gap: 0; padding: 0 24px; background: var(--bg-surface-0); border-bottom: 1px solid var(--border); position: relative; z-index: 15; } .tab-btn { position: relative; padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s; display: flex; align-items: center; gap: 6px; white-space: nowrap; } .tab-btn:hover { color: var(--text-primary); } .tab-btn.active { color: var(--accent); } .tab-btn.active::after { content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 2px; background: var(--accent); border-radius: 2px 2px 0 0; } .tab-badge { font-size: 10.5px; font-weight: 700; background: var(--accent-subtle); color: var(--accent); padding: 1px 6px; border-radius: var(--radius-pill); font-variant-numeric: tabular-nums; } /* ──────────────────────────────────────────── Category Filter Strip ──────────────────────────────────────────── */ .category-strip { min-height: var(--cats-h); display: flex; align-items: center; gap: 6px; padding: 0 24px; background: var(--bg-surface-0); border-bottom: 1px solid var(--border); overflow-x: auto; overflow-y: hidden; position: relative; z-index: 14; scrollbar-width: none; } .category-strip::-webkit-scrollbar { display: none; } .cat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--bg-surface-2); border: 1px solid var(--border); white-space: nowrap; transition: all 0.15s ease; flex-shrink: 0; } .cat-chip:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-surface-3); } .cat-chip.active { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); } .cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } /* ──────────────────────────────────────────── Sounds Area & Grid ──────────────────────────────────────────── */ .sounds-area { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; z-index: 1; } .sounds-grid { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 24px; padding-bottom: calc(var(--control-h) + 24px); align-content: flex-start; } .sounds-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; color: var(--text-muted); text-align: center; width: 100%; } .sounds-empty .material-icons { font-size: 48px; margin-bottom: 12px; opacity: 0.4; } .sounds-empty p { font-size: 14px; font-weight: 500; } /* ── Sound Button (Compact Pill) ── */ .sound-btn { display: inline-flex; align-items: center; gap: 0; height: 36px; padding: 0 12px 0 0; border-radius: var(--radius-sm); background: var(--bg-surface-1); border: 1px solid var(--border); font-size: 12.5px; font-weight: 500; color: var(--text-primary); cursor: pointer; transition: all 0.12s ease; position: relative; overflow: hidden; max-width: 220px; flex-shrink: 0; } .sound-btn .cat-bar { width: 3px; height: 100%; flex-shrink: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); } .sound-btn .sound-label { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 36px; } .sound-btn:hover { background: var(--bg-surface-2); border-color: var(--border-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); } .sound-btn:active { transform: scale(0.96); box-shadow: none; transition-duration: 0.05s; } .sound-btn .fav-star { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: 0; color: var(--text-muted); transition: all 0.15s; padding: 2px; line-height: 1; } .sound-btn:hover .fav-star { opacity: 0.6; } .sound-btn .fav-star.is-fav { opacity: 1; color: var(--warning); } .sound-btn:hover .fav-star.is-fav { opacity: 1; } /* Playing animation */ .sound-btn.is-playing { border-color: var(--accent); box-shadow: var(--shadow-glow); } .sound-btn.is-playing::after { content: ''; position: absolute; inset: 0; background: var(--accent-glow); animation: pulse-bg 1s ease infinite; pointer-events: none; } /* Badge indicators */ .sound-btn .badge-dot { position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } .sound-btn .badge-dot.new { background: var(--success); } .sound-btn .badge-dot.top { background: var(--warning); } /* ──────────────────────────────────────────── Control Bar (Bottom) ──────────────────────────────────────────── */ .control-bar { position: fixed; bottom: 0; left: 0; right: 0; height: var(--control-h); background: var(--bg-surface-0); border-top: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; align-items: center; padding: 0 24px; gap: 12px; z-index: 30; } .ctrl-section { display: flex; align-items: center; gap: 8px; } .ctrl-section.left { flex: 1; min-width: 0; } .ctrl-section.center { flex-shrink: 0; } .ctrl-section.right { flex: 1; justify-content: flex-end; min-width: 0; } /* Channel select in control bar */ .channel-wrap { display: flex; align-items: center; gap: 6px; min-width: 0; } .channel-wrap .material-icons { font-size: 18px; color: var(--text-muted); flex-shrink: 0; } .channel-select { appearance: none; background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 28px 6px 10px; font-size: 12px; font-weight: 500; color: var(--text-primary); cursor: pointer; min-width: 160px; max-width: 280px; transition: all 0.15s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a7a90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; } .channel-select:hover { border-color: var(--border-hover); } .channel-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); } .channel-select option { background: var(--bg-surface-1); } /* ── Control Buttons ── */ .ctrl-btn { height: 38px; padding: 0 16px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: all 0.15s ease; white-space: nowrap; } .ctrl-btn .material-icons { font-size: 18px; } /* Stop */ .ctrl-btn.stop { background: var(--danger-glow); color: var(--danger); } .ctrl-btn.stop:hover { background: var(--danger); color: white; box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3); } /* Random / Shuffle */ .ctrl-btn.shuffle { background: var(--accent); color: white; } .ctrl-btn.shuffle:hover { background: var(--accent-hover); box-shadow: 0 4px 16px var(--accent-glow); transform: scale(1.03); } /* Party Mode */ .ctrl-btn.party { background: var(--bg-surface-2); color: var(--text-secondary); border: 1px solid var(--border); } .ctrl-btn.party:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-surface-3); } .ctrl-btn.party.active { background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6, #06b6d4); background-size: 300% 300%; animation: party-gradient 4s ease infinite; color: white; border: none; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); } .ctrl-btn.party.active:hover { transform: scale(1.03); } /* ── Volume ── */ .volume-wrap { display: flex; align-items: center; gap: 8px; width: 150px; flex-shrink: 0; } .volume-wrap .material-icons { font-size: 16px; color: var(--text-muted); cursor: pointer; flex-shrink: 0; } .volume-wrap .material-icons:hover { color: var(--text-secondary); } .volume-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--bg-surface-3); border-radius: 2px; outline: none; position: relative; background-image: linear-gradient(var(--accent), var(--accent)); background-size: var(--fill, 100%) 100%; background-repeat: no-repeat; } .volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--text-primary); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); cursor: pointer; transition: transform 0.1s; } .volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); } .volume-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text-primary); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); cursor: pointer; border: none; } .volume-pct { font-size: 11px; font-weight: 600; color: var(--text-muted); min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; } /* ── Now Playing ── */ .now-playing { font-size: 11px; font-weight: 500; color: var(--text-muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .now-playing span { color: var(--accent); } /* ──────────────────────────────────────────── Notifications / Toast ──────────────────────────────────────────── */ .toast { position: fixed; bottom: calc(var(--control-h) + 16px); left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; z-index: 100; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); animation: toast-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: none; } .toast .material-icons { font-size: 16px; } .toast.error { background: var(--danger); color: white; } .toast.info { background: var(--success); color: white; } /* ──────────────────────────────────────────── Admin Panel (Overlay) ──────────────────────────────────────────── */ .admin-toggle { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.15s; } .admin-toggle:hover { background: var(--bg-surface-2); color: var(--text-primary); } .admin-toggle.is-admin { color: var(--accent); } .admin-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); z-index: 50; display: flex; align-items: center; justify-content: center; animation: fade-in 0.2s ease; } .admin-panel { background: var(--bg-surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; width: 90%; max-width: 480px; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-lg); } .admin-panel h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; } .admin-panel .admin-close { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.15s; } .admin-panel .admin-close:hover { background: var(--bg-surface-3); color: var(--text-primary); } .admin-field { margin-bottom: 16px; } .admin-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; } .admin-field input { width: 100%; background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; transition: all 0.15s; } .admin-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); } .admin-btn { padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; transition: all 0.15s; } .admin-btn.primary { background: var(--accent); color: white; } .admin-btn.primary:hover { background: var(--accent-hover); } .admin-btn.outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); } .admin-btn.outline:hover { border-color: var(--border-hover); color: var(--text-primary); } .admin-btn.danger { background: var(--danger-glow); color: var(--danger); } .admin-btn.danger:hover { background: var(--danger); color: white; } /* ──────────────────────────────────────────── Party Mode Global Effects ──────────────────────────────────────────── */ .app-shell.party-active .header { border-bottom-color: transparent; background: linear-gradient(90deg, rgba(236, 72, 153, 0.08), rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08) ); background-size: 400% 100%; animation: party-gradient 6s ease infinite; } .app-shell.party-active .control-bar { border-top-color: transparent; box-shadow: 0 -2px 20px rgba(139, 92, 246, 0.15); } /* ──────────────────────────────────────────── Animations & Keyframes ──────────────────────────────────────────── */ @keyframes party-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes pulse-bg { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } } @keyframes toast-in { from { transform: translate(-50%, 16px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes spin { to { transform: rotate(360deg); } } /* Staggered entrance for sound buttons */ .sounds-grid .sound-btn { animation: sound-enter 0.2s ease both; } @keyframes sound-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ──────────────────────────────────────────── Responsive ──────────────────────────────────────────── */ @media (max-width: 768px) { .header { padding: 0 16px; gap: 10px; height: auto; min-height: 56px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; } .logo { font-size: 18px; } .header-search { order: 10; max-width: 100%; flex-basis: 100%; } .header-meta { gap: 8px; } .sound-count { display: none; } .tab-bar { padding: 0 16px; overflow-x: auto; scrollbar-width: none; } .tab-bar::-webkit-scrollbar { display: none; } .category-strip { padding: 0 16px; } .sounds-grid { padding: 12px 16px; gap: 5px; } .sound-btn { font-size: 11.5px; height: 32px; max-width: 180px; } .control-bar { padding: 0 12px; height: auto; min-height: var(--control-h); flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 8px; } .ctrl-section.left { order: 1; flex-basis: 100%; } .ctrl-section.center { order: 2; } .ctrl-section.right { order: 3; } .volume-wrap { width: 120px; } .channel-select { min-width: 120px; } .sounds-grid { padding-bottom: calc(140px + 24px); } .toast { bottom: 150px; } } @media (max-width: 480px) { .ctrl-btn span:not(.material-icons) { display: none; } .ctrl-btn { padding: 0 10px; } .volume-wrap { width: 100px; } .now-playing { display: none; } } /* ──────────────────────────────────────────── Utility ──────────────────────────────────────────── */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } /* Vapor theme gradient overlay */ [data-theme="vapor"] .app-shell::before { content: ''; position: fixed; inset: 0; background: linear-gradient(180deg, rgba(120, 40, 200, 0.06) 0%, transparent 40%, rgba(6, 214, 160, 0.04) 100% ); pointer-events: none; z-index: 0; }