.rx-shade{background:linear-gradient(rgba(0,0,0,.72),transparent 24%)}
.rx-top{gap:10px;padding:calc(18px + env(safe-area-inset-top)) 28px 12px}
.rx-top .rx-ib{width:50px;height:50px}
.rx-top .rx-ib svg{width:30px;height:30px}
.rx-site{flex:none;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 1px 4px rgba(0,0,0,.5));-webkit-user-drag:none}
.rx-ttl{margin-left:4px;font-size:20px;font-weight:600;letter-spacing:-.01em;text-shadow:0 1px 8px rgba(0,0,0,.5)}

.rx-bottom{padding:56px 24px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.55) 38%,rgba(0,0,0,.9))}
.rx:not(.idle) .rx-subs{bottom:132px}
.rx-stall{bottom:132px}
.rx-pop{bottom:calc(108px + env(safe-area-inset-bottom))}

.rx-seek{display:block}
.rx-bar{height:28px}
.rx-track{height:5px;border-radius:3px;background:rgba(255,255,255,.22)}
.rx-bar:hover .rx-track,.rx-bar.drag .rx-track{height:8px}
.rx-buf{background:rgba(255,255,255,.34)}
.rx-prog{background:var(--ac,#fff);box-shadow:0 0 14px rgba(255,255,255,.3)}
.rx-knob{width:14px;height:14px;margin:-7px 0 0 -7px;box-shadow:0 2px 6px rgba(0,0,0,.5);transition:transform .14s,box-shadow .14s}
.rx-bar:hover .rx-knob,.rx-bar.drag .rx-knob{transform:scale(1.45);box-shadow:0 0 0 5px rgba(255,255,255,.2),0 4px 12px rgba(0,0,0,.55)}
@supports (color:color-mix(in srgb,red,blue)){
  .rx-prog{box-shadow:0 0 14px color-mix(in srgb,var(--ac,#fff) 40%,transparent)}
  .rx-bar:hover .rx-knob,.rx-bar.drag .rx-knob{box-shadow:0 0 0 5px color-mix(in srgb,var(--ac,#fff) 26%,transparent),0 4px 12px rgba(0,0,0,.55)}
}
.rx-tip{bottom:32px;padding:0;border-radius:0;background:none;display:flex;flex-direction:column;align-items:center;gap:8px}
.rx-tip span{padding:4px 11px;border-radius:999px;background:rgba(14,16,20,.92);border:1px solid rgba(255,255,255,.16);font-size:13px;font-weight:600}
.rx-thumb{border-radius:12px;border:1.5px solid rgba(255,255,255,.4);box-shadow:0 10px 30px rgba(0,0,0,.55)}

.rx-row{gap:8px;height:66px}
.rx-row .rx-ib{width:58px;height:58px}
.rx-row .rx-ib svg{width:35px;height:35px}
.rx[data-size=small] .rx-row .rx-ib{width:48px;height:48px}.rx[data-size=small] .rx-row .rx-ib svg{width:29px;height:29px}
.rx[data-size=large] .rx-row .rx-ib{width:68px;height:68px}.rx[data-size=large] .rx-row .rx-ib svg{width:42px;height:42px}
.rx-row .rx-ib.on{background:rgba(255,255,255,.16)}
.rx-time{margin-left:12px;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.rx-time i{font-weight:400;color:rgba(255,255,255,.65)}

.rx-pop{right:24px;width:340px;max-height:min(66vh,520px);padding:0 0 8px;border-radius:22px;background:rgba(14,16,20,.94);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.55)}
.rx-pop-h{padding:14px 14px 12px 16px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.1);font-size:16px}
.rx-pop-top{justify-content:space-between}
.rx-pop-h button{width:36px;height:36px}
.rx-mi{width:calc(100% - 12px);height:44px;margin:0 6px;padding:0 12px;border-radius:10px;font-size:14px}
.rx-mi .rx-mi-ic svg{width:20px;height:20px}
.rx-srv{width:340px;padding:0}

@media (max-width:700px){
  .rx-top{padding:calc(12px + env(safe-area-inset-top)) 14px 8px}
  .rx-top .rx-ib{width:46px;height:46px}
  .rx-top .rx-ib svg{width:30px;height:30px}
  .rx-ttl{font-size:17px}
  .rx-bottom{padding:48px 14px calc(10px + env(safe-area-inset-bottom))}
  .rx-row{gap:4px;height:58px}
  .rx-row .rx-ib,.rx[data-size] .rx-row .rx-ib{width:52px;height:52px}
  .rx-row .rx-ib svg,.rx[data-size] .rx-row .rx-ib svg{width:32px;height:32px}
  .rx-time{margin-left:6px;font-size:15px}
  .rx:not(.idle) .rx-subs,.rx-stall{bottom:116px}
  .rx-pop,.rx-srv{width:min(340px,calc(100% - 20px));right:10px;bottom:calc(100px + env(safe-area-inset-bottom))}
}
@media (max-width:520px){
  .rx-row{gap:2px}
  .rx-row .rx-ib,.rx[data-size] .rx-row .rx-ib{width:44px;height:44px}
  .rx-row .rx-ib svg,.rx[data-size] .rx-row .rx-ib svg{width:28px;height:28px}
  .rx-top .rx-ib{width:42px;height:42px}
  .rx-top .rx-ib svg{width:27px;height:27px}
  .rx-row [data-r=srv]{display:none}
  .rx-time{font-size:14px}
}
@media (prefers-reduced-motion:reduce){.rx-knob{transition:none}}
