/*
Theme Name: RaiBeat
Theme URI: https://example.com/raibeat
Author: RaiBeat
Description: Thème musique noir & rose : albums MP3 à écouter en ligne (lecteur fixe en bas de page) et à télécharger via une page de téléchargement qui envoie vers le lien de votre choix (Mediafire, Mega, Google Drive…). Compatible arabe (RTL), français et anglais.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raibeat
Tags: dark, music, entertainment, custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--rb-bg: #070709;
	--rb-surface: #111115;
	--rb-surface-2: #18181e;
	--rb-line: #24242c;
	--rb-text: #f5f2f6;
	--rb-muted: #9b97a4;
	--rb-pink: #ff1f8f;
	--rb-pink-deep: color-mix(in srgb, var(--rb-pink) 62%, #000);
	--rb-pink-soft: color-mix(in srgb, var(--rb-pink) 16%, transparent);
	--rb-radius: 10px;
	--rb-font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rb-display: "Anton", "Cairo", Impact, sans-serif;
	--rb-container: 1240px;
	--rb-player-h: 0px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rb-bg);
	color: var(--rb-text);
	font-family: var(--rb-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	padding-bottom: var(--rb-player-h);
}

body.rb-player-open {
	--rb-player-h: 84px;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--rb-pink);
	text-decoration: none;
}

a:hover {
	color: #fff;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--rb-pink);
	outline-offset: 2px;
}

::selection {
	background: var(--rb-pink);
	color: #fff;
}

.rb-icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 1000;
	inset-inline-start: 12px;
	top: 12px;
	padding: 10px 16px;
	background: var(--rb-pink);
	color: #fff;
	border-radius: 6px;
}

.rb-container {
	width: 100%;
	max-width: var(--rb-container);
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 768px) {
	.rb-container {
		padding-inline: 24px;
	}
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.rb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .02em;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	text-decoration: none;
}

.rb-btn--pink {
	background: linear-gradient(180deg, var(--rb-pink), var(--rb-pink-deep));
	color: #fff;
	box-shadow: 0 8px 26px -8px var(--rb-pink);
}

.rb-btn--pink:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -8px var(--rb-pink);
}

.rb-btn--ghost {
	background: transparent;
	border-color: var(--rb-pink);
	color: #fff;
}

.rb-btn--ghost:hover,
.rb-btn--ghost.is-playing {
	background: var(--rb-pink-soft);
	color: #fff;
}

.rb-btn--big {
	padding: 14px 30px;
	font-size: 17px;
}

.rb-btn--big small {
	display: block;
	font-size: 11px;
	font-weight: 600;
	opacity: .8;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rb-btn .rb-icon {
	width: 20px;
	height: 20px;
}

.rb-btn-icon {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--rb-line);
	background: var(--rb-surface-2);
	color: #fff;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .15s;
}

.rb-btn-icon .rb-icon {
	width: 16px;
	height: 16px;
}

.rb-btn-icon:hover,
.rb-btn-icon.is-current {
	border-color: var(--rb-pink);
	color: #fff;
	transform: scale(1.08);
}

.rb-btn-icon.is-playing {
	background: var(--rb-pink);
	border-color: var(--rb-pink);
}

.rb-btn-icon--pink {
	background: var(--rb-pink);
	border-color: var(--rb-pink);
}

.rb-btn-icon--pink:hover {
	background: var(--rb-pink-deep);
}

/* Play / pause swap */
.rb-when-playing {
	display: none;
}

.is-playing > .rb-when-paused,
.is-playing .rb-track-row__icon > .rb-when-paused {
	display: none;
}

.is-playing > .rb-when-playing,
.is-playing .rb-track-row__icon > .rb-when-playing {
	display: inline-flex;
}

.rb-when-paused,
.rb-when-playing {
	align-items: center;
	gap: 8px;
}

.rb-when-paused {
	display: inline-flex;
}

/* ==========================================================================
   Header
   ========================================================================== */
.rb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--rb-bg) 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--rb-line);
}

.admin-bar .rb-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .rb-header {
		top: 46px;
	}
}

