/* ================================
   Ocean Blue Podcast Player
   RTL / Premium Dark / Clean Buttons
================================ */

/* جلوگیری از بک‌گراند سفید اطراف پلیر */
body:has(.pmp-player) {
    background:
        radial-gradient(circle at 50% 0%, rgba(45, 168, 255, 0.10), transparent 35%),
        linear-gradient(180deg, #030b18 0%, #04111f 45%, #030914 100%) !important;
}

.elementor-widget-shortcode:has(.pmp-player),
.elementor-widget-shortcode:has(.pmp-player) > .elementor-widget-container,
.elementor-section:has(.pmp-player),
.elementor-container:has(.pmp-player),
.elementor-column:has(.pmp-player),
.entry-content:has(.pmp-player),
.site-content:has(.pmp-player),
main:has(.pmp-player) {
    background: transparent !important;
}

.pmp-player,
.pmp-player * {
    box-sizing: border-box;
}

.pmp-player {
    --pmp-bg: #04111f;
    --pmp-card: rgba(10, 30, 54, 0.78);
    --pmp-card-2: rgba(7, 22, 42, 0.86);
    --pmp-border: rgba(137, 199, 255, 0.16);
    --pmp-border-strong: rgba(45, 168, 255, 0.48);
    --pmp-text: #ffffff;
    --pmp-muted: #aebdd2;
    --pmp-soft: #6f86a4;
    --pmp-blue: #0066cb;
    --pmp-blue-2: #004f9e;
    --pmp-dark: #030b18;
    --pmp-radius-xl: 28px;
    --pmp-radius-lg: 22px;
    --pmp-radius-md: 16px;

    direction: rtl;
    width: 100%;
    max-width: 1180px;
    margin: 48px auto !important;
    padding: 34px;
    color: var(--pmp-text);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 36px;

    background:
        radial-gradient(circle at 18% 12%, rgba(45, 168, 255, 0.20), transparent 30%),
        radial-gradient(circle at 82% 4%, rgba(23, 105, 255, 0.18), transparent 26%),
        linear-gradient(145deg, #030b18 0%, #06162a 45%, #04101f 100%) !important;

    border: 1px solid rgba(255, 255, 255, 0.07);
 box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.38) !important;

clip-path: none;
    isolation: isolate;
}

.pmp-player::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.035) 40%, transparent 72%),
        radial-gradient(circle at 50% 0%, rgba(45, 168, 255, 0.12), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.pmp-empty {
    direction: rtl;
    max-width: 880px;
    margin: 30px auto;
    padding: 22px 24px;
    border-radius: 18px;
    background: #06162a;
    border: 1px solid rgba(45, 168, 255, 0.22);
    color: #fff;
    text-align: center;
}

.pmp-page-head {
    text-align: center;
    margin: 4px auto 32px;
    max-width: 760px;
}

.pmp-page-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 13px;
    color: #bfe5ff;
    background: rgba(45, 168, 255, 0.10);
    border: 1px solid rgba(45, 168, 255, 0.18);
}

.pmp-page-head h2 {
    margin: 0;
    color: var(--pmp-text);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.04em;
}


.pmp-page-head p {
    margin: 14px auto 0;
    color: var(--pmp-muted);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 2;
}

/* Main Player */
.pmp-main-card {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    padding: 32px;
    border-radius: var(--pmp-radius-xl);
    background:
        linear-gradient(135deg, rgba(13, 48, 82, 0.82), rgba(4, 17, 31, 0.76)),
        radial-gradient(circle at 5% 20%, rgba(45, 168, 255, 0.18), transparent 34%);
    border: 1px solid var(--pmp-border);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 28px 70px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(16px);
}

.pmp-cover-panel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(45, 168, 255, 0.30), transparent 22%),
        linear-gradient(145deg, #071a31, #020914);
    border: 1px solid rgba(155, 211, 255, 0.16);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.42);
}

.pmp-cover-glow {
    position: absolute;
    inset: 13%;
    border-radius: 50%;
    filter: blur(34px);
    opacity: 0.48;
    background: rgba(45, 168, 255, 0.35);
    z-index: 0;
}

.pmp-current-cover {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.pmp-cover-placeholder {
    position: relative;
    z-index: 1;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    color: #fff;
}

.pmp-cover-placeholder::before {
    content: "";
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.74);
    box-shadow: 0 0 34px rgba(45, 168, 255, 0.50);
    margin-bottom: 20px;
}

