.music-slideshow {
    display: none;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}
.music-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    backface-visibility: hidden;
}
.ms-media {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    transform: scale(1.06) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}
html:not(.rc-lite) .music-slide.is-active .ms-media {
    animation-duration: 16s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}
html:not(.rc-lite) .music-slide.is-active .ms-media.kb0 { animation-name: kbA; }
html:not(.rc-lite) .music-slide.is-active .ms-media.kb1 { animation-name: kbB; }
html:not(.rc-lite) .music-slide.is-active .ms-media.kb2 { animation-name: kbC; }
html:not(.rc-lite) .music-slide.is-active .ms-media.kb3 { animation-name: kbD; }
@keyframes kbA { from { transform: scale(1.04) translate3d(0, 0, 0); }        to { transform: scale(1.14) translate3d(1.5%, -1%, 0); } }
@keyframes kbB { from { transform: scale(1.14) translate3d(1%, 1%, 0); }       to { transform: scale(1.04) translate3d(-1.5%, 0, 0); } }
@keyframes kbC { from { transform: scale(1.1)  translate3d(-2.5%, 0, 0); }     to { transform: scale(1.1)  translate3d(2.5%, 0.5%, 0); } }
@keyframes kbD { from { transform: scale(1.08) translate3d(2%, 1.5%, 0); }     to { transform: scale(1.16) translate3d(-2%, -1.5%, 0); } }
.music-slide.en-fade  { animation: msFade  1.7s ease both; }
.music-slide.en-zoom  { animation: msZoom  1.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.music-slide.en-swipe { animation: msSwipe 1.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.music-slide.en-iris  { animation: msIris  1.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.music-slide.en-push  { animation: msPush  1.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes msFade {
    0%   { opacity: 0; filter: brightness(1.18); }
    100% { opacity: 1; filter: brightness(1); }
}
@keyframes msZoom {
    0%   { opacity: 0; transform: scale(1.07); filter: brightness(1.22); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
@keyframes msSwipe {
    0%   { opacity: 1; clip-path: inset(0 0 0 100%); filter: brightness(1.3); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); filter: brightness(1); }
}
@keyframes msIris {
    0%   { opacity: 1; clip-path: circle(0% at 50% 50%); filter: brightness(1.3); }
    100% { opacity: 1; clip-path: circle(150% at 50% 50%); filter: brightness(1); }
}
@keyframes msPush {
    0%   { opacity: 0; transform: translate3d(7%, 0, 0); filter: brightness(1.14); }
    55%  { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0); filter: brightness(1); }
}
.music-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, 0.14) 0%, rgba(5, 7, 12, 0) 40%, rgba(5, 7, 12, 0.5) 100%),
        radial-gradient(130% 90% at 0% 0%, rgba(36, 86, 214, 0.14) 0%, transparent 55%),
        radial-gradient(120% 90% at 100% 100%, rgba(233, 185, 73, 0.12) 0%, transparent 55%);
    box-shadow: inset 0 0 90px rgba(5, 7, 12, 0.55);
    transition: opacity 0.4s ease;
}
.music-slideshow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.12) 47%, rgba(233, 185, 73, 0.2) 50%, rgba(255, 255, 255, 0.12) 53%, transparent 62%);
    background-size: 260% 100%;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    transition: opacity 0.4s ease;
    animation: msSheen 8.5s ease-in-out infinite;
}
@keyframes msSheen {
    0%   { background-position: 180% 0; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { background-position: -80% 0; opacity: 0; }
}
.music-slideshow.has-video .music-slide { opacity: 0; }
.music-slideshow.has-video::after { opacity: 0; }
.music-slideshow.has-video::before { animation: none; opacity: 0; }
.music-slideshow .video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 0;
    z-index: 8;
}
.music-slideshow .youtube-player-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 8;
}
html.rc-lite .music-slideshow::before { display: none; }
@media (prefers-reduced-motion: reduce) {
    .music-slideshow::before { animation: none; opacity: 0; }
    html:not(.rc-lite) .music-slide.is-active .ms-media { animation: none; }
    .music-slide.en-fade { animation-duration: 0.5s; }
}
@media (min-width: 1024px) {
    .music-slideshow {
        display: block;
        height: 100%;
        min-height: 340px;
    }
}
.rc-photo-credit {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 9;
    max-width: calc(100% - 24px);
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(5, 7, 12, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-secondary, "Inter", sans-serif);
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.01em;
    pointer-events: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.rc-photo-credit a {
    color: var(--accent-gold-light, #f7d888);
    text-decoration: none;
    font-weight: 600;
}
.rc-photo-credit a:hover {
    text-decoration: underline;
}
html.rc-lite .rc-photo-credit {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html.rc-light .rc-photo-credit a {
    color: #f7d888;
}
@media (max-width: 768px) {
    .media-item .rc-photo-credit {
        bottom: 48px;
    }
}
.media-item .rc-photo-credit {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.media-item:hover .rc-photo-credit,
.media-item:focus-within .rc-photo-credit {
    opacity: 1;
    pointer-events: auto;
}
.gallery-item .rc-photo-credit {
    top: 12px;
    right: 12px;
    bottom: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .rc-photo-credit,
.gallery-item:focus-within .rc-photo-credit {
    opacity: 1;
    pointer-events: auto;
}
.media-item .rc-photo-credit.rc-credit-peek {
    animation: rcCreditPeek 3s ease both;
}
@keyframes rcCreditPeek {
    0% { opacity: 0; transform: translateY(6px); }
    12% { opacity: 1; transform: translateY(0); }
    78% { opacity: 1; }
    100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .media-item .rc-photo-credit.rc-credit-peek {
        animation: none;
    }
}