.rb-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}

.rb-header__brand {
	flex: none;
}

.rb-header__brand .custom-logo {
	max-height: 48px;
	width: auto;
}

.rb-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.rb-logo:hover {
	color: #fff;
}

.rb-logo__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(140deg, var(--rb-pink), var(--rb-pink-deep));
	box-shadow: 0 6px 20px -6px var(--rb-pink);
}

.rb-logo__mark .rb-icon {
	width: 20px;
	height: 20px;
}

.rb-logo__text {
	font-family: var(--rb-display);
	font-size: 26px;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1;
}

.rb-nav {
	flex: 1;
}

.rb-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-nav__list a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--rb-muted);
	font-weight: 700;
	font-size: 15px;
}

.rb-nav__list a:hover,
.rb-nav__list .current-menu-item > a,
.rb-nav__list .current_page_item > a {
	color: #fff;
	background: var(--rb-pink-soft);
}

.rb-nav__list .sub-menu {
	display: none;
	position: absolute;
	min-width: 200px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
}

.rb-nav__list li {
	position: relative;
}

.rb-nav__list li:hover > .sub-menu,
.rb-nav__list li:focus-within > .sub-menu {
	display: block;
}

.rb-header__tools {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-inline-start: auto;
}

.rb-search {
	display: flex;
	align-items: center;
	background: var(--rb-surface-2);
	border: 1px solid var(--rb-line);
	border-radius: 999px;
	padding-inline: 14px 4px;
	transition: border-color .2s;
}

.rb-search:focus-within {
	border-color: var(--rb-pink);
}

.rb-search input {
	width: 190px;
	background: none;
	border: 0;
	outline: 0;
	color: #fff;
	font: inherit;
	font-size: 14px;
	padding: 8px 0;
}

.rb-search input::placeholder {
	color: var(--rb-muted);
}

.rb-search button {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--rb-pink);
	cursor: pointer;
}

.rb-search .rb-icon {
	width: 16px;
	height: 16px;
}

.rb-burger {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--rb-line);
	border-radius: 10px;
	background: var(--rb-surface-2);
	cursor: pointer;
	place-items: center;
}

@media (max-width: 960px) {
	.rb-burger {
		display: grid;
	}

	.rb-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		padding: 12px 16px 18px;
		background: var(--rb-bg);
		border-bottom: 1px solid var(--rb-line);
	}

	.rb-nav-open .rb-nav {
		display: block;
	}

	.rb-nav__list {
		flex-direction: column;
	}

	.rb-nav__list .sub-menu {
		position: static;
		display: block;
		border: 0;
		background: none;
		padding-inline-start: 14px;
	}
}

@media (max-width: 600px) {
	.rb-header__inner {
		gap: 12px;
	}

	.rb-logo__text {
		font-size: 21px;
	}

	.rb-header__tools .rb-search {
		display: none;
	}
}

.rb-nav__search {
	display: none;
}

@media (max-width: 600px) {
	.rb-nav__search {
		display: flex;
		margin-bottom: 12px;
	}

	.rb-nav__search input {
		flex: 1;
		width: auto;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.rb-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(120% 90% at 50% 120%, var(--rb-pink) 0%, var(--rb-pink-deep) 32%, transparent 70%),
		linear-gradient(180deg, #000 0%, #120009 55%, #2a0016 100%);
	border-bottom: 1px solid var(--rb-line);
}

.rb-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--rb-hero-img) center / cover no-repeat;
	filter: grayscale(.3) blur(2px);
	opacity: .55;
	mix-blend-mode: screen;
}

.rb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .2) 60%, rgba(0, 0, 0, .55) 100%);
}

.rb-hero__lights i {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--rb-pink) 75%, #fff) 0%, transparent 70%);
	filter: blur(6px);
	opacity: .45;
	animation: rb-float 9s ease-in-out infinite;
}

