/**
 * VoxPress Podcast - Player Styles
 * 7 themes + responsive + animations
 */

/* ═══════════════════════════════════════════════════════
   متغيرات الثيمات
   ═══════════════════════════════════════════════════════ */
.voxpress-podcast-large {
    direction: rtl;
    --vp-bg: #ffffff;
    --vp-bg-alt: #f8fafc;
    --vp-fg: #1f2937;
    --vp-fg-soft: #6b7280;
    --vp-border: #e5e7eb;
    --vp-accent: #6366f1;
    --vp-accent-hover: #4f46e5;
    --vp-success: #10b981;
    --vp-warn: #f59e0b;
    --vp-danger: #ef4444;
    --vp-shadow: 0 4px 20px rgba(0,0,0,0.06);
    --vp-radius: 12px;
    --vp-radius-sm: 8px;

    background: var(--vp-bg);
    color: var(--vp-fg);
    border-radius: var(--vp-radius);
    box-shadow: var(--vp-shadow);
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    margin: 20px 0;
}

/* ━━━ Theme: Modern (default) ━━━ */
.voxpress-podcast-large[data-theme="modern"] {
    /* default values */
}

/* ━━━ Theme: Classic ━━━ */
.voxpress-podcast-large[data-theme="classic"] {
    --vp-bg: #fdfbf7;
    --vp-bg-alt: #f5f1ea;
    --vp-fg: #2c1810;
    --vp-fg-soft: #6b5d4f;
    --vp-border: #d4c8b5;
    --vp-accent: #8b6f47;
    --vp-accent-hover: #6b5435;
    --vp-radius: 4px;
    --vp-radius-sm: 2px;
    border: 1px solid var(--vp-border);
}

