/* Singers pages — extends adyibun grid/profile look + audio */
html:has(body.singers-page),
body.singers-page,
html:has(body.singers-singer-page),
body.singers-singer-page,
html:has(body.singers-songs-page),
body.singers-songs-page {
  background: #ffffff;
}

body.singers-page .sidebar,
body.singers-singer-page .sidebar,
body.singers-songs-page .sidebar {
  display: none !important;
}

body.singers-page .site-header,
body.singers-singer-page .site-header,
body.singers-songs-page .site-header {
  right: 0;
  left: 0;
}

body.singers-page .content,
body.singers-singer-page .content,
body.singers-songs-page .content,
body.singers-page main.content,
body.singers-singer-page main.content,
body.singers-songs-page main.content {
  margin-right: 0 !important;
  margin-left: 0;
  max-width: none !important;
  width: auto;
  box-sizing: border-box;
}

body.singers-page .content {
  padding-top: 0;
  padding-bottom: 32px;
}

.singer-audio-section {
  margin: 28px auto 8px;
  max-width: 1100px;
  padding: 0 16px;
}

.singer-audio-section h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.2vw, 26px);
  color: #1a3a5c;
}

.singer-audio-empty {
  margin: 0;
  color: #5a6f86;
  font-size: 15px;
  line-height: 1.7;
}

.singer-player {
  display: none;
  margin: 0 0 16px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #17324d 0%, #1a3a5c 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(23, 50, 77, 0.22);
}

.singer-player.is-active {
  display: block;
}

.singer-player-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.singer-player-toggle {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #e07a5f 0%, #c45c48 100%);
  box-shadow: 0 2px 10px rgba(196, 92, 72, 0.4);
}

.singer-player-meta {
  min-width: 0;
  flex: 1;
}

.singer-player-title {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.singer-player-times {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.singer-player-progress {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  direction: ltr;
}

.singer-player-track {
  position: absolute;
  inset-inline: 0;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: visible;
  pointer-events: none;
}

.singer-player-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0a48f 0%, #e07a5f 100%);
}

.singer-player-head {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  border: 2px solid #e07a5f;
}

.singer-player-seek {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  height: 22px;
  cursor: pointer;
}

.singer-player-seek::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.singer-player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
}

.singer-player-seek::-moz-range-track {
  height: 6px;
  background: transparent;
  border: none;
}

.singer-player-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: transparent;
}

.singer-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.singer-track-list--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.singer-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f7fb;
  border: 1px solid #d7e4f2;
  min-width: 0;
}

.singer-track-play {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #e07a5f 0%, #c45c48 100%);
  box-shadow: 0 2px 8px rgba(196, 92, 72, 0.35);
}

.singer-track-play:hover {
  filter: brightness(1.05);
}

.singer-track-play.is-playing {
  background: linear-gradient(180deg, #3d7ef0 0%, #173feb 100%);
}

.singer-track-play.is-error {
  background: #9aa8b8;
}

.singer-track-title {
  font-size: 15px;
  color: #17324d;
  line-height: 1.45;
  min-width: 0;
}

@media (max-width: 980px) {
  .singer-track-list--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .singer-track-list,
  .singer-track-list--3 {
    grid-template-columns: 1fr;
  }
}

/* Smaller profile photo than poets */
body.singers-singer-page .adyibun-poet-hero--wide .adyibun-poet-photo {
  width: min(100%, 220px);
  max-width: 220px;
  min-height: 0;
  max-height: 280px;
  aspect-ratio: 3 / 4;
  justify-self: end;
  margin-inline-start: auto;
}

body.singers-singer-page .adyibun-poet-photo img {
  object-position: center top;
}

@media (max-width: 720px) {
  body.singers-singer-page .adyibun-poet-hero--wide .adyibun-poet-photo {
    width: min(100%, 180px);
    max-width: 180px;
    max-height: 240px;
    justify-self: center;
    margin-inline: auto;
  }
}

/* Profile listen CTA */
.singer-listen-wrap {
  margin-top: 18px;
}

.singer-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  background: linear-gradient(180deg, #e07a5f 0%, #c45c48 100%);
  box-shadow: 0 4px 16px rgba(196, 92, 72, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.singer-listen-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.singer-listen-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.singer-listen-empty {
  margin: 0;
  color: #5a6f86;
  font-size: 15px;
}

/* Songs page: compact singer header */
.singer-songs-head {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 8px auto 6px;
  padding: 0 16px;
}

.singer-songs-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef5;
  border: 2px solid #d7e4f2;
}

.singer-songs-photo img,
.singer-songs-photo .adyibun-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.singer-songs-photo .adyibun-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1a3a5c;
  background: #e8eef5;
}

.singer-songs-meta {
  min-width: 0;
}

.singer-songs-meta h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #1a3a5c;
  line-height: 1.3;
}

.singer-songs-en {
  margin: 4px 0 0;
  color: #5a6f86;
  font-size: 14px;
}

body.singers-songs-page .singer-audio-section--songs {
  margin-top: 18px;
}

@media (max-width: 720px) {
  .singer-songs-head {
    gap: 12px;
  }

  .singer-songs-photo {
    width: 60px;
    height: 60px;
  }
}