.rb-hero__lights i:nth-child(1) { width: 120px; height: 120px; left: 6%; top: 58%; }
.rb-hero__lights i:nth-child(2) { width: 60px; height: 60px; left: 22%; top: 20%; animation-delay: -2s; }
.rb-hero__lights i:nth-child(3) { width: 180px; height: 180px; left: 46%; top: 70%; animation-delay: -4s; opacity: .3; }
.rb-hero__lights i:nth-child(4) { width: 40px; height: 40px; left: 64%; top: 12%; animation-delay: -1s; }
.rb-hero__lights i:nth-child(5) { width: 90px; height: 90px; left: 86%; top: 40%; animation-delay: -6s; }
.rb-hero__lights i:nth-child(6) { width: 26px; height: 26px; left: 34%; top: 46%; animation-delay: -3s; }

@keyframes rb-float {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-18px) scale(1.12); }
}

.rb-hero__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 40px;
	min-height: 440px;
	padding-block: 56px;
}

.rb-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 14px;
	border: 1px solid color-mix(in srgb, var(--rb-pink) 50%, transparent);
	border-radius: 999px;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.rb-hero__eyebrow .rb-icon {
	color: var(--rb-pink);
}

.rb-hero__title {
	margin: 0;
	font-family: var(--rb-display);
	font-weight: 400;
	font-size: clamp(42px, 7vw, 86px);
	line-height: .98;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #fff;
}

.rb-hero__title span {
	display: block;
	text-shadow: 3px 3px 0 #2a2a2a, 6px 6px 0 rgba(0, 0, 0, .55);
}

.rb-hero__title .rb-hero__accent {
	color: var(--rb-pink);
	text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(0, 0, 0, .5);
}

.rb-hero__sub {
	margin: 18px 0 26px;
	font-size: 19px;
	color: #e8dfe8;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
}

.rb-hero__stack {
	position: relative;
	height: 340px;
}

.rb-hero__cd {
	position: absolute;
	width: 62%;
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
	transition: transform .35s ease;
}

.rb-hero__cd img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rb-hero__cd--1 { inset-inline-start: 19%; top: 6%; z-index: 3; transform: rotate(-2deg); }
.rb-hero__cd--2 { inset-inline-start: 0; top: 14%; z-index: 2; transform: rotate(-12deg) scale(.86); opacity: .85; }
.rb-hero__cd--3 { inset-inline-start: 38%; top: 14%; z-index: 1; transform: rotate(10deg) scale(.86); opacity: .85; }

.rb-hero__stack:hover .rb-hero__cd--2 { transform: rotate(-16deg) scale(.86) translateX(-14px); }
.rb-hero__stack:hover .rb-hero__cd--3 { transform: rotate(14deg) scale(.86) translateX(14px); }

@media (max-width: 860px) {
	.rb-hero__inner {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-block: 40px 48px;
		text-align: center;
	}

	.rb-hero__stack {
		display: none;
	}

	.rb-hero__sub {
		font-size: 15px;
	}
}

/* ==========================================================================
   Sections & grid
   ========================================================================== */
.rb-home,
.rb-listing {
	padding-block: 34px 40px;
}

.rb-section {
	margin-bottom: 44px;
}

.rb-section__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding: 12px 18px;
	background: linear-gradient(90deg, var(--rb-surface-2), var(--rb-surface));
	border: 1px solid var(--rb-line);
	border-radius: 8px;
	overflow: hidden;
}

.rb-section__bar::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 4px;
	background: var(--rb-pink);
	box-shadow: 0 0 16px var(--rb-pink);
}

.rb-section__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.rb-section__more {
	flex: none;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

[dir="rtl"] .rb-section__more span {
	display: inline-block;
	transform: scaleX(-1);
}

.rb-listing__desc {
	margin: -6px 0 18px;
	color: var(--rb-muted);
}

.rb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 18px;
}

@media (max-width: 480px) {
	.rb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* ==========================================================================
   Album card
   ========================================================================== */
.rb-card {
	display: flex;
	flex-direction: column;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rb-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--rb-pink) 55%, transparent);
	box-shadow: 0 18px 40px -18px var(--rb-pink);
}

.rb-card__head {
	padding: 10px 12px 8px;
	min-width: 0;
}

