 

.musiveo-playlist-dialog-open {
	overflow: hidden;
}

.musiveo-playlist-dialog {
	position: fixed;
	inset: 0;
	z-index: 100090;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.musiveo-playlist-dialog.is-open {
	display: flex;
}

.musiveo-playlist-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: #000000;
	opacity: 0.7;
}

.musiveo-playlist-dialog__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 26rem;
	max-height: 84vh;
	overflow-y: auto;
	padding: 1.5rem;
	background: #101010;
	border: 1px solid #2e2e34;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
	color: #f2f2f4;
}

.musiveo-playlist-dialog__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f2f2f4;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.12s ease-out;
}

.musiveo-playlist-dialog__close:hover,
.musiveo-playlist-dialog__close:focus-visible {
	opacity: 1;
}

.musiveo-playlist-dialog__title {
	margin: 0 0 0.25rem;
	padding-right: 2rem;
	font-size: 1.125rem;
	color: #ffffff;
}

.musiveo-playlist-dialog__item {
	margin: 0 0 1rem;
	color: #f2f2f4;
	font-size: 0.9rem;
}

/* `[hidden]` is the subject, not an afterthought: in manage mode the item line is hidden by
   ATTRIBUTE and an attribute-hidden element still takes part in layout unless something says so. */
.musiveo-playlist-dialog__item[hidden] {
	display: none;
}

.musiveo-playlist-dialog__message {
	margin: 0 0 0.75rem;
	color: #f2f2f4;
	font-size: 0.85rem;
}

.musiveo-playlist-dialog__message:empty {
	display: none;
}

.musiveo-playlist-dialog__message.is-error {
	color: #ffffff;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d63b3b;
	border-radius: 4px;
	background: #161616;
}

.musiveo-playlist-dialog__loading,
.musiveo-playlist-dialog__empty {
	margin: 0 0 0.5rem;
	color: #f2f2f4;
	font-size: 0.9rem;
}

.musiveo-playlist-dialog__list {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

/*
 * A ROW IS A BUTTON, AND IT IS STYLED AS ONE DELIBERATELY.
 *
 * `appearance: none` plus an explicit background, because the frozen theme paints `button` with a
 * gradient shorthand and `border-box` conic fill. **A shorthand resets every longhand it names**, so
 * setting only `background-color` would leave the image in place and the row would render as a
 * purple disc with a black centre -- the 10.93 trap, in a new place.
 */
 
.musiveo-playlist-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0.625rem 0.75rem;
	border: 1px solid #2e2e34;
	border-radius: 4px;
	background: #161616;
	color: #f2f2f4;
	text-align: left;
	transition: background-color 0.12s ease-out, border-color 0.12s ease-out;
}

