/* Trackleads Record Player */
.tlp { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.tlp video { width: 100%; display: block; border-radius: 0 !important; }

.tlp-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 2px;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  opacity: 0; transition: opacity 0.15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.tlp:hover .tlp-bar, .tlp.tlp-paused .tlp-bar, .tlp-bar:focus-within { opacity: 1; }

.tlp-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: rgba(255, 255, 255, 0.75); cursor: pointer;
  width: 32px; height: 30px; border-radius: 6px; padding: 0;
  font-family: inherit; flex-shrink: 0; transition: color 0.12s;
}
.tlp-btn:hover { color: #fff; }
.tlp-btn svg { width: 18px; height: 18px; }
.tlp-btn.tlp-label {
  width: auto; min-width: 40px; padding: 0 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
}

.tlp-time {
  color: rgba(255, 255, 255, 0.55); font-size: 11.5px; font-variant-numeric: tabular-nums;
  white-space: nowrap; flex-shrink: 0; padding: 0 8px;
}

.tlp-seek { flex: 1; min-width: 60px; }

/* Volume slider slides out only when hovering the speaker */
.tlp-volwrap { display: flex; align-items: center; flex-shrink: 0; }
.tlp-vol {
  width: 0; opacity: 0; margin-right: 0;
  transition: width 0.18s ease, opacity 0.18s ease, margin 0.18s ease;
}
.tlp-volwrap:hover .tlp-vol, .tlp-vol:focus {
  width: 56px; opacity: 1; margin-right: 6px;
}

.tlp input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.25); outline: none; cursor: pointer;
  transition: height 0.12s;
}
.tlp input[type="range"]:hover { height: 5px; }
.tlp input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 0; height: 0;
  border: none; background: transparent;
}
.tlp input[type="range"]:hover::-webkit-slider-thumb {
  width: 11px; height: 11px; border-radius: 50%; background: #fff;
}

.tlp-menu-wrap { position: relative; flex-shrink: 0; }
.tlp-menu {
  position: absolute; bottom: calc(100% + 10px); right: 0;
  background: rgba(24, 24, 27, 0.97); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 4px; min-width: 88px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); z-index: 5;
}
.tlp-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: #ccc; font-size: 13px; padding: 6px 12px; border-radius: 6px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.tlp-menu button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tlp-menu button.active { color: #FFB700; font-weight: 600; }

.tlp:fullscreen { border-radius: 0; }
.tlp:fullscreen video { height: 100vh; object-fit: contain; }