.rb-card__artist {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rb-pink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rb-card__artist .rb-icon {
	width: 12px;
	height: 12px;
}

.rb-card__title {
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rb-card__title a {
	color: #fff;
}

.rb-card__title a:hover {
	color: var(--rb-pink);
}

.rb-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--rb-surface-2);
}

.rb-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.rb-card:hover .rb-card__cover img {
	transform: scale(1.06);
}

.rb-card__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55));
	pointer-events: none;
}

.rb-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid var(--rb-line);
}

.rb-card__size {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rb-muted);
}

.rb-card__size .rb-icon {
	width: 13px;
	height: 13px;
}

.rb-card__actions {
	display: inline-flex;
	gap: 6px;
}

.rb-card--post .rb-card__head {
	order: 2;
}

/* ==========================================================================
   Single album
   ========================================================================== */
.rb-album {
	position: relative;
	padding-block: 40px 20px;
	overflow: hidden;
}

.rb-album__backdrop {
	position: absolute;
	inset: 0 0 auto;
	height: 520px;
	z-index: -1;
	background: var(--rb-cover) center / cover no-repeat;
	filter: blur(60px) saturate(1.4);
	opacity: .35;
	mask-image: linear-gradient(180deg, #000 20%, transparent);
	-webkit-mask-image: linear-gradient(180deg, #000 20%, transparent);
}

.rb-album__top {
	display: grid;
	grid-template-columns: minmax(220px, 340px) 1fr;
	gap: 44px;
	align-items: center;
	margin-bottom: 40px;
}

.rb-album__art {
	position: relative;
}

.rb-album__disc {
	position: absolute;
	top: 5%;
	inset-inline-end: -8%;
	width: 88%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--rb-pink) 0 11%, #111 11.5% 13%, transparent 13.5%),
		repeating-radial-gradient(circle, #151515 0 2px, #0b0b0b 2px 4px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .7);
	transition: transform .6s ease;
}

.rb-album:has(.rb-play.is-playing) .rb-album__disc {
	inset-inline-end: -13%;
	animation: rb-spin 3s linear infinite;
}

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

.rb-album__cover {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}

.rb-album__info {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.rb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.rb-chips a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--rb-pink-soft);
	border: 1px solid color-mix(in srgb, var(--rb-pink) 40%, transparent);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

.rb-album__title {
	margin: 0;
	font-family: var(--rb-display);
	font-weight: 400;
	font-size: clamp(34px, 5vw, 60px);
	line-height: 1.04;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.rb-album__artist {
	margin: 6px 0 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--rb-pink);
}

.rb-album__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 26px;
}

.rb-album__facts div {
	padding: 8px 16px;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: 8px;
}

.rb-album__facts dt {
	font-size: 11px;
	color: var(--rb-muted);
	text-transform: uppercase;
	letter-spacing: .08em;
}

.rb-album__facts dd {
	margin: 0;
	font-weight: 800;
}

.rb-album__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

@media (max-width: 760px) {
	.rb-album__top {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}

	.rb-album__art {
		max-width: 260px;
		margin-inline: auto;
	}

	.rb-album__disc {
		display: none;
	}

	.rb-chips,
	.rb-album__facts,
	.rb-album__buttons {
		justify-content: center;
	}
}

/* Tracklist */
.rb-tracklist {
	margin-bottom: 36px;
}

.rb-tracklist__list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	overflow: hidden;
}

.rb-track-row + .rb-track-row {
	border-top: 1px solid var(--rb-line);
}

.rb-track-row__btn {
	display: grid;
	grid-template-columns: 30px 30px 1fr auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 18px;
	border: 0;
	background: none;
	text-align: start;
	cursor: pointer;
	transition: background .15s;
}

.rb-track-row__btn:hover {
	background: var(--rb-surface-2);
}

.rb-track-row.is-current .rb-track-row__btn {
	background: var(--rb-pink-soft);
}

.rb-track-row__num {
	color: var(--rb-muted);
	font-weight: 700;
	font-size: 14px;
}

.rb-track-row__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--rb-surface-2);
	color: var(--rb-pink);
}

