/* ═══════════════════════════════════════════════════════════════════════════
 *  v119 · صفحهٔ گرامافون کنار لایو و پنجرهٔ پخش موسیقی
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── صفحهٔ چرخان، سمت راست لایو ── */
#mz119{
  position:fixed; inset-inline-end:10px; top:38%; width:62px; height:62px; z-index:60;
  display:none; cursor:pointer; filter:drop-shadow(0 6px 16px rgba(0,0,0,.5));
}
#mz119.on{ display:block }
#mz119 .mz-ring{ position:absolute; inset:0; transform:rotate(-90deg) }
#mz119 .mz-ring circle{ fill:none; stroke-width:3 }
#mz119 .mz-ring .bg{ stroke:rgba(255,255,255,.18) }
#mz119 .mz-ring .fg{ stroke:#ffd76a; stroke-linecap:round; transition:stroke-dashoffset .6s linear }
#mz119 .mz-plate{
  position:absolute; inset:7px; border-radius:50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,0) 1px 4px),
    radial-gradient(circle at 34% 30%, #4b3a6b, #150c24 62%, #090512);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  display:grid; place-items:center;
}
#mz119.spin .mz-plate{ animation:mz119spin 4.2s linear infinite }
@keyframes mz119spin{ to{ transform:rotate(360deg) } }
#mz119 .mz-hole{
  width:15px; height:15px; border-radius:50%;
  background:linear-gradient(135deg,#ffd76a,#f59e0b); box-shadow:0 0 0 3px rgba(0,0,0,.45);
}
#mz119 .mz-note{
  position:absolute; inset-inline-end:-2px; top:-4px; font-size:13px; color:#ffd76a;
  text-shadow:0 2px 6px rgba(0,0,0,.6); animation:mz119note 2.4s ease-in-out infinite;
}
@keyframes mz119note{ 0%,100%{ transform:translateY(0); opacity:.85 } 50%{ transform:translateY(-5px); opacity:1 } }

/* ── پنجرهٔ پخش ── */
#mzSh119{
  position:fixed; inset:0; z-index:10090; background:rgba(10,4,20,.5);
  display:flex; align-items:flex-end; justify-content:center;
}
.mz-c{
  width:100%; max-width:420px; background:#191026; color:#fff; border-radius:22px 22px 0 0;
  padding:14px 14px calc(16px + env(safe-area-inset-bottom)); animation:mz119up .26s cubic-bezier(.2,1,.3,1) both;
  max-height:88vh; overflow-y:auto; font-family:inherit;
}
@keyframes mz119up{ from{ transform:translateY(100%) } }
.mz-hd{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px }
.mz-hd b{ font-size:14.5px; font-weight:900 }
.mz-close{
  width:30px; height:30px; border:0; border-radius:50%; background:rgba(255,255,255,.1); color:#fff;
  font-size:13px; cursor:pointer; font-family:inherit;
}

.mz-now{ display:flex; gap:12px; align-items:center; margin-bottom:12px }
.mz-plate2{
  width:66px; height:66px; flex:0 0 66px; border-radius:50%; display:grid; place-items:center;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,0) 1px 4px),
    radial-gradient(circle at 34% 30%, #4b3a6b, #150c24 62%, #090512);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.mz-plate2.spin{ animation:mz119spin 4.2s linear infinite }
.mz-plate2 span{ width:16px; height:16px; border-radius:50%; background:linear-gradient(135deg,#ffd76a,#f59e0b); box-shadow:0 0 0 3px rgba(0,0,0,.45) }
.mz-meta{ flex:1; min-width:0 }
.mz-meta b{ display:block; font-size:13px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.mz-meta small{ display:block; font-size:10px; font-weight:800; color:#a7f3d0; margin-top:2px }
.mz-bar{ height:4px; border-radius:99px; background:rgba(255,255,255,.14); margin-top:8px; overflow:hidden }
.mz-bar i{ display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#ffd76a,#f59e0b); transition:width .5s linear }
.mz-tm{ display:flex; justify-content:space-between; font-size:9.5px; font-weight:800; color:rgba(255,255,255,.45); margin-top:3px }

.mz-ctl{ display:flex; align-items:center; justify-content:center; gap:10px; margin:6px 0 12px }
.mz-ctl button{
  width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.09); color:#fff;
  font-size:15px; cursor:pointer; font-family:inherit;
}
.mz-ctl button.on{ background:linear-gradient(135deg,#7c3aed,#a855f7) }
.mz-ctl button.big{
  width:54px; height:54px; font-size:18px; background:linear-gradient(135deg,#ffd76a,#f59e0b); color:#3b1d00; font-weight:900;
  box-shadow:0 6px 18px rgba(245,158,11,.35);
}
.mz-ctl button:active{ transform:scale(.94) }

.mz-sl{ display:flex; align-items:center; gap:10px; margin-bottom:8px }
.mz-sl span{ width:22px; text-align:center; font-size:14px }
.mz-sl input{ flex:1; accent-color:#f59e0b }
.mz-sl b{ width:34px; text-align:end; font-size:11px; font-weight:900; color:rgba(255,255,255,.65) }

.mz-list{ max-height:38vh; overflow-y:auto; margin:10px 0; border-radius:14px; background:rgba(255,255,255,.04) }
.mz-row{ display:flex; align-items:center; gap:10px; padding:10px 12px; cursor:pointer; border-bottom:1px solid rgba(255,255,255,.05) }
.mz-row:last-child{ border-bottom:0 }
.mz-row.on{ background:rgba(245,158,11,.14) }
.mz-row .mz-i{ width:18px; font-size:11px; color:#ffd76a }
.mz-row .mz-nm{ flex:1; min-width:0; font-size:12px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.mz-row .mz-x{ width:26px; height:26px; border:0; border-radius:50%; background:rgba(255,255,255,.08); color:rgba(255,255,255,.6); cursor:pointer; font-family:inherit; font-size:11px }
.mz-empty{ padding:22px 12px; text-align:center; font-size:11.5px; font-weight:800; color:rgba(255,255,255,.4) }

.mz-btns{ display:flex; gap:8px }
.mz-btns button{ flex:1; border:0; border-radius:15px; padding:12px 0; font-family:inherit; font-size:12.5px; font-weight:900; cursor:pointer }
.mz-btns .add{ background:linear-gradient(135deg,#6366f1,#a855f7); color:#fff }
.mz-btns .stop{ background:rgba(255,255,255,.1); color:#fff }
.mz-note2{ font-size:9.5px; line-height:1.8; font-weight:700; color:rgba(255,255,255,.4); margin-top:10px }
#mzSh119.mz-re .mz-c{ animation:none }