.musiveo-playlist-row:hover {
	background: #1e1e1e;
	border-color: var(--musiveo-accent, var(--color-primary, #8E50F8));
}

/* A ROW YOU CANNOT EDIT IS MARKED, NOT HIDDEN. Removing it would make the list shorter for a
   reason the visitor cannot see (10.11), so it stays and says so. */
.musiveo-playlist-row.is-locked {
	cursor: not-allowed;
	opacity: 0.55;
}

/* THE LINK. `flex: 1 1 auto` so it takes the row's spare width, and the ellipsis is inherited
   from the rule this replaces -- a long playlist name must not push the tick off the row. */
.musiveo-playlist-row__link {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
}

.musiveo-playlist-row__link:hover,
.musiveo-playlist-row__link:focus-visible {
	color: var(--musiveo-accent, var(--color-primary, #8E50F8));
	text-decoration: underline;
	outline: 2px solid var(--musiveo-accent, var(--color-primary, #8E50F8));
	outline-offset: 2px;
}

/* THE TOGGLE. Transparent, because the ROW already draws the box -- a second border inside the
   first would be two outlines around one control. */
.musiveo-playlist-row__toggle {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	margin: 0;
	padding: 0.25rem;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	border-radius: 4px;
}

.musiveo-playlist-row__toggle:hover:not(:disabled),
.musiveo-playlist-row__toggle:focus-visible {
	background: #232323;
	outline: 2px solid var(--musiveo-accent, var(--color-primary, #8E50F8));
	outline-offset: 1px;
}

.musiveo-playlist-row__toggle:disabled {
	cursor: not-allowed;
}

.musiveo-playlist-row__count {
	flex: 0 0 auto;
	color: #f2f2f4;
	font-size: 0.8rem;
	opacity: 0.75;
}

/*
 * THE TICK.
 *
 * Drawn from `[aria-pressed="true"]` rather than a class, because `aria-pressed` is what the
 * control sets and what a screen reader announces. **Styling the class and announcing the
 * attribute would be two sources for one state**, and they would disagree the first time one of
 * them was updated (10.13).
 */
.musiveo-playlist-row__tick {
	flex: 0 0 auto;
	width: 1.125rem;
	text-align: center;
	color: #ffffff;
}

/* THE PRESSED STATE IS THE ROW'S, because that is where the handler keeps it. */
.musiveo-playlist-row[aria-pressed="true"] {
	border-color: var(--musiveo-accent, var(--color-primary, #8E50F8));
}

.musiveo-playlist-row__toggle[aria-pressed="true"] .musiveo-playlist-row__tick::after {
	content: "\2713";
}

.musiveo-playlist-row__toggle[aria-pressed="false"] .musiveo-playlist-row__tick::after {
	content: "\002b";
	opacity: 0.4;
}

/*
 * MANAGE MODE: NO TICKS.
 *
 * With no item there is nothing to add, so a tick column would promise a switch that cannot be
 * thrown. The column is removed rather than shown empty -- **a control that looks inert is still a
 * control** (10.13).
 */
.musiveo-playlist-dialog.is-manage .musiveo-playlist-row__tick {
	display: none;
}

.musiveo-playlist-dialog.is-manage .musiveo-playlist-row__toggle[aria-pressed="false"] .musiveo-playlist-row__tick::after {
	content: none;
}

 

/* IN FLIGHT. The row is a div, so `disabled` cannot dim it; the class is what the handler sets,
   and this is what makes the second click visibly pointless rather than merely blocked. */
.musiveo-playlist-row.is-busy {
	opacity: 0.7;
	pointer-events: none;
}

.musiveo-playlist-dialog__actions {
	margin-top: 1rem;
	padding-top: 0.875rem;
	border-top: 1px solid #2e2e34;
}

button.musiveo-playlist-dialog__new {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid #2e2e34 !important;
	border-radius: 4px;
	background: transparent !important;
	background-image: none !important;
	color: #ffffff;
	font: inherit;
	cursor: pointer;
}

button.musiveo-playlist-dialog__new:hover,
button.musiveo-playlist-dialog__new:focus-visible {
	background: #161616 !important;
	border-color: var(--musiveo-accent, var(--color-primary, #8E50F8)) !important;
}

/* ----------------------------------------------------------------------- *
 * THE CREATE FORM -- the "+ New playlist" button used to have NOTHING behind it.
 * ----------------------------------------------------------------------- */

/*
 * THE FORM IS IN THE MARKUP AND STARTS WITH THE `hidden` ATTRIBUTE. The rule below is not cosmetic:
 * an attribute-hidden element STILL TAKES PART IN LAYOUT unless something says otherwise, so without
 * it the form sits visible as an unexplained gap under the button and `hidden` is a lie (10.114).
 */
.musiveo-playlist-dialog__new-form[hidden] {
	display: none;
}

.musiveo-playlist-dialog__new-form {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #2e2e34;
}

.musiveo-playlist-dialog__row {
	margin: 0 0 0.75rem;
}

.musiveo-playlist-dialog__row label {
	display: block;
	margin-bottom: 0.25rem;
	color: #f2f2f4;
	font-size: 0.875rem;
}

/*
 * THE FIGHT THE FROZEN SHEET WINS.
 *
 * MEASURED, the theme carries `input[type="text"]` with `background: #111111 !important` and
 * `max-width: 400px`. This field therefore states BOTH the background and the max-width, with
 * `!important`, reproducing the winning declarations rather than trying to out-specify them --
 * **raising specificity without importance cannot work** (10.93).
 */
.musiveo-playlist-dialog__row input {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0.5rem 0.625rem;
	border: 1px solid #2e2e34;
	border-radius: 4px;
	background: #000000 !important;
	color: #ffffff;
	font: inherit;
}

.musiveo-playlist-dialog__row input:focus-visible {
	outline: 2px solid var(--musiveo-accent, var(--color-primary, #8E50F8));
	outline-offset: 1px;
}

.musiveo-playlist-dialog__new-actions {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

/*
 * THE SUBMIT IS A `<button type="submit">`, AND THE THEME FORCES A PURPLE CONIC GRADIENT ONTO
 * `button[type="submit"]` WITH `!important`. **The selector is reproduced and answered with the
 * same importance** -- importance alone cannot beat (0,1,1) and specificity alone cannot beat an
 * `!important` (10.93). A violet gradient on the create button is also a surface the palette forbids.
 */
button.musiveo-playlist-dialog__create {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 auto;
	padding: 0.625rem 1rem;
	border: 0 !important;
	border-radius: 4px;
	min-width: 0 !important;
	background: var(--musiveo-accent, var(--color-primary, #8E50F8)) !important;
	background-image: none !important;
	color: #000000 !important;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

button.musiveo-playlist-dialog__create:hover,
button.musiveo-playlist-dialog__create:focus-visible {
	background: #e6e6e6 !important;
}

button.musiveo-playlist-dialog__create:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

button.musiveo-playlist-dialog__cancel {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	padding: 0.625rem 1rem;
	border: 1px solid #2e2e34 !important;
	border-radius: 4px;
	background: transparent !important;
	background-image: none !important;
	color: #f2f2f4;
	font: inherit;
	cursor: pointer;
}

button.musiveo-playlist-dialog__cancel:hover,
button.musiveo-playlist-dialog__cancel:focus-visible {
	border-color: var(--musiveo-accent, var(--color-primary, #8E50F8)) !important;
	color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	.musiveo-playlist-dialog *,
	.musiveo-playlist-dialog *::before,
	.musiveo-playlist-dialog *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/*
 * THE SHARE DIALOG.
 *
 * Same structure as the playlist dialog next door -- backdrop, panel, focus-trappable -- because
 * two dialogs with two shapes is two shapes to keep in step.
 *
 * PALETTE. The suite's standing surfaces: black page, `#101010` for anything raised, `#2e2e34`
 * for a 1px edge, `#161616` for a hover one step off the panel, white text. A 1px border is not
 * decoration here: `#101010` on `#000000` is a one-step difference and reads as nothing without
 * the edge. No blue surface anywhere -- `--color-primary` is an accent and nothing else.
 */

.musiveo-share-dialog {
	position: fixed;
	inset: 0;
	z-index: 100060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.musiveo-share-dialog.is-open {
	visibility: visible;
	opacity: 1;
}

.musiveo-share-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.74);
	/* The blur is on the backdrop, which is a SIBLING of the panel and never an ancestor of it.
	 * On an ancestor it would become the containing block for every fixed descendant. */
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: 0;
	cursor: pointer;
}

.musiveo-share-dialog__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 34rem;
	max-height: 88vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.375rem 1.375rem 1.25rem;
	background: #101010;
	border: 1px solid #2e2e34;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
	color: #ffffff;
	transform: translateY(6px);
	transition: transform 0.18s ease;
}

.musiveo-share-dialog.is-open .musiveo-share-dialog__panel {
	transform: translateY(0);
}

.musiveo-share-dialog__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 1.25rem;
	line-height: 1;
	color: #f2f2f4;
	background: transparent;
	border: 1px solid #2e2e34;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	/* UA styling for a bare button, so the control looks the same everywhere. */
	-webkit-appearance: none;
	appearance: none;
}

.musiveo-share-dialog__close:hover,
.musiveo-share-dialog__close:focus-visible {
	background: #161616;
	border-color: #3a3a42;
}

.musiveo-share-dialog__title {
	margin: 0 2.5rem 0.25rem 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: #ffffff;
}

.musiveo-share-dialog__item {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #a8a8b0;
	/* A long title must not push the preview off the panel. */
	overflow-wrap: anywhere;
}

/* ---- the embed preview ---- */

.musiveo-share-dialog__preview {
	overflow: hidden;
	background: #000000;
	border: 1px solid #2e2e34;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.musiveo-share-dialog__frame {
	display: block;
	width: 100%;
	/* Matches the height written into the embed code, so the preview and the thing being
	 * copied are the same size -- a preview at a different size than the code misleads. */
	height: 220px;
	border: 0;
	background: #000000;
}

/* ---- the two fields ---- */

.musiveo-share-dialog__field {
	margin-bottom: 0.875rem;
}

.musiveo-share-dialog__field-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.375rem;
}

.musiveo-share-dialog__label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: #f2f2f4;
}

.musiveo-share-dialog__copy {
	flex: 0 0 auto;
	padding: 0.1875rem 0.625rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #f2f2f4;
	background: #000000;
	border: 1px solid #2e2e34;
	border-radius: 999px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.musiveo-share-dialog__copy:hover,
.musiveo-share-dialog__copy:focus-visible {
	background: #161616;
	border-color: #3a3a42;
}

.musiveo-share-dialog__code,
.musiveo-share-dialog__url {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.625rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #f2f2f4;
	background: #000000;
	border: 1px solid #2e2e34;
	border-radius: 8px;
	/* A readonly field is still selectable, and the resize handle is not wanted. */
	resize: none;
}

.musiveo-share-dialog__code {
	min-height: 3.25rem;
}

.musiveo-share-dialog__url {
	height: 2.25rem;
}

.musiveo-share-dialog__code:focus,
.musiveo-share-dialog__url:focus {
	outline: 2px solid #f2f2f4;
	outline-offset: 1px;
	border-color: #3a3a42;
}

/* ---- the networks ---- */

.musiveo-share-dialog__legend {
	margin: 1.125rem 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #f2f2f4;
}

.musiveo-share-dialog__networks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.musiveo-share-dialog__network {
	display: inline-block;
	padding: 0.3125rem 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #f2f2f4;
	text-decoration: none;
	background: #000000;
	border: 1px solid #2e2e34;
	border-radius: 999px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.musiveo-share-dialog__network:hover,
.musiveo-share-dialog__network:focus-visible {
	background: #161616;
	border-color: #3a3a42;
	color: #ffffff;
}

/* ---- the status line ---- */

.musiveo-share-dialog__status {
	margin: 0.75rem 0 0;
	/* Reserved whether or not there is a message: text appearing into a zero-height line moves
	 * everything above it, and a dialog that jumps when you click Copy reads as broken. */
	min-height: 1.2em;
	font-size: 0.8125rem;
	color: #a8a8b0;
}

/* The page behind must not scroll while the dialog is up. */
body.musiveo-share-dialog-open {
	overflow: hidden;
}

/* ---- narrow viewports ---- */

@media (max-width: 480px) {
	.musiveo-share-dialog {
		padding: 0.5rem;
	}

	.musiveo-share-dialog__panel {
		padding: 1.125rem 1rem 1rem;
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.musiveo-share-dialog,
	.musiveo-share-dialog__panel {
		transition: none;
	}
}

 

.plyr-playlist.fixed-bottom {
	visibility: hidden;
	pointer-events: none;
}

html.open-player .plyr-playlist.fixed-bottom {
	visibility: visible;
	pointer-events: auto;
}

button.musiveo-playlist-row__toggle { min-width: 44px; min-height: 44px; border: 1px solid #2e2e34; border-radius: .5rem; }
.musiveo-playlist-row__tick { font-size: 1.4rem; }
a.musiveo-playlist-row__link::after { content: " \2197"; color: var(--musiveo-accent, #b58aff); }

.musiveo-share-dialog__embed-options { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.musiveo-share-dialog__embed-options[hidden] { display: none; }
.musiveo-share-dialog__embed-options label { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; }
.musiveo-share-dialog__embed-options input[type="color"] { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 3px; border: 1px solid #555; border-radius: 50%; background: transparent; cursor: pointer; }
.musiveo-share-dialog__embed-options select { width: auto; min-height: 36px; border: 1px solid #444; background: #202020; color: #eee; border-radius: 8px; padding: .35rem .6rem; }
.musiveo-share-dialog__preview { background: transparent; border: 0; border-radius: 12px; }
.musiveo-share-dialog__frame { height: 380px; background: transparent; }
.musiveo-share-dialog__panel { max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; }
