/* Trancefamily Montréal: the floating player bar (bar, waveform, event playlist, page-to-page navigation that keeps music playing).
   Loaded on every page by modules/player-engine.php. The extras at the end used to be separate snippets. */

:root{--tfm-bar-h:64px}
#tfm-bar{position:fixed;left:0;right:0;bottom:0;height:var(--tfm-bar-h);z-index:99990;background:#121019;border-top:1px solid #2A2733;color:#E9E7EF;font-size:12px;line-height:1.35;transform:translateY(110%);transition:transform .3s ease;box-sizing:border-box}
#tfm-bar *,#tfm-pop *{box-sizing:border-box}
html.tfm-bar-on:not(.tfm-bar-hidden) #tfm-bar{transform:none}
html.tfm-bar-on:not(.tfm-bar-hidden) body{padding-bottom:var(--tfm-bar-h)}
html.tfm-bar-on:not(.tfm-bar-hidden) .tfm-to-top.is-on{bottom:calc(var(--tfm-bar-h) + 16px)}

#tfm-bar .tb-in{height:100%;display:flex;align-items:center;gap:16px;padding:0 14px 0 0}
#tfm-bar button,#tfm-pop button{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#D8D5E3;border-radius:50%;flex:none;transition:color .15s,background .15s,transform .15s}
#tfm-bar button{width:34px;height:34px}
#tfm-bar button:hover,#tfm-pop button:hover{color:#fff;background:rgba(255,255,255,.06)}
#tfm-bar button:focus-visible,#tfm-pop button:focus-visible,#tfm-pop [tabindex]:focus-visible,#tfm-bar .tb-wave:focus-visible,#tfm-bar .tb-np:focus-visible{outline:2px solid #A77BFF;outline-offset:2px}
#tfm-bar svg,#tfm-pop svg{width:20px;height:20px;fill:currentColor;display:block}
#tfm-bar .tb-np{display:flex;align-items:center;gap:12px;min-width:0;width:320px;flex:none;height:100%;text-decoration:none;color:inherit;cursor:pointer}
#tfm-bar .tb-art{width:var(--tfm-bar-h);height:var(--tfm-bar-h);flex:none;background:#2A2733 center/cover no-repeat}
#tfm-bar .tb-txt{min-width:0;display:flex;flex-direction:column;gap:1px}
#tfm-bar .tb-l1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
#tfm-bar .tb-l1 b{color:#fff;font-weight:700}
#tfm-bar .tb-l1 span{color:#9A96AA}
#tfm-bar .tb-l2{color:#B9B5C8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-bar .tb-l3{color:#C9A9FF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-bar .tb-np:hover .tb-l1 b{text-decoration:underline}
#tfm-bar .tb-tm{flex:none;text-align:right;display:flex;flex-direction:column;gap:1px;font-variant-numeric:tabular-nums;min-width:92px}
#tfm-bar .tb-tm .t1{font-size:13px;color:#9A96AA}
#tfm-bar .tb-tm .t1 b{color:#fff;font-weight:700}
#tfm-bar .tb-tm .t2,#tfm-bar .tb-tm .t3{color:#9A96AA;white-space:nowrap}
#tfm-bar .tb-wave{position:relative;flex:1;min-width:120px;height:46px;cursor:pointer;touch-action:none}
#tfm-bar .tb-wave canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
#tfm-bar .tb-tip{position:absolute;bottom:calc(100% + 10px);left:0;transform:translateX(-50%);background:#1C1A26;border:1px solid #2A2733;border-radius:6px;padding:5px 9px;white-space:nowrap;font-size:11px;color:#fff;pointer-events:none;opacity:0;transition:opacity .12s;box-shadow:0 8px 20px rgba(0,0,0,.5)}
#tfm-bar .tb-tip i{font-style:normal;color:#C9A9FF;margin-right:7px;font-variant-numeric:tabular-nums}
#tfm-bar .tb-wave.hov .tb-tip,#tfm-bar .tb-wave.ann .tb-tip{opacity:1}
/* the track marker nearest the mouse glows; the tooltip and a click follow it */
#tfm-bar .tfm-cuehl{position:absolute;top:50%;left:0;width:3px;height:100%;margin-left:-1.5px;border-radius:3px;background:#D5FF00;box-shadow:0 0 10px rgba(213,255,0,.9),0 0 22px rgba(213,255,0,.45);pointer-events:none;opacity:0;transform:translateY(-50%) scaleY(.55);transition:opacity .14s,transform .22s cubic-bezier(.2,1.6,.4,1);z-index:3}#tfm-bar .tfm-cuehl::before{content:"";position:absolute;left:50%;top:-5px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:#D5FF00;box-shadow:0 0 10px rgba(213,255,0,.9)}#tfm-bar .tfm-cuehl.on{opacity:1;transform:translateY(-50%) scaleY(1.32)}@media(hover:none){#tfm-bar .tfm-cuehl{display:none}}@media(prefers-reduced-motion:reduce){#tfm-bar .tfm-cuehl{transition:opacity .14s}}
#tfm-bar .tb-ctl{display:flex;align-items:center;gap:4px;flex:none}
#tfm-bar .tb-play{width:44px!important;height:44px!important;background:linear-gradient(135deg,#6A1DCF,#5A12C0)!important;color:#fff!important;box-shadow:0 4px 14px rgba(98,25,200,.45);margin:0 2px}
#tfm-bar .tb-play:hover{transform:scale(1.06)}
#tfm-bar .tb-play svg{width:22px;height:22px}
#tfm-bar .tb-play .i-pause,#tfm-bar.is-playing .tb-play .i-play{display:none}
#tfm-bar.is-playing .tb-play .i-pause{display:block}
#tfm-bar .tb-sep{width:1px;height:28px;background:#2A2733;margin:0 6px}
#tfm-bar button.on{color:#A77BFF}
#tfm-bar .tb-list.open{background:rgba(139,61,255,.22);color:#fff}
#tfm-bar .tb-vol{position:relative;display:flex}
#tfm-bar .tb-vol-pop{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);background:#16141D;border:1px solid #2A2733;border-radius:8px;padding:12px 6px 8px;display:none;box-shadow:0 12px 30px rgba(0,0,0,.5)}
#tfm-bar .tb-vol:hover .tb-vol-pop,#tfm-bar .tb-vol:focus-within .tb-vol-pop{display:block}
#tfm-bar .tb-vol-pop:after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px}
#tfm-bar .tb-vol-pop input{writing-mode:vertical-lr;direction:rtl;height:96px;width:22px;accent-color:#8B3DFF;margin:0;display:block}
#tfm-bar .tb-mprog{display:none}
#tfm-pop{position:fixed;inset:0;z-index:99991;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(5,4,10,.66);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;color:#E9E7EF;font-size:12px;line-height:1.35}
#tfm-pop.open{opacity:1;visibility:visible}
#tfm-pop .tp-box{width:800px;max-width:100%;height:min(80vh,640px);display:flex;flex-direction:column;background:#16141D;border:1px solid #2A2733;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.65);transform:translateY(14px) scale(.98);transition:transform .22s ease;overflow:hidden}
#tfm-pop.open .tp-box{transform:none}
#tfm-pop .tp-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 20px;border-bottom:1px solid #2A2733;flex:none}
#tfm-pop .tp-bt{font-size:15px;font-weight:700;color:#fff}
#tfm-pop .tp-x,#tfm-pop .tp-hx{width:32px;height:32px}
#tfm-pop .tp-hx{display:none}
#tfm-pop .tp-head{display:flex;gap:18px;align-items:center;padding:20px;border-bottom:1px solid #2A2733;background:linear-gradient(90deg,rgba(98,25,200,.24),rgba(22,20,29,0) 72%);flex:none}
#tfm-pop .tp-art{width:96px;height:96px;border-radius:8px;background:#2A2733 center/cover no-repeat;flex:none;box-shadow:0 10px 30px rgba(98,25,200,.35)}
#tfm-pop .tp-h{flex:1;min-width:0}
#tfm-pop .tp-k{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#A77BFF}
#tfm-pop .tp-t{font-size:26px;font-weight:800;color:#fff;line-height:1.15;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-pop .tp-s{color:#B9B5C8;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-pop .tp-m{display:flex;gap:16px;align-items:center;margin-top:8px;color:#9A96AA}
#tfm-pop .tp-m a,#tfm-pop .tp-tools a{color:#C9A9FF;text-decoration:none;font-weight:600}
#tfm-pop .tp-m a:hover,#tfm-pop .tp-tools a:hover{text-decoration:underline}
#tfm-pop .tp-tools{display:none}
#tfm-pop .tp-cols{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr}
#tfm-pop .tp-col{min-height:0;display:flex;flex-direction:column}
#tfm-pop .tp-col+.tp-col{border-left:1px solid #2A2733}
#tfm-pop .tp-ch{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 20px 8px;font-size:11px;font-weight:700;letter-spacing:1.4px;color:#A77BFF;text-transform:uppercase;flex:none}
#tfm-pop .tp-ch span{color:#9A96AA;font-weight:400;letter-spacing:0;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-pop .tp-list,#tfm-pop .tp-cuelist{flex:1;min-height:0;overflow:auto;padding:0 10px 12px;scrollbar-width:thin;scrollbar-color:#3A3842 transparent}
#tfm-pop .tp-set{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer;transition:background .15s}
#tfm-pop .tp-set:hover{background:rgba(139,61,255,.09)}
#tfm-pop .tp-set.cur{background:rgba(139,61,255,.2)}
#tfm-pop .tp-n{width:20px;color:#8B3DFF;font-weight:700;flex:none}
#tfm-pop .tp-set img{width:52px;height:34px;object-fit:cover;border-radius:4px;flex:none}
#tfm-pop .tp-st{flex:1;min-width:0}
#tfm-pop .tp-st b{display:block;color:#fff;font-weight:600;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tfm-pop .tp-st i{font-style:normal;color:#9A96AA;font-size:11px}
#tfm-pop .tp-d{color:#9A96AA;font-variant-numeric:tabular-nums}
#tfm-pop .tp-list .tp-cues{display:none}
#tfm-pop .tp-cue{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;color:#CFCBDB;transition:background .15s}
#tfm-pop .tp-cue:hover{background:rgba(139,61,255,.12);color:#fff}
#tfm-pop .tp-cue.cur{background:rgba(139,61,255,.22);color:#fff}
#tfm-pop .tp-cue .cn{width:20px;color:#8B3DFF;font-weight:700;font-size:11px;flex:none}
#tfm-pop .tp-cue .ct{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
#tfm-pop .tp-cue .ct i{font-style:normal;color:#9A96AA}
#tfm-pop .tp-cue .cm{color:#9A96AA;font-variant-numeric:tabular-nums;font-size:11px}
#tfm-pop .tp-eq{display:none;width:20px;height:12px;align-items:flex-end;gap:2px;flex:none}
#tfm-pop .tp-eq i{display:block;width:3px;height:40%;background:#A77BFF;border-radius:1px}
#tfm-pop .tp-eq i:nth-child(2){height:80%;animation-delay:.2s!important}
#tfm-pop .tp-eq i:nth-child(3){height:60%;animation-delay:.4s!important}
#tfm-pop .cur>.tp-n,#tfm-pop .cur>.cn{display:none}
#tfm-pop .cur>.tp-eq{display:flex}
#tfm-pop.live .cur>.tp-eq i{animation:tfmPopEq .8s ease-in-out infinite alternate}
@keyframes tfmPopEq{from{height:25%}to{height:100%}}
#tfm-pop .tp-empty{padding:16px 20px;color:#6F6B80}
#tfm-pop .tp-foot{display:flex;align-items:center;gap:8px;padding:12px 16px 12px 20px;border-top:1px solid #2A2733;flex:none}
#tfm-pop .tp-tg{border-radius:20px!important;padding:6px 12px 6px 10px;gap:6px;font-size:12px;color:#B9B5C8;border:1px solid #2A2733!important}
#tfm-pop .tp-tg svg{width:16px;height:16px}
#tfm-pop .tp-tg.on{color:#fff;border-color:#8B3DFF!important;background:rgba(139,61,255,.18)}
#tfm-pop .tp-done{margin-left:auto;border-radius:6px!important;background:linear-gradient(135deg,#6A1DCF,#5A12C0)!important;color:#fff!important;padding:9px 22px;font-weight:700;font-size:13px}
html.tfm-modal{overflow:hidden}
html.tfm-loading .page_content_wrap{opacity:.45;transition:opacity .2s}
#tfm-loadbar{position:fixed;left:0;top:0;height:2px;width:0;background:linear-gradient(90deg,#6219C8,#9B5CFF);z-index:100000;opacity:0;transition:width .3s ease,opacity .3s}
html.tfm-loading #tfm-loadbar{opacity:1;width:70%}
@media (max-width:1279px){#tfm-bar .tb-np{width:250px}#tfm-bar .tb-tm .t3{display:none}#tfm-bar .tb-like,#tfm-bar .tb-sep{display:none}}
@media (max-width:767px){
 :root{--tfm-bar-h:60px}
 #tfm-bar .tb-in{gap:4px;padding-right:8px}
 #tfm-bar .tb-np{flex:1;width:auto;gap:10px}
 #tfm-bar .tb-l2{display:none}
 #tfm-bar .tb-tm,#tfm-bar .tb-wave,#tfm-bar .tb-vol,#tfm-bar .tb-prev{display:none}
 #tfm-bar .tb-play{width:40px!important;height:40px!important}
 #tfm-bar .tb-mprog{display:block;position:absolute;left:0;right:0;top:-1px;height:2px;background:#3A3842}
 #tfm-bar .tb-mprog i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6219C8,#9B5CFF)}
 #tfm-pop{inset:auto 8px calc(var(--tfm-bar-h) + 8px) 8px;padding:0;background:none;display:block;transform:translateY(10px);transition:opacity .18s,visibility .18s,transform .18s}
 #tfm-pop.open{transform:none}
 #tfm-pop .tp-box{width:100%;height:auto;max-height:72vh;transform:none!important}
 #tfm-pop .tp-bar,#tfm-pop .tp-foot,#tfm-pop .tp-m,#tfm-pop .tp-tracks,#tfm-pop .tp-ch{display:none}
 #tfm-pop .tp-hx{display:inline-flex}
 #tfm-pop .tp-head{padding:14px;gap:14px;background:none}
 #tfm-pop .tp-art{width:56px;height:56px;border-radius:6px;box-shadow:none}
 #tfm-pop .tp-t{font-size:17px;margin:1px 0}
 #tfm-pop .tp-s{font-size:12px;color:#9A96AA}
 #tfm-pop .tp-tools{display:flex;align-items:center;gap:6px;padding:8px 14px;border-bottom:1px solid #2A2733;color:#9A96AA;flex:none}
 #tfm-pop .tp-tools button{width:32px;height:32px}
 #tfm-pop .tp-tools svg{width:18px;height:18px}
 #tfm-pop .tp-tools button.on{color:#A77BFF;background:rgba(139,61,255,.15)}
 #tfm-pop .tp-tools a{margin-left:auto}
 #tfm-pop .tp-cols{display:block;overflow:auto;scrollbar-width:thin;scrollbar-color:#3A3842 transparent}
 #tfm-pop .tp-list{overflow:visible;padding:6px 6px 10px}
 #tfm-pop .tp-list .tp-cues{display:block;margin:2px 8px 8px 38px;border-left:2px solid #8B3DFF;background:rgba(139,61,255,.06);border-radius:0 6px 6px 0;padding:4px}
 #tfm-pop .tp-cue .ct{font-size:12px}
}

/* ================= extras ================= */
/* player bar: lines too long for their space glide to the end and back (Spotify style) instead of ending in "…" */
#tfm-pop .tp-t a{color:inherit;text-decoration:none;transition:color .2s}#tfm-pop .tp-t a:hover,#tfm-pop .tp-t a:focus-visible{color:#D5FF00}#tfm-bar .tb-l2,#tfm-bar .tb-tm .t2{display:none!important}#tfm-bar .tb-txt>span.is-mq{text-overflow:clip;-webkit-mask:linear-gradient(90deg,#000 calc(100% - 14px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 14px),transparent)}#tfm-bar .tb-txt .tfm-mq{display:inline-block;margin:0!important;padding:0 14px 0 0!important;animation:tfmMq var(--mq-t,8s) ease-in-out infinite;will-change:transform}#tfm-bar .tb-np:hover .tfm-mq{animation-play-state:paused}@keyframes tfmMq{0%,18%{transform:translateX(0)}50%,68%{transform:translateX(var(--mq-d,0))}100%{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){#tfm-bar .tfm-mq{animation:none}#tfm-bar .tb-txt>span.is-mq{text-overflow:ellipsis;-webkit-mask:none;mask:none}}
/* player bar (desktop): hovering an icon button shows what it does */
#tfm-tip{position:fixed;z-index:100000;left:0;top:0;padding:7px 10px;border-radius:8px;background:#0E0D15;border:1px solid rgba(213,255,0,.35);color:#fff;font:700 11px/1.2 Epilogue,sans-serif;letter-spacing:.04em;white-space:nowrap;pointer-events:none;opacity:0;transform:translate(-50%,calc(-100% - 6px));transition:opacity .15s,transform .15s;box-shadow:0 8px 24px rgba(0,0,0,.5)}#tfm-tip.on{opacity:1;transform:translate(-50%,calc(-100% - 10px))}#tfm-tip::after{content:"";position:absolute;left:50%;bottom:-5px;width:8px;height:8px;margin-left:-4px;background:#0E0D15;border:solid rgba(213,255,0,.35);border-width:0 1px 1px 0;transform:rotate(45deg)}
/* phones: while the player's playlist panel is open, the page behind it must not scroll.
   The page is NOT moved or pinned (pinning the body broke the panel's frosted background and could leave a blank layer on phones):
   scrolling is switched off on the root, and finger drags outside the panel are swallowed. */
#tfm-pop .tp-box,#tfm-pop .tp-cols,#tfm-pop .tp-list{overscroll-behavior:contain}html.tfm-pop-lock,html.tfm-pop-lock body{overflow:hidden!important;overscroll-behavior:none}
/* player bar on phones: the thin progress line becomes a timeline you can tap or drag (desktop already seeks on the waveform) */
@media(max-width:767px){#tfm-bar .tfm-scrub{position:absolute;left:0;right:0;top:-16px;height:24px;z-index:5;touch-action:none;cursor:pointer;-webkit-tap-highlight-color:transparent}#tfm-bar .tfm-scrub i{position:absolute;left:var(--p,0%);top:17px;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#D5FF00;box-shadow:0 0 0 3px rgba(14,13,21,.55),0 2px 8px rgba(0,0,0,.5);transition:transform .15s}#tfm-bar .tfm-scrub.on i{transform:scale(1.5)}#tfm-bar .tb-mprog{transition:height .15s,top .15s}#tfm-bar.is-scrub .tb-mprog{height:6px;top:-2px}#tfm-bar.is-scrub .tb-mprog i{height:6px}#tfm-bar .tfm-scrub b{position:absolute;left:clamp(8px,calc(var(--p,0%) - var(--bw,60px)/2),calc(100% - var(--bw,60px) - 8px));bottom:28px;display:none;max-width:calc(100vw - 16px);padding:8px 12px;border-radius:10px;background:#0E0D15;border:1px solid rgba(213,255,0,.4);color:#fff;font:800 14px/1.2 Epilogue,sans-serif;white-space:nowrap;box-shadow:0 10px 26px rgba(0,0,0,.55);pointer-events:none;font-variant-numeric:tabular-nums}#tfm-bar .tfm-scrub b small{display:block;max-width:70vw;overflow:hidden;text-overflow:ellipsis;margin-top:3px;font:600 11.5px/1.2 "Work Sans",sans-serif;color:#C9A9FF}#tfm-bar .tfm-scrub b small:empty{display:none}#tfm-bar .tfm-scrub.on b{display:block}}@media(min-width:768px){#tfm-bar .tfm-scrub{display:none}}
/* player playlist: every set gets an X to take it out, and sets can be dragged into a new order (engine: TFM.removeAt / TFM.move) */
#tfm-pop .tp-set{position:relative}#tfm-pop .tfm-qx{position:absolute;right:8px;top:50%;z-index:2;display:none;align-items:center;justify-content:center;width:30px;height:30px;margin-top:-15px;border-radius:50%;background:#0E0D15;border:1px solid rgba(255,255,255,.3);color:#fff;cursor:pointer;transition:background .15s,color .15s,border-color .15s}#tfm-pop .tfm-qx svg,#tfm-pop .tfm-qg svg{width:14px;height:14px;pointer-events:none}#tfm-pop .tfm-qx:hover{background:#D5FF00;border-color:#D5FF00;color:#0E0D15}#tfm-pop .tfm-qg{display:none;flex:none;align-items:center;justify-content:center;width:30px;height:36px;margin-left:2px;color:#A9A6B8;touch-action:none;cursor:grab}@media(hover:hover){#tfm-pop .tp-set:hover .tfm-qx,#tfm-pop .tp-set:focus-within .tfm-qx{display:inline-flex}#tfm-pop .tp-list:not(.tfm-one) .tp-set{cursor:grab}}@media(hover:none){#tfm-pop .tfm-qx{position:static;display:inline-flex;flex:none;margin:0 0 0 6px}#tfm-pop .tfm-qg{display:inline-flex}}#tfm-pop .tp-list.tfm-one .tfm-qx,#tfm-pop .tp-list.tfm-one .tfm-qg{display:none!important}#tfm-pop .tp-set.tfm-drag{opacity:.45}#tfm-pop .tp-set.tfm-over{box-shadow:0 -2px 0 #D5FF00}#tfm-pop .tp-set.tfm-over.is-after{box-shadow:0 2px 0 #D5FF00}
/* playlist pop-up on desktop: a long track name no longer stretches the tracklist column (which squeezed the set list);
   long names wrap onto a second line, and each set row shows its name with the length under it. */
@media(min-width:768px){#tfm-pop .tp-cols{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}#tfm-pop .tp-col{min-width:0}#tfm-pop .tp-cue{align-items:flex-start}#tfm-pop .tp-cue .ct{white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;overflow-wrap:anywhere}#tfm-pop .tp-cue .cn,#tfm-pop .tp-cue .cm,#tfm-pop .tp-cue .tp-eq{margin-top:3px;flex:0 0 auto}#tfm-pop .tp-set{display:grid;grid-template-columns:auto 52px minmax(0,1fr) auto auto;grid-template-rows:auto auto;column-gap:10px;row-gap:1px;align-items:center}#tfm-pop .tp-set>.tp-n,#tfm-pop .tp-set>.tp-eq{grid-column:1;grid-row:1 / 3;min-width:20px}#tfm-pop .tp-set>img{grid-column:2;grid-row:1 / 3}#tfm-pop .tp-set>.tp-st{grid-column:3;grid-row:1;align-self:end}#tfm-pop .tp-set>.tp-st i{display:none}#tfm-pop .tp-set>.tp-d{grid-column:3;grid-row:2;align-self:start;font-size:11px;line-height:1.2}#tfm-pop .tp-set>.tfm-qg{grid-column:4;grid-row:1 / 3;margin:0}#tfm-pop .tp-set>.tfm-qx{grid-column:5;grid-row:1 / 3}}@media(min-width:768px) and (hover:none){#tfm-pop .tp-set>.tfm-qx{margin:0}}

/* ================= 2026-11-21: the bar in its new shape =================
   The floating bar takes the look of the player page's own bar: picture, "Artist - Event" with the track that is playing
   under it, the like; play in the middle; the queue and the volume on the right. The waveform is gone: the top edge of
   the bar is the progress line. */

/* ---------- the progress line (TFM.seekLine; the player page's bar uses the same one) ----------
   What was played is purple, only its tip is lime. Pointed at (desktop), the line grows: every track gets a mark, the
   track that is playing is lit between its two marks and named above the playhead, and the pointer shows the time and
   the track under it. */
.tfm-line{position:absolute;left:0;right:0;top:-8px;height:16px;z-index:6;cursor:pointer;touch-action:none;outline:0;-webkit-tap-highlight-color:transparent;box-sizing:border-box}
.tfm-line *{box-sizing:border-box}
.tfm-line .tl-rail{position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;background:#2E2A3D;transition:height .16s ease,margin-top .16s ease}
.tfm-line .tl-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#8B3DFF}
.tfm-line .tl-fill:after{content:"";position:absolute;right:0;top:0;bottom:0;width:min(30px,100%);background:linear-gradient(90deg,rgba(213,255,0,0),#D5FF00)}
.tfm-line .tl-fill:before{content:"";position:absolute;z-index:2;right:-6px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#D5FF00;box-shadow:0 0 0 3px rgba(14,13,21,.85),0 0 12px rgba(213,255,0,.8);opacity:0;transform:scale(.4);transition:opacity .16s,transform .16s}
.tfm-line .tl-seg{position:absolute;top:0;bottom:0;background:rgba(213,255,0,.26);opacity:0;transition:opacity .16s}
.tfm-line .tl-seg[hidden]{display:none}
.tfm-line .tl-marks i{position:absolute;z-index:1;top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:#fff;opacity:0;transition:opacity .16s}
.tfm-line .tl-marks i.is-cur{background:#D5FF00;box-shadow:0 0 8px rgba(213,255,0,.7)}
.tfm-line.hov .tl-rail,.tfm-line:focus-visible .tl-rail{height:8px;margin-top:-4px}
.tfm-line.hov .tl-marks i,.tfm-line:focus-visible .tl-marks i{opacity:.9}
.tfm-line.hov .tl-seg,.tfm-line:focus-visible .tl-seg{opacity:1}
.tfm-line.hov .tl-fill:before,.tfm-line:focus-visible .tl-fill:before{opacity:1;transform:none}
.tfm-line .tl-now,.tfm-line .tl-tip{position:absolute;left:0;bottom:calc(100% + 4px);max-width:min(560px,86vw);padding:8px 12px;border-radius:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:600 12.5px/1.2 "Work Sans",sans-serif;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:opacity .14s,transform .14s;box-shadow:0 12px 30px rgba(0,0,0,.6)}
.tfm-line .tl-now{z-index:3;background:#D5FF00;color:#0E0D15;font-weight:700}
.tfm-line .tl-now b{margin-right:8px;font:800 10px/1 Epilogue,sans-serif;letter-spacing:1.5px;text-transform:uppercase;opacity:.7}
.tfm-line .tl-tip{z-index:4;background:#1C1A26;border:1px solid rgba(139,61,255,.7);color:#fff}
.tfm-line .tl-tip i{font-style:normal;margin-right:8px;color:#C9A9FF;font-variant-numeric:tabular-nums}
.tfm-line.hov .tl-now.on,.tfm-line.hov .tl-tip.on{opacity:1;transform:translate(-50%,0)}
.tfm-line .tl-tip.up{bottom:calc(100% + 44px)}   /* the pointer's label steps above the "now" label when the two would meet */
@media (prefers-reduced-motion:reduce){.tfm-line .tl-rail,.tfm-line .tl-now,.tfm-line .tl-tip{transition:none}}

/* ---------- the bar ---------- */
#tfm-bar .tb-left,#tfm-bar .tb-right{display:flex;align-items:center;min-width:0}
#tfm-bar .tb-wave{display:none!important}
#tfm-bar .tb-like{display:none!important}            /* the heart that counts (modules/set-stats) sits here instead */
#tfm-bar .tb-left .tfm-slike{flex:none;margin:0 0 0 4px}
#tfm-bar .tb-l1 span{color:inherit}
@media (min-width:768px){
 :root{--tfm-bar-h:78px}
 #tfm-bar{background:rgba(14,13,21,.94);border-top:1px solid rgba(139,61,255,.4);-webkit-backdrop-filter:blur(26px) saturate(1.4);backdrop-filter:blur(26px) saturate(1.4);font-family:"Work Sans",sans-serif}
 #tfm-bar .tb-in{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;max-width:1720px;margin:0 auto;padding:0 20px}
 #tfm-bar .tb-left{gap:4px}
 #tfm-bar .tb-np{width:auto;flex:0 1 auto;height:auto;gap:12px;padding:6px 12px 6px 6px;border-radius:12px;transition:background .15s}
 #tfm-bar .tb-np:hover{background:rgba(255,255,255,.06)}
 #tfm-bar .tb-np:hover .tb-l1 b{text-decoration:none}
 #tfm-bar .tb-art{width:56px;height:56px;border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.4)}
 #tfm-bar .tb-txt{gap:3px}
 #tfm-bar .tb-l1{font-size:15px;font-weight:700;color:#fff}
 #tfm-bar .tb-l3{font-size:12.5px;color:#B6B2C6}
 #tfm-bar .tb-ctl{gap:10px}
 #tfm-bar .tb-prev,#tfm-bar .tb-next{width:38px;height:38px;color:#fff}
 #tfm-bar .tb-play{width:52px!important;height:52px!important;margin:0;background:#D5FF00!important;color:#0E0D15!important;box-shadow:none;transition:background .2s,color .2s,box-shadow .2s}
 #tfm-bar .tb-play:hover{transform:none;background:#8B3DFF!important;color:#fff!important;box-shadow:0 0 26px rgba(139,61,255,.6)}
 #tfm-bar .tb-play svg{width:28px;height:28px}
 #tfm-bar .tb-tm{flex-direction:row;min-width:0;margin-left:6px;text-align:left}
 #tfm-bar .tb-tm .t1{font-size:12.5px;color:#B6B2C6;white-space:nowrap}
 #tfm-bar .tb-tm .t1 b{font-weight:600;margin-right:4px}
 #tfm-bar .tb-tm .td{margin-left:4px}
 #tfm-bar .tb-tm .t2,#tfm-bar .tb-tm .t3{display:none!important}
 #tfm-bar .tb-right{justify-content:flex-end;gap:6px}
 #tfm-bar .tb-list{width:38px;height:38px;color:#fff}
 #tfm-bar .tb-sep{display:none}
 #tfm-bar .tb-vol{align-items:center;gap:4px}
 #tfm-bar .tb-volbtn{width:38px;height:38px;color:#fff}
 #tfm-bar .tb-vol-pop{position:static;display:block;transform:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
 #tfm-bar .tb-vol-pop:after{display:none}
 #tfm-bar .tb-vol-pop input{writing-mode:horizontal-tb;direction:ltr;width:96px;height:18px;accent-color:#fff;cursor:pointer}
 #tfm-bar .tb-mprog{display:none!important}
}
@media (min-width:768px) and (max-width:1099px){
 #tfm-bar .tb-in{gap:12px;padding:0 12px}
 #tfm-bar .tb-vol-pop{display:none}
 #tfm-bar .tb-tm{display:none}
}
@media (max-width:767px){
 #tfm-bar .tfm-line{display:none}
 #tfm-bar .tb-left{flex:1;height:100%}
 #tfm-bar .tb-left .tfm-slike{display:none}
 #tfm-bar .tb-right{order:2;flex:none}
 #tfm-bar .tb-ctl{order:3}
 #tfm-bar .tb-play{background:#D5FF00!important;color:#0E0D15!important;box-shadow:none}
 #tfm-bar .tb-mprog i{background:#8B3DFF}
}

/* 2026-11-21 (b): the words of the bar have one width, so the heart stays where it is whatever is playing */
@media (min-width:768px){#tfm-bar .tb-txt{flex:none;width:clamp(200px,24vw,360px)}}

/* 2026-11-21 (c): a new track announces itself on the line for three seconds (TFM.seekLine): a lime label on its mark */
.tfm-line .tl-ann{position:absolute;z-index:3;left:0;bottom:calc(100% + 4px);max-width:min(560px,86vw);padding:8px 12px;border-radius:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#D5FF00;color:#0E0D15;font:700 12.5px/1.2 "Work Sans",sans-serif;pointer-events:none;opacity:0;transform:translate(-50%,6px) scale(.94);transition:opacity .25s,transform .25s cubic-bezier(.2,1.5,.4,1);box-shadow:0 12px 30px rgba(0,0,0,.6),0 0 20px rgba(213,255,0,.35)}
.tfm-line .tl-ann b{margin-right:8px;font:800 10px/1 Epilogue,sans-serif;letter-spacing:1.5px;text-transform:uppercase;opacity:.7}
.tfm-line .tl-ann.on{opacity:1;transform:translate(-50%,0) scale(1)}
.tfm-line.ann .tl-rail{height:6px;margin-top:-3px}
.tfm-line.ann .tl-fill:before{opacity:1;transform:none}
.tfm-line.hov .tl-ann{opacity:0}
@media (max-width:767px){.tfm-line .tl-ann{display:none}}
@media (prefers-reduced-motion:reduce){.tfm-line .tl-ann{transition:none}}
