.galore-master{
  width:min(1180px,calc(100% - 32px));
  margin:38px auto 180px;
}

.galore-master__header{
  margin-bottom:18px;
}

.galore-master__eyebrow{
  margin:0 0 7px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  opacity:.7;
}

.galore-master__header h1{
  margin:0 0 7px;
}

.galore-master__intro{
  margin:0;
  opacity:.72;
}

.galore-master__tools{
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px auto;
  gap:10px;
  align-items:end;
  margin-top:20px;
}

.galore-master__tools label{
  display:grid;
  gap:6px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.05em;
}

.galore-master__tools input,
.galore-master__tools select,
.galore-master__play-all{
  min-height:44px;
  border-radius:10px;
  padding:0 12px;
}

.galore-master__status{
  margin-top:12px;
  font-size:.82rem;
  opacity:.7;
}

.galore-master__playlist{
  max-height:560px;
  overflow-y:auto;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(10,10,14,.72);
}

.galore-master__playlist .track{
  border-bottom:1px solid rgba(255,255,255,.07);
}

.galore-master__playlist .track:last-child{
  border-bottom:0;
}

@media(max-width:760px){
  .galore-master{
    width:min(100% - 20px,1180px);
  }

  .galore-master__tools{
    grid-template-columns:1fr;
  }

  .galore-master__playlist{
    max-height:500px;
  }
}

/* =========================================================
   GALORE ESCAPES — MASTER 130 TRACK PLAYLIST POLISH V1
   Presentation only.
   ========================================================= */

#playlist {
  display: grid;
  gap: 8px;
  width: 100%;
}

/*
 * The proven engine renders real track rows dynamically.
 * These selectors deliberately target playlist descendants
 * rather than changing the engine-generated markup.
 */
#playlist [data-key] {
  display: grid;
  grid-template-columns: 79px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 91px;
  padding: 6px 10px;
  overflow: hidden;
}

#playlist [data-key] img {
  display: block;
  width: 75px !important;
  height: 75px !important;
  min-width: 75px;
  max-width: 75px !important;
  max-height: 75px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
}

#playlist [data-key] > * {
  min-width: 0;
}

#playlist [data-key] button,
#playlist [data-key] a {
  flex-shrink: 0;
}

#playlist [data-action="play"],
#playlist [data-action="download"] {
  white-space: nowrap;
}

.galore-master-counts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
  font-size: 0.9rem;
  opacity: 0.82;
}

@media (max-width: 700px) {
  #playlist [data-key] {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 74px;
    padding: 6px;
  }

  #playlist [data-key] img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 7px;
  }

  #playlist [data-action="download"] {
    font-size: 0.78rem;
  }
}

/* GALORE_PLAYLIST_BANNER_CARD_V1_BEGIN */
.galore-playlist-banner-card {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 24px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  line-height: 0;
}

.galore-playlist-banner-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .galore-playlist-banner-card {
    width: calc(100% - 20px);
    margin: 18px auto;
    border-radius: 14px;
  }
}
/* GALORE_PLAYLIST_BANNER_CARD_V1_END */

/* GALORE_TOP_BANNER_FULL_WIDTH_V1_BEGIN */
#homePlatformBanner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

#homePlatformBanner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

/* Keep the playlist banner as a contained card. */
#galorePromoBannerCard {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
/* GALORE_TOP_BANNER_FULL_WIDTH_V1_END */

/* GALORE_OFFICIAL_PLAYER_V1_BEGIN */

.galore-official-preview {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 120px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(7,13,22,.96);
  box-shadow: 0 18px 48px rgba(0,0,0,.3);
}

.galore-official-preview-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.12em;
}

.galore-official-preview-head span {
  opacity:.68;
}

.galore-official-preview-body {
  display:flex;
  align-items:center;
  gap:16px;
}

.galore-official-preview-art {
  width:78px;
  height:78px;
  flex:0 0 78px;
  object-fit:cover;
  border-radius:12px;
  background:rgba(255,255,255,.06);
}

.galore-official-preview-copy {
  min-width:0;
  display:grid;
  gap:6px;
}

#galorePreviewTitle {
  font-size:clamp(1.05rem,2vw,1.4rem);
}

#galorePreviewAlbum,
#galorePreviewLibrary,
#galorePreviewStatus {
  opacity:.72;
}

.galore-actual-player {
  display:none !important;
}

#playerShare svg {
  width:18px;
  height:18px;
}

.share-menu {
  display:none;
  position:absolute;
  z-index:100000;
  width:220px;
  padding:8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(6,11,19,.985);
  box-shadow:0 20px 55px rgba(0,0,0,.5);
}

.share-menu.is-open {
  display:grid;
  gap:4px;
}

.share-menu__item {
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}

.share-menu__item:hover,
.share-menu__item:focus-visible {
  background:rgba(255,255,255,.08);
}

.share-menu__item svg {
  width:17px;
  height:17px;
  flex:0 0 17px;
}

.galore-share-toast {
  position:fixed;
  z-index:100001;
  left:50%;
  bottom:112px;
  transform:translate(-50%,12px);
  opacity:0;
  pointer-events:none;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(6,11,19,.97);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  transition:opacity .18s ease,transform .18s ease;
}

.galore-share-toast.is-visible {
  opacity:1;
  transform:translate(-50%,0);
}

@media (max-width:768px) {
  .galore-official-preview {
    width:calc(100% - 20px);
    margin-bottom:96px;
  }

  .galore-official-preview-art {
    width:60px;
    height:60px;
    flex-basis:60px;
  }
}

/* GALORE_OFFICIAL_PLAYER_V1_END */

