@media all {

	:root {
			--background: #121314;
			--background-neutral: rgba(10, 11, 12, 0.8);
			--background-subtle: rgba(10, 11, 12, 0.1);
			--background-highlight: #272727;
			--background-error: #FFE4E1;
			--text: #A7A97F;
			--text-highlight: #E3E5BB;
			--error: #FF6666;
			--help: #dd0;
			--contrast-low: #000000;
			--contrast-high: #ffffff;
			--text-minuscule: .5em;
			--text-tiny: .7em;
			--text-small: .8em;
			--text-smaller: .9em;
			--text-normal: 1em;
			--text-slightly-larger: 1.1em;
			--text-larger: 1.2em;
			--text-quite-big: 1.5em;
			--text-big: 2em;
			--quick: .2s;
			/* the corners of panels, buttons and cards, and of the albums and dialogs that float over the player */
			--radius: 6px;
			--radius-floating: 12px;
			/* the edges: lines that separate, and the light rim of what floats */
			--edge: color-mix(in srgb, var(--text) 14%, transparent);
			--edge-floating: color-mix(in srgb, var(--contrast-high) 10%, transparent);
			/* the two shades of an album of the playlist, its header lighter than its tracks */
			--album-header: color-mix(in srgb, var(--background-highlight) 66%, var(--text) 10%);
			--album-tracks: color-mix(in srgb, var(--background) 65%, transparent);
	}

	:focus {
		outline: none;
	}

	h1,
	h2,
	h3 {
		font-weight: 500;
	}

	input:-webkit-autofill {
		font-family: Montserrat, Verdana, sans-serif;
		color: var(--text) !important;
		-webkit-text-fill-color: var(--text) !important;
		-webkit-box-shadow: 0 0 0 100px white inset !important;
	}


	@keyframes blink1 {
		 0% { opacity: 0; }
		 33% { opacity: 1; }
		 66% { opacity: 0; }
		 100% { opacity: 0; }
	}

	@keyframes blink2 {
		 0% { opacity: 0; }
		 33% { opacity: 0; }
		 66% { opacity: 1; }
		 100% { opacity: 0; }
	}

	@keyframes blink3 {
		 0% { opacity: 0; }
		 33% { opacity: 0; }
		 66% { opacity: 0; }
		 100% { opacity: 1; }
	}

	body,
	input,
	.tree-node {
		font-family: Montserrat, Verdana, sans-serif;
		text-shadow: 0 1px 2px var(--background-neutral);
	}

	kbd {
		display: inline-block;
		vertical-align: middle;
		padding: 0.5em 0.5em;
		min-width: 1.5em;
		text-align: center;

		font-family: ui-monospace, monospace;
		line-height: 1;
		color: var(--text-highlight);

		background-color: var(--background);
		border: 1px solid var(--background-highlight);
		border-radius: var(--radius);
		box-shadow: 0 2px 0 var(--background-neutral);
	}

	#big-player-bottom,
	#mini-controls {
		-webkit-tap-highlight-color: transparent;
	}

	/* "Play on...": one button, and the outputs on the back of the cover */
	#output-launcher,
	#mini-controls-output {
		position: relative;
	}

	#output-launcher svg {
		position: relative;
		width: 2em;
		height: 2em;
		display: block;
	}

	/* the same, in the mini controls, only where the player's buttons do not show (a phone held
	   sideways): as tall as their icons */
	#mini-controls #mini-controls-output {
		display: none;
	}

	#mini-controls-output svg {
		width: 1.25em;
		height: 1.25em;
		vertical-align: -.25em;
	}

	/* the glow while the music plays elsewhere: a fixed halo whose opacity pulses, which the
	   GPU animates (an animated filter would repaint the button every frame) */
	#output-launcher.away::before,
	#mini-controls-output.away::before {
		content: "";
		position: absolute;
		inset: -.4em;
		border-radius: 50%;
		background: radial-gradient(closest-side, var(--text-highlight), transparent);
		opacity: 0;
		pointer-events: none;
		animation: output-breathe 2.4s ease-in-out infinite;
	}

	@keyframes output-breathe {
		0%, 100% { opacity: 0; }
		50% { opacity: .45; }
	}

	#big-cover {
		perspective: 1100px;
	}

	/* the flip, in two halves: the cover turns away, then its back turns in */
	#album-art,
	#big-cover .logo-player,
	#output-picker {
		backface-visibility: hidden;
		transition: transform .175s ease-in, opacity .175s linear;
	}

	#big-cover.flipped #album-art,
	#big-cover.flipped .logo-player {
		transform: rotateY(90deg);
	}

	#big-cover:not(.flipped) #album-art,
	#big-cover:not(.flipped) .logo-player {
		transition-delay: .175s;
		transition-timing-function: ease-out;
	}

	#big-cover.flipped #big-volume-bar,
	#big-cover.flipped #updateCoverArt,
	#big-cover.flipped #waveform-container {
		visibility: hidden;
	}

	#output-picker {
		position: absolute;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background: linear-gradient(180deg, var(--background-highlight), var(--background));
		border: 1px solid var(--background-highlight);
		box-shadow: 0 10px 30px var(--background-neutral);
		color: var(--text);
		transform: rotateY(-90deg);
		visibility: hidden;
		pointer-events: none;
		text-align: left;
		transition: transform .175s ease-in, opacity .175s linear, visibility 0s linear .35s;
	}

	#big-cover.flipped #output-picker {
		transform: rotateY(0deg);
		visibility: visible;
		pointer-events: auto;
		transition: transform .175s ease-out .175s, opacity .175s linear, visibility 0s;
	}

	@media (prefers-reduced-motion: reduce) {
		#album-art,
		#big-cover .logo-player,
		#output-picker,
		#big-cover.flipped #output-picker {
			transform: none !important;
			transition: opacity .25s linear, visibility 0s;
		}
		#output-picker {
			opacity: 0;
		}
		#big-cover.flipped #output-picker {
			opacity: 1;
		}
		#big-cover.flipped #album-art,
		#big-cover.flipped .logo-player {
			opacity: 0;
		}
		#output-launcher.away::before,
		#mini-controls-output.away::before,
		#output-radar .ring,
		.output-eq i {
			animation: none !important;
		}
	}

	#output-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: .9em 1em .6em;
		border-bottom: 1px solid var(--background-highlight);
	}

	#output-title {
		color: var(--text-highlight);
		font-weight: 600;
	}

	#output-search {
		cursor: pointer;
		display: grid;
		place-items: center;
		padding: .3em;
		border-radius: 50%;
	}

	#output-search:hover {
		color: var(--text-highlight);
		background: var(--background-highlight);
	}

	#output-search.spinning svg {
		animation: output-spin 1s linear infinite;
	}

	@keyframes output-spin {
		to { transform: rotate(360deg); }
	}

	/* radar rings pulse out from the middle while the speakers are looked for */
	#output-radar {
		position: relative;
		flex: none;
		height: 4.5em;
		display: grid;
		place-items: center;
		overflow: hidden;
		transition: height .3s ease, opacity .3s ease;
	}

	#output-radar.done {
		height: 0;
		opacity: 0;
	}

	#output-radar .dot {
		position: relative;
		z-index: 1;
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background: var(--text-highlight);
		box-shadow: 0 0 12px var(--text-highlight);
	}

	#output-radar .ring {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 12px;
		height: 12px;
		margin: -6px 0 0 -6px;
		border-radius: 50%;
		border: 2px solid var(--text-highlight);
		opacity: 0;
		animation: output-ping 1.8s cubic-bezier(.2, .6, .4, 1) infinite;
	}

	#output-radar .ring:nth-child(2) {
		animation-delay: .6s;
	}

	#output-radar .ring:nth-child(3) {
		animation-delay: 1.2s;
	}

	@keyframes output-ping {
		0% { transform: scale(1); opacity: .8; }
		100% { transform: scale(5); opacity: 0; }
	}

	#output-radar .status {
		position: absolute;
		bottom: .3em;
		font-size: var(--text-tiny);
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	#output-list {
		list-style: none;
		margin: 0;
		padding: .4em .5em .7em;
		display: flex;
		flex-direction: column;
		gap: 2px;
		overflow-y: auto;
		min-height: 0;
	}

	#output-list .output {
		display: grid;
		grid-template-columns: 1.75em minmax(0, 1fr) auto;
		align-items: center;
		gap: .6em;
		padding: .65em .6em;
		border-radius: 8px;
		cursor: pointer;
		transition: background var(--quick), color var(--quick);
	}

	#output-list .output:hover,
	#output-list .output:focus-visible {
		background: var(--background-highlight);
		color: var(--text-highlight);
		outline: none;
	}

	#output-list .output.selected {
		color: var(--text-highlight);
	}

	#output-list .output svg {
		width: 1.25em;
		height: 1.25em;
		display: block;
		margin: auto;
	}

	#output-list .output-name {
		font-weight: 500;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#output-list .output-tag {
		font-size: var(--text-minuscule);
		letter-spacing: .1em;
		text-transform: uppercase;
		border: 1px solid var(--background-highlight);
		border-radius: 4px;
		padding: 2px 6px;
	}

	/* this page's own row: its name can be changed */
	#output-list .output:has(.output-rename) {
		grid-template-columns: 1.75em minmax(0, 1fr) auto auto;
	}

	#output-list .output-rename {
		opacity: .5;
		padding: 0 .3em;
	}

	#output-list .output-rename:hover {
		opacity: 1;
	}

	#output-list .output-empty {
		padding: .6em .7em;
		font-size: var(--text-small);
	}

	/* another of the user's devices has this one's name (see nameTaken in index.php) */
	#output-list .output-note {
		padding: 0 .7em .6em;
		font-size: var(--text-tiny);
		opacity: .7;
	}

	#output-list .pop {
		animation: output-pop .38s cubic-bezier(.3, 1.6, .5, 1) both;
	}

	@keyframes output-pop {
		from { transform: scale(.6); opacity: 0; }
		to { transform: scale(1); opacity: 1; }
	}

	/* the output playing: little equalizer bars */
	.output-eq {
		display: inline-flex;
		gap: 2px;
		align-items: flex-end;
		height: 14px;
	}

	/* scaled rather than resized: a height animated would lay the page out every frame, even
	   with the picker closed */
	.output-eq i {
		width: 3px;
		height: 14px;
		background: var(--text-highlight);
		border-radius: 1px;
		transform: scaleY(calc(3 / 14));
		transform-origin: bottom;
		animation: output-eq .9s ease-in-out infinite;
	}

	.output-eq i:nth-child(2) {
		animation-delay: -.3s;
	}

	.output-eq i:nth-child(3) {
		animation-delay: -.6s;
	}

	@keyframes output-eq {
		0%, 100% { transform: scaleY(calc(3 / 14)); }
		50% { transform: scaleY(1); }
	}

	#output-where {
		color: var(--text-highlight);
		font-size: var(--text-tiny);
		letter-spacing: .06em;
	}

	#output-where:empty {
		display: none;
	}

	/* out of touch with the user's other pages for a while (see SYNC in index.php) */
	#output-where.reconnecting {
		color: var(--text);
		opacity: .6;
	}

	/* a press that waits until the page has caught up with the user's other pages */
	.sync-held {
		cursor: progress;
		animation: sync-held .6s ease-in-out infinite alternate;
	}

	@keyframes sync-held {
		from { opacity: 1; }
		to { opacity: .35; }
	}

	#helpBox table {
		width: 90%
	}

	#helpBox table td:first-child {
		text-align: right;
		padding-right: 15px;
		width: 40%;
	}

	#helpBox table td:last-child {
		text-align: left;
		padding-left: 15px;
	}

	.playlist-poster-container {
		margin-bottom: .5em;
	}

	/* progress bar styling */
	#loading {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: var(--background-subtle);
		backdrop-filter: blur(8px); 
		z-index: 101; 
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: opacity 0.5s ease;
	}

	progress {
		width: 40%;
		max-width: 400px;
		height: 1em;
		appearance: none;
		border: none;
		border-radius: 10px;
		overflow: hidden;
	}

	progress::-webkit-progress-bar,
	progress::-moz-progress-bar {
		background-color: var(--text);
		border-radius: 10px;
	}

	progress::-webkit-progress-value {
		background-color: var(--text-highlight);
		border-radius: 10px;
		transition: width 0.3s ease;
	}

	#hidden {
		position: fixed;
		top: -500px;
	}

	.filteredOut {
		display: none!important;
	}

	#big-unmute {
		display: none;
	}

	#big-cover {
		max-width: 70vw;
		padding-top: 100%;
		position: relative;
	}

	#big-cover:::after {
		 box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
			0 6.7px 5.3px rgba(0, 0, 0, 0.048),
			0 12.5px 10px rgba(0, 0, 0, 0.06);
		 content: '';
		 display: block;
		 height: 100%;
		 position: absolute;
		 top: 0;
		 width: 100%;
		 z-index: -1;
	}

	#album-art, 
	.logo-player,
	#big-cover .default-poster {
		vertical-align: middle;
		display:block;
		transition: src .5s ease;
		height: 100%;
		width: 100%;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		max-width: unset;
		max-height: unset;
		margin-left: 0;
	}

	.logo-background {
		fill: var(--text);
	}

	.logo-highlight {
		fill: var(--text-highlight);
	}

	.blink1 {
	 animation: blink1 1s linear infinite;
	}

	.blink2 {
	 animation: blink2 1s linear infinite;
	}

	.blink3 {
	 animation: blink3 1s linear infinite;
	}

	/* the library and favourites trees (see js/tree.js): one list, its items indented by their level */
	ul.tree {
		list-style: none;
		white-space: nowrap;
		padding: 3px;
		margin: 0;
		position: relative;
	}

	.tree-node {
		margin: 1px 0 0;
		padding-left: calc(var(--level, 0) * 1em);
		min-height: 10pt;
		outline: none;
	}

	/* the first item of a folder is a little apart from the folder */
	.tree-node.first {
		margin-top: calc(.3em + 1px);
	}

	/* one line: a title too long for the pane ends in an ellipsis (its tooltip has it whole) */
	.tree-row {
		display: flex;
		align-items: baseline;
	}

	.tree-expander,
	.tree-icon {
		flex: none;
		display: inline-block;
		width: 10pt;
		min-width: 10pt;
		height: 10pt;
		text-align: center;
		vertical-align: baseline;
	}

	.tree-expander {
		cursor: pointer;
	}

	.tree-icon {
		margin-left: 3px;
	}

	.tree-title {
		cursor: pointer;
		display: inline-block;
		vertical-align: baseline;
		min-height: 10pt;
		padding: 0 3px;
		margin-left: 8px;
		border: 1px solid transparent;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tree:focus-within .tree-node.active .tree-title,
	.tree-node:focus > .tree-row > .tree-title,
	.searchResult:focus,
	.searchResultParent:focus {
		outline: 1px dotted var(--text-highlight);
		color: var(--text-highlight)!important;
		background-color: transparent;
	}

	hr {
		background-color: var(--text);
		height: 1px;
		border: 0;
	}

	legend {
		border-style: none;
		background-color: var(--text);
		font-weight: bold;
		Color: var(--text-highlight);
		width: 30%;
		padding-left: 10px;
	}

	/* uncover panel styling */

	#uncoverPanel {
		background-color: var(--background);
		border-radius: var(--radius);
		border: 1px solid var(--background-subtle);
		width: stretch!important;
		padding-top: 0;
		left: 0;
	}

	#uncover_top_row,
	#uncoverLinks {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-around;
		margin: 1em;
		margin-top: 0;
	}

	#uncover_top_row {
		background: var(--background);
		position: sticky;
		top: 0;
		z-index: 100;
	}

	#uncover_top_row span i{
		margin-right: .5em;
	}

	#uncover_top_row span {
		font-size: var(--text-larger);
		border-radius: var(--radius);
		background: var(--background-highlight);
		border: 1px solid var(--edge);
		transition: background-color .15s;
		text-align: center;
		padding: 1em;
		margin: .5em;
	}

	#uncover_top_row span:hover {
		background: var(--text);
	}

	#uncoverLinks span {
		border-radius: var(--radius);
		border: 1px solid var(--edge);
		transition: background-color .15s;
		background: var(--background-highlight);
		text-align: center;
		width: 300px;
		padding: 1em;
		margin: 1em;
		font-size: var(--text-small);
	}

	.uncoverLink {
		position: relative;
	}

	.uncoverLink > .uncover_actions,
	.uncoverLink > label > i {
		top: .5em;
		position: absolute;
	}

	.uncoverLink > .uncover_actions {
		right: .5em;
	}

	.uncoverLink > label > i {
		left: .5em;
	}

	.uncoverLink img,
	.uncoverLink .default-poster {
		border: 1px solid var(--background-subtle);
		width: 95%;
		max-width: 250px;
		max-height: 250px;
		margin-top: 1em;
		margin-bottom: .5em;
	}

	.uncoverLink .play-last {
		display: none;
		position: absolute;
		top: 15%;
		left: 22%;
		max-width: 60%;
	}

	.uncoverLinkPoster:hover > .play-last {
		display: block;
	}

	.uncoverLinkPoster:hover > .default-poster,
	.uncoverLinkPoster:hover > img {
		opacity: .1;
	}

	/* Infopanel Styling */

	#infoPanel table.infobox tr:first-child,
	.shortdescription,
	.ambox,
	.tocnumber,
	li.nv-view a,
	li.nv-talk a,
	li.nv-edit a {
		display: none;
	}

	#infoPanel figure,
	#infoPanel .infobox-image span,
	#infoPanel .infobox-image span a img {
		width: fit-content;
		border-radius: var(--radius);
		background-color: var(--background-subtle);
		border: 1px solid var(--background-highlight);
		box-shadow: 0 10px 30px var(--background-subtle);
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	#infoPanel figure img,
	#infoPanel .infobox-image span a img {
		padding: .8em;
		border: 1px solid var(--background-subtle);
		box-shadow: 0 10px 30px var(--background-subtle);
	}

	.thumb,
	/* (pictures keep square corners) */
	#infoPanel .infobox-image span a img {
		border-radius: 0;
	}

	#infoPanel table.infobox {
		border-radius: var(--radius);
		overflow: hidden;
		text-align: center;
	}

	#infoPanel table.infobox td {
		border: 0;
	}

	table.infobox td {
		padding-bottom: .5em;
	}

	#infoPanel table.infobox th,
	#infoPanel table.infobox th .infoPanelLink {
		text-align: left;
		vertical-align: top;
		color: var(--text-highlight);
	}

	div.listen .side-box-image {
		display: none;
	}

	#infoPanel th[scope="row"] {
		border: 0!important;
	}

	#infoPanel table.infobox th[scope="row"] + td,
	.navbox-group {
		text-align: left;
		padding-left: 1.5em;
		border: 0;
	}

	.hlist dd, .hlist dt, .hlist li, table.infobox .plainlist li {
		margin: 0;
		display: inline;
}

	table.infobox .hlist li {
		overflow-wrap: anywhere;
	}

	table.infobox .hlist li:::after {
		padding: 0;
		margin: 0;
		content: "\00A0\25AA\00A0";
		color: var(--text);
		font-size: var(--text-smaller);
	}

	table.infobox .hlist li:last-child:::after {
		content: "";
	}

	table.infobox .hlist ul,
	table.infobox .plainlist ul {
		margin: 0;
		padding: 0;
	}

	.thumbcaption,
	table.infobox a.image + div {
		font-size: var(--text-smaller);
	}

	.mw-parser-output h1,
	.mw-parser-output h2,
	.mw-parser-output h3 {
		padding-top: 2.5em;
	}

	.mw-parser-output .sidebar-collapse .sidebar-above,
	.mw-parser-output .sidebar-collapse .sidebar-below {
		border-top: 1px solid var(--background-highlight)!important;
		border-bottom: 1px solid var(--background-highlight)!important;
	}

	.mw-headline,
	.toctitle,
	.thumbcaption,
	.thumbcaption a,
	.navbox-title,
	table.infobox b,
	table.infobox a.image + div,
	table.infobox a.image + div a {
		color: var(--text-highlight);
	}

	.infobox-header,
	.portalbox,
	.side-box,
	.portal-bar,
	.quotebox,
	.ombox,
	.cmbox,
	.nfur,
	.nfur th,
	.nfur caption,
	.nfur caption>div,
	.imbox,
	.table-pale,
	.caption-purple,
	.largestCities-cell-background {
		color: var(--text)!important;
		background-color: var(--background)!important;
		border: 1px solid var(--background-highlight)!important;
	}


	#infoPanel audio::-webkit-media-controls-enclosure {
		border-radius: var(--radius);
		border: 1px solid var(--background-highlight);
		background-color: var(--background);
	}

	#infoPanel audio::-webkit-media-controls-current-time-display,
	#infoPanel audio::-webkit-media-controls-time-remaining-display,
	#infoPanel audio::-webkit-media-controls-play-button,
	#infoPanel audio::-webkit-media-controls-mute-button,
	#infoPanel audio::-webkit-media-controls-timeline, 
	#infoPanel audio::-webkit-media-controls-volume-slider,
	#infoPanel audio::-webkit-media-controls-seek-back-button,
	#infoPanel audio::-webkit-media-controls-seek-forward-button,
	#infoPanel audio::-webkit-media-controls-fullscreen-button,
	#infoPanel audio::-webkit-media-controls-rewind-button,
	#infoPanel audio::-webkit-media-controls-return-to-realtime-button,
	#infoPanel audio::-webkit-media-controls-toggle-closed-captions-button {
		text-shadow: none;
		color: #333;
		font-weight: bold;
	}

	#infoPanel audio::-webkit-media-controls-panel {
		filter: invert(100%);
	}

	.portalbox.tright {
		border: 0!important;
	}

	.portalbox > ul {
		background-color: unset!important;
	}

	.toc ul,
	.toc ol {
		list-style-type: none;
	}

	.toctext,
	toc a.infoPanelAnchor {
		margin-left: -1.5em;
	}

	#playlist-tools {
		position: sticky;
		margin: -1.3em;
		top: -1px;
		padding: .5em .5em .5em .5em;
		box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
		background: var(--background-highlight);
		z-index: 1;
		border-bottom-left-radius: var(--radius);
		border-bottom-right-radius: var(--radius);
	}

	@supports (backdrop-filter: blur(10px)) {
		.blur {
			filter: blur(10px);
		}

		.magic::before, 
		#playlist-tools {
			backdrop-filter: blur(50px) opacity(100%) brightness(50%)
		}
	}

	.magic::before {
		content: "";
		position: fixed;
		top: 0; left: 0; right: 0; bottom: 0;
		z-index: -1;
		pointer-events: none;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
	}

	.small {
		font-size: var(--text-tiny);
	}

	.shortcut {
		font-size: var(--text-tiny);
		color: var(--text);
		opacity: .2;
		margin-left: .3em;
	}

	#big-player {
		height: 100cqh;
	}

	#big-player-bottom {
		display: flex;
		flex-direction: column;
		height: 20cqh;
		justify-content: space-evenly;
		margin-top: 5%;
	}

	#playlist_select {
		margin-left: .5em;
		max-width: 65%;
		width: 16em;
	}

	#ham {
	display: none;
	}

	#includeOldAlbums {
		display: none;
	}

	.move-up,
	.move-down {
		margin-right: 0.5em;
	}

	.space-after {
		margin-right: 0.8em;
	}

	.settings {
		margin-bottom: 0.5em;
	}

	.settings-sub {
		font-size: var(--text-smaller);
		padding-left: 1.5em;
	}

	.theme_opts {
		padding-left: 2em;
	}

	.settings-option {
		font-size: var(--text-small);
	}

	.hidden {
		display: none!important;
	}

	/* the volume, filled from the bottom (see updateSliderFill) */
	input#big-volume-bar {
		appearance: none;
		font-size: 1em;
		writing-mode: vertical-lr;
		direction: rtl;
		margin: 0;
		padding: 0;
		cursor: pointer;
		background-image: linear-gradient(to top, color-mix(in srgb, var(--text-highlight) 70%, transparent) var(--fill, 100%), transparent var(--fill, 100%));
		background-color: transparent;
		touch-action: none;
	}

	input#big-volume-bar:hover {
		background-image: linear-gradient(to top, var(--text-highlight) var(--fill, 100%), transparent var(--fill, 100%));
	}

	#big-volume-bar::-webkit-slider-runnable-track {
		background: transparent;
	}

	#big-volume-bar::-webkit-slider-thumb {
		appearance: none;
		width: .5em;
		height: .5em;
		opacity: 0;
	}

	#big-volume-bar::-moz-range-thumb {
		width: .5em;
		height: .5em;
		opacity: 0;
		border: 0;
	}

	@media (hover: hover) {
		#big-cover:hover #big-volume-bar {
		opacity: 1;
		border: 1px solid var(--text-highlight);
		transition: opacity 3s ease, border 3s ease;
		}
		.toggles:hover {
			color: var(--text-highlight);
		}
	}

	/* Classes for replacing generic form elements with font-awesome */
	.fa-input {
		display: none;
	}

	input[type="checkbox"] + .fa,
	input[type="checkbox"] + label > .fa,
	input[type="checkbox"] + .fas,
	input[type="checkbox"] + label > .fas,
	input[type="radio"] + .fa,
	input[type="radio"] + label > .fa { cursor: pointer; }

	/* Unchecked */
	input[type="checkbox"] + .fa-check-circle::before,
	input[type="checkbox"] + label > .fa-check-circle::before,
	input[type="radio"] + .fa-check-circle::before,
	input[type="radio"] + label > .fa-check-circle::before { content: "\f111"; } /* .fa-circle */
	input[type="checkbox"] + .fa-dot-circle-o::before,
	input[type="checkbox"] + .fa-check-circle-o::before,
	input[type="checkbox"] + label > .fa-dot-circle-o::before,
	input[type="checkbox"] + label > .fa-check-circle-o::before,
	input[type="radio"] + .fa-dot-circle-o::before,
	input[type="radio"] + label > .fa-dot-circle-o::before,
	input[type="radio"] + .fa-check-circle-o::before,
	input[type="radio"] + label > .fa-circle::before {content: "\f111"; } /* .fa-circle */
	input[type="radio"] + .fa-circle::before,
	input[type="radio"] + label > .fa-circle::before { content: "\f1db"; } /* .fa-circle-thin */
	input[type="checkbox"] + .fa-check::before,
	input[type="checkbox"] + .fa-check-square-o::before,
	input[type="checkbox"] + label > .fa-check::before,
	input[type="checkbox"] + label > .fa-check-square-o::before { content: "\f096"; } /* .fa-square-o */
	input[type="checkbox"] + .fa-check-square::before,
	input[type="checkbox"] + label > .fa-check-square::before { content: "\f0c8"; } /* .fa-square */
	input[type="checkbox"] + .fa-toggle-off::before,
	input[type="checkbox"] + label > .fa-toggle-off::before,
	input[type="checkbox"] + .fa-toggle-on::before,
	input[type="checkbox"] + label > .fa-toggle-on::before { content: "\f204"; } /* .fa-toggle-off */

	/* Checked */
	input[type="checkbox"]:checked + .fa-check::before,
	input[type="checkbox"]:checked + label > .fa-check::before { content: "\f00c"; }
	input[type="checkbox"]:checked + .fa-check-circle::before,
	input[type="checkbox"]:checked + label > .fa-check-circle::before,
	input[type="radio"]:checked + .fa-check-circle::before,
	input[type="radio"]:checked + label > .fa-check-circle::before { content: "\f058"; }
	input[type="checkbox"]:checked + .fa-check-circle-o::before,
	input[type="checkbox"]:checked + label > .fa-check-circle-o::before,
	input[type="radio"]:checked + .fa-check-circle-o::before,
	input[type="radio"]:checked + label > .fa-check-circle-o::before { content: "\f05d"; }
	input[type="checkbox"]:checked + .fa-check-square::before,
	input[type="checkbox"]:checked + label > .fa-check-square::before { content: "\f14a"; }
	input[type="checkbox"]:checked + .fa-check-square-o::before,
	input[type="checkbox"]:checked + label > .fa-check-square-o::before { content: "\f046"; }
	input[type="radio"]:checked + .fa-circle::before,
	input[type="radio"]:checked + label > .fa-circle::before { content: "\f111"; }
	input[type="checkbox"]:checked + .fa-dot-circle-o::before,
	input[type="checkbox"]:checked + label > .fa-dot-circle-o::before,
	input[type="radio"]:checked + .fa-dot-circle-o::before,
	input[type="radio"]:checked + label > .fa-dot-circle-o::before { content: "\f192"; }
	input[type="checkbox"]:checked + .fa-toggle-off::before,
	input[type="checkbox"]:checked + label > .fa-toggle-off::before,
	input[type="checkbox"]:checked + .fa-toggle-on::before,
	input[type="checkbox"]:checked + label > .fa-toggle-on::before { content: "\f205"; } /* .fa-toggle-on */

	/* disabled toggles */
	#includeOldAlbums:disabled + label > i::before {
		color: var(--background);
		cursor: not-allowed;
	}

	.fa-square,
	.fa-check-square,
	.fa-toggle-on,
	.fa-toggle-off {
		color: var(--text);
	}

	input[name="require_login"] ~ #users { display: none; }
	input[name="require_login"]:checked ~ #users { display: block; }

	/* the tabs of the left pane */
	#leftPanel {
		padding: .2em;
	}

	/* the left pane, the dialogs and the menus write in the page's font, at its size */
	#leftPanel :is(input, select, textarea, button),
	dialog.dialog :is(input, select, textarea, button) {
		font-family: Montserrat, Verdana, sans-serif;
		font-size: 1em;
	}

	#leftPanel > ul.tabs {
		display: flow-root;
		margin: 0;
		padding: .3em .3em 0;
		border-bottom: 1px solid var(--edge);
		line-height: 1.3;
		text-shadow: none;
	}

	#leftPanel > ul.tabs > li.tab {
		list-style: none;
		float: left;
		position: relative;
		margin: 1px .2em 0 0;
		padding: 0;
		white-space: nowrap;
		border: 1px solid transparent;
		border-bottom-width: 0;
		border-radius: var(--radius) var(--radius) 0 0;
		background: var(--background-highlight);
		outline: none;
		cursor: pointer;
		transition: background-color .15s, border-color .15s;
	}

	#leftPanel > ul.tabs > li.tab > a {
		float: left;
		padding: .5em 1em;
		text-decoration: none;
		color: var(--text);
	}

	#leftPanel > ul.tabs > li.tab:hover,
	#leftPanel > ul.tabs > li.tab:focus-visible {
		border-color: var(--text-highlight);
		background: var(--text-highlight);
	}

	#leftPanel > ul.tabs > li.tab.active {
		margin-bottom: -1px;
		padding-bottom: 1px;
		border-color: var(--text);
		background: var(--text);
		cursor: text;
	}

	#leftPanel > ul.tabs > li.tab:hover > a,
	#leftPanel > ul.tabs > li.tab:focus-visible > a,
	#leftPanel > ul.tabs > li.tab.active > a {
		color: var(--background);
	}

	#leftPanel > ul.tabs > li.tab.active > a {
		cursor: text;
	}

	#leftPanel > ul.tabs > li.tab.disabled {
		opacity: .35;
		cursor: default;
		pointer-events: none;
	}

	:where(#panelContainer) > .panel {
		display: block;
		padding: 1em 1.4em;
	}

	:where(#panelContainer) > .panel[hidden] {
		display: none;
	}

	/* the dialogs: help, about, suggestions, sharing and images */
	dialog.dialog {
		/* (its height is the whole dialog's, its width that of what is inside) */
		box-sizing: content-box;
		width: 60vw;
		height: calc(90vh - .4em - 2px);
		max-width: none;
		max-height: none;
		padding: .2em;
		color: var(--text);
		font-family: Montserrat, Verdana, sans-serif;
		overflow: hidden;
		flex-direction: column;
	}

	dialog.dialog[open] {
		display: flex;
		animation: dialog-fade .4s ease;
	}

	@keyframes dialog-fade {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	dialog.dialog.wide {
		width: 90vw;
	}

	dialog.dialog::backdrop {
		background: var(--text);
		opacity: .5;
	}

	.dialog-titlebar {
		position: relative;
		flex: none;
		min-height: 1.42em;
		padding: .4em 1em;
	}

	.dialog-close {
		position: absolute;
		right: .3em;
		top: 50%;
		width: 20px;
		height: 20px;
		margin: -10px 0 0 0;
		padding: 1px;
		cursor: pointer;
		background: var(--background-highlight);
		border: 0;
		border-radius: 50%;
		background-color: transparent;
		background-image: url(images/close.svg);
		background-size: .9em;
		background-repeat: round;
	}

	dialog.dialog > .modal {
		position: relative;
		flex: 1 1 auto;
		min-height: 0;
		padding: .5em 1em;
		overflow: auto;
	}

	/* the context menus (see js/menu.js) */
	ul.menu {
		position: fixed;
		inset: auto;
		margin: 0;
		padding: 0;
		min-width: 160px;
		width: max-content;
		list-style: none;
		color: var(--text);
		font-family: Montserrat, Verdana, sans-serif;
		outline: 0;
		overflow: visible;
	}

	ul.menu > li {
		position: relative;
		margin: 0;
		padding: .75em 1em .75em 3.5em;
		cursor: pointer;
		font-size: var(--text-smaller);
		line-height: 1.27;
		white-space: nowrap;
		border-bottom: 1px solid var(--background-subtle);
		outline: none;
	}

	ul.menu > li:last-of-type {
		border-bottom: 0;
	}

	ul.menu > li:focus,
	ul.menu > li:hover {
		background-color: var(--background-highlight);
	}

	ul.menu > li:first-of-type:focus,
	ul.menu > li:first-of-type:hover {
		border-radius: calc(var(--radius-floating) - 1px) calc(var(--radius-floating) - 1px) 0 0;
	}

	ul.menu > li:last-of-type:focus,
	ul.menu > li:last-of-type:hover {
		border-radius: 0 0 calc(var(--radius-floating) - 1px) calc(var(--radius-floating) - 1px);
	}

	ul.menu .menu-icon {
		position: absolute;
		top: 0;
		bottom: 0;
		left: .7em;
		width: 1em;
		height: 1em;
		margin: auto 0;
		color: var(--text-highlight);
		text-align: center;
	}

	ul.menu .menu-icon svg {
		width: 100%;
		height: 100%;
		display: block;
	}

	ul.menu,
	dialog.dialog {
		border: 1px solid var(--edge-floating);
		border-radius: var(--radius-floating);
		background-color: var(--background-subtle);
		backdrop-filter: blur(30px);
		box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
		text-shadow: none;
	}

	mark {
		text-decoration: underline;
		background-color: rgba(0, 0, 0, 0);
	}

	#playlistSpinner {
		width: 100%;
		height: 100%;
		text-align: center;
	}

	#playlistSpinner {
		margin-top: 50%;
	}

	#playlist li[data-nature="album"]:first-of-type {
		margin-top: 0.5em;
	}


	#playlist li[data-nature="album"]:last-of-type {
		margin-bottom: 2em;
	}

	/* the albums: blurred cards over the player, their header lighter than their tracks */
	#playlist li[data-nature="album"] {
		background: var(--album-header);
		border: 1px solid var(--edge-floating);
		border-radius: var(--radius-floating);
		backdrop-filter: blur(20px);
		box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
		padding: 1em;
		margin-bottom: 2em;
	}

	/* (the shade of the tracks is their list's: translucent shades on each track would overlap) */
	#playlist li[data-nature="album"] > ul {
		margin: .5em -1em -1em;
		padding: .25em 0;
		background: var(--album-tracks);
		border-top: 1px solid var(--edge-floating);
		border-radius: 0 0 var(--radius-floating) var(--radius-floating);
	}

	#playlist li[data-nature="track"] {
		margin: 0;
		padding: .125em 1em .125em 1.5em;
	}

	#historyPanel,
	#searchPanel {
		padding: 2em;
		position: relative;
	}

	.card {
	text-align: center;
	color: var(--text-highlight);
	width: 80%;
	}

	.card > ul > span {
		background: var(--background-highlight);
		display: block;
		margin-left: -2.8em;
		padding-top: .5em;
		padding-bottom: .5em;
		border-radius: var(--radius) var(--radius) 0 0;
	}

	.card ul {
		border-radius: var(--radius);
		list-style-type: none;
		margin-left: -.75em;
		background: var(--background);
		border: 1px solid var(--background-highlight);
	}

	.card li {
		text-align: left;
		padding-top: .5em;
		padding-bottom: .5em;
		color: var(--text);
	}

	.card li span {
		display: inline-block;
	}

	.card li span.historyArtist {
		text-indent: 1.2em;
	}

	.card li span.historyAlbum {
		color: var(--text-highlight);
	}

	.card li i::before {
		color: var(--text-highlight);
		padding-right: 1em;
	}

	.card .right {
		margin-right: .5em;
	}

	#playlist > li > ul > li:hover,
	a:hover,
	#ham:hover,
	.historyArtist:hover,
	.historyAlbum:hover,
	.searchResult:hover,
	#uncover_top_row span:hover,
	.settings > label:hover > i {
		color: var(--text-highlight);
	}

	#waveform-container {
		position: absolute;
		bottom: 0;
		width: 100%;
		}

	#waveform {
		opacity: .4;
		transition: opacity 3s ease;
	}

	#waveform:hover {
		opacity: 1;
		cursor: pointer!important;
		transition: opacity .1s ease;
	}

	.toggles,
	.play-pause + label i,
	.big-jp-previous,
	.big-jp-next,
	.go,
	a,
	#controls > span > i,
	.historyArtist,
	.historyAlbum,
	.searchResult,
	.searchResultParent,
	#lookupOne,
	#uploadIt,
	#share-actions > span,
	#share-services > span,
	#uncover_top_row span,
	.uncoverLink img,
	.uncoverLink svg,
	.uncover_actions,
	#history > ul > span,
	.settings-sub label,
	.settings > label:hover,
	.fa-input ~ label:hover,
	i.tooltip,
	.shortcut,
	.searchResultFilter ~ label {
		cursor: pointer;
	}

	#history > #today > span ~ li,
	#history > #yesterday > span ~ li,
	#history > #this-week > span ~ li {
		display: list-item;
	}

	#history > ul > span ~ li {
		display: none;
	}

	.is-admin- {
		display:none;
	}

	.remove, .move-up, .move-down, .album-action {
		opacity: 0.5;
	}

	.playlist-tools:hover,
	.remove:hover,
	.move-up:hover,
	.move-down:hover,
	.album-action:hover,
	.shortcut:hover {
		opacity: 1;
	}

	.playlist-tools:hover,
	.settings:hover,
	.settings-sub label:hover,
	.current,
	a.current,
	.current .tree-title,
	.tree-title:hover,
	.searchResult:hover,
	.new,
	input,
	.filterToolButton:hover,
	#clear:hover,
	#findIt:hover,
	#updateCoverArt,
	.album,
	.remove:hover,
	.download:hover,
	.currentTrack,
	.currentTrack::before,
	#searchLink,
	#loadingInfo,
	.selected,
	a.infoPanelLink:hover,
	#share-actions > span:hover,
	#share-services > span:hover,
	.shortcut:hover,
	#infoPanelTitle a {
		color: var(--text-highlight);
	}

	@keyframes stretch {
		0% {
			transform: scale(0.8);
		}
		50% {
			transform: scale(1.2);
			color: var(--background);
		}
		75% {
			transform: scale(1.5);
			color: var(--background-highlight);
		}
		100% {
			transform: scale(1.0);
		}
	}

	.move-up:active,
	.move-down:active,
	.favouriteAlbum:active,
	.downloadAlbum:active,
	.share:active,
	.btn:active,
	.toggles:active {
		animation-name: stretch;
		animation-iteration-count: 1;
		animation-duration: var(--quick);
	}

	.big-jp-previous:active {
		transform: translateX(-.5em);
		transition-duration: var(--quick);
	}

	.big-jp-next:active {
		transform: translateX(.5em);
		transition-duration: var(--quick);
	}

	.shift-previous {
		transform: translateX(-.5em);
		transition-duration: var(--quick);
	}

	.shift-next {
		transform: translateX(.5em);
		transition-duration: var(--quick);
	}

	.play-pause {
		display: none;
	}

	.play-pause + label {
		filter:drop-shadow(-5px -5px 50px var(--text));
		text-shadow: -5px 6px 2px var(--background-subtle), -1px 3px 12px var(--background-neutral);
	}

	.play-pause + label {
		transform: rotate(360deg);
		transition-duration: var(--quick);
	}

	.play-pause:checked + label {
		transform: rotate(0deg);
	}

	.play-pause:checked + label i::before {
		content: "\f144";
	}

	.play-pause + label i::before {
		content: "\f28b";
	}

	a.infoPanelLink {
	text-decoration: underline;
	text-decoration-style: dotted;
	}
	
	body,
	#updateCoverArt,
	#aboutBox,
	#helpBox,
	#clear,
	.remove,
	.filterToolButton,
	#includeOldAlbums,
	#findIt,
	#big-player,
	a,
	#volume-value,
	#updateCoverArt,
	.tree-title,
	mark {
		color: var(--text);
	}

	.fa-border {
		border: 0;
	}

	input, 
	select {
		color: var(--text);
		background-color: var(--background);
		border: 1px solid var(--background-highlight);
		border-radius: var(--radius);
	}

	input[type="color"] {
		width: 1.5em;
		height: 1.75em;
		padding:0;
		background: none;
	}

	body {
		margin: 0;
		background-size: cover;
		overflow-x: hidden;
		overflow-y: hidden;
		height: 100vh;
	}

	/* the page: the warnings, then the player in what they leave of the window */
	#viewer {
		display: flex;
		flex-direction: column;
	}

	/* the room the warnings leave: the left pane is placed in it, and so is what is fixed on a wide
	   screen (the pane, the playlist and the player, sized in its height with cqh); the dialogs and
	   the menus, in the top layer, are not */
	#musiccoplayer {
		flex: 1;
		min-height: 0;
		position: relative;
		contain: layout;
		container-type: size;
	}

	a {
		text-decoration: none;
	}

	#searchLink:hover {
		text-decoration: none;
	}

	#aboutBox li {
		list-style: none;
		margin-left: 0;
		padding-left: 1em;
		text-indent: -1em;
	}

	#aboutBox li::before {
		content: '\266A';
		padding-right: .5em;
	}

	body,
	#leftPanel,
	#updateCoverArt,
	#volume-value,
	.dialog {
		-webkit-user-select: none;
		-ms-user-select: none;
		-moz-user-select: none;
		user-select: none;
		background-color: var(--background);
	}

	/* Override leftPanel background so we can use dynamic theme */
	#leftPanel > ul.tabs,
	#leftPanel {
		background: none;
	}

	#paypalIMG {
		background-color: transparent;
		border: 0;
	}

	#browserPanel,
	#infoPanel,
	#lyricsPanel,
	#settingsPanel,
	#searchPanel,
	#playlistPanel > ul,
	#historyPanel {
		margin-bottom: 1em;
	}

	/* the tabs, then the panel under them, which scrolls in what is left of the window */
	#panelContainer {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
	}

	#leftPanel {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 2;
		border: 0;
		}

	/* the dividers between the panels side by side (js/panels.js): as wide as the gap they are
	   in, between the panels' boxes, a line in its middle when pointed at, held or focused; for
	   a finger, wide enough to touch (that gap is --touch-gap at least), with a grip that shows
	   where they are */
	#musiccoplayer {
		--touch-gap: 0px;
	}

	@media (pointer: coarse) {
		#musiccoplayer {
			--touch-gap: 44px;
		}
	}

	.divider {
		display: none;
		position: absolute;
		top: 0;
		bottom: 0;
		width: max(.5em, var(--gap));
		transform: translateX(-50%);
		z-index: 2;
		cursor: col-resize;
		touch-action: none;
		outline: none;
	}

	.divider::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(50% - 1px);
		width: 2px;
		background: var(--edge);
		opacity: 0;
		transition: opacity .15s;
	}

	.divider:hover::before,
	.divider:focus-visible::before,
	.divider.dragging::before {
		opacity: 1;
	}

	.divider:focus-visible::before,
	.divider.dragging::before {
		background: var(--text-highlight);
	}

	@media (hover: none) {
		.divider::after {
			content: '';
			position: absolute;
			top: calc(50% - 1.25em);
			left: calc(50% - 2px);
			width: 4px;
			height: 2.5em;
			border-radius: 2px;
			background: var(--text);
			opacity: .35;
		}
	}

	@media (prefers-reduced-motion: reduce) {
		.divider::before {
			transition: none;
		}
	}

	#settingsPanel div {
		margin: 1em 0;
	}

	.modal {
		margin-bottom: 3em;
	}

	#playlistPanel > ul {
		padding: .5em;
		margin-top: 3em;
	}

	.playlist-poster {
		max-width: 100px;
		max-height: 100px;
		border: 1px solid var(--background-subtle);
	}

	#shared-album-cover,
	#shared-album-qr {
		width: 90%;
		vertical-align: text-bottom;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	#shared-album-qr canvas {
		width: 100%;
		margin-left: -3px;
	}

	/* album art and the other pictures keep square corners: the share dialog's cover is the one exception */
	#shared-album-cover img, 
	.logo-share {
		border-radius: 3px;
	}

	#shared-album-cover img {
		width: 100%;
		display: block;
	}

	.logo-share {
		vertical-align: middle;
	}

	#shared-album-link {
		width: 95%;
	}

	#filterText{
		width: 85%;
	}

	.filterTool {
		width: 80.5%;
		margin-left: -.75em;
	}

	#searchText,
	#searchResultFilters {
		width: 70%;
		margin-left: -.5em;
	}


	/* Search Result Filters styling */

	#searchResultFilters {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: flex-start;
		margin: 1em;
		margin-left: -.7em;
	}

	#loadingInfo {
		display: none;
		z-index: 3;
		margin-right: 1em;
	}

	.searchResultFilter {
		display: none;
	}

	.searchResultFilter ~ label {
		border-radius: var(--radius);
		padding: .4em;
		margin-right: .5em;
		color: var(--text-highlight);
		background-color: var(--background-highlight);
		padding: .2em .5em;
	}

	.searchResultFilter:checked + label,
	.searchResultFilter ~ label:hover {
		background-color: var(--text);
		color: var(--text-highlight);
	}

	.big {
		font-size: var(--text-big);
	}

	.bigger {
		height: 2em;
	}

	.move,
	.share, 
	ul.tree {
		font-size: var(--text-normal);
	}

	.album,
	#nowPlaying_title {
		font-size: var(--text-larger);
	}

	#hits,
	#updateCoverArt {
		font-size: var(--text-smaller);
	}

	#nowPlaying_artist,
	#current_time,
	.artist,
	.year,
	.download,
	#nowPlaying_album,
	#nowPlaying_year,
	#duration {
		font-size: var(--text-small);
	}

	#lyricsPanel,
	#infoPanel,
	#historyPanel {
		font-size: var(--text-smaller);
	}

	#geniuslyrics a {
		background-color: var(--background-subtle);
		color: var(--text-highlight);
	}

	.plainLyrics {
		white-space: pre-line;
	}

	#nowPlaying_songtitle {
		font-weight: 500;
		color: var(--text-highlight);
	}

	#nowPlaying_songtitle,
	.album-details {
		height: var(--text-quite-big);
		font-size: var(--text-normal);
	}

	#nowPlaying_songtitle {
		font-size: var(--text-larger);
	}

	#infoPanelTitle {
		font-size: var(--text-big);
		padding-top: 1em;
		padding-bottom: 2em;
	}

	#big-player,
	#sharing-banner,
	#wikiHistory,
	#imageViewerPanel {
		text-align: center;
	}

	#imageViewerPanel img {
		max-height: 95%;
		max-width: 90%;
		object-fit: contain;
		padding: .8em;
		border: 1px solid var(--background-highlight);
		box-shadow: 0 10px 30px var(--background-subtle);
	}
	
	#shared-album-qr,
	#shared-album-show-cover {
		display: none;
	}

	.editsection,
	.coveractions {
		display: none;
	}

	#libraryExposed {
		background-color: var(--background-error);
		color: var(--error);
		padding: .3em 2em .3em .5em;
		position: relative;
		text-align: center;
		z-index: 10;
	}

	#libraryExposed .exposedMedia,
	#libraryExposed .exposedDatabase,
	#libraryExposed .exposedMisrouted,
	#libraryExposed .exposedTemp,
	#libraryExposed .exposedDelayed {
		display: none;
	}

	#libraryExposed[data-exposed=media] .exposedMedia,
	#libraryExposed[data-exposed=database] .exposedDatabase,
	#libraryExposed[data-exposed=misrouted] .exposedMisrouted,
	#libraryExposed[data-exposed=temp] .exposedTemp,
	#libraryExposed[data-exposed=delayed] .exposedDelayed {
		display: inline;
	}

	#libraryExposed[data-exposed=database],
	#libraryExposed[data-exposed=misrouted] {
		font-weight: bold;
	}

	#libraryExposed .closeWarning {
		position: absolute;
		right: .5em;
		cursor: pointer;
	}

	#error {
		background-color: var(--background-error);
		color: var(--error);
		padding:7pt;
		position: relative;
		margin: 10pt 0;
		text-align: center;
	}

	.yellow {
		color: var(--help);
	}

	.bold {
		font-weight: bold;
	}

	#big-info {
		text-align: center;
		overflow-y: hidden;
		overflow-x: hidden;
	}

	#filter {
		border: 0;
	}

	.left {
		float: left;
	}

	.align-right {
		text-align: right;
	}

	.right {
		float: right;
	}

	.boxed {
		border: 1px solid var(--background);
		border-radius: .5em;
		background-color: var(--text-highlight);
		padding: .2em;
		vertical-align: middle;
		margin: .5em;
	}

	#updateCoverArt,
	.dummy {
		position: absolute;
		top: 0;
		z-index: 1;
		opacity: 0.1;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.dummy {
		width: 100%;
		z-index: 0;
	}

	#updateCoverArt {
		z-index: 1;
	}

	#big-cover {
		margin: 0 auto;
		vertical-align: middle;
		border: 0;
		position: relative;
		border: 1px solid var(--background-subtle);
	}

	.album-action,
	.playlist-tools {
		padding-left: 1em;
	}

	.remove {
		float: right;
		font-weight: bold;
	}
	
	.currentTrack {
		margin-left: -0.5em;
	}

	.currentTrack::before {
		content: "\25B6";
		display: inline-block;
		height: 0;
		width: 0;
		left: -1.3em;
		position: relative;
	}

	.hovered,
	#big-volume-bar:hover {
		opacity: 1!important;
	}

	.playlist-poster-container {
		width: 100px;
		height: 100px;
	}

	#big-volume-bar {
		opacity: 0;
		border-radius: .5em;
		border: 1px solid white;
		width: .2em;
		height: 75%;
		position: absolute;
		bottom: 10%;
		right: 3%;
		z-index: 1;
		background: transparent;
		box-shadow: 20px -20px 50px 50px #2222221f;
		transition: opacity 3s ease, border 3s ease;
	}

	.spread {
		display: flex;
		justify-content: space-between;
		align-items: center
	}

	#big-timer,
	#big-info {
		margin: 0 .2em 3% .2em;
	}

	.nowrap {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#config {
		width: 90%;
		background: none;
	}
	
	#config fieldset {
		border: 1px solid var(--text);
		border-top-width: 2px;
		min-width: 0;
	}
	
	fieldset {
		margin-bottom: 1em;
	}

	#config .fa-question-circle {
		margin-left: 1em;
		float: right;
	}

	.indent {
		margin-left: 1em;
		margin-right: 1em;
	}

	#config input,
	#config select,
	#config select option,
	#config button {
		font-family: Montserrat;
		background: var(--contrast-high);
		color: var(--constrast-low);
		margin-left: 1em;
		border: 1px solid var(--text-highlight);
		margin-bottom: .5em;
	}

	#config input,
	#config textarea {
		max-width: calc(100% - 1em);
		box-sizing: border-box;
	}

	.tooltip {
		position: relative;
		display: inline-block;
	}

	.tooltip .tooltiptext {
		font-family: Montserrat;
		font-size: var(--text-small);
		visibility: hidden;
		width: 250px;
		background-color: var(--text);
		color: var(--text-highlight);
		padding: 5px;
		border: 1px solid var(--background);
		position: absolute;
		z-index: 1;
		right: 0;
		top: 2em;
	}

	a.tooltip .tooltiptext {
		width: 8.5em;
		align: center;
	}

	.theme-preview {
		display: inline-block;
		width: 4em;
		height: 2em;
		border: 1px solid black;
	}

	.tooltip:hover .tooltiptext {
		visibility: visible;
	}

	.logo-about {
		max-width: 50%;
	}

	.landing {
		position: fixed;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		max-width: 100vw;
		max-height: 100vh;
		overflow-y: auto;
		background: var(--contrast-high);
		box-sizing: border-box;
		box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
		padding-bottom: 40px;
		border-radius: 3px;
		text-shadow: none;
	}

	/* the login screen and the setup wizard keep their corners from before the refresh of the player */
	.landing input,
	.landing select {
		border-radius: 3px;
	}

	.landing input {
		text-shadow: none;
	}

	.logo-landing {
		height: 2em;
		vertical-align: middle;
		overflow: hidden;
	}

	.landing-header {
		height: 5em;
		width: 100%;
		font-size: var(--text-quite-big);
		background: var(--text);
		color: var(--text-highlight);
		line-height: 150%;
		border-radius: 3px 3px 0 0;
		box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.2);
	}

	.landing-form {
		margin: 4em 2em;
		width: 200px;
		display: block;
		border: none;
		padding: 1em 0;
		border-bottom: solid 1px var(--text);
		transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
		background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, var(--text) 4%);
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, var(--text) 4%);
		background-position: -200px 0;
		background-size: 200px 100%;
		background-repeat: no-repeat;
		color: var(--text);
	}

	.landing-form:focus,
	.landing-form:valid {
		box-shadow: none;
		background-position: 0 0;
	}

	.landing-form:focus::-webkit-input-placeholder,
	.landing-form:valid::-webkit-input-placeholder {
		color: var(--text);
		font-size: var(--text-normal);
		-webkit-transform: translateY(-1em);
						transform: translateY(-1em);
		visibility: visible !important;
	}

	.go {
		border: none;
		background: var(--text);
		border-radius: 3px;
		padding: 6px;
		width: 200px;
		color: var(--text-highlight);
		margin-left: 25px;
		box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
	}

	.go:hover {
		-webkit-transform: translateY(-3px);
				-ms-transform: translateY(-3px);
						transform: translateY(-3px);
		box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.2);
	}

	#playlist,
	#playlist ul{
		list-style: none;
	}

	#playlist-controls {
		margin-left: auto;
		width: 80%;
		margin-right: auto;
	}
	
	#share-actions,
	#share-services {
		margin-top: 1em;
		margin-bottom: 1em;
	}

	#share-actions,
	#share-services,
	#playlist-controls,
	#big-controls {
		justify-content: space-evenly;
	}
	
	#controls {
		color: var(--text-highlight);
		padding-left: 5%;
		padding-right: 5%;
		justify-content: space-around;
	}

	.big-jp-previous-album,
	.big-jp-next-album {
			display: none;
	}

	/* the highlight colour */

	::-webkit-scrollbar {
		width: .3em;
	}

	::-webkit-scrollbar-track {
		background-color: transparent;
	}

	::-webkit-scrollbar-thumb {
		background-color: var(--text-transparent);
		border-radius: 1px;
	}

	::-webkit-scrollbar-thumb:hover {
		background-color: var(--text);
	}

	#ham {
		color: var(--text);
	}

	/* the header's height, in its font */
	#musiccoplayer {
		--header-height: 2;
	}

	#header {
		height: calc(var(--header-height) * 1em);
		width: 100%;
		color: var(--text-highlight);
	}

	#mini-controls {
		display: none;
		margin-left: .5em;
		color: var(--text);
	}

	#mini-controls span,
	#mini-controls input + label {
		display: inline-block;
		margin-left: .4em;
	}

	@media (hover: hover) and (pointer: fine) {
		.toggles.hover,
		#mini-controls span:hover,
		#mini-controls input + label:hover {
			color: var(--text-highlight);
		}

		.big-controls span:hover,
		.big-controls input + label:hover {
			color: var(--text);
		}
	}

}

