
@font-face {
    font-family: 'Inter';
    src: url(../fonts/Inter-396ef5b9aadd406fff1fadda3447adb8.woff2) format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --primary: #2f7bff;
    --primary-strong: #1d62e0;
    --primary-soft: rgba(47, 123, 255, .14);
    --accent: #22d3ee;
    --brand-gradient: linear-gradient(135deg, #0057ba 0%, #2f7bff 55%, #22d3ee 100%);

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --success-soft: rgba(34, 197, 94, .14);
    --warning-soft: rgba(245, 158, 11, .14);
    --danger-soft: rgba(239, 68, 68, .14);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --header-h: 68px;
    --player-h: 88px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

:root {
    color-scheme: dark;
    --bg: #080d19;
    --bg-grad: radial-gradient(1100px 520px at 12% -8%, rgba(47, 123, 255, .20), transparent 60%),
               radial-gradient(900px 480px at 100% 0%, rgba(34, 211, 238, .10), transparent 55%);
    --surface: #0f172a;
    --surface-2: #162038;
    --surface-3: #1e2a47;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --text: #e9eefb;
    --text-soft: #b4c0d9;
    --muted: #8493b0;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    --header-bg: rgba(8, 13, 25, .78);
    --art-bg: #0b1325;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body { display: flex; flex-direction: column; position: relative; }
body::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(900px 600px at 8% -10%, rgba(47, 123, 255, .28), transparent 60%),
        radial-gradient(800px 560px at 100% 8%, rgba(139, 92, 246, .20), transparent 60%),
        radial-gradient(900px 600px at 70% 105%, rgba(34, 211, 238, .16), transparent 60%),
        radial-gradient(700px 500px at 0% 90%, rgba(47, 123, 255, .12), transparent 60%),
        var(--bg);
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}
html { scrollbar-color: #2b3d63 #070b15; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070b15; }
::-webkit-scrollbar-thumb { background: #243456; border-radius: 99px; border: 2px solid #070b15; }
::-webkit-scrollbar-thumb:hover { background: #34497a; }
body > main { flex: 1 0 auto; }
body > .site-footer { margin-top: 80px; flex-shrink: 0; }
body.has-player .site-footer { padding-bottom: calc(var(--player-h) + 28px + env(safe-area-inset-bottom)); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; text-decoration: none; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.15rem; border-radius: 12px; border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none !important;
    transition: transform .15s var(--ease), background .15s, border-color .15s, box-shadow .15s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(47, 123, 255, .35); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-3); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-danger-ghost { background: var(--danger-soft); color: var(--danger); }
.btn-danger-ghost:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    border: 1px solid transparent; background: transparent; color: var(--text-soft);
    transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.input, .select, .textarea {
    width: 100%; padding: .75rem .95rem; border-radius: 12px; border: 1px solid var(--border-strong);
    background: var(--surface-2); color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238493b0' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.4rem; }
.field-error { color: var(--danger); font-size: .82rem; }
.field-hint { color: var(--muted); font-size: .82rem; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--surface-2); font-size: .94rem; margin-bottom: 16px;
}
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--success-soft); border-color: rgba(34, 197, 94, .35); color: var(--text); }
.alert-success .icon { color: var(--success); }
.alert-danger, .alert-error { background: var(--danger-soft); border-color: rgba(239, 68, 68, .4); }
.alert-danger .icon, .alert-error .icon { color: var(--danger); }
.alert-warning { background: var(--warning-soft); border-color: rgba(245, 158, 11, .4); }
.alert-warning .icon { color: var(--warning); }
.alert-info { background: var(--primary-soft); border-color: rgba(47, 123, 255, .35); }
.alert-info .icon { color: var(--primary); }
.alert-title { font-weight: 700; display: block; margin-bottom: 2px; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--surface-3); color: var(--text-soft); }
.badge-live { background: var(--danger-soft); color: var(--danger); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: pulse 1.6s infinite; }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }

.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }

