/* BookedDJ - global stylesheet
   Dark by default, light theme via html[data-theme="light"]. */

:root {
	--bg: #08080a;
	--bg-2: #0f0f13;
	--surface: #14141a;
	--surface-2: #1b1b22;
	--surface-3: #22222b;
	--ink: #f5f5f7;
	--ink-soft: #d6d6dc;
	--muted: #91919c;
	--line: #26262f;
	--line-soft: #1d1d25;
	--accent: #f48131;
	--accent-2: #ff5f6d;
	--accent-ink: #17100a;
	--accent-soft: rgba(244, 129, 49, 0.14);
	--gold: #f3c969;
	--silver: #cfd4dc;
	--bronze: #d59a6a;
	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 24px;
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Outfit", "DM Sans", system-ui, sans-serif;
	--max: 1200px;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	--glow: 0 0 0 1px rgba(244, 129, 49, 0.35), 0 16px 40px rgba(244, 129, 49, 0.12);
	--logo-tile: #101015;
	--header-bg: rgba(8, 8, 10, 0.82);
	color-scheme: dark;
}

html[data-theme="light"] {
	--bg: #f4f4f6;
	--bg-2: #ffffff;
	--surface: #ffffff;
	--surface-2: #f7f7f9;
	--surface-3: #ececf1;
	--ink: #15151a;
	--ink-soft: #33333d;
	--muted: #64646f;
	--line: #e0e0e6;
	--line-soft: #ebebf0;
	--accent: #e26a12;
	--accent-2: #e8384f;
	--accent-ink: #ffffff;
	--accent-soft: rgba(226, 106, 18, 0.12);
	--shadow: 0 12px 30px rgba(20, 20, 30, 0.1);
	--glow: 0 0 0 1px rgba(226, 106, 18, 0.35), 0 14px 30px rgba(226, 106, 18, 0.12);
	--logo-tile: #f2f2f5;
	--header-bg: rgba(255, 255, 255, 0.88);
	color-scheme: light;
}

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

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

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.55;
	min-height: 100vh;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background:
		radial-gradient(900px 420px at 12% -8%, rgba(244, 129, 49, 0.16), transparent 60%),
		radial-gradient(760px 380px at 88% -4%, rgba(94, 92, 255, 0.12), transparent 58%);
}

html[data-theme="light"] body::before {
	background:
		radial-gradient(900px 420px at 12% -8%, rgba(226, 106, 18, 0.12), transparent 60%),
		radial-gradient(760px 380px at 88% -4%, rgba(94, 92, 255, 0.08), transparent 58%);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

button {
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 6px;
}

.wrap {
	width: min(var(--max), calc(100% - 2.5rem));
	margin-inline: auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------- header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--header-bg);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--line-soft);
}

.header-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 72px;
	padding-block: 0.55rem;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.12rem;
	flex-shrink: 0;
	line-height: 1;
}

.brand-logo {
	height: 32px;
	width: auto;
	object-fit: contain;
	display: block;
}

.brand-tag {
	display: none;
	font-size: 0.68rem;
	color: var(--muted);
	max-width: 16.5rem;
	line-height: 1.2;
	white-space: nowrap;
}

.nav {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	margin-left: 0.4rem;
}

.nav-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	height: 34px;
	padding: 0 0.95rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	transition: filter 0.15s ease;
}

.nav-pill:hover {
	filter: brightness(1.06);
	color: var(--accent-ink);
	background: var(--accent);
}

.nav-pill.is-active {
	background: var(--accent);
	color: var(--accent-ink);
	box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.nav-pill .count {
	font-size: 0.72rem;
	opacity: 0.85;
	font-variant-numeric: tabular-nums;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
}

.header-search {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.25rem 0.35rem 0.25rem 0.85rem;
	max-width: 20rem;
}

.header-search input {
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 0.88rem;
	padding: 0.3rem 0;
	width: 11rem;
	min-width: 0;
}

.header-search input:focus {
	outline: none;
}

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

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink);
	cursor: pointer;
	padding: 0;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.icon-btn svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lang-menu {
	position: relative;
}

.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	height: 34px;
	padding: 0 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.lang-toggle:hover {
	border-color: var(--accent);
}

.lang-toggle svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.lang-list {
	position: absolute;
	right: 0;
	top: calc(100% + 0.5rem);
	min-width: 11rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: 0.35rem;
	display: none;
	z-index: 60;
}