@media (max-aspect-ratio: 9/10), (min-aspect-ratio: 9/10) and (max-aspect-ratio: 11/10) {
 
	#viewer::after {
		content: 'tall';
		display: none;
	}

	#musiccoplayer {
		--header-height: 3;
	}

	#header {
		font-size: var(--text-larger);
	}

	/* the left pane goes from the header (its font is larger) down to the bottom of the window */
	#leftPanel {
		top: calc(var(--header-height) * var(--text-larger));
	}

	#leftPanel > ul.tabs > li.tab {
		font-size: var(--text-slightly-larger)!important;
		padding-top: .25em!important;
	}

	.uncoverLink > label > i,
	.uncoverLink > .uncover_actions {
		font-size: var(--text-quite-big);
	}

	.uncoverLinkPoster {
		padding-top: 1em;
	}

	#controls {
		margin-top: 1.5em;
	}

	dialog.dialog {
		width: 95vw;
	}

	.modal {
		left: 1em;
	}

	#big-cover {
		max-width: 100vw;
		padding-top: 100%;
		position: relative;
	}

	#ham {
		display: inline-block;
	}

	#big-player {
		height:;
	}

	@supports (backdrop-filter: blur(10px)) {
		#leftPanel {
			backdrop-filter: blur(30px);
			background-color: var(--background-neutral);
		}
	}

	@supports not (backdrop-filter: blur(10px)) {
		#leftPanel {
		opacity: 0.9;
		background: var(--background);
		}
	}

	@media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 11/10) {

		#viewer::after {
			content: 'square';
			display: none;
		}

		@media (hover: hover) {
			#big-cover:hover ~ #big-info {
				backdrop-filter: blur(5px)!important;
				transition: backdrop-filter .5s ease-in, opacity .5s ease-out!important;
				opacity: 1!important;
			}
		}

		#musiccoplayer {
			--header-height: 1;
		}

		#mini-controls {
			display: inline!important;
		}

		#mini-controls i {
			font-size: var(--text-small);
		}

		#ham i,
		#logout a,
		.pipToggles a {
			font-size: var(--text-small);
		}

		#big-player {
			position: relative;
			height: 100%;
		}

		#playlist-controls,
		#controls,
		#big-timer {
			display: none;
		}

		#big-player-bottom {
			height: unset;
		}

		#nowPlaying_songtitle,
		.album-details {
			height: var(--text-big);
			font-size: var(--text-larger);
		}

		#nowPlaying_songtitle {
			font-size: var(--text-big);
		}

		#waveform:hover #big-info,
		#big-info:hover,
		.flash {
			backdrop-filter: blur(5px)!important;
			transition: backdrop-filter .5s ease-in, opacity .5s ease-out!important;
			opacity: 1!important;
		}

		#big-info {
			backdrop-filter: unset;
			position: absolute;
			background: rgba(0, 0, 0, 0.3);
			top: 5em;
			right: 4em;
			width: 33%;
			opacity: 0;
			transition: backdrop-filter 1s ease-in, opacity 1s ease-in;
			padding: .5em 0 .5em .5em;
			color: var(--text-highlight);
			text-shadow: -1px -1px 0 var(--background), 1px -1px 0 var(--background), -1px 1px 0 var(--background), 1px 1px 0 var(--background);
			border-radius: var(--radius);
			box-shadow: 0 0 black;
		}

		@supports not (backdrop-filter: blur(10px)) {
			#big-info {
				background: rgba(0, 0, 0, 0.8);
			}
		}
	}
}