.pmp-cover-placeholder span {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.pmp-cover-placeholder small {
    color: var(--pmp-muted);
    font-size: 15px;
}

.pmp-content-panel {
    min-width: 0;
}

.pmp-status-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #9fdcff;
    font-size: 13px;
    line-height: 1;
    background: rgba(45, 168, 255, 0.09);
    border: 1px solid rgba(45, 168, 255, 0.24);
}

.pmp-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pmp-blue);
    box-shadow: 0 0 14px rgba(45, 168, 255, 0.95);
}

.pmp-current-title {
    margin: 0;
    color: var(--pmp-text);
    font-size: clamp(24px, 3.4vw, 36px);
    line-height: 1.55;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.pmp-current-summary {
    margin: 10px 0 28px;
    color: var(--pmp-muted);
    font-size: 16px;
    line-height: 2.05;
    max-width: 640px;
}

.pmp-progress-wrap {
    margin: 0 0 18px;
}

.pmp-progress {
    direction: ltr;
    width: 100%;
    height: 6px;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    outline: none !important;
    cursor: pointer;
    overflow: visible;
    accent-color: var(--pmp-blue);
    border: none !important;
}

.pmp-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--pmp-blue);
    box-shadow: 0 0 0 6px rgba(45, 168, 255, 0.14);
}

.pmp-progress::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--pmp-blue);
    box-shadow: 0 0 0 6px rgba(45, 168, 255, 0.14);
}

