/* =========================
   YT PLAYLIST PRO – CLEAN RESET
   ========================= */

/* GLOBAL RESET FOR THIS COMPONENT */
.ytpp-wrapper,
.ytpp-wrapper * {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* WRAPPER */
.ytpp-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  width: 100%;
  padding: 2rem 0;
  font-size: 1rem;
}

/* PLAYER */
.ytpp-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
  display: block;
}

/* MAIN TITLE */
.ytpp-main-title {
  margin-top: 0.9rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff !important;
}

/* PLAYLIST LIST */
.ytpp-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  padding-right: 6px;
}

/* PLAYLIST ITEM */
.ytpp-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

/* THUMB */
.ytpp-item img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
}

/* TITLE — THIS IS THE IMPORTANT PART */
.ytpp-title,
.ytpp-title * {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  color: #fff !important;
  font-family: inherit !important;
}

/* ACTIVE */
.ytpp-item.active {
  background: rgba(255, 255, 255, 0.18);
}

.ytpp-item.active .ytpp-title {
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {

  .ytpp-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ytpp-item {
    grid-template-columns: 95px 1fr;
  }

  .ytpp-item img {
    height: 60px;
  }

  /* LOCK MOBILE FONT SIZE */
  .ytpp-title,
  .ytpp-title * {
    font-size: 1rem !important;
  }
}