/* ━━━ Theme: Dark ━━━ */
.voxpress-podcast-large[data-theme="dark"] {
    --vp-bg: #0f172a;
    --vp-bg-alt: #1e293b;
    --vp-fg: #f1f5f9;
    --vp-fg-soft: #94a3b8;
    --vp-border: rgba(255,255,255,0.1);
    --vp-accent: #06b6d4;
    --vp-accent-hover: #0891b2;
    --vp-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ━━━ Theme: Glass ━━━ */
.voxpress-podcast-large[data-theme="glass"] {
    --vp-bg: rgba(255,255,255,0.7);
    --vp-bg-alt: rgba(255,255,255,0.5);
    --vp-fg: #1e293b;
    --vp-fg-soft: #475569;
    --vp-border: rgba(255,255,255,0.3);
    --vp-accent: #8b5cf6;
    --vp-accent-hover: #7c3aed;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(6,182,212,0.1)), var(--vp-bg);
}

/* ━━━ Theme: Minimal ━━━ */
.voxpress-podcast-large[data-theme="minimal"] {
    --vp-bg: #ffffff;
    --vp-bg-alt: #fafafa;
    --vp-fg: #18181b;
    --vp-fg-soft: #71717a;
    --vp-border: #e4e4e7;
    --vp-accent: #18181b;
    --vp-accent-hover: #000;
    --vp-shadow: none;
    border: 1px solid var(--vp-border);
}

/* ━━━ Theme: Gradient ━━━ */
.voxpress-podcast-large[data-theme="gradient"] {
    --vp-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --vp-bg-alt: rgba(255,255,255,0.15);
    --vp-fg: #ffffff;
    --vp-fg-soft: rgba(255,255,255,0.75);
    --vp-border: rgba(255,255,255,0.2);
    --vp-accent: #fbbf24;
    --vp-accent-hover: #f59e0b;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

/* ━━━ Theme: Neon ━━━ */
.voxpress-podcast-large[data-theme="neon"] {
    --vp-bg: #0a0e1a;
    --vp-bg-alt: #161b2c;
    --vp-fg: #00f5ff;
    --vp-fg-soft: #7dd3fc;
    --vp-border: #1e293b;
    --vp-accent: #f0f;
    --vp-accent-hover: #d000d0;
    --vp-shadow: 0 0 30px rgba(255,0,255,0.3);
    border: 1px solid #ff00ff;
}
.voxpress-podcast-large[data-theme="neon"] .vp-pod-mic { filter: drop-shadow(0 0 8px #f0f); }

/* ━━━ Theme: Custom (defaults to modern, user can override) ━━━ */

/* ═══════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════ */
.vp-pod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--vp-border);
    margin-bottom: 24px;
}
.vp-pod-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vp-pod-header-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}
.vp-pod-mic { font-size: 28px; }

.vp-pod-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.vp-pod-btn-reports,
.vp-pod-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--vp-bg-alt);
    color: var(--vp-fg);
    border: 1px solid var(--vp-border);
    padding: 8px 14px;
    border-radius: var(--vp-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.15s;
    position: relative;
}
.vp-pod-btn-reports:hover,
.vp-pod-theme-btn:hover { background: var(--vp-accent); color: #fff; border-color: var(--vp-accent); }
.vp-pod-badge {
    background: var(--vp-danger);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Theme switcher menu */
.vp-pod-theme-switcher { position: relative; }
.vp-pod-theme-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    background: var(--vp-bg);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 6px;
    z-index: 1000;
    min-width: 180px;
}
.vp-pod-theme-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: var(--vp-radius-sm);
    font-family: inherit;
    color: var(--vp-fg);
    font-size: 13px;
    text-align: right;
}
.vp-pod-theme-menu button:hover { background: var(--vp-bg-alt); }
.vp-pod-theme-menu button.active { background: var(--vp-accent); color: #fff; }
.vp-pod-theme-preview {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--vp-border);
}
.vp-pod-theme-preview.vp-pod-theme-modern  { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.vp-pod-theme-preview.vp-pod-theme-classic { background: linear-gradient(135deg, #d4c8b5, #8b6f47); }
.vp-pod-theme-preview.vp-pod-theme-dark    { background: linear-gradient(135deg, #0f172a, #1e293b); }
.vp-pod-theme-preview.vp-pod-theme-glass   { background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(6,182,212,0.5)); backdrop-filter: blur(4px); }
.vp-pod-theme-preview.vp-pod-theme-minimal { background: #fff; border: 1px solid #18181b; }
.vp-pod-theme-preview.vp-pod-theme-gradient{ background: linear-gradient(135deg, #667eea, #764ba2); }
.vp-pod-theme-preview.vp-pod-theme-neon    { background: #0a0e1a; border: 1px solid #ff00ff; box-shadow: 0 0 6px #ff00ff; }
.vp-pod-theme-preview.vp-pod-theme-custom  { background: linear-gradient(135deg, #f97316, #db2777); }

/* ═══════════════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════════════ */
.vp-pod-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .vp-pod-layout { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   Sidebar
   ═══════════════════════════════════════════════════════ */
.vp-pod-sidebar {
    background: var(--vp-bg-alt);
    padding: 16px;
    border-radius: var(--vp-radius);
    height: fit-content;
}
.vp-pod-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.vp-pod-sidebar-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vp-fg-soft);
}
.vp-pod-cat-add {
    background: var(--vp-accent);
    color: #fff;
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}
.vp-pod-cat-add:hover { transform: rotate(90deg); }

.vp-pod-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vp-pod-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--vp-radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    margin-bottom: 4px;
}
.vp-pod-cat:hover { background: var(--vp-bg); }
.vp-pod-cat.active {
    background: var(--vp-accent);
    color: #fff;
}
.vp-pod-cat.active .vp-pod-cat-count { background: rgba(255,255,255,0.25); color: #fff; }
.vp-pod-cat-icon { font-size: 18px; }
.vp-pod-cat-name { flex: 1; font-size: 14px; font-weight: 500; }
.vp-pod-cat-count {
    background: var(--vp-bg);
    color: var(--vp-fg-soft);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.vp-pod-cat-actions {
    display: none;
    gap: 4px;
}
.vp-pod-cat:hover .vp-pod-cat-actions { display: flex; }
.vp-pod-cat-actions button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    opacity: 0.7;
}
.vp-pod-cat-actions button:hover { opacity: 1; background: rgba(0,0,0,0.1); }
.vp-pod-cat.active .vp-pod-cat-actions button { color: #fff; }

/* ═══════════════════════════════════════════════════════
   Content (Player + List)
   ═══════════════════════════════════════════════════════ */
.vp-pod-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* ━━━ Player ━━━ */
.vp-pod-player {
    background: var(--vp-bg-alt);
    padding: 24px;
    border-radius: var(--vp-radius);
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
}
@media (max-width: 600px) {
    .vp-pod-player { grid-template-columns: 1fr; text-align: center; }
}
.vp-pod-player-art {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--vp-accent), var(--vp-accent-hover));
    background-size: cover;
    background-position: center;
    border-radius: var(--vp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
    transition: all 0.3s ease;
}
.vp-pod-player-art.has-image {
    background-color: transparent;
}
@media (max-width: 600px) {
    .vp-pod-player-art { margin: 0 auto; }
}
.vp-pod-now-playing {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--vp-fg);
}
.vp-pod-now-meta {
    font-size: 13px;
    color: var(--vp-fg-soft);
    margin-bottom: 16px;
}

.vp-pod-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.vp-pod-time {
    font-size: 12px;
    color: var(--vp-fg-soft);
    font-variant-numeric: tabular-nums;
    min-width: 38px;
}
.vp-pod-track {
    flex: 1;
    height: 6px;
    background: var(--vp-border);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.vp-pod-bar {
    background: var(--vp-accent);
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}
.vp-pod-buffer {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: rgba(0,0,0,0.05);
    width: 0%;
}

.vp-pod-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .vp-pod-controls { justify-content: center; }
}
.vp-pod-btn {
    background: transparent;
    border: 0;
    color: var(--vp-fg-soft);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.vp-pod-btn:hover { color: var(--vp-fg); background: var(--vp-bg); }
.vp-pod-btn-main {
    background: var(--vp-accent);
    color: #fff;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.vp-pod-btn-main:hover {
    background: var(--vp-accent-hover);
    color: #fff;
    transform: scale(1.05);
}
/* v1.4.1: ضمان ظهور أيقونات play/pause داخل الزر الرئيسي
   استخدام class is-playing على الزر بدلاً من inline style — أكثر موثوقية. */
.vp-pod-btn-main .vp-icon-play,
.vp-pod-btn-main .vp-icon-pause {
    width: 28px !important;
    height: 28px !important;
    fill: #fff !important;
    color: #fff !important;
    pointer-events: none;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
}
.vp-pod-btn-main:not(.is-playing) .vp-icon-play { display: block !important; }
.vp-pod-btn-main:not(.is-playing) .vp-icon-pause { display: none !important; }
.vp-pod-btn-main.is-playing .vp-icon-play { display: none !important; }
.vp-pod-btn-main.is-playing .vp-icon-pause { display: block !important; }
.vp-pod-btn-main .vp-icon-play path,
.vp-pod-btn-main .vp-icon-pause path {
    fill: #fff !important;
}
.vp-pod-btn svg {
    flex-shrink: 0;
    pointer-events: none;
}
.vp-pod-btn svg path { fill: currentColor; }

.vp-pod-controls-secondary {
    display: flex;
    gap: 6px;
    align-items: center;
}
@media (max-width: 600px) {
    .vp-pod-controls-secondary { justify-content: center; }
}
.vp-pod-speed,
.vp-pod-volume,
.vp-pod-shuffle,
.vp-pod-repeat {
    background: transparent;
    border: 1px solid var(--vp-border);
    color: var(--vp-fg-soft);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--vp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
}
.vp-pod-speed:hover,
.vp-pod-volume:hover,
.vp-pod-shuffle:hover,
.vp-pod-repeat:hover { color: var(--vp-fg); border-color: var(--vp-accent); }
.vp-pod-shuffle.active,
.vp-pod-repeat.active { color: var(--vp-accent); border-color: var(--vp-accent); }

/* ═══════════════════════════════════════════════════════
   List
   ═══════════════════════════════════════════════════════ */
.vp-pod-list-wrap { background: var(--vp-bg-alt); padding: 20px; border-radius: var(--vp-radius); }
.vp-pod-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.vp-pod-list-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.vp-pod-list-actions {
    display: flex;
    gap: 8px;
}
.vp-pod-search,
.vp-pod-sort {
    background: var(--vp-bg);
    color: var(--vp-fg);
    border: 1px solid var(--vp-border);
    padding: 6px 10px;
    border-radius: var(--vp-radius-sm);
    font-size: 13px;
    font-family: inherit;
}
.vp-pod-search:focus,
.vp-pod-sort:focus { outline: none; border-color: var(--vp-accent); }

.vp-pod-list { display: flex; flex-direction: column; gap: 8px; }
.vp-pod-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    background: var(--vp-bg);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    transition: all 0.15s;
    cursor: pointer;
}
.vp-pod-item:hover { border-color: var(--vp-accent); box-shadow: 0 2px 8px rgba(99,102,241,0.1); }
.vp-pod-item.playing {
    border-color: var(--vp-accent);
    background: linear-gradient(90deg, rgba(99,102,241,0.05), transparent);
}
.vp-pod-item-num {
    font-size: 14px;
    color: var(--vp-fg-soft);
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}
.vp-pod-item.playing .vp-pod-item-num { color: var(--vp-accent); }
.vp-pod-item-info { min-width: 0; }
.vp-pod-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--vp-fg);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vp-pod-item-meta {
    font-size: 12px;
    color: var(--vp-fg-soft);
    display: flex;
    gap: 8px;
    align-items: center;
}
.vp-pod-item-rating {
    color: var(--vp-warn);
    font-size: 12px;
}
.vp-pod-item-duration {
    font-size: 12px;
    color: var(--vp-fg-soft);
    font-variant-numeric: tabular-nums;
}
.vp-pod-item-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.15s;
}
.vp-pod-item:hover .vp-pod-item-actions { opacity: 1; }
.vp-pod-item-actions button {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--vp-fg-soft);
}
.vp-pod-item-actions button:hover { background: var(--vp-bg-alt); color: var(--vp-fg); }
.vp-pod-item-actions .vp-pod-item-remove:hover { color: var(--vp-danger); }

/* Empty state */
.vp-pod-list-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--vp-fg-soft);
}
.vp-pod-empty-icon { font-size: 48px; margin-bottom: 12px; }
.vp-pod-list-empty h4 { margin: 0 0 8px; font-size: 18px; color: var(--vp-fg); }
.vp-pod-list-empty p { margin: 0; font-size: 14px; }
.vp-pod-list-loading {
    text-align: center;
    padding: 40px;
    color: var(--vp-fg-soft);
}

/* ═══════════════════════════════════════════════════════
   Modals
   ═══════════════════════════════════════════════════════ */
.vp-pod-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vp-pod-modal[hidden] { display: none; }
.vp-pod-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.vp-pod-modal-content {
    position: relative;
    background: var(--vp-bg);
    color: var(--vp-fg);
    border-radius: var(--vp-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 800px;
    width: calc(100% - 40px);
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    direction: rtl;
}
.vp-pod-modal-small { max-width: 480px; }
.vp-pod-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--vp-border);
}
.vp-pod-modal-header h3 { margin: 0; font-size: 18px; font-weight: 700; }
.vp-pod-modal-close {
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    color: var(--vp-fg-soft);
    line-height: 1;
    padding: 0 8px;
}
.vp-pod-modal-close:hover { color: var(--vp-fg); }
.vp-pod-modal-body {
    padding: 24px;
    overflow-y: auto;
}
.vp-pod-modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
}

.vp-pod-btn-primary,
.vp-pod-btn-secondary {
    border: 0;
    padding: 10px 18px;
    border-radius: var(--vp-radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.15s;
}
.vp-pod-btn-primary {
    background: var(--vp-accent);
    color: #fff;
}
.vp-pod-btn-primary:hover { background: var(--vp-accent-hover); }
.vp-pod-btn-secondary {
    background: var(--vp-bg-alt);
    color: var(--vp-fg);
}
.vp-pod-btn-secondary:hover { background: var(--vp-border); }

/* Form */
.vp-pod-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--vp-fg);
}
.vp-pod-cat-input,
.vp-pod-report-desc {
    width: 100%;
    background: var(--vp-bg-alt);
    color: var(--vp-fg);
    border: 1px solid var(--vp-border);
    padding: 10px 14px;
    border-radius: var(--vp-radius-sm);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.vp-pod-cat-input:focus,
.vp-pod-report-desc:focus { outline: none; border-color: var(--vp-accent); }
.vp-pod-radios {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.vp-pod-radios label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}
.vp-pod-char-counter {
    text-align: left;
    font-size: 11px;
    color: var(--vp-fg-soft);
    margin-top: 4px;
    direction: ltr;
}
.vp-pod-char-counter.warn { color: var(--vp-warn); }
.vp-pod-char-counter.error { color: var(--vp-danger); }
.vp-pod-report-target {
    background: var(--vp-bg-alt);
    padding: 10px 14px;
    border-radius: var(--vp-radius-sm);
    margin-bottom: 16px;
    font-size: 13px;
}

/* Reports list */
.vp-pod-reports-list { display: flex; flex-direction: column; gap: 10px; }
.vp-pod-report-card {
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    padding: 14px;
    background: var(--vp-bg-alt);
}
.vp-pod-report-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}
.vp-pod-report-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.vp-pod-report-status[data-status="pending"]     { background: #fef3c7; color: #92400e; }
.vp-pod-report-status[data-status="approved"]    { background: #d1fae5; color: #065f46; }
.vp-pod-report-status[data-status="in_progress"] { background: #dbeafe; color: #1e40af; }
.vp-pod-report-status[data-status="rejected"]    { background: #fee2e2; color: #991b1b; }
.vp-pod-report-status[data-status="completed"]   { background: #ddd6fe; color: #5b21b6; }

.vp-pod-report-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--vp-fg);
}
.vp-pod-report-card-desc {
    font-size: 13px;
    color: var(--vp-fg-soft);
    margin: 6px 0;
}
.vp-pod-report-reply {
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--vp-bg);
    border-right: 3px solid var(--vp-accent);
    border-radius: var(--vp-radius-sm);
    font-size: 13px;
}
.vp-pod-report-reply strong { color: var(--vp-accent); display: block; margin-bottom: 2px; font-size: 11px; }

/* ═══════════════════════════════════════════════════════
   Guest / No-perm states
   ═══════════════════════════════════════════════════════ */
.voxpress-podcast-large.voxpress-pod-guest,
.voxpress-podcast-large.voxpress-pod-no-perm {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
    border: 2px dashed var(--vp-border);
}
.vp-pod-guest-icon {
    font-size: 64px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(99,102,241,0.3));
}
.voxpress-pod-guest h3,
.voxpress-pod-no-perm h3 {
    margin: 0 0 12px;
    font-size: 22px;
}
.voxpress-pod-guest p,
.voxpress-pod-no-perm p {
    color: var(--vp-fg-soft);
    margin: 0 0 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════ */
@keyframes vp-pod-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vp-pod-modal-content { animation: vp-pod-fade-in 0.2s ease; }
.vp-pod-item { animation: vp-pod-fade-in 0.3s ease; }

@keyframes vp-pod-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.vp-pod-list-loading { animation: vp-pod-pulse 1.5s infinite; }

/* Notice (placeholder shortcodes) */
.voxpress-notice {
    background: #fef3c7;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    border-right: 4px solid #f59e0b;
    direction: rtl;
}

/* Volume popover */
.vp-pod-volume-popover {
    background: var(--vp-bg);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 180px;
    animation: vp-pod-fade-in 0.15s ease;
}
.vp-pod-vol-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.vp-pod-vol-icon {
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}
.vp-pod-vol-icon:hover { transform: scale(1.1); }
.vp-pod-vol-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--vp-border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.vp-pod-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vp-accent);
    cursor: pointer;
}
.vp-pod-vol-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vp-accent);
    cursor: pointer;
    border: 0;
}
.vp-pod-vol-value {
    text-align: center;
    font-size: 11px;
    color: var(--vp-fg-soft);
    margin-top: 6px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   MEDIUM PLAYER — بطاقة احترافية (Spotify/Anghami-style)
   ═══════════════════════════════════════════════════════ */
.voxpress-podcast-medium {
    --vp-m-bg: #ffffff;
    --vp-m-fg: #1f2937;
    --vp-m-fg-soft: #6b7280;
    --vp-m-accent: #6366f1;
    --vp-m-accent-hover: #4f46e5;
    --vp-m-border: #e5e7eb;
    --vp-m-active: #eef2ff;

    width: 100%;
    max-width: 380px;
    background: var(--vp-m-bg);
    color: var(--vp-m-fg);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    margin: 0 auto;
}

.voxpress-podcast-medium.voxpress-podcast-scheme-dark {
    --vp-m-bg: #1e1e2e;
    --vp-m-fg: #f3f4f6;
    --vp-m-fg-soft: #9ca3af;
    --vp-m-border: #374151;
    --vp-m-active: rgba(99,102,241,0.15);
}

@media (prefers-color-scheme: dark) {
    .voxpress-podcast-medium.voxpress-podcast-scheme-auto {
        --vp-m-bg: #1e1e2e;
        --vp-m-fg: #f3f4f6;
        --vp-m-fg-soft: #9ca3af;
        --vp-m-border: #374151;
        --vp-m-active: rgba(99,102,241,0.15);
    }
}

/* Header مع artwork */
.vp-medium-header {
    position: relative;
    background: linear-gradient(135deg, var(--vp-m-accent), var(--vp-m-accent-hover));
    background-size: cover;
    background-position: center;
    padding: 24px;
    color: #fff;
    overflow: hidden;
}
.vp-medium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    backdrop-filter: blur(20px);
    z-index: 1;
}
.vp-medium-art {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vp-medium-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vp-medium-art-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}
.vp-medium-info {
    position: relative;
    z-index: 2;
    text-align: center;
}
.vp-medium-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 4px;
}
.vp-medium-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vp-medium-meta {
    font-size: 12px;
    opacity: 0.85;
}

