.pr-player {
    --pr-bg: #1b140f;
    --pr-bg-2: #2a1d15;
    --pr-ink: #f6efe6;
    --pr-muted: #cbb8a4;
    --pr-line: rgba(246, 226, 198, 0.16);
    --pr-accent: #ff5a1f;
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 0 0 1.5rem;
    padding: 18px 18px 14px;
    color: var(--pr-ink);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 90, 31, 0.16), transparent 46%),
        var(--pr-bg);
    border: 1px solid #3a2a20;
    border-radius: 18px;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.4;
    text-align: left;
}

.pr-player *,
.pr-player *::before,
.pr-player *::after {
    box-sizing: border-box;
}

.pr-player button,
.pr-player input {
    font-family: inherit;
}

.pr-player__boot {
    margin: 0;
    color: var(--pr-muted);
}

.pr-player__top,
.pr-player__main,
.pr-player__times,
.pr-player__row {
    display: flex;
    align-items: center;
}

.pr-player__top {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pr-player__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pr-player__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pr-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pr-player__badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6);
}

.pr-player.is-live.is-paused .pr-player__badge::before,
.pr-player:not(.is-live) .pr-player__badge::before {
    box-shadow: none;
    opacity: 0.55;
}

.pr-player.is-live:not(.is-paused) .pr-player__badge::before {
    animation: pr-pulse 1.6s ease-out infinite;
}

.pr-player__station,
.pr-player__clock {
    color: var(--pr-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.pr-player__stage {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    align-items: stretch;
}

.pr-player__side {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.pr-player__body {
    min-width: 0;
    padding-left: 14px;
}

.pr-player__main {
    gap: 14px;
}

.pr-player__play {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #1b140f;
    background: var(--pr-accent);
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
}

.pr-player__disc {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    animation: pr-spin 12s linear infinite;
    animation-play-state: paused;
}

.pr-player__play.is-on .pr-player__disc {
    animation-play-state: running;
}

.pr-player__art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-player__glyph {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28%;
    height: 28%;
    border-radius: 50%;
    color: #fff;
    background: rgba(27, 20, 15, 0.42);
    pointer-events: none;
}

.pr-player__glyph svg {
    width: 54%;
    height: 54%;
    fill: currentColor;
}

.pr-player__play.is-on .pr-player__glyph svg {
    width: 46%;
    height: 46%;
}

.pr-player__play:not(.has-art) .pr-player__disc {
    display: none;
}

.pr-player__play:not(.has-art) .pr-player__glyph {
    width: 36%;
    height: 36%;
    color: inherit;
    background: transparent;
}

.pr-player__play:not(.has-art) .pr-player__glyph svg {
    width: 100%;
    height: 100%;
}

.pr-player__play:not(.has-art).is-on .pr-player__glyph svg {
    width: 84%;
    height: 84%;
}

.pr-player__play:hover,
.pr-player__play:focus {
    background: var(--pr-accent);
    color: #1b140f;
    transform: translateY(-1px);
}

@keyframes pr-spin {
    to { transform: rotate(360deg); }
}

.pr-player__meta {
    flex: 1;
    min-width: 0;
}

.pr-player__title {
    overflow: hidden;
    color: var(--pr-ink);
    font-size: 22px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pr-player__sub {
    min-height: 1.2em;
    margin-top: 3px;
    overflow: hidden;
    color: var(--pr-muted);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pr-player__progress {
    height: 4px;
    margin-top: 12px;
    overflow: hidden;
    background: rgba(246, 226, 198, 0.16);
    border-radius: 99px;
}

.pr-player__bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pr-accent);
}

.pr-player__times {
    justify-content: space-between;
    margin-top: 6px;
    color: var(--pr-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pr-player__volume {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.pr-player__volume input {
    width: 84px;
    margin: 0;
    accent-color: var(--pr-accent);
}

.pr-player__hint,
.pr-player__schedule-label {
    margin: 14px 0 0;
    color: var(--pr-muted);
    font-size: 12px;
}

.pr-player__schedule {
    max-height: 280px;
    margin: 8px 0 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.pr-player__row {
    gap: 12px;
    padding: 8px 4px;
    border-top: 1px solid var(--pr-line);
}

.pr-player__row.is-current {
    background: rgba(255, 90, 31, 0.1);
}

.pr-player__when,
.pr-player__len {
    flex: 0 0 auto;
    color: var(--pr-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.pr-player__name {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.pr-player__name b,
.pr-player__name small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pr-player__name b {
    font-weight: 650;
}

.pr-player__name small {
    color: var(--pr-muted);
    font-size: 12px;
}

.pr-player__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pr-player {
    position: relative;
}

.pr-player audio {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.pr-player button.pr-player__install {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 16px 0 0;
    padding: 12px 16px;
    color: #fff7f4;
    background: var(--pr-accent);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}

.pr-player button.pr-player__install:hover,
.pr-player button.pr-player__install:focus {
    color: #fff7f4;
    background: var(--pr-accent);
    transform: translateY(-1px);
}

.pr-player button.pr-player__install:focus-visible {
    outline: 2px solid var(--pr-ink);
    outline-offset: 2px;
}

.pr-player button.pr-player__install:active {
    transform: translateY(0);
}

.pr-player__install-note {
    margin: 8px 0 0;
    color: var(--pr-muted);
    font-size: 12px;
    line-height: 1.45;
}

.pr-player button.pr-player__install[hidden],
.pr-player__install-note[hidden] {
    display: none !important;
}

html.pr-pwa,
html.pr-pwa body {
    margin: 0;
    background: #1b140f;
    min-height: 100%;
}

html.pr-pwa body {
    min-height: 100vh;
    min-height: 100dvh;
}

html.pr-pwa .pr-player {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-right: calc(18px + env(safe-area-inset-right));
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    padding-left: calc(18px + env(safe-area-inset-left));
}

html.pr-pwa .pr-player__stage {
    flex: 1 1 auto;
    min-height: 0;
}

html.pr-pwa .pr-player__body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

html.pr-pwa .pr-player__schedule {
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
}

html.pr-pwa .pr-player__install,
html.pr-pwa .pr-player__install-note {
    display: none !important;
}

@keyframes pr-pulse {
    70% { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

@media (max-width: 640px) {
    .pr-player__main {
        flex-wrap: wrap;
    }

    .pr-player__volume {
        width: 100%;
    }

    .pr-player__volume input {
        width: 100%;
    }

    .pr-player__title {
        font-size: 19px;
    }
}

@media (orientation: portrait) {
    .pr-player__stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-player__side {
        position: relative;
        z-index: 2;
    }

    .pr-player__body {
        padding-top: 14px;
        padding-left: 0;
    }

    html.pr-pwa .pr-player__stage {
        grid-template-rows: auto minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-player__badge::before,
    .pr-player__disc {
        animation: none;
    }
}
