:root {
    --bg-color: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(0, 0, 0, 0.06);
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --accent: #0ea5e9;
    --accent-glow: #38bdf8;
    --card-hover-bg: #ffffff;
    --card-border-hover: rgba(14, 165, 233, 0.4);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; -webkit-tap-highlight-color: transparent; }

body { background-color: var(--bg-color); color: var(--text-primary); overflow-x: hidden; min-height: 100vh; min-height: 100dvh; }
.hidden { display: none !important; }

/* AMBIENT BACKGROUND */
.app-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; background: linear-gradient(to bottom right, #f8fafc, #e0f2fe); }
.blob { position: absolute; filter: blur(120px); border-radius: 50%; opacity: 0.8; animation: drift 20s infinite alternate cubic-bezier(0.4,0,0.2,1); }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, #bae6fd, transparent); }
.blob-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, #ddd6fe, transparent); animation-delay: -5s; }
.blob-3 { top: 40%; left: 50%; width: 400px; height: 400px; background: radial-gradient(circle, #a7f3d0, transparent); animation-delay: -10s; }
@keyframes drift { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(50px,-50px) scale(1.1)} }

/* APP STRUCTURE */
.app-content { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 1.25rem; }

/* LIVE TICKER */
.live-ticker { background: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(14,165,233,0.12); padding: 0.5rem 0; overflow: hidden; position: relative; backdrop-filter: blur(12px); box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.ticker-track { display: inline-flex; gap: 0.5rem; padding-left: 100%; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-station { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.15); border-radius: 20px; font-size: 0.82rem; font-weight: 600; color: #0369a1; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.ticker-station:hover { background: rgba(14,165,233,0.18); transform: scale(1.05); color: #0284c7; }
.ticker-station .ticker-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; animation: liveGlow 1.8s infinite; flex-shrink: 0; }
.ticker-label { font-size: 0.82rem; font-weight: 700; color: var(--accent); margin-right: 0.5rem; letter-spacing: 0.3px; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-100%)} }

/* HEADER */
.main-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { background: linear-gradient(135deg, var(--accent-glow), var(--accent)); width: 48px; height: 48px; border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; font-weight: 800; color: #fff; box-shadow: 0 8px 20px rgba(14,165,233,0.25); }
.logo-text h1 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-primary); }
.logo-text span { color: var(--text-secondary); font-size: 0.82rem; }
.online-counter { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); padding: 0.45rem 1.1rem; border-radius: 20px; font-size: 0.88rem; display: flex; align-items: center; gap: 0.45rem; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.04); }
.pulse-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px rgba(16,185,129,0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,0.4)} 70%{box-shadow:0 0 0 6px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }

/* GLASS PANEL */
.glass-panel { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--radius); }