.rb-track-row__icon .rb-icon {
	width: 14px;
	height: 14px;
}

.rb-track-row.is-current .rb-track-row__icon {
	background: var(--rb-pink);
	color: #fff;
}

.rb-track-row__title {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rb-track-row.is-current .rb-track-row__title {
	color: var(--rb-pink);
}

.rb-track-row__artist {
	font-size: 13px;
	color: var(--rb-muted);
}

@media (max-width: 560px) {
	.rb-track-row__btn {
		grid-template-columns: 22px 30px 1fr;
		padding-inline: 12px;
	}

	.rb-track-row__artist {
		display: none;
	}
}

.rb-bars {
	align-items: flex-end !important;
	gap: 2px !important;
	height: 12px;
}

.rb-bars i {
	width: 3px;
	height: 100%;
	background: currentColor;
	border-radius: 1px;
	animation: rb-bar .9s ease-in-out infinite;
}

.rb-bars i:nth-child(2) { animation-delay: -.3s; }
.rb-bars i:nth-child(3) { animation-delay: -.6s; }

@keyframes rb-bar {
	0%, 100% { transform: scaleY(.3); transform-origin: bottom; }
	50% { transform: scaleY(1); transform-origin: bottom; }
}

/* ==========================================================================
   Content & pages
   ========================================================================== */
.rb-content {
	max-width: 780px;
	margin-bottom: 40px;
	color: #dcd7de;
}

.rb-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rb-content h2,
.rb-content h3 {
	color: #fff;
	line-height: 1.3;
}

.rb-content blockquote {
	margin: 24px 0;
	padding: 12px 20px;
	border-inline-start: 4px solid var(--rb-pink);
	background: var(--rb-surface);
}

.rb-content img {
	border-radius: 8px;
}

.rb-page {
	padding-block: 44px;
}

.rb-page__title {
	margin: 0 0 6px;
	font-family: var(--rb-display);
	font-weight: 400;
	font-size: clamp(32px, 5vw, 52px);
	text-transform: uppercase;
	line-height: 1.05;
}

.rb-page__meta {
	color: var(--rb-muted);
	margin: 0 0 24px;
}

.rb-page__thumb img {
	border-radius: 12px;
	margin-bottom: 28px;
}

.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text,
.wp-element-caption { font-size: 13px; color: var(--rb-muted); }

.rb-empty {
	padding: 60px 20px;
	text-align: center;
	color: var(--rb-muted);
	background: var(--rb-surface);
	border: 1px dashed var(--rb-line);
	border-radius: var(--rb-radius);
}

.rb-empty > .rb-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 10px;
	color: var(--rb-pink);
}

.rb-empty h1,
.rb-empty h2 {
	color: #fff;
	margin: 0 0 8px;
}

.rb-empty--404 {
	margin-block: 60px;
}

.rb-404 {
	display: block;
	font-family: var(--rb-display);
	font-size: 120px;
	line-height: 1;
	color: var(--rb-pink);
	text-shadow: 4px 4px 0 #fff;
}

/* Pagination */
.rb-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 30px;
}

.rb-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	border-radius: 8px;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	color: #fff;
	font-weight: 700;
}

.rb-pagination .page-numbers.current,
.rb-pagination a.page-numbers:hover {
	background: var(--rb-pink);
	border-color: var(--rb-pink);
}

/* Comments */
.rb-comments {
	max-width: 780px;
	margin-block: 20px 50px;
}

.rb-comments__list,
.rb-comments__list .children {
	list-style: none;
	padding: 0;
}

.rb-comments__list .children {
	padding-inline-start: 24px;
}

.rb-comments__list .comment-body {
	padding: 16px;
	margin-bottom: 12px;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
}

.rb-comments__list .avatar {
	float: inline-start;
	margin-inline-end: 12px;
	border-radius: 50%;
}

.rb-comments__list .comment-meta a {
	color: var(--rb-muted);
	font-size: 13px;
}

.rb-comments__reply {
	font-size: 20px;
}

