/* ── Robo Radio Spot – player.css ── */
.rrs-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
    font-family: inherit;
}

.rrs-player {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* info row */
.rrs-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.rrs-icon {
    font-size: 1.3em;
    line-height: 1;
}
.rrs-title {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* controls row */
.rrs-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* buttons */
.rrs-btn {
    background: none;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    padding: 0;
}
.rrs-btn:hover {
    border-color: #e63946;
    background: rgba(230,57,70,.12);
}
.rrs-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rrs-play svg polygon {
    fill: #fff;
    stroke: none;
}
.rrs-play.is-playing svg polygon {
    display: none;
}
.rrs-play.is-playing svg::after {
    content: '';
}
/* pause icon via CSS when playing */
.rrs-play.is-playing svg {
    position: relative;
}
/* swap polygon for two rects when playing */
.rrs-play svg .rrs-pause { display: none; }
.rrs-play.is-playing svg .rrs-pause { display: block; }
.rrs-play.is-playing svg polygon { display: none; }

/* progress */
.rrs-progress-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rrs-progress-bar {
    position: relative;
    height: 5px;
    background: rgba(255,255,255,.18);
    border-radius: 99px;
    cursor: pointer;
    overflow: hidden;
}
.rrs-progress-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: #e63946;
    border-radius: 99px;
    transition: width .1s linear;
}
.rrs-progress-bar:hover .rrs-progress-fill {
    background: #ff6b7a;
}

.rrs-time {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    text-align: right;
}

/* mute lines hidden when muted */
.rrs-mute.is-muted .rrs-mute-lines {
    opacity: 0;
}

/* responsive */
@media (max-width: 480px) {
    .rrs-player { padding: 14px 14px; }
    .rrs-btn { width: 38px; height: 38px; }
}
