/* =============================================
   STAFF PICKS — staff-picks.css
   ============================================= */

/* ── PC: show slider, hide mobile grid ── */
.sp-slider      { display: flex; }
.sp-mobile-grid { display: none; }

/* ── Mobile (≤639px): hide slider, show 2-col grid ── */
@media (max-width: 639px) {
    .sp-slider       { display: none !important; }
    .sp-scroll-btn   { display: none !important; }

    .sp-mobile-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ── Crown / Pin icon inside poster ── */
.sp-pin-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(168, 85, 247, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.5);
    animation: spCrownPulse 2.5s ease-in-out infinite;
}
.sp-pin-icon i {
    font-size: 11px;
    color: #e9d5ff;
}
@keyframes spCrownPulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(124, 58, 237, 0.5); }
    50%       { box-shadow: 0 2px 18px rgba(168, 85, 247, 0.75); }
}

/* ── TV badge ── */
.sp-tv-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #fff;
    letter-spacing: 0.04em;
    z-index: 3;
}

/* ── Rating badge ── */
.sp-rating-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(250, 204, 21, 0.18);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #facc15;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 3px;
}
.sp-rating-badge i { font-size: 8px; }

/* ── No poster placeholder ── */
.sp-no-poster {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: rgba(255, 255, 255, 0.12);
    font-size: 36px;
}

/* ── PC card hover: purple glow ── */
.sp-card:hover .trend-poster {
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(124,58,237,0.22) !important;
    border-color: rgba(124,58,237,0.4) !important;
}
.sp-card:hover .trend-title { color: #a855f7 !important; }

/* ── Mobile card ── */
.sp-mob-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.sp-mob-poster {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sp-mob-card:hover .sp-mob-poster {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0,0,0,0.6), 0 0 16px rgba(124,58,237,0.22);
    border-color: rgba(124, 58, 237, 0.4);
}
.sp-mob-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.sp-mob-card:hover .sp-mob-poster img { transform: scale(1.07); }

.sp-mob-badge {
    position: absolute;
    top: 8px; right: 8px;
    font-size: 8px; font-weight: 800;
    padding: 2px 7px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 5px;
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
    text-transform: uppercase;
    z-index: 3;
}
.sp-mob-title {
    margin-top: 7px;
    font-size: 12px; font-weight: 700;
    color: #e5e7eb;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    transition: color 0.2s;
}
.sp-mob-card:hover .sp-mob-title { color: #a855f7; }

/* ── Light mode ── */
html:not(.dark) .sp-mob-poster   { background: #f3f3f3; border-color: rgba(0,0,0,0.08); }
html:not(.dark) .sp-mob-title    { color: #333; }
html:not(.dark) .sp-mob-card:hover .sp-mob-title { color: #7c3aed; }
html:not(.dark) .sp-no-poster    { background: linear-gradient(135deg, #e8e8f0, #d0d0e8); color: rgba(0,0,0,0.15); }
