/* HBCOC Playlist: navy + gold, matches the banquet and Love Day sections. */
.hbpl {
	--pl-bg: #151923;
	--pl-card: #1C2130;
	--pl-line: #2E3446;
	--pl-text: #ECEDF1;
	--pl-soft: #D5D7DD;
	--pl-muted: #8E94A3;
	--pl-gold-1: #F4D688;
	--pl-gold: #D6A84E;
	--pl-gold-3: #C08A3A;
	--pl-grad: linear-gradient(135deg, #F4D688, #D6A84E 55%, #C08A3A);
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	color: var(--pl-text);
	font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	text-align: left;
}
.hbpl *, .hbpl *::before, .hbpl *::after { box-sizing: border-box; }
.hbpl p, .hbpl h2, .hbpl ol { margin: 0; padding: 0; }
.hbpl button { font: inherit; color: inherit; margin: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hbpl svg { display: block; fill: currentColor; }
.hbpl [hidden] { display: none !important; }
.hbpl .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hbpl button:focus-visible { outline: 2px solid var(--pl-gold-1); outline-offset: 3px; }

/* header */
.hbpl-head { margin-bottom: 28px; }
.hbpl-kicker { font-family: Poppins, "Plus Jakarta Sans", sans-serif; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--pl-muted); }
.hbpl-title {
	margin-top: 8px !important;
	padding-bottom: .12em;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.08;
	text-wrap: balance;
	background: linear-gradient(180deg, var(--pl-gold-1), var(--pl-gold) 60%, var(--pl-gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hbpl-intro { margin-top: 6px !important; max-width: 560px; font-size: 17px; color: var(--pl-soft); }

/* Keep a fixed width: Elementor centers widgets with align-items:center, which would shrink-wrap
   the player to its content, so its size changed with each song title. */
.elementor-widget-shortcode:has(.hbpl) { width: 100%; max-width: 1120px; align-self: center; }
.hbpl.hbpl { padding-bottom: 96px; }
@media (max-width: 760px) { .hbpl.hbpl { padding-bottom: 64px; } }
.hbpl-stage-col, .hbpl-now, .hbpl-now-text { min-width: 0; }
.hbpl-now-text { overflow: hidden; }

/* shell */
.hbpl-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--pl-line);
	border-radius: 24px;
	background: var(--pl-card);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hbpl-stage-col { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--pl-line); }

/* stage (16:9) */
.hbpl-stage { position: relative; aspect-ratio: 16 / 9; background: #0B0E15; }
.hbpl-frame, .hbpl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hbpl-poster { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hbpl-poster::before {
	content: "";
	position: absolute;
	inset: -40px;
	background: var(--hbpl-poster) center / cover no-repeat;
	filter: blur(28px) saturate(1.1) brightness(.45);
	transform: scale(1.1);
}
.hbpl-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(11, 14, 21, .7)); }
.hbpl-cover {
	position: relative;
	z-index: 1;
	height: 78% !important;
	width: auto !important;
	max-width: 70% !important;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
}
.hbpl-bigplay {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	color: #1A1408 !important;
	background: var(--pl-grad) !important;
	box-shadow: 0 0 0 10px rgba(244, 214, 136, .16), 0 18px 40px -10px rgba(0, 0, 0, .7);
	transform: translate(-50%, -50%);
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.hbpl-bigplay svg { width: 34px; height: 34px; margin-left: 4px; }
.hbpl-bigplay:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 14px rgba(244, 214, 136, .2), 0 18px 40px -10px rgba(0, 0, 0, .7); }
.hbpl-poster-note {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 14px;
	font-size: 12px;
	letter-spacing: .3px;
	text-align: center;
	color: rgba(236, 237, 241, .75);
	text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.hbpl.is-loading .hbpl-bigplay { animation: hbpl-pulse 1.1s ease-in-out infinite; }
@keyframes hbpl-pulse { 50% { box-shadow: 0 0 0 18px rgba(244, 214, 136, .06), 0 18px 40px -10px rgba(0, 0, 0, .7); } }

/* bar */
.hbpl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: linear-gradient(180deg, #1E2333, #191D2A); flex: 1; }
.hbpl-now { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hbpl-now-text { display: flex; flex-direction: column; min-width: 0; }
.hbpl-now-label { font-family: Poppins, sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--pl-gold); }
.hbpl-now-title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pl-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbpl-ctrls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hbpl-btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50% !important;
	color: var(--pl-soft) !important;
	background: rgba(255, 255, 255, .04) !important;
	border: 1px solid var(--pl-line) !important;
	transition: color .2s, border-color .2s, background .2s;
}
.hbpl-btn svg { width: 18px; height: 18px; }
.hbpl-btn:hover { color: var(--pl-gold-1) !important; border-color: rgba(214, 168, 78, .5) !important; }
.hbpl-btn--main { width: 54px; height: 54px; color: #1A1408 !important; background: var(--pl-grad) !important; border: 0 !important; }
.hbpl-btn--main:hover { color: #1A1408 !important; filter: brightness(1.06); }
.hbpl-btn--main svg { width: 22px; height: 22px; }
.hbpl-i-play { margin-left: 2px; }
.hbpl-i-pause, .hbpl.is-playing .hbpl-i-play { display: none !important; }
.hbpl.is-playing .hbpl-i-pause { display: block !important; }

.hbpl.needs-tap .hbpl-now-label { color: var(--pl-gold-1); animation: hbpl-blink 1.6s ease-in-out infinite; }
@keyframes hbpl-blink { 50% { opacity: .55; } }

/* equalizer */
.hbpl-eq { display: inline-flex; align-items: flex-end; gap: 3px; width: 22px; height: 20px; flex-shrink: 0; }
.hbpl-eq i { display: block; width: 4px; height: 30%; border-radius: 2px; background: var(--pl-gold); transform-origin: bottom; }
.hbpl.is-playing .hbpl-eq i { animation: hbpl-eq .9s ease-in-out infinite; }
.hbpl.is-playing .hbpl-eq i:nth-child(2) { animation-delay: -.3s; }
.hbpl.is-playing .hbpl-eq i:nth-child(3) { animation-delay: -.6s; }
.hbpl-now > .hbpl-eq i { height: 100%; transform: scaleY(.3); }
@keyframes hbpl-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.hbpl-eq--sm { width: 16px; height: 14px; gap: 2px; }
.hbpl-eq--sm i { width: 3px; height: 100%; transform: scaleY(.35); }

/* list */
.hbpl-list-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.hbpl-list-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px 12px; font-family: Poppins, sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--pl-muted); border-bottom: 1px solid var(--pl-line); }
.hbpl-list { list-style: none; flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 8px !important; scrollbar-width: thin; scrollbar-color: var(--pl-line) transparent; }
.hbpl-list li { margin: 0; padding: 0; list-style: none; }
.hbpl-list li::marker { content: none; }
.hbpl-track {
	display: grid !important;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px !important;
	border-radius: 12px !important;
	text-align: left;
	color: var(--pl-soft) !important;
	background: transparent !important;
	transition: background .2s, color .2s;
}
.hbpl-track:hover { background: rgba(255, 255, 255, .04) !important; color: var(--pl-text) !important; }
.hbpl-num { display: grid; place-items: center; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--pl-muted); }
.hbpl-num > * { grid-area: 1 / 1; }
.hbpl-num .hbpl-eq { visibility: hidden; }
.hbpl-t { font-size: 15.5px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbpl-d { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--pl-muted); }
.hbpl-track[data-selected] { background: linear-gradient(90deg, rgba(214, 168, 78, .16), rgba(214, 168, 78, .04)) !important; color: var(--pl-text) !important; box-shadow: inset 2px 0 0 var(--pl-gold); }
.hbpl-track[data-selected] .hbpl-t { color: var(--pl-gold-1); }
.hbpl-track[aria-current] .hbpl-n { visibility: hidden; }
.hbpl-track[aria-current] .hbpl-eq { visibility: visible; }

.hbpl-credit { display: flex; align-items: center; gap: 8px; padding: 12px 22px 16px; font-size: 12.5px; color: var(--pl-muted); border-top: 1px solid var(--pl-line); }
.hbpl-credit svg { width: 18px; height: 18px; flex-shrink: 0; color: #8E94A3; }

/* desktop: the list column takes the player's height and scrolls */
@media (min-width: 900px) {
	.hbpl-list-col { contain: size; }
}

/* mobile: stacked */
@media (max-width: 899px) {
	.hbpl-shell { grid-template-columns: 1fr; border-radius: 20px; }
	.hbpl-stage-col { border-right: 0; border-bottom: 1px solid var(--pl-line); }
	.hbpl-list { flex: none; max-height: none; overflow: visible; }
	.hbpl-bar { padding: 14px 16px; }
	.hbpl-list-head, .hbpl-credit { padding-left: 16px; padding-right: 16px; }
	.hbpl-bigplay { width: 68px; height: 68px; }
	.hbpl-bigplay svg { width: 28px; height: 28px; }
	.hbpl-cover { height: 68% !important; margin-bottom: 16px; }
	.hbpl-poster-note { bottom: 7px; font-size: 11px; }
}
@media (max-width: 420px) {
	.hbpl-now > .hbpl-eq { display: none; }
	.hbpl-now-title { font-size: 16px; }
	.hbpl-btn { width: 40px; height: 40px; }
	.hbpl-btn--main { width: 50px; height: 50px; }
	.hbpl-ctrls { gap: 6px; }
	.hbpl-intro { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.hbpl *, .hbpl *::before, .hbpl *::after { animation: none !important; transition: none !important; }
	.hbpl.is-playing .hbpl-eq i { transform: scaleY(.7); }
}