/* Progress */
.vp-medium-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 4px;
    font-size: 11px;
    color: var(--vp-m-fg-soft);
    font-variant-numeric: tabular-nums;
}
.vp-medium-progress .vp-pod-seek {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--vp-m-border);
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}
.vp-medium-progress .vp-pod-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--vp-m-accent);
    cursor: pointer;
}
.vp-medium-progress .vp-pod-seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--vp-m-accent);
    border: 0;
    cursor: pointer;
}

/* Controls */
.vp-medium-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 20px 12px;
}
.vp-medium-controls .vp-pod-btn {
    background: transparent;
    color: var(--vp-m-fg);
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.vp-medium-controls .vp-pod-btn:hover {
    background: var(--vp-m-active);
}
.vp-medium-controls .vp-pod-btn.active {
    color: var(--vp-m-accent);
}
.vp-medium-controls .vp-pod-btn-main {
    width: 52px;
    height: 52px;
    background: var(--vp-m-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.vp-medium-controls .vp-pod-btn-main:hover {
    background: var(--vp-m-accent-hover);
    transform: scale(1.05);
}
.vp-pod-speed {
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
}

/* Extras (volume + 15s skip) */
.vp-medium-extras {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--vp-m-border);
}
.vp-medium-extras .vp-pod-btn {
    background: transparent;
    color: var(--vp-m-fg-soft);
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    position: relative;
}
.vp-medium-extras .vp-pod-btn:hover {
    color: var(--vp-m-accent);
    background: var(--vp-m-active);
}
.vp-medium-extras .vp-pod-back15,
.vp-medium-extras .vp-pod-fwd15 {
    width: auto;
    padding: 0 8px;
}

/* List */
.vp-medium-list {
    max-height: 320px;
    overflow-y: auto;
}
.vp-medium-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 11px;
    color: var(--vp-m-fg-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--vp-m-border);
    background: linear-gradient(180deg, transparent, var(--vp-m-active));
}
.vp-medium-link {
    color: var(--vp-m-accent);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
}
.vp-medium-link:hover { text-decoration: underline; }

.vp-medium-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vp-medium-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--vp-m-border);
}
.vp-medium-item:last-child { border-bottom: 0; }
.vp-medium-item:hover {
    background: var(--vp-m-active);
}
.vp-medium-item.vp-pod-item-playing {
    background: var(--vp-m-active);
}
.vp-medium-item.vp-pod-item-playing .vp-medium-item-title {
    color: var(--vp-m-accent);
    font-weight: 700;
}
.vp-medium-item-thumb {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--vp-m-accent), var(--vp-m-accent-hover));
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}
.vp-medium-item-num {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 9px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}
.vp-medium-item-info {
    flex: 1;
    min-width: 0;
}
.vp-medium-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--vp-m-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}
.vp-medium-item-meta {
    font-size: 11px;
    color: var(--vp-m-fg-soft);
    display: flex;
    gap: 8px;
}
.vp-medium-item-rating {
    color: #f59e0b;
}
.vp-medium-item-play {
    background: transparent;
    color: var(--vp-m-fg-soft);
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
    flex-shrink: 0;
}
.vp-medium-item-play:hover {
    background: var(--vp-m-accent);
    color: #fff;
}
.vp-medium-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--vp-m-fg-soft);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════
   COMPACT PLAYER — شريط أفقي صغير (للـ widget/inline)
   ═══════════════════════════════════════════════════════ */
