/* =============================================================================
 * muno-embed.css — the player other sites frame (/embed/music/{slug})
 *
 * A separate file on purpose: the iframe should not pull 70 KB of site CSS to
 * draw one row. The values are copied from the tokens in muno.css (dark is the
 * default there too), so the widget reads as the same product.
 * ========================================================================== */
@font-face{font-family:Peyda;font-style:normal;font-weight:400;font-display:swap;
  src:url(/Peyda/PeydaWeb/woff2/PeydaWebRegular.woff2) format("woff2")}
@font-face{font-family:Peyda;font-style:normal;font-weight:600;font-display:swap;
  src:url(/Peyda/PeydaWeb/woff2/PeydaWebSemiBold.woff2) format("woff2")}

:root{
  color-scheme:dark;
  --brand-1:#FF8A1F;--brand-2:#FF4D2E;
  --warm:linear-gradient(135deg,var(--brand-1),var(--brand-2));
  --on-warm:#17110A;
  --ink:#0E0C14;--ink-2:#15121D;--ink-3:#1D1928;
  --bone:#F3EDE4;--text:#E4DED6;--muted:#948CA3;
  --line:rgba(243,237,228,.09);--amber:#FF8A1F;--focus:#FFC34D;
}
@media (prefers-color-scheme:light){
  :root{
    color-scheme:light;
    --ink:#FAF8FB;--ink-2:#FFFFFF;--ink-3:#F2EFF5;
    --bone:#17131F;--text:#332D3F;--muted:#565061;
    --line:rgba(23,19,31,.10);--amber:#C2410C;--focus:#B23E0B;
  }
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%;background:transparent}
body{font-family:Peyda,"Vazirmatn","Segoe UI",system-ui,-apple-system,sans-serif;color:var(--text);
  -webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}

.em{display:flex;align-items:center;gap:14px;height:100%;min-height:120px;max-height:152px;
  padding:12px;background:var(--ink-2);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.em__art{flex:none;display:block;width:clamp(72px,24vw,120px);aspect-ratio:1;border-radius:8px;overflow:hidden;
  background:var(--ink-3)}
.em__art img{display:block;width:100%;height:100%;object-fit:cover}

.em__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.em__head{display:flex;flex-direction:column;min-width:0}
.em__t{font-weight:600;color:var(--bone);font-size:1rem;line-height:1.6;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.em__t:hover{color:var(--amber)}
.em__s{color:var(--muted);font-size:.8125rem;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.em__ctl{display:flex;align-items:center;gap:10px}
.em__play{flex:none;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:999px;
  background:var(--warm);color:var(--on-warm);cursor:pointer;box-shadow:0 8px 20px -10px rgba(255,110,30,.85)}
.em__play svg{width:18px;height:18px;fill:currentColor}
.em__i-pause{display:none}
.em[data-state="playing"] .em__i-play{display:none}
.em[data-state="playing"] .em__i-pause{display:block}
.em[data-state="loading"] .em__play{opacity:.7}

.em__bar{flex:1;min-width:0;height:4px;margin:0;-webkit-appearance:none;appearance:none;border-radius:999px;cursor:pointer;
  background:linear-gradient(to right,var(--amber) var(--p,0%),var(--line) var(--p,0%))}
.em__bar::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:var(--bone);border:0}
.em__bar::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--bone);border:0}
.em__time{flex:none;min-width:3.2em;color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums;text-align:end}

.em__brand{align-self:flex-start;color:var(--muted);font-size:.75rem;line-height:1.6}
.em__brand b{color:var(--amber);font-weight:600}
.em__brand:hover{color:var(--bone)}

@media (max-width:300px){.em__art{display:none}}
