/* Lecteur Turkish Blend — reprise du lecteur de l’ancien site */
.tb-player {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem 1.2rem 1.1rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #333;
}
.tb-head { text-align: center; margin-bottom: .9rem; }
.tb-kicker {
  margin: 0;
  color: #ec1f55;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tb-head h3 {
  margin: .25rem 0 .15rem;
  color: #222;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.tb-singer { margin: 0; color: #888; font-size: .78rem; }
.tb-cd {
  width: 190px;
  height: 190px;
  margin: .2rem auto 1rem;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #f4f4f4;
}
.tb-cd-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  background-position: center;
  background-size: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.tb-player.is-playing .tb-cd-thumb { animation: tb-spin 12s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
.tb-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin: .6rem 0 .7rem;
}
.tb-btn {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: .35rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.tb-btn:hover { color: #ec1f55; }
.tb-btn:focus-visible { outline: 3px solid rgba(236, 31, 85, .35); outline-offset: 2px; }
.tb-play {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  border-radius: 50%;
  background: #ec1f55;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 5px 14px rgba(236, 31, 85, .35);
}
.tb-play:hover { background: #d31245; color: #fff; }
.tb-progress {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #777;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}
.tb-progress input {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: #ec1f55;
  cursor: pointer;
}
.tb-volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: .35rem 0 .55rem;
  color: #777;
  font-size: .78rem;
}
.tb-volume span { font-size: .9rem; }
.tb-volume input {
  width: 132px;
  accent-color: #ec1f55;
  cursor: pointer;
}
.tb-playlist-title {
  margin: 1.1rem 0 .4rem;
  color: #777;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tb-playlist {
  display: grid;
  gap: .35rem;
  max-height: 340px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.tb-song {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .48rem .65rem;
  border: 0;
  border-left: 3px solid transparent;
  background: #f7f7f7;
  color: #333;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.tb-song:hover { background: #fff0f3; }
.tb-song:focus-visible { outline: 2px solid #ec1f55; outline-offset: -2px; }
.tb-song.active {
  border-left-color: #b3123d;
  background: #ec1f55;
  color: #fff;
}
.tb-song-thumb {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background-color: #ddd;
  background-position: center;
  background-size: cover;
}
.tb-song-text { min-width: 0; }
.tb-song-title {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tb-song-singer {
  display: block;
  color: #888;
  font-size: .67rem;
  line-height: 1.3;
}
.tb-song.active .tb-song-singer { color: #ffd7e2; }
.tb-error {
  margin: .5rem 0 0;
  color: #b3123d;
  font-size: .75rem;
  text-align: center;
}
@media (max-width: 480px) {
  .tb-player { padding: 1rem .8rem; }
  .tb-cd { width: 160px; height: 160px; }
  .tb-playlist { max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-player.is-playing .tb-cd-thumb { animation: none; }
}