@media (min-aspect-ratio: 11/10) {

	#viewer::after {
		content: 'medium';
		display: none;
	}

	/* the columns, in % of the window: each panel's width, the gap after it (wide enough for a
	   finger's divider), and where the player ends (the dividers between the panels set
	   --tabs-width and --playlist-width, see js/panels.js; --panels names the layout whose
	   sizes they keep); and what the player needs, its buttons on one row (measured with all
	   of them shown) */
	#musiccoplayer {
		--panels: medium;
		--tabs-default: 60%;
		/* (the left pane's padding, its box wider than its width by that) */
		--tabs-across: .4em;
		--tabs-gap: max(4%, var(--touch-gap) + var(--tabs-across));
		--player-end: 99%;
		--player-needs: 18.25em;
		--tabs: var(--tabs-width, var(--tabs-default));
		--player-left: calc(var(--tabs) + var(--tabs-gap));
	}

	#leftPanel {
		left: 0;
		opacity: 1;
		display: flex !important;
		position: fixed;
		top: 0;
		width: var(--tabs);
	}

	#tabsDivider {
		--gap: calc(var(--tabs-gap) - var(--tabs-across));
		display: block;
		left: calc(var(--tabs) + var(--tabs-across) + var(--gap) / 2);
	}

	#big-player {
		position: fixed;
		top: 3em;
		left: var(--player-left);
		margin-right: 5px;
		overflow: hidden;
		text-align: center;
		width: calc(var(--player-end) - var(--player-left));
		/* (as wide as the cover is tall: under it, from 3em down, its time and names, about 6.2em,
		   and its buttons, 20cqh, are in the room left) */
		max-width: min(70cqh, calc(80cqh - 9.2em));
		z-index: 2;
	}

	#musiccoplayer {
		--header-height: 3;
	}

	#header {
		place-content: flex-end;
		width: calc(100% - 1em);
	}

	#controls {
		margin-top: 2em;
	}

	@media (max-width: 1024px) {
		#big-volume-up,
		#big-volume-down {
			display: none;
		}
	}

	@media (min-width: 1025px) {

		#viewer::after {
			content: 'widescreen';
			display: none;
		}

		#musiccoplayer {
			--panels: widescreen;
			--tabs-default: 25%;
			--tabs-gap: max(1%, var(--touch-gap) + var(--tabs-across));
			--playlist-default: 32%;
			/* (the playlist's padding, 1.4em each side) */
			--playlist-across: 2.8em;
			--playlist-gap: max(6%, var(--touch-gap) + var(--playlist-across));
			/* (the playlist's tools on one row; the player has its volume buttons too) */
			--playlist-needs: 21.5em;
			--player-needs: 24.5em;
			--playlist: var(--playlist-width, var(--playlist-default));
			--player-left: calc(var(--tabs) + var(--tabs-gap) + var(--playlist) + var(--playlist-gap));
		}

		#playlistDivider {
			--gap: calc(var(--playlist-gap) - var(--playlist-across));
			display: block;
			left: calc(var(--player-left) - var(--gap) / 2);
		}

		#playlist-tools {
			top: -18px;
		}

		#playlistPanel {
			opacity: 1;
			border-right: 1px solid black;
			display: block !important;
			position: fixed;
			top: 0;
		}

		#playlist-tools {
			background: var(--background);
			border-bottom: 2px solid var(--text);
		}

		.playlist-tools {
			color: var(--text);
		}

		#leftPanel {
			left: 0;
		}

		#playlistPanel {
			left: calc(var(--tabs) + var(--tabs-gap));
			width: var(--playlist);
			bottom: 0;
			overflow-x: hidden;
			overflow-y: auto;
			border-right: 0;
			margin-top: .4em;
		}

		#leftPanel > ul.tabs > li.tab > a {
			padding-right: 0.8em;
			padding-left: 0.8em;
		}

	}

	@media (max-height: 480px) and (hover: none), (min-aspect-ratio: 18/9) and (hover: none) {

		/* special cases for landscape mode on skinny mobiles */

	#musiccoplayer {
		--panels: sideways;
		--tabs-default: 50%;
		--tabs-gap: max(8%, var(--touch-gap) + var(--tabs-across));
		--player-end: 103%;
		/* (its buttons are not shown) */
		--player-needs: 16em;
		--player-left: calc(var(--tabs) + var(--tabs-gap));
	}

	#big-player {
		top: 2.6em;
		max-width: 85cqh;
	}

		#big-timer,
		#big-info,
		#big-player-bottom,
		.big-volume-down,
		.big-volume-up {
			display: none !important;
		}

		/* of the mini controls, only the uncover and the speaker buttons, at the end of the row of
		   tabs: the cover plays and pauses on a tap, and its swipes go to the next or previous track
		   and set the volume. Only the buttons take taps (the spaces between them have no size) */
		#mini-controls {
			display: inline!important;
			z-index: 3;
			position: fixed;
			/* (in rem: the box has no font size) */
			top: 1.15rem;
			/* (at the right end of the tabs, however wide they are) */
			right: calc(100% - var(--tabs));
			margin-left: 0;
			font-size: 0;
			pointer-events: none;
		}

		#mini-controls > :not(.uncover, #mini-controls-output) {
			display: none!important;
		}

		#mini-controls #mini-controls-output {
			display: inline-block;
		}

		#mini-controls > .uncover,
		#mini-controls > #mini-controls-output {
			font-size: 1rem;
			pointer-events: auto;
		}

		#leftPanel > ul.tabs {
			padding-right: 4.5em;
		}

		.playlist-poster-container {
			width: 85px;
			height: 85px;
		}

		.playlist-poster {
			max-width: 85px;
			max-height: 85px;
		}

	#uncoverLinks span {
		width: 150px;
	}

	#uncover_top_row span {
		padding: .5em;
		margin: .5em;
		font-size: var(--text-large);
	}

		#big-volume-bar {
			width: .05em;
		}

		#updateCoverArt {
			font-size: var(--text-tiny);
		}

		#big-player-bottom {
			height: unset;
			padding-top: .7em;
		}

		.fa-5x {
			font-size: 3em;
		}

		.fa-2x {
			font-size: 1.2em;
		}

	}

}

