/* Zachkana FM — pleyer, mini pleyer va Avto rejim */

/* ---------- Sahifa ---------- */
.fm-page { display: grid; gap: var(--z-space-5); }
.fm-page > * { min-width: 0; }
.fm-page__side { display: grid; gap: var(--z-space-4); align-content: start; }
@media (min-width: 1024px) {
  .fm-page { grid-template-columns: minmax(340px, 420px) 1fr; align-items: start; gap: var(--z-space-8); }
  .fm-page__player { position: sticky; top: calc(var(--z-appbar-h) + 16px); }
}
.fm { position: relative; overflow: hidden; border-radius: var(--z-radius-xl); padding: 14px 18px 20px; isolation: isolate; }
.fm-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fm-brand { display: grid; line-height: 1.2; } .fm-brand b { font: 700 19px/1.2 var(--z-font-display); } .fm-brand small { font-size: 12px; opacity: .7; }
.fm-top__act { display: flex; gap: 6px; align-items: center; }
.fm-carbtn { gap: 6px; }
.fm-now { position: relative; text-align: center; margin-top: 6px; min-width: 0; }
.fm-now h2 { font: 700 22px/1.25 var(--z-font-display); margin: 6px 0 2px; overflow-wrap: anywhere; }
.fm-now p { margin: 0; font-size: 14px; opacity: .75; min-height: 1.3em; }
.fm-live { display: inline-flex; align-items: center; gap: 6px; font: 800 10.5px/1 var(--z-font-ui); letter-spacing: .1em; opacity: .8; }
.fm-live.is-live { color: #c0353d; opacity: 1; }
.fm-live.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); animation: fmBlink 1.6s infinite; }
@keyframes fmBlink { 50% { opacity: .35; } }
.fm-favrow { display: flex; justify-content: center; margin-top: 4px; }
.fm-fav { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; opacity: .6; cursor: pointer; }
.fm-fav.is-on { color: #e0455a; opacity: 1; } .fm-fav.is-on .z-icon { fill: currentColor; }
.fm-fav--sm { width: 36px; height: 36px; flex: none; }

.fm-seekwrap { position: relative; margin-top: 12px; }
.fm-seekwrap.is-live .fm-seek { pointer-events: none; }
.fm-seekwrap.is-live .fm-seek b { display: none; }
.fm-seek { position: relative; height: 22px; cursor: pointer; touch-action: none; }
.fm-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 9px; background: var(--fm-track, var(--z-bg-sunken)); }
.fm-seek i { position: absolute; left: 0; top: 9px; height: 4px; width: 0; border-radius: 9px; background: var(--fm-fill, var(--z-primary)); }
.fm-seek b { position: absolute; top: 11px; left: 0; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--fm-fill, var(--z-primary)), 0 2px 6px rgba(0, 0, 0, .2); }
.fm-times { display: flex; justify-content: space-between; font: 700 11px var(--z-font-ui); opacity: .65; font-variant-numeric: tabular-nums; }
.fm-ctl { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 10px; }
.fm-sm { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; }
.fm-sm .z-icon { width: 26px; height: 26px; }
.fm-play { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; background: var(--z-primary); color: #fff; box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--z-primary) 80%, transparent); transition: transform .15s var(--z-ease); }
.fm-play:active { transform: scale(.94); }
.fm-play .z-icon { width: 32px; height: 32px; }
.fm-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: fmSpin .8s linear infinite; }
@keyframes fmSpin { to { transform: rotate(360deg); } }
.fm-vol { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 14px; opacity: .85; }
.fm-vbtn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; }
.fm-vol input { flex: 1; accent-color: var(--fm-fill, var(--z-primary)); }
.fm-iosvol { text-align: center; font-size: 12px; opacity: .6; margin: 12px 0 0; }

