.alertBar {
	position: fixed;
	width: 100%;
	height: 38px;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--surface);
	border-top: 1px solid var(--border);
	box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
	z-index: 1000;
	letter-spacing: 0.4px;
	font-size: 1.1rem;
	font-weight: 600;
}

.alert-link {
	margin: 0;
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.alert-link:hover {
	color: var(--accent);
}
.now-playing {
	width: 100%;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	margin: 15px 0;
}

.now-playing iframe {
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
}

/* ---------- Domain change notice (fixed top header, built in overlay.js) ---------- */
.domainNotice {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	min-height: 38px;
	padding: calc(8px + env(safe-area-inset-top, 0px)) 44px 8px 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--surface);
	border-bottom: 3px solid var(--accent);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
	z-index: 1001;
}

.domain-notice-text {
	margin: 0;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: 1.35;
	text-align: center;
}

.domain-notice-link {
	color: var(--accent);
	font-weight: 700;
	text-decoration: underline;
	transition: opacity 0.2s ease;
}

.domain-notice-link:hover {
	opacity: 0.8;
}

.domain-notice-close {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.domain-notice-close:hover {
	background: color-mix(in srgb, var(--ink) 12%, transparent);
}

/* Push the page below the fixed banner and keep the sticky sidebar clear of it */
body.has-domain-notice {
	padding-top: var(--notice-h, 38px);
}

body.has-domain-notice .sidebar {
	top: calc(24px + var(--notice-h, 38px));
}