/* CONTROLS */
.controls-panel { display: flex; flex-direction: column; padding: 1.25rem; gap: 1.25rem; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.search-box { position: relative; display: flex; align-items: center; }
.search-box svg { position: absolute; left: 1rem; width: 18px; height: 18px; color: var(--text-secondary); }
.search-box input { width: 100%; background: #f8fafc; border: 1px solid var(--glass-border); color: var(--text-primary); padding: 0.9rem 1rem 0.9rem 2.85rem; border-radius: 12px; font-size: 0.95rem; outline: none; transition: var(--transition); }
.search-box input::placeholder { color: #9ca3af; }
.search-box input:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.12); }

.filter-tabs { display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-tabs::-webkit-scrollbar { display: none; }
.tab-btn { background: #f1f5f9; border: 1px solid transparent; color: #475569; padding: 0.55rem 1.15rem; border-radius: 20px; font-size: 0.88rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: var(--transition); min-height: 40px; }
.tab-btn:hover { background: #e2e8f0; color: var(--text-primary); }
.tab-btn.active { background: linear-gradient(135deg, var(--accent), #0284c7); color: #fff; box-shadow: 0 4px 15px rgba(14,165,233,0.3); border-color: transparent; }

/* REGIONS */
.regions-selector { padding: 0.85rem 1.25rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.region-badge { background: #f1f5f9; border: 1px solid transparent; padding: 0.35rem 0.75rem; border-radius: 12px; font-size: 0.8rem; cursor: pointer; color: var(--text-secondary); transition: var(--transition); }
.region-badge:hover, .region-badge.active { background: var(--accent-glow); color: #fff; box-shadow: 0 2px 8px rgba(56,189,248,0.3); }

/* STATIONS GRID */
.stations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.15rem; }
.station-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.15rem 1.15rem 2.4rem; display: flex; align-items: center; gap: 0.85rem; cursor: pointer; position: relative; transition: var(--transition); box-shadow: 0 4px 6px rgba(0,0,0,0.03); }
.station-card:hover { background: var(--card-hover-bg); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); border-color: var(--card-border-hover); }
.station-card:active { transform: translateY(-1px); }
.station-card.playing { border-color: var(--accent); background: #f0f9ff; box-shadow: 0 8px 24px rgba(14,165,233,0.12); }

.mini-eq { position: absolute; right: 1.15rem; top: 1.15rem; display: none; align-items: flex-end; gap: 3px; height: 16px; }
.station-card.playing .mini-eq { display: flex; }
.mini-eq span { width: 3px; background: var(--accent); border-radius: 2px; animation: bounce 0.5s infinite alternate ease-in-out; }
.mini-eq span:nth-child(2) { animation-delay: 0.2s; }
.mini-eq span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%{height:4px} 100%{height:16px} }

/* STAT BADGES */
.stat-badge { position: absolute; bottom: 0.5rem; left: 0.85rem; display: flex; align-items: center; gap: 3px; background: linear-gradient(135deg, #e0f2fe, #bae6fd); border: 1px solid rgba(14,165,233,0.2); color: #0369a1; font-size: 0.65rem; font-weight: 700; padding: 2px 7px 2px 5px; border-radius: 20px; white-space: nowrap; pointer-events: none; box-shadow: 0 1px 4px rgba(14,165,233,0.1); }
.stat-badge svg { width: 10px; height: 10px; fill: #0ea5e9; flex-shrink: 0; }
.stat-badge .medal { font-size: 0.72rem; line-height: 1; }

/* PLAY COUNT BADGE */
.play-count-badge { position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; background: linear-gradient(135deg, #ede9fe, #ddd6fe); border: 1px solid rgba(139,92,246,0.2); color: #6d28d9; font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; white-space: nowrap; pointer-events: none; }

/* LIVE LISTENERS BADGE */
.live-badge { position: absolute; bottom: 0.5rem; right: 0.85rem; display: flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #dcfce7, #bbf7d0); border: 1px solid rgba(16,185,129,0.25); color: #065f46; font-size: 0.65rem; font-weight: 700; padding: 2px 7px 2px 6px; border-radius: 20px; white-space: nowrap; pointer-events: none; animation: badgePop 0.3s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 1px 4px rgba(16,185,129,0.12); }
@keyframes badgePop { from{transform:scale(0.7);opacity:0} to{transform:scale(1);opacity:1} }
.live-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; flex-shrink: 0; animation: liveGlow 1.8s infinite; }
@keyframes liveGlow { 0%{box-shadow:0 0 0 0 rgba(16,185,129,0.5)} 70%{box-shadow:0 0 0 5px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }

/* STATION ICON */
.st-icon { width: 60px; height: 60px; background: #f1f5f9; border-radius: 14px; display: flex; justify-content: center; align-items: center; color: #94a3b8; box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden; flex-shrink: 0; position: relative; }
.st-icon.loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: inherit; z-index: 1; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.st-icon img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; position: relative; z-index: 2; }
.st-icon img.loaded { opacity: 1; }
.st-icon svg { width: 26px; height: 26px; position: relative; z-index: 2; }

.st-info { flex: 1; overflow: hidden; }
.st-info h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.st-info span { font-size: 0.78rem; color: var(--text-secondary); display: block; margin-top: 0.15rem; }

.fav-btn { background: none; border: none; color: #cbd5e1; cursor: pointer; padding: 5px; transition: var(--transition); flex-shrink: 0; position: relative; z-index: 2; }
.fav-btn:hover { color: #f43f5e; transform: scale(1.15); }
.fav-btn.active { color: #f43f5e; filter: drop-shadow(0 0 4px rgba(244,63,94,0.3)); }
.fav-btn svg { width: 21px; height: 21px; fill: currentColor; }
.card-actions { display: flex; align-items: center; gap: 0.2rem; flex-shrink: 0; }

/* SPINNER */
.loader-container { grid-column: 1/-1; display: flex; justify-content: center; padding: 3rem; }
.spinner { width: 38px; height: 38px; border: 3px solid #e2e8f0; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s infinite linear; }
@keyframes spin { 100%{transform:rotate(360deg)} }

.load-more-wrap { display: flex; justify-content: center; margin-top: 0.85rem; }
.glass-btn { background: #fff; border: 1px solid var(--glass-border); color: var(--text-primary); padding: 0.7rem 1.85rem; border-radius: 24px; font-weight: 600; cursor: pointer; transition: var(--transition); font-size: 0.9rem; box-shadow: 0 4px 10px rgba(0,0,0,0.04); }
.glass-btn:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.07); }

/* CUSTOM TOP PLAYER */
.custom-player { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; background: #ffffff; border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); z-index: 100; position: sticky; top: 0.5rem; gap: 1rem; flex-wrap: wrap; }
.cp-left { display: flex; align-items: center; gap: 1.1rem; flex: 1; min-width: 200px; }
.cp-cover { width: 56px; height: 56px; background: #f0f3ff; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #5c6fff; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.cp-cover img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cp-cover svg { width: 22px; height: 22px; }
.cp-info-eq { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; overflow: hidden; }
.cp-meta h3 { font-size: 1.05rem; font-weight: 700; color: #1e222b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-meta p { color: #8c98a4; font-size: 0.82rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
#equalizer { width: 100%; max-width: 210px; height: 34px; opacity: 0.9; margin-top: 3px; display: block; }

.cp-right { display: flex; align-items: center; gap: 1.1rem; }
.action-btn-small { background: none; border: none; color: #a4b0be; cursor: pointer; transition: 0.2s; padding: 4px; display: flex; }
.action-btn-small:hover { color: #1e222b; }
.action-btn-small svg { width: 21px; height: 21px; }
.cp-volume { display: flex; align-items: center; gap: 0.45rem; color: #a4b0be; width: 95px; }
.cp-volume svg { width: 17px; height: 17px; }
.cp-volume input { width: 100%; height: 4px; appearance: none; background: #e2e8f0; border-radius: 2px; outline: none; cursor: pointer; }
.cp-volume input::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; background: #3a7bd5; border-radius: 50%; box-shadow: 0 2px 4px rgba(58,123,213,0.4); }
.cp-play-btn { background: linear-gradient(135deg, #ff4d6d, #e11d48); color: #fff; border: none; padding: 0.55rem 1.3rem; border-radius: 24px; font-weight: 700; font-size: 0.9rem; font-family: 'Outfit', sans-serif; display: flex; align-items: center; gap: 0.45rem; cursor: pointer; box-shadow: 0 8px 20px rgba(255,77,109,0.3); transition: transform 0.2s, box-shadow 0.2s; }
.cp-play-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,77,109,0.4); }
.cp-play-btn:active:not(:disabled) { transform: translateY(0); }
.cp-play-btn:disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; opacity: 0.7; }
.cp-icon-wrap { width: 14px; height: 14px; display: flex; align-items: center; }
.cp-icon-wrap svg { width: 100%; height: 100%; }

/* TOAST */
.toast { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%) translateY(0); background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-weight: 700; padding: 0.7rem 1.35rem; border-radius: 20px; box-shadow: 0 8px 25px rgba(16,185,129,0.3); z-index: 1000; transition: var(--transition); font-size: 0.9rem; }
.toast.hidden { transform: translateX(-50%) translateY(-150%); opacity: 0; }

/* EMPTY STATE */
.empty-favs { grid-column: 1/-1; text-align: center; padding: 3rem 1.5rem; }
.empty-favs .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-favs h3 { color: var(--text-primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.empty-favs p { color: var(--text-secondary); font-size: 0.85rem; }

/* AUTH BUTTON */
.auth-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.auth-btn:hover { border-color: var(--accent); }
.auth-btn svg { width: 18px; height: 18px; color: var(--text-secondary); }

/* USER MENU */
.user-menu { position: relative; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0284c7); color: #fff; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(14,165,233,0.25); }
.user-dropdown { position: absolute; top: 48px; right: 0; background: #fff; border: 1px solid var(--glass-border); border-radius: 14px; padding: 0.75rem; min-width: 220px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); z-index: 200; }
.user-dropdown button, .user-dropdown a { display: block; width: 100%; text-align: left; background: none; border: none; padding: 0.5rem 0.65rem; border-radius: 8px; cursor: pointer; font-size: 0.85rem; color: var(--text-primary); text-decoration: none; transition: 0.15s; font-family: 'Outfit', sans-serif; }
.user-dropdown button:hover, .user-dropdown a:hover { background: #f1f5f9; }
.ud-email { font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.65rem; color: var(--text-primary); }
.ud-role { font-size: 0.72rem; padding: 0 0.65rem 0.3rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* MODALS */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 500; padding: 1rem; }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: 18px; padding: 2rem 1.75rem; max-width: 420px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.15); animation: modalIn 0.3s ease; }
@keyframes modalIn { from { transform: translateY(20px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); transition: 0.15s; }
.modal-close:hover { background: #e2e8f0; color: var(--text-primary); }
.modal h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text-primary); }
.modal input[type=text], .modal input[type=url], .modal input[type=email], .modal input[type=password] { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--glass-border); border-radius: 10px; font-size: 0.92rem; outline: none; margin-bottom: 0.65rem; transition: var(--transition); font-family: 'Outfit', sans-serif; color: var(--text-primary); }
.modal input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
.modal-btn { width: 100%; padding: 0.75rem; background: linear-gradient(135deg, var(--accent), #0284c7); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s; margin-top: 0.5rem; font-family: 'Outfit', sans-serif; }
.modal-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,0.3); }
.modal-links { text-align: center; margin-top: 1rem; display: flex; justify-content: center; gap: 1.5rem; }
.modal-links a { color: var(--accent); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.modal-links a:hover { text-decoration: underline; }
.modal-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.82rem; margin-bottom: 0.5rem; }

/* PLAYLIST LIST in modal */
.pl-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.75rem; border-radius: 10px; margin-bottom: 0.4rem; background: #f8fafc; cursor: pointer; transition: 0.15s; }
.pl-item:hover { background: #f0f4f8; }
.pl-item .pl-name { font-weight: 600; font-size: 0.88rem; }
.pl-item .pl-count { font-size: 0.75rem; color: var(--text-secondary); }
.pl-item .pl-actions { display: flex; gap: 0.3rem; }
.pl-item .pl-actions button { background: none; border: none; cursor: pointer; font-size: 0.85rem; padding: 0.2rem; }


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .custom-player { padding: 1rem; flex-direction: column; align-items: stretch; gap: 1rem; }
    .cp-left { min-width: 100%; gap: 0.85rem; }
    .cp-right { justify-content: space-between; width: 100%; }
    .cp-volume { width: 110px; }
    .stations-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.85rem; }
}

@media (max-width: 600px) {
    .app-content { padding: 1rem 0.65rem; gap: 0.85rem; }
    .stations-grid { grid-template-columns: 1fr; gap: 0.65rem; }
    .station-card { padding: 0.85rem 0.85rem 2.2rem; gap: 0.7rem; }
    .st-icon { width: 48px; height: 48px; border-radius: 12px; }
    .st-icon svg { width: 22px; height: 22px; }
    .st-info h3 { font-size: 0.9rem; }
    .st-info span { font-size: 0.72rem; }
    .fav-btn svg { width: 18px; height: 18px; }
    .card-actions { position: absolute; right: 0.85rem; bottom: 2.4rem; top: auto; }
    .mini-eq { right: 0.85rem; top: 0.85rem; }

    .custom-player { padding: 0.85rem; border-radius: 14px; top: 0.25rem; }
    .cp-cover { width: 44px; height: 44px; }
    .cp-cover svg { width: 18px; height: 18px; }
    .cp-meta h3 { font-size: 0.9rem; }
    .cp-meta p { font-size: 0.75rem; }
    #equalizer { max-width: 150px; height: 28px; }
    .cp-volume { display: none; }
    .cp-play-btn { padding: 0.5rem 1rem; font-size: 0.82rem; }

    .controls-panel { padding: 0.75rem; gap: 0.75rem; }
    .search-box input { padding: 0.75rem 0.85rem 0.75rem 2.5rem; font-size: 0.9rem; }
    .tab-btn { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
    .filter-tabs { gap: 0.4rem; }

    .logo-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 11px; }
    .logo-text h1 { font-size: 1.2rem; }
    .logo-text span { font-size: 0.72rem; }
    .online-counter { padding: 0.35rem 0.8rem; font-size: 0.8rem; }

    .regions-selector { padding: 0.6rem 0.75rem; gap: 0.35rem; }
    .region-badge { padding: 0.3rem 0.6rem; font-size: 0.72rem; }

    .live-ticker { padding: 0.35rem 0; }
    .ticker-station { font-size: 0.75rem; padding: 0.25rem 0.6rem; }
    .ticker-label { font-size: 0.75rem; }
}

@media (max-width: 380px) {
    .app-content { padding: 0.75rem 0.5rem; }
    .cp-left { gap: 0.65rem; }
    .cp-meta h3 { font-size: 0.82rem; }
    #equalizer { max-width: 120px; height: 24px; }
    .station-card { padding: 0.75rem 0.75rem 2rem; }
    .st-icon { width: 44px; height: 44px; }
}
