.ap-tl {
	--ap-bg: #100614;
	--ap-surface: #1a0d20;
	--ap-surface-2: #241330;
	--ap-line: rgba(255, 255, 255, .08);
	--ap-text: #fff;
	--ap-muted: rgba(255, 255, 255, .58);
	--ap-accent: #5e2a46;
	--ap-accent-hi: #c0588a;
	color: var(--ap-text);
	font-size: 15px;
	line-height: 1.35;
	max-width: 1180px;
	margin: 0 auto;
	padding-bottom: 96px;
}
.ap-tl *, .ap-tl *::before, .ap-tl *::after { box-sizing: border-box; }
.ap-tl a { color: inherit; text-decoration: none; }

/* Filter */
.ap-tl__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.ap-tl__field { margin: 0; }
.ap-tl__field--search { flex: 1 1 240px; }
.ap-tl__q, .ap-tl__f {
	width: 100%; height: 40px; padding: 0 14px; border-radius: 4px;
	background: var(--ap-surface); color: var(--ap-text);
	border: 1px solid var(--ap-line); font: inherit; font-size: 14px;
}
.ap-tl__f { min-width: 170px; appearance: auto; }
.ap-tl__q::placeholder { color: var(--ap-muted); }
.ap-tl__q:focus, .ap-tl__f:focus { outline: 2px solid var(--ap-accent-hi); outline-offset: 1px; }
.ap-tl__count { margin-left: auto; color: var(--ap-muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* Tabelle */
.ap-tl__head, .ap-tl__row {
	display: grid;
	grid-template-columns: 28px 56px minmax(0, 2.1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr) 72px 118px;
	gap: 14px; align-items: center;
}
.ap-tl__head {
	padding: 0 12px 8px; color: var(--ap-muted); font-size: 11px;
	letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ap-line);
}
.ap-tl__list { list-style: none; margin: 0; padding: 0; }
.ap-tl__row {
	padding: 8px 12px; border-bottom: 1px solid var(--ap-line);
	transition: background-color .15s ease;
}
.ap-tl__row:hover, .ap-tl__row.is-playing { background: var(--ap-surface); }
.ap-tl__row.is-playing .ap-tl__num { color: var(--ap-accent-hi); }
.ap-tl__num { color: var(--ap-muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

.ap-tl__art {
	position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 3px;
	overflow: hidden; cursor: pointer; background: var(--ap-surface-2);
}
.ap-tl__art[disabled] { cursor: default; }
.ap-tl__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-tl__playicon {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: rgba(16, 6, 20, .55); opacity: 0; transition: opacity .15s ease;
}
.ap-tl__playicon::before {
	content: ""; width: 0; height: 0; margin-left: 3px;
	border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.ap-tl__art:hover .ap-tl__playicon, .ap-tl__art:focus-visible .ap-tl__playicon, .ap-tl__row.is-playing .ap-tl__playicon { opacity: 1; }
.ap-tl__row.is-playing .ap-tl__playicon::before {
	width: 14px; height: 16px; margin: 0; border: 0;
	border-left: 4px solid #fff; border-right: 4px solid #fff;
}
.ap-tl__art:focus-visible { outline: 2px solid var(--ap-accent-hi); outline-offset: 2px; }

.ap-tl__title { min-width: 0; }
.ap-tl__title a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-tl__title strong { font-weight: 700; }
.ap-tl__title a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.ap-tl__mix { color: var(--ap-muted); font-weight: 400; }
.ap-tl__artist, .ap-tl__label, .ap-tl__genre {
	min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px;
}
.ap-tl__label, .ap-tl__genre { color: var(--ap-muted); }
.ap-tl__bpm { font-variant-numeric: tabular-nums; font-size: 14px; }
.ap-tl__bpm small { color: var(--ap-muted); font-size: 11px; }
.ap-tl__action { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* Kaufen-Button */
.ap-tl .ap-tl__buy {
	display: inline-flex; align-items: stretch; height: 34px; border-radius: 3px; overflow: hidden;
	background: var(--ap-accent); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
	transition: background-color .15s ease;
}
.ap-tl .ap-tl__buy:hover { background: var(--ap-accent-hi); }
.ap-tl .ap-tl__buy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ap-tl__price { display: flex; align-items: center; padding: 0 10px; }
.ap-tl__price .woocommerce-Price-currencySymbol { font-weight: 400; opacity: .8; margin-right: 2px; }
.ap-tl__cart {
	display: grid; place-items: center; width: 32px; font-size: 18px; font-weight: 400;
	border-left: 1px solid rgba(255, 255, 255, .18);
}
.ap-tl .ap-tl__buy.loading { opacity: .6; pointer-events: none; }
.ap-tl .ap-tl__buy.is-in-cart, .ap-tl .ap-tl__buy.added { background: var(--ap-surface-2); }
.ap-tl .ap-tl__buy.added .ap-tl__cart::before { content: "\2713"; }
.ap-tl .ap-tl__buy.added .ap-tl__cart { font-size: 0; }
.ap-tl .ap-tl__buy.added .ap-tl__cart::before { font-size: 15px; }
.ap-tl .ap-tl__action .added_to_cart {
	display: block !important; margin: 0 !important; padding: 0 !important; background: none !important;
	color: var(--ap-accent-hi) !important; font-size: 12px !important; line-height: 1.2 !important; font-weight: 400 !important;
	text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; border: 0 !important; position: static !important;
}
.ap-tl__soldout { color: var(--ap-muted); font-size: 13px; }

.ap-tl__note { margin: 16px 12px 0; color: var(--ap-muted); font-size: 13px; }
.ap-tl__none { padding: 24px 12px; color: var(--ap-muted); }
.ap-tl--empty { padding: 24px 0; color: rgba(255, 255, 255, .6); }

/* Mini-Player */
.ap-tl__player {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
	display: flex; align-items: center; gap: 14px; padding: 10px 16px;
	background: rgba(26, 13, 32, .97); border-top: 1px solid var(--ap-line);
	backdrop-filter: blur(8px); color: #fff;
}
.ap-tl__player[hidden] { display: none; }
.ap-tl__pcover { width: 44px; height: 44px; border-radius: 3px; object-fit: cover; flex: none; }
.ap-tl__ptoggle, .ap-tl__pclose {
	flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
	background: #fff; color: #100614; display: grid; place-items: center; padding: 0;
}
.ap-tl__ptoggle::before {
	content: ""; width: 12px; height: 14px; border-left: 4px solid #100614; border-right: 4px solid #100614;
}
.ap-tl__ptoggle.is-paused::before {
	width: 0; height: 0; margin-left: 3px; border-style: solid;
	border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #100614;
}
.ap-tl__pclose { background: transparent; color: rgba(255, 255, 255, .6); font-size: 24px; width: 32px; }
.ap-tl__pclose:hover { color: #fff; }
.ap-tl__pmeta { display: flex; flex-direction: column; min-width: 0; width: 220px; flex: none; }
.ap-tl__ptitle, .ap-tl__partist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-tl__ptitle { font-size: 14px; }
.ap-tl__partist { font-size: 12px; color: rgba(255, 255, 255, .58); }
.ap-tl__pbar { position: relative; flex: 1 1 auto; min-width: 0; height: 44px; cursor: pointer; touch-action: none; }
.ap-tl__wave { display: block; width: 100%; height: 100%; }
.ap-tl__pbar:focus-visible { outline: 2px solid #c0588a; outline-offset: 4px; border-radius: 3px; }
.ap-tl__ptime, .ap-tl__pdur { flex: none; width: 36px; font-size: 12px; color: rgba(255, 255, 255, .58); font-variant-numeric: tabular-nums; }
.ap-tl__ptime { text-align: right; }
.ap-tl__pctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.ap-tl__pprev, .ap-tl__pnext {
	flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
	background: transparent; color: rgba(255, 255, 255, .75); display: grid; place-items: center;
}
.ap-tl__pprev svg, .ap-tl__pnext svg { width: 18px; height: 18px; fill: currentColor; }
.ap-tl__pprev:hover, .ap-tl__pnext:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ap-tl__pprev:focus-visible, .ap-tl__pnext:focus-visible, .ap-tl__ptoggle:focus-visible { outline: 2px solid #c0588a; outline-offset: 2px; }
.ap-tl__pnext:disabled { opacity: .3; cursor: default; background: transparent; }
.ap-tl .ap-tl__pbuy {
	flex: none; padding: 8px 14px; border-radius: 3px; background: #5e2a46; color: #fff; font-size: 13px; font-weight: 700;
}
.ap-tl .ap-tl__pbuy:hover { background: #c0588a; }

/* Tablet */
@media (max-width: 1024px) {
	.ap-tl__head, .ap-tl__row { grid-template-columns: 24px 52px minmax(0, 2fr) minmax(0, 1.2fr) 64px 112px; }
	.ap-tl__head span:nth-child(5), .ap-tl__head span:nth-child(6), .ap-tl__label, .ap-tl__genre { display: none; }
	.ap-tl__art { width: 52px; height: 52px; }
}

/* Handy */
@media (max-width: 640px) {
	.ap-tl { font-size: 14px; }
	.ap-tl__head { display: none; }
	.ap-tl__row {
		grid-template-columns: 52px minmax(0, 1fr) auto;
		grid-template-areas: "art title action" "art artist action";
		row-gap: 2px; column-gap: 12px; padding: 10px 4px;
	}
	.ap-tl__num, .ap-tl__bpm { display: none; }
	.ap-tl__art { grid-area: art; }
	.ap-tl__title { grid-area: title; }
	.ap-tl__artist { grid-area: artist; color: rgba(255, 255, 255, .58); font-size: 13px; }
	.ap-tl__action { grid-area: action; }
	.ap-tl__f { min-width: 0; }
	.ap-tl__filters .ap-tl__field:not(.ap-tl__field--search) { flex: 1 1 calc(50% - 5px); }
	.ap-tl__count { width: 100%; margin-left: 0; }
	.ap-tl__player { gap: 10px; padding: 8px 12px; flex-wrap: wrap; }
	.ap-tl__pmeta { width: auto; flex: 1 1 0; }
	.ap-tl__pbar { order: 10; flex-basis: 100%; height: 36px; }
	.ap-tl__ptime, .ap-tl__pdur { display: none; }
	.ap-tl__pbuy { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.ap-tl *, .ap-tl *::before { transition: none !important; }
}

/* Karten-Ansicht (Startseite) */
.ap-tl--cards { padding-bottom: 0; }
.ap-tl--cards .ap-tl__list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px;
}
.ap-tl--cards .ap-tl__row {
	display: flex; flex-direction: column; gap: 6px; padding: 0 0 14px; border: 0;
	background: var(--ap-surface); border-radius: 4px; overflow: hidden;
}
.ap-tl--cards .ap-tl__row:hover, .ap-tl--cards .ap-tl__row.is-playing { background: var(--ap-surface-2); }
.ap-tl--cards .ap-tl__num, .ap-tl--cards .ap-tl__label, .ap-tl--cards .ap-tl__bpm { display: none; }
.ap-tl--cards .ap-tl__art { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; }
.ap-tl--cards .ap-tl__art img { width: 100%; height: 100%; }
.ap-tl--cards .ap-tl__playicon::before { border-width: 16px 0 16px 26px; }
.ap-tl--cards .ap-tl__row.is-playing .ap-tl__playicon::before { width: 22px; height: 26px; border-left-width: 7px; border-right-width: 7px; }
.ap-tl--cards .ap-tl__title, .ap-tl--cards .ap-tl__artist, .ap-tl--cards .ap-tl__genre { padding: 0 14px; }
.ap-tl--cards .ap-tl__title { margin-top: 8px; font-size: 16px; }
.ap-tl--cards .ap-tl__title a { white-space: normal; }
.ap-tl--cards .ap-tl__mix { display: block; font-size: 13px; }
.ap-tl--cards .ap-tl__genre { font-size: 12px; }
.ap-tl--cards .ap-tl__action { justify-self: auto; align-items: flex-start; padding: 6px 14px 0; }
@media (max-width: 640px) {
	.ap-tl--cards .ap-tl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ap-tl--cards .ap-tl__row { display: flex; grid-template-areas: none; padding: 0 0 12px; }
	.ap-tl--cards .ap-tl__title, .ap-tl--cards .ap-tl__artist, .ap-tl--cards .ap-tl__genre { padding: 0 10px; }
	.ap-tl--cards .ap-tl__action { padding: 4px 10px 0; }
}
