
/* Riddim & Vibez V18 Platform Edition */
.track-commerce-v18{
  display:flex;
  align-items:center;
  gap:7px;
  justify-content:flex-end;
}
.queue-add-v18{
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:8px 10px;
  font-size:.68rem;
  font-weight:700;
  cursor:pointer;
}
.queue-add-v18:hover{background:#f1f1f3}

.waveform-v18{
  height:24px;
  display:flex;
  gap:2px;
  align-items:center;
  margin-top:6px;
  overflow:hidden;
  pointer-events:none;
}
.waveform-v18 i{
  width:2px;
  min-width:2px;
  border-radius:99px;
  background:#d2d2d7;
  transition:background .15s ease;
}
.waveform-v18 i.played{background:#1d1d1f}

.player-queue-button-v18{
  border:0;
  background:transparent;
  color:#55555a;
  font-size:.7rem;
  font-weight:700;
  cursor:pointer;
}
.queue-panel-v18{
  position:fixed;
  right:22px;
  bottom:98px;
  z-index:100;
  width:min(340px,calc(100% - 28px));
  max-height:420px;
  overflow:auto;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  border:1px solid rgba(0,0,0,.08);
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.16);
  padding:12px;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:.18s ease;
}
.queue-panel-v18.show{opacity:1;transform:none;pointer-events:auto}
.queue-head-v18{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:6px 6px 10px;
}
.queue-close-v18{
  border:0;background:transparent;font-size:1.3rem;cursor:pointer;color:#666
}
.queue-list-v18{display:grid;gap:6px}
.queue-row-v18{
  width:100%;
  border:0;
  background:#f5f5f7;
  border-radius:12px;
  display:grid;
  grid-template-columns:24px 1fr;
  text-align:left;
  gap:8px;
  padding:10px;
  cursor:pointer;
}
.queue-row-v18.active{background:#e9e9ed}
.queue-row-v18 span{color:#888;font-size:.7rem}
.queue-empty-v18{padding:18px;color:#777;font-size:.8rem}

.license-compare-v18{margin-top:44px}
.license-compare-v18 h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.045em;margin:6px 0 18px}
.license-compare-grid-v18{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.license-compare-card-v18{
  position:relative;
  border:1px solid var(--line);
  background:#fff;
  border-radius:20px;
  padding:20px;
}
.license-compare-card-v18.recommended-v18{
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  border-color:#d8c78f;
}
.recommended-pill-v18{
  position:absolute;
  right:12px;top:12px;
  font-size:.62rem;font-weight:800;
  background:#fff5d8;color:#765811;
  border-radius:999px;padding:5px 8px
}
.license-compare-price-v18{font-size:1.4rem;font-weight:780;margin:6px 0}
.license-compare-card-v18 p{color:var(--muted);min-height:42px}
.license-compare-actions-v18{display:flex;gap:8px;flex-wrap:wrap}

.related-v18{padding-top:30px}
.related-grid-v18{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.related-card-v18{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:10px;
}
.related-cover-v18{
  display:block;
  aspect-ratio:1;
  border-radius:14px;
  overflow:hidden;
  background:#eee;
}
.related-cover-v18 img{width:100%;height:100%;object-fit:cover;display:block}
.related-info-v18{
  display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:10px 4px 3px
}
.mini-play-v18{
  width:34px;height:34px;border-radius:50%;border:0;background:#1d1d1f;color:#fff;cursor:pointer
}

.health-grid-v18{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.health-card-v18{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px
}
.health-dot-v18{
  width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:7px;background:#c9c9ce
}
.health-card-v18.ok .health-dot-v18{background:#31a24c}
.health-card-v18.bad .health-dot-v18{background:#d84747}

.status-control-v18{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.status-pill-v18{
  display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.68rem;font-weight:750;background:#eeeef0
}
.status-pill-v18.live{background:#e6f6ea;color:#25723a}
.status-pill-v18.draft{background:#eeeef0;color:#666}
.status-pill-v18.sold_exclusive{background:#fff0df;color:#8b5a16}

.account-shell-v18{
  width:min(1050px,calc(100% - 28px));
  margin:90px auto 60px;
}
.account-head-v18{
  display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px
}
.account-grid-v18{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px
}
.account-card-v18{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px
}
.account-cover-v18{
  width:72px;height:72px;object-fit:cover;border-radius:14px;background:#eee
}
.account-item-v18{
  display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center
}
.login-card-v18{
  width:min(520px,calc(100% - 28px));
  margin:120px auto;
  background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px
}

@media(max-width:900px){
  .related-grid-v18{grid-template-columns:repeat(2,minmax(0,1fr))}
  .health-grid-v18{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .license-compare-grid-v18,.account-grid-v18,.health-grid-v18{grid-template-columns:1fr}
  .related-grid-v18{grid-template-columns:1fr 1fr}
  .track-commerce-v18{display:block}
  .queue-add-v18{display:none}
}

/* V18.5 — Admin Beats Polish */

.beats-toolbar-v18-5{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:14px;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
}

.status-segment-v18-5{
  display:inline-flex;
  gap:4px;
  padding:4px;
  border-radius:12px;
  background:#f1f1f3;
}

.status-segment-v18-5 a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 11px;
  border-radius:9px;
  color:#626267;
  font-size:.72rem;
  font-weight:720;
  text-decoration:none;
  white-space:nowrap;
}

.status-segment-v18-5 a small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  font-size:.61rem;
  color:#77777b;
}

.status-segment-v18-5 a:hover{
  color:#1d1d1f;
  background:rgba(255,255,255,.65);
}

.status-segment-v18-5 a.active{
  background:#fff;
  color:#1d1d1f;
  box-shadow:0 1px 5px rgba(0,0,0,.08);
}

.status-segment-v18-5 a.active small{
  background:#1d1d1f;
  color:#fff;
}

.beats-search-v18-5{
  display:flex;
  align-items:center;
  gap:7px;
}

.beats-search-v18-5 input{
  min-width:220px;
}

.bulk-actions-v18-5{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 10px;
}

.bulk-actions-v18-5 .muted{
  margin-right:3px;
  font-size:.7rem;
  font-weight:650;
}

.admin-beat-cover-v18-5{
  display:block;
  width:54px;
  height:54px;
  border-radius:12px;
  overflow:hidden;
  background:#ececef;
  border:1px solid #e1e1e4;
  box-shadow:0 4px 14px rgba(0,0,0,.055);
}

.admin-beat-cover-v18-5 img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.admin-beat-title-v18-5{
  display:inline-block;
  margin-bottom:2px;
}

.admin-free-badge-v18-5{
  display:inline-flex;
  margin-top:6px;
  padding:4px 7px;
  border-radius:999px;
  background:#f6f1df;
  color:#745d20;
  font-size:.59rem;
  font-weight:760;
}

.table-wrap table tbody tr{
  min-height:72px;
}

.table-wrap table td{
  vertical-align:middle;
}

@media(max-width:900px){
  .beats-toolbar-v18-5{
    align-items:stretch;
  }

  .status-segment-v18-5{
    width:100%;
    overflow-x:auto;
  }

  .status-segment-v18-5 a{
    flex:0 0 auto;
  }

  .beats-search-v18-5{
    width:100%;
  }

  .beats-search-v18-5 input{
    flex:1;
    min-width:0;
  }
}

@media(max-width:700px){
  .admin-beat-cover-v18-5{
    width:48px;
    height:48px;
    border-radius:10px;
  }

  .bulk-actions-v18-5 .muted{
    display:none;
  }
}


/* V18.6 — Definitive compact catalogue actions */

/* Give the purchase column just enough room, without making it visually heavy */
.track{
  grid-template-columns:
    68px
    minmax(240px,1fr)
    78px
    78px
    105px
    minmax(230px,auto);
}

.track-head{
  grid-template-columns:
    68px
    minmax(240px,1fr)
    78px
    78px
    105px
    minmax(230px,auto);
}

.track-commerce-v18{
  display:flex !important;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:nowrap;
  white-space:nowrap;
  min-width:0;
}

/* Free download */
.track-commerce-v18 .free-download-btn-v18-4{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:0;
  height:30px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid #dedee2;
  background:#fff;
  color:#323236;
  font-size:.61rem;
  line-height:1;
  font-weight:720;
  white-space:nowrap;
  box-shadow:none;
}

/* Queue */
.track-commerce-v18 .queue-add-v18{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:0;
  height:30px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid #dedee2;
  background:#fff;
  color:#444448;
  font-size:.61rem;
  line-height:1;
  font-weight:720;
  white-space:nowrap;
  box-shadow:none;
}

/* Buy / Licenses */
.track-commerce-v18 .buy{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:30px;
  padding:0 11px !important;
  border-radius:999px !important;
  font-size:.64rem !important;
  line-height:1 !important;
  font-weight:760 !important;
  white-space:nowrap !important;
  text-align:center;
  box-shadow:none;
}

.track-commerce-v18 .free-download-btn-v18-4:hover,
.track-commerce-v18 .queue-add-v18:hover{
  background:#f5f5f7;
}

/* Do not let older button rules make these circular */
.track-commerce-v18 .queue-add-v18,
.track-commerce-v18 .buy,
.track-commerce-v18 .free-download-btn-v18-4{
  aspect-ratio:auto !important;
  border-radius:999px !important;
}

/* More compact around price + actions */
.track > .value{
  white-space:nowrap;
}

@media(max-width:1050px){
  .track,
  .track-head{
    grid-template-columns:
      62px
      minmax(200px,1fr)
      70px
      70px
      95px
      minmax(205px,auto);
  }

  .track-commerce-v18{
    gap:5px;
  }

  .track-commerce-v18 .free-download-btn-v18-4,
  .track-commerce-v18 .queue-add-v18{
    padding:0 8px;
    font-size:.59rem;
  }

  .track-commerce-v18 .buy{
    padding:0 9px !important;
    font-size:.61rem !important;
  }
}

@media(max-width:760px){
  .track{
    grid-template-columns:58px minmax(0,1fr) auto;
  }

  .track-head{
    display:none;
  }

  .track-commerce-v18{
    gap:5px;
  }

  /* Keep mobile clean: Queue is secondary */
  .track-commerce-v18 .queue-add-v18{
    display:none !important;
  }

  .track-commerce-v18 .free-download-btn-v18-4,
  .track-commerce-v18 .buy{
    height:29px;
    padding:0 8px !important;
    font-size:.58rem !important;
  }
}

/* ============================================================
   V19.1 — CLEAN CARIBBEAN APPLE
   90% Apple clean / 10% Caribbean accent
   ============================================================ */

:root{
  --rv-clean-bg:#f5f5f7;
  --rv-clean-card:#ffffff;
  --rv-clean-ink:#1d1d1f;
  --rv-clean-muted:#6e6e73;
  --rv-clean-line:#e5e5e7;
  --rv-clean-gold:#b58a2f;
  --rv-clean-gold-soft:#f6f0df;
  --rv-clean-ocean:#4b7d7b;
  --rv-clean-ocean-soft:#edf4f3;
  --rv-clean-shadow:0 14px 42px rgba(0,0,0,.055);
}

html{
  background:var(--rv-clean-bg);
}

body{
  background:
    radial-gradient(circle at 92% 4%,rgba(75,125,123,.045),transparent 24rem),
    radial-gradient(circle at 8% 20%,rgba(181,138,47,.04),transparent 24rem),
    var(--rv-clean-bg)!important;
  color:var(--rv-clean-ink)!important;
  -webkit-font-smoothing:antialiased;
}

/* Navigation */
.nav{
  background:rgba(250,250,252,.82)!important;
  border-bottom:1px solid rgba(0,0,0,.055)!important;
  backdrop-filter:blur(24px) saturate(160%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  box-shadow:none!important;
}

.nav.scrolled{
  background:rgba(250,250,252,.94)!important;
  box-shadow:0 6px 24px rgba(0,0,0,.04)!important;
}

.brand{
  font-weight:780!important;
  letter-spacing:-.04em!important;
}

.brand em{
  color:var(--rv-clean-gold)!important;
  font-style:normal!important;
}

.navlinks a{
  color:#606064!important;
  font-weight:620!important;
}

.navlinks a:hover{
  color:#1d1d1f!important;
}

.nav-cta{
  background:#1d1d1f!important;
  color:#fff!important;
  border-radius:999px!important;
}

/* Typography */
.eyebrow{
  color:var(--rv-clean-gold)!important;
  letter-spacing:.11em!important;
  font-weight:760!important;
}

.hero h1,
.section h2,
.beat-title-v16{
  letter-spacing:-.06em!important;
}

.hero h1{
  font-size:clamp(4.1rem,8.6vw,8rem)!important;
  line-height:.86!important;
}

.hero-copy,
.section-copy,
.beat-description-v16,
.meta{
  color:var(--rv-clean-muted)!important;
}

/* Hero — no tropical photo treatment, just clean spacing */
.hero{
  padding-top:132px!important;
  background:transparent!important;
}

.hero::before,
.hero::after{
  display:none!important;
}

.hero-grid{
  gap:clamp(34px,6vw,76px)!important;
}

.hero-art{
  padding:0!important;
}

.hero-cover{
  border-radius:28px!important;
  box-shadow:var(--rv-clean-shadow)!important;
  border:1px solid rgba(0,0,0,.045)!important;
  transform:none!important;
}

.hero-art:hover .hero-cover{
  transform:translateY(-2px)!important;
}

.hero-float{
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(0,0,0,.055)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.055)!important;
  border-radius:17px!important;
}

/* Section rhythm */
.section{
  padding-top:82px!important;
  padding-bottom:82px!important;
}

.section h2{
  font-size:clamp(3rem,5.7vw,5.4rem)!important;
  line-height:.94!important;
}

/* Cards */
.editorial-main,
.editorial-side,
.store,
.bento > div,
.customer-portal-card-v18-1,
.account-card-v18,
.related-card-v18,
.license-card-v16,
.order-complete-v16,
.login-card-v18{
  background:#fff!important;
  border:1px solid var(--rv-clean-line)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.035)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.editorial-main,
.editorial-side,
.store,
.order-complete-v16{
  border-radius:24px!important;
}

/* Selected Works */
.work-cover-link{
  border-radius:16px!important;
  overflow:hidden!important;
}

.work-cover-img,
.profile-art-image{
  transition:transform .22s ease!important;
}

.work-cover-link:hover .work-cover-img{
  transform:scale(1.018)!important;
}

/* Catalogue */
.store{
  overflow:hidden!important;
}

.tools-v17{
  background:#fafafa!important;
  border-bottom:1px solid var(--rv-clean-line)!important;
  padding:14px!important;
}

.tools-v17 input,
.tools-v17 select{
  background:#fff!important;
  border:1px solid #dedee1!important;
  border-radius:10px!important;
  min-height:38px!important;
}

.tools-v17 input:focus,
.tools-v17 select:focus{
  outline:none!important;
  border-color:rgba(75,125,123,.35)!important;
  box-shadow:0 0 0 4px rgba(75,125,123,.07)!important;
}

.track{
  border-color:#ececee!important;
  transition:background .15s ease!important;
}

.track:hover{
  background:#fafafa!important;
}

.track-title{
  font-weight:740!important;
}

.track-play{
  box-shadow:none!important;
}

/* Buttons */
.btn,
.buy,
.queue-add-v18,
.free-download-btn-v18-4{
  transition:background .15s ease,border-color .15s ease,transform .15s ease!important;
}

.btn:hover,
.buy:hover{
  transform:translateY(-1px)!important;
}

.btn.primary,
.track-commerce-v18 .buy{
  background:#1d1d1f!important;
  border-color:#1d1d1f!important;
  color:#fff!important;
}

.track-commerce-v18 .queue-add-v18{
  background:#fff!important;
  border-color:#dedee1!important;
  color:#444!important;
}

.track-commerce-v18 .free-download-btn-v18-4,
.free-download-main-v18-4{
  background:var(--rv-clean-ocean-soft)!important;
  color:#365f5e!important;
  border-color:rgba(75,125,123,.18)!important;
}

.free-download-note-v18-4{
  background:var(--rv-clean-ocean-soft)!important;
  color:#58706f!important;
}

/* Player */
.player.player-v16-4{
  background:rgba(255,255,255,.94)!important;
  border:1px solid #e4e4e6!important;
  box-shadow:0 16px 44px rgba(0,0,0,.10)!important;
  border-radius:20px!important;
}

.player.player-v16-4 > #playerPlay{
  background:#1d1d1f!important;
}

.waveform-v18 i{
  background:#d9d9dc!important;
}

.waveform-v18 i.played{
  background:var(--rv-clean-ocean)!important;
}

.player.player-v16-4 #seek{
  background:linear-gradient(
    to right,
    var(--rv-clean-ocean) 0%,
    var(--rv-clean-ocean) var(--progress),
    #d8d8dc var(--progress),
    #d8d8dc 100%
  )!important;
}

.player.player-v16-4 #seek::-webkit-slider-thumb{
  background:var(--rv-clean-ocean)!important;
}

.queue-panel-v18{
  background:rgba(255,255,255,.97)!important;
  border:1px solid #e4e4e6!important;
  box-shadow:0 18px 50px rgba(0,0,0,.10)!important;
}

/* Beat detail */
.beat-hero-v16{
  padding-top:126px!important;
}

.beat-cover-v16{
  border-radius:28px!important;
  border:1px solid var(--rv-clean-line)!important;
  box-shadow:var(--rv-clean-shadow)!important;
}

.sticky-buy-v17{
  background:rgba(255,255,255,.95)!important;
  border:1px solid var(--rv-clean-line)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.045)!important;
}

.license-card-v16{
  border-radius:17px!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}

.license-card-v16:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.055)!important;
}

/* Related */
.related-card-v18{
  border-radius:18px!important;
}

.related-card-v18:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.055)!important;
}

.related-cover-v18{
  border-radius:14px!important;
}

/* Customer portal */
.customer-portal-card-v18-1{
  background:
    linear-gradient(120deg,#fff 0%,#fff 72%,rgba(75,125,123,.045) 100%)!important;
  border-radius:26px!important;
}

.account-card-v18{
  border-radius:20px!important;
}

.login-card-v18{
  border-radius:24px!important;
  box-shadow:0 16px 46px rgba(0,0,0,.06)!important;
}

.order-summary-v16{
  background:#f7f7f8!important;
}

/* Footer */
.footer{
  color:#77777b!important;
}

.footer-in{
  border-top:1px solid #e5e5e7!important;
}

/* Mobile */
@media(max-width:800px){
  .hero{
    padding-top:108px!important;
  }

  .section{
    padding-top:60px!important;
    padding-bottom:60px!important;
  }

  .hero-cover,
  .beat-cover-v16{
    border-radius:22px!important;
  }
}