/* ---------- A — «Naqsh» ---------- */
.fm--naqsh { background: radial-gradient(circle at 50% 30%, var(--z-surface-raised), var(--z-bg) 62%, var(--z-surface-2)); border: 1px solid var(--z-border); color: var(--z-text); --fm-c1: var(--z-accent); --fm-c2: var(--z-primary); }
.fm--naqsh::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: color-mix(in srgb, var(--z-primary) 7%, transparent); -webkit-mask: var(--z-girih) center / 46px 46px repeat; mask: var(--z-girih) center / 46px 46px repeat; }
.fm-disc { position: relative; width: min(300px, 82vw); aspect-ratio: 1; margin: 6px auto 0; transform: scale(var(--fm-pulse, 1)); }
.fm-disc canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fm-ring { position: absolute; inset: 13%; pointer-events: none; }
.fm-ring svg { width: 100%; height: 100%; fill: none; }
.fm-ring--1 svg rect { stroke: var(--z-accent); stroke-width: 1.1; } .fm-ring--1 { transform: rotate(14deg); opacity: .8; }
.fm-ring--2 svg rect { stroke: var(--z-primary); stroke-width: .7; } .fm-ring--2 { transform: scale(1.1) rotate(-8deg); opacity: .4; }
.fm-disc__cv { position: absolute; inset: 19%; border-radius: 50%; background-size: cover; background-position: center; display: grid; place-items: center; box-shadow: 0 18px 36px -12px color-mix(in srgb, var(--z-primary) 50%, transparent), inset 0 0 0 6px rgba(255, 255, 255, .55); animation: fmRot 24s linear infinite; animation-play-state: paused; }
.fm-disc__cv::after { content: ""; position: absolute; width: 14%; height: 14%; border-radius: 50%; background: var(--z-bg); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.fm-disc.is-playing .fm-disc__cv { animation-play-state: running; }
.fm-disc.is-playing .fm-ring--1 { animation: fmRot 60s linear infinite; }
@keyframes fmRot { to { transform: rotate(360deg); } }
.fm-cv-note { font-size: 30px; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fm-cv-note .z-icon { width: 34px; height: 34px; }
.fm-disc__cv .fm-cv-note { display: none; }

/* ---------- B — «Zamonaviy» (doim qorongʻi) ---------- */
.fm--zamonaviy { background: #0f1115; color: #e8eaed; --fm-c1: #ffffff; --fm-c2: #2dd4bf; --fm-c3: #5b8def; --fm-fill: #ffffff; --fm-track: rgba(255, 255, 255, .14); }
.fm-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 26%, rgba(45, 212, 191, .45), transparent 62%); }
.fm--zamonaviy .fm-brand b { font-family: Inter, var(--z-font-ui); font-weight: 800; letter-spacing: -.02em; }
.fm--zamonaviy .z-btn { color: #e8eaed; }
.fm--zamonaviy .fm-carbtn { background: rgba(255, 255, 255, .1); border-color: transparent; }
.fm-art { position: relative; margin: 14px auto 0; width: min(320px, 100%); aspect-ratio: 1; }
.fm-art__cv { position: absolute; inset: 0; border-radius: 22px; background-size: cover; background-position: center; display: grid; place-items: center; box-shadow: 0 30px 50px -22px rgba(45, 212, 191, .55); }
.fm--zamonaviy .fm-art__cv .fm-cv-note { font-size: 64px; }
.fm-strip { height: 58px; margin: 10px auto 0; width: min(320px, 100%); }
.fm-strip canvas { width: 100%; height: 100%; display: block; }
.fm-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.fm-row .fm-now { flex: 1; text-align: left; }
.fm--zamonaviy .fm-now h2 { font: 800 22px/1.2 Inter, var(--z-font-ui); letter-spacing: -.02em; }
.fm--zamonaviy .fm-live { color: #8b94a1; } .fm--zamonaviy .fm-live.is-live { color: #2dd4bf; }
.fm--zamonaviy .fm-play { background: #fff; color: #0f1115; box-shadow: none; }

/* ---------- C — «Eski radio» ---------- */
.fm--radio { background: linear-gradient(180deg, #2a2116, #3a2c1a); color: #f4ead6; --fm-fill: #e39a2d; --fm-track: rgba(244, 234, 214, .16); }
.fm--radio .fm-brand b { font-family: var(--z-font-display); }
.fm--radio .z-btn { color: #f4ead6; }
.fm--radio .fm-carbtn { background: rgba(244, 234, 214, .1); border-color: transparent; }
.fm-box { margin-top: 12px; border-radius: 22px; padding: 14px; background: linear-gradient(180deg, #5a4429, #3e2f1c); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), 0 20px 40px -20px #000; }
.fm-dial { position: relative; height: 84px; border-radius: 12px; background: linear-gradient(180deg, #fbefd5, #f1dcae); color: #3a2a10; overflow: hidden; box-shadow: inset 0 0 14px rgba(120, 80, 20, .4); }
.fm-dial__sc { position: absolute; left: 10px; right: 10px; top: 12px; height: 26px; background: repeating-linear-gradient(90deg, #6b4d1e 0 1.5px, transparent 1.5px 10px); -webkit-mask: linear-gradient(#000 0 55%, transparent 55%); mask: linear-gradient(#000 0 55%, transparent 55%); }
.fm-dial__st { position: absolute; left: 4px; right: 4px; bottom: 8px; display: flex; }
.fm-dial__st button { flex: 1; min-width: 0; border: 0; background: transparent; font: 800 10px/1.2 var(--z-font-ui); letter-spacing: .04em; color: #3a2a10; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 2px; cursor: pointer; }
.fm-dial__st button.is-on { color: #b8323a; }
.fm-dial__ndl { position: absolute; top: 6px; bottom: 30px; width: 3px; margin-left: -1.5px; background: #b8323a; box-shadow: 0 0 8px rgba(184, 50, 58, .8); transition: left .6s var(--z-ease-spring, ease); }
.fm-knobs { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.fm-knobs > div { display: grid; justify-items: center; gap: 6px; font: 800 10px var(--z-font-ui); color: #d8c49b; letter-spacing: .08em; }
.fm-knob { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; touch-action: none; position: relative; background: radial-gradient(circle at 35% 30%, #c8a36a, #7a5a2c 60%, #4a3519); box-shadow: 0 6px 12px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .2); }
.fm-knob::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 14px; margin-left: -1.5px; background: #f4ead6; border-radius: 2px; transform-origin: 50% 25px; transform: rotate(var(--r, 0deg)); transition: transform .3s; }
.fm-lamp { font: 800 10.5px var(--z-font-ui); letter-spacing: .1em; color: #8a7350; padding: 4px 10px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.fm-lamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6b2a1e; }
.fm-lamp.is-on { color: #f4c374; background: rgba(244, 195, 116, calc(.08 + var(--fm-glow, 0) * .2)); box-shadow: 0 0 calc(6px + var(--fm-glow, 0) * 22px) calc(var(--fm-glow, 0) * 6px) rgba(244, 195, 116, .45); }
.fm-lamp.is-on::before { background: #ff5a4a; box-shadow: 0 0 8px #ff5a4a; }
.fm-vu { height: 86px; margin-top: 12px; border-radius: 12px; background: linear-gradient(90deg, #fbefd5, #f1dcae 49.5%, transparent 49.5% 50.5%, #fbefd5 50.5%, #f1dcae); box-shadow: inset 0 0 14px rgba(120, 80, 20, .4); overflow: hidden; }
.fm-vu canvas { width: 100%; height: 100%; display: block; }
.fm-speaker { height: 60px; margin-top: 12px; border-radius: 12px; background: radial-gradient(circle, #2a2116 1.6px, transparent 2px) 0 0 / 9px 9px, #4a3820; }
.fm-art--radio { height: 0; }
.fm--radio .fm-now h2 { color: #f4ead6; } .fm--radio .fm-now p { color: #d8c49b; opacity: 1; }
.fm--radio .fm-live { color: #d8c49b; } .fm--radio .fm-live.is-live { color: #f4c374; }
.fm--radio .fm-play { background: #e39a2d; color: #2a2116; box-shadow: 0 12px 26px -10px rgba(227, 154, 45, .7); }

/* ---------- Stansiyalar va roʻyxat ---------- */
.fm-sts { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.fm-sts::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .fm-sts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; } }
.fm-st { flex: none; width: 138px; scroll-snap-align: start; display: grid; gap: 2px; text-align: left; padding: 8px; border-radius: 16px; border: 1.5px solid var(--z-border); background: var(--z-surface); color: var(--z-text); cursor: pointer; font: inherit; }
@media (min-width: 1024px) { .fm-st { width: auto; } }
.fm-st.is-on { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 30%, transparent); }
.fm-st__cv { height: 64px; border-radius: 11px; margin-bottom: 6px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 65%, #fff), var(--c)); background-size: cover; background-position: center; }
.fm-st b { font-size: 13.5px; line-height: 1.25; } .fm-st small { font-size: 11.5px; color: var(--z-text-3); }
.fm-list { background: var(--z-surface); border: 1px solid var(--z-border); border-radius: var(--z-radius-lg); padding: 6px 6px 8px; }
.fm-list:empty { display: none; }
.fm-list__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 4px; }
.fm-list__h h3 { margin: 0; font: 700 17px var(--z-font-display); }
.fm-list__note { font-size: 11.5px; color: var(--z-text-3); text-align: right; }
.fm-shuf { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--z-border); background: transparent; border-radius: 99px; padding: 5px 12px; font: 700 12.5px var(--z-font-ui); color: var(--z-text-2); cursor: pointer; }
.fm-shuf .z-icon { width: 16px; height: 16px; }
.fm-shuf.is-on { border-color: var(--z-primary); color: var(--z-primary-text); background: var(--z-primary-soft); }
.fm-trs { list-style: none; margin: 0; padding: 0; }
.fm-tr { display: flex; align-items: center; gap: 4px; border-radius: 12px; }
.fm-tr.is-on { background: var(--z-primary-soft); }
.fm-tr__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 7px 6px; text-align: left; color: inherit; font: inherit; cursor: pointer; border-radius: 12px; }
.fm-tr__main:disabled { cursor: default; color: inherit; opacity: 1; }
.fm-tr__cv { width: 44px; height: 44px; flex: none; border-radius: 10px; background-size: cover; background-position: center; display: grid; place-items: center; }
.fm-tr__cv .fm-cv-note { font-size: 18px; } .fm-tr__cv .fm-cv-note .z-icon { width: 20px; height: 20px; }
.fm-tr__m { flex: 1; min-width: 0; display: grid; }
.fm-tr__m b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-tr.is-on .fm-tr__m b { color: var(--z-primary-text); }
.fm-tr__m span { font-size: 12px; color: var(--z-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-tr__d { font: 700 12px var(--z-font-ui); color: var(--z-text-3); font-variant-numeric: tabular-nums; }
.fm-tr__d .z-icon { width: 18px; height: 18px; color: #e0455a; }
.fm-empty { padding: 18px; text-align: center; color: var(--z-text-3); font-size: 14px; }
.fm-emptybox { padding: 28px 16px; }
.fm-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-acts .z-btn { flex: 1 1 auto; }
.fm-sleepl:empty { display: none; }
.fm-sleepl { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--z-primary-text); }

/* Ritm ustunchalari (mini pleyer va roʻyxat) */
.fm-eq { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.fm-eq i { width: 3px; height: 30%; border-radius: 2px; background: #fff; box-shadow: 0 0 3px rgba(0, 0, 0, .3); }
.fm-tr.is-playing .fm-eq i, .fm-mini.is-playing .fm-eq i { animation: fmEq .9s ease-in-out infinite alternate; }
.fm-eq i:nth-child(2) { animation-delay: -.3s !important; } .fm-eq i:nth-child(3) { animation-delay: -.6s !important; } .fm-eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes fmEq { 0% { height: 20%; } 50% { height: 100%; } 100% { height: 45%; } }

/* ---------- Oynalar ---------- */
.fm-opt { display: grid; gap: 8px; margin-top: 16px; }
.fm-opt > b { font-size: 14px; } .fm-opt small { color: var(--z-text-3); font-size: 12px; }
.fm-opt--sw { grid-template-columns: 1fr auto; align-items: center; cursor: pointer; }
.fm-opt--sw span { display: grid; gap: 2px; }
.fm-opt--sw input { width: 22px; height: 22px; accent-color: var(--z-primary); }
.fm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-seg button { flex: 1 1 auto; border: 1.5px solid var(--z-border); background: var(--z-bg); border-radius: 12px; padding: 9px 10px; font: 700 13px var(--z-font-ui); color: var(--z-text); cursor: pointer; }
.fm-seg button.is-on { border-color: var(--z-primary); background: var(--z-primary-soft); color: var(--z-primary-text); }
.fm-sleep { display: grid; gap: 8px; margin-top: 12px; }
.fm-mine__h { font: 700 15px var(--z-font-display); margin: 18px 0 6px; }
.fm-mine { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fm-mine li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 10px; border-radius: 12px; background: var(--z-bg-sunken); font-size: 13.5px; }
.fm-mine small { grid-column: 1 / -1; color: var(--z-text-2); }
.fm-mine__s { font: 800 11px var(--z-font-ui); color: var(--z-text-3); } .fm-mine__s--played { color: var(--z-success); }

/* ---------- Mini pleyer ---------- */
.fm-mini { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: calc(var(--z-tabbar-h) + var(--z-safe-bottom) + 8px); display: flex; align-items: center; gap: 6px; padding: 7px 6px 9px 7px; border-radius: 16px; background: var(--z-surface-raised); border: 1px solid var(--z-border); box-shadow: 0 10px 28px -10px rgba(36, 30, 23, .45); animation: fmUp .3s var(--z-ease); }
.fm-mini[hidden] { display: none; }
@keyframes fmUp { from { transform: translateY(20px); opacity: 0; } }
body.is-immersive .fm-mini { bottom: calc(var(--z-safe-bottom) + 8px); }
body[data-route="chat"].is-immersive .fm-mini { display: none; }
@media (min-width: 1024px) { .fm-mini { left: auto; right: 24px; bottom: 24px; width: 380px; } }
body.has-fm-mini .view { padding-bottom: calc(var(--z-tabbar-h) + var(--z-safe-bottom) + 96px); }
body.has-fm-mini .z-toast-region { bottom: calc(var(--z-tabbar-h) + var(--z-safe-bottom) + 84px); }
@media (min-width: 1024px) { body.has-fm-mini .view { padding-bottom: 110px; } body.has-fm-mini .z-toast-region { bottom: 100px; } }
.fm-mini__cv { position: relative; width: 42px; height: 42px; flex: none; border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.fm-mini__img { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; }
.fm-mini__img .fm-cv-note { display: none; }
.fm-mini__cv .fm-eq { position: absolute; inset: 0; justify-content: center; align-items: center; height: auto; }
.fm-mini__cv .fm-eq i { max-height: 18px; }
.fm-mini__m { flex: 1; min-width: 0; display: grid; text-align: left; border: 0; background: transparent; padding: 0 2px; color: var(--z-text); font: inherit; cursor: pointer; }
.fm-mini__m b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-mini__m > span { font-size: 11.5px; color: var(--z-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-live--sm { font-size: 9px; }
.fm-live--sm:empty { display: none; }
.fm-mini__b { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--z-text); cursor: pointer; }
.fm-mini__b .z-icon { width: 20px; height: 20px; }
.fm-mini__p { background: var(--z-primary); color: #fff; }
.fm-mini__p .fm-spin { width: 18px; height: 18px; border-width: 2.5px; }
.fm-mini__x { width: 30px; color: var(--z-text-3); } .fm-mini__x .z-icon { width: 16px; height: 16px; }
.fm-mini__prog { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--z-bg-sunken); overflow: hidden; }
.fm-mini__prog i { display: block; height: 100%; width: 0; background: var(--z-primary); }

/* YouTube qoʻshigʻi — muqova ustida */
.fm-yt { position: fixed; z-index: 30; border-radius: 18px; overflow: hidden; background: #000; transition: opacity .2s; }
.fm-yt iframe { width: 100%; height: 100%; border: 0; }
.fm-yt:not(.is-on) { left: 0 !important; top: 0 !important; width: 2px !important; height: 2px !important; opacity: 0; pointer-events: none; }

/* ---------- Avto rejim ---------- */
.fm-car { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; color: #fff; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  padding: calc(var(--z-safe-top) + 10px) 14px calc(var(--z-safe-bottom) + 12px);
  background: radial-gradient(ellipse at 50% 115%, rgba(45, 212, 191, calc(.12 + var(--fm-glow, 0) * .45)), #07090c 64%), #07090c; }
.fm-car__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 800 13px var(--z-font-ui); color: #8b94a1; }
.fm-car__x { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: #1b1f25; color: #e8eaed; border: 0; font: 800 14px var(--z-font-ui); text-decoration: none; cursor: pointer; min-height: 44px; }
.fm-car__x .z-icon { width: 18px; height: 18px; }
.fm-car__badge { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; }
.fm-car__badge .z-icon { width: 18px; height: 18px; }
.fm-car__song { padding: 14px 8px 0; min-width: 0; }
.fm-car__song small { font: 800 12px var(--z-font-ui); letter-spacing: .14em; color: #2dd4bf; }
.fm-car__song h2 { font: 800 clamp(26px, 7vw, 36px)/1.15 var(--z-font-ui); margin: 6px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-car__song p { margin: 0; font-size: 18px; color: #b4bcc8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.fm-car__btns { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 10px; margin-top: 16px; min-height: 0; }
.fm-big { display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 26px; background: #171a1f; border: 2px solid #252a32; color: #fff; cursor: pointer; font: 800 40px/1 var(--z-font-ui); min-height: 84px; }
.fm-big:active { background: #232831; transform: scale(.98); }
.fm-big .z-icon { width: 54px; height: 54px; }
.fm-big small { font: 800 13px var(--z-font-ui); color: #8b94a1; }
.fm-big--play { grid-column: 1 / -1; background: #2dd4bf; color: #042f2e; border: 0; }
.fm-big--play:active { background: #5eead4; }
.fm-big--play .z-icon { width: 76px; height: 76px; }
.fm-big--play .fm-spin { width: 56px; height: 56px; border-width: 6px; }
.fm-car__vol { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; margin-top: 10px; align-items: center; }
.fm-big--v { min-height: 92px; }
.fm-car__lvl { text-align: center; font: 800 13px var(--z-font-ui); color: #8b94a1; }
.fm-car__lvl b { display: block; font-size: 26px; color: #fff; }
.fm-meter { display: flex; gap: 3px; justify-content: center; margin-top: 6px; }
.fm-meter i { width: 8px; height: 16px; border-radius: 3px; background: #2dd4bf; } .fm-meter i.off { background: #252a32; }
.fm-car__ios { grid-column: 1 / -1; text-align: center; color: #8b94a1; font: 700 14px var(--z-font-ui); margin: 6px 0; }
.fm-car__hint { text-align: center; font: 700 12.5px var(--z-font-ui); color: #5c6470; margin: 12px 0 0; position: relative; z-index: 1; }
.fm-car__viz { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; opacity: .5; pointer-events: none; --fm-c1: #2dd4bf; --fm-c2: #2dd4bf; }
.fm-car__flash { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.9); padding: 18px 28px; border-radius: 22px; background: rgba(0, 0, 0, .78); font: 800 30px var(--z-font-ui); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.fm-car__flash.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fm-car__pick { position: absolute; inset: 0; z-index: 3; background: #07090c; padding: calc(var(--z-safe-top) + 10px) 14px calc(var(--z-safe-bottom) + 12px); display: flex; flex-direction: column; }
.fm-car__pick[hidden] { display: none; }
.fm-car__tiles { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(130px, 150px); align-content: start; gap: 10px; margin-top: 14px; overflow-y: auto; touch-action: pan-y; }
.fm-tile { position: relative; border-radius: 24px; padding: 14px; border: 0; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; color: #fff; cursor: pointer; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 80%, #fff 0%), color-mix(in srgb, var(--c) 70%, #000)); font: 800 19px/1.15 var(--z-font-ui); }
.fm-tile small { font: 700 12.5px var(--z-font-ui); opacity: .85; margin-top: 4px; }
.fm-tile__i { position: absolute; top: 12px; left: 14px; font-size: 28px; }
.fm-tile.is-on { outline: 4px solid #fff; outline-offset: -4px; }
/* Telefon yotqizilganda (mashina ushlagichida) */
@media (orientation: landscape) and (max-height: 560px) {
  .fm-car { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 16px; }
  .fm-car__top { grid-column: 1 / -1; }
  .fm-car__song { grid-column: 1; grid-row: 2; align-self: center; }
  .fm-car__btns { grid-column: 2; grid-row: 2 / span 2; margin-top: 10px; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: 1fr; }
  .fm-big--play { grid-column: 2; grid-row: 1; }
  .fm-car__btns [data-fm="prev"] { grid-column: 1; grid-row: 1; } .fm-car__btns [data-fm="next"] { grid-column: 3; grid-row: 1; }
  .fm-car__vol { grid-column: 1; grid-row: 3; }
  .fm-big--v { min-height: 64px; }
  .fm-car__hint { display: none; }
  .fm-car__tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .fm-disc__cv, .fm-ring--1, .fm-eq i, .fm-live.is-live::before { animation: none !important; }
}
