/*
 * Festileaks Eindejaarslijst
 *
 * Zelfde systeem als de FAT100-stemtool:
 *   - solide knop      = de enige primaire actie (versturen)
 *   - outline knop     = volgende stap
 *   - zachte knop      = meer laden
 *   - tekstlink        = alles wat je kunt overslaan of terugdraaien
 *
 * Geen font-family: de huisstijl (Manrope) komt uit de thema-CSS.
 * Zichtbaarheid loopt via .is-hidden, niet via het hidden-attribuut: dat wordt
 * door de themastijl overschreven.
 */

.ejl {
	--fl-red: #E04747;
	--fl-red-dark: #C03535;
	--fl-red-soft: #FFF5F5;
	--fl-gold: #C9962B;
	--fl-gold-soft: #FDF6E6;
	--fl-green: #1DB954;
	--fl-line: #E5EDF1;
	--fl-line-dark: #D5DDE1;
	--fl-ink: #1F2430;
	--fl-muted: #6B7280;
	--fl-panel: #F8F9FA;
	--fl-radius: 12px;
	--fl-radius-sm: 8px;
	--fl-gap: 1.5rem;

	margin: 0 0 2rem;
	color: var(--fl-ink);
	line-height: 1.5;
}

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

.ejl .is-hidden { display: none !important; }

.ejl .screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ejl h3 { margin: 0 0 .5rem; font-size: 1.375rem; line-height: 1.25; font-weight: 700; }
.ejl h4 { margin: 0 0 .375rem; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.ejl p { margin: 0 0 .75rem; }
.ejl p:last-child { margin-bottom: 0; }
.ejl ol, .ejl ul { margin: 0; padding: 0; list-style: none; }

.ejl :focus-visible { outline: 3px solid var(--fl-red); outline-offset: 2px; }

/* ------------------------------------------------------------- knoppen */

.ejl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 50px;
	padding: 0 1.5rem;
	border: 2px solid var(--fl-red);
	border-radius: var(--fl-radius);
	background: var(--fl-red);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s, opacity .2s;
}