.comment-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: 8px;
	color: #fff;
	font: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--rb-pink);
	outline: 0;
}

/* ==========================================================================
   Download page
   ========================================================================== */
.rb-download-page .rb-main {
	background:
		radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--rb-pink) 28%, transparent), transparent 70%);
}

.rb-dl {
	padding-block: 56px 40px;
	max-width: 900px;
}

.rb-dl__card {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	padding: 28px;
	background: var(--rb-surface);
	border: 1px solid var(--rb-line);
	border-radius: 16px;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}

.rb-dl__cover {
	width: 200px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
}

.rb-dl__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rb-pink);
}

.rb-dl__title {
	margin: 4px 0 2px;
	font-family: var(--rb-display);
	font-weight: 400;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.05;
	text-transform: uppercase;
}

.rb-dl__artist {
	margin: 0;
	font-weight: 700;
	color: var(--rb-muted);
}

.rb-dl__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.rb-dl__facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--rb-surface-2);
	border: 1px solid var(--rb-line);
	font-size: 13px;
	font-weight: 700;
}

.rb-dl__facts .rb-icon {
	width: 14px;
	height: 14px;
	color: var(--rb-pink);
}

.rb-dl__action {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--rb-line);
	text-align: center;
}

.rb-dl__ring {
	position: relative;
	width: 110px;
	height: 110px;
}

.rb-dl__ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.rb-dl__ring circle {
	fill: none;
	stroke: var(--rb-surface-2);
	stroke-width: 8;
}

.rb-dl__ring .rb-dl__ring-fg {
	stroke: var(--rb-pink);
	stroke-linecap: round;
	stroke-dasharray: 327;
	stroke-dashoffset: calc(327 - 327 * var(--rb-left, var(--rb-total)) / var(--rb-total));
	transition: stroke-dashoffset 1s linear;
	filter: drop-shadow(0 0 6px var(--rb-pink));
}

.rb-dl__count {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--rb-display);
	font-size: 42px;
}

.rb-dl__wait {
	margin: 0;
	color: var(--rb-muted);
}

.is-ready .rb-dl__ring {
	display: none;
}

.rb-dl__btn.is-locked {
	opacity: .35;
	filter: grayscale(.6);
	pointer-events: none;
	box-shadow: none;
}

.is-ready .rb-dl__btn {
	animation: rb-pulse 1.8s ease-in-out infinite;
}

@keyframes rb-pulse {
	0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rb-pink) 60%, transparent); }
	50% { box-shadow: 0 0 0 14px transparent; }
}

.rb-dl__note {
	margin: 0;
	font-size: 14px;
	color: var(--rb-muted);
}

.rb-dl__widgets {
	margin-top: 24px;
	text-align: center;
}

.rb-dl__back {
	margin-top: 22px;
	text-align: center;
	font-weight: 700;
}

@media (max-width: 600px) {
	.rb-dl__card {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 20px;
	}

	.rb-dl__cover {
		width: 160px;
		margin-inline: auto;
	}

	.rb-dl__facts {
		justify-content: center;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.rb-footer {
	margin-top: 30px;
	padding-block: 36px 26px;
	background: linear-gradient(180deg, transparent, #12000a);
	border-top: 1px solid var(--rb-line);
}

.rb-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-bottom: 30px;
	color: var(--rb-muted);
}

.rb-widget__title {
	color: #fff;
	font-size: 16px;
	margin: 0 0 10px;
}

.rb-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.rb-footer__tagline {
	margin: 8px 0 0;
	color: var(--rb-muted);
	font-size: 14px;
}

.rb-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-footer__menu a {
	color: var(--rb-muted);
	font-weight: 700;
}

.rb-footer__menu a:hover {
	color: #fff;
}

.rb-social {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rb-surface-2);
	border: 1px solid var(--rb-line);
	color: #fff;
}

.rb-social a:hover {
	background: var(--rb-pink);
	border-color: var(--rb-pink);
}

.rb-footer__copy {
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--rb-line);
	color: var(--rb-muted);
	font-size: 13px;
	text-align: center;
}