.toasts { position: fixed; z-index: 300; left: 50%; transform: translateX(-50%); bottom: calc(var(--player-h) + 28px); display: grid; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); animation: toast-in .25s var(--ease); font-size: .92rem; }
.toast-error .icon { color: var(--danger); }
.toast-success .icon { color: var(--success); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

.site-header {
    position: sticky; top: 0; z-index: 100; height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
    background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none !important; }
.brand img { border-radius: 10px; }
.brand-logo { height: 40px; width: auto; border-radius: 8px; background: #fff; }
.brand-text span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-link {
    display: inline-flex; align-items: center; gap: 8px; padding: .55rem .95rem; border-radius: 999px;
    color: var(--text-soft); font-weight: 600; font-size: .92rem; text-decoration: none !important; transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.is-active { background: var(--primary-soft); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.menu-btn { display: none; }

.page-hero { padding: 44px 0 18px; animation: fade-up .5s var(--ease); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { color: var(--text-soft); max-width: 60ch; font-size: 1.05rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .8rem; font-weight: 700; margin-bottom: 14px; }
.hero-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }

.search { position: relative; width: min(100%, 380px); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search .input { padding-left: 2.6rem; border-radius: 999px; background: var(--surface); }

.announcement { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); margin: 8px 0 8px; box-shadow: var(--shadow); }
.announcement .icon { color: var(--primary); margin-top: 3px; width: 1.4em; height: 1.4em; }
.announcement h2 { font-size: 1.05rem; margin-bottom: .2em; }
.announcement p { margin: 0; color: var(--text-soft); }

.section { margin-top: 34px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head .count { color: var(--muted); font-size: .9rem; }

.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.featured-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.station { position: relative; animation: fade-up .45s var(--ease) backwards; }
.station[hidden] { display: none; }
.station-link { display: block; height: 100%; padding: 10px 10px 14px; border-radius: 20px; color: var(--text); background: var(--surface); border: 1px solid var(--border); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, background .25s; }
@media (hover: hover) { .station:hover .station-link { transform: translateY(-5px); border-color: rgba(47, 123, 255, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(47, 123, 255, .25); background: var(--surface-2); } .station:hover .station-art img { transform: scale(1.06); } .station:hover .station-play { opacity: 1; transform: none; } }
.station-link:focus-visible { transform: translateY(-5px); border-color: rgba(47, 123, 255, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(47, 123, 255, .25); background: var(--surface-2); }
.station-art { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--art-bg); isolation: isolate; }
.station-art::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--logo) center / cover; filter: blur(26px) saturate(1.6); opacity: .55; }
.station-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 13, 25, 0) 55%, rgba(8, 13, 25, .55)); }
.station-art img { width: 100%; height: 100%; object-fit: contain; padding: 12%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); transition: transform .35s var(--ease); }
.station-info { margin-top: 12px; padding-inline: 4px; min-width: 0; }
.station-name { font-weight: 700; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-slogan { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.station-play {
    position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: var(--brand-gradient); color: #fff; box-shadow: 0 8px 22px rgba(47, 123, 255, .55);
    opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .2s, transform .25s var(--ease);
}
.station-link:focus-visible .station-play { opacity: 1; transform: none; }
.station.is-playing .station-link { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 18px 40px rgba(47, 123, 255, .25); }
.station.is-playing .station-play { opacity: 0; }
.station-eq { position: absolute; left: 10px; top: 10px; display: none; align-items: flex-end; gap: 3px; height: 16px; padding: 7px 9px; background: var(--primary); border-radius: 10px; box-sizing: content-box; }
.station.is-playing .station-eq { display: flex; }
.eq-bar { width: 3px; height: 40%; border-radius: 2px; background: #fff; animation: eq 1s ease-in-out infinite; }
.eq-bar:nth-child(2) { animation-delay: .25s; }
.eq-bar:nth-child(3) { animation-delay: .5s; }
.station.is-paused .eq-bar, .player.is-paused .eq-bar { animation-play-state: paused; }

.station.is-feature .station-link { display: flex; align-items: center; gap: 16px; padding: 12px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.station.is-feature .station-art { flex: none; width: 92px; height: 92px; aspect-ratio: auto; }
.station.is-feature .station-info { margin: 0; flex: 1; }
.station.is-feature .station-name { font-size: 1.05rem; }
.station.is-feature .station-slogan { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.station.is-feature .station-play { position: static; flex: none; opacity: 1; transform: none; width: 42px; height: 42px; margin-right: 34px; }
.station.is-feature.is-playing .station-play { opacity: 1; }

.fav-btn {
    position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    border: 0; background: rgba(8, 13, 25, .65); color: #fff; backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s, transform .15s, background .15s;
}
.station.is-feature .fav-btn { top: 50%; right: 12px; margin-top: -17px; opacity: 1; background: var(--surface-3); }
.station:hover .fav-btn, .fav-btn:focus-visible, .fav-btn.is-fav { opacity: 1; }
.fav-btn:hover { transform: scale(1.12); }
.fav-btn.is-fav { color: var(--danger); background: rgba(255, 255, 255, .94); }
.fav-btn.is-fav .icon, .player-fav.is-fav .icon { fill: currentColor; }
.fav-btn .icon { width: 1.05em; height: 1.05em; }

.hero-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: center;
    padding: 40px; margin-top: 28px; border-radius: 28px; border: 1px solid var(--border-strong);
    background: radial-gradient(600px 300px at 90% 0%, rgba(34, 211, 238, .22), transparent 60%), radial-gradient(700px 360px at 0% 100%, rgba(47, 123, 255, .35), transparent 60%), linear-gradient(135deg, #0b1b3d, #0a1226);
    box-shadow: var(--shadow-lg); animation: fade-up .5s var(--ease);
}
.hero-card h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .3em; }
.hero-card p { color: var(--text-soft); max-width: 56ch; font-size: 1.05rem; margin-bottom: 1.4em; }
.hero-art { position: relative; height: 230px; }
.hero-tile { position: absolute; width: 124px; height: 124px; border-radius: 26px; background: rgba(255, 255, 255, .07); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); display: grid; place-items: center; animation: float 7s ease-in-out infinite; }
.hero-tile img { width: 78%; height: 78%; object-fit: contain; }
.hero-tile.t1 { left: 6%; top: 8%; transform: rotate(-8deg); }
.hero-tile.t2 { left: 38%; top: 0; transform: rotate(5deg); animation-delay: -2s; }
.hero-tile.t3 { right: 4%; top: 22%; transform: rotate(10deg); animation-delay: -4s; }
.hero-tile.t4 { left: 24%; top: 52%; transform: rotate(-3deg); animation-delay: -1s; }
@keyframes float { 50% { translate: 0 -10px; } }
.hero-card .search { width: min(100%, 440px); }
.hero-card .search .input { background: rgba(8, 13, 25, .6); border-color: var(--border-strong); padding-block: .9rem; }

.fav-cta { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; border: 1px dashed var(--border-strong); background: var(--surface); }
.fav-cta .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--danger-soft); color: var(--danger); }
.fav-cta p { margin: 0; flex: 1; color: var(--text-soft); }
.fav-cta strong { color: var(--text); display: block; }

.section-title { display: flex; align-items: center; gap: 10px; }
.section-title .icon { color: var(--primary); }
.fav-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 170px); gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.fav-row .station[hidden] { display: none; }

