

.page-content .pc-player {
    --pc-rail-h: 4px;
    --pc-knob: 11px;
}

.page-content .pc-audio__art {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--pc-rail);
    color: var(--pc-muted);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}

.page-content .pc-audio__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-content .pc-audio__head {
    min-width: 0;
    margin-bottom: 4px;
}

.page-content .pc-audio__title {
    display: block;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.25;
    color: var(--pc-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-content .pc-audio__artist {
    display: block;
    font-size: .78rem;
    color: var(--pc-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-content .pc-audio__viz {
    display: block;
    width: 100%;
    height: 34px;
}



.page-content .pc-skin-wave {
    --pc-rail-h: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-content .pc-skin-wave .pc-audio__viz {
    height: 38px;
    margin-bottom: 2px;
}

.page-content .pc-skin-wave .pc-audio__knob {
    display: none;
}

.page-content .pc-skin-wave .pc-audio__play {
    clip-path: circle(50%);
}


.page-content .pc-skin-vinyl {
    --pc-audio-accent: #b45309;

    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fdf6ec, var(--pc-surface));
    border-left-color: #b45309;
}

.page-content .pc-skin-vinyl .pc-audio__art {
    width: 58px;
    height: 58px;
    clip-path: circle(50%);
    background: repeating-radial-gradient(circle at 50% 50%,
        #1c1917 0 3px, #292524 3px 4px);
    color: #fde68a;

    animation: pc-spin 4s linear infinite;
    animation-play-state: paused;
}

.page-content .pc-skin-vinyl.is-playing .pc-audio__art {
    animation-play-state: running;
}

.page-content .pc-skin-vinyl .pc-audio__art::after {
    content: '';
    width: 30%;
    height: 30%;
    background: #fdf6ec;
    clip-path: circle(50%);
}

.page-content .pc-skin-vinyl .pc-audio__art img {
    clip-path: circle(50%);
}

@keyframes pc-spin {
    from { transform: rotate(0deg) }
    to   { transform: rotate(360deg) }
}

@media (prefers-reduced-motion: reduce) {
    .page-content .pc-skin-vinyl .pc-audio__art { animation: none }
}


.page-content .pc-skin-neon {
    --pc-surface: #0b1020;
    --pc-border: #1e2a4a;
    --pc-ink: #e2e8ff;
    --pc-muted: #8ea2d0;
    --pc-rail: #16203a;
    --pc-audio-accent: #22d3ee;

    background: linear-gradient(135deg, #0b1020, #131c36);
    border-left-color: #22d3ee;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, .18), 0 6px 22px rgba(9, 14, 30, .45);
}

.page-content .pc-skin-neon .pc-audio__fill {
    background: linear-gradient(90deg, #22d3ee, #a78bfa);
    box-shadow: 0 0 10px rgba(34, 211, 238, .65);
}

.page-content .pc-skin-neon .pc-audio__play {
    clip-path: circle(50%);
    background: #22d3ee;
    color: #06121c;
    box-shadow: 0 0 14px rgba(34, 211, 238, .5);
}

.page-content .pc-skin-neon .pc-audio__knob {
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167, 139, 250, .8);
}


.page-content .pc-skin-tape {
    --pc-audio-accent: #92400e;

    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f4ead6, #e9dcc2);
    border: 1px solid #cbb994;
    border-left: 3px solid #92400e;
    color: #3f2d16;
}

.page-content .pc-skin-tape .pc-audio__title,
.page-content .pc-skin-tape .pc-audio__time { color: #3f2d16 }

.page-content .pc-skin-tape .pc-audio__artist,
.page-content .pc-skin-tape .pc-audio__name { color: #6b5433 }

.page-content .pc-skin-tape .pc-audio__art {
    width: 44px;
    height: 44px;
    clip-path: circle(50%);
    background: repeating-radial-gradient(circle at 50% 50%,
        #4a3722 0 4px, #6b5433 4px 5px);
    color: #f4ead6;
    animation: pc-spin 2.6s linear infinite;
    animation-play-state: paused;
}

.page-content .pc-skin-tape.is-playing .pc-audio__art {
    animation-play-state: running;
}

.page-content .pc-skin-tape .pc-audio__rail {
    background: #cbb994;
}

.page-content .pc-skin-tape .pc-audio__fill {
    background: #92400e;
}

@media (prefers-reduced-motion: reduce) {
    .page-content .pc-skin-tape .pc-audio__art { animation: none }
}


.page-content .pc-skin-glass {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .7);
    border-left: 3px solid var(--pc-accent);

    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 8px 26px rgba(17, 24, 39, .12);
}

body.fx-theme-dark .page-content .pc-skin-glass {
    background: rgba(17, 24, 39, .5);
    border-color: rgba(148, 163, 184, .28);
}

@media (max-width: 1024px), (max-height: 500px) {
    .page-content .pc-skin-glass {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--pc-surface);
    }
}


.page-content .pc-skin-plain {
    --pc-rail-h: 2px;

    padding: 6px 0;
    background: none;
    border: 0;
    border-left: 0;
    box-shadow: none;
    max-width: 460px;
}

.page-content .pc-skin-plain:hover {
    box-shadow: none;
}

.page-content .pc-skin-plain .pc-audio__play {
    width: 34px;
    height: 34px;
    clip-path: circle(50%);
    background: none;
    color: var(--pc-accent);
    border: 2px solid var(--pc-accent);
}

.page-content .pc-skin-plain .pc-audio__knob { display: none }
.page-content .pc-skin-plain .pc-audio__name { display: none }


.page-content .pc-player--video {
    position: relative;
    overflow: hidden;
}

.page-content .pc-player--video.is-ready video::-webkit-media-controls {
    display: none !important;
}

.page-content .pc-video__ui {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(6, 10, 20, 0), rgba(6, 10, 20, .82));
    color: #fff;

    opacity: 1;
    transition: opacity .22s ease;
}

.page-content .pc-player--video.is-idle .pc-video__ui {
    opacity: 0;
    pointer-events: none;
}

.page-content .pc-video__btn {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.page-content .pc-video__btn svg { width: 17px; height: 17px; fill: currentColor }
.page-content .pc-video__btn:hover { color: var(--pc-accent) }

.page-content .pc-video__track {
    flex: 1 1 auto;
    min-width: 0;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.page-content .pc-video__rail {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, .3);
}

.page-content .pc-video__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--pc-accent);
}

.page-content .pc-video__time {
    flex: none;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .88);
}

.page-content .pc-video__big {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    margin: -33px 0 0 -33px;
    display: grid;
    place-items: center;
    clip-path: circle(50%);
    background: rgba(6, 10, 20, .55);
    border: 0;
    color: #fff;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.page-content .pc-video__big svg { width: 26px; height: 26px; fill: currentColor }
.page-content .pc-video__big:hover { transform: scale(1.06) }

.page-content .pc-player--video.is-playing .pc-video__big {
    opacity: 0;
    pointer-events: none;
}


.page-content .pc-skin-cinema {
    background: #05070d;
    border: 1px solid #1b2334;
    padding: 10px;
    box-shadow: 0 14px 40px rgba(5, 7, 13, .5);
}

.page-content .pc-skin-cinema .pc-video__ui {
    inset: auto 10px 10px 10px;
    background: linear-gradient(180deg, rgba(5, 7, 13, 0), rgba(5, 7, 13, .9));
}


.page-content .pc-skin-film {
    background: #14100c;
    border: 0;
    padding: 0 16px;
}

.page-content .pc-skin-film::before,
.page-content .pc-skin-film::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16px;
    background-image: repeating-linear-gradient(180deg,
        transparent 0 6px, #e8e2d6 6px 14px, transparent 14px 20px);
    opacity: .75;
}

.page-content .pc-skin-film::before { left: 0 }
.page-content .pc-skin-film::after  { right: 0 }

.page-content .pc-skin-film .pc-video__ui {
    inset: auto 16px 0 16px;
}


@media (max-width: 1024px), (max-height: 500px) {
    .page-content .pc-audio__title { font-size: .88rem }
    .page-content .pc-audio__artist,
    .page-content .pc-video__time { font-size: 12px }

    .page-content .pc-video__btn { width: 40px; height: 40px }
    .page-content .pc-video__big { width: 58px; height: 58px; margin: -29px 0 0 -29px }

    .page-content .pc-skin-vinyl .pc-audio__art,
    .page-content .pc-skin-tape .pc-audio__art { width: 44px; height: 44px }
}


.page-content .pc-skin-vinyl .pc-audio__play,
.page-content .pc-skin-tape .pc-audio__play,
.page-content .pc-skin-glass .pc-audio__play {
    clip-path: circle(50%);
}

.page-content .pc-skin-neon .pc-audio__art {
    background: #16203a;
    color: #8ea2d0;
}

.page-content .pc-skin-glass .pc-audio__art {
    background: rgba(255, 255, 255, .55);
    color: var(--pc-muted);
}

body.fx-theme-dark .page-content .pc-skin-glass .pc-audio__art {
    background: rgba(148, 163, 184, .18);
}

.page-content .pc-skin-vinyl .pc-audio__play {
    background: #b45309;
}

.page-content .pc-skin-tape .pc-audio__play {
    background: #92400e;
}


.page-content .pc-playlist {
    display: block;
    padding: 0;
}

.page-content .pc-playlist .pc-audio__ui {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}

.page-content .pc-playlist__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pc-border);

    max-height: 280px;
    overflow-y: auto;
}

.page-content .pc-playlist__list li {
    margin: 0;
    border-bottom: 1px solid var(--pc-border);
}

.page-content .pc-playlist__list li:last-child { border-bottom: 0 }

.page-content .pc-playlist__list a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 16px;
    color: var(--pc-ink);
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.35;

    min-height: 37px;
    box-sizing: border-box;
}

.page-content .pc-playlist__list a:hover {
    background: var(--pc-rail);
}

.page-content .pc-playlist__list li.is-on a {
    color: var(--pc-audio-accent, var(--pc-accent));
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--pc-audio-accent, var(--pc-accent));
}

.page-content .pc-playlist__num {
    flex: none;
    min-width: 1.4em;
    font-variant-numeric: tabular-nums;
    color: var(--pc-muted);
    font-weight: 600;
}

.page-content .pc-playlist__who {
    margin-left: auto;
    flex: none;
    font-size: .78rem;
    color: var(--pc-muted);
}

@media (max-width: 1024px), (max-height: 500px) {
    .page-content .pc-playlist__list a { font-size: .9rem; min-height: 44px }
    .page-content .pc-playlist__who { font-size: 12px }
    .page-content .pc-playlist__list { max-height: 320px }
}


.page-content .pc-chapters {
    margin: 1.6rem 0;
}

.page-content .pc-chapters > .pc-player { margin: 0 }

.page-content .pc-chapters__list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--pc-surface);
    border: 1px solid var(--pc-border);
    border-top: 0;

    max-height: 260px;
    overflow-y: auto;
}

.page-content .pc-chapters__list li {
    margin: 0;
    border-bottom: 1px solid var(--pc-border);
}

.page-content .pc-chapters__list li:last-child { border-bottom: 0 }

.page-content .pc-chapters__list a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 14px;
    color: var(--pc-ink);
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.35;

    min-height: 37px;
    box-sizing: border-box;
}

.page-content .pc-chapters__list a:hover { background: var(--pc-rail) }

.page-content .pc-chapters__list li.is-on a {
    color: var(--pc-accent);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--pc-accent);
}

.page-content .pc-chapters__at {
    flex: none;
    min-width: 3.2em;
    font-variant-numeric: tabular-nums;
    font-size: .8rem;
    color: var(--pc-muted);
    font-weight: 600;
}

.page-content .pc-chapters__list li.is-on .pc-chapters__at { color: inherit }

.page-content .pc-video__mark {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, .85);
    pointer-events: none;
}

@media (max-width: 1024px), (max-height: 500px) {
    .page-content .pc-chapters__list a { font-size: .9rem; min-height: 44px }
    .page-content .pc-chapters__at { font-size: 12px }
    .page-content .pc-chapters__list { max-height: 300px }

    .page-content .pc-video__mark { width: 3px; margin-left: -1.5px }
}