/* ==========================================================================
   Sticky player
   ========================================================================== */
.rb-player {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 100;
	background: color-mix(in srgb, #0d0d11 90%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid var(--rb-line);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .6);
	animation: rb-up .3s ease;
}

.rb-player[hidden] {
	display: none;
}

@keyframes rb-up {
	from { transform: translateY(100%); }
}

.rb-player__progress {
	position: absolute;
	inset-inline: 0;
	top: -7px;
	height: 14px;
}

.rb-player__seek {
	--rb-pct: 0%;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 14px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}

.rb-player__seek::-webkit-slider-runnable-track {
	height: 4px;
	background: linear-gradient(90deg, var(--rb-pink) var(--rb-pct), #2c2c34 var(--rb-pct));
}

.rb-player__seek::-moz-range-track {
	height: 4px;
	background: #2c2c34;
}

.rb-player__seek::-moz-range-progress {
	height: 4px;
	background: var(--rb-pink);
}

.rb-player__seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px var(--rb-pink);
}

.rb-player__seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px var(--rb-pink);
}

[dir="rtl"] .rb-player__seek {
	direction: ltr;
}

.rb-player__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 84px;
	max-width: var(--rb-container);
	margin-inline: auto;
	padding-inline: 16px;
}

.rb-player__now {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
	color: #fff;
}

.rb-player__now:hover {
	color: #fff;
}

.rb-player__cover {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	object-fit: cover;
	flex: none;
	background: var(--rb-surface-2);
}

.rb-player.is-playing .rb-player__cover {
	box-shadow: 0 0 0 2px var(--rb-pink), 0 0 18px -2px var(--rb-pink);
}

.rb-player__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.rb-player__title,
.rb-player__artist {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.rb-player__artist {
	font-size: 13px;
	color: var(--rb-pink);
}

.rb-player__controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.rb-player__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.rb-player__btn:hover {
	background: var(--rb-surface-2);
}

.rb-player__btn .rb-icon {
	width: 20px;
	height: 20px;
}

.rb-player__btn--main {
	width: 50px;
	height: 50px;
	background: var(--rb-pink);
	box-shadow: 0 6px 20px -6px var(--rb-pink);
}

.rb-player__btn--main:hover {
	background: var(--rb-pink-deep);
}

.rb-player__btn--main .rb-when-paused,
.rb-player__btn--main .rb-when-playing {
	display: none;
}

.rb-player:not(.is-playing) .rb-player__btn--main .rb-when-paused,
.rb-player.is-playing .rb-player__btn--main .rb-when-playing {
	display: inline-flex;
}

[dir="rtl"] .rb-player__controls .rb-icon--prev,
[dir="rtl"] .rb-player__controls .rb-icon--next {
	transform: scaleX(-1);
}

.rb-player__time {
	flex: none;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: var(--rb-muted);
	direction: ltr;
}

.rb-player__volume {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	justify-content: flex-end;
	color: var(--rb-muted);
}

.rb-player__volume input {
	width: 100px;
	accent-color: var(--rb-pink);
}

@media (max-width: 760px) {
	.rb-player__time,
	.rb-player__volume {
		display: none;
	}

	.rb-player__inner {
		gap: 10px;
	}

	.rb-player__controls [data-rb-prev] {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ==========================================================================
   Stats – NUI panel (album page) + card badges
   ========================================================================== */
.rb-stats {
	position: relative;
	max-width: 520px;
	margin-top: 26px;
	padding: 16px 18px 18px;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--rb-pink) 10%, transparent), transparent 55%),
		color-mix(in srgb, #0c0c10 78%, transparent);
	border: 1px solid color-mix(in srgb, var(--rb-pink) 35%, transparent);
	border-radius: 14px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 18px 50px -20px color-mix(in srgb, var(--rb-pink) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .05);
	overflow: hidden;
}

/* HUD corner brackets */
.rb-stats::before,
.rb-stats::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid var(--rb-pink);
	pointer-events: none;
	filter: drop-shadow(0 0 4px var(--rb-pink));
}

