
.wmp-wrap,
.wmp-wrap * {
    box-sizing: border-box !important;
}
.wmp-wrap {
    --wmp-bg: #000000;
    --wmp-card: #1f2024;
    --wmp-player: #0a0d14;
    --wmp-text: #ffffff;
    --wmp-muted: #dedede;
    --wmp-red: #ff2027;
    --wmp-gold: #c7af2e;
    width: 100%;
    color: var(--wmp-text);
    font-family: Inter, Poppins, Arial, sans-serif !important;
}
.wmp-library-wrap {
    background: var(--wmp-bg) !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.wmp-mode-list { padding: 0 !important; background: transparent !important; }
.wmp-library-head { margin: 0 0 24px !important; }
.wmp-library-head h2 {
    color: #fff !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    margin: 0 0 8px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}
.wmp-library-head p { color: #cacaca !important; margin: 0 !important; font-size: 15px !important; }
.wmp-library-toolbar { display: flex !important; flex-direction: column !important; gap: 14px !important; margin-bottom: 22px !important; }
.wmp-search-box input {
    width: 100% !important; height: 54px !important; border-radius: 12px !important; border: 1px solid rgba(255,255,255,.08) !important;
    background: #141414 !important; color: #fff !important; padding: 0 18px !important; outline: none !important; font-size: 15px !important;
}
.wmp-search-box input::placeholder { color: #8f8f8f !important; }
.wmp-filter-tabs { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
.wmp-filter-btn {
    appearance: none !important; -webkit-appearance: none !important;
    border: 0 !important; background: #202020 !important; color: #fff !important; border-radius: 999px !important; padding: 10px 18px !important;
    font-weight: 700 !important; cursor: pointer !important; transition: .2s ease !important;
}
.wmp-filter-btn:hover, .wmp-filter-btn.is-active { background: var(--wmp-red) !important; color: #fff !important; }

.wmp-main-player {
    background: linear-gradient(180deg, #0b0f17 0%, #090c12 100%) !important;
    border-radius: 22px !important;
    padding: 16px 20px 24px !important;
    margin: 0 0 30px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: 0 !important;
}
.wmp-standalone-player-wrap .wmp-main-player,
.wmp-live-player-wrap .wmp-main-player { margin-bottom: 0 !important; }

.wmp-player-progress-row {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    margin-bottom: 22px !important;
}
.wmp-live-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
}
.wmp-live-badge.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}
.wmp-live-badge strong {
    background: var(--wmp-red) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 5px 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    display: inline-block !important;
}
.wmp-live-rings {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    flex: 0 0 34px !important;
}
.wmp-live-rings svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    overflow: visible !important;
}

.wmp-track-meta {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wmp-progress-line {
    position: relative !important;
    height: 20px !important;
    flex: 1 1 auto !important;
    margin-left: 8px !important;
    cursor: pointer !important;
    background: transparent !important;
}
.wmp-progress-line::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    height: 6px !important;
    background: #dadada !important;
    border-radius: 999px !important;
    transform: translateY(-50%) !important;
}
.wmp-progress-fill {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    height: 6px !important;
    width: 0% !important;
    border-radius: 999px !important;
    background: var(--wmp-red) !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
}
button.wmp-progress-knob {
    all: unset;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.25) !important;
}

.wmp-controls-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto 1fr 1fr !important;
    align-items: center !important;
    gap: 14px !important;
}
button.wmp-icon-btn,
button.wmp-play-toggle,
button.wmp-card-play {
    all: unset;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: transform .18s ease, opacity .18s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
button.wmp-icon-btn:hover,
button.wmp-play-toggle:hover,
button.wmp-card-play:hover {
    transform: translateY(-1px) scale(1.02) !important;
}
button.wmp-icon-btn {
    background: transparent !important;
    color: #ffffff !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
button.wmp-icon-btn svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    fill: currentColor !important;
}
button.wmp-menu-btn {
    justify-self: start !important;
    width: 44px !important;
    height: 44px !important;
}
.wmp-bars {
    width: 34px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.wmp-bars i {
    display: block !important;
    width: 100% !important;
    height: 6px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
}
button.wmp-prev-btn,
button.wmp-next-btn { justify-self: center !important; }
button.wmp-heart-btn {
    justify-self: end !important;
    color: var(--wmp-red) !important;
}
button.wmp-heart-btn.is-active { filter: drop-shadow(0 0 10px rgba(255,32,39,.55)) !important; transform: scale(1.05) !important; }

button.wmp-play-toggle {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}
.wmp-toggle-icon {
    position: absolute !important;
    inset: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
button.wmp-play-toggle svg {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
    fill: currentColor !important;
}
.wmp-state-play { opacity: 1 !important; }
.wmp-state-pause { opacity: 0 !important; }
button.wmp-play-toggle.is-playing .wmp-state-play { opacity: 0 !important; }
button.wmp-play-toggle.is-playing .wmp-state-pause { opacity: 1 !important; }

.wmp-song-list { display: flex !important; flex-direction: column !important; gap: 18px !important; }
.wmp-song-card {
    background: var(--wmp-card) !important;
    min-height: 98px !important;
    padding: 22px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    transition: background .2s ease, transform .2s ease !important;
    border: 0 !important;
    border-radius: 0 !important;
}
.wmp-song-card.is-active,
.wmp-song-card:hover { background: #26272b !important; }
.wmp-song-card:hover { transform: translateY(-1px) !important; }
.wmp-song-row {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    width:100% !important;
}
.wmp-inline-player-host {
    width:100% !important;
}
.wmp-inline-player-host .wmp-main-player {
    margin: 18px 0 0 !important;
}
.wmp-shared-player[hidden] {
    display:none !important;
}
.wmp-song-main { display: flex !important; align-items: center !important; gap: 14px !important; min-width: 0 !important; }
.wmp-song-cover { display: none !important; }
.wmp-song-info { min-width: 0 !important; }
.wmp-song-info h3 {
    color: #ffffff !important;
    margin: 0 0 8px !important;
    font-size: clamp(20px, 2.7vw, 26px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.wmp-song-info p { color: #eeeeee !important; margin: 0 !important; font-size: 15px !important; line-height: 1.25 !important; }
button.wmp-card-play {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: var(--wmp-gold) !important;
    color: #171717 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    position: relative !important;
}
.wmp-card-play-icon {
    position: absolute !important;
    inset: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
button.wmp-card-play svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    fill: currentColor !important;
}
.wmp-card-icon-play { opacity: 1 !important; }
.wmp-card-icon-pause { opacity: 0 !important; }
.wmp-song-card.is-active.is-playing .wmp-card-icon-play { opacity: 0 !important; }
.wmp-song-card.is-active.is-playing .wmp-card-icon-pause { opacity: 1 !important; }

.wmp-empty-message,
.wmp-no-results {
    background: #111111 !important;
    color: #ffffff !important;
    padding: 18px !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    .wmp-main-player { border-radius: 18px !important; padding: 16px 14px 20px !important; }
    .wmp-player-progress-row { gap: 12px !important; margin-bottom: 18px !important; }
    .wmp-controls-row { gap: 8px !important; }
    button.wmp-icon-btn svg { width: 30px !important; height: 30px !important; }
    .wmp-bars { width: 28px !important; gap: 5px !important; }
    .wmp-bars i { height: 5px !important; }
    button.wmp-play-toggle { width: 76px !important; height: 76px !important; }
    button.wmp-play-toggle svg { width: 34px !important; height: 34px !important; }
    .wmp-song-card { padding: 18px 20px !important; min-height: 88px !important; }
    .wmp-song-row { gap: 14px !important; }
    button.wmp-card-play { width: 52px !important; height: 52px !important; }
    .wmp-song-info h3 { white-space: normal !important; }
}
@media (max-width: 480px) {
    .wmp-controls-row { grid-template-columns: .9fr .9fr auto .9fr .9fr !important; }
    .wmp-live-rings { width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
    .wmp-live-rings svg { width: 28px !important; height: 28px !important; }
    .wmp-song-card { padding: 16px !important; }
    .wmp-song-row { gap: 12px !important; }
}

/* Player details dropdown opened from hamburger */
.wmp-player-details[hidden] { display: none !important; }
.wmp-player-details {
    margin-top: 22px !important;
    padding: 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    color: #fff !important;
}
.wmp-details-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    color: #fff !important;
}
.wmp-details-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
.wmp-details-grid > div {
    background: rgba(0,0,0,.22) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    min-width: 0 !important;
}
.wmp-details-grid strong {
    display: block !important;
    font-size: 12px !important;
    color: #c7af2e !important;
    margin-bottom: 5px !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}
.wmp-details-grid span {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
}
.wmp-detail-description { grid-column: span 4 !important; }
button.wmp-menu-btn.is-active .wmp-bars i { background: var(--wmp-red) !important; }

.wmp-song-title-link,
.wmp-song-title-link:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}
.wmp-song-title-link:hover { color: var(--wmp-gold) !important; }

/* Plugin archive and single templates */
.wmp-template-page {
    background: #050505 !important;
    color: #fff !important;
    min-height: 70vh !important;
    font-family: Inter, Poppins, Arial, sans-serif !important;
}
.wmp-template-container {
    width: min(1200px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
}
.wmp-template-hero {
    background: radial-gradient(circle at 85% 15%, rgba(199,175,46,.22), transparent 34%), linear-gradient(135deg, #090b10 0%, #050505 72%) !important;
    padding: clamp(52px, 7vw, 92px) 0 clamp(34px, 5vw, 62px) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.wmp-template-kicker {
    display: inline-flex !important;
    align-items: center !important;
    color: #c7af2e !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    margin-bottom: 12px !important;
}
.wmp-template-hero h1 {
    color: #fff !important;
    font-size: clamp(40px, 7vw, 82px) !important;
    line-height: .98 !important;
    margin: 0 0 16px !important;
    font-weight: 900 !important;
    letter-spacing: -0.055em !important;
}
.wmp-template-hero p {
    color: #d7d7d7 !important;
    max-width: 760px !important;
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
.wmp-template-content { padding: clamp(34px, 5vw, 70px) 0 !important; }
.wmp-archive-template .wmp-library-toolbar {
    margin-bottom: 28px !important;
    padding: 18px !important;
    background: #111217 !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
}

.wmp-single-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 40px !important;
    align-items: center !important;
}
.wmp-back-link,
.wmp-back-link:visited {
    display: inline-flex !important;
    color: #fff !important;
    opacity: .82 !important;
    text-decoration: none !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
}
.wmp-back-link:hover { color: #c7af2e !important; opacity: 1 !important; }
.wmp-single-artist {
    color: #d8d8d8 !important;
    font-size: 20px !important;
    margin: -6px 0 22px !important;
}
.wmp-single-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
.wmp-single-badges span {
    display: inline-flex !important;
    align-items: center !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
.wmp-single-badges span.is-red { background: var(--wmp-red) !important; border-color: var(--wmp-red) !important; }
.wmp-single-art img,
.wmp-art-placeholder {
    width: 280px !important;
    height: 280px !important;
    border-radius: 28px !important;
    object-fit: cover !important;
    background: linear-gradient(135deg, #1e2026, #101114) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.35) !important;
}
.wmp-art-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #c7af2e !important;
    font-size: 90px !important;
}
.wmp-single-player-block { margin-bottom: 28px !important; }
.wmp-single-details-layout {
    display: grid !important;
    grid-template-columns: 1.2fr .8fr !important;
    gap: 24px !important;
    align-items: start !important;
}
.wmp-single-panel,
.wmp-related-panel {
    background: #111217 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 22px !important;
    padding: 24px !important;
    color: #fff !important;
}
.wmp-single-panel h2,
.wmp-related-panel h2 {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
}
.wmp-single-details-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}
.wmp-single-details-grid div {
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 14px !important;
    padding: 14px !important;
}
.wmp-single-details-grid strong {
    display: block !important;
    color: #c7af2e !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
}
.wmp-single-details-grid span { color: #fff !important; font-size: 15px !important; line-height: 1.4 !important; }
.wmp-single-content,
.wmp-single-description p {
    color: #d6d6d6 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}
.wmp-single-content p { margin-top: 0 !important; color: #d6d6d6 !important; }
.wmp-related-panel { margin-top: 28px !important; }
.wmp-related-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
}
.wmp-related-head h2 { margin: 0 !important; }
.wmp-related-head a,
.wmp-related-head a:visited { color: #c7af2e !important; text-decoration: none !important; font-weight: 800 !important; }
.wmp-related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
}
.wmp-related-card,
.wmp-related-card:visited {
    display: block !important;
    padding: 14px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.wmp-related-card img,
.wmp-related-placeholder {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: #1e2026 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #c7af2e !important;
    font-size: 44px !important;
    margin-bottom: 12px !important;
}
.wmp-related-card strong { display: block !important; color: #fff !important; font-size: 16px !important; line-height: 1.25 !important; }
.wmp-related-card small { display: block !important; color: #cfcfcf !important; margin-top: 5px !important; }

@media (max-width: 900px) {
    .wmp-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .wmp-detail-description { grid-column: span 2 !important; }
    .wmp-single-grid,
    .wmp-single-details-layout { grid-template-columns: 1fr !important; }
    .wmp-single-art { order: -1 !important; }
    .wmp-single-art img,
    .wmp-art-placeholder { width: 220px !important; height: 220px !important; }
    .wmp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
    .wmp-template-container { width: min(100% - 28px, 1200px) !important; }
    .wmp-details-grid,
    .wmp-single-details-grid,
    .wmp-related-grid { grid-template-columns: 1fr !important; }
    .wmp-detail-description { grid-column: span 1 !important; }
    .wmp-single-panel,
    .wmp-related-panel { padding: 18px !important; border-radius: 18px !important; }
}


/* Force plugin archive/single pages to full viewport, then keep content boxed/centered */
body.post-type-archive-wmp_song .site-content,
body.tax-wmp_music_category .site-content,
body.single-wmp_song .site-content,
body.post-type-archive-wmp_song #content,
body.tax-wmp_music_category #content,
body.single-wmp_song #content {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
}
body.post-type-archive-wmp_song #primary,
body.tax-wmp_music_category #primary,
body.single-wmp_song #primary,
body.post-type-archive-wmp_song .content-area,
body.tax-wmp_music_category .content-area,
body.single-wmp_song .content-area,
body.post-type-archive-wmp_song .site-main,
body.tax-wmp_music_category .site-main,
body.single-wmp_song .site-main {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.post-type-archive-wmp_song #secondary,
body.tax-wmp_music_category #secondary,
body.single-wmp_song #secondary,
body.post-type-archive-wmp_song aside.sidebar,
body.tax-wmp_music_category aside.sidebar,
body.single-wmp_song aside.sidebar {
    display: none !important;
}
.wmp-template-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    clear: both !important;
    overflow-x: hidden !important;
}
.wmp-archive-template .wmp-template-container,
.wmp-single-template .wmp-template-container {
    width: min(1200px, calc(100vw - 40px)) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.wmp-archive-template .wmp-template-content,
.wmp-single-template .wmp-template-content {
    width: 100% !important;
}
.wmp-archive-template .wmp-wrap,
.wmp-archive-template .wmp-song-list,
.wmp-archive-template .wmp-library-toolbar {
    width: 100% !important;
    max-width: 100% !important;
}
@media (max-width: 768px) {
    .wmp-archive-template .wmp-template-container,
    .wmp-single-template .wmp-template-container {
        width: calc(100vw - 28px) !important;
    }
}
