.player {
	position: relative;
	width: 100%;
	background: #000;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.playerScreen {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.playerVideo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	display: block;
}
.playerVideo::-webkit-media-controls { display: none !important; }

.liveBadge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border-radius: 4px;
	background: rgba(8, 8, 10, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.liveDot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: livePulse 1.8s infinite; }

@keyframes livePulse {
	0% { box-shadow: 0 0 0 0 var(--red-glow); }
	70% { box-shadow: 0 0 0 9px rgba(212, 32, 47, 0); }
	100% { box-shadow: 0 0 0 0 rgba(212, 32, 47, 0); }
}

/* Now-playing overlay: hidden on the page (the info lives in the side panels), shown over the
   video only in fullscreen with a semi-transparent backdrop so it stays readable. */
.nowOverlay {
	display: none;
	position: absolute;
	left: 20px;
	bottom: calc(var(--barH, 64px) + 12px);
	z-index: 3;
	max-width: 460px;
	gap: 14px;
	align-items: center;
	padding: 14px 18px;
	background: rgba(10, 10, 12, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 3px solid var(--red);
	border-radius: 6px;
	backdrop-filter: blur(8px);
	transition: opacity 0.25s, transform 0.25s;
}
.player.isFullscreen .nowOverlay { display: flex; }
.player.isFullscreen .nowOverlay.isHidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ovArtWrap { flex: none; }
.ovArt { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; display: block; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.ovText { min-width: 0; }
.ovKicker { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.ovBand { font-size: 19px; font-weight: 700; color: var(--silver-1); line-height: 1.2; }
.ovSong { font-size: 14px; color: var(--fg); margin-top: 3px; }
.ovMeta { font-size: 12px; color: var(--fg-dim); margin-top: 6px; letter-spacing: 0.4px; }

.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	color: var(--fg-dim);
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.loader.isHidden { display: none; }

/* Big unmute prompt over the video (autoplay is muted). Shown only while muted and playing. */
.unmuteOverlay {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 3;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	border: none;
	cursor: pointer;
	color: #fff;
	font-family: inherit;
	background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.62));
}
.player.isMuted:not(.isLoading) .unmuteOverlay { display: flex; }
.unmuteCircle {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--red);
	box-shadow: 0 0 0 10px rgba(212, 32, 47, 0.18), 0 10px 34px rgba(0, 0, 0, 0.55);
	transition: transform 0.15s, box-shadow 0.15s;
}
.unmuteOverlay:hover .unmuteCircle { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(212, 32, 47, 0.22), 0 10px 34px rgba(0, 0, 0, 0.55); }
.unmuteCircle svg { width: 40px; height: 40px; fill: #fff; }
.unmuteLabel { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }

.controlBar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 26px 16px 13px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ctrl {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--fg-dim);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px;
	transition: color 0.15s;
}
.ctrl:hover { color: var(--fg); }
.ctrl svg { width: 20px; height: 20px; display: block; fill: currentColor; }
.ctrlIcon { padding: 6px 4px; }

.ctrlSpacer { flex: 1; }

/* Selectors must out-specify ".ctrl svg { display: block }", or the hidden icon of each
   pair leaks through and both show at once. */
.ctrl .iconPause { display: none; }
.player.isPlaying .ctrl .iconPlay { display: none; }
.player.isPlaying .ctrl .iconPause { display: block; }

.ctrl .iconMute { display: none; }
.player.isMuted .ctrl .iconVol { display: none; }
.player.isMuted .ctrl .iconMute { display: block; }

.volSlider {
	-webkit-appearance: none;
	appearance: none;
	width: 92px;
	height: 4px;
	border-radius: 3px;
	background: #3a3a42;
	cursor: pointer;
	outline: none;
}
.volSlider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 6px var(--red-glow);
	border: none;
}
.volSlider::-moz-range-thumb {
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--red);
	border: none;
}

.ctrlLive { color: var(--red); }
.ctrlLive .liveTinyDot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	animation: livePulse 1.8s infinite;
}

.ctrl.isActive { color: var(--fg); }

/* The overlay control only makes sense in fullscreen (on the page the info is in the panels). */
#overlayBtn { display: none; }
.player.isFullscreen #overlayBtn { display: inline-flex; }

/* Fill the screen cleanly in fullscreen (drop the framed-module look). */
.player.isFullscreen { border: none; border-radius: 0; box-shadow: none; }
.player.isFullscreen .playerScreen { height: 100%; aspect-ratio: auto; }

