/* TEL-REC UI layer: pause control + glitch catalog (list / grid) */
:root {
  --tr-pink: #ee3860;
  --tr-blue: #43bded;
  --tr-navy: #06141e;
  --tr-ink: #05080c;
  --tr-ease: cubic-bezier(.86, 0, .07, 1);
}

/* ---------------------------------------------------------------- intro loader, 2.5x the original size */
.intro canvas { width: min(825px, 88vw) !important; height: auto !important; }

/* ---------------------------------------------------------------- top controls */
.tr-ctrl {
  position: fixed;
  top: 34px;
  right: 128px;
  z-index: 10002;
  display: flex;
  gap: 26px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.tr-ctrl.show { opacity: 1; visibility: visible; }
.tr-ctrl.tr-hide { opacity: 0; visibility: hidden; }
.tr-ov-open .tr-open-list, .tr-ov-open .tr-open-grid, .tr-ov-open .tr-open-albums, .tr-ov-open .tr-open-label, .tr-ov-open .tr-sep { display: none; }
.tr-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 6px;
  margin: 0;
  color: #fff;
  font-family: RegularBold, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  line-height: 14px;
}
.tr-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--tr-pink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--tr-ease);
}
.tr-btn:hover::after, .tr-btn:focus-visible::after { transform: scaleX(1); }
.tr-btn:hover .tr-lbl { animation: tr-rgb .32s steps(4) 1; }
.tr-btn:focus-visible { outline: 1px dashed var(--tr-blue); outline-offset: 4px; }
.tr-lbl { display: inline-block; min-width: 3.2em; }
.tr-pause .tr-lbl { min-width: 4.4em; }
.tr-ctrl.tr-hit .tr-pause { animation: tr-jolt .26s steps(3) 1; }

/* little equalizer: dances while playing, flat when paused */
.tr-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; width: 14px; }
.tr-eq i { display: block; width: 2px; height: 100%; background: var(--tr-pink); transform-origin: 50% 100%; animation: tr-eq .9s steps(5) infinite; }
.tr-eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; background: var(--tr-blue); }
.tr-eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
.tr-eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.15s; background: var(--tr-blue); }
.tr-paused .tr-eq i { animation-play-state: paused; transform: scaleY(.18); }

