        /* Стили (без изменений) */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(145deg, #f0f4fa 0%, #e6ecf5 100%);
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            color: #1e293b;
        }

        .radio-card {
            max-width: 800px;
            width: 100%;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 48px;
            padding: 28px 24px;
            box-shadow: 0 35px 68px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
            border: 1px solid rgba(255,255,255,0.6);
        }

        h1 {
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: -0.02em;
            background: linear-gradient(125deg, #1e2b4f, #2563eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        h1 i {
            background: #2563eb20;
            padding: 10px;
            border-radius: 30px;
            font-size: 1.5rem;
            color: #2563eb;
            -webkit-text-fill-color: #2563eb;
        }

        .subhead {
            color: #566982;
            margin-bottom: 24px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            font-size: 0.95rem;
        }

        .subhead .badge {
            background: #1e293b;
            color: white;
            border-radius: 40px;
            padding: 5px 16px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .filter-panel {
            background: rgba(255,255,255,0.8);
            border-radius: 36px;
            padding: 20px;
            margin-bottom: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            border: 1px solid #ffffff;
        }

        .filter-type {
            display: flex;
            gap: 8px;
            background: white;
            padding: 4px;
            border-radius: 40px;
            width: 100%;
        }

        .filter-type-btn {
            border: none;
            background: transparent;
            padding: 12px 0;
            border-radius: 40px;
            font-weight: 600;
            color: #4b5e77;
            cursor: pointer;
            font-size: 0.95rem;
            flex: 1;
            text-align: center;
            transition: 0.15s;
        }

        .filter-type-btn.active {
            background: #1e293b;
            color: white;
        }

        .filter-select select {
            width: 100%;
            padding: 14px 24px;
            border-radius: 50px;
            border: 1px solid #dbe4f0;
            background: white;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            color: #1e293b;
            appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2331639c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
            background-repeat: no-repeat;
            background-position: right 24px center;
            background-size: 18px;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .filter-select select:disabled {
            background-color: #f4f7fd;
            color: #8f9fb1;
            border-color: #d8e2f0;
        }

        .apply-filter-btn {
            background: #2563eb;
            border: none;
            color: white;
            font-weight: 600;
            padding: 14px 24px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: 1px solid #ffffff80;
            width: 100%;
            transition: 0.15s;
        }

        .apply-filter-btn:hover:not(:disabled) {
            background: #1d4ed8;
        }

        .apply-filter-btn:disabled {
            background: #a7bfe6;
            cursor: not-allowed;
        }

        .search-section {
            background: rgba(255,255,255,0.8);
            border-radius: 36px;
            padding: 20px;
            margin-bottom: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            border: 1px solid #ffffff;
        }

        .search-wrapper {
            display: flex;
            background: white;
            border-radius: 50px;
            padding: 4px 4px 4px 24px;
            border: 1px solid #eef4ff;
            align-items: center;
            width: 100%;
        }

        #searchInput {
            flex: 1;
            border: none;
            padding: 14px 12px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            background: transparent;
            outline: none;
            font-weight: 500;
            min-width: 0;
        }

        #searchBtn {
            background: #1e293b;
            border: none;
            color: white;
            font-weight: 600;
            padding: 12px 28px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #ffffff50;
            white-space: nowrap;
        }

        .player-bar {
            background: #ffffffd9;
            backdrop-filter: blur(8px);
            border-radius: 40px;
            padding: 24px;
            margin-bottom: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            border: 1px solid white;
            box-shadow: 0 8px 25px -12px #00000030;
        }

        .player-top {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .play-btn {
            background: #1e293b;
            border: none;
            width: 64px;
            height: 64px;
            border-radius: 30px;
            color: white;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 2px solid #ffffffd0;
            flex-shrink: 0;
            transition: 0.1s;
            box-shadow: 0 10px 18px -8px #2563eb;
        }

        .play-btn:hover {
            background: #374b68;
            transform: scale(1.02);
        }

        .track-info {
            flex: 1;
            min-width: 0;
        }

        .track-info .station {
            font-weight: 700;
            font-size: 1.3rem;
            color: #0b2a4a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.3;
        }

        .track-info .meta {
            font-size: 0.9rem;
            color: #617c9c;
            font-weight: 400;
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .player-controls-row {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .status-block {
            display: flex;
            align-items: center;
            gap: 16px;
            background: #f1f5f9;
            padding: 8px 18px;
            border-radius: 40px;
            flex: 1;
            min-width: 200px;
        }

        .status-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .status-dot {
            width: 12px;
            height: 12px;
            border-radius: 12px;
            background: #94a3b8;
            transition: background 0.2s;
        }

        .status-dot.connected {
            background: #22c55e;
            box-shadow: 0 0 10px #22c55e;
        }

        .status-dot.connecting {
            background: #eab308;
            animation: pulse 1.2s infinite;
        }

        .status-dot.error {
            background: #ef4444;
        }

        .status-text {
            font-weight: 600;
            color: #334155;
            font-size: 0.95rem;
        }

        .bitrate-info {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #4b6b8f;
            font-weight: 500;
            margin-left: auto;
        }

        .volume-row {
            width: 100%;
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #f1f5f9;
            padding: 8px 20px;
            border-radius: 40px;
        }

        .volume-control i {
            color: #4f6f9f;
            font-size: 1.1rem;
            width: 20px;
        }

        .volume-control input[type=range] {
            flex: 1;
            height: 6px;
            -webkit-appearance: none;
            background: #cbd6e8;
            border-radius: 10px;
        }

        .volume-control input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: #2563eb;
            border-radius: 20px;
            cursor: pointer;
            box-shadow: 0 2px 8px #2563eb;
        }

        .copy-row {
            width: 100%;
        }

        .copy-link-btn {
            background: #f0f5ff;
            border: 1.5px solid #b7cef0;
            border-radius: 40px;
            padding: 14px 24px;
            font-weight: 600;
            color: #1f4480;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            font-size: 1rem;
            width: 100%;
            transition: 0.15s;
        }

        .copy-link-btn:hover {
            background: #dbe9ff;
            border-color: #2563eb;
        }

        .station-list {
            background: #ffffffb8;
            backdrop-filter: blur(6px);
            border-radius: 36px;
            padding: 16px 12px;
            max-height: 380px;
            overflow-y: auto;
            border: 1px solid #ffffff;
        }

        .station-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            margin: 4px 0;
            background: rgba(255,255,255,0.5);
            border-radius: 50px;
            transition: 0.1s;
            border: 1px solid transparent;
        }

        .station-item:hover {
            background: white;
            border-color: #b5d0ff;
        }

        .station-number {
            background: #e0eaff;
            color: #1e3c6f;
            font-weight: 700;
            font-size: 0.85rem;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 30px;
            box-shadow: 0 2px 6px #a0b9e0;
            flex-shrink: 0;
        }

        .station-info {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 0;
        }

        .station-name {
            font-weight: 600;
            color: #1f3a5e;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .protocol-badge {
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 30px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .protocol-badge.https {
            background: #22c55e20;
            color: #166534;
        }

        .protocol-badge.http {
            background: #fee2e2;
            color: #991b1b;
        }

        .format-badge {
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 30px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .format-badge.mp3 {
            background: #3b82f620;
            color: #1e40af;
        }

        .format-badge.aac {
            background: #8b5cf620;
            color: #5b21b6;
        }

        .format-badge.hls {
            background: #ec489920;
            color: #9d174d;
        }

        .format-badge.mp4 {
            background: #14b8a620;
            color: #115e59;
        }

        .format-badge.ogg {
            background: #f9731620;
            color: #9a3412;
        }

        .format-badge.unknown {
            background: #64748b20;
            color: #334155;
        }

        .station-tags {
            font-size: 0.8rem;
            color: #5f7799;
            margin-top: 4px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .play-station {
            background: #2563eb15;
            border: none;
            border-radius: 40px;
            width: 44px;
            height: 44px;
            font-size: 1.3rem;
            color: #2563eb;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.1s;
        }

        .play-station:hover {
            background: #2563eb;
            color: white;
        }

        .footer-note {
            margin-top: 24px;
            font-size: 0.85rem;
            color: #6781a5;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            text-align: center;
        }

        .footer-note a {
            color: #1f4480;
            font-weight: 600;
            text-decoration: none;
        }

        .station-count-badge {
            background: #2563eb20;
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 0.85rem;
            color: #1e3a6b;
            font-weight: 600;
            text-align: center;
            margin: 12px 0 4px;
        }

        .copy-toast {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            background: #1e293b;
            color: white;
            padding: 14px 32px;
            border-radius: 60px;
            font-weight: 500;
            font-size: 1rem;
            box-shadow: 0 20px 35px -8px #00000050;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
            white-space: nowrap;
        }
        .copy-toast.show { opacity: 1; }

        i.fa-spinner { animation: spin 1s linear infinite; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        @keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }

        @media (min-width: 600px) {
            .filter-panel {
                flex-direction: row;
                align-items: center;
            }
            .filter-type {
                width: auto;
                flex: 0 0 auto;
            }
            .filter-select {
                flex: 2;
            }
            .apply-filter-btn {
                width: auto;
                padding: 14px 32px;
            }
            .search-section {
                flex-direction: row;
                align-items: center;
            }
            .search-wrapper {
                flex: 2;
            }
            #searchBtn {
                width: auto;
            }
            .footer-note {
                flex-direction: row;
                justify-content: space-between;
            }
        }

        @media (min-width: 768px) {
            .radio-card {
                padding: 36px 40px;
            }
            .player-top .station {
                font-size: 1.5rem;
            }
        }
  