.ejl-btn:hover { background: var(--fl-red-dark); border-color: var(--fl-red-dark); color: #fff; text-decoration: none; }
.ejl-btn:disabled, .ejl-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

.ejl-btn--outline { background: #fff; color: var(--fl-red); }
.ejl-btn--outline:hover { background: var(--fl-red-soft); border-color: var(--fl-red); color: var(--fl-red); }

.ejl-btn--soft {
	min-height: 44px;
	border-color: var(--fl-line);
	background: var(--fl-panel);
	color: var(--fl-ink);
	font-weight: 600;
}
.ejl-btn--soft:hover { background: var(--fl-line); border-color: var(--fl-line-dark); color: var(--fl-ink); }

.ejl-btn--instagram { background: #C13584; border-color: #C13584; }
.ejl-btn--instagram:hover { background: #a62d70; border-color: #a62d70; }
.ejl-btn--whatsapp { background: #25D366; border-color: #25D366; }
.ejl-btn--whatsapp:hover { background: #1fb257; border-color: #1fb257; }

.ejl-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--fl-red);
	font-family: inherit;
	font-size: .9375rem;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.ejl-link:hover { color: var(--fl-red-dark); }

.ejl-arrow::after { content: " \2192"; }

/* -------------------------------------------------------------- notice */

.ejl-notice {
	padding: 1.5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: var(--fl-panel);
}
.ejl-notice a { color: var(--fl-red); font-weight: 700; }

.ejl-flag {
	display: inline-block;
	margin: 0 0 1rem;
	padding: .375rem .75rem;
	border-radius: 999px;
	background: var(--fl-gold-soft);
	color: var(--fl-gold);
	font-size: .8125rem;
	font-weight: 700;
}

.ejl-error {
	margin: 1rem 0 0;
	padding: .875rem 1rem;
	border: 2px solid var(--fl-red);
	border-radius: var(--fl-radius-sm);
	background: var(--fl-red-soft);
	color: var(--fl-red-dark);
	font-weight: 600;
}

/* ------------------------------------------------------------- laden */

.ejl-loading { display: flex; align-items: center; gap: .75rem; padding: 2rem 0; color: var(--fl-muted); }

.ejl-spinner {
	width: 24px; height: 24px;
	border: 3px solid var(--fl-line);
	border-top-color: var(--fl-red);
	border-radius: 50%;
	animation: ejl-spin .8s linear infinite;
}

@keyframes ejl-spin { to { transform: rotate(360deg); } }
@keyframes ejl-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ------------------------------------------------------------ voortgang */

.ejl-progress {
	display: flex;
	gap: .5rem;
	margin: 0 0 var(--fl-gap);
	padding: 0;
	list-style: none;
}
.ejl-progress li { flex: 1; }

.ejl-progress button {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: 100%;
	padding: .5rem .25rem;
	border: 0;
	border-bottom: 3px solid var(--fl-line);
	background: none;
	color: var(--fl-muted);
	font-family: inherit;
	font-size: .8125rem;
	text-align: left;
	cursor: pointer;
}
.ejl-progress button:disabled { cursor: default; }
.ejl-progress button em { font-style: normal; font-weight: 700; }
.ejl-progress li.is-active button { border-color: var(--fl-red); color: var(--fl-ink); }
.ejl-progress li.is-done button { border-color: var(--fl-red); color: var(--fl-ink); cursor: pointer; }

.ejl-progress-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--fl-line);
	color: var(--fl-muted);
	font-size: .75rem;
	font-weight: 700;
}
.ejl-progress li.is-active .ejl-progress-dot,
.ejl-progress li.is-done .ejl-progress-dot { background: var(--fl-red); color: #fff; }

/* ------------------------------------------------------------- stappen */

.ejl-viewport { overflow: hidden; }

.ejl-track {
	display: flex;
	align-items: flex-start; /* anders krijgt elke stap de hoogte van de langste */
	width: 200%;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.ejl-step { flex: 0 0 50%; width: 50%; min-width: 0; padding: 0 1px; }
.ejl-step[aria-hidden="true"] { visibility: hidden; }

.ejl-step-head { margin: 0 0 var(--fl-gap); }
.ejl-step-head p { color: var(--fl-muted); max-width: 40rem; }

.ejl-back {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	margin: 0 0 .75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fl-muted);
	font-family: inherit;
	font-size: .875rem;
	font-weight: 600;
	cursor: pointer;
}
.ejl-back::before { content: "\2190"; }
.ejl-back:hover { color: var(--fl-red); }

/* ------------------------------------------------------------- zoeken */

.ejl-search { display: block; margin: 0 0 var(--fl-gap); }

.ejl-search input {
	width: 100%;
	min-height: 50px;
	padding: 0 1rem 0 2.75rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 1rem center / 20px no-repeat;
	color: var(--fl-ink);
	font-family: inherit;
	font-size: 1rem;
}
.ejl-search input:focus { outline: none; border-color: var(--fl-red); }

/* --------------------------------------------------------------- tegels */

.ejl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: .75rem;
}
.ejl-grid:empty { display: none; }

/*
 * minmax(0, 1fr) en niet 1fr: een kale 1fr is minstens zo breed als de inhoud.
 * Eén lange artiestnaam (die niet mag afbreken) duwde zo de hele kolom buiten
 * beeld, met vierkante hoezen die net zo hard meegroeiden.
 */
@media (max-width: 480px) {
	.ejl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
}

.ejl-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .5rem;
	padding: .5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	color: inherit;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, transform .2s, box-shadow .2s, background-color .2s;
}

.ejl-tile { min-width: 0; }

/*
 * Rood betekent hier maar één ding: gekozen. Hover is daarom neutraal, en
 * alleen op apparaten met een muis: op een telefoon blijft hover na een tik
 * "plakken", waardoor een tegel waar je alleen op play had gedrukt er gekozen
 * uitzag.
 */
@media (hover: hover) {
	.ejl-tile:hover { border-color: var(--fl-line-dark); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(31, 36, 48, .1); }
	.ejl-tile:hover .ejl-tile-action { border-color: var(--fl-red); color: var(--fl-red); }
	.ejl-tile[aria-pressed="true"]:hover { border-color: var(--fl-red); }
	.ejl-tile[aria-pressed="true"]:hover .ejl-tile-action { color: #fff; }
	.ejl-tile.is-full:hover { transform: none; border-color: var(--fl-line); box-shadow: none; }
	.ejl-tile.is-full:hover .ejl-tile-action { border-color: var(--fl-line-dark); color: var(--fl-muted); }
}
.ejl-tile[aria-pressed="true"] { border-color: var(--fl-red); background: var(--fl-red-soft); }
.ejl-tile.is-full { cursor: not-allowed; }
.ejl-tile.is-full .ejl-tile-img,
.ejl-tile.is-full .ejl-tile-text { opacity: .55; }

/* De actiebalk onderaan elke tegel: "Toevoegen", "In stemlijst" of "Lijst vol" */
.ejl-tile-action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	min-height: 36px;
	margin-top: auto;
	border: 2px solid var(--fl-line-dark);
	border-radius: var(--fl-radius-sm);
	background: #fff;
	color: var(--fl-ink);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color .2s, border-color .2s, color .2s;
}
.ejl-tile-action::before {
	content: "";
	width: 14px; height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ejl-tile[aria-pressed="true"] .ejl-tile-action { border-color: var(--fl-red); background: var(--fl-red); color: #fff; }
.ejl-tile[aria-pressed="true"] .ejl-tile-action::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	animation: ejl-pop .25s ease-out;
}
.ejl-tile.is-full .ejl-tile-action { border-style: dashed; color: var(--fl-muted); font-weight: 600; }
.ejl-tile.is-full .ejl-tile-action::before { display: none; }

.ejl-tile-img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-line);
	overflow: hidden;
}
.ejl-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }

.ejl-tile-initial {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 700;
	color: var(--fl-muted);
}

/* Previewknop in de hoek van de hoes */
.ejl-tile-play {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(31, 36, 48, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 24px no-repeat;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	cursor: pointer;
	transition: background-color .2s, transform .15s;
}
.ejl-tile-play:hover { transform: scale(1.08); }
.ejl-tile-play:hover { background-color: var(--fl-green); }
.ejl-tile-play.is-playing { background-color: var(--fl-green); }

/* Zelfde knop op de hoes in de ranglijst */
.ejl-rank-media { position: relative; }
.ejl-rank-play {
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 30px; height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(31, 36, 48, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 17px no-repeat;
	font-size: 0;
	cursor: pointer;
}
.ejl-rank-play:hover, .ejl-rank-play.is-playing { background-color: var(--fl-green); }

.ejl-tile-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; margin-bottom: .25rem; }

.ejl-tile-name {
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.3;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ejl-tile-artist {
	font-size: .75rem;
	color: var(--fl-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ejl-foot { display: flex; justify-content: center; margin: var(--fl-gap) 0 0; }
.ejl-empty { padding: 2rem 0; color: var(--fl-muted); text-align: center; }

/* ------------------------------------------------------------- ranglijst */

.ejl-ranking { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 var(--fl-gap); }

.ejl-rank {
	display: grid;
	grid-template-columns: 44px 56px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: .75rem;
	padding: .5rem .75rem .5rem .5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	transition: box-shadow .2s, border-color .2s, transform .15s;
	touch-action: pan-y;
}
.ejl-rank.is-dragging {
	position: relative;
	z-index: 5;
	border-color: var(--fl-red);
	box-shadow: 0 10px 24px rgba(31, 36, 48, .2);
	transform: scale(1.02);
}
.ejl-rank.is-first { border-color: var(--fl-gold); background: var(--fl-gold-soft); }

.ejl-rank-handle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	height: 100%;
	min-height: 56px;
	padding: 0;
	border: 0;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B7280'%3E%3Ccircle cx='9' cy='6' r='1.8'/%3E%3Ccircle cx='15' cy='6' r='1.8'/%3E%3Ccircle cx='9' cy='12' r='1.8'/%3E%3Ccircle cx='15' cy='12' r='1.8'/%3E%3Ccircle cx='9' cy='18' r='1.8'/%3E%3Ccircle cx='15' cy='18' r='1.8'/%3E%3C/svg%3E") center 6px / 20px no-repeat;
	color: var(--fl-ink);
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	cursor: grab;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}
.ejl-rank-handle:active { cursor: grabbing; }
.ejl-rank-handle span { margin-top: 18px; }
.ejl-rank.is-first .ejl-rank-handle { color: var(--fl-gold); }

.ejl-rank-media {
	width: 56px; height: 56px;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-line);
	overflow: hidden;
}
.ejl-rank-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }

.ejl-rank-body { display: flex; flex-direction: column; min-width: 0; }
.ejl-rank-name { font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ejl-rank-artist { font-size: .8125rem; color: var(--fl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ejl-rank-points {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	padding: .3rem .5rem;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-red-soft);
	color: var(--fl-red);
	line-height: 1.1;
	white-space: nowrap;
}
.ejl-rank-points b { font-size: 1.125rem; font-weight: 800; }
.ejl-rank-points small { font-size: .5625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.ejl-rank.is-first .ejl-rank-points { background: #fff; color: var(--fl-gold); box-shadow: inset 0 0 0 2px var(--fl-gold-soft); }

.ejl-rank-actions { display: flex; gap: .25rem; }

.ejl-rank-actions button {
	width: 34px; height: 34px;
	border: 2px solid var(--fl-line);
	border-radius: 50%;
	background: #fff center / 16px no-repeat;
	color: var(--fl-ink);
	font-size: 0;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.ejl-rank-actions button:hover { border-color: var(--fl-red); }
.ejl-rank-actions button:disabled { opacity: .3; cursor: default; border-color: var(--fl-line); }
.ejl-rank-actions [data-ejl-up]     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
.ejl-rank-actions [data-ejl-down]   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.ejl-rank-actions [data-ejl-remove] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E04747' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }

.ejl-rank-placeholder {
	border: 2px dashed var(--fl-line-dark);
	border-radius: var(--fl-radius);
	background: var(--fl-panel);
}

@media (max-width: 480px) {
	.ejl-rank { grid-template-columns: 40px 48px minmax(0, 1fr) auto; }
	.ejl-rank-media { width: 48px; height: 48px; }
	.ejl-rank-points { min-width: 48px; padding: .25rem .375rem; }
	.ejl-rank-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ------------------------------------------------------------ honeypot */

.ejl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------------- dock */

.ejl-dock-spacer { height: 72px; }

.ejl-dockwrap {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 50;
	padding: 0 .75rem calc(.75rem + env(safe-area-inset-bottom));
	pointer-events: none;
}
.ejl-dockwrap > * { pointer-events: auto; }

.ejl-dock {
	display: flex;
	align-items: center;
	gap: .75rem;
	max-width: 760px;
	margin: 0 auto;
	padding: .625rem .625rem .625rem 1rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	box-shadow: 0 -4px 24px rgba(31, 36, 48, .12);
}
.ejl-dock-label { flex: 1; min-width: 0; font-size: .9375rem; font-weight: 700; }
.ejl-dock-label small { display: block; font-size: .75rem; font-weight: 400; color: var(--fl-muted); }
.ejl-dock .ejl-btn { min-height: 46px; padding: 0 1.25rem; white-space: nowrap; }
.ejl-dock.is-ready .ejl-btn--outline { background: var(--fl-red); color: #fff; }

.ejl-dock-toggle {
	flex: 0 0 36px;
	width: 36px; height: 36px;
	border: 2px solid var(--fl-line);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}
.ejl-dock-chevron {
	display: block;
	width: 10px; height: 10px;
	margin: 0 auto;
	border-left: 3px solid var(--fl-ink);
	border-top: 3px solid var(--fl-ink);
	transform: translateY(2px) rotate(45deg);
	transition: transform .25s;
}
.ejl-dock-toggle[aria-expanded="true"] .ejl-dock-chevron { transform: translateY(-2px) rotate(225deg); }

.ejl-panel {
	max-width: 760px;
	max-height: 50vh;
	margin: 0 auto .5rem;
	padding: 1rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	box-shadow: 0 -4px 24px rgba(31, 36, 48, .12);
	overflow: auto;
}
.ejl-panel h4 { margin-bottom: .75rem; }
.ejl-panel-list { display: flex; flex-direction: column; gap: .375rem; }
.ejl-panel-item { display: flex; align-items: center; gap: .625rem; font-size: .875rem; }
.ejl-panel-item b { flex: 0 0 1.5rem; color: var(--fl-red); }
.ejl-panel-item img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; margin: 0; }
.ejl-panel-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ejl-panel-item small { color: var(--fl-muted); }
.ejl-panel-item button {
	width: 28px; height: 28px;
	border: 0;
	border-radius: 50%;
	background: var(--fl-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E04747' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
	font-size: 0;
	cursor: pointer;
}
.ejl-panel-empty { color: var(--fl-muted); font-size: .875rem; }

@media (max-width: 480px) {
	.ejl-dock-label { font-size: .875rem; }
	.ejl-dock .ejl-btn { padding: 0 1rem; font-size: .9375rem; }
}

/* ------------------------------------------------------ de stemlijstpagina */

.ejl-mylist { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 2rem; }

.ejl-mylist-item {
	display: grid;
	grid-template-columns: 40px 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: .875rem;
	padding: .625rem .875rem .625rem .5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ejl-mylist-item.is-playable { cursor: pointer; }
.ejl-mylist-item.is-playable:hover,
.ejl-mylist-item.is-playable:focus-visible { border-color: var(--fl-red); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 36, 48, .1); }
.ejl-mylist-item.is-playable:hover .ejl-chart-play { background-color: var(--fl-green); }
.ejl-mylist-rank { font-size: 1.25rem; font-weight: 800; text-align: center; color: var(--fl-ink); }
.ejl-mylist-media { width: 64px; height: 64px; border-radius: var(--fl-radius-sm); background: var(--fl-line); overflow: hidden; }
.ejl-mylist-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.ejl-mylist-media .ejl-chart-play { width: 34px; height: 34px; background-size: 19px; right: 3px; bottom: 3px; }
.ejl-mylist-body { display: flex; flex-direction: column; min-width: 0; }
.ejl-mylist-title { font-weight: 700; line-height: 1.3; }
.ejl-mylist-artist { font-size: .875rem; color: var(--fl-muted); }

/* Alleen nummer 1 groot, zoals de top 3 op de uitslag */
.ejl-mylist-item.is-first {
	grid-template-columns: 56px 120px minmax(0, 1fr) auto;
	gap: 1rem;
	padding: 1rem;
	border-color: var(--fl-gold);
	background: var(--fl-gold-soft);
}
.ejl-mylist-item.is-first.is-playable:hover { border-color: var(--fl-gold); }
.ejl-mylist-item.is-first .ejl-mylist-rank { font-size: 2rem; color: var(--fl-gold); }
.ejl-mylist-item.is-first .ejl-mylist-media { width: 120px; height: 120px; border-radius: var(--fl-radius); }
.ejl-mylist-item.is-first .ejl-mylist-media .ejl-chart-play { width: 48px; height: 48px; background-size: 26px; right: 6px; bottom: 6px; }
.ejl-mylist-item.is-first .ejl-mylist-title { font-size: 1.25rem; }
.ejl-mylist-item.is-first .ejl-mylist-artist { font-size: .9375rem; }
@media (max-width: 600px) {
	.ejl-mylist-item.is-first { grid-template-columns: 40px 88px minmax(0, 1fr) auto; gap: .75rem; padding: .75rem; }
	.ejl-mylist-item.is-first .ejl-mylist-rank { font-size: 1.5rem; }
	.ejl-mylist-item.is-first .ejl-mylist-media { width: 88px; height: 88px; }
	.ejl-mylist-item.is-first .ejl-mylist-title { font-size: 1.0625rem; }
}

.ejl-mylist-points {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: .375rem .625rem;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-red-soft);
	color: var(--fl-red);
	line-height: 1.1;
	white-space: nowrap;
}
.ejl-mylist-points b { font-size: 1.25rem; font-weight: 800; }
.ejl-mylist-points small { font-size: .625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.ejl-mylist-item.is-first .ejl-mylist-points { background: #fff; color: var(--fl-gold); box-shadow: inset 0 0 0 2px var(--fl-gold-soft); }

/* ------------------------------------------------------------- delen */

.ejl-share {
	margin: 0 0 var(--fl-gap);
	padding: 1.5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: var(--fl-panel);
}
.ejl-share-intro { color: var(--fl-muted); }

.ejl-format { display: inline-flex; margin: .5rem 0 1rem; padding: 3px; border-radius: 999px; background: var(--fl-line); }
.ejl-format button {
	padding: .375rem 1rem;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--fl-muted);
	font-family: inherit;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
}
.ejl-format button[aria-pressed="true"] { background: #fff; color: var(--fl-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }

.ejl-share-preview {
	display: block;
	width: 270px;
	max-width: 100%;
	height: auto;
	margin: 0 0 1rem;
	border-radius: var(--fl-radius);
	box-shadow: 0 6px 20px rgba(31, 36, 48, .18);
	transition: width .2s;
}
.ejl-share-preview.is-square { width: 320px; }

.ejl-share-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ejl-share-actions .ejl-btn { flex: 1 1 240px; }
.ejl-share-hint, .ejl-share-error { margin: 1rem 0 0; font-size: .875rem; color: var(--fl-muted); }

/* --------------------------------------------------------------- cta */

.ejl-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	padding: 1.5rem;
	border-radius: var(--fl-radius);
	background: linear-gradient(59deg, #E04747 4%, #E95636 100%);
	color: #fff;
}
.ejl-cta-body { flex: 1 1 320px; }
.ejl-cta h3, .ejl-cta p { color: #fff; }
.ejl-cta .ejl-btn { background: #fff; border-color: #fff; color: var(--fl-red); }
.ejl-cta .ejl-btn:hover { background: var(--fl-red-soft); }

/* ------------------------------------------------------------- iconen */

.ejl-icon {
	display: inline-block;
	width: 20px; height: 20px;
	background: currentColor;
	vertical-align: -4px;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.ejl-icon--instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23000'/%3E%3C/svg%3E"); }
.ejl-icon--whatsapp  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4.1 14.9l-.3-.2-2.6.7.7-2.5-.2-.3A8 8 0 0 1 12 4zm-3 4.5c-.2 0-.5.1-.7.4-.3.3-1 1-1 2.3s1 2.7 1.2 2.9c.1.2 2 3.2 5 4.4 2.5 1 3 .8 3.5.7.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4l-1.9-.9c-.3-.1-.4-.2-.6.2l-.9 1.1c-.2.2-.3.2-.6.1a7 7 0 0 1-3.5-3c-.3-.4 0-.5.3-.9l.6-.8c.1-.2 0-.4 0-.5L11 8.8c-.2-.5-.4-.4-.6-.4H9z'/%3E%3C/svg%3E"); }
.ejl-icon--download  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M4 19h16'/%3E%3C/svg%3E"); }
.ejl-icon--link      { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.ejl-icon--spotify   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.6 14.4a.6.6 0 0 1-.9.2c-2.4-1.5-5.4-1.8-9-1a.6.6 0 1 1-.3-1.2c3.9-.9 7.3-.5 10 1.2.3.1.4.5.2.8zm1.2-2.7a.8.8 0 0 1-1.1.3c-2.7-1.7-6.9-2.2-10.1-1.2a.8.8 0 1 1-.5-1.5c3.7-1.1 8.3-.6 11.4 1.3.4.2.5.7.3 1.1zm.1-2.8C14.6 9 9.2 8.8 6.1 9.7a.9.9 0 1 1-.5-1.8c3.6-1.1 9.5-.9 13.3 1.4a.9.9 0 1 1-1 1.6z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------ de uitslag */

.ejl-results-note { margin: 0 0 var(--fl-gap); color: var(--fl-muted); max-width: 44rem; }

.ejl-chart { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 2rem; }

.ejl-chart-item {
	display: grid;
	grid-template-columns: 44px 64px minmax(0, 1fr);
	align-items: center;
	gap: .875rem;
	padding: .625rem .875rem .625rem .5rem;
	border: 2px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ejl-chart-item.is-playable { cursor: pointer; }
.ejl-chart-item.is-playable:hover,
.ejl-chart-item.is-playable:focus-visible { border-color: var(--fl-red); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 36, 48, .1); }
.ejl-chart-item.is-playable:hover .ejl-chart-play { background-color: var(--fl-green); }
.ejl-chart-item.is-first.is-playable:hover { border-color: var(--fl-gold); }

.ejl-chart-item.is-top { grid-template-columns: 56px 120px minmax(0, 1fr); padding: 1rem; }
.ejl-chart-item.is-first { border-color: var(--fl-gold); background: var(--fl-gold-soft); }

.ejl-chart-rank { font-size: 1.25rem; font-weight: 800; text-align: center; color: var(--fl-muted); }
.ejl-chart-item.is-top .ejl-chart-rank { font-size: 2rem; color: var(--fl-ink); }
.ejl-chart-item.is-first .ejl-chart-rank { color: var(--fl-gold); }

.ejl-chart-media { position: relative; width: 64px; height: 64px; border-radius: var(--fl-radius-sm); background: var(--fl-line); overflow: hidden; }
.ejl-chart-item.is-top .ejl-chart-media { width: 120px; height: 120px; border-radius: var(--fl-radius); }
.ejl-chart-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.ejl-chart-initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--fl-muted); }

.ejl-chart-body { display: flex; flex-direction: column; min-width: 0; }
.ejl-chart-title { font-weight: 700; line-height: 1.3; }
.ejl-chart-item.is-top .ejl-chart-title { font-size: 1.25rem; }
.ejl-chart-artist { font-size: .875rem; color: var(--fl-muted); }
.ejl-chart-listen {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	align-self: flex-start;
	margin-top: .375rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fl-green);
	font-family: inherit;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.ejl-chart-listen:hover { text-decoration: underline; color: var(--fl-green); }
.ejl-chart-listen.is-playing::after { content: " · speelt"; font-weight: 400; }

/* Archief: compacter, zonder speler */
.ejl-results--archive .ejl-chart-item.is-top { grid-template-columns: 48px 88px minmax(0, 1fr); padding: .75rem; }
.ejl-results--archive .ejl-chart-item.is-top .ejl-chart-media { width: 88px; height: 88px; }
.ejl-results--archive .ejl-chart-item.is-top .ejl-chart-rank { font-size: 1.5rem; }
.ejl-results--archive .ejl-chart-item.is-top .ejl-chart-title { font-size: 1.0625rem; }
.ejl-results--archive .ejl-chart-item { grid-template-columns: 40px 52px minmax(0, 1fr); gap: .75rem; padding: .5rem .75rem .5rem .375rem; }
.ejl-results--archive .ejl-chart-media { width: 52px; height: 52px; }
.ejl-results--archive .ejl-chart-rank { font-size: 1rem; }
.ejl-results--archive .ejl-chart-title { font-size: .9375rem; }
.ejl-results--archive .ejl-chart-artist { font-size: .8125rem; }
@media (min-width: 720px) {
	.ejl-results--archive .ejl-chart { gap: .5rem; }
}

/* ------------------------------------------------------------- speler */

.ejl-player {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	display: none;
	margin: 0;
	padding: 0 .75rem calc(.75rem + env(safe-area-inset-bottom));
	pointer-events: none;
}
.ejl-player.is-open { display: block; }
.ejl-player.has-dock { bottom: 76px; }
.ejl-player-inner {
	max-width: 760px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	background: #1F2430;
	color: #fff;
	box-shadow: 0 8px 30px rgba(31, 36, 48, .3);
	pointer-events: auto;
}

/* Eigen speler: preview via Deezer */
.ejl-player-audio {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .625rem .75rem;
}
.ejl-player-toggle {
	flex: 0 0 48px;
	width: 48px; height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fl-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat;
	font-size: 0;
	cursor: pointer;
	transition: background-color .2s, transform .15s;
}
.ejl-player-toggle:hover { background-color: var(--fl-red-dark); transform: scale(1.05); }
.ejl-player-toggle.is-playing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E"); }
.ejl-player-cover {
	flex: 0 0 48px;
	width: 48px; height: 48px;
	border-radius: 8px;
	background: #2E3340;
	overflow: hidden;
}
.ejl-player-cover img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.ejl-player-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.ejl-player-title { font-size: .875rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ejl-player-artist { font-size: .75rem; color: #B6BCC8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ejl-player-progress {
	position: relative;
	height: 6px;
	margin: .375rem 0 .25rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .18);
	cursor: pointer;
	overflow: hidden;
}
.ejl-player-progress span { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--fl-red); transition: width .25s linear; }
.ejl-player-source { font-size: .625rem; color: #8A91A0; }
@media (max-width: 480px) {
	.ejl-player-audio { gap: .5rem; padding: .5rem; }
}

/* Terugval: de Spotify-embed */
.ejl-player-bar {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .375rem .5rem .375rem .875rem;
	background: #1a1a1a;
	color: #fff;
}
.ejl-player-label {
	flex: 1;
	min-width: 0;
	font-size: .8125rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ejl-player-close {
	flex: 0 0 28px;
	width: 28px; height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 12px no-repeat;
	font-size: 0;
	cursor: pointer;
}
.ejl-player-close:hover { background-color: rgba(255, 255, 255, .25); }
.ejl-player-frame { min-height: 80px; background: #282828; }
.ejl-player-frame iframe { display: block; border: 0; width: 100%; height: 80px; }
body.ejl-has-player .ejl-dock-spacer { height: 200px; }
body.ejl-has-player { padding-bottom: 130px; }

/* Playknop op de hoes in uitslag en persoonlijke lijst */
.ejl-chart-media, .ejl-mylist-media { position: relative; }
.ejl-chart-play {
	position: absolute;
	right: 4px;
	bottom: 4px;
	width: 38px; height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(31, 36, 48, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 21px no-repeat;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	font-size: 0;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.ejl-chart-play:hover { background-color: var(--fl-green); transform: scale(1.08); }
.ejl-chart-play.is-playing { background-color: var(--fl-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E"); }
.ejl-chart-item.is-top .ejl-chart-play { width: 48px; height: 48px; background-size: 26px; right: 6px; bottom: 6px; }
.ejl-results--archive .ejl-chart-play { width: 30px; height: 30px; background-size: 17px; right: 2px; bottom: 2px; }
.ejl-results--archive .ejl-chart-item.is-top .ejl-chart-play { width: 40px; height: 40px; background-size: 22px; right: 4px; bottom: 4px; }
.ejl-tile-play.is-playing, .ejl-rank-play.is-playing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6 5h4v14H6zm8 0h4v14h-4z'/%3E%3C/svg%3E"); }
.ejl-chart-listen .ejl-icon { width: 16px; height: 16px; vertical-align: -3px; }

@media (min-width: 720px) {
	.ejl-chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.ejl-chart-item.is-top { grid-column: 1 / -1; }
}

.ejl-playlist { margin: 0 0 var(--fl-gap); }
.ejl-playlist-embed { display: block; border-radius: var(--fl-radius); }

/* ------------------------------------------------- pagina (buiten .ejl) */

#ejl-main .ejl-hero .box-static { text-align: center; }
#ejl-main .ejl-hero h1 { margin-bottom: 1rem; }

#ejl-main .ejl-hero-intro {
	max-width: 32rem;
	margin: 0 auto 1.75rem;
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.5;
}

#ejl-main .ejl-hero-button {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	padding: 1rem 2rem;
	border-radius: 999px;
	background: #fff;
	color: #E04747;
	font-size: 1.0625rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	transition: transform .2s, box-shadow .2s;
}
#ejl-main .ejl-hero-button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .24); color: #E04747; }
#ejl-main .ejl-hero-button .ejl-icon { width: 22px; height: 22px; }

#ejl-main .ejl-hero-button-icon {
	width: 20px; height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V6l12-2v12a3 3 0 1 1-2-2.8V7.3L11 8.6V18a3 3 0 1 1-2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V6l12-2v12a3 3 0 1 1-2-2.8V7.3L11 8.6V18a3 3 0 1 1-2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

#ejl-main .ejl-hero-cta { margin: 0 0 1rem; }
#ejl-main .ejl-hero-note { margin: 0; color: #fff; font-size: .875rem; opacity: .8; }

#ejl-main #stemmen { scroll-margin-top: 80px; }
#ejl-main #stemmen .entry-content > *:first-child { margin-top: 0; }
#ejl-main #stemmen .entry-content > h2 { margin: 2.5rem 0 1.25rem; scroll-margin-top: 80px; }
#ejl-main #stemmen .entry-content > h2:first-child { margin-top: 0; }
#ejl-main .ejl-intro { max-width: 44rem; margin: 0 0 1rem; }

#ejl-main .ejl-prose > p { margin-top: 0; }
@media (min-width: 820px) {
	#ejl-main .ejl-prose { column-count: 2; column-gap: 3.5rem; }
	#ejl-main .ejl-prose > p { break-inside: avoid; }
}

#ejl-main .ejl-history {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}
@media (max-width: 640px) {
	#ejl-main .ejl-history { grid-template-columns: minmax(0, 1fr); }
}
#ejl-main .ejl-history-item a {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
	padding: 1rem;
	border: 2px solid #E5EDF1;
	border-radius: 12px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
#ejl-main .ejl-history-item a:hover { border-color: #E04747; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 36, 48, .1); }
#ejl-main .ejl-history-photo { position: relative; flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; background: #E5EDF1; overflow: hidden; }
#ejl-main .ejl-history-photo .ejl-chart-play { width: 38px; height: 38px; background-size: 21px; right: 4px; bottom: 4px; }
#ejl-main .ejl-history-item a:hover .ejl-chart-play { background-color: #1DB954; }
#ejl-main .ejl-history-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
#ejl-main .ejl-history-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1; line-height: 1.3; }
#ejl-main .ejl-history-year { font-weight: 800; font-size: 1.125rem; margin-bottom: .25rem; }
#ejl-main .ejl-history-label { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #C9962B; }
#ejl-main .ejl-history-title { font-weight: 700; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ejl-main .ejl-history-artist { font-size: .875rem; color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ejl-main .ejl-history-link { display: block; margin-top: .5rem; font-size: .75rem; font-weight: 700; color: #E04747; }
#ejl-main .ejl-history-link::after { content: " \2192"; }
#ejl-main .ejl-history-item.is-current a { border-color: #E04747; background: #FFF5F5; }
#ejl-main .ejl-prose-cta { margin: 1.5rem 0 0; }
#ejl-main .ejl-prose-cta .ejl-btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 1.5rem;
	border: 2px solid #E04747;
	border-radius: 12px;
	background: #E04747;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
#ejl-main .ejl-prose-cta .ejl-btn:hover { background: #C03535; border-color: #C03535; color: #fff; }

/* ---------------------------------------- thema-overrides (.entry-content) */
/*
 * De themastijl voor .entry-content zet grote koppen, ruime alinea's en
 * lijstopmaak op alles wat erin staat. Binnen de tool winnen onze maten.
 */
.entry-content .ejl h3 { margin: 0 0 .5rem; font-size: 1.375rem; line-height: 1.25; }
.entry-content .ejl h4 { margin: 0 0 .375rem; font-size: 1.0625rem; line-height: 1.3; }
.entry-content .ejl p { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.5; }
.entry-content .ejl p:last-child { margin-bottom: 0; }
.entry-content .ejl ol,
.entry-content .ejl ul { margin: 0; padding: 0; list-style: none; }
.entry-content .ejl li { margin: 0; padding: 0; }
.entry-content .ejl ol.ejl-mylist,
.entry-content .ejl ol.ejl-chart { margin: 0 0 2rem; }
.entry-content .ejl ol.ejl-ranking { margin: 0 0 1.5rem; }
/* De reset hierboven wint van de rijstijlen; die krijgen hun padding hier terug. */
.entry-content .ejl li.ejl-rank { padding: .5rem .75rem .5rem .5rem; }
.entry-content .ejl li.ejl-mylist-item { padding: .625rem .875rem .625rem .5rem; }
.entry-content .ejl li.ejl-mylist-item.is-first { padding: 1rem; }
@media (max-width: 600px) {
	.entry-content .ejl li.ejl-mylist-item.is-first { padding: .75rem; }
}
.entry-content .ejl li.ejl-chart-item { padding: .625rem .875rem .625rem .5rem; }
.entry-content .ejl li.ejl-chart-item.is-top { padding: 1rem; }
.entry-content .ejl .ejl-progress li { flex: 1; }
.entry-content .ejl li.ejl-empty { padding: 2rem 0; }
@media (max-width: 480px) {
	.entry-content .ejl li.ejl-rank { padding-right: .5rem; }
}
.entry-content .ejl li::before,
.entry-content .ejl li::marker { content: none; display: none; }
.entry-content .ejl input,
.entry-content .ejl button { font-size: 1rem; }
/* Icoonknoppen: de tekst zit in een screen-reader-span, de knop zelf blijft leeg. */
.entry-content .ejl .ejl-rank-actions button,
.entry-content .ejl .ejl-panel-item button,
.entry-content .ejl .ejl-rank-play,
.entry-content .ejl .ejl-chart-play,
.entry-content .ejl .ejl-tile-play { font-size: 0; }
.entry-content .ejl .ejl-chart-listen { font-size: .8125rem; }
.entry-content .ejl .ejl-flag { margin: 0 0 1.25rem; font-size: .8125rem; }
.entry-content .ejl ol.ejl-progress { margin: 0 0 1.75rem; }
.entry-content .ejl .ejl-progress button { font-size: .8125rem; }
.entry-content .ejl .ejl-step-head { margin: 0 0 1.5rem; }
.entry-content .ejl .ejl-step-head p { font-size: 1rem; }
.entry-content .ejl .ejl-tile-name { font-size: .875rem; }
.entry-content .ejl .ejl-tile-artist { font-size: .75rem; }
.entry-content .ejl .ejl-tile-action { font-size: .8125rem; }
.entry-content .ejl .ejl-rank-artist,
.entry-content .ejl .ejl-chart-artist,
.entry-content .ejl .ejl-mylist-artist { font-size: .8125rem; }
.entry-content .ejl .ejl-dock-label { font-size: .9375rem; }
.entry-content .ejl .ejl-dock-label small { font-size: .75rem; }
.entry-content .ejl .ejl-chart-item.is-top .ejl-chart-title { font-size: 1.25rem; }
.entry-content .ejl .ejl-share-intro,
.entry-content .ejl .ejl-share-hint,
.entry-content .ejl .ejl-share-error { font-size: .9375rem; }
.entry-content .ejl .ejl-notice h3 { margin-bottom: .5rem; }