/* prev / next: bar + triangle, glitch-kick on press */
.tr-skip { padding-left: 2px; padding-right: 2px; }
.tr-sk { display: inline-flex; align-items: center; gap: 1px; height: 12px; }
.tr-sk i { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tr-prev .tr-sk i { border-right: 9px solid #fff; }
.tr-next .tr-sk i { border-left: 9px solid #fff; }
.tr-sk b { display: block; width: 2px; height: 12px; background: #fff; }
.tr-skip:hover .tr-sk { animation: tr-jolt .26s steps(3) 1; }
.tr-skip:hover .tr-sk b { background: var(--tr-blue); }
.tr-prev:hover .tr-sk i { border-right-color: var(--tr-pink); }
.tr-next:hover .tr-sk i { border-left-color: var(--tr-pink); }
.tr-skip.tr-fire .tr-sk { animation: tr-skipfire .32s steps(4) 1; }
.tr-ctrl .tr-pause { margin: 0 -12px; }
.tr-sep { width: 1px; align-self: stretch; margin: -2px 0 4px; background: rgba(255, 255, 255, .22); }
@keyframes tr-skipfire {
  0% { transform: translateX(0); filter: drop-shadow(-3px 0 var(--tr-pink)) drop-shadow(3px 0 var(--tr-blue)); }
  33% { transform: translateX(5px); }
  66% { transform: translateX(-3px); filter: drop-shadow(2px 0 var(--tr-pink)); }
  100% { transform: none; filter: none; }
}

.tr-ico { display: inline-grid; gap: 2px; width: 12px; height: 12px; }
.tr-ico i { display: block; background: #fff; }
.tr-ico-list { grid-template-rows: repeat(3, 1fr); }
.tr-ico-list i { height: 2px; align-self: center; }
.tr-ico-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tr-btn:hover .tr-ico i { background: var(--tr-pink); }
.tr-btn:hover .tr-ico i:nth-child(even) { background: var(--tr-blue); }

/* ---------------------------------------------------------------- overlay shell */
.tr-ov {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  background: rgba(5, 8, 12, .975);
  color: #fff;
  font-family: RegularBook, sans-serif;
}
.tr-ov.open { display: flex; animation: tr-ov-in .34s steps(6) both; }
.tr-ov.closing { animation: tr-ov-out .22s steps(4) both; }
.tr-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}
.tr-ov.entering .tr-scan { animation: tr-scan .5s steps(5) 1; }

.tr-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 34px var(--tr-head-pr, 400px) 22px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.tr-brand { display: flex; align-items: baseline; gap: 14px; font-family: RegularBold, sans-serif; letter-spacing: 3px; font-size: 14px; }
.tr-brand-a { color: var(--tr-blue); min-width: 6.6em; }
.tr-brand-b { color: #fff; min-width: 6em; }
.tr-count { color: var(--tr-pink); font-size: 11px; letter-spacing: 3px; }

.tr-switch { position: relative; display: flex; margin-left: auto; border: 1px solid rgba(255, 255, 255, .18); }
.tr-sw {
  appearance: none;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .55);
  font-family: RegularBold, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  padding: 9px 18px 8px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color .2s steps(2);
}
.tr-sw.on { color: #fff; }
.tr-sw:hover { color: #fff; animation: tr-rgb .3s steps(3) 1; }
.tr-sw-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 25%;
  background: var(--tr-pink);
  transform: translateX(calc(var(--sw, 0) * 100%));
  transition: transform .38s var(--tr-ease), background .2s steps(2);
}
.tr-ov[data-view="grid"] .tr-sw-bar, .tr-ov[data-view="label"] .tr-sw-bar { background: var(--tr-blue); }
.tr-sw { min-width: 86px; }
.tr-ov.morphing .tr-sw-bar { animation: tr-jolt .3s steps(3) 1; }

.tr-close {
  order: -1;
  margin-left: -10px;
  appearance: none;
  border: 0;
  background: none;
  width: 34px;
  height: 34px;
  position: relative;
  cursor: pointer;
}
.tr-close span { position: absolute; left: 6px; right: 6px; top: 16px; height: 2px; background: #fff; transform: rotate(45deg); transition: background .2s; }
.tr-close span + span { transform: rotate(-45deg); }
.tr-close:hover span { background: var(--tr-pink); animation: tr-jolt .25s steps(3) 1; }
.tr-close:hover span + span { background: var(--tr-blue); }

.tr-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 102px 80px 60px; scrollbar-width: thin; scrollbar-color: var(--tr-pink) transparent; }
.tr-items { display: grid; grid-template-columns: 1fr; gap: 2px; }
.tr-ov.is-grid .tr-items { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 38px 28px; }

/* ---------------------------------------------------------------- items (shared) */
.tr-item {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 14px 8px 8px;
  will-change: transform;
}
.tr-ov.entering .tr-item { animation: tr-item-in .3s steps(5) both; animation-delay: var(--d); }
.tr-item:focus-visible { outline: 1px dashed var(--tr-blue); outline-offset: 2px; }

.tr-cover { position: relative; flex: 0 0 auto; width: 44px; height: 44px; }
.tr-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--tr-blue);
  z-index: 2;
  transition: background .15s steps(2);
}
/* duotone: same look as the player's artwork lookup (navy -> TEL-REC blue; pink on hover) */
.tr-art img, .tr-sl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.25) brightness(1.15);
  mix-blend-mode: multiply;
}
.tr-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tr-navy);
  mix-blend-mode: lighten;
  transition: background .15s steps(2);
}
.tr-sl { opacity: 0; z-index: 1; }
.tr-noart {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: RegularBold, sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  line-height: 1.6;
  color: var(--tr-blue);
  background: var(--tr-ink);
  border: 2px solid var(--tr-pink);
  z-index: 3;
}
.tr-item.no-art .tr-noart { display: flex; }

.tr-disk { display: none; }

.tr-meta { display: flex; align-items: baseline; gap: 22px; min-width: 0; flex: 1; }
.tr-idx { font-family: RegularBold, sans-serif; font-size: 11px; letter-spacing: 2px; color: rgba(255, 255, 255, .4); width: 22px; flex: 0 0 auto; }
.tr-title { font-family: RegularBold, sans-serif; font-size: 15px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.tr-artist { font-family: RegularLight, sans-serif; font-size: 13px; letter-spacing: 1px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 40%; text-align: right; }

.tr-now { display: none; align-items: center; gap: 8px; font-family: RegularBold, sans-serif; font-size: 10px; letter-spacing: 3px; color: var(--tr-pink); flex: 0 0 auto; }
.tr-now b { font-weight: normal; }
.tr-item.is-current .tr-now { display: inline-flex; }
.tr-item.is-current .tr-idx { color: var(--tr-pink); }
.tr-item.is-current::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--tr-pink);
}