.rb-stats::before {
	top: 6px;
	inset-inline-start: 6px;
	border-inline-end: 0;
	border-bottom: 0;
	border-start-start-radius: 8px;
}

.rb-stats::after {
	bottom: 6px;
	inset-inline-end: 6px;
	border-inline-start: 0;
	border-top: 0;
	border-end-end-radius: 8px;
}

.rb-stats__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding-inline-start: 10px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rb-muted);
}

.rb-stats__live {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rb-pink);
	box-shadow: 0 0 0 0 var(--rb-pink);
	animation: rb-live 1.6s ease-out infinite;
}

@keyframes rb-live {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rb-pink) 70%, transparent); }
	100% { box-shadow: 0 0 0 9px transparent; }
}

.rb-stats__label {
	color: #fff;
}

.rb-stats__tag {
	margin-inline-start: auto;
	padding: 2px 8px;
	border: 1px solid color-mix(in srgb, var(--rb-pink) 45%, transparent);
	border-radius: 4px;
	color: var(--rb-pink);
	font-size: 10px;
	letter-spacing: .2em;
}

.rb-stats__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rb-stat {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, .025);
	border: 1px solid var(--rb-line);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .2s, transform .2s;
}

.rb-stat::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%);
	transform: translateX(-100%);
	animation: rb-sheen 4.5s ease-in-out infinite;
	pointer-events: none;
}

.rb-stat--downloads::after {
	animation-delay: 1.2s;
}

@keyframes rb-sheen {
	0%, 60% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.rb-stat:hover {
	border-color: color-mix(in srgb, var(--rb-pink) 50%, transparent);
	transform: translateY(-2px);
}

.rb-stat__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--rb-pink-soft);
	border: 1px solid color-mix(in srgb, var(--rb-pink) 40%, transparent);
	color: var(--rb-pink);
	box-shadow: inset 0 0 14px color-mix(in srgb, var(--rb-pink) 25%, transparent);
}

.rb-stat--downloads .rb-stat__icon {
	background: linear-gradient(180deg, var(--rb-pink), var(--rb-pink-deep));
	color: #fff;
	box-shadow: 0 6px 18px -6px var(--rb-pink);
}

.rb-stat__icon .rb-icon {
	width: 20px;
	height: 20px;
}

.rb-stat__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.rb-stat__name {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rb-stat__value {
	font-family: var(--rb-display);
	font-weight: 400;
	font-size: 30px;
	letter-spacing: .02em;
	color: #fff;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 18px color-mix(in srgb, var(--rb-pink) 55%, transparent);
	direction: ltr;
	text-align: start;
}

.rb-stat__value.is-bump {
	animation: rb-bump .6s ease;
}

@keyframes rb-bump {
	40% { color: var(--rb-pink); transform: scale(1.12); }
}

.rb-stats__meter {
	margin-top: 14px;
}

.rb-stats__meter-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--rb-muted);
}

.rb-stats__meter-top b {
	color: #fff;
}

.rb-stats__bar {
	height: 6px;
	border-radius: 999px;
	background: #1d1d24;
	overflow: hidden;
}

.rb-stats__bar i {
	display: block;
	height: 100%;
	width: var(--rb-rate, 0%);
	border-radius: inherit;
	background: linear-gradient(90deg, var(--rb-pink-deep), var(--rb-pink));
	box-shadow: 0 0 10px var(--rb-pink);
	transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}

@media (max-width: 760px) {
	.rb-stats {
		margin-inline: auto;
		text-align: start;
	}
}

@media (max-width: 420px) {
	.rb-stats__grid {
		grid-template-columns: 1fr;
	}
}

/* Card badges */
.rb-card__stats {
	position: absolute;
	inset-inline: 8px;
	bottom: 8px;
	display: flex;
	gap: 6px;
	pointer-events: none;
}

.rb-card__stats span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(8, 8, 10, .62);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .1);
	font-size: 11px;
	font-weight: 800;
	color: #fff;
	line-height: 1.4;
}

.rb-card__stats .rb-icon {
	width: 12px;
	height: 12px;
	color: var(--rb-pink);
}