.voxpress-podcast-compact {
    --vp-c-bg: #ffffff;
    --vp-c-fg: #1f2937;
    --vp-c-fg-soft: #6b7280;
    --vp-c-accent: #6366f1;
    --vp-c-border: #e5e7eb;

    width: 100%;
    max-width: 480px;
    background: var(--vp-c-bg);
    color: var(--vp-c-fg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    align-items: stretch;
}

.voxpress-podcast-compact.voxpress-podcast-scheme-dark {
    --vp-c-bg: #1e1e2e;
    --vp-c-fg: #f3f4f6;
    --vp-c-fg-soft: #9ca3af;
    --vp-c-border: #374151;
}
@media (prefers-color-scheme: dark) {
    .voxpress-podcast-compact.voxpress-podcast-scheme-auto {
        --vp-c-bg: #1e1e2e;
        --vp-c-fg: #f3f4f6;
        --vp-c-fg-soft: #9ca3af;
        --vp-c-border: #374151;
    }
}

.vp-compact-art {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--vp-c-accent), #4f46e5);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.vp-compact-body {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vp-compact-info {
    overflow: hidden;
}
.vp-compact-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--vp-c-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vp-compact-meta {
    font-size: 11px;
    color: var(--vp-c-fg-soft);
}

.vp-compact-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--vp-c-fg-soft);
    font-variant-numeric: tabular-nums;
}
.vp-compact-progress .vp-pod-seek {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: var(--vp-c-border);
    border-radius: 2px;
    cursor: pointer;
    outline: none;
}
.vp-compact-progress .vp-pod-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vp-c-accent);
    cursor: pointer;
}

.vp-compact-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
}
.vp-compact-controls .vp-pod-btn {
    background: transparent;
    color: var(--vp-c-fg);
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.vp-compact-controls .vp-pod-btn:hover {
    background: var(--vp-c-border);
}
.vp-compact-controls .vp-pod-btn-main {
    background: var(--vp-c-accent);
    color: #fff;
    width: 32px;
    height: 32px;
}
.vp-compact-controls .vp-pod-btn-main:hover {
    background: #4f46e5;
}

@media (max-width: 480px) {
    .vp-compact-art { width: 64px; height: 64px; font-size: 22px; }
    .vp-compact-body { padding: 8px 10px; }
}

/* ═══════════════════════════════════════════════════════
   RECENT + SUGGESTIONS — Card Grid
   ═══════════════════════════════════════════════════════ */
.voxpress-podcast-recent,
.voxpress-podcast-suggestions .voxpress-podcast-recent {
    display: grid;
    grid-template-columns: repeat(var(--vp-recent-cols, 3), 1fr);
    gap: 16px;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}
.voxpress-recent-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
    direction: rtl;
}
.vp-recent-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
}
.vp-recent-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.vp-recent-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.vp-recent-art {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 48px;
}
.vp-recent-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.2s;
}
.vp-recent-card:hover .vp-recent-play-icon {
    opacity: 1;
}
.vp-recent-info {
    padding: 12px 14px;
}
.vp-recent-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vp-recent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #6b7280;
}
.vp-recent-date {
    color: #9ca3af;
}
.vp-suggestion-reason {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 10px;
}

