/* Scoped exclusively to the ROUGHVOW album component and its inspector. */
.rv-album-library{width:100%;min-width:0;box-sizing:border-box;color:inherit;font:inherit;overflow-wrap:break-word}
.rv-album-library *{box-sizing:border-box}
.rv-album-grid{display:grid;grid-template-columns:repeat(var(--rv-columns,4),minmax(0,1fr));gap:var(--rv-gap,24px);align-items:start}
.rv-album-library button{font:inherit;color:inherit;cursor:pointer}
.rv-album-card{display:flex;align-items:center;flex-direction:column;gap:7px;width:100%;min-width:0;border:0;background:transparent;padding:3px;text-align:center}
.rv-cover-frame{display:grid;place-items:center;position:relative;width:var(--rv-cover-width,100%);min-height:20px}
.rv-cover-frame img{display:block;width:100%;height:auto;object-fit:contain}
.rv-cover-frame::after{content:'';position:absolute;inset:0;pointer-events:none;background:rgb(255 255 255 / 16%);opacity:0;transition:opacity .18s}
@media(hover:hover){.rv-album-card:hover .rv-cover-frame::after{opacity:1}}
.rv-album-card:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.rv-album-card[aria-pressed=true] .rv-cover-frame{outline:1px solid currentColor;outline-offset:3px}
.rv-cover-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:1;background:#f4f4f4;color:#888;font-size:12px}
.rv-album-title{font-size:14px;line-height:1.5}.rv-album-year{color:#777;font-size:12px;line-height:1.4}
.rv-album-player{max-width:100%;min-width:0;padding:24px 0;border-top:1px solid #ddd;text-align:left}
.rv-album-player[hidden]{display:none}
.rv-album-info{display:flex;gap:24px;align-items:flex-start;min-width:0}
.rv-player-cover{display:block;width:min(var(--rv-player-cover,180px),40%);height:auto;object-fit:contain;flex-shrink:0}
.rv-player-cover[hidden]{display:none}.rv-player-meta{min-width:0;flex:1}
.rv-album-library .rv-player-title{font-size:20px;font-weight:400;line-height:1.5;margin:0 0 8px}
.rv-album-library .rv-player-artist,.rv-album-library .rv-player-description{font-size:14px;line-height:1.7;margin:0 0 8px;white-space:pre-wrap}
.rv-current-track{margin:24px 0 12px;font-size:14px;line-height:1.5}
.rv-transport{display:grid;grid-template-columns:44px 44px 44px auto minmax(40px,1fr) auto;gap:6px;align-items:center}
.rv-transport button,.rv-player-options button{border:1px solid #ddd;background:white;min-height:44px;min-width:44px;padding:6px}
.rv-transport button{font-size:24px}.rv-transport button:disabled{opacity:.3;cursor:default}
.rv-album-library input[type=range]{min-width:0;width:100%;accent-color:#171717;margin:0;cursor:pointer;min-height:36px}
.rv-current,.rv-duration{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.rv-player-options{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:12px 0 20px;font-size:12px}
.rv-player-options .rv-volume{width:110px;max-width:35%}.rv-repeat-label{display:flex;align-items:center;gap:6px;min-height:44px;margin:0}
.rv-track-list{list-style:none;padding:0;margin:0;border-top:1px solid #eee}
.rv-track-list li{margin:0;padding:0}.rv-track{display:flex;gap:18px;border:0;border-bottom:1px solid #eee;background:transparent;text-align:left;width:100%;min-height:46px;align-items:center;padding:10px 12px;font-size:14px;line-height:1.5}
.rv-track-number{font-size:12px;color:#888;min-width:22px}.rv-track-name{min-width:0}
.rv-track[aria-current=true]{background:#f3f3f3}.rv-track.is-playing{font-weight:600}.rv-track.is-playing .rv-track-number::after{content:' ▸'}
.rv-status,.rv-empty{font-size:12px;line-height:1.6;color:#777}.rv-audio{display:none}
.rv-editor fieldset{margin:12px 0;padding:10px;border:1px solid #ddd;min-width:0}.rv-editor .rv-editor-actions{display:flex;gap:5px;flex-wrap:wrap}.rv-editor input,.rv-editor select,.rv-editor textarea{max-width:100%}.rv-editor .rv-track-editor{border-top:1px solid #eee;padding:10px 0}.rv-editor .rv-file-path{font-size:11px;overflow-wrap:break-word;color:#777}.rv-editor .rv-layout-controls{margin-top:20px}
@media (max-width: 700px), (max-height: 700px) and (hover: none) and (pointer: coarse){:where(html:not([data-site-device])) .rv-album-grid{column-gap:var(--rv-gap,24px)}:where(html:not([data-site-device])) .rv-album-info{gap:16px}:where(html:not([data-site-device])) .rv-album-library .rv-player-title{font-size:18px}:where(html:not([data-site-device])) .rv-transport{grid-template-columns:44px 44px 44px 1fr 1fr}:where(html:not([data-site-device])) .rv-seek{grid-row:2;grid-column:1/-1}:where(html:not([data-site-device])) .rv-current{justify-self:end}:where(html:not([data-site-device])) .rv-duration{justify-self:end}:where(html:not([data-site-device])) .rv-player-options{gap:8px}:where(html:not([data-site-device])) .rv-track{padding:10px 4px}:where(html:not([data-site-device])) .rv-album-player{width:100%!important;margin-left:0!important}}
:where(html[data-site-device="mobile"]) .rv-album-grid{column-gap:var(--rv-gap,24px)}:where(html[data-site-device="mobile"]) .rv-album-info{gap:16px}:where(html[data-site-device="mobile"]) .rv-album-library .rv-player-title{font-size:18px}:where(html[data-site-device="mobile"]) .rv-transport{grid-template-columns:44px 44px 44px 1fr 1fr}:where(html[data-site-device="mobile"]) .rv-seek{grid-row:2;grid-column:1/-1}:where(html[data-site-device="mobile"]) .rv-current{justify-self:end}:where(html[data-site-device="mobile"]) .rv-duration{justify-self:end}:where(html[data-site-device="mobile"]) .rv-player-options{gap:8px}:where(html[data-site-device="mobile"]) .rv-track{padding:10px 4px}:where(html[data-site-device="mobile"]) .rv-album-player{width:100%!important;margin-left:0!important}
@media(prefers-reduced-motion:reduce){.rv-cover-frame::after{transition:none}}

.rv-mobile .rv-album-grid{column-gap:var(--rv-gap,24px)}.rv-mobile .rv-album-info{gap:16px}.rv-mobile .rv-player-title{font-size:18px}.rv-mobile .rv-transport{grid-template-columns:44px 44px 44px 1fr 1fr}.rv-mobile .rv-seek{grid-row:2;grid-column:1/-1}.rv-mobile .rv-current,.rv-mobile .rv-duration{justify-self:end}.rv-mobile .rv-player-options{gap:8px}.rv-mobile .rv-track{padding:10px 4px}.rv-mobile .rv-album-player{width:100%!important;margin-left:0!important}
/* v62: manual, single-row cover carousel. Arrow gutters stay outside images. */
.rv-album-grid.rv-carousel,.rv-album-grid.rv-carousel.has-frame-viewport>[data-frame-inner]{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:12px!important;align-items:center}
.rv-album-window{width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain}
.rv-album-window::-webkit-scrollbar{display:none}
.rv-album-track{display:flex;flex-wrap:nowrap;gap:var(--rv-gap,24px);width:100%;min-width:0;align-items:flex-start;padding:4px 0}
.rv-album-track>.rv-album-card{flex:0 0 calc((100% - (var(--rv-columns,3) - 1)*var(--rv-gap,24px))/var(--rv-columns,3));min-width:0;max-width:none;scroll-snap-align:start}
.rv-albums-prev,.rv-albums-next{display:grid;place-items:center;width:32px;min-height:44px;padding:0;border:0;background:transparent;color:#888!important;font-size:32px!important;line-height:1;cursor:pointer}
.rv-albums-prev:disabled,.rv-albums-next:disabled{opacity:.22;cursor:default}
.rv-albums-prev:focus-visible,.rv-albums-next:focus-visible,.rv-album-window:focus-visible{outline:1px solid #999;outline-offset:2px}
.rv-timeline-wrap{container:rv-timeline / inline-size;min-width:min(160px,100%);max-width:100%}
.rv-timeline-wrap .rv-transport{width:100%;min-width:0}
.rv-album-player .rv-player-title,.rv-album-player .rv-current-track,.rv-album-player .rv-track-list{max-width:100%;overflow-wrap:break-word}
.rv-album-player.is-album-part{width:var(--rv-part-width)!important;max-width:none;margin-left:0!important}
.rv-album-library input[type=range]{appearance:none;-webkit-appearance:none;accent-color:#999;background:transparent;min-width:0;height:32px;padding:0}
.rv-album-library input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:2px;background:#d0d0d0}
.rv-album-library input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:#999}
.rv-album-library input[type=range]::-moz-range-track{height:3px;border:0;border-radius:2px;background:#d0d0d0}
.rv-album-library input[type=range]::-moz-range-progress{height:3px;background:#a0a0a0}
.rv-album-library input[type=range]::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#999}
@container rv-timeline (max-width:360px){.rv-timeline-wrap .rv-transport{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.rv-timeline-wrap .rv-prev{grid-area:1/1}.rv-timeline-wrap .rv-play{grid-area:1/2}.rv-timeline-wrap .rv-next{grid-area:1/3}.rv-timeline-wrap .rv-current{grid-area:2/1;justify-self:start}.rv-timeline-wrap .rv-duration{grid-area:2/3;justify-self:end}.rv-timeline-wrap .rv-seek{grid-area:3/1/4/4}.rv-timeline-wrap .rv-transport button{min-width:0;width:100%;padding:4px}}

/* v63: an empty editor library still exposes the actual transport controls. */
.rv-editor-empty .rv-album-track{display:block;min-height:44px}
.rv-editor-empty .rv-empty{margin:8px 0}
.rv-editor-empty .rv-player-cover{display:none}

/* v70: icon-only mute and album repeat, with native keyboard/touch controls. */
.rv-player-options .rv-icon-control { position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--quiet,#777);cursor:pointer; }
.rv-player-options .rv-icon-control > svg { display:block;width:20px;height:20px;flex:none;pointer-events:none; }
.rv-repeat-label .rv-repeat { position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;opacity:0;cursor:pointer; }
.rv-player-options .rv-mute[aria-pressed=true],.rv-player-options .rv-repeat-label:has(.rv-repeat:checked) { background:rgb(128 128 128 / 12%); }
.rv-player-options .rv-icon-control:focus-visible,.rv-player-options .rv-repeat-label:focus-within { outline:1px solid currentColor;outline-offset:2px; }
.rv-player-options .rv-repeat-label:has(.rv-repeat:disabled) { opacity:.35;cursor:default; }