.pmp-time-row {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    color: #c3d2e8;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

/* Controls */
.pmp-controls-row {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 50px 0 26px;
}

/* ریست کامل دکمه‌های قالب و حذف صورتی */
.pmp-player button,
.pmp-player button:hover,
.pmp-player button:focus,
.pmp-player button:active {
    font-family: inherit !important;
    outline: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.pmp-control-btn,
.pmp-track-play,
.pmp-speed-group button {
    font-family: inherit !important;
    cursor: pointer;
}

.pmp-control-btn {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    color: #dff3ff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(137, 199, 255, 0.20) !important;

    transition: 0.25s ease !important;
}

.pmp-control-btn i,
.pmp-download i,
.pmp-duration-chip i,
.pmp-list-icon i,
.pmp-track-play i {
    color: currentColor !important;
    line-height: 1 !important;
}

.pmp-control-btn:hover,
.pmp-control-btn:focus,
.pmp-control-btn:active {
    transform: translateY(-2px);
    color: #ffffff !important;
    background: rgba(45, 168, 255, 0.14) !important;
    border-color: rgba(45, 168, 255, 0.38) !important;
    box-shadow: 0 10px 24px rgba(45, 168, 255, 0.16) !important;
}

/* دکمه اصلی پخش */
.pmp-play {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    min-height: 82px !important;
    font-size: 28px !important;

    color: #ffffff !important;
    background: linear-gradient(135deg, #2da8ff, #1769ff) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;

    box-shadow:
        0 0 0 10px rgba(45, 168, 255, 0.09),
        0 18px 34px rgba(23, 105, 255, 0.38) !important;
}

.pmp-play:hover,
.pmp-play:focus,
.pmp-play:active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #43b7ff, #2078ff) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    box-shadow:
        0 0 0 10px rgba(45, 168, 255, 0.12),
        0 20px 38px rgba(23, 105, 255, 0.44) !important;
}

/* حذف کامل رنگ صورتی از قبلی و بعدی */
.pmp-prev,
.pmp-next,
.pmp-prev:hover,
.pmp-next:hover,
.pmp-prev:focus,
.pmp-next:focus,
.pmp-prev:active,
.pmp-next:active {
    color: #dff3ff !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(137, 199, 255, 0.22) !important;
}

.pmp-prev:hover,
.pmp-next:hover {
    color: #ffffff !important;
    background: rgba(45, 168, 255, 0.13) !important;
    border-color: rgba(45, 168, 255, 0.38) !important;
}

/* Tools */
.pmp-tools-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pmp-duration-chip,
.pmp-speed-group,
.pmp-download {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.pmp-duration-chip {
    gap: 8px;
    padding: 0 14px;
    color: var(--pmp-muted);
    font-size: 13px;
}

.pmp-duration-chip strong {
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pmp-speed-group {
    overflow: hidden;
    padding: 3px;
    gap: 2px;
}

.pmp-speed-group button {
    min-width: 50px;
    height: 38px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: var(--pmp-muted) !important;
    background: transparent !important;
    font-size: 14px;
    transition: 0.22s ease;
}

.pmp-speed-group button:hover,
.pmp-speed-group button.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--pmp-blue), var(--pmp-blue-2)) !important;
    box-shadow: 0 8px 22px rgba(45, 168, 255, 0.24) !important;
}

.pmp-download {
    gap: 10px;
    padding: 0 18px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.pmp-download:hover,
.pmp-download:focus {
    transform: translateY(-2px);
    color: #fff !important;
    border-color: rgba(45, 168, 255, 0.45);
    background: rgba(45, 168, 255, 0.13);
}

/* Playlist */
.pmp-playlist-card {
    margin-top: 22px;
    padding: 18px;
    border-radius: var(--pmp-radius-xl);
    background: var(--pmp-card-2);
    border: 1px solid var(--pmp-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.pmp-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}

.pmp-list-head h3 {
    margin: 0;
    color: var(--pmp-text);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 900;
}

.pmp-list-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #bdd9f3;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pmp-playlist {
    display: grid;
    gap: 10px;
}

.pmp-track {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: 0.24s ease;
    cursor: pointer;
}

.pmp-track:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(45, 168, 255, 0.22);
}

.pmp-track.active {
    background: linear-gradient(135deg, rgba(45, 168, 255, 0.15), rgba(23, 105, 255, 0.09));
    border-color: var(--pmp-border-strong);
    box-shadow: 0 14px 35px rgba(18, 110, 210, 0.16);
}

.pmp-track-thumb-wrap {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #07172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pmp-track-thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pmp-track-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pmp-blue), #0b2c61);
}

.pmp-track-text {
    min-width: 0;
}

.pmp-track-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pmp-track h4 {
    margin: 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmp-track p {
    margin: 4px 0 0;
    color: var(--pmp-muted);
    font-size: 14px;
    line-height: 1.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmp-playing-bars {
    display: none;
    align-items: end;
    gap: 3px;
    height: 16px;
    flex-shrink: 0;
}

.pmp-playing-bars i {
    width: 3px;
    border-radius: 999px;
    background: var(--pmp-blue);
    animation: pmpBars 0.9s infinite ease-in-out;
}

.pmp-playing-bars i:nth-child(1) {
    height: 7px;
    animation-delay: 0s;
}

.pmp-playing-bars i:nth-child(2) {
    height: 14px;
    animation-delay: 0.16s;
}

.pmp-playing-bars i:nth-child(3) {
    height: 10px;
    animation-delay: 0.32s;
}

.pmp-track.active .pmp-playing-bars {
    display: inline-flex;
}

@keyframes pmpBars {
    0%, 100% {
        transform: scaleY(0.55);
        opacity: 0.55;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.pmp-track-side {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--pmp-muted);
    font-size: 14px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pmp-track-play {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(137, 199, 255, 0.20) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.055) !important;
    transition: 0.22s ease !important;
}

.pmp-track:hover .pmp-track-play,
.pmp-track.active .pmp-track-play {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--pmp-blue), var(--pmp-blue-2)) !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(45, 168, 255, 0.25) !important;
}

/* Responsive */
@media (max-width: 980px) {
    .pmp-player {
        padding: 24px;
        border-radius: 28px;
    }

    .pmp-main-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pmp-cover-panel {
        width: min(360px, 100%);
        margin: 0 auto;
    }

    .pmp-content-panel {
        text-align: center;
    }

    .pmp-current-summary {
        margin-right: auto;
        margin-left: auto;
    }

    .pmp-tools-row {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 980px) {
    .pmp-player {
        padding: 24px;
        border-radius: 28px;
    }

    .pmp-main-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pmp-cover-panel {
        width: min(360px, 100%);
        margin: 0 auto;
    }

    .pmp-content-panel {
        text-align: center;
    }

    .pmp-current-summary {
        margin-right: auto;
        margin-left: auto;
    }

    .pmp-tools-row {
        justify-content: center;
    }
}








@media (max-width: 640px) {
    .pmp-player {
        margin: 24px auto !important;
        padding: 14px;
        border-radius: 24px;

        /* جلوگیری از رفتن بک‌گراند داخل هدر */
        clip-path: inset(0 -100vmax -40px -100vmax);
    }

    .pmp-page-head {
        margin-bottom: 18px;
    }

    .pmp-page-kicker {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .pmp-page-head h2 {
        font-size: 24px;
        line-height: 1.45;
    }

    .pmp-page-head p {
        font-size: 12px;
        line-height: 1.9;
        margin-top: 8px;
    }

    .pmp-main-card,
    .pmp-playlist-card {
        padding: 12px;
        border-radius: 20px;
    }

    .pmp-main-card {
        gap: 16px;
    }

    .pmp-cover-panel {
        width: min(230px, 100%);
        border-radius: 18px;
    }

    .pmp-status-row {
        font-size: 11px;
        padding: 6px 10px;
        margin-bottom: 10px;
    }

    .pmp-current-title {
        font-size: 18px;
        line-height: 1.55;
    }

    .pmp-current-summary {
        font-size: 12px;
        line-height: 1.8;
        margin: 6px auto 14px;
    }

    .pmp-progress-wrap {
        margin-bottom: 12px;
    }

    .pmp-progress {
        height: 5px;
    }

    .pmp-progress::-webkit-slider-thumb {
        width: 15px;
        height: 15px;
        border-width: 3px;
    }

    .pmp-progress::-moz-range-thumb {
        width: 15px;
        height: 15px;
        border-width: 3px;
    }

    .pmp-time-row {
        font-size: 11px;
        margin-top: 8px;
    }

    .pmp-controls-row {
        gap: 12px;
        margin: 16px 0 14px;
    }

    .pmp-control-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 14px !important;
    }

    .pmp-play {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        font-size: 20px !important;
        box-shadow:
            0 0 0 7px rgba(0, 102, 203, 0.10),
            0 14px 26px rgba(0, 102, 203, 0.30) !important;
    }



.pmp-duration-chip,
.pmp-speed-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.pmp-duration-chip {
    justify-content: center;
}

.pmp-speed-group {
    justify-content: space-between;
}

.pmp-speed-group button {
    flex: 1 1 0;
}

    /* ابزارهای پایین پلیر در موبایل: کنار هم و کم‌ارتفاع */
 
  .pmp-tools-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) 34px;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    flex-direction: unset;
    justify-content: stretch;
}
    .pmp-duration-chip,
    .pmp-speed-group,
    .pmp-download {
        width: 100%;
        min-height: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 10px;
        padding: 0 6px;
        white-space: nowrap;
        overflow: hidden;
    }

    .pmp-duration-chip {
        gap: 4px;
        font-size: 10px;
        justify-content: center;
        text-overflow: ellipsis;
    }

    .pmp-duration-chip i,
    .pmp-download i {
        font-size: 10px;
        flex-shrink: 0;
    }

    .pmp-duration-chip strong {
        font-size: 10px;
    }

    .pmp-speed-group {
        padding: 3px;
        gap: 2px;
        display: flex;
    }

    .pmp-speed-group button {
        flex: 1;
        min-width: 0;
        height: 28px;
        padding: 0 !important;
        font-size: 10px;
        border-radius: 8px !important;
    }
.pmp-download {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center;
    font-size: 0 !important;
    overflow: hidden;
}

.pmp-download i {
    font-size: 13px !important;
    margin: 0 !important;
}
    /* لیست اپیزودها */
    .pmp-playlist-card {
        margin-top: 14px;
        padding: 10px;
    }

    .pmp-list-head {
        margin-bottom: 8px;
    }

    .pmp-list-head h3 {
        font-size: 15px;
        line-height: 1.4;
    }

    .pmp-list-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 12px;
    }

    .pmp-playlist {
        gap: 8px;
    }

    .pmp-track {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
        gap: 8px;
        min-height: 62px;
        padding: 7px;
        border-radius: 14px;
    }

    .pmp-track-thumb-wrap {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .pmp-track-title-row {
        gap: 5px;
    }

  .pmp-track h4 {
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .pmp-track p {
        display: none;
    }

    .pmp-playing-bars {
        height: 12px;
        gap: 2px;
    }

    .pmp-playing-bars i {
        width: 2px;
    }

    .pmp-track-duration {
        display: none;
    }

    .pmp-track-side {
        gap: 0;
    }

    .pmp-track-play {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 390px) {
    .pmp-tools-row {
        grid-template-columns: 0.8fr 1.1fr 0.9fr;
        gap: 5px;
    }

    .pmp-duration-chip,
    .pmp-speed-group,
    .pmp-download {
        height: 32px;
        min-height: 32px;
        font-size: 9px;
        border-radius: 9px;
    }

    .pmp-speed-group button {
        height: 26px;
        font-size: 9px;
    }

    .pmp-download {
        font-size: 9px;
    }

    .pmp-track h4 {
        font-size: 11.5px;
    }
}


/* کم کردن فاصله بین تایم‌لاین و دکمه‌های پخش */
@media (min-width: 981px) {
    .pmp-controls-row {
        margin: 2px 0 16px !important;
    }

    .pmp-time-row {
        margin-top: 6px !important;
    }

    .pmp-progress-wrap {
        margin-bottom: 0 !important;
    }
}