/* Idle auto-hide (set by player.js): slide the control bar away and hide the cursor. In fullscreen the
   now-playing overlay (and the corner ad, in site.css) are pinned just above the bar via --barH and slide
   down the same distance, so their bottom stays at the bar's top. */
.player.controlsHidden .controlBar { transform: translateY(100%); opacity: 0; pointer-events: none; }
.player.controlsHidden { cursor: none; }
.player.controlsHidden .nowOverlay { transform: translateY(var(--barH, 64px)); }

/* ---------- Watch layout: band | player | now playing ---------- */
.watchLayout {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr) 340px;
	grid-template-areas:
		"band player now"
		"band seo    now";
	gap: 20px;
	align-items: start;
}
/* The band + now panels span BOTH rows, so the SEO row's top pins to the player column's bottom (i.e.
   directly under the chat) rather than under whichever side panel is tallest. align-items:start keeps each
   panel at its content height at the top of its tall cell, so they never stretch to fill. */
/* The left column stacks the band box and the frequency box (each its own card). */
.bandColumn { grid-area: band; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* The right column stacks the now-playing box and the schedule box (each its own card). */
.nowColumn { grid-area: now; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.seoColumn { grid-area: seo; }

/* Center column = the player + a bar below it (a separate strip; holds the watcher count + future buttons). */
.playerColumn { grid-area: player; min-width: 0; }
.playerBar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	padding: 10px 14px;
	background: var(--bg-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.viewerBadge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg); }
.viewerBadge .viewerIcon { height: 18px; width: auto; display: block; flex: none; }
.viewerBadge #viewerCount { color: var(--red); margin-top: -2px; }

.sidePanel {
	background: var(--bg-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 18px 20px;
}

.panelKicker { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.panelKicker .eqIcon { width: 15px; height: 15px; fill: var(--red); }

.bandName { font-size: 23px; font-weight: 700; letter-spacing: 0.5px; color: var(--silver-1); line-height: 1.15; margin-bottom: 14px; }
.bandName a { color: inherit; text-decoration: none; }            /* link to the band profile, stays white */
.bandName a:hover { text-decoration: underline; }

.panelPhoto { position: relative; width: 100%; border-radius: 5px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--bg-elev-2); }
.panelPhoto img { width: 100%; height: 100%; display: block; }
/* Band card shows the logo/photo full width at natural height - no crop, no max-height. Album art sizes
   freely too (no square aspect-ratio, no object-fit crop). */
.bandPhoto img { height: auto; object-fit: contain; }
/* When the band card shows the logo (not the photo), sit it in a padded dark box; a photo stays full-bleed. */
.bandPhoto.isLogo { background: #0d0d0d; padding: 5px; }
.photoFallback { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, rgba(255, 255, 255, 0) 10px 20px), var(--bg-elev-2); }

.factList { margin-top: 16px; }
.factRow { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.factRow:last-child { border-bottom: none; }
.factKey { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fg-dim); }
.factVal { margin-left: auto; text-align: right; font-size: 13px; color: var(--fg); }
/* Genre family + tag chips in the band card use the exact /admin/Genres .gChip/.gTag style (in site.css),
   flowing right-aligned in the fact value. */
.factChipRow { line-height: 2; }
.factChipRow .gChip, .factChipRow .gTag { margin: 2px 0 2px 5px; }   /* flush to the right edge like the other fact values */

/* Follow + Profile (band card) and YouTube + Archives (album) are left-aligned rows of the standard
   content-width panelBtn - the same button as Save Track, never stretched. */
.panelActions, .panelLinks { display: flex; flex-wrap: wrap; gap: 10px; }
.panelActions { margin-top: 14px; }
.panelLinks { margin-top: 16px; }
.panelActions .panelBtn, .panelLinks .panelBtn { margin-top: 0; }
.panelLinks .panelBtn { padding-left: 10px; }   /* svg-icon buttons match the .btnIcon left padding */
.panelLinks .panelBtn svg { width: 16px; height: 16px; flex: none; }
.linkYt svg { fill: var(--red); }
.linkMa svg { fill: var(--silver-2); }

/* Follow band / save track buttons (member library). Filled red-tint when active. */
.panelBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	padding: 9px 15px;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fg);
	background: var(--bg-elev-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.panelBtn:hover { border-color: var(--red); color: #fff; }
.panelBtn.isActive { background: rgba(212, 32, 47, 0.16); border-color: var(--red); color: #fff; }
.panelBtn.isActive:hover { color: #fff; }
/* Buttons with a leading icon get less left padding so the icon optically aligns; text-only buttons keep even 15px. */
.panelBtn:has(.btnIcon) { padding-left: 10px; }
.panelBtn .btnIcon { height: 16px; width: auto; display: block; flex: none; }
.panelBtn .btnText { margin-top: -2px; }
/* Icon-only panel button (e.g. the band-page refresh/rescrape button): no text, equal padding both sides. */
.panelBtn.iconBtn { padding: 9px 10px; }
.panelBtn.iconBtn svg { width: 16px; height: 16px; display: block; flex: none; fill: currentColor; }

/* Country fact row: flag + name (kept right-aligned with the other facts). */
.countryVal { display: inline-flex; align-items: center; gap: 8px; }
.countryVal .flag { width: 22px; height: 16px; flex: none; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* ---------- Live chat (sits under the player bar) ---------- */
.chatPanel { margin-top: 16px; display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* Collapsed (default): show only the header bar, like the player bar under the video. */
.chatPanel.isCollapsed .chatLog, .chatPanel.isCollapsed .chatForm { display: none; }
.chatPanel.isCollapsed .chatHead { border-bottom: none; }
/* New-message attention pulse on the collapsed chat: a soft red glow + a one-pass shine sweep across the
   header. Subtle, and throttled to once a minute in chat.js. Only fires while collapsed (expanded/undocked
   already shows the message). */
@keyframes chatGlow {
	0%   { box-shadow: 0 0 0 0 rgba(236, 27, 39, 0); border-color: var(--line); }
	22%  { box-shadow: 0 0 16px 1px rgba(236, 27, 39, .5); border-color: var(--red); }
	100% { box-shadow: 0 0 0 0 rgba(236, 27, 39, 0); border-color: var(--line); }
}
@keyframes chatShine {
	0%   { transform: translateX(-130%); opacity: 0; }
	12%  { opacity: 1; }
	100% { transform: translateX(130%); opacity: 0; }
}
.chatPanel.isCollapsed.chatPulse { position: relative; animation: chatGlow 1.9s ease-out; }
.chatPanel.isCollapsed.chatPulse::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .10), transparent);
	transform: translateX(-130%); animation: chatShine 1.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
	.chatPanel.isCollapsed.chatPulse { animation: none; }
	.chatPanel.isCollapsed.chatPulse::after { display: none; }
}
/* Undocked: a free-floating window the viewer can drag by its header and resize. No backdrop, so the
   rest of the page stays usable. Always expanded; the collapse control is hidden while floating. */
.chatPanel.isUndocked { position: fixed; z-index: 210; margin: 0; width: 360px; height: 460px; min-width: 280px; min-height: 240px; max-width: 96vw; max-height: 92vh; resize: both; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); }
.chatPanel.isUndocked .chatLog { height: auto; flex: 1 1 auto; }
.chatPanel.isUndocked .chatCollapse { display: none; }
.chatHead { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.chatTitle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--silver-1); }
.chatStatus { font-size: 11px; color: var(--fg-mute); letter-spacing: 0.5px; }
.chatHeadRight { display: inline-flex; align-items: center; gap: 8px; }
.chatIcon { display: inline-flex; align-items: center; justify-content: center; padding: 4px; background: none; border: none; color: var(--fg-mute); cursor: pointer; border-radius: 4px; transition: color 0.15s, background 0.15s; }
.chatIcon:hover { color: var(--fg); background: var(--bg-elev-2); }
.chatIcon svg { width: 17px; height: 17px; display: block; }
/* Collapse chevron points down when collapsed (click to open), flips up when expanded (click to close). */
.chatCollapse svg { transition: transform 0.15s; }
.chatPanel:not(.isCollapsed) .chatCollapse svg { transform: rotate(180deg); }
.chatLog { height: 320px; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.chatMsg { display: flex; gap: 10px; align-items: flex-start; }
.chatAvatar { width: 25px; height: 25px; flex: none; margin-top: 1px; border-radius: 50%; object-fit: contain; background: var(--bg-elev-2); box-shadow: 0 0 0 1px var(--line-soft); }
.chatAvatar.isCover { object-fit: cover; }
.chatBubble { min-width: 0; }
.chatMeta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.chatName { font-size: 12.5px; font-weight: 700; color: var(--silver-2); }
.chatTime { font-size: 10.5px; color: var(--fg-mute); }
.chatBody { font-size: 13.5px; line-height: 1.4; color: var(--fg); overflow-wrap: anywhere; }
.chatBody a { color: var(--red-bright); text-decoration: underline; }
/* MetalTV bot: visually distinct (round logo badge, red name, muted italic line). */
.chatMsg.isBot .chatAvatar { background: #000; }
.chatMsg.isBot .chatName { color: var(--red-bright); }
.chatMsg.isBot .chatBody { color: var(--fg-dim); font-style: italic; }
.chatForm { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line-soft); }
.chatInput { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; font-size: 13px; color: var(--fg); background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius); }
.chatInput::placeholder { color: var(--fg-mute); }
.chatInput:focus { outline: none; border-color: var(--red); }
.chatSend { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; padding: 0; background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chatSend:hover { border-color: var(--red); background: rgba(212, 32, 47, 0.12); }
.chatSend img { height: 13px; width: auto; display: block; opacity: 0.35; transition: opacity 0.15s; }
.chatForm.hasText .chatSend img { opacity: 1; }

.nowField { margin-bottom: 16px; }
.fieldLabel { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.albumName { font-size: 19px; font-weight: 700; color: var(--silver-1); line-height: 1.2; }
.albumType { font-size: 12px; color: var(--fg-dim); margin-top: 2px; }
.songName { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--fg); }
.releaseDate { font-size: 16px; color: var(--fg); margin-top: 10px; }
.nowPanel .albumArt { margin-bottom: 14px; }

/* Promotion: a subtle PROMOTED tag under the song, plus the CTA button row (CTA left of Save Track). */
.promotedTag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.songActions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.songActions .panelBtn { margin-top: 0; }
.schedPromoted { display: inline-block; margin-left: 6px; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); vertical-align: middle; }

/* ---------- Schedule panel: upcoming + recently played, tabbed (real-time, animated) ---------- */
/* Tabs are left-aligned, content-width (never stretched to 100%); the active one underlines in red. */
.schedTabs { display: flex; gap: 2px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.schedTab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 10px; margin-bottom: -1px;
	background: none; border: none; border-bottom: 2px solid transparent;
	font: inherit; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--fg-dim); cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.schedTab svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.schedTab:hover { color: var(--fg); }
.schedTab.isActive { color: var(--silver-1); border-bottom-color: var(--red); }

.schedList { display: flex; flex-direction: column; gap: 10px; }
.schedItem {
	display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center;
	padding: 9px; background: var(--bg-elev-2); border: 1px solid var(--line-soft);
	border-radius: 6px; cursor: pointer; will-change: transform; opacity: 1;
	transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s, background 0.15s;
}
.schedItem:hover { border-color: var(--red); background: var(--bg-elev); }
.schedItem.isEnter { opacity: 0; transform: translateY(8px); }   /* newly added rows fade/slide in */
.schedArt { position: relative; width: 60px; height: 60px; flex: none; border-radius: 4px; overflow: hidden; background: var(--bg-elev); }
.schedArt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.schedBody { min-width: 0; }
.schedBand { font-size: 14px; font-weight: 700; color: var(--silver-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedSong { font-size: 12.5px; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.schedChips { margin-top: 4px; line-height: 1.9; }
/* Promoted row CTA button: sits under the song name, above the genres. Content-width, left aligned. */
.schedCta { margin: 6px 0 2px; font-size: 11px; padding: 6px 11px; }
.schedTime { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11px; letter-spacing: 0.5px; color: var(--fg-mute); }
.schedTime svg { width: 12px; height: 12px; fill: #fff; flex: none; }
.schedEmpty { font-size: 12.5px; color: var(--fg-mute); padding: 4px 2px; }

/* Animated equaliser next to the now-playing song. */
.eqBars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eqBars i { width: 3px; background: var(--red); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eqBars i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.eqBars i:nth-child(2) { height: 100%; animation-delay: -0.5s; }
.eqBars i:nth-child(3) { height: 60%; animation-delay: -0.1s; }
.eqBars i:nth-child(4) { height: 80%; animation-delay: -0.35s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ---------- Crawlable about + FAQ (under the player, middle column only, for SEO) ---------- */
.seoColumn { min-width: 0; }
.seoTitle { font-size: 24px; font-weight: 700; color: var(--silver-1); margin: 0 0 14px; letter-spacing: 0.3px; }
.seoIntro p { line-height: 1.7; font-size: 14px; color: var(--fg-dim); margin: 0 0 12px; }
.seoIntro a, .seoLink { color: var(--red-bright); text-decoration: none; }
.seoIntro a:hover, .seoLink:hover { text-decoration: underline; }
.seoLink { background: none; border: none; padding: 0; font: inherit; cursor: pointer; }

.faqSection { margin-top: 30px; }
.seoHeading { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--red); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.faqItem { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.faqItem:last-child { border-bottom: none; }
.faqQ { font-size: 15px; font-weight: 600; color: var(--silver-1); margin: 0 0 6px; }
.faqA { font-size: 14px; line-height: 1.65; color: var(--fg-dim); margin: 0; }

/* Tablet: player full width on top, the two side panels side by side beneath it, SEO full width last. */
@media (max-width: 1350px) {
	.watchLayout {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"player player"
			"band   now"
			"seo    seo";
		gap: 18px;
	}
}

/* Phone: a single column - player, then band, then now playing, then the SEO text last. */
@media (max-width: 991px) {
	.watchLayout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"player"
			"band"
			"now"
			"seo";
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.ctrlLabel { display: none; }
	.liveBadge { top: 8px; left: 8px; gap: 5px; padding: 3px 7px; font-size: 9px; letter-spacing: 1px; }
	.nowOverlay { left: 12px; right: 12px; max-width: none; }
	.volSlider { display: none; }                 /* the device handles volume; the mute toggle remains */
	.controlBar { gap: 6px; padding: 24px 10px 11px; }
	.seoTitle { font-size: 21px; }
}

/* ---- Frequency: the live room genre mix steering the channel, its own box under the band box (Phase 4) ---- */
.freqBars { display: flex; flex-direction: column; gap: 10px; }
.freqRow { display: grid; grid-template-columns: 92px 1fr 38px; align-items: center; gap: 10px; will-change: transform; }
.freqName { font-size: 12px; color: var(--silver-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freqTrack { height: 8px; background: var(--bg-elev-2); border-radius: 4px; overflow: hidden; }
.freqFill {
	display: block; height: 100%; width: 0;
	background: linear-gradient(90deg, #7d1019, var(--red-bright));
	border-radius: 4px; transition: width .6s cubic-bezier(.4, 0, .2, 1);
}
.freqRow.isMine .freqName { color: #fff; }
.freqRow.isMine .freqFill { box-shadow: 0 0 9px var(--red-glow); }
.freqPct { font-size: 11px; color: var(--fg-mute); text-align: right; font-variant-numeric: tabular-nums; }
.freqMeta { margin: 13px 0 0; font-size: 11px; color: var(--fg-mute); line-height: 1.45; }

/* "?" help link in the Active Genres kicker, pushed to the right edge of the row. */
.freqHelp {
	margin-left: auto; flex: none; width: 16px; height: 16px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: Verdana, sans-serif; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0;
	color: var(--fg-mute); background: var(--bg-elev-2); text-decoration: none;
	transition: color .15s, background .15s;
}
.freqHelp:hover { color: #fff; background: var(--red); }

/* Empty state: no genres active in the room, so explain it and offer a Genres button (same .freqBtn as the
   one under the video, but left-aligned here instead of pushed to the right of the kicker row). */
.freqEmpty p { margin: 0 0 14px; font-size: 12px; color: var(--silver-2); line-height: 1.5; }
.freqEmpty .freqBtn { margin-left: 0; }

/* Join nudge: a one-off attention pulse on the Genres button under the video (same look as the chat's
   new-message glow + shine), fired ~10s after join by freq.js when the viewer has no picks yet. */
.freqBtn.freqPulse { position: relative; overflow: hidden; animation: chatGlow 1.9s ease-out 3; }
.freqBtn.freqPulse::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .12), transparent);
	transform: translateX(-130%); animation: chatShine 1.4s ease-out;
}
@media (prefers-reduced-motion: reduce) {
	.freqBtn.freqPulse { animation: none; }
	.freqBtn.freqPulse::after { display: none; }
}