.lang-menu.is-open .lang-list {
	display: block;
}

.lang-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.45rem 0.6rem;
	border-radius: 8px;
	font-size: 0.88rem;
	color: var(--ink-soft);
}

.lang-list a:hover {
	background: var(--surface-2);
	color: var(--ink);
}

.lang-list a.is-active {
	color: var(--accent);
	font-weight: 700;
}

.lang-list .code {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.btn-account {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 0.95rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.85rem;
	font-weight: 700;
}

.btn-account:hover {
	filter: brightness(1.06);
}

/* mobile bottom nav */
.tabbar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--header-bg);
	backdrop-filter: blur(18px) saturate(140%);
	border-top: 1px solid var(--line);
	padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
}

.tabbar-row {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.tabbar a {
	display: grid;
	place-items: center;
	gap: 0.15rem;
	padding: 0.3rem 0.55rem;
	font-size: 0.66rem;
	font-weight: 600;
	color: var(--muted);
	border-radius: 10px;
	min-width: 3.6rem;
}

.tabbar a.is-active {
	color: var(--accent);
}

.tabbar svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------------------------------------------------------------- layout */

.main {
	padding: 2rem 0 4rem;
}

.main--home {
	padding-top: 0;
}

.page-head {
	margin-bottom: 1.5rem;
}

.page-title {
	font-family: var(--display);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0 0 0.4rem;
}

.page-lead {
	color: var(--muted);
	margin: 0;
	max-width: 46rem;
	font-size: 1rem;
}

.section {
	margin-top: 3rem;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
	flex-wrap: wrap;
}

.section-head h2 {
	font-family: var(--display);
	font-size: clamp(1.35rem, 2.6vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0;
}

.section-head p {
	margin: 0.2rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.link {
	color: var(--accent);
	font-weight: 650;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- home hero */

.hero-home {
	position: relative;
	padding: 3.5rem 0 2.75rem;
	overflow: hidden;
	border-bottom: 1px solid var(--line-soft);
}

.hero-home::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, var(--bg));
}

.hero-mosaic {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	opacity: 0.32;
	filter: saturate(115%);
}

html[data-theme="light"] .hero-mosaic {
	opacity: 0.18;
}

.hero-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 44rem;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	margin-bottom: 1rem;
}

.hero-home h1 {
	font-family: var(--display);
	font-size: clamp(2.3rem, 6.5vw, 4.1rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	font-weight: 800;
	margin: 0 0 0.9rem;
}

.hero-home h1 em {
	font-style: normal;
	background: linear-gradient(100deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-home p {
	color: var(--ink-soft);
	font-size: 1.06rem;
	margin: 0 0 1.5rem;
	max-width: 34rem;
}

.hero-actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

.hero-stats {
	display: flex;
	gap: 2.25rem;
	flex-wrap: wrap;
}

.hero-stat strong {
	display: block;
	font-family: var(--display);
	font-size: clamp(1.5rem, 3.4vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.hero-stat span {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

/* ---------------------------------------------------------------- buttons */

.btn {
	appearance: none;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 999px;
	padding: 0.72rem 1.35rem;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
	filter: brightness(1.07);
	transform: translateY(-1px);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--line);
}

.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
	filter: none;
}

.btn-sm {
	padding: 0.5rem 0.95rem;
	font-size: 0.85rem;
}

/* ---------------------------------------------------------------- chips & filters */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.25rem;
}

.chip {
	appearance: none;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink-soft);
	border-radius: 999px;
	padding: 0.42rem 0.85rem;
	font: inherit;
	font-size: 0.84rem;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.chip.is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	font-weight: 650;
}

.chip .n {
	opacity: 0.6;
	font-size: 0.76rem;
	font-variant-numeric: tabular-nums;
}

.filter-card {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.1rem;
	margin-bottom: 1rem;
}

.filter-field {
	display: grid;
	gap: 0.3rem;
	flex: 1 1 165px;
	min-width: 140px;
}

.filter-field > span {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
}

.filter-field input,
.filter-field select {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink);
	border-radius: 999px;
	padding: 0.6rem 0.95rem;
	font: inherit;
	font-size: 0.9rem;
	appearance: none;
}

.filter-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.2rem;
}

.filter-field option {
	background: var(--surface);
	color: var(--ink);
}

.filter-actions {
	display: flex;
	gap: 0.45rem;
	flex: 0 0 auto;
	padding-bottom: 0.05rem;
}

/* ---------------------------------------------------------------- grids & cards */

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

.grid--djs {
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.1rem;
}

.grid--agencies {
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: 1rem;
}

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

.card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--glow);
}

