/* ==========================================================================
   Shoutcast Widgets — front end
   Themes: studio (default), paper, night, record
   Layouts: card, bar, compact  (player only)
   ========================================================================== */

.scw {
	--scw-accent: #8b5cf6;
	--scw-bg: #151226;
	--scw-fg: #f5f3ff;
	--scw-muted: rgba(245, 243, 255, .62);
	--scw-line: rgba(255, 255, 255, .09);
	--scw-soft: rgba(255, 255, 255, .06);
	--scw-radius: 20px;
	--scw-art-radius: 14px;
	--scw-shadow: 0 24px 48px -24px rgba(12, 6, 40, .55);
	--scw-title-font: inherit;
	--scw-on-accent: #fff;

	position: relative;
	box-sizing: border-box;
	isolation: isolate;
	overflow: hidden;
	container: scw / inline-size;
	margin: 0 0 1.5em;
	padding: 18px;
	border: 1px solid var(--scw-line);
	border-radius: var(--scw-radius);
	background: var(--scw-bg);
	box-shadow: var(--scw-shadow);
	color: var(--scw-fg);
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

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

/* Neutralise theme button/list styles */
.scw button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-grid;
	place-items: center;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}
.scw button:focus-visible,
.scw input:focus-visible {
	outline: 2px solid var(--scw-accent);
	outline-offset: 3px;
}
.scw ol, .scw li { list-style: none; margin: 0; padding: 0; }
.scw h3 { margin: 0; }
.scw img { max-width: 100%; border: 0; box-shadow: none; }
.scw .scw-i { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------------------------------------------------------------------------
   Studio (default): the artwork bleeds into the card as a blurred backdrop
   --------------------------------------------------------------------------- */

.scw-backdrop {
	position: absolute;
	inset: -40px;
	z-index: -1;
	background-color: var(--scw-accent);
	background-size: cover;
	background-position: center;
	filter: blur(42px) saturate(1.4);
	opacity: .55;
	transform: scale(1.1);
	transition: background-image .8s ease;
	pointer-events: none;
}
.scw-theme-studio::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(21, 18, 38, .35), rgba(21, 18, 38, .88) 70%);
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Paper: light, quiet, fits most content areas
   --------------------------------------------------------------------------- */

.scw-theme-paper {
	--scw-bg: #ffffff;
	--scw-fg: #17171f;
	--scw-muted: #6a6a78;
	--scw-line: #e6e6ee;
	--scw-soft: #f4f4f8;
	--scw-shadow: 0 1px 2px rgba(23, 23, 31, .05), 0 12px 32px -18px rgba(23, 23, 31, .25);
}
.scw-theme-paper .scw-backdrop { display: none; }

/* ---------------------------------------------------------------------------
   Night: deep teal-black, accent glows
   --------------------------------------------------------------------------- */

.scw-theme-night {
	--scw-bg: #051519;
	--scw-fg: #e7fbff;
	--scw-muted: rgba(231, 251, 255, .58);
	--scw-line: color-mix(in srgb, var(--scw-accent) 35%, transparent);
	--scw-soft: rgba(255, 255, 255, .05);
	--scw-shadow: 0 0 0 1px color-mix(in srgb, var(--scw-accent) 18%, transparent), 0 0 40px -12px var(--scw-accent);
}
.scw-theme-night .scw-backdrop { opacity: .18; filter: blur(60px) saturate(2); }
.scw-theme-night .scw-title { text-shadow: 0 0 18px color-mix(in srgb, var(--scw-accent) 55%, transparent); }
.scw-theme-night .scw-play { box-shadow: 0 0 24px -2px var(--scw-accent); }
.scw-theme-night .scw-eq i { box-shadow: 0 0 8px var(--scw-accent); }

/* ---------------------------------------------------------------------------
   Record: walnut and brass, artwork becomes a spinning disc
   --------------------------------------------------------------------------- */