/* hover slab: the pink block from the loader sweeping through the row */
.tr-slab {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(238, 56, 96, .16), rgba(67, 189, 237, .06) 70%, transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s var(--tr-ease);
  pointer-events: none;
}
.tr-item:hover .tr-slab, .tr-item:focus-visible .tr-slab { transform: scaleX(1); }
.tr-item:hover .tr-art, .tr-item:focus-visible .tr-art { background: var(--tr-pink); }
.tr-item:hover .tr-art::after, .tr-item:focus-visible .tr-art::after { background: #2a0a12; }
.tr-item:hover .tr-idx { color: var(--tr-blue); }

/* ---------------------------------------------------------------- hover glitch burst */
.tr-item.glitching .tr-meta { animation: tr-rgb .44s steps(6) 1, tr-tear .44s steps(5) 1; }
.tr-item.glitching .tr-sl { opacity: 1; }
.tr-item.glitching .tr-sl1 { clip-path: inset(18% 0 58% 0); animation: tr-slice-a .44s steps(5) 1 both; }
.tr-item.glitching .tr-sl2 { clip-path: inset(64% 0 12% 0); animation: tr-slice-b .44s steps(4) 1 both; }
.tr-item.glitching .tr-slab { animation: tr-slab-flick .44s steps(5) 1; }
.tr-item.glitching .tr-cover { animation: tr-jolt .3s steps(3) 1; }

.tr-item.picked .tr-slab { transform: scaleX(1); animation: tr-pick .28s steps(4) 1 both; }
.tr-item.picked .tr-meta { animation: tr-rgb .28s steps(4) 1; }

/* jitter while morphing between views */
.tr-ov.morphing .tr-meta { opacity: 0; }
.tr-item.tr-jit .tr-art { animation: tr-morph-flash .42s steps(5) 1; }
.tr-ov.morphing .tr-items::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 40%;
  height: 3px;
  background: var(--tr-pink);
  box-shadow: 0 -120px 0 var(--tr-blue), 0 90px 0 rgba(238, 56, 96, .6);
  animation: tr-scanbar .42s steps(6) 1 both;
  pointer-events: none;
  z-index: 5;
}