/* DJ card */
.dj-card {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dj-card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--glow);
}

.dj-card-media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--surface-3);
}

.dj-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.dj-card:hover .dj-card-media img {
	transform: scale(1.055);
}

.dj-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(6, 6, 8, 0.92) 100%);
}

.media-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-size: 3rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.85);
	background: linear-gradient(150deg, #2b2b36, #16161c 60%);
}

.media-fallback--g0 { background: linear-gradient(150deg, #3a2418, #17110d 62%); }
.media-fallback--g1 { background: linear-gradient(150deg, #1d2c3c, #101418 62%); }
.media-fallback--g2 { background: linear-gradient(150deg, #33203a, #171018 62%); }
.media-fallback--g3 { background: linear-gradient(150deg, #1f3a30, #101815 62%); }
.media-fallback--g4 { background: linear-gradient(150deg, #3a1f28, #180f13 62%); }

.dj-card-rank {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	font-family: var(--display);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #fff;
	background: rgba(10, 10, 12, 0.66);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 0.2rem 0.55rem;
}

.dj-card-rank--top {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: transparent;
}

.dj-card-agency {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 2;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(10, 10, 12, 0.7);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	display: grid;
	place-items: center;
	padding: 3px;
}

.dj-card-agency img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dj-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0.85rem 0.9rem 0.95rem;
	color: #fff;
}

.dj-card-country {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 0.15rem;
}

.dj-card-name {
	font-family: var(--display);
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
	color: #fff;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dj-card-tags {
	display: flex;
	gap: 0.3rem;
	flex-wrap: wrap;
	margin-top: 0.4rem;
}

.tag {
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.16rem 0.5rem;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	backdrop-filter: blur(4px);
}

.tag--accent {
	background: var(--accent);
	color: var(--accent-ink);
}

/* Podium */
.podium {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	align-items: stretch;
}

.podium .dj-card,
.podium .dj-card-media {
	height: 100%;
}

.podium .dj-card-media {
	aspect-ratio: 4 / 5;
}

.podium-item--1 .dj-card {
	border-color: rgba(243, 201, 105, 0.5);
}

.podium-medal {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--display);
	font-size: 0.9rem;
	font-weight: 800;
	color: #14100a;
	background: var(--gold);
	border-radius: 999px;
	padding: 0.2rem 0.6rem;
}

.podium-item--2 .podium-medal { background: var(--silver); }
.podium-item--3 .podium-medal { background: var(--bronze); }

.podium-score {
	display: block;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.8);
	margin-top: 0.25rem;
	font-variant-numeric: tabular-nums;
}

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

.agency-card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--glow);
}

.logo-tile {
	display: grid;
	place-items: center;
	height: 120px;
	background: var(--logo-tile);
	padding: 1.15rem;
	border-bottom: 1px solid var(--line-soft);
}

/* Tile background follows the artwork: white logos sit on dark, dark logos
   (and logos that ship their own light background) sit on light. */
.logo-tile--dark {
	background: #0e0e13;
}

.logo-tile--light {
	background: #f4f4f7;
}

.logo-tile img {
	max-height: 78px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
}

.logo-tile--initial {
	font-family: var(--display);
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--accent);
}

.agency-card-body {
	padding: 0.85rem 0.95rem 1rem;
	display: grid;
	gap: 0.15rem;
}

.agency-card-country {
	font-size: 0.76rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.agency-card-name {
	font-family: var(--display);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

.agency-card-meta {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 0.2rem;
}

/* logo strip on home */
.logo-strip {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
}

.logo-strip a {
	display: grid;
	place-items: center;
	height: 84px;
	padding: 0.85rem;
	background: var(--logo-tile);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.logo-strip a:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.logo-strip img {
	max-height: 46px;
	max-width: 100%;
	object-fit: contain;
}

.logo-strip a.is-light,
.avatar--logo.is-light,
.profile-photo--logo.is-light,
.dj-card-agency.is-light {
	background: #f4f4f7;
}

/* Transparent artwork needs no plate behind it. */
.logo-tile--plain,
.logo-strip a.logo-tile--plain,
.avatar--logo.logo-tile--plain,
.profile-photo--logo.logo-tile--plain,
.dj-card-agency.logo-tile--plain {
	background: transparent;
}

.dj-card-agency.logo-tile--plain {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(10, 10, 12, 0.55);
}

html[data-theme="light"] .dj-card-agency.logo-tile--plain {
	background: rgba(255, 255, 255, 0.7);
	border-color: rgba(0, 0, 0, 0.12);
}

/* pagination */
.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 2rem 0 0.5rem;
}

.pager-pages {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.pager-link {
	display: grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 0.5rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.pager-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pager-link.is-active {
	background: var(--accent);
	border-color: transparent;
	color: var(--accent-ink);
}

.pager-gap {
	color: var(--muted);
	padding: 0 0.15rem;
}

/* the header account button must never wrap on small phones */
.btn-account {
	white-space: nowrap;
}

@media (max-width: 430px) {
	.btn-account {
		padding: 0.42rem 0.7rem;
		font-size: 0.78rem;
	}
}

/* Logos ship a file per theme; CSS picks one so there is no swap on load. */
.logo-img--light {
	display: none;
}

html[data-theme="light"] .logo-img--dark {
	display: none;
}

html[data-theme="light"] .logo-img--light {
	display: block;
}

/* generic legacy card pieces (dates, search, admin) */
.card-head {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.8rem 0.9rem 0.5rem;
	align-items: flex-start;
}

.card-body {
	display: flex;
	gap: 0.75rem;
	padding: 0.35rem 0.9rem 0.9rem;
	align-items: center;
	flex: 1;
}

.card-foot {
	border-top: 1px solid var(--line-soft);
	padding: 0.6rem 0.9rem;
	font-size: 0.83rem;
	color: var(--muted);
}

.badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: 999px;
	padding: 0.22rem 0.58rem;
}

.badge--soft {
	background: var(--surface-3);
	color: var(--muted);
}

.when {
	text-align: right;
	font-size: 0.78rem;
	color: var(--muted);
	line-height: 1.3;
}

.when strong {
	display: block;
	color: var(--ink);
	font-size: 0.95rem;
}

.avatar {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--surface-3);
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-size: 1.2rem;
	color: var(--accent);
	flex-shrink: 0;
	overflow: hidden;
}

.avatar--img {
	object-fit: cover;
	object-position: center 20%;
	display: block;
}

.avatar--logo {
	background: var(--logo-tile);
	padding: 5px;
}

.avatar--logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dj-name {
	margin: 0;
	font-family: var(--display);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.meta {
	font-size: 0.82rem;
	color: var(--muted);
}

/* ---------------------------------------------------------------- ranking */

.rank-list {
	display: grid;
	gap: 0.5rem;
}

.rank-row {
	display: grid;
	grid-template-columns: 3.2rem 56px 1fr auto;
	gap: 0.9rem;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.7rem 1rem;
	transition: border-color 0.15s ease, transform 0.15s ease;
	position: relative;
	overflow: hidden;
}

.rank-row::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: var(--meter, 0%);
	background: linear-gradient(90deg, var(--accent-soft), transparent);
	pointer-events: none;
}

.rank-row:hover {
	border-color: var(--accent);
	transform: translateX(2px);
}

.rank-row > * {
	position: relative;
	z-index: 1;
}

.rank-pos {
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--muted);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.rank-row--top .rank-pos {
	color: var(--accent);
	font-size: 1.6rem;
}

.rank-row .avatar {
	width: 56px;
	height: 56px;
}

.rank-main strong {
	display: block;
	font-family: var(--display);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.rank-sources {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-top: 0.25rem;
}

.src-badge {
	font-size: 0.68rem;
	font-weight: 650;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.1rem 0.45rem;
	color: var(--muted);
	white-space: nowrap;
}

.score {
	font-size: 0.82rem;
	font-weight: 700;
	background: var(--accent-soft);
	border-radius: 999px;
	padding: 0.32rem 0.7rem;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- profile hero */

.profile {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	margin-bottom: 1.25rem;
}

.profile-backdrop {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.profile-backdrop img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	filter: blur(28px) saturate(130%);
	transform: scale(1.2);
	opacity: 0.55;
}

.profile-backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(8, 8, 10, 0.94) 12%, rgba(8, 8, 10, 0.72) 55%, rgba(8, 8, 10, 0.9));
}

html[data-theme="light"] .profile-backdrop::after {
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.95) 12%, rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.95));
}

.profile-inner {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 1.6rem;
	padding: 1.75rem;
	align-items: flex-end;
	flex-wrap: wrap;
}

.profile-photo {
	width: 176px;
	height: 220px;
	border-radius: var(--radius);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--surface-3);
	box-shadow: var(--shadow);
}

.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 15%;
}

.profile-photo .media-fallback {
	position: static;
	height: 100%;
}

.profile-photo--logo {
	width: 176px;
	height: 130px;
	display: grid;
	place-items: center;
	background: var(--logo-tile);
	padding: 1rem;
}

.profile-photo--logo img {
	object-fit: contain;
	height: auto;
	max-height: 100%;
}

.profile-text {
	flex: 1 1 20rem;
	min-width: 0;
}

.profile-country {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 0.3rem;
}

.profile h1 {
	font-family: var(--display);
	font-size: clamp(2rem, 5.5vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.02;
	margin: 0 0 0.55rem;
}

.profile-metrics {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin: 0.65rem 0 0.9rem;
}

.metric strong {
	display: block;
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--ink);
}

.metric span {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--muted);
}

