/* The "Now playing" bar on every page while the player plays (player-link.js). Linked in every page's
   head by pwa_lib.php; old-browser / low-RAM rules by tools/css_compat.py. */
.tc-np{position:fixed;left:50%;transform:translateX(-50%);bottom: calc(88px + 0px); bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:9990;width: 94vw; width:min(94vw,480px);display:flex;align-items:center;gap:10px;padding:8px 8px 8px 8px;border-radius:18px;background: rgba(14, 22, 17, 0.9);border:1px solid rgba(255,255,255,.12);box-shadow: 0 2px 6px rgba(0,0,0,0.35); color:#fff;font:inherit}
.tc-np[hidden]{display:none}
.tc-np-art{flex:none;width:44px;height:44px;border-radius:11px;background:#1b2a20 center/cover no-repeat;display:grid;place-items:center;color:#39ff6a;overflow:hidden}
.tc-np-art svg{width:22px;height:22px;fill:currentColor}
.tc-np-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-decoration:none;color:inherit}
.tc-np-t b,.tc-np-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-np-t b{font-size:14px}
.tc-np-t small{font-size:12px;color:rgba(255,255,255,.65)}
.tc-np button{flex:none;width:38px;height:38px;border-radius:50%;border:0;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.tc-np button:hover{background:rgba(255,255,255,.1)}
.tc-np button svg{width:22px;height:22px;fill:currentColor}
.tc-np .tc-np-pp{background:#39ff6a;color:#06210f;width:42px;height:42px}
.tc-np .tc-np-pp:hover{background:#5bff85}
.tc-np .tc-np-x svg{width:18px;height:18px;opacity:.8}
.tc-np-bar{position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:rgba(255,255,255,.12);overflow:hidden}
.tc-np-bar i{display:block;height:100%;width:0;background:#39ff6a}
@media (max-width:420px) {
  .tc-np .tc-np-prev{display:none}
}
@media (min-width:1024px) {
  .tc-np{left:auto;right:20px;transform:none;bottom:20px;width:400px}
}
@media print {
  .tc-np{display:none}
}

/* compat:rich:start — capable devices only (html.tc-rich, set in the head): glass blur, big soft shadows,
   filters. Weak phones and old browsers use the lighter look in the rules above. */
.tc-rich .tc-np { -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); background: rgba(14,22,17,.72); }
/* compat:rich:end */

/* compat:no-flexgap:start — rebuilt by tools/css_compat.py: spacing for engines without flex gap
   (html.no-flexgap, set in the head). Edit the gap in the rule above, then run the tool. */
.no-flexgap .tc-np > :not(:last-child) { margin-right: 10px; }
.no-flexgap .tc-np-t > :not(:last-child) { margin-bottom: 2px; }
/* compat:no-flexgap:end */