@media (max-height: 480px), (min-aspect-ratio: 18/9) {

	#playlist-controls {
		display: none;
	}
	
	#musiccoplayer {
		--header-height: 1.5;
	}

	#loadingInfo {
		font-size: var(--text-tiny);
	}

}

@media (max-width: 480px) {
	#playlist-controls {
		padding-right: 0;
	}

	#big-volume-down, 
	#big-volume-up,
	#big-mute,
	#big-unmute {
		display: none!important;
	}

	#big-volume-up::before,
	#big-volume-down::before,
	#big-mute::before,
	#big-unmute::before {
		display: none!important;
	}
}

@media (max-width: 1024px) {

	.panelToggle {
		padding-left: .75em!important;
		padding-right: .75em!important;
	}

	#filterText {
		width: 80%;
	}

	#searchText,
	#searchResultFilters {
		width: 75%;
	}

}


/* The mini player, in its Picture-in-Picture window (see openMiniPlayer) */
@media all {

	.pipToggles.selected a {
		color: var(--text-highlight);
	}

	.pip-icon {
		width: 1.25em;
		height: 1.25em;
		vertical-align: -.25em;
	}

	body.mini-player {
		height: 100vh;
		margin: 0;
		overflow: hidden;
		background-image: none;
		background-color: var(--background);
		color: var(--text);
		user-select: none;
	}

	#mini {
		position: relative;
		isolation: isolate;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		height: 100%;
		background-color: black;
	}

	/* the cover, as large as the window allows, with the controls laid over it (both the shape of the cover, see updateMiniPlayer) */
	#mini-stage {
		position: relative;
		flex: 1 1 0;
		min-height: 0;
		container-type: size;
	}

	/* where the cover leaves room, its colours, blurred */
	#mini-stage::before {
		content: "";
		position: absolute;
		inset: -40px;
		z-index: -1;
		background: var(--mini-cover, none) center / cover;
		filter: blur(24px) brightness(.55) saturate(1.2);
	}

	#mini-cover,
	#mini-overlay {
		position: absolute;
		inset: 0;
		margin: auto;
		width: min(100cqw, 100cqh * var(--mini-ratio, 1));
		height: min(100cqh, 100cqw / var(--mini-ratio, 1));
	}

	#mini-cover {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#mini-cover img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	#mini-cover .logo-mini {
		width: 50%;
		height: 50%;
	}

	#mini-overlay {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		gap: .2em;
		padding: 0 .8em .4em;
		background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, .8));
		color: white;
		text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
		opacity: 0;
		transition: opacity .2s;
	}

	/* like a video's Picture-in-Picture, the controls show while the mouse is over the window, or while one of them is in use or has the keyboard */
	#mini:hover #mini-overlay,
	#mini-overlay:has(:focus-visible),
	#mini-overlay:has(#mini-volume.open, #mini-outputs.open) {
		opacity: 1;
	}

	#mini-info {
		padding: .4em .8em .5em;
		background-color: black;
		color: #bbb;
		text-align: center;
		font-size: var(--text-small);
	}

	#mini-info > div {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#mini-title {
		color: white;
		font-size: var(--text-slightly-larger);
		font-weight: 500;
	}

	#mini-seek {
		font-size: var(--text-tiny);
	}

	/* thin, with room around it to click */
	#mini-seek-bar {
		height: 3px;
		padding: 5px 0;
		background-clip: content-box;
		background-color: rgba(255, 255, 255, .3);
		cursor: pointer;
	}

	#mini-progress {
		width: 0;
		height: 100%;
		background-color: var(--text-highlight);
		pointer-events: none;
	}

	#mini-buttons {
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: var(--text-larger);
	}

	#mini-buttons > span {
		padding: .2em;
		cursor: pointer;
	}

	#mini-buttons > span:hover,
	#mini-buttons > span.selected,
	#mini-volume.open #mini-volume-button {
		color: var(--text-highlight);
	}

	#mini-play-pause {
		font-size: var(--text-big);
		color: var(--text-highlight);
	}

	#mini-output svg {
		display: block;
		width: 1em;
		height: 1em;
	}

	#mini-volume {
		position: relative;
	}

	#mini-volume-popup,
	#mini-outputs {
		color: var(--text);
		text-shadow: none;
	}

	#mini-volume-popup {
		display: none;
		position: absolute;
		bottom: 100%;
		left: 50%;
		transform: translateX(-50%);
		padding: .6em .3em;
		border-radius: var(--radius-floating);
		border: 1px solid var(--edge-floating);
		background-color: var(--background-highlight);
		box-shadow: 0 4px 16px var(--background-neutral);
	}

	#mini-volume.open #mini-volume-popup {
		display: block;
	}

	#mini-volume-slider {
		display: block;
		width: 1.2em;
		height: 7em;
		margin: 0;
		writing-mode: vertical-lr;
		direction: rtl;
		accent-color: var(--text-highlight);
	}

	/* over the whole of the cover's room, whatever the shape of the cover: fixed, it is placed in #mini-stage, a container */
	#mini-outputs {
		display: none;
		position: fixed;
		left: .5em;
		right: .5em;
		bottom: .5em;
		max-height: calc(100% - 1em);
		overflow-y: auto;
		border-radius: var(--radius-floating);
		border: 1px solid var(--edge-floating);
		background-color: var(--background-highlight);
		box-shadow: 0 4px 16px var(--background-neutral);
		font-size: var(--text-small);
	}

	#mini-outputs.open {
		display: block;
	}

	#mini-outputs-title {
		display: flex;
		justify-content: space-between;
		padding: .7em .9em .2em;
		font-size: var(--text-tiny);
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.mini-searching {
		display: none;
	}

	#mini-outputs.searching .mini-searching {
		display: inline;
	}

	#mini-output-list {
		list-style: none;
		margin: 0;
		padding: .2em .4em .4em;
	}

	#mini-output-list .output {
		display: grid;
		grid-template-columns: 1.5em minmax(0, 1fr) auto;
		align-items: center;
		gap: .5em;
		padding: .5em;
		border-radius: 6px;
		cursor: pointer;
	}

	#mini-output-list .output:hover,
	#mini-output-list .output:focus-visible,
	#mini-output-list .output.selected {
		color: var(--text-highlight);
	}

	#mini-output-list .output:hover,
	#mini-output-list .output:focus-visible {
		background-color: var(--background);
		outline: none;
	}

	#mini-output-list .output svg {
		display: block;
		width: 1.1em;
		height: 1.1em;
		margin: auto;
	}

	#mini-output-list .output-name {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#mini-output-list .output-tag {
		font-size: var(--text-minuscule);
		letter-spacing: .1em;
		text-transform: uppercase;
		border: 1px solid var(--background);
		border-radius: 4px;
		padding: 2px 6px;
	}

	#mini-output-list .output-empty {
		padding: .5em;
	}

	#mini-output-list .output-note {
		padding: 0 .5em .5em;
		font-size: .8em;
		opacity: .7;
	}

	/* a narrow window: the album buttons go first */
	@media (max-width: 260px) {
		.mini-album {
			display: none;
		}
	}

	/* a short window: the volume slider lies over the row */
	@media (max-height: 280px) {
		#mini-volume-popup {
			bottom: auto;
			top: 50%;
			left: 100%;
			transform: translateY(-50%);
			padding: .3em .6em;
		}

		#mini-volume-slider {
			width: 8em;
			height: 1.2em;
			writing-mode: horizontal-tb;
			direction: ltr;
		}
	}

	/* a very narrow window keeps the buttons that play */
	@media (max-width: 200px) {
		#mini-volume,
		#mini-output {
			display: none;
		}
	}

	/* a very short window lays the player out in a row: a small cover, the track, and the buttons that play */
	@media (max-height: 240px) {
		#mini {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr) auto;
			grid-template-rows: minmax(0, 1fr) auto;
			align-items: center;
			column-gap: .6em;
			box-sizing: border-box;
			padding: .4em .6em 0;
		}

		#mini-stage,
		#mini-overlay {
			display: contents;
		}

		#mini-cover {
			position: static;
			grid-area: 1 / 1;
			width: auto;
			height: 100%;
			margin: 0;
			max-height: 4em;
			aspect-ratio: 1;
		}

		#mini-info {
			grid-area: 1 / 2;
			padding: 0;
			background-color: transparent;
			text-align: left;
		}

		#mini-buttons {
			grid-area: 1 / 3;
			font-size: var(--text-normal);
		}

		#mini-play-pause {
			font-size: var(--text-larger);
		}

		#mini-seek {
			grid-area: 2 / 1 / 3 / -1;
		}

		#mini-seek .spread,
		#mini-volume,
		.mini-album,
		#mini-output,
		#mini-outputs {
			display: none;
		}
	}
}