.profile-tags {
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.profile-tags .badge {
	background: var(--surface-3);
	color: var(--ink-soft);
}

.profile-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem 1.35rem;
	margin-bottom: 1rem;
}

.panel h2 {
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.panel p {
	margin: 0;
	color: var(--ink-soft);
}

.panel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	align-items: start;
}

.source-list {
	display: grid;
	gap: 0.4rem;
}

.source-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
	font-size: 0.9rem;
}

.source-row strong {
	font-variant-numeric: tabular-nums;
	color: var(--accent);
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.socials a {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	font-size: 0.85rem;
	background: var(--surface-2);
	font-weight: 600;
}

.socials a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.agency-chip {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.5rem 0;
}

.agency-chip:hover strong {
	color: var(--accent);
}

.agency-chip .avatar {
	width: 58px;
	height: 58px;
}

.contact-list {
	display: grid;
	gap: 0.35rem;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

.contact-list a {
	color: var(--accent);
}

.tabs {
	display: flex;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.tab {
	border: 1px solid var(--line);
	background: var(--surface-2);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font: inherit;
	font-size: 0.85rem;
	cursor: pointer;
	color: var(--ink-soft);
}

.tab.is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	font-weight: 650;
}

.date-row {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 1rem;
	align-items: center;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface-2);
}

.date-row strong {
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- misc */

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

.empty h3 {
	font-family: var(--display);
	font-size: 1.2rem;
	color: var(--ink);
	margin: 0 0 0.4rem;
}

.empty p {
	margin: 0 auto;
	max-width: 30rem;
}

.empty .btn {
	margin-top: 1.1rem;
}

.form {
	display: grid;
	gap: 0.8rem;
	max-width: 400px;
}

.form label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.88rem;
	font-weight: 600;
}

.form input,
.form select,
.form textarea {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.65rem 0.8rem;
	font: inherit;
	background: var(--surface-2);
	color: var(--ink);
}

.form-hint {
	display: block;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--muted);
	line-height: 1.4;
}