/* Suggestions header */
.voxpress-podcast-suggestions {
    direction: rtl;
}
.vp-suggestions-header {
    margin-bottom: 16px;
}
.vp-suggestions-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
}
.vp-suggestions-subtitle {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 768px) {
    .voxpress-podcast-recent {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .voxpress-podcast-recent {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════
   MY REPORTS — صفحة بلاغاتي
   ═══════════════════════════════════════════════════════ */
.voxpress-my-reports {
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}
.vp-reports-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}
.vp-reports-header h2 {
    margin: 0 0 12px;
    color: #1f2937;
}
.vp-reports-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}
.vp-reports-stats span {
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
}
.vp-stat-pending  { background: #fef3c7; color: #92400e; }
.vp-stat-review   { background: #dbeafe; color: #1e40af; }
.vp-stat-done     { background: #d1fae5; color: #065f46; }
.vp-stat-rejected { background: #fee2e2; color: #991b1b; }

.vp-reports-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
}
.vp-reports-empty p {
    margin: 12px 0 0;
    font-size: 16px;
}

.vp-reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vp-report-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-right: 4px solid #9ca3af;
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.15s;
}
.vp-report-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.vp-report-status-pending   { border-right-color: #f59e0b; }
.vp-report-status-in_review { border-right-color: #3b82f6; }
.vp-report-status-completed { border-right-color: #10b981; }
.vp-report-status-rejected  { border-right-color: #ef4444; }

.vp-report-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}
.vp-report-type {
    background: #f3f4f6;
    color: #4b5563;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
}
.vp-report-status {
    font-weight: 700;
}
.vp-report-status-pending   .vp-report-status { color: #f59e0b; }
.vp-report-status-in_review .vp-report-status { color: #3b82f6; }
.vp-report-status-completed .vp-report-status { color: #10b981; }
.vp-report-status-rejected  .vp-report-status { color: #ef4444; }

.vp-report-date { color: #9ca3af; }

.vp-report-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}
.vp-report-title a {
    color: #1f2937;
    text-decoration: none;
}
.vp-report-title a:hover { color: #6366f1; }

.vp-report-desc, .vp-report-response {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
}
.vp-report-desc { background: #f9fafb; }
.vp-report-response {
    background: #eef2ff;
    border-right: 3px solid #6366f1;
}
.vp-report-desc p, .vp-report-response p {
    margin: 6px 0 0;
    line-height: 1.6;
    color: #374151;
}

/* ═══════════════════════════════════════════════════════
   FEATURED PODCAST — البودكاست العام
   ═══════════════════════════════════════════════════════ */
.voxpress-featured-podcast {
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    margin: 0 auto;
    max-width: 1200px;
}
.vp-featured-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: #fff;
    border-radius: 16px;
}
.vp-featured-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
}
.vp-featured-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.vp-featured-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
    align-items: center;
    flex-wrap: wrap;
}
.vp-featured-tab {
    background: transparent;
    border: 0;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.15s;
    margin-bottom: -2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.vp-featured-tab:hover {
    color: #6366f1;
    background: #f9fafb;
}
.vp-featured-tab.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
}
.vp-featured-tab-icon {
    font-size: 16px;
}
.vp-featured-tab-count {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
}
.vp-featured-settings-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    color: #6b7280;
    margin-right: auto;
    border-radius: 50%;
    transition: all 0.15s;
}
.vp-featured-settings-btn:hover {
    background: #f3f4f6;
    color: #6366f1;
}

.vp-featured-settings {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.vp-featured-settings h4 {
    margin: 0 0 6px;
    font-size: 14px;
}
.vp-featured-settings .description {
    color: #6b7280;
    font-size: 12px;
    margin: 0 0 12px;
}
.vp-featured-settings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.vp-featured-settings-grid label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
}

.vp-featured-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
}

/* Rank badge على البطاقات في tab popular/top_rated/newest */
.vp-featured-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .vp-featured-title { font-size: 24px; }
    .vp-featured-tabs { gap: 0; }
    .vp-featured-tab { padding: 10px 12px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════
   Notifications Badge للـ unread report updates
   ═══════════════════════════════════════════════ */

.vp-report-item.vp-report-new {
    background: linear-gradient(180deg, #fff7ed 0%, #fff 50%);
    border-color: #f59e0b;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15);
    position: relative;
}

.vp-report-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    animation: vp-pulse-orange 2s ease-in-out infinite;
}

@keyframes vp-pulse-orange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    50%      { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* Unread badge للتقارير الجديدة */
.vp-reports-unread-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    vertical-align: middle;
    animation: vp-pulse 2s ease-in-out infinite;
}
@keyframes vp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}
.vp-report-new {
    border-right-width: 4px !important;
    background: #fffbeb;
}
.vp-report-new-badge {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════
   [voxpress_notifications] - Notifications page
   ═══════════════════════════════════════════════ */

.voxpress-notifications {
    max-width: 720px;
    margin: 24px auto;
    padding: 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    direction: rtl;
}

.vp-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 12px;
}

.vp-notif-header h2 {
    margin: 0;
    font-size: 22px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vp-notif-counter {
    background: #ef4444;
    color: #fff;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.vp-notif-mark-all {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vp-notif-mark-all:hover:not(:disabled) {
    background: #e5e7eb;
    color: #111827;
}

.vp-notif-mark-all:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vp-notif-empty {
    text-align: center;
    padding: 48px 20px;
    color: #6b7280;
}

.vp-notif-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.vp-notif-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vp-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    position: relative;
    transition: all 0.15s ease;
}

.vp-notif-item.vp-notif-unread {
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.vp-notif-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.vp-notif-content {
    flex: 1;
    min-width: 0;
}

.vp-notif-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    font-size: 15px;
}

.vp-notif-message {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 4px;
}

.vp-notif-time {
    color: #9ca3af;
    font-size: 12px;
}

.vp-notif-dot {
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    animation: vp-pulse-blue 2s ease-in-out infinite;
}

@keyframes vp-pulse-blue {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
}

@media (max-width: 600px) {
    .voxpress-notifications { padding: 16px; }
    .vp-notif-header h2 { font-size: 18px; }
    .vp-notif-mark-all { padding: 6px 10px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.0 — SMART PLAYER (Spotify-style block)
   Layout: مشغل أعلى + (tabs عمودية يميناً + قائمة ملفات يساراً)
   ═══════════════════════════════════════════════════════════════ */

.voxpress-podcast-smart {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Cairo", sans-serif;
    max-width: 100%;
}

/* Body: tabs (يمين) + content (يسار) — Grid */
.vp-smart-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    min-height: 320px;
}

/* TABS عمودية */
.vp-smart-tabs {
    background: linear-gradient(180deg, #fef3c7 0%, #fed7aa 100%);
    padding: 14px 8px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vp-smart-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #78350f;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-align: right;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    width: 100%;
    font-family: inherit;
}

.vp-smart-tab:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-2px);
}

.vp-smart-tab.is-active {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.vp-smart-tab-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.vp-smart-tab-label {
    flex: 1;
}

.vp-smart-tab-settings {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #92400e;
    text-decoration: none;
    font-size: 13px;
    border-radius: 10px;
    border: 1px dashed rgba(146, 64, 14, 0.4);
    transition: background 0.15s;
}

.vp-smart-tab-settings:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #78350f;
}

/* Content (يسار) */
.vp-smart-content {
    padding: 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

/* شريط dropdown التصنيفات (يظهر داخل tab "mine" فقط) */
.vp-smart-categories-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.vp-smart-cat-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.vp-smart-category-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.vp-smart-category-select:hover,
.vp-smart-category-select:focus {
    border-color: #ea580c;
    background: #fff;
    outline: none;
}

/* قائمة الملفات */
.vp-smart-list-wrap {
    flex: 1;
    padding: 8px 0;
    position: relative;
    max-height: 280px; /* v1.4.1: ~3 صفوف ثم scroll */
    overflow-y: auto;
}

.vp-smart-list-wrap::-webkit-scrollbar {
    width: 8px;
}
.vp-smart-list-wrap::-webkit-scrollbar-thumb {
    background: rgba(234, 88, 12, 0.3);
    border-radius: 4px;
}
.vp-smart-list-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 88, 12, 0.5);
}

/* Loading state */
.vp-smart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    color: #64748b;
    font-size: 13px;
}

.vp-smart-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fed7aa;
    border-top-color: #ea580c;
    border-radius: 50%;
    animation: vp-smart-spin 0.8s linear infinite;
}

@keyframes vp-smart-spin {
    to { transform: rotate(360deg); }
}

/* تأكيد أن item مع class is-playing له تمييز بصري */
.vp-smart-items .vp-medium-item.is-playing {
    background: linear-gradient(90deg, rgba(234, 88, 12, 0.08), transparent);
    border-right: 3px solid #ea580c;
}

/* المشغل العلوي يستخدم نفس CSS الموجود لـ .vp-medium-* */
.voxpress-podcast-smart .vp-smart-player {
    border-bottom: 1px solid #f1f5f9;
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
    .vp-smart-body {
        grid-template-columns: 1fr;
    }
    .vp-smart-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        border-left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        gap: 6px;
    }
    .vp-smart-tab {
        padding: 8px 12px;
        font-size: 13px;
        flex-shrink: 0;
        min-width: auto;
    }
    .vp-smart-tab-label {
        white-space: nowrap;
    }
    .vp-smart-tab-settings {
        margin-top: 0;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .vp-smart-list-wrap {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .vp-smart-tab-label {
        display: none;
    }
    .vp-smart-tab {
        padding: 10px;
    }
    .vp-smart-tab-icon {
        font-size: 22px;
    }
    .vp-smart-tab.is-active .vp-smart-tab-label {
        display: inline;
    }
}

/* Dark scheme support */
.voxpress-podcast-smart.voxpress-podcast-scheme-dark {
    background: #1f2937;
    color: #f3f4f6;
}
.voxpress-podcast-smart.voxpress-podcast-scheme-dark .vp-smart-content {
    background: #111827;
}
.voxpress-podcast-smart.voxpress-podcast-scheme-dark .vp-smart-categories-bar {
    background: #1f2937;
    border-bottom-color: #374151;
}
.voxpress-podcast-smart.voxpress-podcast-scheme-dark .vp-smart-cat-label {
    color: #d1d5db;
}
.voxpress-podcast-smart.voxpress-podcast-scheme-dark .vp-smart-category-select {
    background: #374151;
    border-color: #4b5563;
    color: #f3f4f6;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.1 — voxpress_featured_podcast prefs (إعدادات شخصية للعضو فقط)
   ═══════════════════════════════════════════════════════════════ */
.voxpress-featured-prefs {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 14px;
    padding: 22px 24px;
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Cairo", sans-serif;
    box-shadow: 0 4px 18px rgba(146, 64, 14, 0.08);
    max-width: 600px;
    margin: 0 auto;
}
.vp-featured-prefs-header {
    margin-bottom: 18px;
    text-align: center;
}
.vp-featured-prefs-title {
    font-size: 18px;
    font-weight: 700;
    color: #78350f;
    margin: 0 0 6px;
}
.vp-featured-prefs-subtitle {
    font-size: 13px;
    color: #92400e;
    margin: 0;
    opacity: 0.85;
}
.vp-featured-prefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.vp-featured-prefs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    border: 2px solid transparent;
}
.vp-featured-prefs-item:hover {
    background: #fffbeb;
    border-color: #fbbf24;
    transform: translateY(-1px);
}
.vp-featured-prefs-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ea580c;
}
.vp-featured-prefs-icon {
    font-size: 20px;
}
.vp-featured-prefs-label {
    font-weight: 600;
    color: #78350f;
    font-size: 14px;
}
.vp-featured-prefs-note {
    font-size: 12px;
    color: #92400e;
    text-align: center;
    margin: 12px 0 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}
.vp-featured-prefs-saved {
    text-align: center;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    padding: 8px;
    background: #d1fae5;
    border-radius: 8px;
}
.voxpress-notice-info {
    background: #dbeafe;
    color: #1e40af;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
    direction: rtl;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.1 — Audio Actions Panel (تقييم/إضافة/تنزيل/stats لكل ملف)
   ═══════════════════════════════════════════════════════════════ */

.vp-audio-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* أزرار actions موحّدة */
.vp-audio-actions > .vp-action-stats > .voxpress-stats-toggle,
.vp-audio-actions > .vp-action-rating > .voxpress-rating-trigger,
.vp-audio-actions > .vp-action-podcast > .vp-pod-add-trigger,
.vp-audio-actions > .vp-action-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 26px;
    height: 26px;
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    font-size: 11px;
    padding: 0;
}

.vp-audio-actions > .vp-action-stats > .voxpress-stats-toggle:hover,
.vp-audio-actions > .vp-action-rating > .voxpress-rating-trigger:hover,
.vp-audio-actions > .vp-action-podcast > .vp-pod-add-trigger:hover,
.vp-audio-actions > .vp-action-download:hover {
    background: #fef3c7;
    color: #c2410c;
    border-color: #fed7aa;
    transform: translateY(-1px);
}

/* rating trigger مع متوسط */
.vp-audio-actions .voxpress-rating-trigger {
    width: auto !important;
    padding: 0 8px !important;
    border-radius: 13px !important;
    height: 26px !important;
    gap: 4px !important;
}
.vp-audio-actions .voxpress-rating-trigger.has-rating {
    background: #fef3c7 !important;
    color: #c2410c !important;
    border-color: #fbbf24 !important;
}
.vp-audio-actions .voxpress-rating-trigger-star {
    color: #f59e0b;
    font-size: 12px;
}
.vp-audio-actions .voxpress-rating-trigger-avg {
    font-size: 11px;
    font-weight: 600;
}

/* مضاف لبودكاست — لون مختلف (مثل المشغل بالمقالات) */
.vp-audio-actions .voxpress-podcast-add.voxpress-podcast-added {
    background: #d1fae5 !important;
    color: #065f46 !important;
    border-color: #6ee7b7 !important;
}

/* أيقونة locked للزائر بدون صلاحية تنزيل */
.vp-audio-actions .vp-action-locked {
    opacity: 0.5;
    background: #f3f4f6 !important;
    cursor: pointer;
}
.vp-audio-actions .vp-action-locked:hover {
    opacity: 0.8;
    background: #e5e7eb !important;
}

/* popover إضافة لبودكاست */
.vp-action-podcast {
    position: relative;
}

.vp-pod-add-popover {
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 6px;
    min-width: 200px;
    max-width: 280px;
    border: 1px solid #e2e8f0;
}

.vp-pod-add-popover[hidden] { display: none; }

.vp-pod-add-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.vp-pod-add-title {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    padding: 6px 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.vp-pod-add-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 8px 10px;
    text-align: right;
    cursor: pointer;
    border-radius: 6px;
    color: #1e293b;
    font-size: 13px;
    transition: background 0.15s;
    font-family: inherit;
}

.vp-pod-add-row:hover {
    background: #fef3c7;
    color: #c2410c;
}

.vp-pod-add-row.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.vp-pod-remove-btn {
    color: #dc2626;
}

.vp-pod-remove-btn:hover {
    background: #fee2e2 !important;
    color: #991b1b;
}

.vp-pod-add-row > span:first-child {
    font-size: 16px;
    flex-shrink: 0;
}

/* now-actions في المشغل العلوي */
.vp-now-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.vp-now-actions .vp-audio-actions {
    margin-top: 0;
}

/* Flash messages */
@keyframes vpFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vp-action-login-link {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    background: #ea580c;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.vp-action-login-link:hover {
    background: #c2410c;
}

/* تجاوز ألوان rating widget داخل smart player ليكون متناسقاً */
.voxpress-podcast-smart .voxpress-rating-widget {
    display: inline-flex;
}

/* حماية من ظهور stats popover خارج الحدود (right edge) */
.vp-audio-actions .voxpress-stats-popover {
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
}
.vp-audio-actions .voxpress-rating-popover {
    position: absolute;
    z-index: 100;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile: أصغر */
@media (max-width: 480px) {
    .vp-audio-actions {
        gap: 4px;
    }
    .vp-audio-actions > div > button,
    .vp-audio-actions > a {
        width: 24px;
        height: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.1 — Smart Player Sizes (large = افتراضي، medium أصغر، compact مدمج)
   ═══════════════════════════════════════════════════════════════ */

/* Medium: نفس layout large لكن بنصف العرض ≈ 380px */
.voxpress-podcast-smart.voxpress-podcast-smart-medium {
    max-width: 420px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-body {
    grid-template-columns: 130px 1fr;
    min-height: 240px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-tabs {
    padding: 8px 5px;
    gap: 3px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-tab {
    padding: 7px 8px;
    font-size: 12px;
    gap: 6px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-tab-icon {
    font-size: 15px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-tab-settings {
    padding: 7px 8px;
    font-size: 11px;
    gap: 6px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-header {
    min-height: 160px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-art {
    width: 90px;
    height: 90px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-art-img {
    width: 90px;
    height: 90px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-title {
    font-size: 15px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-controls {
    padding: 8px 10px;
    gap: 8px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-pod-btn-main {
    width: 44px;
    height: 44px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-pod-btn-main .vp-icon-play,
.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-pod-btn-main .vp-icon-pause {
    width: 22px;
    height: 22px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-progress {
    padding: 6px 10px;
}

/* قائمة الملفات أصغر في medium */
.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-item {
    padding: 8px 10px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-item-thumb {
    width: 38px;
    height: 38px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-item-title {
    font-size: 13px;
}

.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-medium-item-meta {
    font-size: 11px;
}

@media (max-width: 768px) {
    .voxpress-podcast-smart.voxpress-podcast-smart-medium {
        max-width: 100%;
    }
    .voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-body {
        grid-template-columns: 1fr;
    }
}

/* ═══ Compact (مدمج طرفي-style) ═══ */

.voxpress-podcast-smart.voxpress-podcast-smart-compact {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Cairo", sans-serif;
    max-width: 380px;
    padding: 0;
}

.vp-smart-c-player {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.vp-smart-c-art {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.vp-smart-c-main {
    min-width: 0;
}

.vp-smart-c-title {
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vp-smart-c-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #92400e;
}

.vp-smart-c-progress .vp-pod-seek {
    flex: 1;
    height: 4px;
    accent-color: #ea580c;
}

.vp-smart-c-play-btn {
    width: 44px !important;
    height: 44px !important;
    background: #ea580c !important;
    color: #fff !important;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.15s;
}

.vp-smart-c-play-btn:hover {
    background: #c2410c !important;
    transform: scale(1.05);
}

.vp-smart-c-play-btn .vp-icon-play,
.vp-smart-c-play-btn .vp-icon-pause {
    fill: #fff;
}

.vp-smart-c-now-actions {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    background: #fffbeb;
    margin-top: 0;
}

/* Layout A: tabs أفقية */
.vp-smart-c-tabs {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: #fefce8;
    border-bottom: 1px solid #fde68a;
    overflow-x: auto;
    scrollbar-width: none;
}

.vp-smart-c-tabs::-webkit-scrollbar { display: none; }

.vp-smart-c-tab {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: #78350f;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
    font-family: inherit;
}

.vp-smart-c-tab:hover { background: rgba(255, 255, 255, 0.6); }

.vp-smart-c-tab.is-active {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
}

.vp-smart-c-tab-icon { font-size: 14px; }

.vp-smart-c-cat-bar {
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.vp-smart-c-cat-bar select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    background: #f8fafc;
}

/* Layout B: dropdown موحّدة — يبدو كـ tab كبير قابل للنقر */
.vp-smart-c-unified {
    padding: 10px 12px;
    background: #fefce8;
    border-bottom: 1px solid #fde68a;
    position: relative;
}

.vp-smart-c-unified-select {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid #ea580c;
    border-radius: 12px;
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(135deg, #ea580c, #c2410c),
                      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M7 10l5 5 5-5z'/></svg>");
    background-position: 0 0, left 12px center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 100%, 18px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.2s;
}

.vp-smart-c-unified-select:hover {
    background-image: linear-gradient(135deg, #c2410c, #9a3412),
                      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M7 10l5 5 5-5z'/></svg>");
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.vp-smart-c-unified-select option {
    background: #fff;
    color: #1e293b;
    padding: 8px;
}

.vp-smart-c-unified-select optgroup {
    background: #fef3c7;
    color: #78350f;
    font-weight: 700;
}

/* قائمة الملفات في compact */
.vp-smart-c-list-wrap {
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
}

.vp-smart-c-list-wrap::-webkit-scrollbar { width: 6px; }
.vp-smart-c-list-wrap::-webkit-scrollbar-thumb {
    background: rgba(234, 88, 12, 0.3);
    border-radius: 3px;
}

.vp-smart-c-items .vp-medium-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f9fafb;
}

.vp-smart-c-items .vp-medium-item:hover {
    background: #fef3c7;
}

.vp-smart-c-items .vp-medium-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.vp-smart-c-items .vp-medium-item-title {
    font-size: 13px;
}

.vp-smart-c-items .vp-medium-item-meta {
    font-size: 11px;
}

.vp-smart-c-items .vp-medium-item-play {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.vp-smart-c-settings {
    display: block;
    text-align: center;
    padding: 10px;
    background: #fef3c7;
    color: #92400e;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid #fde68a;
    transition: background 0.15s;
}

.vp-smart-c-settings:hover {
    background: #fed7aa;
    color: #78350f;
}

/* Mobile compact */
@media (max-width: 480px) {
    .vp-smart-c-player {
        grid-template-columns: 50px 1fr 40px;
        padding: 10px;
    }
    .vp-smart-c-art { width: 50px; height: 50px; }
    .vp-smart-c-play-btn { width: 38px !important; height: 38px !important; }
    .vp-smart-c-title { font-size: 13px; }
}

/* v1.4.1: قائمة medium أصغر — يُجبر scrollbar للظهور حتى مع 2-3 ملفات */
.voxpress-podcast-smart.voxpress-podcast-smart-medium .vp-smart-list-wrap {
    max-height: 140px !important;
    overflow-y: scroll !important;
}

/* scrollbar أوضح للمستخدم لمعرفة أن هناك المزيد */
.vp-smart-list-wrap::-webkit-scrollbar {
    width: 10px;
}
.vp-smart-list-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}
.vp-smart-list-wrap::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}
.vp-smart-list-wrap::-webkit-scrollbar-thumb:hover {
    background: #c2410c;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.3 — إصلاحات نهائية:
   1. زر التشغيل برتقالي صريح في كل smart player (الأبيض كان بسبب CSS variables فارغة من theme)
   2. compact: dropdown موحّدة كافتراضي (بدلاً من tabs أفقية)
   3. medium: ضمان scrollbar دائم
   ═══════════════════════════════════════════════════════════════ */

/* زر التشغيل في smart player (large + medium): برتقالي مثل compact */
.voxpress-podcast-smart .vp-pod-btn-main,
.voxpress-podcast-smart .vp-medium-controls .vp-pod-btn-main {
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4) !important;
    border: 0 !important;
}

.voxpress-podcast-smart .vp-pod-btn-main:hover,
.voxpress-podcast-smart .vp-medium-controls .vp-pod-btn-main:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412) !important;
    transform: scale(1.06);
}

/* ضمان أن SVG داخل الزر بأبيض كامل (مع كل scenarios) */
.voxpress-podcast-smart .vp-pod-btn-main svg,
.voxpress-podcast-smart .vp-pod-btn-main svg path {
    fill: #fff !important;
    color: #fff !important;
    stroke: none !important;
}

/* medium: ضمان scrollbar مرئي دائماً (لو حتى لا يوجد scroll) */
.voxpress-podcast-smart-medium .vp-smart-list-wrap {
    overflow-y: scroll !important;
    scrollbar-gutter: stable;
}

/* large: نفس السلوك — scrollbar دائم */
.voxpress-podcast-smart-large .vp-smart-list-wrap,
.voxpress-podcast-smart .vp-smart-list-wrap {
    scrollbar-gutter: stable;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.4 — custom dropdown يضمن نص أبيض ظاهر + scrollbar مرئي
   ═══════════════════════════════════════════════════════════════ */

/* زر الـ dropdown المخصّص — تاب كبير برتقالي مع نص أبيض ظاهر */
.vp-smart-c-dropdown-btn {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
    transition: all 0.2s !important;
    text-align: right !important;
    direction: rtl !important;
}

.vp-smart-c-dropdown-btn:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4) !important;
}

.vp-smart-c-dropdown-btn[aria-expanded="true"] {
    border-radius: 12px 12px 0 0 !important;
}

.vp-smart-c-dropdown-current {
    color: #fff !important;
    flex: 1;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-smart-c-dropdown-arrow {
    color: #fff !important;
    font-size: 18px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.vp-smart-c-dropdown-btn[aria-expanded="true"] .vp-smart-c-dropdown-arrow {
    transform: rotate(180deg);
}

/* قائمة الـ dropdown */
.vp-smart-c-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #fff;
    border: 2px solid #ea580c;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.18);
    position: relative;
    z-index: 50;
}

.vp-smart-c-dropdown-menu[hidden] {
    display: none;
}

.vp-smart-c-dropdown-option {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 8px;
    color: #1e293b;
    font-size: 13px;
    transition: all 0.15s;
    text-align: right;
    direction: rtl;
}

.vp-smart-c-dropdown-option:hover {
    background: #fef3c7;
    color: #c2410c;
}

.vp-smart-c-dropdown-option.is-selected {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    font-weight: 600;
}

.vp-smart-c-dropdown-option.is-selected:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
}

/* ═══ Medium scrollbar مرئي حقاً ═══ */

/* الحل الجذري: إضافة gradient أسفل القائمة كإشارة بصرية + scrollbar أكثر بروزاً */
.voxpress-podcast-smart-medium .vp-smart-list-wrap,
.voxpress-podcast-smart-large .vp-smart-list-wrap {
    overflow-y: auto !important;
    overflow-x: hidden;
    /* إجبار scrollbar ليكون مرئي على Firefox + الجميع */
    scrollbar-width: thin !important;
    scrollbar-color: #ea580c #fef3c7 !important;
}

/* WebKit: scrollbar كبير وبارز */
.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar,
.voxpress-podcast-smart-large .vp-smart-list-wrap::-webkit-scrollbar {
    width: 12px !important;
    background: #fef3c7 !important;
}

.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar-track,
.voxpress-podcast-smart-large .vp-smart-list-wrap::-webkit-scrollbar-track {
    background: #fef3c7 !important;
    border-radius: 6px !important;
}

.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar-thumb,
.voxpress-podcast-smart-large .vp-smart-list-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ea580c, #c2410c) !important;
    border-radius: 6px !important;
    border: 2px solid #fef3c7 !important;
    min-height: 30px;
}

.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar-thumb:hover,
.voxpress-podcast-smart-large .vp-smart-list-wrap::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c2410c, #9a3412) !important;
}

/* مؤشر بصري مهم: gradient شفاف أسفل القائمة يدلّ على وجود محتوى للسحب */
.vp-smart-list-wrap {
    position: relative;
}

.vp-smart-list-wrap::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    display: block;
    margin-top: -24px;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.6 — Compact Layout A الجديد: tab كبير + tabs menu منسدلة
   ═══════════════════════════════════════════════════════════════ */

.vp-smart-c-current-tab {
    padding: 10px 12px;
    background: #fefce8;
    border-bottom: 1px solid #fde68a;
    position: relative;
}

.vp-smart-c-active-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 0;
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.2s;
}

.vp-smart-c-active-tab:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.vp-smart-c-active-tab .vp-smart-c-tab-icon {
    font-size: 18px;
    color: #fff !important;
    flex-shrink: 0;
}

.vp-smart-c-active-tab-label {
    color: #fff !important;
    flex: 1;
    text-align: right;
}

.vp-smart-c-tabs-toggle-arrow {
    color: #fff !important;
    font-size: 18px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.vp-smart-c-active-tab[aria-expanded="true"] .vp-smart-c-tabs-toggle-arrow {
    transform: rotate(180deg);
}

.vp-smart-c-tabs-menu {
    list-style: none;
    margin: 6px 0 0;
    padding: 6px;
    background: #fff;
    border: 2px solid #ea580c;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.18);
    z-index: 50;
}

.vp-smart-c-tabs-menu[hidden] {
    display: none;
}

.vp-smart-c-tabs-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 6px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
    text-align: right;
    direction: rtl;
}

.vp-smart-c-tabs-menu-item:hover {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #c2410c;
}

.vp-smart-c-tabs-menu-item .vp-smart-c-tab-icon {
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.7 — Medium scrollbar مرئي دائماً (حتى مع ملفين)
   الحل: min-height يجبر القائمة لتكون أطول من max-height، فيظهر scroll
   ═══════════════════════════════════════════════════════════════ */

.voxpress-podcast-smart-medium .vp-smart-list-wrap {
    max-height: 150px !important;
    min-height: 150px !important;
    overflow-y: scroll !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ea580c #fef3c7 !important;
}

/* ضمان scrollbar مرئي (WebKit) */
.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar {
    width: 12px !important;
    background: #fef3c7 !important;
    -webkit-appearance: none !important;
}

.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar-track {
    background: #fef3c7 !important;
    border-radius: 6px !important;
}

.voxpress-podcast-smart-medium .vp-smart-list-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ea580c, #c2410c) !important;
    border-radius: 6px !important;
    border: 2px solid #fef3c7 !important;
    min-height: 30px !important;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.8 — MEDIUM = نصف LARGE (نسخة مصغّرة بنفس الكود/المظهر)
   هذا الـ block يأتي في النهاية ليتجاوز كل القواعد السابقة لـ medium.
   الفلسفة: large يبقى كما هو، medium = scale 50% للأحداثيات.
   ═══════════════════════════════════════════════════════════════ */

.voxpress-podcast-smart.voxpress-podcast-smart-medium {
    max-width: 480px !important;
}

/* tabs أصغر */
.voxpress-podcast-smart-medium .vp-smart-body {
    grid-template-columns: 140px 1fr !important;
    min-height: auto !important;
}

.voxpress-podcast-smart-medium .vp-smart-tabs {
    padding: 8px 5px !important;
}

.voxpress-podcast-smart-medium .vp-smart-tab {
    padding: 7px 9px !important;
    font-size: 12px !important;
    gap: 6px !important;
}

.voxpress-podcast-smart-medium .vp-smart-tab-icon {
    font-size: 14px !important;
}

.voxpress-podcast-smart-medium .vp-smart-tab-settings {
    padding: 7px 9px !important;
    font-size: 11px !important;
}

/* Header (الصورة + العنوان) */
.voxpress-podcast-smart-medium .vp-medium-header {
    min-height: 140px !important;
    padding: 16px !important;
}

.voxpress-podcast-smart-medium .vp-medium-art,
.voxpress-podcast-smart-medium .vp-medium-art-img {
    width: 80px !important;
    height: 80px !important;
}

.voxpress-podcast-smart-medium .vp-medium-title {
    font-size: 14px !important;
}

.voxpress-podcast-smart-medium .vp-medium-label {
    font-size: 10px !important;
}

/* Controls */
.voxpress-podcast-smart-medium .vp-medium-controls {
    padding: 8px !important;
    gap: 8px !important;
}

.voxpress-podcast-smart-medium .vp-medium-controls .vp-pod-btn-main {
    width: 40px !important;
    height: 40px !important;
}

.voxpress-podcast-smart-medium .vp-medium-controls .vp-pod-btn-main .vp-icon-play,
.voxpress-podcast-smart-medium .vp-medium-controls .vp-pod-btn-main .vp-icon-pause {
    width: 22px !important;
    height: 22px !important;
}

.voxpress-podcast-smart-medium .vp-medium-progress {
    padding: 5px 12px !important;
    font-size: 10px !important;
}

/* List items أصغر */
.voxpress-podcast-smart-medium .vp-medium-item {
    padding: 6px 10px !important;
    gap: 8px !important;
}

.voxpress-podcast-smart-medium .vp-medium-item-thumb {
    width: 32px !important;
    height: 32px !important;
}

.voxpress-podcast-smart-medium .vp-medium-item-title {
    font-size: 12px !important;
}

.voxpress-podcast-smart-medium .vp-medium-item-meta {
    font-size: 10px !important;
}

.voxpress-podcast-smart-medium .vp-medium-item-num {
    font-size: 9px !important;
    width: 16px !important;
    height: 16px !important;
}

.voxpress-podcast-smart-medium .vp-medium-item-play {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
}

/* القائمة: 3 ملفات (~3 × 50px = 150px) ثم scrollbar */
.voxpress-podcast-smart-medium .vp-smart-list-wrap {
    max-height: 150px !important;
    overflow-y: auto !important;
}

/* Now actions أصغر */
.voxpress-podcast-smart-medium .vp-now-actions {
    margin-top: 6px !important;
}

.voxpress-podcast-smart-medium .vp-audio-actions > div > button,
.voxpress-podcast-smart-medium .vp-audio-actions > a {
    width: 22px !important;
    height: 22px !important;
}

.voxpress-podcast-smart-medium .vp-audio-actions .voxpress-rating-trigger {
    height: 22px !important;
    padding: 0 6px !important;
}

/* ═══════════════════════════════════════════════════════════════
   v1.4.9 — details/summary للـ compact dropdown (يعمل بدون JS)
   ═══════════════════════════════════════════════════════════════ */

.vp-smart-c-current-tab-details {
    padding: 10px 12px;
    background: #fefce8;
    border-bottom: 1px solid #fde68a;
}

.vp-smart-c-current-tab-details summary {
    list-style: none;
    cursor: pointer;
}

.vp-smart-c-current-tab-details summary::-webkit-details-marker {
    display: none;
}

.vp-smart-c-current-tab-details[open] .vp-smart-c-tabs-toggle-arrow {
    transform: rotate(180deg);
}