.scw-theme-record {
	--scw-bg: #2a1b14;
	--scw-fg: #f3e6d0;
	--scw-muted: rgba(243, 230, 208, .6);
	--scw-line: rgba(243, 230, 208, .12);
	--scw-soft: rgba(243, 230, 208, .06);
	--scw-title-font: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
	--scw-art-radius: 50%;
	background:
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 7px),
		linear-gradient(160deg, #3a261b, #22160f);
}
.scw-theme-record .scw-backdrop { display: none; }
.scw-theme-record .scw-art {
	display: grid;
	padding: 22%;
	background:
		radial-gradient(circle, #111 0 9%, transparent 9.5%),
		repeating-radial-gradient(circle, #151515 0 1px, #1f1f1f 1px 3px);
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.scw-theme-record .scw-art img,
.scw-theme-record .scw-art .scw-art-ph {
	grid-area: 1 / 1;
	position: relative;
	inset: auto;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}
.scw-theme-record .scw-art::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 6%; height: 6%;
	margin: -3% 0 0 -3%;
	border-radius: 50%;
	background: #2a1b14;
}
.scw-theme-record.is-playing .scw-art { animation: scw-spin 3.2s linear infinite; }
.scw-theme-record .scw-title { font-style: italic; letter-spacing: 0; }

/* ---------------------------------------------------------------------------
   Recently Played: styles (same markup, so live updates keep working)
   --------------------------------------------------------------------------- */

/* Cover grid */
.scw-hstyle-grid .scw-history-list { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px 14px; }
.scw-hstyle-grid .scw-hi { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 !important; padding: 0; background: none; }
.scw-hstyle-grid .scw-hi.is-current { background: none; }
.scw-hstyle-grid .scw-hi-art { width: 100%; border-radius: min(var(--scw-art-radius), 10px); }
.scw-hstyle-grid .scw-hi.is-current .scw-hi-art { box-shadow: 0 0 0 3px var(--scw-accent); }
.scw-hstyle-grid .scw-hi-time { margin-top: -4px; }

/* Cover strip: a sideways-scrolling row */
.scw-hstyle-strip .scw-history-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.scw-hstyle-strip .scw-hi { flex: 0 0 clamp(120px, 28cqi, 160px); display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 !important; padding: 0; background: none; scroll-snap-align: start; }
.scw-hstyle-strip .scw-hi.is-current { background: none; }
.scw-hstyle-strip .scw-hi-art { width: 100%; border-radius: min(var(--scw-art-radius), 10px); }
.scw-hstyle-strip .scw-hi.is-current .scw-hi-art { box-shadow: 0 0 0 3px var(--scw-accent); }
.scw-hstyle-strip .scw-hi-time { margin-top: -4px; }

/* Timeline: times down the left, joined by a line */
.scw-hstyle-timeline .scw-history-list { gap: 0; }
.scw-hstyle-timeline .scw-hi { grid-template-columns: 64px auto minmax(0, 1fr); margin: 0 !important; padding: 10px 0; background: none; border-radius: 0; position: relative; }
.scw-hstyle-timeline .scw-hi.is-current { background: none; }
.scw-hstyle-timeline .scw-hi-time { order: -1; grid-column: 1; text-align: right; font-size: 13px; font-weight: 700; color: var(--scw-fg); padding-right: 14px; }
.scw-hstyle-timeline .scw-hi-art { grid-column: 2; width: 44px; }
.scw-hstyle-timeline .scw-hi-text { grid-column: 3; }
.scw-hstyle-timeline .scw-hi::before { content: ""; position: absolute; left: 64px; top: 0; bottom: 0; width: 2px; background: var(--scw-line); }
.scw-hstyle-timeline .scw-hi::after { content: ""; position: absolute; left: 60px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--scw-bg, #fff); box-shadow: inset 0 0 0 2px var(--scw-muted); }
.scw-hstyle-timeline .scw-hi.is-current::after { background: var(--scw-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--scw-accent) 25%, transparent); }
.scw-hstyle-timeline .scw-hi-art, .scw-hstyle-timeline .scw-hi-text { margin-left: 10px; }
.scw-hstyle-timeline[data-scw-art="0"] .scw-hi { grid-template-columns: 64px minmax(0, 1fr); }
.scw-hstyle-timeline[data-scw-art="0"] .scw-hi-text { grid-column: 2; }

/* Numbered: text only, with a count */
.scw-hstyle-numbered .scw-history-list { counter-reset: scw-h; gap: 0; }
.scw-hstyle-numbered .scw-hi { counter-increment: scw-h; grid-template-columns: 34px minmax(0, 1fr) auto; margin: 0 !important; padding: 10px 0; border-bottom: 1px solid var(--scw-line); border-radius: 0; background: none; }
.scw-hstyle-numbered .scw-hi:last-child { border-bottom: 0; }
.scw-hstyle-numbered .scw-hi::before { content: counter(scw-h); color: var(--scw-accent); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.scw-hstyle-numbered .scw-hi-art { display: none; }
.scw-hstyle-numbered .scw-hi.is-current .scw-hi-title { color: var(--scw-accent); }

/* ---------------------------------------------------------------------------
   Played History Page: styles (same markup, so live updates keep working)
   --------------------------------------------------------------------------- */

/* Clean list: cover, song and artist, time on the right */
.scw-plstyle-list .scw-pl-row { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "art text time"; align-items: center; gap: 14px; }
.scw-plstyle-list[data-scw-art="0"] .scw-pl-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "text time"; }
.scw-plstyle-list .scw-pl-art { grid-area: art; width: 56px; height: 56px; border-radius: 8px; }
.scw-plstyle-list .scw-pl-text { grid-area: text; }
.scw-plstyle-list .scw-pl-time { grid-area: time; display: flex; gap: 3px; height: auto; background: none; color: var(--scw-pl-muted, #6b6478); font-size: 14px; font-weight: 600; }
.scw-plstyle-list .scw-pl-song { order: -1; font-size: 17px; font-weight: 700; }
.scw-plstyle-list .scw-pl-artist { font-size: 14px; font-weight: 500; opacity: .75; }

/* Cover cards: a grid, time on the cover */
.scw-plstyle-cards .scw-pl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 18px; }
.scw-plstyle-cards .scw-pl-row { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 !important; border: 0; }
.scw-plstyle-cards .scw-pl-art { order: -1; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
.scw-plstyle-cards .scw-pl-art.is-empty .scw-i { width: 34%; height: 34%; }
.scw-plstyle-cards .scw-pl-time { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; gap: 3px; height: auto; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
.scw-plstyle-cards[data-scw-art="0"] .scw-pl-time { position: static; align-self: flex-start; }
.scw-plstyle-cards .scw-pl-song { order: -1; font-size: 16px; font-weight: 700; }
.scw-plstyle-cards .scw-pl-artist { font-size: 14px; font-weight: 500; opacity: .75; }
.scw-plstyle-cards .scw-pl-empty { grid-column: 1 / -1; }

/* Timeline: times down the side, joined by a line */
.scw-plstyle-timeline .scw-pl-row { position: relative; grid-template-columns: 78px 50px minmax(0, 1fr); align-items: center; gap: 16px; border-bottom: 0; }
.scw-plstyle-timeline[data-scw-art="0"] .scw-pl-row { grid-template-columns: 78px minmax(0, 1fr); }
.scw-plstyle-timeline .scw-pl-time { display: flex; justify-content: flex-end; align-items: baseline; gap: 3px; height: auto; padding-right: 18px; background: none; color: inherit; font-size: 15px; }
.scw-plstyle-timeline .scw-pl-time span { font-size: 12px; opacity: .7; }
.scw-plstyle-timeline .scw-pl-row::before { content: ""; position: absolute; left: 78px; top: 0; bottom: 0; width: 2px; background: var(--scw-pl-line, rgba(127, 127, 127, .25)); }
.scw-plstyle-timeline .scw-pl-row::after { content: ""; position: absolute; left: 73px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--scw-accent); box-shadow: 0 0 0 3px var(--scw-pl-bg, #fff); }
.scw-plstyle-timeline .scw-pl-art { border-radius: 8px; }
.scw-plstyle-timeline .scw-pl-song { order: -1; font-size: 17px; }
.scw-plstyle-timeline .scw-pl-artist { font-size: 14px; font-weight: 500; opacity: .75; }

/* Compact: one line per song, no covers */
.scw-plstyle-compact .scw-pl-row { grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 7px 0 !important; }
.scw-plstyle-compact .scw-pl-art { display: none; }
.scw-plstyle-compact .scw-pl-time { display: flex; gap: 3px; height: auto; background: none; color: var(--scw-accent); font-size: 14px; }
.scw-plstyle-compact .scw-pl-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.scw-plstyle-compact .scw-pl-artist { font-size: 15px; }
.scw-plstyle-compact .scw-pl-artist::after { content: " \2013"; font-weight: 400; opacity: .6; }
.scw-plstyle-compact .scw-pl-song { font-size: 15px; font-weight: 500; }
.scw-plstyle-compact .scw-pl-buy { margin: 0; }

@container scw (max-width: 480px) {
	.scw-plstyle-timeline .scw-pl-row { grid-template-columns: 62px 44px minmax(0, 1fr); gap: 12px; }
	.scw-plstyle-timeline .scw-pl-row::before { left: 62px; }
	.scw-plstyle-timeline .scw-pl-row::after { left: 57px; }
	.scw-plstyle-timeline .scw-pl-art { width: 44px; height: 44px; }
	.scw-plstyle-cards .scw-pl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}

/* ---------------------------------------------------------------------------
   Station Hero: more layouts (split, poster, vinyl, studio, minimal)
   --------------------------------------------------------------------------- */

/* Layouts that bring their own background: no blurred art, rings or tint */
:is(.scw-hero-split, .scw-hero-vinyl, .scw-hero-studio, .scw-hero-minimal) .scw-hero .scw-backdrop,
.scw-station:is(.scw-hero-split, .scw-hero-vinyl, .scw-hero-studio, .scw-hero-minimal, .scw-hero-poster) .scw-hero::before,
.scw-station:is(.scw-hero-split, .scw-hero-vinyl, .scw-hero-studio, .scw-hero-minimal) .scw-hero::after { display: none; }

/* Split: cover on one half, song on a colour panel */
.scw-station.scw-hero-split .scw-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 0; max-width: none; padding: 0; }
.scw-station.scw-hero-split .scw-now-card { aspect-ratio: auto; min-height: 460px; height: 100%; max-width: none; border-radius: 0; box-shadow: none; }
.scw-hero-split .scw-now-card .scw-art { height: 100%; aspect-ratio: auto; }
.scw-hero-split .scw-now-card .scw-art img { height: 100%; object-fit: cover; }
.scw-hero-split .scw-hero-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 6cqi, 72px); background: linear-gradient(160deg, var(--scw-c1, #5b21b6), var(--scw-c2, #e11d74)); }
@container scw (max-width: 700px) {
	.scw-station.scw-hero-split .scw-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.scw-station.scw-hero-split .scw-now-card { min-height: 0; aspect-ratio: 1; }
}

/* Poster: the cover fills the banner, big type over it */
.scw-station.scw-hero-poster .scw-hero .scw-backdrop { display: block; inset: 0; z-index: -2; filter: none; opacity: 1; transform: none; }
.scw.scw-station.scw-hero-poster .scw-hero::after { content: ""; display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 4, 16, .94) 0%, rgba(8, 4, 16, .45) 50%, rgba(8, 4, 16, .15) 100%); pointer-events: none; }
.scw-hero-poster .scw-now-card { display: none; }
.scw-station.scw-hero-poster .scw-hero-inner { grid-template-columns: minmax(0, 1fr); align-items: end; min-height: 560px; max-width: 1100px; }
.scw.scw-hero-poster .scw-song-big { font-size: clamp(44px, 10cqi, 104px); line-height: .95; }
.scw.scw-hero-poster .scw-song-artist { font-size: clamp(20px, 3.4cqi, 30px); }
.scw-hero-poster .scw-show-line { max-width: 520px; }

/* Vinyl: the cover becomes the label of a spinning record */
.scw-station.scw-hero-vinyl .scw-hero { background: radial-gradient(circle at 28% 50%, #2b2335 0%, #120d18 65%); }
.scw-station.scw-hero-vinyl .scw-hero-inner { grid-template-columns: minmax(240px, 440px) minmax(0, 1fr); }
.scw-hero-vinyl .scw-now-card {
	padding: 18%;
	border-radius: 50%;
	overflow: visible;
	background:
		radial-gradient(circle, transparent 0 31%, rgba(255, 255, 255, .05) 31.5% 32%, transparent 32.5%),
		repeating-radial-gradient(circle, #121212 0 1px, #1e1e1e 1px 3px);
	box-shadow: 0 34px 70px -24px #000, inset 0 0 0 3px rgba(255, 255, 255, .05);
}
.scw-hero-vinyl .scw-now-card .scw-art { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #0e0e0e; }
.scw-hero-vinyl .scw-now-card::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.5%; aspect-ratio: 1; border-radius: 50%; background: #0c0a10; transform: translate(-50%, -50%); }
.scw-hero-vinyl .scw-apple { display: none; }
.scw-hero-vinyl.is-playing .scw-now-card { animation: scw-vinyl 3.6s linear infinite; }
@keyframes scw-vinyl { to { transform: rotate(360deg); } }
.scw-hero-vinyl .scw-play { background: var(--scw-c2, #e11d74); color: #fff; }

/* Minimal: light, typographic, no gradient */
.scw-station.scw-hero-minimal .scw-hero { --scw-fg: #16121c; --scw-muted: #5b5566; background: #faf8f5; color: #16121c; }
.scw-station.scw-hero-minimal .scw-hero-inner { grid-template-columns: minmax(160px, 280px) minmax(0, 1fr); }
.scw-hero-minimal .scw-now-card { border-radius: 8px; box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .45); }
.scw.scw-hero-minimal .scw-song-big { color: #16121c; font-weight: 800; }
.scw-hero-minimal .scw-song-artist, .scw-hero-minimal .scw-onair-label, .scw-hero-minimal .scw-show-time { color: #5b5566; opacity: 1; }
.scw-hero-minimal .scw-show-name, .scw-hero-minimal .scw-hero-wordmark { color: #16121c; }
.scw-hero-minimal .scw-play { background: #16121c; color: #fff; box-shadow: none; }
.scw-hero-minimal .scw-spin { border-top-color: #16121c; }
.scw-hero-minimal .scw-eq i { background: #16121c; }
.scw.scw-hero-minimal .scw-live { background: #fee2e2; color: #b91c1c; }
.scw.scw-hero-minimal .scw-live i { background: #dc2626; color: #dc2626; }
.scw-hero-minimal .scw-mute { color: #16121c; }
.scw-hero-minimal .scw-vol { accent-color: #16121c; }
.scw-hero-minimal .scw-show-line { border-top-color: rgba(0, 0, 0, .12); }
.scw-hero-minimal .scw-host-img { box-shadow: 0 0 0 2px rgba(0, 0, 0, .1); }
.scw-hero-minimal .scw-error { background: #fee2e2; color: #991b1b; }

/* Studio: broadcast console with an ON AIR sign, clock and level meters */
.scw-station.scw-hero-studio .scw-hero { background: linear-gradient(180deg, #17171d, #0b0b0f); }
.scw-station.scw-hero-studio .scw-hero-inner { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); align-items: stretch; gap: 20px; max-width: 1100px; }
.scw-studio-left, .scw-studio-desk { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 16px; background: #1b1b22; border: 1px solid rgba(255, 255, 255, .06); }
.scw-studio-desk { justify-content: center; padding: 26px 30px; }
.scw-studio-sign { display: grid; place-items: center; padding: 14px; border-radius: 10px; border: 2px solid #4a1520; background: #2a0d12; color: #6b2a36; font-size: clamp(22px, 3.4cqi, 30px); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; transition: background .4s ease, color .4s ease, box-shadow .4s ease; }
.scw-hero-studio:not(.is-offline) .scw-studio-sign { border-color: #ff5a6e; background: #d7132c; color: #fff; box-shadow: 0 0 34px rgba(255, 40, 70, .5), inset 0 0 18px rgba(255, 255, 255, .22); text-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.scw-studio-clock { color: #ffb347; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: clamp(34px, 5cqi, 46px); font-weight: 700; letter-spacing: .04em; text-shadow: 0 0 14px rgba(255, 160, 40, .4); }
.scw-hero-studio .scw-hero-logo { margin: 0; }
.scw-hero-studio .scw-hero-logo img { width: auto; height: 48px; max-width: 200px; object-fit: contain; }
.scw-hero-studio .scw-show-line { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.scw-studio-now { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; }
.scw-studio-now .scw-now-card { box-shadow: none; border-radius: 10px; }
.scw-studio-song { min-width: 0; }
.scw-studio-song .scw-hero-top { margin-bottom: 8px; }
.scw.scw-hero-studio .scw-song-big { margin: 4px 0; font-size: clamp(28px, 5cqi, 48px); }
.scw.scw-hero-studio .scw-song-artist { margin: 0; font-size: 18px; }
.scw-studio-meters { display: grid; gap: 6px; }
.scw-studio-meters span { display: flex; gap: 4px; height: 12px; }
.scw-studio-meters i { --on: #22c55e; flex: 1; border-radius: 2px; background: #2b2b33; }
.scw-studio-meters i:nth-child(n+13) { --on: #f59e0b; }
.scw-studio-meters i:nth-child(n+17) { --on: #ef4444; }
.scw-hero-studio.is-playing .scw-studio-meters i { animation: scw-meter 1.1s ease-in-out infinite; }
.scw-hero-studio.is-playing .scw-studio-meters i:nth-child(3n) { animation-duration: .8s; }
.scw-hero-studio.is-playing .scw-studio-meters i:nth-child(n+13) { animation-duration: 1.6s; animation-delay: -.4s; }
.scw-hero-studio.is-playing .scw-studio-meters i:nth-child(n+17) { animation-duration: 2.3s; animation-delay: -1.1s; }
.scw-hero-studio.is-playing .scw-studio-meters span + span i { animation-delay: -.35s; }
@keyframes scw-meter { 0%, 100% { background: #2b2b33; } 40%, 60% { background: var(--on); } }
.scw-hero-studio .scw-play { background: var(--scw-c2, #e11d74); color: #fff; }
.scw-hero-studio .scw-song-controls .scw-hero-tools { margin: 0; }
@container scw (max-width: 700px) {
	.scw-station.scw-hero-studio .scw-hero-inner, .scw-station.scw-hero-vinyl .scw-hero-inner, .scw-station.scw-hero-minimal .scw-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.scw-studio-now { grid-template-columns: 84px minmax(0, 1fr); }
	.scw-hero-vinyl .scw-now-card { max-width: 300px; }
}

/* ---------------------------------------------------------------------------
   Radio Player: more layouts (mini, tile, glass, ticker)
   Same markup as card/bar/compact; only the arrangement changes.
   --------------------------------------------------------------------------- */

/* Mini: a slim pill for headers and menus */
.scw.scw-layout-mini { display: inline-block; width: 100%; max-width: 300px; padding: 5px 14px 5px 5px; border-radius: 999px; }
.scw-layout-mini .scw-main { display: flex; align-items: center; gap: 10px; }
.scw-layout-mini .scw-art, .scw-layout-mini .scw-top, .scw-layout-mini .scw-artist,
.scw-layout-mini .scw-volume, .scw-layout-mini .scw-stats, .scw-layout-mini .scw-error { display: none; }
.scw-layout-mini .scw-body { display: flex; align-items: center; gap: 10px; width: 100%; }
.scw-layout-mini .scw-controls { display: contents; }
.scw.scw-layout-mini .scw-play { order: -1; width: 34px; height: 34px; font-size: 14px; }
.scw-layout-mini .scw-title-wrap { flex: 1; min-width: 0; }
.scw-layout-mini .scw-title { font-size: 14px; }
.scw-layout-mini .scw-eq { height: 14px; }

/* Tile: square, the cover fills it, play in the middle */
.scw.scw-layout-tile { aspect-ratio: 1; width: 100%; max-width: 360px; padding: 0; overflow: hidden; }
.scw-layout-tile .scw-backdrop { inset: 0; z-index: 0; filter: none; opacity: 1; transform: none; }
.scw.scw-layout-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 35%, transparent 45%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.scw-layout-tile .scw-main { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; }
.scw-layout-tile .scw-art, .scw-layout-tile .scw-volume, .scw-layout-tile .scw-stats { display: none; }
.scw-layout-tile .scw-top { position: absolute; top: 14px; left: 16px; right: 16px; }
.scw-layout-tile .scw-station-name { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.scw-layout-tile .scw-controls { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
.scw.scw-layout-tile .scw-play { width: 72px; height: 72px; font-size: 28px; background: rgba(255, 255, 255, .92); color: var(--scw-accent); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); }
.scw-layout-tile .scw-eq { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); height: 16px; }
.scw-layout-tile .scw-eq i { background: #fff; }
.scw-layout-tile .scw-title { color: #fff; font-size: 22px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.scw-layout-tile .scw-artist { color: rgba(255, 255, 255, .88); }

/* Glass: a frosted panel over a blurred copy of the cover */
.scw.scw-layout-glass { padding: 22px; overflow: hidden; color: #fff; }
.scw-layout-glass .scw-backdrop { inset: -40px; z-index: 0; filter: blur(28px) saturate(1.5); opacity: 1; }
.scw.scw-layout-glass::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(12, 8, 22, .28); pointer-events: none; }
.scw-layout-glass .scw-main { position: relative; z-index: 1; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.scw-layout-glass .scw-art { width: clamp(84px, 26cqi, 120px); }
.scw-layout-glass .scw-title, .scw-layout-glass .scw-station-name { color: #fff; }
.scw-layout-glass .scw-artist, .scw-layout-glass .scw-stats { color: rgba(255, 255, 255, .85); }
.scw.scw-layout-glass .scw-play { background: #fff; color: var(--scw-accent); }
.scw-layout-glass .scw-eq i { background: #fff; }
.scw-layout-glass .scw-vol { accent-color: #fff; }

/* Ticker: one line, the song scrolls when it doesn't fit */
.scw.scw-layout-ticker { padding: 6px 12px 6px 6px; border-radius: 12px; }
.scw-layout-ticker .scw-main { display: flex; align-items: center; gap: 10px; }
.scw-layout-ticker .scw-art { width: 38px; border-radius: 8px; }
.scw-layout-ticker .scw-body { display: flex; align-items: center; gap: 10px; width: 100%; }
.scw-layout-ticker .scw-top { margin: 0; flex: none; }
.scw-layout-ticker .scw-station-name, .scw-layout-ticker .scw-stats, .scw-layout-ticker .scw-error, .scw-layout-ticker .scw-eq { display: none; }
.scw-layout-ticker .scw-title-wrap { flex: 1 1 auto; min-width: 0; }
.scw-layout-ticker .scw-title { font-size: 15px; }
.scw-layout-ticker .scw-artist { flex: 0 1 auto; min-width: 0; max-width: 35%; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.scw-layout-ticker .scw-artist:not(:empty)::before { content: "\2013\00a0"; }
.scw-layout-ticker .scw-controls { order: 3; flex: none; margin: 0; gap: 8px; }
.scw.scw-layout-ticker .scw-play { width: 38px; height: 38px; font-size: 15px; }
.scw-layout-ticker .scw-volume { width: 90px; }
@container scw (max-width: 480px) {
	.scw-layout-ticker .scw-volume, .scw-layout-ticker .scw-top, .scw-layout-ticker .scw-artist { display: none; }
}

/* ---------------------------------------------------------------------------
   Plain: sits on the page like normal content (site font, text colour,
   no box). History rows follow the OnCue theme's sidebar look.
   --------------------------------------------------------------------------- */

.scw-theme-site {
	--scw-accent: var(--oc-primary, #b5316a);
	--scw-bg: transparent;
	--scw-fg: currentColor;
	--scw-muted: color-mix(in srgb, currentColor 62%, transparent);
	--scw-line: rgba(127, 127, 127, .22);
	--scw-soft: rgba(127, 127, 127, .08);
	--scw-shadow: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: inherit;
}
.scw-theme-site .scw-backdrop { display: none; }
.scw-theme-site.scw-player,
.scw-theme-site.scw-nowplaying { padding: 16px; border: 1px solid var(--scw-line); border-radius: 12px; }
.scw-theme-site .scw-live { color: #dc2626; background: rgba(220, 38, 38, .1); }
.scw-theme-site .scw-history-list { gap: 0; }
.scw-theme-site .scw-hi {
	grid-template-columns: 105px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	align-items: start;
	gap: 2px 10px;
	margin: 0 0 18px !important;
	padding: 0;
	border-radius: 0;
}
.scw-theme-site .scw-hi.is-current { background: none; }
.scw-theme-site .scw-hi-art { grid-row: 1 / 3; width: 105px; border-radius: 0; }
.scw-theme-site .scw-hi-time { grid-column: 2; grid-row: 1; font-size: 14px; font-style: italic; }
.scw-theme-site .scw-hi-text { grid-column: 2; grid-row: 2; align-self: start; }
.scw-theme-site .scw-hi-title { font-size: 17px; font-weight: 400; white-space: normal; }
.scw-theme-site .scw-hi-artist { white-space: normal; }
.scw-theme-site .scw-hi.is-current .scw-hi-time { color: var(--scw-accent); font-style: normal; font-weight: 700; }
.scw-theme-site[data-scw-art="0"] .scw-hi { grid-template-columns: minmax(0, 1fr); }
.scw-theme-site[data-scw-art="0"] .scw-hi-time,
.scw-theme-site[data-scw-art="0"] .scw-hi-text { grid-column: 1; }

/* ---------------------------------------------------------------------------
   Shared pieces
   --------------------------------------------------------------------------- */

.scw-main { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.scw-no-art .scw-main { grid-template-columns: 1fr; }
.scw-body { min-width: 0; }

.scw-art,
.scw-hi-art {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--scw-art-radius);
	background: color-mix(in srgb, var(--scw-accent) 30%, var(--scw-bg));
}
.scw-art { width: clamp(96px, 30cqi, 148px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); }
.scw-art img,
.scw-hi-art img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .5s ease;
}
.scw-art.has-img img,
.scw-hi-art.has-img img { opacity: 1; }
.scw-art-ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 34%;
	color: color-mix(in srgb, var(--scw-fg) 55%, transparent);
	background: linear-gradient(135deg, color-mix(in srgb, var(--scw-accent) 55%, var(--scw-bg)), var(--scw-bg));
}
.scw-art-ph .scw-i { width: 38%; height: 38%; }

.scw-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-width: 0; }
.scw-station-name {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 13px;
	color: var(--scw-muted);
}

.scw-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	padding: 3px 9px 3px 8px;
	border-radius: 99px;
	background: rgba(239, 68, 68, .14);
	color: #f87171;
	font-size: 12px;
	font-weight: 600;
}
.scw-theme-paper .scw-live { color: #dc2626; background: #fee2e2; }
.scw-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: scw-pulse 2s ease-out infinite; }
.scw-live-off { display: none; }
.scw.is-offline .scw-live { color: var(--scw-muted); background: var(--scw-soft); }
.scw.is-offline .scw-live i { animation: none; }
.scw.is-offline .scw-live-on { display: none; }
.scw.is-offline .scw-live-off { display: inline; }

.scw-title-wrap { overflow: hidden; white-space: nowrap; }
.scw-title {
	display: inline-block;
	font-family: var(--scw-title-font);
	font-size: clamp(18px, 6cqi, 24px);
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.2;
}
.scw-title-wrap.scw-marquee {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent);
}
.scw-title-wrap.scw-marquee .scw-title { padding-left: 12px; animation: scw-marquee var(--scw-dur, 8s) ease-in-out infinite alternate; }

.scw-artist {
	overflow: hidden;
	margin-top: 2px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--scw-muted);
	font-size: 15px;
}
.scw-changed { animation: scw-in .5s ease both; }

/* Controls */
.scw-controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }

.scw .scw-play {
	position: relative;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--scw-accent);
	color: var(--scw-on-accent);
	font-size: 22px;
	transition: transform .15s ease, filter .15s ease;
}
.scw .scw-play:hover { filter: brightness(1.1); }
.scw .scw-play:active { transform: scale(.94); }
.scw-play .scw-i { grid-area: 1 / 1; }
.scw-play .scw-i-play { margin-left: 3px; }
.scw-play .scw-i-stop,
.scw.is-playing .scw-play .scw-i-play,
.scw.is-loading .scw-play .scw-i-play { display: none; }
.scw.is-playing .scw-play .scw-i-stop,
.scw.is-loading .scw-play .scw-i-stop { display: block; }
.scw-spin {
	position: absolute;
	inset: -4px;
	border: 2px solid transparent;
	border-top-color: var(--scw-accent);
	border-radius: 50%;
	opacity: 0;
}
.scw.is-loading .scw-spin { opacity: 1; animation: scw-spin .8s linear infinite; }
.scw.is-error .scw-play { animation: scw-shake .4s ease; }

.scw-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; }
.scw-eq i {
	width: 4px;
	height: 20%;
	border-radius: 2px;
	background: var(--scw-accent);
	opacity: .45;
	transition: height .3s ease, opacity .3s ease;
}
.scw.is-playing .scw-eq i { opacity: 1; animation: scw-eq 1s ease-in-out infinite alternate; }
.scw.is-playing .scw-eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; }
.scw.is-playing .scw-eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.5s; }
.scw.is-playing .scw-eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.1s; }
.scw.is-playing .scw-eq i:nth-child(5) { animation-duration: 1.05s; animation-delay: -.35s; }

.scw-volume { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; max-width: 170px; margin-left: auto; }
.scw .scw-mute { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; color: var(--scw-muted); }
.scw .scw-mute:hover { color: var(--scw-fg); background: var(--scw-soft); }
.scw-i-vol .scw-i-x { display: none; }
.scw.is-muted .scw-i-vol .scw-i-x { display: block; }
.scw.is-muted .scw-i-vol .scw-i-wave { display: none; }

.scw .scw-vol {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	min-width: 50px;
	height: 4px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--scw-fg) var(--scw-vol, 80%), color-mix(in srgb, var(--scw-fg) 20%, transparent) var(--scw-vol, 80%));
	cursor: pointer;
}
.scw .scw-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--scw-fg); border: 0; }
.scw .scw-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--scw-fg); border: 0; }

.scw-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; color: var(--scw-muted); font-size: 13px; }
.scw-stat { display: inline-flex; align-items: center; gap: 6px; }
.scw-stat .scw-i { font-size: 15px; }
.scw-quality:empty,
.scw-stat[hidden] { display: none; }

.scw-error { margin: 8px 0 0; color: #f87171; font-size: 13px; }
.scw-error:empty { display: none; }
.scw-theme-paper .scw-error { color: #dc2626; }

/* ---------------------------------------------------------------------------
   History list (widget + under the card player)
   --------------------------------------------------------------------------- */

.scw-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.scw .scw-history-title { font-family: var(--scw-title-font); font-size: 17px; font-weight: 700; color: var(--scw-fg); letter-spacing: -.01em; }

.scw-history-list { display: grid; gap: 2px; }
.scw-history-mini { margin-top: 16px !important; padding-top: 12px !important; border-top: 1px solid var(--scw-line); }

.scw-hi {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px;
	margin: 0 -8px !important;
	border-radius: 10px;
}
.scw-hi.is-current { background: var(--scw-soft); }
.scw-hi.scw-new { animation: scw-in .6s ease both; }
.scw-hi-art { width: 40px; border-radius: min(var(--scw-art-radius), 8px); }
.scw-theme-record .scw-hi-art { border-radius: 50%; }
.scw-hi-art .scw-art-ph .scw-i { width: 45%; height: 45%; }
.scw-hi-text { min-width: 0; display: grid; }
.scw-hi-title,
.scw-hi-artist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scw-hi-title { font-weight: 600; font-size: 14px; }
.scw-hi-artist { color: var(--scw-muted); font-size: 13px; }
.scw-hi-time { color: var(--scw-muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.scw-hi.is-current .scw-hi-time { color: var(--scw-accent); font-weight: 700; }
.scw-hi-empty { display: block; padding: 10px 0; color: var(--scw-muted); font-size: 14px; }
.scw-history:not([data-scw-art="1"]) .scw-hi,
.scw-player[data-scw-art="0"] .scw-hi { grid-template-columns: 1fr auto; }

/* ---------------------------------------------------------------------------
   Now playing widget
   --------------------------------------------------------------------------- */

.scw-nowplaying { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px; }
.scw-nowplaying .scw-art { width: 72px; }
.scw-nowplaying .scw-title { font-size: 17px; }
.scw-nowplaying .scw-stats { margin-top: 6px; }
.scw-nowplaying:not(:has(.scw-art)) { grid-template-columns: 1fr; }

/* ---------------------------------------------------------------------------
   Layout: card — stacks on narrow containers (sidebars, phones)
   --------------------------------------------------------------------------- */

@container scw (max-width: 400px) {
	.scw-layout-card .scw-main { grid-template-columns: 1fr; gap: 16px; }
	.scw-layout-card .scw-art { width: 100%; }
	.scw-theme-record.scw-layout-card .scw-art { width: 78%; margin: 4px auto 0; }
	.scw-layout-card .scw-volume { max-width: none; }
}

/* ---------------------------------------------------------------------------
   Layout: bar — one row, optional pinned to the viewport
   --------------------------------------------------------------------------- */

.scw-layout-bar { padding: 10px 14px; border-radius: 14px; }
.scw-layout-bar .scw-main { grid-template-columns: auto 1fr; gap: 12px; }
.scw-layout-bar .scw-art { width: 52px; border-radius: min(var(--scw-art-radius), 10px); }
.scw-theme-record.scw-layout-bar .scw-art { border-radius: 50%; }
.scw-layout-bar .scw-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top ctl" "title ctl" "artist ctl"; column-gap: 16px; align-items: center; }
.scw-layout-bar .scw-top { grid-area: top; margin-bottom: 2px; }
.scw-layout-bar .scw-title-wrap { grid-area: title; }
.scw-layout-bar .scw-title { font-size: 16px; }
.scw-layout-bar .scw-artist { grid-area: artist; font-size: 13px; margin: 0; }
.scw-layout-bar .scw-controls { grid-area: ctl; margin: 0; }
.scw-layout-bar .scw-play { width: 44px; height: 44px; font-size: 18px; }
.scw-layout-bar .scw-volume { width: 130px; }
.scw-layout-bar .scw-stats,
.scw-layout-bar .scw-error { display: none; }

.scw-sticky {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 99990;
	margin: 0;
	max-width: 1100px;
	margin-inline: auto;
}

@container scw (max-width: 560px) {
	.scw-layout-bar .scw-volume,
	.scw-layout-bar .scw-eq { display: none; }
	.scw-layout-bar .scw-top { display: none; }
}

/* ---------------------------------------------------------------------------
   Layout: compact — a small pill for headers and tight spaces
   --------------------------------------------------------------------------- */

.scw-layout-compact { display: inline-block; width: 100%; max-width: 360px; padding: 8px 14px 8px 8px; border-radius: 99px; }
.scw-layout-compact .scw-main { display: flex; gap: 10px; }
.scw-layout-compact .scw-art { display: none; }
.scw-layout-compact .scw-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ctl title eq" "ctl artist eq"; column-gap: 10px; align-items: center; width: 100%; }
.scw-layout-compact .scw-controls { display: contents; }
.scw-layout-compact .scw-play { grid-area: ctl; width: 40px; height: 40px; font-size: 16px; }
.scw-layout-compact .scw-eq { grid-area: eq; height: 16px; }
.scw-layout-compact .scw-title-wrap { grid-area: title; }
.scw-layout-compact .scw-title { font-size: 14px; }
.scw-layout-compact .scw-artist { grid-area: artist; font-size: 12px; margin: 0; }
.scw-layout-compact .scw-top,
.scw-layout-compact .scw-volume,
.scw-layout-compact .scw-stats,
.scw-layout-compact .scw-error { display: none; }

/* ---------------------------------------------------------------------------
   Station page  [oncue_station]
   Hero (logo, on-air show, play) + large cover card, then a
   "Previously played" grid. Colours: --scw-c1 → --scw-c2 → --scw-c3.
   --------------------------------------------------------------------------- */

.scw.scw-station {
	--scw-fg: #17121f;
	--scw-muted: #6b6478;
	--scw-line: #e9e5f0;
	--scw-soft: #ffffff;
	padding: 0;
	border: 0;
	border-radius: 20px;
	box-shadow: none;
	background: #f7f5fb;
	font-size: 16px;
	margin: 0 0 2em;
}
.scw.scw-station.scw-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-radius: 0;
}
body:has(.scw-full) { overflow-x: clip; }

.scw.scw-station.scw-section-dark {
	--scw-fg: #ffffff;
	--scw-muted: rgba(255, 255, 255, .62);
	--scw-line: rgba(255, 255, 255, .1);
	background: #140c22;
}

.scw-hero {
	--scw-fg: #ffffff;
	--scw-muted: rgba(255, 255, 255, .82);
	--scw-soft: rgba(255, 255, 255, .16);
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(115deg, var(--scw-c1, #5b21b6) 0%, var(--scw-c2, #e11d74) 55%, var(--scw-c3, #f97316) 100%);
}
/* Broadcast rings radiating from behind the logo (switchable) */
.scw-station.has-rings .scw-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-radial-gradient(circle at var(--scw-ring-at, 16% 48%), rgba(255, 255, 255, .08) 0 2px, transparent 2px 44px);
	-webkit-mask-image: radial-gradient(circle at var(--scw-ring-at, 16% 48%), #000 0 30%, transparent 70%);
	mask-image: radial-gradient(circle at var(--scw-ring-at, 16% 48%), #000 0 30%, transparent 70%);
	pointer-events: none;
}

.scw-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
	gap: clamp(28px, 6cqi, 72px);
	align-items: center;
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(28px, 5cqi, 60px) clamp(20px, 5cqi, 48px);
}
.scw-hero-main { min-width: 0; }

.scw-hero .scw-live { background: rgba(255, 255, 255, .18); color: #fff; }
.scw-hero .scw-live i { background: #ff5c84; color: #ff5c84; }

.scw-hero-logo { margin: 20px 0 30px; }
.scw-hero-logo img {
	display: block;
	width: auto;
	max-width: min(100%, 360px);
	max-height: 180px;
	object-fit: contain;
	filter: drop-shadow(0 10px 24px rgba(40, 0, 50, .35));
}
.scw-hero-wordmark {
	display: block;
	font-size: clamp(44px, 9cqi, 84px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: .92;
	text-shadow: 0 6px 30px rgba(40, 0, 50, .3);
}

.scw-onair { display: flex; align-items: center; gap: 18px; }
.scw-station .scw-play {
	width: 70px;
	height: 70px;
	background: #fff;
	color: var(--scw-c2, #e11d74);
	font-size: 30px;
	box-shadow: 0 12px 30px -8px rgba(40, 0, 50, .5);
}
.scw-station .scw-spin { border-top-color: #fff; inset: -6px; }
.scw-onair-text { display: grid; gap: 1px; min-width: 0; }
.scw-onair-label { font-size: 13px; font-weight: 700; opacity: .85; }
.scw-show-name {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: clamp(24px, 4.6cqi, 34px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.12;
}
.scw-show-time { font-size: 15px; opacity: .85; }

.scw-hero-tools { display: flex; align-items: center; gap: 16px; max-width: 280px; margin-top: 24px; }
.scw-hero .scw-eq i { background: #fff; }
.scw-station:not(.is-playing) .scw-eq { opacity: 0; }
.scw-station .scw-eq { transition: opacity .3s ease; }
.scw-hero .scw-volume { margin-left: 0; }
.scw-hero .scw-error { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, .28); color: #fff; }
.scw-hero .scw-error:empty { display: none; }

.scw-now-card {
	position: relative;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	border-radius: 14px;
	background: rgba(0, 0, 0, .2);
	box-shadow: 0 30px 60px -22px rgba(30, 0, 40, .7);
}
.scw-now-card .scw-art { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.scw-now-card figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	gap: 2px;
	padding: 56px 18px 16px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	color: #fff;
}
.scw-card-title { font-size: 18px; font-weight: 800; line-height: 1.2; }
.scw-card-artist { font-size: 15px; opacity: .9; }
.scw-card-artist:empty { display: none; }
.scw .scw-apple {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 3px 8px;
	border-radius: 5px;
	background: rgba(0, 0, 0, .78);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: none;
}
.scw .scw-apple:hover { background: #000; color: #fff; }
.scw .scw-apple[hidden] { display: none; }

.scw-recent-inner {
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(28px, 4cqi, 44px) clamp(20px, 5cqi, 48px) clamp(36px, 5cqi, 56px);
}
.scw .scw-recent-title {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	color: var(--scw-fg);
	font-size: clamp(22px, 3.6cqi, 30px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.scw .scw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 24px 20px;
}
.scw-grid .scw-hi { display: block; margin: 0 !important; padding: 0; border-radius: 0; background: none; }
.scw-grid .scw-hi.is-current { background: none; }
.scw-grid .scw-hi-art {
	width: 100%;
	margin-bottom: 10px;
	border-radius: 6px;
	box-shadow: 0 10px 22px -14px rgba(20, 0, 30, .6);
}
.scw-grid .scw-hi-text { gap: 1px; }
.scw-grid .scw-hi-title { font-size: 15px; font-weight: 700; color: var(--scw-fg); }
.scw-grid .scw-hi-artist { font-size: 14px; }
.scw-grid .scw-hi-time { display: none; }
.scw-grid .scw-hi-empty { grid-column: 1 / -1; }

/* ---------------- Station Hero: layout variations ---------------- */

.scw-hero { isolation: isolate; }
.scw-hero .scw-backdrop { inset: -60px; z-index: -2; opacity: .95; filter: blur(46px) saturate(1.3); }
.scw-station:not(.has-art-bg) .scw-hero .scw-backdrop { display: none; }
.scw-station.has-art-bg .scw-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(115deg, color-mix(in srgb, var(--scw-c1, #5b21b6) 78%, transparent), color-mix(in srgb, var(--scw-c2, #e11d74) 55%, transparent) 60%, color-mix(in srgb, var(--scw-c3, #f97316) 45%, transparent));
	pointer-events: none;
}
.scw-hero-top { display: flex; align-items: center; gap: 16px; min-height: 0; }
.scw-hero-top:empty { display: none; }
.scw-show-line { display: flex; align-items: center; gap: 12px; }
.scw-host-img { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.scw-host-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scw-show-line-text { display: grid; gap: 1px; min-width: 0; text-align: left; }
.scw-show-line .scw-show-name { font-size: 18px; }
.scw-show-line .scw-show-time { font-size: 14px; }
.scw-hero-tools.is-min { max-width: none; }

/* Song first */
.scw-hero-song .scw-hero-inner { grid-template-columns: minmax(220px, 400px) minmax(0, 1fr); align-items: center; }
.scw-now-card.is-bare { box-shadow: 0 34px 70px -24px rgba(20, 0, 30, .75); }
.scw-hero-song .scw-hero-top { margin-bottom: 18px; }
.scw-hero-song .scw-hero-logo { margin: 0; }
.scw-hero-song .scw-hero-logo img { width: auto; height: 60px; max-width: 240px; object-fit: contain; object-position: left center; }
.scw-hero-song .scw-hero-wordmark { font-size: 30px; }
.scw .scw-song-big {
	margin: 6px 0 6px;
	color: #fff;
	font-size: clamp(26px, 6.2cqi, 64px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -.03em;
	overflow-wrap: break-word;
	hyphens: auto;
}
.scw-song-big .scw-card-title { font: inherit; }
.scw .scw-song-artist { margin: 0 0 24px; font-size: clamp(18px, 2.8cqi, 26px); font-weight: 600; opacity: .9; }
.scw-song-artist .scw-card-artist { font: inherit; opacity: 1; }
.scw-song-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.scw-song-controls .scw-hero-tools { margin-top: 0; }
.scw-hero-song .scw-show-line { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }

/* Centred */
.scw-hero-center { --scw-ring-at: 50% 42%; }
.scw-hero-center .scw-hero-inner {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	gap: 18px;
	max-width: 760px;
	text-align: center;
}
.scw-hero-center .scw-hero-logo { margin: 0; }
.scw-hero-center .scw-hero-logo img { width: auto; height: clamp(70px, 16cqi, 140px); max-width: 80cqi; margin-inline: auto; object-fit: contain; }
.scw-hero-center .scw-play { width: 96px; height: 96px; font-size: 40px; }
.scw-center-song { display: grid; gap: 4px; }
.scw-center-song .scw-card-title { font-size: clamp(26px, 5.4cqi, 44px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.scw-center-song .scw-card-artist { font-size: clamp(16px, 2.6cqi, 22px); font-weight: 600; }
.scw-hero-center .scw-hero-tools { margin: 0; justify-content: center; }
.scw-hero-center .scw-show-line { margin-top: 6px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.scw-hero-center .scw-show-line:not(:has(.scw-host-img:not([hidden]))) { padding-left: 18px; }

@container scw (max-width: 700px) {
	.scw-hero-song .scw-hero-inner { grid-template-columns: minmax(0, 1fr); }
	.scw-hero-song .scw-now-card { max-width: 300px; }
	.scw-hero-center .scw-play { width: 80px; height: 80px; font-size: 32px; }
}

@container scw (max-width: 700px) {
	.scw-hero-inner { grid-template-columns: 1fr; }
	.scw-now-card { width: 100%; max-width: 380px; }
	.scw-hero-logo { margin: 16px 0 24px; }
	.scw-hero-logo img { max-height: 130px; }
	.scw .scw-grid {
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 44%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
	}
	.scw-grid .scw-hi { scroll-snap-align: start; }
}

/* ---------------------------------------------------------------------------
   Played history page  [oncue_playlist]
   Sits on the page like normal content: inherits the site's font and text
   colour; the accent colours the time boxes.
   --------------------------------------------------------------------------- */

.scw.scw-playlist {
	--scw-pl-line: rgba(127, 127, 127, .22);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font-size: 16px;
	overflow: visible;
}

.scw .scw-pl-title {
	margin: 0 0 4px;
	padding: 0 0 8px;
	border-bottom: 3px solid rgba(127, 127, 127, .35);
	color: inherit;
	font-size: clamp(24px, 4.2cqi, 30px);
	font-weight: 700;
	line-height: 1.2;
}

.scw-pl-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--scw-pl-line);
}
.scw-pl-date { font-size: 18px; font-weight: 700; }
.scw .scw-pl-select {
	max-width: 100%;
	margin: 0;
	padding: 3px 6px;
	border: 1px solid #8a8a8a;
	border-radius: 0;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.scw-pl-list { display: block; }
.scw-pl-row {
	display: grid;
	grid-template-columns: 50px 50px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	padding: 10px 0 !important;
	border-bottom: 1px solid var(--scw-pl-line);
}
.scw-playlist[data-scw-art="0"] .scw-pl-row { grid-template-columns: 50px minmax(0, 1fr); }
.scw-pl-row.scw-new { animation: scw-in .6s ease both; }

.scw-pl-time {
	display: grid;
	place-content: center;
	height: 50px;
	background: var(--scw-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.scw-pl-time b { font-weight: 700; }

.scw-pl-art {
	display: block;
	width: 50px;
	height: 50px;
	object-fit: cover;
	background: rgba(127, 127, 127, .15);
}
.scw-pl-art.is-empty {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--scw-accent), color-mix(in srgb, var(--scw-accent) 40%, #000));
	color: rgba(255, 255, 255, .85);
}
.scw-pl-art.is-empty .scw-i { width: 22px; height: 22px; }

.scw-pl-text { display: grid; justify-items: start; min-width: 0; }
.scw-pl-artist,
.scw-pl-song { max-width: 100%; overflow-wrap: anywhere; }
.scw-pl-artist { font-size: 15px; font-weight: 700; line-height: 1.25; opacity: .9; }
.scw-pl-song { font-size: 19px; font-weight: 600; line-height: 1.25; }
.scw-pl-caps .scw-pl-artist,
.scw-pl-caps .scw-pl-song { text-transform: uppercase; }

.scw .scw-pl-buy {
	display: inline-block;
	margin: 4px 0 0 4px;
	padding: 1px 7px;
	border-radius: 2px;
	background: #000;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	box-shadow: none;
}
.scw .scw-pl-buy:hover { background: var(--scw-accent); color: #fff; }

.scw-pl-empty { padding: 18px 0; opacity: .7; }

.scw .scw-pl-more {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	background: var(--scw-accent);
	color: #fff;
	font-weight: 700;
	text-align: center;
}
.scw .scw-pl-more:hover { filter: brightness(1.08); }
.scw .scw-pl-more[hidden] { display: none; }
.scw-playlist.is-loading .scw-pl-list { opacity: .5; transition: opacity .2s; }

@container scw (max-width: 480px) {
	.scw-pl-song { font-size: 17px; }
	.scw-pl-bar { flex-direction: column; align-items: stretch; }
}

/* ===========================================================================
   Content widgets (On Air, Schedule, Top Songs, Requests, Hosts, Countdown,
   Listen Everywhere). They sit on the page like normal content and take the
   site's font and text colour; --scw-accent adds the highlights.
   =========================================================================== */

.scw-block {
	--scw-accent: var(--oc-primary, #b5316a);
	--scw-line: rgba(127, 127, 127, .22);
	--scw-tint: color-mix(in srgb, var(--scw-accent) 9%, transparent);
	--scw-radius: 12px;
	box-sizing: border-box;
	container-type: inline-size;
	margin: 0 0 1.5em;
	color: inherit;
	font-size: 16px;
	line-height: 1.45;
}
.scw-block *, .scw-block *::before, .scw-block *::after { box-sizing: border-box; }
.scw-block .scw-i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.scw-block [hidden] { display: none !important; }
.scw-block ul, .scw-block ol { margin: 0; padding: 0; list-style: none; }
.scw-block li { margin: 0; }
.scw-block img { display: block; max-width: 100%; border: 0; box-shadow: none; }
.scw-block .scw-block-title { margin: 0 0 14px; font-size: 22px; font-weight: 800; line-height: 1.25; color: inherit; }

.scw-kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--scw-accent);
}
.scw-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, .6);
	animation: scw-pulse 2s ease-out infinite;
	color: #ef4444;
}

.scw-block .scw-btn,
.scw-block button.scw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--scw-accent);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: filter .15s ease, transform .15s ease;
}
.scw-block .scw-btn:hover { color: #fff; filter: brightness(1.08); }
.scw-block .scw-btn:active { transform: scale(.97); }
.scw-block .scw-btn:focus-visible,
.scw-block a:focus-visible,
.scw-block button:focus-visible { outline: 2px solid var(--scw-accent); outline-offset: 3px; }
.scw-block .scw-btn .scw-i { width: 18px; height: 18px; }

/* ---------------- On Air Now ---------------- */

.scw-block.scw-onair {
	display: grid;
	gap: 14px 24px;
	padding: 20px;
	border: 1px solid var(--scw-line);
	border-radius: var(--scw-radius);
	background: var(--scw-tint);
}
.scw-onair-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.scw-onair-now { display: flex; align-items: center; gap: 18px; min-width: 0; }
.scw-onair-stack .scw-onair-now { flex-direction: column; align-items: flex-start; }
.scw-onair-photo {
	position: relative;
	flex: none;
	width: 96px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: calc(var(--scw-radius) - 4px);
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .85);
}
.scw-onair-stack .scw-onair-photo { width: 100%; max-width: 280px; }
.scw-onair-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scw-onair-photo > .scw-i { display: none; position: absolute; top: 50%; left: 50%; width: 40%; height: 40%; transform: translate(-50%, -50%); }
.scw-onair-photo.is-empty > .scw-i { display: block; }
.scw-onair-body { display: grid; justify-items: start; gap: 2px; min-width: 0; }
.scw-onair-name { font-size: clamp(20px, 5cqi, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.scw-onair-time { opacity: .75; }
.scw-onair-body .scw-btn { margin-top: 12px; white-space: nowrap; }
.scw-onair-next {
	display: grid;
	gap: 2px;
	min-width: 180px;
	padding-left: 24px;
	border-left: 1px solid var(--scw-line);
}
.scw-onair-next .scw-kicker { color: inherit; opacity: .65; }
.scw-onair-next strong { font-size: 17px; line-height: 1.25; }
.scw-onair-next span:last-child { font-size: 14px; opacity: .75; }
.scw-onair-stack .scw-onair-next { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--scw-line); }
@container (max-width: 520px) {
	.scw-onair-row { grid-template-columns: minmax(0, 1fr); }
	.scw-onair-row .scw-onair-next { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--scw-line); }
	.scw-onair-photo { width: 76px; }
}

/* On Air Now: photo beside the text lines, as tall as they are */
.scw-oaphoto-text .scw-onair-now { flex-direction: row; align-items: flex-start; }
.scw-oaphoto-text .scw-onair-photo { width: var(--scw-oa-h, 72px); max-width: none; }
.scw-oaphoto-text.scw-onair-stack .scw-onair-photo { width: var(--scw-oa-h, 72px); }
@container (max-width: 520px) { .scw-oaphoto-text .scw-onair-photo { width: var(--scw-oa-h, 64px); } }

/* On Air Now styles */
.scw-block.scw-oastyle-card { border: 0; background: #17121e; color: #f4eff7; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.scw-oastyle-card .scw-onair-next { border-color: rgba(255, 255, 255, .14); }
.scw-oastyle-card .scw-kicker { color: #ff8fc8; }

.scw-block.scw-oastyle-pill { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; width: 100%; padding: 6px 22px 6px 6px; border-radius: 999px; }
.scw-oastyle-pill .scw-onair-now { flex: 0 1 auto; min-width: 0; }
.scw-oastyle-pill :is(.scw-onair-name, .scw-onair-time, .scw-onair-next strong, .scw-onair-next span) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.scw-oastyle-pill .scw-onair-next { flex: 0 1 auto; }
@container (max-width: 520px) { .scw-oastyle-pill .scw-onair-next { display: none; } }
.scw-oastyle-pill .scw-onair-now { gap: 12px; align-items: center; }
.scw-oastyle-pill .scw-onair-photo { border-radius: 50%; }
.scw-oastyle-pill .scw-onair-name { font-size: 18px; }
.scw-oastyle-pill .scw-onair-time { font-size: 14px; }
.scw-oastyle-pill .scw-onair-body .scw-btn { margin-top: 6px; padding: 5px 12px; font-size: 13px; }
.scw-oastyle-pill .scw-onair-next { min-width: 0; padding: 0 0 0 16px; border-left: 1px solid var(--scw-line); border-top: 0; }

.scw-oastyle-badge .scw-onair-body > .scw-kicker { align-self: start; padding: 3px 9px 3px 7px; border-radius: 4px; background: #e11d2e; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scw-oastyle-badge .scw-onair-body > .scw-kicker .scw-dot { background: #fff; color: #fff; }
.scw-oastyle-badge .scw-onair-body { gap: 4px; }

.scw-block.scw-oastyle-split { position: relative; padding-left: 58px; overflow: hidden; }
.scw-block.scw-oastyle-split::before { content: attr(data-label); position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 38px; background: var(--scw-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.scw-oastyle-split .scw-onair-body > .scw-kicker { display: none; }

.scw-block.scw-oastyle-minimal { padding: 0; border: 0; border-radius: 0; background: none; }
.scw-oastyle-minimal .scw-onair-now { align-items: center; gap: 12px; }
.scw-oastyle-minimal .scw-onair-photo { border-radius: 50%; }
.scw-oastyle-minimal.scw-oaphoto-text .scw-onair-photo { width: 44px; }
.scw-oastyle-minimal .scw-onair-body { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.scw-oastyle-minimal .scw-onair-body > .scw-kicker { flex-basis: 100%; }
.scw-oastyle-minimal .scw-onair-name { font-size: 18px; }
.scw-oastyle-minimal .scw-onair-time { font-size: 14px; }
.scw-oastyle-minimal .scw-onair-body .scw-btn { flex-basis: auto; margin-top: 8px; }
.scw-oastyle-minimal .scw-onair-body::after { content: ""; flex-basis: 100%; order: 1; }
.scw-oastyle-minimal .scw-onair-body .scw-btn { order: 2; }

/* ---------------- Show Schedule ---------------- */

.scw-sch-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 14px;
	padding: 4px;
	overflow-x: auto;
	border-radius: 999px;
	background: var(--scw-tint);
	scrollbar-width: none;
}
.scw-sch-tabs::-webkit-scrollbar { display: none; }
.scw-block .scw-sch-tabs button {
	flex: 1 0 auto;
	margin: 0;
	padding: 9px 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}
.scw-block .scw-sch-tabs button:hover { background: var(--scw-tint); }
.scw-block .scw-sch-tabs button[aria-selected="true"] { background: var(--scw-accent); color: #fff; }
.scw-sch-tabs .is-today:not([aria-selected="true"]) { box-shadow: inset 0 0 0 2px var(--scw-accent); }
.scw-sch-long { display: none; }
@container (min-width: 760px) {
	.scw-sch-long { display: inline; }
	.scw-sch-short { display: none; }
}

.scw-sch-dayname { display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; font-size: 18px; font-weight: 800; }
.scw-schedule-list .scw-sch-day:first-child .scw-sch-dayname { margin-top: 0; }
.scw-sch-todaytag { padding: 2px 9px; border-radius: 999px; background: var(--scw-accent); color: #fff; font-size: 12px; }

.scw-sch-item {
	display: grid;
	grid-template-columns: 140px auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 12px 10px;
	border-bottom: 1px solid var(--scw-line);
}
.scw-schedule:not(:has(.scw-sch-photo)) .scw-sch-item { grid-template-columns: 140px minmax(0, 1fr) auto; }
.scw-sch-item.is-live { border-radius: 10px; border-bottom-color: transparent; background: var(--scw-tint); }
.scw-sch-time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .8; }
.scw-sch-photo {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .85);
}
.scw-sch-photo img { width: 100%; height: 100%; object-fit: cover; }
.scw-sch-photo .scw-i { width: 45%; height: 45%; }
.scw-sch-name { font-size: 17px; font-weight: 700; line-height: 1.25; }
.scw-sch-live { display: inline-flex; align-items: center; gap: 6px; color: #ef4444; font-size: 13px; font-weight: 700; }
.scw-sch-empty { margin: 0; padding: 16px 10px; opacity: .7; }
@container (max-width: 520px) {
	.scw-sch-item,
	.scw-schedule:not(:has(.scw-sch-photo)) .scw-sch-item { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
	.scw-sch-time { grid-column: 1 / -1; }
	.scw-schedule:not(:has(.scw-sch-photo)) .scw-sch-name { grid-column: 1 / -1; }
	.scw-sch-live { grid-column: 1 / -1; }
}

/* ---------------- Top Songs ---------------- */

.scw-chart-list { counter-reset: none; }
.scw-chart-item {
	display: grid;
	grid-template-columns: 36px auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--scw-line);
}
.scw-chart:not(:has(.scw-chart-art)) .scw-chart-item { grid-template-columns: 36px minmax(0, 1fr) auto; }
.scw-chart-rank { font-size: 22px; font-weight: 900; text-align: center; color: var(--scw-accent); font-variant-numeric: tabular-nums; }
.scw-chart-item:nth-child(-n+3) .scw-chart-rank { font-size: 28px; }
.scw-chart-art {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .85);
}
.scw-chart-art img { width: 100%; height: 100%; object-fit: cover; }
.scw-chart-art .scw-i { width: 40%; height: 40%; }
.scw-chart-text { display: grid; min-width: 0; }
.scw-chart-song { font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.scw-chart-artist { font-size: 14px; opacity: .75; }
.scw-chart-plays { font-size: 13px; opacity: .65; white-space: nowrap; }
.scw-chart-empty { opacity: .7; }

.scw-chart-grid .scw-chart-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 18px; }
.scw-chart-grid .scw-chart-item { position: relative; display: block; padding: 0; border: 0; }
.scw-chart-grid .scw-chart-art { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 10px; border-radius: 8px; }
.scw-chart-grid .scw-chart-rank {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	min-width: 36px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--scw-accent);
	color: #fff;
	font-size: 18px;
}
.scw-chart-grid .scw-chart-item:nth-child(-n+3) .scw-chart-rank { font-size: 18px; }
.scw-chart-grid .scw-chart-plays { display: block; margin-top: 2px; }

/* ---------------- Song Request form ---------------- */

.scw-request {
	padding: 24px;
	border: 1px solid var(--scw-line);
	border-radius: var(--scw-radius);
	background: var(--scw-tint);
}
.scw-request-intro { margin: -6px 0 18px; opacity: .8; }
.scw-request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
.scw-field { display: grid; gap: 6px; margin: 0; }
.scw-field-name, .scw-field-message { grid-column: 1 / -1; }
.scw-field label { font-size: 14px; font-weight: 700; }
.scw-block .scw-field input,
.scw-block .scw-field textarea {
	width: 100%;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid rgba(127, 127, 127, .35);
	border-radius: 8px;
	background: #fff;
	color: #1d1d24;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
}
.scw-block .scw-field input:focus,
.scw-block .scw-field textarea:focus { outline: none; border-color: var(--scw-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--scw-accent) 25%, transparent); }
.scw-field textarea { resize: vertical; min-height: 90px; }
.scw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.scw-request.is-sending .scw-btn { opacity: .7; cursor: wait; }
.scw-request-msg { margin: 12px 0 0; font-weight: 600; }
.scw-request-msg:empty { display: none; }
.scw-request-msg.is-ok { color: #15803d; }
.scw-request-msg.is-error { color: #dc2626; }
@container (max-width: 520px) {
	.scw-request { padding: 18px; }
	.scw-request-fields { grid-template-columns: minmax(0, 1fr); }
	.scw-request .scw-btn { width: 100%; }
}

/* ---------------- DJs & Hosts ---------------- */

.scw-hosts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.scw-host { display: flex; flex-direction: column; min-width: 0; }
.scw-host-photo {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 14px;
	overflow: hidden;
	border-radius: var(--scw-radius);
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .8);
}
.scw-hosts-circle .scw-host-photo { border-radius: 50%; }
.scw-host-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scw-host-photo > .scw-i { width: 30%; height: 30%; }
.scw-hosts-circle .scw-host { text-align: center; align-items: center; }
.scw-block .scw-host-name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.scw-host-name a { color: inherit; text-decoration: none; }
.scw-host-name a:hover { color: var(--scw-accent); }
.scw-host-show { margin: 3px 0 0; color: var(--scw-accent); font-size: 14px; font-weight: 700; }
.scw-host-bio { margin: 8px 0 0; font-size: 15px; opacity: .8; }
.scw-host-social { display: flex; gap: 6px; margin: 12px 0 0; }
.scw-block .scw-host-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--scw-tint);
	color: inherit;
	transition: background .15s, color .15s;
}
.scw-block .scw-host-social a:hover { background: var(--scw-accent); color: #fff; }
.scw-host-social .scw-i { width: 17px; height: 17px; }

/* ---------------- Event Countdown ---------------- */

.scw-countdown { text-align: center; }
.scw-cd-units { display: flex; justify-content: center; gap: clamp(8px, 2.5cqi, 16px); }
.scw-cd-unit {
	display: grid;
	gap: 4px;
	min-width: clamp(64px, 20cqi, 110px);
	padding: clamp(12px, 3cqi, 20px) 8px;
	border-radius: var(--scw-radius);
	background: var(--scw-accent);
	color: #fff;
}
.scw-cd-num { font-size: clamp(28px, 9cqi, 52px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.scw-cd-label { font-size: clamp(11px, 2.6cqi, 13px); font-weight: 700; opacity: .85; }
.scw-cd-units.is-done { opacity: .35; }
.scw-cd-done { margin: 14px 0 0; font-size: 20px; font-weight: 800; color: var(--scw-accent); }

/* ---------------- Listen Everywhere ---------------- */

.scw-listen-on { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scw-block .scw-lo-item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--scw-line);
	border-radius: var(--scw-radius);
	background: var(--scw-tint);
	color: inherit;
	text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.scw-block a.scw-lo-item:hover { border-color: var(--scw-accent); transform: translateY(-2px); color: inherit; }
.scw-lo-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--scw-accent);
	color: #fff;
}
.scw-lo-icon .scw-i { width: 24px; height: 24px; }
.scw-lo-text { display: grid; min-width: 0; }
.scw-lo-text strong { font-size: 16px; line-height: 1.25; }
.scw-lo-text span { font-size: 13px; opacity: .75; }

@media (prefers-reduced-motion: reduce) {
	.scw-block *, .scw-block *::before, .scw-block *::after { animation: none !important; transition: none !important; }
}

/* ===========================================================================
   Title bar (matches the OnCue theme's coloured section bars)
   =========================================================================== */

.scw-block .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
:where(.scw-block) .scw-heading {
	margin: 0 0 16px;
	color: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}
.scw-heading a { color: inherit; text-decoration: none; }
.scw-heading a:hover { text-decoration: underline; }
:where(.scw-block) .scw-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 16px;
}
:where(.scw-block) .scw-head .scw-heading { min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
:where(.scw-block) .scw-head.is-bar { padding: 4px 10px; background: var(--scw-head-bg, var(--oc-primary, #b5316a)); color: #fff; }
.scw-head.is-bar .scw-heading { color: inherit; }
:where(.scw-block) .scw-head.is-line { padding-bottom: 8px; border-bottom: 3px solid var(--scw-head-bg, var(--scw-accent)); }

/* Standalone Title Bar widget: no outer gap; Elementor's spacing takes over */
.scw-block.scw-title-bar { margin: 0; }
.scw-title-bar .scw-head { margin-bottom: 0; }

/* Alignment of the title, and where the button sits */
.scw-head.t-center { justify-content: center; text-align: center; }
.scw-head.t-right { justify-content: flex-end; text-align: right; }
.scw-head.t-left.b-end .scw-head-btn { margin-left: auto; }
.scw-head.t-left.b-start .scw-head-btn,
.scw-head.t-right.b-start .scw-head-btn { order: -1; }
.scw-head.t-right.b-start .scw-head-btn { margin-right: auto; }
.scw-head.t-center.has-btn:not(.b-inline) { display: grid; grid-template-columns: 1fr auto 1fr; }
.scw-head.t-center.has-btn:not(.b-inline) .scw-heading { grid-column: 2; grid-row: 1; }
.scw-head.t-center.b-end .scw-head-btn { grid-column: 3; grid-row: 1; justify-self: end; }
.scw-head.t-center.b-start .scw-head-btn { grid-column: 1; grid-row: 1; justify-self: start; }

.scw-block .scw-head-btn {
	display: inline-flex;
	align-items: center;
	flex: none;
	padding: 6px 14px;
	border-radius: 3px;
	background: var(--scw-head-btn-bg, var(--oc-primary, #b5316a));
	color: var(--scw-head-btn-fg, #fff);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: filter .15s ease;
}
.scw-block .scw-head.is-bar .scw-head-btn {
	background: var(--scw-head-btn-bg, #fff);
	color: var(--scw-head-btn-fg, var(--scw-head-bg, var(--oc-primary, #b5316a)));
}
.scw-block .scw-head-btn:hover { filter: brightness(1.08); color: var(--scw-head-btn-fg, #fff); }
.scw-block .scw-head.is-bar .scw-head-btn:hover { color: var(--scw-head-btn-fg, var(--scw-head-bg, var(--oc-primary, #b5316a))); filter: brightness(.95); }
@container (max-width: 420px) {
	.scw-head.t-center.has-btn:not(.b-inline) { grid-template-columns: 1fr; }
	.scw-head.t-center.has-btn:not(.b-inline) .scw-heading,
	.scw-head.t-center.has-btn:not(.b-inline) .scw-head-btn { grid-column: 1; grid-row: auto; justify-self: center; }
}

/* ===========================================================================
   Schedule, classic style
   =========================================================================== */

.scw-schedule-classic { --scw-schc-dark: #3a3a3e; --scw-live: #cc0000; --scw-schc-photo: 120px; }
.scw-schc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.scw-block .scw-schc-tabs button {
	margin: 0;
	padding: 6px 10px;
	border: 1px solid rgba(127, 127, 127, .3);
	border-radius: 3px;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: none;
}
.scw-block .scw-schc-tabs button:hover { border-color: var(--scw-schc-dark); }
.scw-block .scw-schc-tabs button[aria-selected="true"] { background: var(--scw-schc-dark); border-color: var(--scw-schc-dark); color: #fff; }
.scw-block .scw-schc-date { margin: 0 0 12px; font-size: 26px; font-weight: 700; line-height: 1.25; }
.scw-schc-item {
	display: grid;
	grid-template-columns: var(--scw-schc-photo) minmax(0, 1fr);
	align-items: start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--scw-line);
}
.scw-schc-item:first-child { padding-top: 4px; }
.scw-schedule-classic:not(:has(.scw-schc-photo)) .scw-schc-item { grid-template-columns: minmax(0, 1fr); }
.scw-schc-photo {
	display: grid;
	place-items: center;
	width: var(--scw-schc-photo);
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .8);
}
.scw-schc-photo img { width: 100%; height: 100%; object-fit: cover; }
.scw-schc-photo .scw-i { width: 36%; height: 36%; }
.scw-schc-body { display: grid; justify-items: start; gap: 6px; }
.scw-schc-time {
	padding: 3px 5px;
	border-radius: 2px;
	background: var(--scw-schc-dark);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
}
.scw-schc-item.is-live .scw-schc-time { background: var(--scw-live); }
.scw-schc-name { color: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; }
a.scw-schc-name { text-decoration: underline; text-underline-offset: 2px; }
a.scw-schc-name:hover { color: var(--scw-accent); }
.scw-block .scw-schc-listen {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 3px;
	background: var(--scw-live);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.scw-block .scw-schc-listen:hover { color: #fff; filter: brightness(1.12); }
.scw-schc-listen svg { width: 12px; height: 12px; }
@container (max-width: 480px) {
	.scw-schedule-classic { --scw-schc-photo: 84px; }
	.scw-block .scw-schc-date { font-size: 21px; }
}

/* ===========================================================================
   Show Lineup
   =========================================================================== */

.scw-lineup-grid .scw-lineup-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 25px; }
.scw-lineup-photo {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--scw-accent);
	color: rgba(255, 255, 255, .8);
}
.scw-shape-circle .scw-lineup-photo { border-radius: 50%; }
.scw-lineup-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scw-lineup-photo > .scw-i { width: 32%; height: 32%; }
.scw-lineup-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.scw-shape-circle .scw-lineup-badge { top: auto; bottom: 6%; left: 50%; transform: translateX(-50%); }
.scw-lineup-text { display: grid; gap: 6px; margin-top: 12px; min-width: 0; }
.scw-lineup-name { color: inherit; font-size: 18px; font-weight: 700; line-height: 1.25; text-decoration: none; }
a.scw-lineup-name:hover { color: var(--scw-accent); }
.scw-lineup-time { font-size: 15px; font-style: italic; opacity: .75; }
.scw-lineup-times { display: grid; gap: 1px; }
a.scw-sch-name { color: inherit; text-decoration: none; }
a.scw-sch-name:hover { color: var(--scw-accent); text-decoration: underline; }
.scw-onair-name a { color: inherit; text-decoration: none; }
.scw-onair-name a[href]:hover { color: var(--scw-accent); text-decoration: underline; }
.scw-shape-circle.scw-lineup-grid .scw-lineup-item { text-align: center; }

.scw-lineup-item { min-width: 0; }
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-item + .scw-lineup-item { margin-top: 20px; }
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-item {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-text { margin-top: 0; gap: 4px; }
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-name { font-size: 17px; font-weight: 400; }
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-time { font-size: 14px; }
.scw-lineup:not(.scw-lineup-grid) .scw-lineup-badge { top: 4px; left: 4px; padding: 2px 7px; font-size: 11px; }
@container (max-width: 640px) {
	.scw-lineup-grid .scw-lineup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
}

/* ===========================================================================
   Promo Slider
   =========================================================================== */

.scw-slider {
	--scw-sl-panel-w: 36%;
	position: relative;
	height: 473px;
	overflow: hidden;
	background: #16121c;
	color: #fff;
	touch-action: pan-y;
}
.scw-sl-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.scw-sl-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.scw-effect-fade .scw-sl-track { display: block; }
.scw-effect-fade .scw-sl-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.scw-effect-fade .scw-sl-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .6s ease; }
.scw-block .scw-sl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

.scw-sl-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: var(--scw-sl-panel-w);
	padding: 22px 20px 84px;
	overflow: auto;
	background: color-mix(in srgb, var(--scw-sl-panel, var(--oc-secondary, #5a1c84)) calc(100% - var(--scw-sl-alpha, 18%)), transparent);
	color: #fff;
}
.scw-sl-blur-yes .scw-sl-panel { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.scw-panel-left .scw-sl-panel { right: auto; left: 0; }
.scw-panel-bottom .scw-sl-panel { top: auto; left: 0; width: 100%; max-height: 60%; padding: 18px 170px 20px 22px; }
.scw-block .scw-sl-title { margin: 0 0 14px; color: inherit; font-size: clamp(24px, 3.4cqi, 34px); font-weight: 700; line-height: 1.3; }
.scw-sl-title a { color: inherit; text-decoration: none; }
.scw-sl-text { margin: 0; font-size: clamp(16px, 2cqi, 20px); line-height: 1.25; }
.scw-block .scw-sl-btn {
	display: inline-block;
	margin-top: 18px;
	padding: 10px 18px;
	background: #fff;
	color: var(--scw-sl-panel, var(--oc-secondary, #5a1c84));
	font-weight: 700;
	text-decoration: none;
}
.scw-block .scw-sl-btn:hover { background: var(--scw-sl-arrow, var(--oc-primary, #b5316a)); color: #fff; }
.scw-sl-cover { position: absolute; inset: 0; z-index: 1; }

.scw-sl-arrows { position: absolute; right: 20px; bottom: 18px; z-index: 3; display: flex; gap: 24px; }
.scw-panel-left .scw-sl-arrows { right: auto; left: calc(var(--scw-sl-panel-w) - 178px); }
.scw-panel-bottom .scw-sl-arrows { bottom: 18px; }
.scw-block .scw-sl-arrows button {
	display: grid;
	place-items: center;
	width: 67px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--scw-sl-arrow, var(--oc-primary, #b5316a));
	color: #fff;
	cursor: pointer;
	box-shadow: none;
}
.scw-block .scw-sl-arrows button:hover { filter: brightness(1.12); }
.scw-sl-arrows svg { width: 30px; height: 30px; }

.scw-sl-dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.scw-panel-right .scw-sl-dots { left: calc((100% - var(--scw-sl-panel-w)) / 2); }
.scw-panel-left .scw-sl-dots { left: calc(var(--scw-sl-panel-w) + (100% - var(--scw-sl-panel-w)) / 2); }
.scw-block .scw-sl-dots button {
	width: 11px;
	height: 11px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.scw-block .scw-sl-dots button[aria-current="true"] { background: #fff; }

.scw-block .scw-sl-pause {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s;
}
.scw-panel-left .scw-sl-pause { left: auto; right: 12px; }
.scw-slider:hover .scw-sl-pause,
.scw-slider:focus-within .scw-sl-pause,
.scw-slider.is-paused .scw-sl-pause { opacity: 1; }
.scw-sl-pause svg { width: 16px; height: 16px; }
.scw-sl-pause .i-play,
.scw-slider.is-paused .scw-sl-pause .i-pause { display: none; }
.scw-slider.is-paused .scw-sl-pause .i-play { display: inline; }

@container (max-width: 620px) {
	.scw-slider:not(.scw-panel-none) .scw-sl-panel {
		top: auto;
		right: 0;
		left: 0;
		width: 100%;
		max-height: 62%;
		padding: 16px 16px 70px;
	}
	.scw-sl-arrows,
	.scw-panel-left .scw-sl-arrows { right: 16px; left: auto; bottom: 14px; gap: 12px; }
	.scw-block .scw-sl-arrows button { width: 52px; height: 40px; }
	.scw-sl-dots,
	.scw-panel-right .scw-sl-dots,
	.scw-panel-left .scw-sl-dots { left: 16px; bottom: 28px; transform: none; }
	.scw-panel-bottom .scw-sl-panel { padding-right: 16px; }
}

/* ===========================================================================
   News & Blog Posts
   =========================================================================== */

.scw-posts-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 36px; }
.scw-post { min-width: 0; }
.scw-post-img { display: block; margin-bottom: 10px; overflow: hidden; }
.scw-block .scw-post-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.scw-ratio-4-3 .scw-post-img img { aspect-ratio: 4 / 3; }
.scw-ratio-16-9 .scw-post-img img { aspect-ratio: 16 / 9; }
.scw-ratio-1-1 .scw-post-img img { aspect-ratio: 1; }
.scw-post:hover .scw-post-img img { transform: scale(1.04); }
.scw-block .scw-post-title { margin: 0 0 8px; color: inherit; font-size: 19px; font-weight: 700; line-height: 1.3; }
.scw-post-title a { color: inherit; text-decoration: none; }
.scw-post-title a:hover { color: var(--scw-accent); }
.scw-post-excerpt { margin: 0 0 8px; font-size: 15px; line-height: 1.6; opacity: .85; }
.scw-post-meta { margin: 0; font-size: 15px; line-height: 1.6; opacity: .7; }
.scw-posts-empty { opacity: .7; }

.scw-posts-feature .scw-post:first-child { grid-column: span 2; grid-row: span 2; }
.scw-posts-feature .scw-post:first-child .scw-post-title { font-size: 26px; }

.scw-posts-list .scw-posts-items { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.scw-posts-list .scw-post.has-img { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: start; }
.scw-posts-list .scw-post-img { margin: 0; }
.scw-block.scw-posts-list .scw-post-img img { aspect-ratio: 1; }
.scw-posts-list .scw-post-title { margin-bottom: 4px; font-size: 16px; }
.scw-posts-list .scw-post-meta { font-size: 13px; }

.scw-posts-pages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.scw-posts-pages .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	background: rgba(127, 127, 127, .12);
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}
.scw-posts-pages .page-numbers.current,
.scw-posts-pages a.page-numbers:hover { background: var(--scw-accent); color: #fff; }

@container (max-width: 760px) {
	.scw-posts-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
}
@container (max-width: 420px) {
	.scw-posts-items { grid-template-columns: minmax(0, 1fr); }
	.scw-posts-feature .scw-post:first-child { grid-column: auto; grid-row: auto; }
}

/* ===========================================================================
   Weather
   =========================================================================== */

.scw-weather .scw-wx-icon { display: block; width: 130px; height: auto; overflow: visible; }
.scw-wx-days { display: flex; flex-wrap: wrap; gap: 20px 44px; padding: 10px 12px 4px; }
.scw-wx-day { display: grid; justify-items: center; gap: 8px; min-width: 90px; text-align: center; }
.scw-wx-dayname { font-size: 18px; font-weight: 700; }
.scw-wx-temp { font-size: 15px; opacity: .85; }
.scw-wx-low { margin-left: 4px; opacity: .6; }
.scw-wx-label, .scw-wx-rain { font-size: 13px; opacity: .7; }
.scw-wx-rain { color: var(--scw-wx-rain, #2b8be6); opacity: 1; font-weight: 700; }
.scw-block .scw-wx-credit { display: block; margin: 10px 0 0; font-size: 11px; opacity: .55; }
.scw-wx-credit a { color: inherit; }

.scw-weather-side .scw-wx-now { display: flex; align-items: center; gap: 14px; padding: 4px 0 14px; border-bottom: 1px solid var(--scw-line); }
.scw-weather-side .scw-wx-now .scw-wx-icon { width: 96px; }
.scw-weather-side .scw-wx-now > div { display: grid; }
.scw-wx-now-temp { font-size: 38px; font-weight: 800; line-height: 1.05; }
.scw-wx-now-label { font-size: 16px; font-weight: 600; }
.scw-wx-place { font-size: 13px; opacity: .65; }
.scw-weather-side .scw-wx-days { display: grid; gap: 0; padding: 0; }
.scw-weather-side .scw-wx-day {
	grid-template-columns: 46px minmax(0, 1fr) auto;
	justify-items: start;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--scw-line);
	text-align: left;
}
.scw-weather-side .scw-wx-day .scw-wx-icon { width: 46px; }
.scw-weather-side .scw-wx-dayname { font-size: 16px; }
.scw-weather-side .scw-wx-temp { justify-self: end; font-weight: 700; }
.scw-weather-side .scw-wx-label,
.scw-weather-side .scw-wx-rain { grid-column: 2 / -1; margin-top: -8px; }
@container (max-width: 560px) {
	.scw-weather-row .scw-wx-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 18px 10px; padding: 6px 0; }
	.scw-weather-row .scw-wx-icon { width: 84px; }
}

/* ---------------------------------------------------------------------------
   "Tap to start listening" (shown when a browser blocks autoplay)
   --------------------------------------------------------------------------- */

.scw .scw-tap-prompt {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 20px;
	border: 0;
	border-radius: inherit;
	background: rgba(12, 6, 24, .55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	color: #fff;
	font: inherit;
	cursor: pointer;
	animation: scw-in .3s ease both;
}
.scw-tap-icon {
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #fff;
	color: var(--scw-c2, var(--scw-accent));
	box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
	animation: scw-tap-pulse 1.8s ease-out infinite;
}
.scw-tap-icon svg { width: 44px; height: 44px; margin-left: 5px; fill: currentColor; }
.scw-tap-text { font-size: 20px; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.scw .scw-tap-prompt:focus-visible .scw-tap-icon { outline: 3px solid #fff; outline-offset: 4px; }
.scw-player .scw-tap-prompt .scw-tap-icon { width: 64px; height: 64px; }
.scw-player .scw-tap-prompt .scw-tap-icon svg { width: 30px; height: 30px; }
.scw-player .scw-tap-prompt .scw-tap-text { font-size: 16px; }
@keyframes scw-tap-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
	70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ---------------------------------------------------------------------------
   Song format (OnCue Radio → Settings → How songs are shown)
   scw-fmt-stacked: artist on top, song underneath. scw-caps: capitals.
   --------------------------------------------------------------------------- */

/* Player card and Now Playing: put the artist line above the song */
.scw-fmt-stacked .scw-player:not(.scw-layout-bar):not(.scw-layout-compact) .scw-body,
.scw-fmt-stacked .scw-nowplaying .scw-body { display: flex; flex-direction: column; align-items: stretch; }
.scw-fmt-stacked .scw-player .scw-body > *,
.scw-fmt-stacked .scw-nowplaying .scw-body > * { order: 3; }
.scw-fmt-stacked .scw-player .scw-body > .scw-top,
.scw-fmt-stacked .scw-nowplaying .scw-body > .scw-top { order: 0; }
.scw-fmt-stacked .scw-player .scw-body > .scw-artist,
.scw-fmt-stacked .scw-nowplaying .scw-body > .scw-artist { order: 1; margin: 0 0 2px; font-weight: 700; }
.scw-fmt-stacked .scw-player .scw-body > .scw-title-wrap,
.scw-fmt-stacked .scw-nowplaying .scw-body > .scw-title-wrap { order: 2; }
.scw-fmt-stacked .scw-layout-bar .scw-body { grid-template-areas: "top ctl" "artist ctl" "title ctl"; }
.scw-fmt-stacked .scw-layout-compact .scw-body { grid-template-areas: "ctl artist eq" "ctl title eq"; }

/* Lists and cards built as grids: move the artist first */
.scw-fmt-stacked .scw-hi-artist,
.scw-fmt-stacked .scw-chart-artist,
.scw-fmt-stacked .scw-card-artist,
.scw-fmt-stacked .scw-center-song .scw-card-artist { order: -1; font-weight: 700; }
.scw-fmt-stacked .scw-now-card figcaption { display: flex; flex-direction: column; }

/* Station Hero "Song first": artist line above the big title */
.scw-fmt-stacked .scw-hero-song .scw-hero-main { display: flex; flex-direction: column; align-items: stretch; }
.scw-fmt-stacked .scw-hero-song .scw-hero-main > * { order: 5; }
.scw-fmt-stacked .scw-hero-song .scw-hero-main > .scw-hero-top { order: 0; }
.scw-fmt-stacked .scw-hero-song .scw-hero-main > .scw-onair-label { order: 1; }
.scw-fmt-stacked .scw-hero-song .scw-hero-main > .scw-song-artist { order: 2; margin: 4px 0 0; }
.scw-fmt-stacked .scw-hero-song .scw-hero-main > .scw-song-big { order: 3; margin: 0 0 22px; }
.scw-fmt-stacked .scw-center-song { display: flex; flex-direction: column; }

/* On one line the small artist line is empty */
.scw-fmt-inline .scw-artist:empty,
.scw-fmt-inline .scw-card-artist:empty { display: none; }

/* Capital letters */
.scw-caps :is(.scw-title, .scw-artist, .scw-card-title, .scw-card-artist, .scw-hi-title, .scw-hi-artist, .scw-pl-song, .scw-pl-artist, .scw-chart-song, .scw-chart-artist) { text-transform: uppercase; letter-spacing: .01em; }

/* ===========================================================================
   Single Show
   =========================================================================== */

.scw-show {
	--scw-show-panel: var(--oc-secondary, #5a1c84);
	--scw-show-text: #fff;
	--scw-show-dim: 55%;
	overflow: hidden;
	border-radius: 0;
	background: var(--scw-show-panel);
	color: var(--scw-show-text);
}
.scw-show-inner { display: grid; grid-template-columns: minmax(180px, 320px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4cqi, 40px); padding: clamp(20px, 4cqi, 40px); }
.scw-show:not(:has(.scw-show-photo)) .scw-show-inner { grid-template-columns: minmax(0, 1fr); }
.scw-show-photo {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	background: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .8);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
}
.scw-shape-circle .scw-show-photo { border-radius: 50%; }
.scw-show-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scw-show-photo > .scw-i { width: 30%; height: 30%; }
.scw-show-body { display: grid; justify-items: start; gap: var(--scw-show-gap, 14px); min-width: 0; }
.scw-show-live { margin-bottom: 0; }
.scw-show-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 11px;
	border-radius: 999px;
	background: #fff;
	color: #d11a2a;
	font-size: 13px;
	font-weight: 800;
}
.scw-block.scw-show .scw-show-name { margin: 0; color: inherit; font-size: clamp(30px, 6cqi, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: break-word; }
.scw-show-when { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.scw-show-label { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 700; opacity: .75; }
.scw-show-times ul { display: grid; gap: 2px; }
.scw-show-times li { font-size: 17px; }
.scw-show-times li strong { font-weight: 700; }
.scw-show-next strong { font-size: 17px; }
.scw-show-desc { max-width: 62ch; font-size: 17px; line-height: 1.6; opacity: .92; }
.scw-show-desc > :first-child { margin-top: 0; }
.scw-show-desc > :last-child { margin-bottom: 0; }
.scw-show-desc a { color: inherit; text-decoration: underline; }
.scw-show-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.scw-show .scw-show-listen { background: var(--scw-accent); }
.scw-block .scw-btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; color: inherit; }
.scw-block .scw-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; filter: none; }

/* Card: photo on top, light box */
.scw-show-card { --scw-show-panel: #fff; --scw-show-text: inherit; border: 1px solid var(--scw-line); }
.scw-show-card .scw-show-inner { grid-template-columns: minmax(0, 1fr); padding: 0 0 24px; gap: 18px; }
.scw-show-card .scw-show-photo { width: 100%; aspect-ratio: 16 / 10; box-shadow: none; }
.scw-show-card.scw-shape-circle .scw-show-photo { width: 180px; margin: 24px auto 0; aspect-ratio: 1; }
.scw-show-card .scw-show-body { padding: 0 24px; }
.scw-show-card .scw-show-live { background: #d11a2a; color: #fff; }
.scw-show-card .scw-btn-ghost:hover { background: rgba(127, 127, 127, .1); }

/* Photo as the background */
.scw-show-cover {
	position: relative;
	isolation: isolate;
	background: var(--scw-show-panel) var(--scw-show-bg, none) center / cover no-repeat;
}
.scw-show-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(10, 5, 20, calc(var(--scw-show-dim) + 20%)), rgba(10, 5, 20, var(--scw-show-dim)));
}
.scw-show-cover .scw-show-inner { grid-template-columns: minmax(0, 1fr); min-height: 380px; padding: clamp(24px, 6cqi, 64px); }

@container (max-width: 640px) {
	.scw-show-banner .scw-show-inner { grid-template-columns: minmax(0, 1fr); }
	.scw-show-banner .scw-show-photo { width: 100%; max-width: 280px; }
}

/* ---------------------------------------------------------------------------
   Photos (OnCue Radio → Settings → Photos)
   scw-photo-clear: no colour or shadow behind photos that exist, so
   transparent PNGs sit straight on the page. Empty placeholders keep theirs.
   scw-photo-contain: show the whole image instead of cropping to fill.
   --------------------------------------------------------------------------- */

.scw-photo-clear :is(
	.scw-art.has-img, .scw-hi-art.has-img,
	.scw-pl-art:not(.is-empty), .scw-chart-art:not(.is-empty),
	.scw-onair-photo:not(.is-empty), .scw-sch-photo:not(.is-empty), .scw-schc-photo:not(.is-empty),
	.scw-lineup-photo:not(.is-empty), .scw-show-photo:not(.is-empty), .scw-host-photo:not(.is-empty),
	.scw-host-img
) { background: transparent !important; box-shadow: none !important; }
.scw-photo-clear :is(.scw-art.has-img, .scw-hi-art.has-img) > .scw-art-ph { display: none; }
.scw-photo-clear .scw-now-card:has(.scw-art.has-img) { background: transparent; box-shadow: none; }
.scw-photo-clear .scw-grid .scw-hi-art { box-shadow: none; }
.scw-photo-clear .scw-art { box-shadow: none; }

.scw-photo-contain :is(
	.scw-art, .scw-hi-art, .scw-chart-art, .scw-onair-photo, .scw-sch-photo, .scw-schc-photo,
	.scw-lineup-photo, .scw-show-photo, .scw-host-photo, .scw-host-img
) img,
.scw-photo-contain .scw-pl-art { object-fit: contain; }

/* StreamWave credit under the Station Hero */
.scw .scw-credit {
	margin: 0;
	padding: 10px clamp(20px, 5cqi, 48px) 14px;
	text-align: center;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .01em;
}
.scw .scw-credit a { color: var(--scw-muted); text-decoration: none; opacity: .8; transition: opacity .15s ease; }
.scw .scw-credit a span { font-weight: 400; }
.scw .scw-credit a:hover,
.scw .scw-credit a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
.scw-station:not(:has(.scw-recent)) .scw-credit { background: var(--scw-c1, #5b21b6); }
.scw-station:not(:has(.scw-recent)) .scw-credit a { color: rgba(255, 255, 255, .75); }

/* ===========================================================================
   "Try it with your station" demo
   =========================================================================== */

.scw-demo {
	--scw-demo-bg: #17121e;
	--scw-demo-line: rgba(255, 255, 255, .1);
	--scw-demo-text: #f4eff7;
	--scw-demo-soft: #cfc6d9;
	--scw-demo-accent: #c4167e;
	display: grid;
	grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
	gap: 0;
	overflow: hidden;
	border-radius: 22px;
	background: var(--scw-demo-bg);
	border: 1px solid var(--scw-demo-line);
	color: var(--scw-demo-text);
	font-family: inherit;
}
.scw-demo-panel { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-right: 1px solid var(--scw-demo-line); }
.scw-block .scw-demo-title { margin: 0; color: inherit; font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.scw-demo-intro { margin: 0; color: var(--scw-demo-soft); font-size: 16px; line-height: 1.55; }
.scw-demo-form { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 0; }
.scw-demo-field { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.scw-demo-field > span, .scw-demo-field > legend { padding: 0; font-size: 14px; font-weight: 700; color: var(--scw-demo-text); }
.scw-demo-field small { color: var(--scw-demo-soft); font-size: 13px; }
.scw-demo input[type="text"], .scw-demo input[type="url"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	background: rgba(0, 0, 0, .28);
	color: var(--scw-demo-text);
	font: inherit;
	font-size: 16px;
}
.scw-demo input[type="text"]:focus, .scw-demo input[type="url"]:focus { outline: none; border-color: #f58ac4; box-shadow: 0 0 0 3px rgba(245, 138, 196, .25); }
.scw-demo input::placeholder { color: rgba(255, 255, 255, .45); }
.scw-demo-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.scw-demo-swatch { position: relative; cursor: pointer; }
.scw-demo-swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scw-demo-swatch > span { display: block; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.scw-demo-swatch input:checked + span { box-shadow: 0 0 0 3px var(--scw-demo-bg), 0 0 0 5px #fff; }
.scw-demo-swatch input:focus-visible + span { outline: 2px solid #f58ac4; outline-offset: 5px; }
.scw-demo-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scw-demo-styles label { position: relative; cursor: pointer; }
.scw-demo-styles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scw-demo-styles span { display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; text-align: center; }
.scw-demo-styles input:checked + span { border-color: #fff; background: rgba(255, 255, 255, .1); }
.scw-demo-styles input:focus-visible + span { outline: 2px solid #f58ac4; outline-offset: 2px; }
.scw-demo .scw-demo-go {
	min-height: 52px;
	margin: 4px 0 0;
	border: 0;
	border-radius: 999px;
	background: var(--scw-demo-accent);
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}
.scw-demo .scw-demo-go:hover { filter: brightness(1.08); }
.scw-demo .scw-demo-go:disabled { opacity: .6; cursor: wait; }
.scw-demo-msg { min-height: 1.4em; margin: 0; font-size: 14px; line-height: 1.45; color: var(--scw-demo-soft); }
.scw-demo-msg.is-ok { color: #7ee2a8; }
.scw-demo-msg.is-warn { color: #ffd166; }
.scw-demo-msg.is-error { color: #ff9a9a; }

.scw-demo-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 480px;
	padding: 48px 32px 32px;
	box-sizing: border-box;
	background:
		radial-gradient(60% 60% at 70% 20%, rgba(224, 35, 154, .16), transparent 70%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px),
		#0e0b12;
	container-type: inline-size;
}
.scw-demo-stage.is-bar { justify-content: flex-end; }
.scw-demo-stage.has-gallery { justify-content: flex-start; gap: 36px; }
.scw-demo-main { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding-top: 18px; }
.scw-demo-stage.is-bar .scw-demo-main { justify-content: flex-end; min-height: 160px; }
.scw-demo-stage.is-card .scw-demo-main > .scw-player { width: 100%; max-width: 380px; margin: 0 auto; }
.scw-demo-main > .scw, .scw-demo-stage > .scw { margin: 0; }
.scw-demo-main > .scw-demo-badge { top: -14px; left: 0; }

/* Gallery of more widgets */
.scw-demo-gallery { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.scw-block .scw-demo-gallery-title { margin: 0; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.scw-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.scw-demo-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.scw-demo-card-body .scw-pl-title { display: none; }
.scw-demo-card-playlist, .scw-demo-card-schedule { grid-column: 1 / -1; }
.scw-demo-card-schedule .scw-schc-photo { width: 72px !important; height: 72px !important; min-height: 0 !important; aspect-ratio: 1; flex: none; }
.scw-demo-card-schedule .scw-schc-row, .scw-demo-card-schedule .scw-schc-item { min-height: 0 !important; }
.scw-demo-card-lineup .scw-lineup-photo { width: 64px; }
.scw-demo-gallery-sub { margin: -8px 0 0; color: var(--scw-demo-soft); font-size: 14px; }
.scw-demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.scw-demo-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: transparent; color: var(--scw-demo-soft); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.scw-demo-tabs [role="tab"] span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; }
.scw-demo-tabs [role="tab"][aria-selected="true"] { border-color: #fff; background: #fff; color: #17121f; }
.scw-demo-tabs [role="tab"][aria-selected="true"] span { background: var(--scw-demo-accent); color: #fff; }
.scw-demo-tabs [role="tab"]:focus-visible { outline: 2px solid #f58ac4; outline-offset: 3px; }
.scw-demo-tab-note { margin: 0 0 12px; color: var(--scw-demo-soft); font-size: 14px; }
.scw-demo-card-slider, .scw-demo-card-posts, .scw-demo-card-hosts, .scw-demo-card-listen, .scw-demo-card-player_bar, .scw-demo-card-show { grid-column: 1 / -1; }

/* Full "try every widget" layout (Widgets Pack page): form stays in view */
.scw-demo.is-full { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); overflow: visible; }
.scw-demo.is-full .scw-demo-panel { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; border-right: 0; }
.scw-demo.is-full .scw-demo-stage { border-left: 1px solid var(--scw-demo-line); border-radius: 0 22px 22px 0; }
.admin-bar .scw-demo.is-full .scw-demo-panel { top: 128px; max-height: calc(100vh - 148px); }
.scw-demo-stage.is-sample .scw-demo-empty { min-height: 200px; }
.scw-demo-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff6e5; color: #5b3d00; font-size: 14px; }
.scw-demo-card-onair .scw-onair-photo { width: 120px; max-width: 45%; }
.scw-demo-card-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.scw-demo-diagram { display: block; color: rgba(255, 255, 255, .8); }
.scw-demo-diagram .scw-demo-hi { color: #f58ac4; fill-opacity: 1; }
.scw-block .scw-demo-card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; color: #fff; font-size: 16px; font-weight: 800; }
.scw-demo-card p { margin: 0; color: var(--scw-demo-soft); font-size: 13.5px; line-height: 1.45; }
.scw-demo-card .scw-demo-where { margin-bottom: 3px; color: #f58ac4; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.scw-demo-card-body > .scw, .scw-demo-card-body > .scw-block { margin: 0; }
.scw-demo-card:not(.scw-demo-card-title) .scw-demo-card-body .scw-heading { display: none; }
.scw-demo-card-slider .scw-sl-slide, .scw-demo-card-slider .scw-sl-img, .scw-demo-card-slider .scw-sl-cover { background: linear-gradient(135deg, var(--scw-c1, #5b21b6), var(--scw-c2, #e11d74) 60%, var(--scw-c3, #f97316)); }
.scw-demo-card-slider .scw-sl-slide:nth-child(2), .scw-demo-card-slider .scw-sl-slide:nth-child(2) .scw-sl-img, .scw-demo-card-slider .scw-sl-slide:nth-child(2) .scw-sl-cover { background: linear-gradient(135deg, var(--scw-c3, #f97316), var(--scw-c2, #e11d74) 55%, var(--scw-c1, #5b21b6)); }
.scw-demo-sample { padding: 2px 8px; border-radius: 999px; background: #ffd166; color: #241a00; font-size: 11px; font-weight: 800; }

/* More options */
.scw-demo-more { border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; }
.scw-demo-more > summary { min-height: 44px; display: flex; align-items: center; padding: 0 14px; color: var(--scw-demo-soft); font-size: 14px; font-weight: 600; cursor: pointer; }
.scw-demo-more[open] > summary { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.scw-demo-more-body { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.scw-demo-more-body small { color: var(--scw-demo-soft); font-size: 13px; }
.scw-demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scw-demo select, .scw-demo input[type="number"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	background: rgba(0, 0, 0, .28);
	color: var(--scw-demo-text);
	font: inherit;
	font-size: 16px;
}
.scw-demo select option { color: #17121f; }
.scw-demo select:focus, .scw-demo input[type="number"]:focus { outline: none; border-color: #f58ac4; box-shadow: 0 0 0 3px rgba(245, 138, 196, .25); }
.scw-demo-empty { display: grid; place-items: center; gap: 10px; color: rgba(255, 255, 255, .45); text-align: center; }
.scw-demo-empty p { margin: 0; font-size: 15px; }
.scw-demo-badge {
	position: absolute;
	top: 14px;
	left: 16px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}
.scw-demo-over {
	position: absolute;
	inset: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px;
	background: rgba(14, 11, 18, .88);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	text-align: center;
}
.scw-demo-over p { margin: 0; color: var(--scw-demo-soft); font-size: 16px; }
.scw-demo-over .scw-demo-over-title { color: #fff; font-size: 26px; font-weight: 800; }
.scw-demo-cta { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; padding: 0 26px; border-radius: 999px; background: var(--scw-demo-accent); color: #fff; font-weight: 700; text-decoration: none; }
.scw-demo-cta:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 860px) {
	.scw-demo { grid-template-columns: minmax(0, 1fr); }
	.scw-demo-grid { grid-template-columns: minmax(0, 1fr); }
	.scw-demo.is-full { grid-template-columns: minmax(0, 1fr); }
	.scw-demo.is-full .scw-demo-panel { position: static; max-height: none; overflow: visible; }
	.scw-demo.is-full .scw-demo-stage { border-left: 0; border-radius: 0 0 22px 22px; }
	.scw-demo-panel { border-right: 0; border-bottom: 1px solid var(--scw-demo-line); padding: 24px; }
	.scw-demo-stage { min-height: 380px; padding: 44px 16px 16px; }
}

/* Admin notice when a station is missing */
.scw-missing { padding: 10px 14px; border: 1px dashed #c3c4c7; border-radius: 8px; font-size: 14px; }

/* ---------------------------------------------------------------------------
   Motion
   --------------------------------------------------------------------------- */

@keyframes scw-spin { to { transform: rotate(360deg); } }
@keyframes scw-pulse {
	0% { box-shadow: 0 0 0 0 currentColor; }
	70% { box-shadow: 0 0 0 6px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes scw-eq { from { height: 18%; } to { height: 100%; } }
@keyframes scw-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes scw-marquee { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(var(--scw-shift, 0)); } }
@keyframes scw-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
	.scw *,
	.scw *::before,
	.scw *::after { animation: none !important; transition: none !important; }
	.scw.is-playing .scw-eq i { height: 60%; }
	.scw-title-wrap.scw-marquee .scw-title { padding-left: 0; }
	.scw-title-wrap { text-overflow: ellipsis; }
}

.scw-demo-card-slider .scw-sl-slide { min-height: 260px; }