/* ---------------------------------------------------------------- grid layout */
.tr-ov.is-grid .tr-item { flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
.tr-ov.is-grid .tr-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.tr-ov.is-grid .tr-meta { flex-direction: column; gap: 4px; padding-right: 6px; }
.tr-ov.is-grid .tr-idx { width: auto; }
.tr-ov.is-grid .tr-title { white-space: normal; font-size: 14px; line-height: 18px; }
.tr-ov.is-grid .tr-artist { text-align: left; flex: none; font-size: 12px; }
.tr-ov.is-grid .tr-slab { display: none; }
.tr-ov.is-grid .tr-now { position: absolute; top: 10px; left: 10px; z-index: 4; background: var(--tr-ink); padding: 5px 8px; }
.tr-ov.is-grid .tr-item.is-current::before { left: 0; right: 0; top: -8px; bottom: auto; width: auto; height: 3px; }
.tr-ov.is-grid .tr-noart { font-size: 22px; }

/* floppy slides out from behind the cover, carrying the track facts */
.tr-ov.is-grid .tr-disk {
  display: block;
  position: absolute;
  top: 4%;
  left: 4%;
  width: 92%;
  height: 92%;
  z-index: 1;
  background: url("../media/assets/images/pochettte.png") center / cover no-repeat;
  transform: translateX(0) rotate(0deg);
  transition: transform .42s var(--tr-ease);
  pointer-events: none;
}
.tr-disk-lbl {
  position: absolute;
  left: 9%;
  top: 8%;
  width: 46%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: RegularBold, sans-serif;
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 1.5px;
  color: #fff;
  opacity: 0;
  transition: opacity .1s steps(2) .18s;
}
.tr-disk-lbl b { color: var(--tr-pink); font-weight: normal; text-transform: uppercase; }
.tr-disk-lbl em { font-style: normal; color: rgba(255, 255, 255, .8); }
.tr-disk-lbl em.tr-len { color: var(--tr-blue); }
.tr-disk-lbl i { font-style: normal; font-family: RegularLight, sans-serif; letter-spacing: .5px; color: rgba(255, 255, 255, .75); margin-top: 3px; }
.tr-ov.is-grid .tr-item:hover, .tr-ov.is-grid .tr-item:focus-visible { z-index: 6; }
.tr-ov.is-grid .tr-item:hover .tr-disk, .tr-ov.is-grid .tr-item:focus-visible .tr-disk { transform: translateX(52%) rotate(5deg); }
.tr-ov.is-grid .tr-item.glitching .tr-disk { animation: tr-disk-glitch .42s steps(5) 1; }
.tr-ov.is-grid .tr-item:hover .tr-disk-lbl, .tr-ov.is-grid .tr-item:focus-visible .tr-disk-lbl { opacity: 1; left: 55%; }
.tr-ov.is-grid .tr-item:hover .tr-cover, .tr-ov.is-grid .tr-item:focus-visible .tr-cover { transform: translateX(-6%); transition: transform .42s var(--tr-ease); }


/* ---------------------------------------------------------------- views: albums + label */
.tr-albums, .tr-label { display: none; }
.tr-ov[data-view="albums"] .tr-items, .tr-ov[data-view="label"] .tr-items { display: none; }
.tr-ov[data-view="albums"] .tr-albums, .tr-ov[data-view="label"] .tr-label { display: block; }
.tr-ov.swapping .tr-body { animation: tr-tear .42s steps(5) 1, tr-rgb .42s steps(5) 1; }
.tr-ov.swapping .tr-scan { animation: tr-scan .4s steps(4) 1; }
.tr-ico-albums { position: relative; display: inline-block; width: 12px; height: 12px; }
.tr-ico-albums i { position: absolute; width: 9px; height: 9px; border: 2px solid #fff; background: none; }
.tr-ico-albums i:first-child { left: 0; top: 0; }
.tr-ico-albums i:last-child { right: 0; bottom: 0; background: var(--tr-ink); }
.tr-ico-label { display: inline-block; width: 12px; height: 12px; }
.tr-ico-label i { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: none; box-shadow: inset 0 0 0 2px var(--tr-ink), inset 0 0 0 4px #fff; }
.tr-btn:hover .tr-ico-albums i { border-color: var(--tr-pink); }
.tr-btn:hover .tr-ico-label i { border-color: var(--tr-blue); }
.tr-empty { color: rgba(255,255,255,.5); font-family: RegularLight, sans-serif; }
.tr-art.na .tr-noart { display: flex; }

/* album tiles reuse the grid tile look */
.tr-albgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 40px 30px; }
.tr-albgrid .tr-item { flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
.tr-albgrid .tr-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.tr-albgrid .tr-meta { flex-direction: column; gap: 4px; padding-right: 6px; }
.tr-albgrid .tr-idx { width: auto; color: var(--tr-pink); }
.tr-albgrid .tr-title { white-space: normal; font-size: 15px; line-height: 19px; }
.tr-albgrid .tr-artist { text-align: left; flex: none; font-size: 12px; }
.tr-albgrid .tr-noart { font-size: 22px; }
.tr-albgrid .tr-item.tr-in { animation: tr-item-in .32s steps(5) both; animation-delay: var(--d); }
.tr-albgrid .tr-disk {
  display: block; position: absolute; top: 4%; left: 4%; width: 92%; height: 92%; z-index: 1;
  background: url("../media/assets/images/pochettte.png") center / cover no-repeat;
  transition: transform .42s var(--tr-ease); pointer-events: none;
}
.tr-albgrid .tr-item:hover, .tr-albgrid .tr-item:focus-visible { z-index: 6; }
.tr-albgrid .tr-item:hover .tr-disk, .tr-albgrid .tr-item:focus-visible .tr-disk { transform: translateX(52%) rotate(5deg); }
.tr-albgrid .tr-item.glitching .tr-disk { animation: tr-disk-glitch .42s steps(5) 1; }
.tr-albgrid .tr-item:hover .tr-disk-lbl, .tr-albgrid .tr-item:focus-visible .tr-disk-lbl { opacity: 1; left: 55%; }
.tr-albgrid .tr-item:hover .tr-cover, .tr-albgrid .tr-item:focus-visible .tr-cover { transform: translateX(-6%); transition: transform .42s var(--tr-ease); }
.tr-albgrid .tr-item.is-dim .tr-art { background: #22323b; }
.tr-albgrid .tr-item.is-dim .tr-title { color: rgba(255,255,255,.7); }
.tr-albgrid .tr-item.is-dim:hover .tr-art { background: var(--tr-pink); }

/* album detail */
.tr-albdetail.tr-in { animation: tr-ov-in .36s steps(6) both; }
.tr-ad-back { appearance: none; background: none; border: 0; color: rgba(255,255,255,.65); font-family: RegularBold, sans-serif; font-size: 12px; letter-spacing: 3px; cursor: pointer; padding: 6px 0; margin-bottom: 22px; }
.tr-ad-back:hover, .tr-ad-back:focus-visible { color: #fff; animation: tr-rgb .3s steps(3) 1; outline: none; }
.tr-ad { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 46px; align-items: start; }
.tr-ad-art { position: relative; aspect-ratio: 1 / 1; }
.tr-ad-art .tr-art { position: absolute; inset: 0; }
.tr-ad-art:hover .tr-art { background: var(--tr-pink); }
.tr-ad-art:hover .tr-art::after { background: #2a0a12; }
.tr-ad-art:hover .tr-sl { opacity: 1; }
.tr-ad-art:hover .tr-sl1 { clip-path: inset(18% 0 58% 0); animation: tr-slice-a .5s steps(5) infinite; }
.tr-ad-art:hover .tr-sl2 { clip-path: inset(64% 0 12% 0); animation: tr-slice-b .6s steps(4) infinite; }
.tr-ad-kicker { margin: 0 0 10px; font-family: RegularBold, sans-serif; font-size: 11px; letter-spacing: 3px; color: var(--tr-blue); }
.tr-ad-title { margin: 0 0 22px; font-family: RegularBold, sans-serif; font-weight: normal; font-size: 34px; line-height: 38px; letter-spacing: 1px; color: #fff; }
.tr-ad-play {
  appearance: none; border: 0; background: var(--tr-pink); color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 11px; margin-bottom: 22px; font-family: RegularBold, sans-serif; font-size: 12px; letter-spacing: 3px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.tr-ad-play .tr-sk i { border-left-color: #fff; }
.tr-ad-play .tr-sk b { background: #fff; }
.tr-ad-play:hover, .tr-ad-play:focus-visible { animation: tr-jolt .26s steps(3) 1; box-shadow: -3px 0 var(--tr-blue); outline: none; }
.tr-ad-tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.tr-adt {
  appearance: none; width: 100%; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 34px 1fr auto 52px; gap: 14px; align-items: center; padding: 11px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06); font: inherit;
}
.tr-adt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(238,56,96,.18), transparent 75%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .26s var(--tr-ease); }
.tr-adt:not(.off):hover::before, .tr-adt:not(.off):focus-visible::before { transform: scaleX(1); }
.tr-adt:focus-visible { outline: 1px dashed var(--tr-blue); outline-offset: -1px; }
.tr-adt-n { font-family: RegularBold, sans-serif; font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.4); }
.tr-adt-t { font-family: RegularBold, sans-serif; font-size: 15px; letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-adt-s { font-family: RegularBold, sans-serif; font-size: 9px; letter-spacing: 2px; color: rgba(255,255,255,.35); }
.tr-adt-s .tr-eq { opacity: 0; }
.tr-adt-d { text-align: right; font-family: RegularLight, sans-serif; font-size: 12px; color: rgba(255,255,255,.55); }
.tr-adt.off { cursor: default; }
.tr-adt.off .tr-adt-t { color: rgba(255,255,255,.38); }
.tr-adt.glitching .tr-adt-t { animation: tr-rgb .4s steps(5) 1, tr-tear .4s steps(4) 1; }
.tr-adt.is-current .tr-adt-n { color: var(--tr-pink); }
.tr-adt.is-current .tr-adt-s .tr-eq { opacity: 1; }
.tr-adt.is-current::after { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; background: var(--tr-pink); }
.tr-adt.picked::before { transform: scaleX(1); animation: tr-pick .28s steps(4) 1; }
.tr-ad-empty { margin: 18px 0 0; max-width: 520px; font-family: RegularLight, sans-serif; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.65); border-left: 3px solid var(--tr-pink); padding-left: 14px; }
.tr-ad-notes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); }
.tr-ad-notes h3, .tr-lab h3 { margin: 0 0 14px; font-family: RegularBold, sans-serif; font-weight: normal; font-size: 11px; letter-spacing: 4px; color: var(--tr-pink); }
.tr-ad-blurb p { margin: 0; font-family: RegularLight, sans-serif; font-size: 15px; line-height: 24px; color: rgba(255,255,255,.85); max-width: 640px; }
.tr-ad-credits ul, .tr-ad-quotes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.75); }
.tr-ad-quotes li { font-family: RegularBook, sans-serif; }
.tr-ad-quotes span { color: var(--tr-blue); font-family: RegularLight, sans-serif; white-space: nowrap; }

/* label */
.tr-lab { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 40px; max-width: 1240px; }
.tr-lab-sec:focus { outline: none; }
.tr-lab-info { grid-column: 1 / -1; max-width: 860px; }
.tr-lab-info h3 { font-size: 14px; color: var(--tr-blue); }
.tr-lab-info p { margin: 0; font-family: RegularLight, sans-serif; font-size: 20px; line-height: 31px; color: #fff; }
.tr-lab ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-family: RegularBook, sans-serif; font-size: 14px; color: rgba(255,255,255,.82); }
.tr-lab-tv { grid-column: span 2; }
.tr-lab-tv p { margin: 0 0 14px; font-family: RegularLight, sans-serif; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.75); }
.tr-lab a { color: #fff; text-decoration: none; font-family: RegularBold, sans-serif; font-size: 12px; letter-spacing: 3px; border-bottom: 2px solid var(--tr-pink); padding-bottom: 3px; }
.tr-lab a:hover, .tr-lab a:focus-visible { animation: tr-rgb .3s steps(3) 1; outline: none; }
.tr-lab-people li { display: flex; flex-direction: column; gap: 2px; }
.tr-lab-people b { font-family: RegularBold, sans-serif; font-weight: normal; color: #fff; }
.tr-lab-people span { font-family: RegularLight, sans-serif; font-size: 12px; color: rgba(255,255,255,.55); }
.tr-lab-mail { display: inline-block; margin-top: 16px; letter-spacing: 1px !important; text-transform: none; }
.tr-lab-disc { grid-column: 1 / -1; }
.tr-lab-disc ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.tr-lab-rel {
  appearance: none; width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: baseline; padding: 11px 4px; font: inherit;
}
.tr-lab-rel span { font-family: RegularBold, sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--tr-pink); }
.tr-lab-rel b { font-family: RegularBold, sans-serif; font-weight: normal; font-size: 14px; }
.tr-lab-rel i { font-style: normal; font-family: RegularLight, sans-serif; font-size: 12px; color: rgba(255,255,255,.55); }
.tr-lab-rel:hover b, .tr-lab-rel:focus-visible b { color: var(--tr-blue); }
.tr-lab-rel:focus-visible { outline: 1px dashed var(--tr-blue); }
.tr-lab-rel.glitching b { animation: tr-rgb .4s steps(5) 1; }
.tr-lab-gal { grid-column: 1 / -1; }
.tr-lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tr-lab-g { position: relative; aspect-ratio: 1 / 1; display: block; }
.tr-lab-g .tr-art { position: absolute; inset: 0; }
.tr-lab-g:hover .tr-art { background: var(--tr-pink); }
.tr-lab-g:hover .tr-art::after { background: #2a0a12; }
.tr-lab-copy { grid-column: 1 / -1; margin: 0; font-family: RegularLight, sans-serif; font-size: 12px; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
  .tr-ad { grid-template-columns: 1fr; gap: 26px; }
  .tr-ad-art { max-width: 340px; }
  .tr-ad-notes { grid-template-columns: 1fr; }
  .tr-lab { grid-template-columns: 1fr 1fr; }
  .tr-lab-disc ul { grid-template-columns: 1fr; }
}

/* hide the floppy when there's no room on the right */
@media (max-width: 700px) {
  .tr-ctrl { right: 96px; gap: 16px; }
  .tr-ctrl .tr-lbl { display: none; }
  .tr-head { padding: 76px 20px 18px; gap: 16px; flex-wrap: wrap; }
  .tr-brand-b, .tr-count { display: none; }
  .tr-body { padding: 14px 16px 60px; }
  .tr-ov.is-grid .tr-items { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .tr-ov.is-grid .tr-item:hover .tr-disk { transform: translateX(18%) rotate(3deg); }
  .tr-artist { display: none; }
  .tr-ov.is-grid .tr-artist { display: block; }
}

/* ---------------------------------------------------------------- keyframes */
@keyframes tr-eq { 0% { transform: scaleY(.3); } 25% { transform: scaleY(1); } 50% { transform: scaleY(.55); } 75% { transform: scaleY(.85); } 100% { transform: scaleY(.25); } }
@keyframes tr-rgb {
  0% { text-shadow: -3px 0 var(--tr-pink), 3px 0 var(--tr-blue); transform: translateX(2px); }
  25% { text-shadow: 4px 0 var(--tr-pink), -2px 0 var(--tr-blue); transform: translateX(-3px); }
  50% { text-shadow: -1px 0 var(--tr-pink), 2px 0 var(--tr-blue); transform: translateX(1px); }
  75% { text-shadow: 2px 0 var(--tr-pink), -4px 0 var(--tr-blue); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}
@keyframes tr-tear {
  0% { clip-path: inset(0 0 55% 0); }
  20% { clip-path: inset(40% 0 0 0); }
  40% { clip-path: inset(0 0 20% 0); }
  60% { clip-path: inset(15% 0 30% 0); }
  80% { clip-path: inset(0 0 0 0); }
  100% { clip-path: none; }
}
@keyframes tr-slice-a { 0% { transform: translateX(-14%); } 25% { transform: translateX(10%); } 50% { transform: translateX(-6%); } 75% { transform: translateX(16%); } 100% { transform: none; opacity: 0; } }
@keyframes tr-slice-b { 0% { transform: translateX(12%); } 33% { transform: translateX(-18%); } 66% { transform: translateX(6%); } 100% { transform: none; opacity: 0; } }
@keyframes tr-slab-flick { 0% { opacity: 1; } 20% { opacity: 0; } 40% { opacity: 1; } 60% { opacity: .3; } 100% { opacity: 1; } }
@keyframes tr-jolt { 0% { transform: translateX(-3px); } 33% { transform: translateX(4px); } 66% { transform: translateX(-1px); } 100% { transform: none; } }
@keyframes tr-pick { 0% { background: var(--tr-pink); } 50% { background: var(--tr-blue); } 100% { background: var(--tr-pink); } }
@keyframes tr-ov-in {
  0% { opacity: 0; clip-path: inset(48% 0 48% 0); }
  30% { opacity: 1; clip-path: inset(30% 0 52% 0); }
  50% { clip-path: inset(10% 0 20% 0); }
  70% { clip-path: inset(0 0 6% 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes tr-ov-out {
  0% { opacity: 1; clip-path: inset(0 0 0 0); }
  50% { clip-path: inset(30% 0 40% 0); }
  100% { opacity: 0; clip-path: inset(50% 0 50% 0); }
}
@keyframes tr-scan { 0% { background-position: 0 0; opacity: 1; } 100% { background-position: 0 30px; opacity: 1; } }
@keyframes tr-item-in {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-24px); }
  40% { opacity: 1; clip-path: inset(0 40% 0 0); transform: translateX(8px); }
  70% { clip-path: inset(0 10% 0 0); transform: translateX(-2px); }
  99% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
  100% { opacity: 1; clip-path: none; transform: none; }
}
@keyframes tr-morph-flash { 0% { filter: none; } 20% { filter: hue-rotate(160deg) saturate(3); } 40% { filter: none; } 60% { filter: invert(1); } 100% { filter: none; } }
@keyframes tr-scanbar { 0% { transform: translateY(-40vh); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(50vh); opacity: 0; } }
@keyframes tr-disk-glitch { 0% { filter: none; } 30% { filter: drop-shadow(-4px 0 var(--tr-pink)) drop-shadow(4px 0 var(--tr-blue)); } 60% { filter: drop-shadow(3px 0 var(--tr-pink)); } 100% { filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .tr-ov.open, .tr-ov.closing, .tr-item, .tr-item * { animation: none !important; }
}

/* ---------------------------------------------------------------- shuffle button + album picker */
.tr-shufbtn svg { width: 15px; height: 15px; fill: #fff; transition: fill .2s; }
.tr-shufbtn:hover svg { fill: var(--tr-pink); }
.tr-shufbtn.on svg { fill: var(--tr-blue); }
.tr-shufbtn.on .tr-lbl { color: var(--tr-blue); }
.tr-shufbtn .tr-lbl { min-width: 0; }
.tr-shuf {
  position: fixed; top: 84px; right: 128px; z-index: 10003;
  width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  background: rgba(5, 8, 12, .97); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: -4px 0 0 var(--tr-pink), 0 24px 60px rgba(0, 0, 0, .6);
  color: #fff; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .28s var(--tr-ease), visibility .2s;
}
.tr-shuf.open { opacity: 1; visibility: visible; transform: none; animation: tr-shuf-in .3s steps(3) 1; }
@keyframes tr-shuf-in { 0% { clip-path: inset(0 0 92% 0); } 50% { clip-path: inset(0 0 40% 0); transform: translateX(3px); } 100% { clip-path: inset(0); } }
.tr-shuf-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tr-shuf-h b { font-family: RegularBold, sans-serif; font-weight: normal; font-size: 12px; letter-spacing: 4px; color: var(--tr-pink); }
.tr-shuf-h button, .tr-shuf-off { appearance: none; background: none; border: 0; color: rgba(255, 255, 255, .6); font-family: RegularBold, sans-serif; font-size: 10px; letter-spacing: 3px; cursor: pointer; padding: 4px 0 4px 14px; }
.tr-shuf-h button:hover, .tr-shuf-off:hover { color: var(--tr-blue); }
.tr-shuf-l { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; flex: 1 1 auto; }
.tr-shuf-l label { display: grid; grid-template-columns: 18px 36px 1fr; gap: 12px; align-items: center; padding: 7px 18px; cursor: pointer; }
.tr-shuf-l label:hover { background: linear-gradient(90deg, rgba(238, 56, 96, .18), transparent 80%); }
.tr-shuf-l input { position: absolute; opacity: 0; pointer-events: none; }
.tr-shuf-box { width: 14px; height: 14px; border: 1px solid rgba(255, 255, 255, .45); position: relative; }
.tr-shuf-l input:checked + .tr-shuf-box { background: var(--tr-pink); border-color: var(--tr-pink); }
.tr-shuf-l input:checked + .tr-shuf-box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tr-shuf-l input:focus-visible + .tr-shuf-box { outline: 1px dashed var(--tr-blue); outline-offset: 3px; }
.tr-shuf-art { width: 36px; height: 36px; background: var(--tr-navy); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.tr-shuf-art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.2); }
.tr-shuf-l input:not(:checked) ~ .tr-shuf-art img { filter: grayscale(1) brightness(.5); }
.tr-shuf-t { min-width: 0; }
.tr-shuf-t b { display: block; font-family: RegularBold, sans-serif; font-weight: normal; font-size: 13px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-shuf-t i { display: block; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-shuf-l input:not(:checked) ~ .tr-shuf-t { opacity: .45; }
.tr-shuf-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tr-shuf-go { appearance: none; border: 0; background: var(--tr-pink); color: #fff; font-family: RegularBold, sans-serif; font-size: 11px; letter-spacing: 3px; padding: 11px 16px; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.tr-shuf-go:hover { box-shadow: -3px 0 var(--tr-blue); animation: tr-jolt .26s steps(3) 1; }
.tr-shuf-go:disabled { opacity: .35; cursor: default; animation: none; }
.tr-shuf-off[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tr-shuf.open { animation: none; } }
@media (max-width: 700px) { .tr-shuf { right: 16px; top: 76px; } }

/* the catalog header keeps clear of the player controls (measured in JS); stacks the view switch when tight */
.tr-ov.tr-stack .tr-head { flex-wrap: wrap; row-gap: 22px; }
.tr-ov.tr-stack .tr-switch { order: 3; margin-left: 0; }
.tr-ov.tr-stack .tr-head::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
@media (max-width: 700px) { .tr-ov .tr-head { padding-right: 20px; } }

/* ---------------------------------------------------------------- in memory: pen line across a name */
.tr-rip, .tr-lab-people .tr-rip, .m-people .tr-rip { position: relative; display: inline-block; white-space: nowrap; color: inherit; font: inherit; letter-spacing: inherit; margin: 0; padding: 0; text-transform: inherit; }
.tr-rip svg { position: absolute; left: -4%; top: 4%; width: 108%; height: 92%; overflow: visible; pointer-events: none; }
.tr-rip path { fill: none; stroke: #43bded; stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .9;
  stroke-dasharray: 100; stroke-dashoffset: 100; animation: tr-pen 1.4s cubic-bezier(.45, .05, .25, 1) .5s forwards; }
@keyframes tr-pen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tr-rip path { animation: none; stroke-dashoffset: 0; } }
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- play stage: HOME */
.tr-home { display: none; }
html.tr-xp .tr-home { display: inline-flex; color: #fff; }
.tr-ico-ej { width: 12px; height: 12px; position: relative; display: inline-block; }
.tr-ico-ej::before { content: ""; position: absolute; left: 0; top: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 7px solid #fff; }
.tr-ico-ej::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; }
.tr-home:hover .tr-ico-ej::before { border-bottom-color: var(--tr-pink); }
.tr-home:hover .tr-ico-ej::after { background: var(--tr-blue); }
html.tr-xp .tr-home { box-shadow: inset 0 -2px 0 var(--tr-pink); padding-left: 2px; padding-right: 2px; }
html.tr-ov-open .tr-home { display: none !important; }

/* ---------- wax records in place of the floppy (albums with a record design) ---------- */
.tr-disk.tr-disk-wax { background: none !important; }
.tr-disk.tr-disk-wax::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wax) center / contain no-repeat;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5);
  animation: tr-wax-spin 5.5s linear infinite; animation-play-state: paused;
}
.tr-item:hover .tr-disk-wax::before, .tr-item:focus-visible .tr-disk-wax::before { animation-play-state: running; }
.tr-disk-wax .tr-disk-lbl { z-index: 1; background: rgba(5, 8, 12, .78); padding: 6px 8px; width: auto; max-width: 46%; }
@keyframes tr-wax-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tr-disk.tr-disk-wax::before { animation: none; } }

/* ---------- retail QR card, floating bottom right of an album ---------- */
.tr-buy {
  position: fixed; right: 28px; bottom: 28px; z-index: 10001;
  display: flex; gap: 14px; align-items: center;
  padding: 12px 16px 12px 12px;
  background: rgba(5, 8, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: -4px 0 var(--tr-pink), 0 18px 50px rgba(0, 0, 0, .55);
  animation: tr-buy-in .5s steps(5) both .25s, tr-buy-float 5s ease-in-out infinite 1s;
}
.tr-buy-qr { width: 108px; height: 108px; flex: none; }
.tr-buy-qr svg { display: block; width: 100%; height: 100%; }
.tr-buy-t { display: flex; flex-direction: column; gap: 3px; font-family: RegularBold, sans-serif; color: #fff; }
.tr-buy-t b { font-weight: normal; font-size: 11px; line-height: 14px; letter-spacing: 3px; color: var(--tr-pink); margin-bottom: 6px; }
.tr-buy-p { font-size: 22px; line-height: 24px; letter-spacing: 1px; }
.tr-buy-p i { font-style: normal; font-size: 10px; letter-spacing: 2px; color: var(--tr-blue); vertical-align: 3px; }
.tr-buy-t em { font-style: normal; font-family: RegularBook, sans-serif; font-size: 9px; letter-spacing: 2px; color: rgba(255, 255, 255, .5); margin-top: 6px; }
@keyframes tr-buy-in { 0% { clip-path: inset(0 0 100% 0); opacity: 0; } 60% { clip-path: inset(0 0 20% 0); transform: translateX(-3px); opacity: 1; } 100% { clip-path: inset(0); } }
@keyframes tr-buy-float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .tr-buy { animation: none; } }
@media (max-width: 1100px) { .tr-buy-qr { width: 84px; height: 84px; } .tr-buy-p { font-size: 18px; } }
html.tr-mobile .tr-buy, html:not(.tr-ov-open) .tr-buy, html.dj-open .tr-buy, html.tr-rv-open .tr-buy { display: none; }
.tr-lab-people .tr-lab-pmail, .tr-lab-people .tr-lab-pmail a { font-family: RegularBook, sans-serif; font-size: 12px; color: var(--tr-blue); text-decoration: none; }

/* hover on grid tiles: keep the colour glitch, drop the vertical "tear" so nothing jumps */
.tr-ov.is-grid .tr-item.glitching .tr-meta, .tr-albgrid .tr-item.glitching .tr-meta { animation: tr-rgb .44s steps(6) 1; }