.auth-alt {
	margin-top: 1.25rem;
	display: grid;
	gap: 0.5rem;
	max-width: 400px;
}

.auth-alt .btn {
	justify-content: center;
	text-align: center;
}

.flash-error {
	background: rgba(220, 60, 60, 0.14);
	border: 1px solid rgba(220, 60, 60, 0.4);
	color: #ff9d9d;
	padding: 0.8rem 0.95rem;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

.flash-ok {
	background: rgba(48, 170, 110, 0.14);
	border: 1px solid rgba(48, 170, 110, 0.4);
	color: #8ce7b6;
	padding: 0.8rem 0.95rem;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

html[data-theme="light"] .flash-error { color: #a12727; }
html[data-theme="light"] .flash-ok { color: #17683f; }

.locked {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.9rem;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

.dash-block {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0.9rem 1rem;
	margin-bottom: 0.75rem;
	background: var(--surface-2);
}

.dash-block summary {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
	flex-wrap: wrap;
	font-weight: 600;
}

.stats {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.stat {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
}

.search-bar--page {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.search-bar--page input[type="search"] {
	flex: 1 1 240px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.7rem 1.1rem;
	font: inherit;
	background: var(--surface-2);
	color: var(--ink);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	padding: 2.5rem 0 2rem;
	margin-top: 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-brand img {
	height: 30px;
	width: auto;
	margin-bottom: 0.75rem;
}

.footer-brand p {
	color: var(--muted);
	font-size: 0.88rem;
	margin: 0;
	max-width: 22rem;
}

.footer-col h3 {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted);
	margin: 0 0 0.7rem;
	font-weight: 700;
}

.footer-col a,
.footer-col span {
	display: block;
	font-size: 0.9rem;
	color: var(--ink-soft);
	padding: 0.14rem 0;
}

.footer-col a:hover {
	color: var(--accent);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
	border-top: 1px solid var(--line-soft);
	padding-top: 1.2rem;
	font-size: 0.83rem;
	color: var(--muted);
}


.form .check-legal {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 500;
	font-size: 0.86rem;
	line-height: 1.45;
	max-width: 32rem;
}

.form .check-legal input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	min-width: 1.1rem;
	padding: 0;
	margin-top: 0.18rem;
	flex-shrink: 0;
	accent-color: var(--accent);
	cursor: pointer;
	border-radius: 3px;
	background: var(--surface-2);
}

.form .check-legal a {
	color: var(--accent);
}

.footer-credit a {
	color: var(--accent);
	text-decoration: none;
}

.footer-credit a:hover {
	text-decoration: underline;
}

.legal-page {
	max-width: 44rem;
}

.legal-page h2 {
	font-size: 1.05rem;
	margin: 1.35rem 0 0.45rem;
}

.legal-page ul {
	margin: 0.4rem 0 0;
	padding-left: 1.15rem;
}

.legal-page li + li {
	margin-top: 0.35rem;
}

/* ---------------------------------------------------------------- responsive */

@media (min-width: 760px) {
	.brand-tag {
		display: block;
	}
}

@media (max-width: 960px) {
	.header-search {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 820px) {
	.nav {
		display: none;
	}

	.tabbar {
		display: block;
	}

	.main {
		padding-bottom: 5.5rem;
	}

	.podium {
		grid-template-columns: 1fr;
	}

	.profile-inner {
		padding: 1.15rem;
		gap: 1.1rem;
	}

	.profile-photo {
		width: 120px;
		height: 150px;
	}

	.rank-row {
		grid-template-columns: 2.4rem 46px 1fr;
		row-gap: 0.5rem;
		padding: 0.65rem 0.8rem;
	}

	.rank-row .avatar {
		width: 46px;
		height: 46px;
	}

	.score {
		grid-column: 2 / -1;
		justify-self: start;
	}

	.hero-home {
		padding: 2.5rem 0 2rem;
	}
}

@media (max-width: 560px) {
	.wrap {
		width: calc(100% - 1.6rem);
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 1.4rem;
	}

	.grid--djs {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.75rem;
	}

	.hero-stats {
		gap: 1.25rem;
	}

	.filter-card {
		padding: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

.cookie-box {
	position: fixed;
	z-index: 70;
	left: 0;
	right: 0;
	bottom: 1rem;
	display: none;
	padding: 0 0.9rem;
	pointer-events: none;
}

html[data-cookies="pending"] .cookie-box {
	display: block;
}

.cookie-box-card {
	pointer-events: auto;
	max-width: 640px;
	margin: 0 auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow), var(--glow);
	padding: 1.15rem 1.25rem 1.2rem;
}

.cookie-box-card h2 {
	font-family: var(--display);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.4rem;
}

.cookie-box-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.cookie-box-card a {
	color: var(--accent);
}

.cookie-box-actions {
	display: flex;
	gap: 0.55rem;
	justify-content: flex-end;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.cookie-box-actions .btn {
	min-width: 7.6rem;
	padding: 0.58rem 1.15rem;
	font-size: 0.88rem;
}

@media (max-width: 820px) {
	.cookie-box {
		bottom: calc(4.75rem + env(safe-area-inset-bottom));
	}

	.cookie-box-actions {
		justify-content: stretch;
	}

	.cookie-box-actions .btn {
		flex: 1;
	}
}

.password-wrap {
	position: relative;
	display: block;
}

.password-wrap input {
	width: 100%;
	padding-right: 2.8rem;
}

.password-toggle {
	position: absolute;
	right: 0.35rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}

.password-toggle:hover {
	color: var(--accent);
}

.password-toggle svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.password-toggle [data-icon="eye-off"] {
	display: none;
}

.password-toggle.is-on [data-icon="eye"] {
	display: none;
}

.password-toggle.is-on [data-icon="eye-off"] {
	display: block;
}

.media-upload-preview {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	margin-bottom: 0.75rem;
	display: block;
}

.media-upload-preview--logo {
	object-fit: contain;
	background: var(--surface-2);
	padding: 0.4rem;
}

.btn-warn {
	background: #b45309;
	color: #fff;
	border-color: #b45309;
}

.btn-danger {
	background: #b91c1c;
	color: #fff;
	border-color: #b91c1c;
}

html[data-theme="light"] .btn-warn {
	background: #c2410c;
	border-color: #c2410c;
}

html[data-theme="light"] .btn-danger {
	background: #b91c1c;
	border-color: #b91c1c;
}

.admin-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.1rem;
}

.admin-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
}

.admin-tabs a:hover,
.admin-tabs a.is-active {
	color: var(--ink);
	border-color: var(--accent);
	background: var(--surface);
}

.admin-tab-count {
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--accent);
	color: #111;
	font-size: 0.72rem;
	display: inline-grid;
	place-items: center;
}

.admin-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.admin-stat {
	display: block;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	text-decoration: none;
	color: inherit;
}

.admin-stat strong {
	display: block;
	font-size: 1.35rem;
	margin-top: 0.2rem;
}

.admin-user-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 0.95rem 1rem;
	margin-bottom: 0.75rem;
}

.admin-user-card.is-blocked {
	border-color: #b45309;
}

.admin-card-top {
	display: flex;
	justify-content: space-between;
	gap: 0.85rem;
	flex-wrap: wrap;
	align-items: flex-start;
}

.admin-card-line {
	margin: 0.35rem 0 0;
}

.admin-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.admin-card-details {
	margin-top: 0.75rem;
}

.admin-card-details summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--accent);
}

.admin-user-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.65rem 1rem;
	margin: 0.85rem 0;
}

.admin-user-grid dt {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.admin-user-grid dd {
	margin: 0.15rem 0 0;
	word-break: break-word;
}

.admin-alert-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 0.5rem;
}

.admin-alert-inline input[type="text"] {
	flex: 1 1 220px;
}

.admin-check-inline {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.88rem;
	color: var(--ink-soft);
}

.badge-role-fan { background: #1e3a5f; color: #bfdbfe; }
.badge-role-dj { background: #3f1d4a; color: #f5d0fe; }
.badge-role-agency { background: #14532d; color: #bbf7d0; }
.badge-role-admin { background: #44403c; color: #e7e5e4; }
.badge-status-active { background: #14532d; color: #bbf7d0; }
.badge-status-suspended { background: #7c2d12; color: #fed7aa; }

html[data-theme="light"] .badge-role-fan { background: #dbeafe; color: #1e3a8a; }
html[data-theme="light"] .badge-role-dj { background: #fae8ff; color: #86198f; }
html[data-theme="light"] .badge-role-agency { background: #dcfce7; color: #166534; }
html[data-theme="light"] .badge-role-admin { background: #e7e5e4; color: #44403c; }
html[data-theme="light"] .badge-status-active { background: #dcfce7; color: #166534; }
html[data-theme="light"] .badge-status-suspended { background: #ffedd5; color: #9a3412; }

/* bookeddj footer-contact */
.footer-grid {
	grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
}

.footer-contact {
	border-top: 1px solid var(--line-soft);
	padding-top: 1.4rem;
	margin-bottom: 1.6rem;
	scroll-margin-top: 5rem;
}

.footer-contact h3 {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--muted);
	margin: 0 0 0.4rem;
	font-weight: 700;
}

.footer-contact .meta {
	margin: 0 0 1rem;
}

.footer-contact-form {
	display: grid;
	gap: 0.8rem;
	max-width: 44rem;
	grid-template-columns: 1fr 1fr;
}

.footer-contact-message {
	grid-column: 1 / -1;
}

.footer-contact-form .btn {
	grid-column: 1 / -1;
	justify-self: start;
}

.badge-warn {
	background: #7c2d12;
	color: #fed7aa;
}

html[data-theme="light"] .badge-warn {
	background: #ffedd5;
	color: #9a3412;
}

@media (max-width: 640px) {
	.footer-contact-form {
		grid-template-columns: 1fr;
	}
}