.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state .icon { width: 2.4em; height: 2.4em; margin-bottom: 10px; opacity: .6; }
.empty-state h3 { color: var(--text); margin-bottom: .3em; }

.live-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-wrap .video-js { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-error { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(0, 0, 0, .78); z-index: 5; }
.video-error[hidden] { display: none; }
.live-meta { display: flex; align-items: center; gap: 14px; }
.live-meta img { width: 56px; height: 56px; border-radius: 12px; background: var(--art-bg); border: 1px solid var(--border); object-fit: contain; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 36px; padding-block: 48px 28px; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; }
.footer-about p, .footer-credits p { color: var(--text-soft); font-size: .92rem; margin: 14px 0; max-width: 42ch; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a { color: var(--text-soft); font-size: .93rem; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.to-top { color: var(--muted); }

.cookie-notice { position: fixed; z-index: 250; left: 16px; bottom: calc(var(--player-h) + 28px); max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: .88rem; }
.cookie-notice p { margin: 0; color: var(--text-soft); }
.cookie-notice[hidden] { display: none; }
body:not(.has-player) .cookie-notice { bottom: 16px; }
body:not(.has-player) .toasts { bottom: 24px; }

.player {
    position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    max-width: 1256px; margin-inline: auto; height: var(--player-h);
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 12px 18px;
    background: var(--header-bg); backdrop-filter: saturate(160%) blur(22px); -webkit-backdrop-filter: saturate(160%) blur(22px);
    border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    animation: fade-up .35s var(--ease);
}
.player[hidden] { display: none; }
.player-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-art { position: relative; flex: none; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--art-bg); border: 1px solid var(--border); }
.player-art img { width: 100%; height: 100%; object-fit: contain; }
.player-text { min-width: 0; }
.player-title { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-title .badge { flex: none; }
.player-sub { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub.is-error { color: var(--danger); }
.player-controls { display: flex; align-items: center; justify-content: center; }
.ctrl { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--text-soft); display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.ctrl:hover { background: var(--surface-2); color: var(--text); }
.ctrl-main { width: 56px; height: 56px; background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(47, 123, 255, .5); }
.ctrl-main:hover { background: var(--primary-strong); color: #fff; transform: scale(1.05); }
.ctrl-main .icon { width: 1.5em; height: 1.5em; }
.player .is-hidden { display: none; }
.player-extra { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.player-fav.is-fav { color: var(--danger); }
.volume { display: flex; align-items: center; gap: 6px; }
.volume input[type=range] { width: 100px; }

input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--primary) var(--fill, 100%), var(--surface-3) var(--fill, 100%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); cursor: pointer; }

.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 48px auto 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); animation: fade-up .5s var(--ease); }
.auth-side { padding: 44px 40px; background: var(--brand-gradient); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.auth-side h1 { color: #fff; }
.auth-side p { color: rgba(255, 255, 255, .88); margin: 0; }
.auth-side ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.auth-side li .icon { background: rgba(255, 255, 255, .2); border-radius: 50%; padding: 4px; width: 1.7em; height: 1.7em; }
.auth-form { padding: 40px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; margin-bottom: 26px; }
.tab { flex: 1; padding: .6rem; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-weight: 600; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tab-panel[hidden] { display: none; }

.account-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.profile-card { text-align: center; padding: 28px; }
.avatar { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: var(--brand-gradient); box-shadow: 0 10px 30px rgba(47, 123, 255, .4); }
.profile-card dl { text-align: left; margin: 20px 0 0; display: grid; gap: 12px; }
.profile-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.profile-card dd { margin: 0; word-break: break-word; font-weight: 500; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.tile { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.tile .tile-label { color: var(--muted); font-size: .82rem; font-weight: 600; }
.tile .tile-value { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.bar-list { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 80px; gap: 12px; align-items: center; font-size: .9rem; }
.bar-row .bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.bar-track { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; background: var(--brand-gradient); width: var(--w, 0%); transition: width .8s var(--ease); }
.bar-row .bar-val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.mini-station { display: block; text-align: center; color: var(--text-soft); font-size: .78rem; font-weight: 600; text-decoration: none !important; }
.mini-station img { aspect-ratio: 1; width: 100%; object-fit: contain; border-radius: 12px; background: var(--art-bg); border: 1px solid var(--border); margin-bottom: 6px; transition: transform .2s var(--ease); }
.mini-station:hover img { transform: translateY(-3px); }
.mini-station span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stack > * + * { margin-top: 24px; }

.state-page { display: grid; place-items: center; padding: 24px; }
.state-card { max-width: 460px; text-align: center; padding: 44px 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.state-card p { color: var(--text-soft); }
.state-icon { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.state-icon .icon { width: 2em; height: 2em; }
.state-code { font-size: 4.5rem; font-weight: 800; letter-spacing: -.04em; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 12px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 20px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.info-item h3 { margin: 0 0 2px; font-size: 1rem; }
.info-item p { margin: 0; color: var(--text-soft); font-size: .93rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 1000px) {
    .menu-btn { display: inline-grid; }
    .main-nav {
        position: absolute; top: calc(var(--header-h) + env(safe-area-inset-top)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none;
    }
    .main-nav.is-open { display: flex; }
    .nav-link { border-radius: 12px; padding: .8rem 1rem; }
    .header-actions { margin-left: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .volume input[type=range] { width: 72px; }
}
@media (max-width: 760px) {
    :root { --player-h: 76px; --header-h: 62px; }
    .hide-sm { display: none; }
    .container { padding-inline: 16px; }
    .station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .featured-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(270px, 86%); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
    .featured-row .station { scroll-snap-align: start; }
    .station-link { padding: 8px 8px 12px; border-radius: 16px; }
    .fav-btn { opacity: 1; width: 30px; height: 30px; top: 14px; right: 14px; }
    .station.is-feature .fav-btn { top: 50%; right: 10px; margin-top: -15px; }
    .station-play { display: none; }
    .station.is-feature .station-link { gap: 12px; padding: 10px; }
    .station.is-feature .station-art { width: 68px; height: 68px; }
    .station.is-feature .station-play { display: grid; width: 36px; height: 36px; margin-right: 34px; }
    .featured-row { grid-auto-columns: minmax(280px, 90%); }
    .hero-card { grid-template-columns: 1fr; padding: 26px 20px; border-radius: 22px; gap: 20px; margin-top: 18px; }
    .hero-art { display: none; }
    .fav-cta { flex-wrap: wrap; }
    .page-hero { padding-top: 28px; }
    .player { left: 8px; right: 8px; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px; gap: 10px; }
    .player-extra .volume, .player-extra .player-share { display: none; }
    .player-art { width: 52px; height: 52px; }
    .ctrl-main { width: 50px; height: 50px; }
    .auth-wrap { grid-template-columns: 1fr; margin-top: 20px; }
    .auth-side { padding: 28px; }
    .auth-form { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .bar-row { grid-template-columns: 100px minmax(0, 1fr) 60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cookie-notice { left: 8px; right: 8px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.empty-state[hidden], .section[hidden], .tab-panel[hidden] { display: none; }

.row-scroller { position: relative; }
.featured-row, .fav-row { scrollbar-width: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.featured-row::-webkit-scrollbar, .fav-row::-webkit-scrollbar { display: none; }
.scroll-btn { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(8, 13, 25, .86); color: var(--text); backdrop-filter: blur(8px); box-shadow: var(--shadow); transition: background .15s, transform .15s, opacity .15s; }
.scroll-btn:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }
.scroll-btn.prev { left: -14px; }
.scroll-btn.next { right: -14px; }
.scroll-btn.prev .icon { transform: rotate(90deg); }
.scroll-btn.next .icon { transform: rotate(-90deg); }
.scroll-btn { display: none; }
.row-scroller.can-prev .scroll-btn.prev, .row-scroller.can-next .scroll-btn.next { display: grid; }
@media (hover: none), (max-width: 760px) { .row-scroller .scroll-btn { display: none !important; } }


.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 28px; align-items: start; animation: fade-up .5s var(--ease); }
.live-main { min-width: 0; }
.live-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.live-bar img { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: var(--art-bg); border: 1px solid var(--border); flex: none; }
.live-bar-text { flex: 1; min-width: 0; }
.live-bar-text h1 { font-size: 1.3rem; margin: 0 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-bar-text p { margin: 0; color: var(--muted); }
.live-list { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; position: sticky; top: calc(var(--header-h) + 16px); }
.live-list-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.live-list-head h2 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.live-list-head .icon { color: var(--primary); }
.live-list-head .count { color: var(--muted); font-size: .85rem; }
.live-items { display: grid; gap: 4px; padding: 8px; max-height: 560px; overflow-y: auto; }
.live-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--text); text-decoration: none !important; transition: background .15s; }
.live-item img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--art-bg); border: 1px solid var(--border); flex: none; }
.live-item-text { flex: 1; min-width: 0; }
.live-item-text strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-item-text small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-item > .icon { color: var(--muted); }
.live-item:hover { background: var(--surface-2); }
.live-item.is-active { background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(47, 123, 255, .5); }

body.is-live .player { display: none; }
body.is-live .site-footer { padding-bottom: 0; }

html.is-loading::after { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 35%; z-index: 999; background: var(--brand-gradient); animation: route 1s ease-in-out infinite; }
@keyframes route { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

@media (max-width: 1000px) {
        .live-layout { grid-template-columns: 1fr; }
    .live-list { position: static; }
    .live-items { max-height: 420px; }
    .hero-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .live-bar { flex-wrap: wrap; }
    .live-bar .btn { width: 100%; }
}

.nav-link { white-space: nowrap; }
.header-inner { gap: 14px; }
.main-nav { gap: 2px; }
@media (max-width: 1320px) and (min-width: 1001px) {
    .nav-link .icon { display: none; }
    .nav-link { padding: .55rem .8rem; }
}

.featured-row, .fav-row { padding: 6px 4px 14px; margin: -6px -4px -2px; }
.featured-row .station.is-playing .station-link, .fav-row .station.is-playing .station-link { box-shadow: 0 0 0 1px var(--primary); }
.cta-more { display: block; font-size: .9rem; }

@media (max-width: 760px) {
    .fav-cta { flex-wrap: nowrap; gap: 12px; padding: 10px 12px; border-radius: 16px; }
    .fav-cta .ico { width: 36px; height: 36px; border-radius: 11px; }
    .fav-cta .ico .icon { width: 1em; height: 1em; }
    .fav-cta p { font-size: .88rem; line-height: 1.3; }
    .fav-cta .cta-more { display: none; }
    .fav-cta .btn { flex: none; padding: .45rem .8rem; font-size: .8rem; }
    .fav-cta .btn .icon { display: none; }
    .section { margin-top: 24px; }
    .section-head h2 { font-size: 1.15rem; }
    .player { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 18px; }
    .player-title { font-size: .95rem; }
    .player-sub { font-size: .78rem; }
    .toasts { bottom: calc(var(--player-h) + 24px); }
}

html.is-app { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
html.is-app body { -webkit-user-select: none; user-select: none; }
html.is-app input, html.is-app textarea { -webkit-user-select: text; user-select: text; }
html.is-app .cookie-notice { display: none; }

.app-banner { display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); background: var(--surface-2); border-bottom: 1px solid var(--border-strong); }
.app-banner[hidden] { display: none; }
.app-banner img { border-radius: 11px; flex: none; }
.app-banner-text { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner-text strong { display: block; font-size: .92rem; }
.app-banner-text span { display: block; color: var(--muted); font-size: .76rem; }
.app-banner .btn { flex: none; }

.steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-soft); }
.steps li::marker { color: var(--primary); font-weight: 700; }
