/* AzuraCast Player -------------------------------------------------------- */

.azp {
	/*
	 * Brand. The glass is deliberately neutral, so the blue no longer paints
	 * anything by itself — it is kept because themes and the settings screen
	 * refer to it, and because it is the value to reach for when tinting the
	 * glass: --azp-glass: rgba(10, 30, 70, 0.68) gives a blue cast.
	 */
	--azp-primary: #0d47a1;
	--azp-secondary: #f5a623;
	--azp-secondary-rgb: 245, 166, 35;

	/*
	 * Frosted surface. The panel is translucent, so its final colour is decided
	 * by whatever the page puts behind it — which is the whole point, and also
	 * the one thing to keep an eye on: the thinner the fill, the more the page
	 * behind decides whether white text is readable.
	 *
	 * 0.55 is tuned for a dark or photographic background, where the surface
	 * ends up very dark and contrast is never in question. It is deliberately
	 * below the level that would survive a white page: there the panel settles
	 * near #7c8086 and white text drops to about 4:1. If the player ever has to
	 * sit on a light section, put this back to 0.68, which holds up anywhere.
	 *
	 * Three depths, and nothing else: the panel, things that sink into it (the
	 * track log, the stream panel), things that sit on it (pills, buttons).
	 */
	--azp-glass: rgba(102, 102, 104, 0.2);
	--azp-sunken: rgba(0, 0, 0, 0.1);
	--azp-raised: rgba(255, 255, 255, 0.1);
	--azp-raised-hi: rgba(255, 255, 255, 0.18);

	--azp-blur: 40px;
	--azp-saturate: 115%;


	/*
	 * A lit top rim plus a hairline edge is what reads as glass; without them a
	 * translucent fill is just a faded rectangle. The rim is applied as an
	 * inset shadow so it follows the border radius exactly.
	 */
	--azp-edge: rgba(255, 255, 255, 0.12);
	--azp-rim: transparent;
	--azp-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

	/* A gentle top-down sheen across the panel. */
	--azp-sheen: none;

	--azp-bg: var(--azp-glass);
	--azp-fg: #ffffff;
	--azp-muted: rgba(255, 255, 255, 0.78);
	--azp-line: rgba(255, 255, 255, 0.12);
	--azp-track: rgba(0, 0, 0, 0.3);

	/* Timestamps in the log. Set to var(--azp-muted) for the quieter version. */
	--azp-time: var(--azp-secondary);

	/* Play control */
	--azp-play: var(--azp-secondary);
	--azp-play-glyph: #1a1200;                /* 9.17:1 on amber */
	--azp-play-hover: #ffb733;                /* 10.68:1 for the glyph */
	--azp-play-glow: 0 6px 20px rgba(var(--azp-secondary-rgb), 0.38);

	--azp-radius: 24px;
	--azp-bar-h: 76px;
	--azp-hero-art: 72px;
	--azp-thumb: 38px;
	--azp-bar-art: 46px;
	--azp-bar-pad-x: 26px;
	--azp-bar-pad-y: 9px;

	box-sizing: border-box;
	position: relative;
	color: var(--azp-fg);
	background-color: var(--azp-bg);
	background-image: var(--azp-sheen);
	backdrop-filter: blur(var(--azp-blur)) saturate(var(--azp-saturate));
	-webkit-backdrop-filter: blur(var(--azp-blur)) saturate(var(--azp-saturate));
	font-size: 16px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}

/*
 * Firefox below 103 and a few older mobile browsers ignore backdrop-filter and
 * would render the panel as a flat wash of whatever is behind it. They get an
 * opaque surface instead: no blur, but nothing unreadable either.
 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.azp {
		--azp-glass: rgba(22, 22, 24, 0.9);
	}
}

/* Some people ask their system for less of this. Honour it. */
@media (prefers-reduced-transparency: reduce) {
	.azp {
		--azp-glass: #1a1a1c;
		--azp-sunken: rgba(0, 0, 0, 0.35);

		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

.azp *,
.azp *::before,
.azp *::after {
	box-sizing: inherit;
}

/*
 * Resets carry zero specificity via :where(), so component rules below always
 * win. A plain `.azp button` would outrank them and silently strip styling.
 */
:where(.azp) :is(p, h3, ol, ul, li) {
	margin: 0;
	padding: 0;
	list-style: none;
}

:where(.azp) button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/*
 * No border-radius here. Setting one made every focused control adopt it, so
 * the round play button turned into a rounded square under keyboard
 * navigation. An outline already follows whatever radius the element has, so
 * each control keeps its own shape.
 */
.azp :focus-visible {
	outline: 3px solid var(--azp-secondary);
	outline-offset: 2px;
}

/* --- small labels --------------------------------------------------------- */

.azp__badge,
.azp__station,
.azp__recent-head {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.azp__eyebrow {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--azp-muted);
}

/* --- live indicator ------------------------------------------------------- */

.azp__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.azp .azp__live {
	flex: none;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
}

.azp__live .azp__live-dot {
	fill: currentColor;
	stroke: none;
}

.azp__live .azp__live-arc {
	opacity: 0.35;
	transition: opacity 0.3s ease;
}

.azp.is-playing .azp__live .azp__live-arc {
	opacity: 1;
	animation: azp-broadcast 1.8s ease-in-out infinite;
}

.azp.is-playing .azp__live .azp__live-arc--far {
	animation-delay: 0.25s;
}

@keyframes azp-broadcast {
	0%, 100% { opacity: 0.3; }
	50%      { opacity: 1; }
}

/* --- play control --------------------------------------------------------- */

.azp__play {
	--azp-play-pad: 0;
	--azp-play-gap: 0;
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--azp-play);
	color: var(--azp-play-glyph);
	/*
	 * The one solid, saturated object on the panel, so it carries a warm cast
	 * onto the glass underneath it. This is where the boldness is spent; every
	 * other control stays a quiet translucent pill.
	 */
	box-shadow: var(--azp-play-glow);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

/*
 * The button's geometry is held in custom properties and applied with
 * !important, so a theme rule cannot change padding, gap or spacing on hover
 * and shift the icon. Transform stays ours too — `.site-main .wp-block-button
 * button:hover { transform: … }` outranks any sane selector we could write.
 */
.azp .azp__play {
	padding: var(--azp-play-pad) !important;
	gap: var(--azp-play-gap) !important;
	border-width: 0 !important;
	letter-spacing: 0.01em !important;
	word-spacing: normal !important;
	text-indent: 0 !important;
	margin: 0 !important;
}

.azp .azp__play:hover,
.azp .azp__play:focus,
.azp .azp__play:focus-visible {
	/*
	 * A colour change, never a filter: `filter` promotes the button to its own
	 * compositing layer and re-rasterises the glyph and label, which shifts
	 * them a sub-pixel sideways. That was the hover jitter.
	 */
	background: var(--azp-play-hover);
	box-shadow: 0 8px 26px rgba(var(--azp-secondary-rgb), 0.5);
	filter: none !important;
	transform: none !important;
	translate: none !important;
	scale: none !important;
	rotate: none !important;
}

.azp .azp__play:active {
	transform: scale(0.95) !important;
	translate: none !important;
}

/* Nothing inside the button moves either. */
.azp .azp__play .azp__icon,
.azp .azp__play .azp__glyphs,
.azp .azp__play .azp__play-text,
.azp .azp__play .azp__label {
	transform: none !important;
	translate: none !important;
}

/* Themes sometimes add arrows to buttons on hover; not in ours. */
.azp .azp__play::before {
	content: none !important;
}

.azp .azp__icon {
	grid-area: 1 / 1;
	width: 19px;
	height: 19px;
	fill: currentColor;
}

/*
 * The play triangle is drawn, not filled — the design's glyph is an outline
 * with rounded corners. The path in the markup already is that triangle, with
 * the corner rounding built into it, so stroking instead of filling gives the
 * shape exactly; no new icon is needed and the PHP stays as it is.
 *
 * stroke-width is in viewBox units, so it scales with the icon. The two sizes
 * below both land near 1.7px on screen, which is what the design uses.
 */
.azp .azp__icon--play {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.azp__spinner { grid-area: 1 / 1; }
.azp__icon--pause { display: none; }

.azp.is-playing .azp__icon--play,
.azp.is-loading .azp__icon--play { display: none; }
.azp.is-playing .azp__icon--pause { display: block; }
.azp.is-loading .azp__icon--pause { display: none; }

.azp__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: azp-spin 0.7s linear infinite;
}

.azp.is-loading .azp__spinner { display: block; }

@keyframes azp-spin { to { transform: rotate(360deg); } }

/* --- volume (sticky bar only) --------------------------------------------- */

.azp__volume {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--azp-muted);
}

/*
 * The mute control had no box of its own: only its icon was sized, so the
 * button wrapped an inline SVG sitting on the text baseline, leaving descender
 * space underneath. The icon looked low and the focus ring hugged that
 * lopsided shape. A fixed square with centred content fixes both.
 */
.azp__mute {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: inherit;
	transition: background-color 0.15s ease;
}

.azp__mute:hover {
	background: var(--azp-raised);
	color: var(--azp-fg);
}

.azp .azp__mute svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.azp.is-muted .azp__vol-wave { opacity: 0.3; }

/* Full height and a pill radius, so the focus ring is a neat capsule around
   the slider rather than a rectangle clipped to the track. */
.azp__volume input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 84px;
	height: 32px;
	border-radius: 999px;
	background: none;
	margin: 0;
	cursor: pointer;
}

.azp__volume input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: var(--azp-track);
}

.azp__volume input[type="range"]::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: var(--azp-track);
}

.azp__volume input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--azp-fg);
	border: 0;
}

.azp__volume input[type="range"]::-webkit-slider-runnable-track {
	margin: 14px 0;
}

.azp__volume input[type="range"]::-moz-range-track {
	margin: 14px 0;
}

.azp__volume input[type="range"]::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--azp-fg);
	border: 0;
}

/* --- progress ------------------------------------------------------------- */

.azp__progress {
	height: 3px;
	background: var(--azp-track);
	overflow: hidden;
}

.azp__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--azp-secondary);
	transition: width 0.5s linear;
}

/* --- shared text ---------------------------------------------------------- */

.azp__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.azp__listeners {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.azp .azp__ico {
	width: 15px;
	height: 15px;
	fill: currentColor;
	flex: none;
}

/*
 * The styling belongs to the field, not to the line it sits on: the title is
 * always the bold, larger one and the artist always the quieter one, whichever
 * order they are shown in. Swapping them is a matter of which paragraph the
 * markup prints first.
 */
.azp__title {
	font-weight: 700;
	letter-spacing: -0.01em;
}

.azp__artist,
.azp__time,
.azp__station,
.azp__eyebrow,
.azp__recent-head,
.azp__listeners,
.azp__empty {
	color: var(--azp-muted);
}

/* --- recently played ------------------------------------------------------ */

.azp__list li {
	display: grid;
	align-items: center;
}

.azp__track {
	min-width: 0;
}

.azp__empty {
	display: block !important;
	font-size: 0.875rem;
}

/* ==========================================================================
   Front page card — a frosted panel, same surface as the bar
   ========================================================================== */

.azp--card .azp__title,
.azp--card .azp__track,
.azp--card .azp__list li,
.azp--card .azp__badge {
	color: var(--azp-fg);
}

.azp--card .azp__artist,
.azp--card .azp__time,
.azp--card .azp__station,
.azp--card .azp__eyebrow,
.azp--card .azp__recent-head,
.azp--card .azp__listeners,
.azp--card .azp__empty,
.azp--card .azp__track-artist {
	color: var(--azp-muted);
}

.azp--card {
	/*
	 * Measured off the design: its content sits about 36px in from the panel
	 * edge, against the 18px this had. 32px lands in the same territory without
	 * looking bloated on a card that is wider than the one in the mock-up.
	 * Everything that has to reach the glass edge — the rule, the log — cancels
	 * these with negative margins, so change them here and nowhere else.
	 */
	--azp-card-pad-x: 32px;
	--azp-card-pad-b: 26px;
	max-width: 34rem;
	padding: 22px var(--azp-card-pad-x) var(--azp-card-pad-b);
	border: 1px solid var(--azp-edge);
	border-radius: var(--azp-radius);
	box-shadow: var(--azp-shadow), inset 0 1px 0 var(--azp-rim);
}

.azp--card .azp__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 20px;
	margin-bottom: 12px;
}

/* --- now playing row --- */

.azp--card .azp__hero {
	/*
	 * Grid, not flex-wrap: minmax(0, 1fr) lets the middle column shrink below
	 * its content, so a long title can never push the button onto a new line.
	 */
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.azp__art--hero {
	flex: none;
	width: var(--azp-hero-art);
	height: var(--azp-hero-art);
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--azp-edge);
	background: var(--azp-sunken);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.azp__art--hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.azp--card .azp__now {
	flex: 1 1 auto;
	min-width: 0;
}

.azp--card .azp__eyebrow {
	margin-bottom: 1px;
}

.azp--card .azp__title {
	font-size: 1.25rem;
	line-height: 1.15;
	overflow: hidden;
	white-space: nowrap;
}

/*
 * Long lines are clipped, then scrolled so the whole thing can still be read.
 * The distance and duration are measured in JS and passed in as custom
 * properties; the keyframes hold at each end so it is readable, not a treadmill.
 */
.azp__ticker {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-azp-scroll].is-scrolling .azp__ticker {
	display: inline-block;
	overflow: visible;
	text-overflow: clip;
	animation: azp-ticker var(--azp-ticker-time, 14s) linear infinite;
}

@keyframes azp-ticker {
	0%, 12%  { transform: translateX(0); }
	48%, 62% { transform: translateX(var(--azp-ticker-x, 0)); }
	98%, 100% { transform: translateX(0); }
}

.azp--card .azp__artist {
	font-size: 0.9375rem;
	overflow: hidden;
	white-space: nowrap;
}

/* --- the play button, and the only thing that pulses --- */

/*
 * The card's control is a large circle carrying only the glyph. It is the one
 * solid object on the panel and needs no word beside it to be understood.
 * Nothing is lost to screen readers: the button's aria-label is written by the
 * PHP and rewritten by azp.js on every state change, so the accessible name
 * still says Predvajaj or Ustavi. At 60px it is also a bigger target than the
 * labelled pill it replaces was on its short axis.
 */
.azp__play--lg {
	--azp-play-pad: 0;
	--azp-play-gap: 0;
	--azp-play-size: 60px;
	width: var(--azp-play-size);
	height: var(--azp-play-size);
	border-radius: 50%;
}

/*
 * The pill pinned its glyph to the button's left edge so a wider label could
 * not shove it. A circle has one place for it, and the button is already a
 * centring grid, so the glyph simply sits in the middle.
 */
.azp__play--lg .azp__glyphs {
	position: static;
	margin: 0;
	width: 28px;
	height: 28px;
}

.azp__glyphs {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
}

/*
 * The outlined triangle has to be drawn larger than a filled one to carry the
 * same weight: in the design it stands about a third of the circle's height.
 * The filled pause bars would look heavy at that size, so they stay smaller.
 */
.azp__play--lg .azp__icon {
	width: 28px;
	height: 28px;
}

.azp .azp__play--lg .azp__icon--play {
	stroke-width: 1.5;
}

.azp .azp__play--lg .azp__icon--pause {
	width: 24px;
	height: 24px;
}

.azp__play--lg .azp__spinner {
	width: 21px;
	height: 21px;
}

/*
 * The words stay in the markup — removing them would mean touching the PHP,
 * and they cost nothing here — but they are out of the layout, so the button
 * is the same circle whether it reads Predvajaj or Ustavi. Nothing about it
 * moves between states.
 */
.azp .azp__play--lg .azp__play-text {
	display: none;
}

.azp__play-text {
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
}

.azp__label--stop {
	display: none;
}

.azp.is-playing .azp__label--play,
.azp.is-loading .azp__label--play {
	display: none;
}

.azp.is-playing .azp__label--stop,
.azp.is-loading .azp__label--stop {
	display: inline;
}

/*
 * Scaling a ring worked on a circle but stretched into an ellipse once the
 * button became a pill. An expanding box-shadow follows any shape, and uses no
 * transform, so it cannot collide with the pinning above.
 */
.azp__play--lg::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	pointer-events: none;
	animation: azp-pulse 2.2s ease-out infinite;
}

.azp.is-playing .azp__play--lg::after,
.azp.is-loading .azp__play--lg::after {
	animation: none;
	box-shadow: none;
}

/*
 * Softer than it was: the button now carries a resting glow of its own, and at
 * the old strength the two stacked into one amber blob instead of reading as a
 * ring leaving a lit button.
 */
@keyframes azp-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(var(--azp-secondary-rgb), 0.45); }
	70%  { box-shadow: 0 0 0 13px rgba(var(--azp-secondary-rgb), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--azp-secondary-rgb), 0); }
}

/*
 * Progress hides itself whenever the API reports no duration, which is normal
 * for a live broadcast — so it cannot double as the separator. It stays inset
 * under the hero, tied to the track it describes.
 */
.azp--card .azp__progress {
	height: 2px;
	margin: 0 0 14px;
}

/*
 * The separator: always there, edge to edge, cancelling the card padding. It
 * doubles as the top lip of the log below, so there is no gap under it — the
 * two read as one recessed shelf rather than a line and then a box.
 */
.azp--card .azp__rule {
	height: 1px;
	margin: 0 calc(var(--azp-card-pad-x) * -1) 0;
	padding: 0;
	border: 0;
	background: var(--azp-line);
}

/*
 * The log is cut into the panel: a darker fill, its own padding, and the card's
 * bottom corners repeated 1px tighter to sit inside the border. Negative margins
 * cancel the card padding on three sides, so it reaches the glass edge.
 */
.azp--card .azp__recent {
	margin: 0 calc(var(--azp-card-pad-x) * -1) calc(var(--azp-card-pad-b) * -1);
	padding: 14px var(--azp-card-pad-x) var(--azp-card-pad-b);
	background: var(--azp-sunken);
	border-radius: 0 0 calc(var(--azp-radius) - 1px) calc(var(--azp-radius) - 1px);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.12);
}

/* --- log --- */

.azp--card .azp__recent-head {
	margin-bottom: 4px;
}

/*
 * Five rows on desktop, three on a phone; the rest are behind the toggle, so
 * the card stays short without the log being cut down permanently.
 */
.azp--card .azp__list li {
	/* `auto` sizes the clock column to its content, so the gap before the
	   artwork is the same on every row instead of a fixed guess. */
	grid-template-columns: auto var(--azp-thumb) minmax(0, 1fr);
	column-gap: 14px;
	padding: 8px 0;
}

.azp--card .azp__thumb {
	width: var(--azp-thumb);
	height: var(--azp-thumb);
	border-radius: 9px;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.75);
}

.azp--card .azp__time {
	font-size: 0.75rem;
}

/*
 * The clock column is the one thing in the log worth scanning for, so it takes
 * the accent while the titles stay white and the artists stay quiet. Three
 * classes, because the muted block above is two and would otherwise win. Set
 * --azp-time to var(--azp-muted) to put it back.
 */
.azp--card .azp__list .azp__time,
.azp--bar .azp__list .azp__time {
	color: var(--azp-time);
	font-weight: 600;
}

.azp--card .azp__track {
	display: flex;
	flex-direction: column;
	font-size: 0.875rem;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Light and small against the title's weight, the same contrast as the
   now-playing block above. Which of the two comes first is decided when the row
   is built, so there is no reordering here. */
.azp--card .azp__track-artist {
	display: block;
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--azp-muted);
}

.azp--card .azp__track-title {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
}

@media (max-width: 520px) {
	.azp { --azp-hero-art: 60px; }
	/*
	 * Through the custom properties, not a literal padding: the rule and the log
	 * cancel the card padding with negative margins, and a hard-coded value here
	 * left both hanging 4px past the glass edge.
	 */
	.azp--card {
		--azp-card-pad-x: 18px;
		--azp-card-pad-b: 20px;
		padding: 18px var(--azp-card-pad-x) var(--azp-card-pad-b);
	}
	/*
	 * The labelled pill used to drop onto its own full-width row here, because
	 * a word that long could not share a line with the title. A circle can:
	 * cover, title and control stay in one row all the way down to the
	 * narrowest phone, which is what the design shows.
	 */
	.azp--card .azp__hero { gap: 12px; }
	.azp--card .azp__title { font-size: 1.0625rem; }
	.azp__play--lg { --azp-play-size: 54px; }

	/*
	 * The middle column is narrower now that the control shares the row, and
	 * "Trenutno predvajamo" was wrapping to two lines and pushing the title
	 * down. A step smaller and it fits, which keeps the block three tidy lines
	 * against the cover.
	 */
	.azp--card .azp__eyebrow {
		font-size: 0.625rem;
		letter-spacing: 0.04em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/*
 * Below this the label no longer fits beside a 60px cover and a 54px control
 * without being cut mid-word, and a clipped "TRENUTNO PREDVAJA…" tells the
 * reader less than nothing. The two lines that carry the actual information —
 * the track and the artist — stay.
 */
@media (max-width: 380px) {
	.azp--card .azp__eyebrow {
		display: none;
	}
}

.azp__more {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid transparent;
	background-color: transparent;
	color: var(--azp-secondary);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.azp__more:hover {
	background-color: var(--azp-raised-hi);
	border-color: rgba(var(--azp-secondary-rgb), 0.5);
}

.azp__more[hidden] {
	display: none;
}

/*
 * `.azp__list li { display: grid }` outranks the browser's own
 * `[hidden] { display: none }`, so rows marked hidden kept rendering and the
 * whole log always showed. Anything this stylesheet gives a display value
 * needs its own [hidden] rule at higher specificity.
 */
.azp .azp__artist[hidden],
.azp .azp__track-artist[hidden],
.azp .azp__list li[hidden],
.azp .azp__empty[hidden],
.azp .azp__listeners[hidden],
.azp .azp__more[hidden] {
	display: none !important;
}

/* ==========================================================================
   Secondary actions — pop-up window, other ways to listen
   ========================================================================== */

.azp__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}

/*
 * Pills, in the same glass as "Prikaži več" below; the shared recipe lives in
 * the "Glass buttons" section. Side by side, so neither reads as the primary
 * control when the play button above is the primary control.
 */
.azp__action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 7px 15px;
	border-radius: 999px;
	color: var(--azp-fg);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: left;
}

/*
 * `.azp__action svg` was a single class and an element — 0,1,1 — which any
 * theme rule of the shape `.some-wrapper svg` ties and then wins on load order,
 * leaving the icon at the browser's 300×150 default in solid black. Named
 * through its own class and anchored to .azp so it outranks that, and the
 * markup now carries width, height and fill as attributes too.
 */
.azp .azp__action .azp__action-ico {
	flex: none;
	display: block;
	width: 16px;
	height: 16px;
	max-width: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.azp .azp__action .azp__chev {
	transition: transform 0.2s ease;
}

.azp__action[aria-expanded="true"] .azp__chev {
	transform: rotate(180deg);
}

/*
 * Its own line under the buttons. Handing playback to the pop-up leaves the
 * page silent, and silence with no explanation reads as a fault.
 */
.azp__note {
	flex: 1 1 100%;
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--azp-muted);
}

/* --- the panel ------------------------------------------------------------ */

.azp__options {
	margin: 0 0 14px;
	padding: 12px 14px 14px;
	border-radius: 16px;
	border: 1px solid var(--azp-line);
	background: var(--azp-sunken);
}

.azp .azp__options-intro,
.azp .azp__options-hint {
	color: var(--azp-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.azp .azp__options-hint {
	margin-top: 12px;
	font-size: 0.75rem;
}

/*
 * This is the only <ul> in the plugin, and themes are far more aggressive with
 * unordered lists than with the <ol> used for the track log: `.entry-content ul
 * li { list-style: disc }` outranks the zero-specificity reset above and put a
 * brand-coloured bullet beside every address, while the browser's own 40px
 * indent on <ul> squeezed the field and button until the row broke apart.
 * Stated again here with real specificity, and with !important on the marker
 * because the theme rule that draws it may well load after this file.
 */
.azp .azp__streams,
.azp .azp__streams > li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-indent: 0;
	/*
	 * Longhand rather than `list-style`, so exactly which properties are being
	 * forced is on the page: the type and any image the theme set. Position is
	 * left alone, since with no marker it has nothing to place.
	 */
	list-style-type: none !important;
	list-style-image: none !important;
}

/* Some themes draw their bullet as a pseudo-element instead. */
.azp .azp__streams > li::before,
.azp .azp__streams > li::after {
	content: none !important;
}

.azp__streams {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.azp__stream-name {
	display: block;
	margin-bottom: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--azp-muted);
}

/*
 * The field and its button stay on one line and shrink together. `nowrap` is
 * the default, but it is stated because a theme setting `flex-wrap: wrap` on a
 * descendant selector would otherwise drop the button underneath.
 */
.azp .azp__streams .azp__stream-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 6px;
	width: 100%;
}

/*
 * A read-only field rather than a <code> block: it can be tapped, selected and
 * dragged with no script at all, and it gives the copy fallback something to
 * select when the clipboard API is unavailable.
 */
.azp .azp__streams .azp__stream-url {
	flex: 1 1 auto;
	display: block;
	float: none;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	height: auto;
	/* Stated rather than inherited from .azp, so the padding below can never
	   push the field wider than the row that holds it. */
	box-sizing: border-box;
	margin: 0;
	padding: 7px 9px;
	border: 1px solid var(--azp-line);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.3);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	color: var(--azp-fg);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1.35;
	text-overflow: ellipsis;
}

.azp .azp__streams .azp__copy {
	flex: 0 0 auto;
	padding: 7px 12px;
	border-radius: 10px;
	border: 1px solid transparent;
	background-color: transparent;
	color: var(--azp-fg);
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.azp .azp__copy:hover {
	background-color: var(--azp-raised-hi);
}

.azp .azp__copy.is-done {
	background: var(--azp-play);
	color: var(--azp-play-glyph);
}

.azp__files {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

/*
 * Themes style links inside post content aggressively, so colour, weight and
 * underline are all stated here rather than inherited.
 */
.azp .azp__files .azp__file {
	display: inline-flex;
	align-items: center;
	padding: 6px 13px;
	border: 1px solid transparent;
	border-radius: 999px;
	background-color: transparent;
	box-shadow: none;
	color: var(--azp-fg);
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.azp .azp__files .azp__file:hover {
	background-color: var(--azp-raised-hi);
	color: var(--azp-fg);
	text-decoration: none;
}

.azp .azp__options[hidden],
.azp .azp__note[hidden],
.azp .azp__file[hidden] {
	display: none !important;
}

/* --- pop-out control in the sticky bar ------------------------------------ */

.azp__popup-btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	color: var(--azp-muted);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.azp .azp__popup-btn .azp__action-ico {
	display: block;
	width: 19px;
	height: 19px;
	max-width: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.azp__popup-btn:hover {
	background: var(--azp-raised);
	color: var(--azp-fg);
}

/* ==========================================================================
   The detached window
   ========================================================================== */

body.azp-popup {
	margin: 0;
	/*
	 * The window loads this stylesheet and nothing else — no theme, so no font
	 * family — and a document that names none gets the browser's default, which
	 * is a serif. The stack is stated here because there is nothing to inherit
	 * from. Open Sans is first for sites using it; the rest is the platform's
	 * own interface font, so this never falls back to a serif again. Set a
	 * different family, or point at a webfont, under Settings → Pop-up player.
	 */
	font-family: var(--azp-popup-font, "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);

	/* Dark form controls and scrollbars, to suit the surface. */
	color-scheme: dark;

	/*
	 * The window has no page behind it, so a frosted panel would have nothing
	 * to frost. The body supplies the backdrop itself: a deep blue-black ground
	 * with two soft lights bled into the top corners, one of them the brand
	 * blue. The panel then reads as glass over that rather than as flat grey.
	 * These values are declared here because --azp-* live on .azp and cannot
	 * reach up to the body; change them together when rebranding.
	 */
	background-color: #070b12;
	background-image:
		radial-gradient(120% 70% at 10% -10%, rgba(13, 71, 161, 0.85), transparent 68%),
		radial-gradient(80% 55% at 105% 5%, rgba(245, 166, 35, 0.22), transparent 70%);
	background-attachment: fixed;
}

.azp--popup {
	/* Through the property, so the log's negative margin still lands on it. */
	--azp-card-pad-b: 20px;
	max-width: none;
	min-height: 100vh;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding-bottom: var(--azp-card-pad-b);
}

/*
 * A column, so the log can take the leftover height. Without it the list ends
 * wherever its rows end and the rest of the window is bare panel — which in a
 * tall, narrow pop-out is most of it.
 */
.azp--popup {
	display: flex;
	flex-direction: column;
}

/* No card corners here, so the log runs square to the bottom of the window. */
.azp--popup .azp__recent {
	flex: 1 1 auto;
	border-radius: 0;
}

/* The window is narrow by definition, so the slider gets the room it needs. */
.azp--popup .azp__volume {
	flex: 1 1 140px;
}

.azp--popup .azp__volume input[type="range"] {
	width: 100%;
}

.azp-popup__noscript {
	margin: 0;
	padding: 14px 18px;
	color: #ffffff;
	font-family: system-ui, sans-serif;
	font-size: 0.875rem;
}

/* ==========================================================================
   Sticky bar
   ========================================================================== */

.azp--bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	max-width: none;
	/*
	 * The bar has no corners to catch the light, so the whole top edge does the
	 * job the card's rim does: a hairline border with a brighter line just
	 * inside it, and a deep shadow cast up the page to lift it off the content.
	 */
	border-top: 1px solid var(--azp-edge);
	box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.36), inset 0 1px 0 var(--azp-rim);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), visibility 0.3s,
		background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.azp--bar.is-visible {
	transform: none;
	visibility: visible;
}

/*
 * Over a light page. azp.js looks at what is behind the bar and adds this
 * class where it is light: the clear glass goes pale there and the white text
 * with it, so the glass turns dark, as Apple's players do. It is still glass —
 * the blur stays, so colour from the page shows faintly through.
 *
 * Tune it from the theme: `.azp--bar.is-on-light { --azp-glass-on-light: … }`.
 * Off in Settings → Sticky bar → Over light pages.
 */
.azp--bar.is-on-light {
	--azp-glass: var(--azp-glass-on-light, rgba(22, 22, 26, 0.84));
	--azp-sunken: rgba(0, 0, 0, 0.22);
	--azp-edge: rgba(255, 255, 255, 0.08);
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 var(--azp-rim);
}

.azp--bar .azp__main {
	display: grid;
	grid-template-columns: var(--azp-bar-art) minmax(0, 1fr) auto;
	align-items: center;
	/*
	 * A set height, not a minimum. The stream's three lines used to be taller
	 * than the minimum and quietly stretch the bar, so its height changed with
	 * the content — a track without an artist, or an episode, which has two
	 * lines. Sized to hold three, it is one height for all of them.
	 */
	height: var(--azp-bar-h);
	min-height: var(--azp-bar-h);
	padding: var(--azp-bar-pad-y) var(--azp-bar-pad-x);
	gap: 16px;
}

.azp--bar .azp__art {
	width: var(--azp-bar-art);
	height: var(--azp-bar-art);
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid var(--azp-edge);
	background: var(--azp-sunken);
}

.azp--bar .azp__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.azp--bar .azp__now {
	min-width: 0;
}

/*
 * Kept to roughly the height of the artwork so the bar stays shallow: the
 * three lines together come to about 46px, matching --azp-bar-art.
 */
.azp--bar .azp__badge {
	max-width: 100%;
	font-size: 0.6875rem;
	line-height: 1.2;
	margin-bottom: 0;
}

/* A long station or podcast name is cut short rather than wrapping out of
   a bar that no longer grows to fit it. */
.azp--bar .azp__badge > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azp--bar .azp__now > * {
	line-height: 1.2;
}

.azp--bar .azp__title,
.azp--bar .azp__artist {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.azp--bar .azp__title { font-size: 0.9375rem; line-height: 1.25; }
.azp--bar .azp__artist { font-size: 0.8125rem; line-height: 1.2; }

.azp--bar .azp__controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.azp--bar .azp__progress { order: -1; }

/*
 * The line along the top takes no height of its own: it overlaps the top of
 * the row beneath. So the bar is the same height with or without a track
 * length to show, and the same height again with an episode in it.
 */
.azp--bar .azp__progress {
	position: relative;
	z-index: 1;
	margin-bottom: -3px;
}

.azp--bar .azp__recent {
	order: -2;
	max-height: 42vh;
	overflow-y: auto;
	border-bottom: 1px solid var(--azp-line);
	padding: 14px var(--azp-bar-pad-x) 16px;
	background: var(--azp-sunken);
}

.azp--bar .azp__recent-head {
	margin-bottom: 8px;
}

.azp--bar .azp__list li {
	grid-template-columns: auto 28px minmax(0, 1fr);
	column-gap: 9px;
	padding: 5px 0;
	font-size: 0.875rem;
}

.azp--bar .azp__list li + li {
	border-top: 1px solid var(--azp-line);
}

.azp--bar .azp__thumb {
	width: 28px;
	height: 28px;
	border-radius: 9px;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.75);
}

/*
 * One line in the bar, so the two names need something between them. The dash
 * goes on whichever is second — the order is a setting — and only when the one
 * before it is actually on screen, so a track with no artist does not start
 * with a stray dash.
 */
.azp--bar .azp__track > *:not([hidden]) + *:not([hidden])::before {
	content: " — ";
}

/*
 * Themes routinely style `li` and list text globally, which was landing dark
 * text on the blue bar. Nothing here relies on inheritance reaching this far.
 */
.azp--bar .azp__recent,
.azp--bar .azp__recent-head,
.azp--bar .azp__list,
.azp--bar .azp__list li,
.azp--bar .azp__track,
.azp--bar .azp__title,
.azp--bar .azp__badge,
.azp--bar .azp__station {
	color: var(--azp-fg);
}

.azp--bar .azp__time,
.azp--bar .azp__track-artist,
.azp--bar .azp__artist,
.azp--bar .azp__listeners,
.azp--bar .azp__recent-head,
.azp--bar .azp__empty {
	color: var(--azp-muted);
}

.azp__expand {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	color: var(--azp-muted);
}

.azp .azp__expand svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s ease;
}

.azp__expand:hover { color: var(--azp-fg); }
.azp.is-expanded .azp__expand svg { transform: rotate(180deg); }

/* Room at the foot of the page for the bar: its row plus its 1px top edge,
   so the last line of content is never hidden behind it. */
html.azp-bar-on body {
	padding-bottom: 77px;
}

@media (max-width: 700px) {
	.azp--bar {
		--azp-bar-h: 60px;
		--azp-bar-art: 40px;
		--azp-bar-pad-x: 14px;
		--azp-bar-pad-y: 8px;
	}
	.azp--bar .azp__volume { display: none; }
	.azp--bar .azp__artist { display: none; }
	/*
	 * A pop-up window is a desktop idea: phone browsers open it as another tab,
	 * which is not what the icon promises, and switching back to the site
	 * usually pauses it. Settings → Pop-up player can override this, which
	 * removes the class rather than changing the rule.
	 */
	.azp .azp--desktop-only,
	.azp--bar .azp--desktop-only { display: none; }

	/*
	 * Two pills with labels this long do not sit side by side on a phone. Full
	 * width each, so they read as a deliberate stack rather than a wrap.
	 */
	.azp .azp__actions .azp__action {
		flex: 1 1 100%;
		justify-content: center;
	}

	.azp--bar .azp__main { gap: 12px; }
	html.azp-bar-on body { padding-bottom: 61px; }
	.azp--bar .azp__list li { grid-template-columns: auto minmax(0, 1fr); }
	.azp--bar .azp__thumb { display: none; }
}

/* --- states --------------------------------------------------------------- */

.azp.is-blocked .azp__badge {
	color: var(--azp-secondary);
	opacity: 1;
}

/*
 * Offline is shown in the status line, never by disabling the button. A
 * control that does nothing when pressed, with no explanation, is worse than
 * one that tries and reports a failure.
 */
.azp.is-offline .azp__play {
	opacity: 0.55;
}

/* ==========================================================================
   Podcast episodes
   ========================================================================== */

/*
 * One class on the bar switches it between the stream and an episode. Both
 * sets of parts are always in the markup; this decides which are seen. It is
 * !important because it is a state switch, and a component rule that happens
 * to set display — `.azp__popup-btn { display: grid }` — must not undo it.
 */
.azp--bar:not(.is-episode) .azp--ep-only,
.azp--bar.is-episode .azp--live-only {
	display: none !important;
}

/* --- the bar, episode mode ------------------------------------------------ */

.azp .azp__mic {
	flex: none;
	width: 15px;
	height: 15px;
}

.azp--bar .azp__now--ep .azp__title a {
	color: inherit;
	text-decoration: none;
}

.azp--bar .azp__now--ep .azp__title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp__ep-clock {
	font-size: 0.75rem;
	line-height: 1.2;
	color: var(--azp-muted);
	font-variant-numeric: tabular-nums;
}

.azp__skip {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--azp-fg);
	transition: background-color 0.15s ease;
}

.azp__skip:hover {
	background: var(--azp-raised);
}

.azp .azp__skip-ico {
	display: block;
	width: 24px;
	height: 24px;
}

.azp__rate {
	flex: none;
	min-width: 46px;
	height: 30px;
	padding: 0 9px;
	border: 1px solid var(--azp-edge);
	border-radius: 999px;
	color: var(--azp-fg);
	font-size: 0.75rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.azp__rate:hover {
	background: var(--azp-raised);
	border-color: rgba(255, 255, 255, 0.34);
}

/*
 * "V živo" — the way back to the stream. Amber like the live badge, so it
 * reads as the station rather than as one more transport control.
 */
.azp__golive {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px 0 9px;
	border: 1px solid rgba(var(--azp-secondary-rgb), 0.6);
	border-radius: 999px;
	color: var(--azp-play-hover);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.15s ease;
}

.azp__golive:hover {
	background: rgba(var(--azp-secondary-rgb), 0.16);
}

.azp .azp__golive .azp__live {
	width: 15px;
	height: 15px;
}

/*
 * The episode's seek bar, in the row between the episode and the buttons.
 * Four columns in episode mode — art, episode, seek, buttons — where the
 * stream has three, so the row keeps its height.
 */
.azp--bar.is-episode .azp__main {
	grid-template-columns: var(--azp-bar-art) minmax(0, 1fr) minmax(180px, 1.35fr) auto;
}

.azp--bar .azp__seek {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.azp__ep-time {
	flex: none;
	min-width: 2.8em;
	font-size: 0.75rem;
	color: var(--azp-muted);
	font-variant-numeric: tabular-nums;
}

.azp__seek .azp__ep-time:first-child { text-align: right; }

/* On a desktop the clock is beside the seek bar; above it only on a phone. */
.azp--bar .azp__now--ep .azp__ep-clock { display: none; }

/* The phone's progress line for an episode. Hidden where the seek bar shows. */
.azp--bar .azp__progress--ep { display: none; }

/* --- the seek slider, shared by the bar and the episode card ---------------- */

/*
 * 4px to see, 18px to grab.
 *
 * A browser slider's handle does not travel the full width: its centre runs
 * from half a handle in at one end to half a handle in at the other. A fill
 * drawn as a plain percentage of the track therefore ran ahead of the handle
 * in the second half — 5.5px at 90% — and behind it in the first. The fill
 * here follows the same path as the handle's centre, from --azp-frac (0–1).
 */
.azp__range {
	--azp-thumb: 13px;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 18px;
	margin: 0;
	background: none;
	cursor: pointer;
}

.azp__range:disabled {
	cursor: default;
	opacity: 0.5;
}

.azp__range::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to right,
		var(--azp-secondary) calc(var(--azp-thumb) / 2 + (100% - var(--azp-thumb)) * var(--azp-frac, 0)),
		var(--azp-track) 0);
}

.azp__range::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: var(--azp-track);
}

.azp__range::-moz-range-progress {
	height: 4px;
	border-radius: 2px;
	background: var(--azp-secondary);
}

.azp__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: var(--azp-thumb);
	height: var(--azp-thumb);
	margin-top: calc((4px - var(--azp-thumb)) / 2);
	border: 0;
	border-radius: 50%;
	background: var(--azp-fg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s ease;
}

.azp__range::-moz-range-thumb {
	width: var(--azp-thumb);
	height: var(--azp-thumb);
	border: 0;
	border-radius: 50%;
	background: var(--azp-fg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s ease;
}

.azp__range:hover::-webkit-slider-thumb,
.azp__range:active::-webkit-slider-thumb { transform: scale(1.2); }
.azp__range:hover::-moz-range-thumb,
.azp__range:active::-moz-range-thumb { transform: scale(1.2); }

.azp__range:disabled::-webkit-slider-thumb { transform: scale(0); }
.azp__range:disabled::-moz-range-thumb { transform: scale(0); }

/*
 * Mid-width screens: the seek bar needs its room more than the volume slider
 * does, so the slider goes and the mute button stays.
 */
@media (max-width: 1080px) {
	.azp--bar.is-episode .azp__volume input[type="range"] { display: none; }
}

@media (max-width: 700px) {
	.azp--bar.is-episode .azp__main {
		grid-template-columns: var(--azp-bar-art) minmax(0, 1fr) auto;
	}
	.azp--bar .azp__seek { display: none !important; }
	.azp--bar .azp__now--ep .azp__ep-clock { display: block; }
	.azp--bar.is-episode .azp__progress--ep { display: block; }

	.azp--bar .azp__controls { gap: 4px; }
	.azp__skip { width: 36px; height: 36px; }
	.azp--bar .azp__rate { display: none; }

	/* Icon only; the label stays for screen readers through aria-label. */
	.azp__golive { padding: 0; width: 36px; justify-content: center; }
	.azp__golive-text { display: none; }

	/*
	 * Three lines do not fit a 60px bar, so the show name gives way to the
	 * clock — except when it is carrying a message ("Kliknite za predvajanje").
	 */
	.azp--bar .azp__now--ep .azp__badge { display: none; }
	.azp--bar.is-blocked .azp__now--ep .azp__badge,
	.azp--bar.is-failed .azp__now--ep .azp__badge { display: inline-flex; }
	.azp--bar.is-blocked .azp__now--ep .azp__ep-clock,
	.azp--bar.is-failed .azp__now--ep .azp__ep-clock { display: none; }
}

/* --- shared by the card, the list and the inline button ------------------- */

/*
 * Both run the full width of the content column. To cap them, set
 * --azp-ep-max, e.g. `.azp { --azp-ep-max: 40rem; }` in the theme.
 *
 * These sit in the page's own content, whose background this plugin cannot
 * know — often plain white. The live card is tuned to a photograph; these get
 * a denser glass so white text holds on anything. Override --azp-glass on
 * .azp--episode or .azp--episodes to match the live card instead.
 */
.azp--episode,
.azp--episodes {
	--azp-glass: rgba(24, 24, 28, 0.78);
	--azp-sunken: rgba(0, 0, 0, 0.18);
}

.azp__ep-progress {
	display: block;
	height: 3px;
	border-radius: 2px;
	background: var(--azp-track);
	overflow: hidden;
}

.azp__ep-progress > span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--azp-secondary);
}

.azp__ep-resume {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--azp-play-hover);
}

.azp .azp__ep-progress[hidden],
.azp .azp__ep-resume[hidden] {
	display: none !important;
}

/* --- the episode card ------------------------------------------------------ */

/*
 * A full player for one episode. With room — 560px of the theme's content
 * column and up — a large square cover on the left, and beside it, top to
 * bottom: the podcast, the title, the date and length, the waveform, the
 * controls. Narrower, the cover shrinks beside the text and the waveform and
 * controls take the full width under it.
 *
 * The layouts follow the player's own width, not the screen's, through a
 * container query. The narrow one is the default, so a browser without
 * container queries gets the layout that fits anywhere.
 */
.azp--episode {
	container-type: inline-size;
	max-width: var(--azp-ep-max, none);
	margin: 0 0 1.75em;
	padding: 18px;
	border: 1px solid var(--azp-edge);
	border-radius: var(--azp-radius);
	box-shadow: var(--azp-shadow);
}

.azp__ep-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"art  info"
		"wave wave"
		"ctrl ctrl";
	align-items: center;
	gap: 14px 16px;
}

.azp__ep-art {
	grid-area: art;
	width: 88px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid var(--azp-edge);
	background: var(--azp-sunken);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.azp__ep-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.azp__ep-info {
	grid-area: info;
	min-width: 0;
}

.azp--episode .azp__ep-show {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.azp .azp__ep-title {
	margin: 2px 0 4px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.azp .azp__ep-title a {
	color: inherit;
	text-decoration: none;
}

.azp .azp__ep-title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp__ep-meta {
	font-size: 0.8125rem;
	color: var(--azp-muted);
}

/* Break between the date and the length, never inside "2 min". */
.azp__ep-meta > time,
.azp__ep-meta > span:not(.azp__ep-dot),
.azp__ep-row-meta > time,
.azp__ep-row-meta > span:not(.azp__ep-dot) {
	white-space: nowrap;
}

/* "Nadaljuj pri 12:34" or "Poslušano": a small tag after the date. As a tag it
   reads as deliberate on the same line or wrapped onto the next. */
.azp__ep-meta .azp__ep-resume {
	display: inline-block;
	margin-left: 2px; /* After the space in the markup; wrapped, the space goes and so does the gap. */
	padding: 1px 8px;
	border: 1px solid rgba(var(--azp-secondary-rgb), 0.55);
	border-radius: 999px;
	font-size: 0.6875rem;
	line-height: 1.5;
	vertical-align: 1px;
}

/* --- the waveform --- */

.azp__wave {
	grid-area: wave;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.azp__wave-track {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border-radius: 6px;
}

.azp__wave-bars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.azp__wave-bars path {
	fill: none;
	stroke-width: 3px;
	stroke-linecap: round;
}

.azp__wave-bars--base path { stroke: rgba(255, 255, 255, 0.26); }
.azp__wave-bars--fill path { stroke: var(--azp-secondary); }

/* The played part: the same bars in amber, cut off at the playhead. */
.azp__wave-bars--fill {
	clip-path: inset(0 calc((1 - var(--azp-frac, 0)) * 100%) 0 0);
}

/* The playhead. Absent at the very start, so an unplayed episode shows none. */
.azp__wave-head {
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: calc(var(--azp-frac, 0) * 100%);
	width: 2px;
	margin-left: -1px;
	border-radius: 1px;
	background: var(--azp-fg);
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
	opacity: min(1, calc(var(--azp-frac, 0) * 10000));
	pointer-events: none;
}

/*
 * The slider on top: the real control, invisible. It covers the waveform, so a
 * click or drag anywhere on the bars seeks there, the keyboard works, and a
 * screen reader announces a slider with the time. Its handle is a hairline so
 * that where you click is exactly where it seeks.
 */
.azp .azp__wave-input {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.azp__wave-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 1px;
	height: 44px;
}

.azp__wave-input::-moz-range-thumb {
	width: 1px;
	height: 44px;
	border: 0;
}

.azp .azp__wave-input:disabled {
	cursor: default;
}

/* The slider is invisible, so its keyboard focus is shown on the waveform. */
.azp__wave-track:has(.azp__wave-input:focus-visible) {
	outline: 2px solid var(--azp-secondary);
	outline-offset: 5px;
}

.azp__wave-time {
	flex: none;
	font-size: 0.8125rem;
	color: var(--azp-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* --- the controls --- */

.azp__ep-controls {
	grid-area: ctrl;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
}

.azp__ep-controls .azp__rate { justify-self: start; }
.azp__ep-controls .azp__volume { justify-self: end; }

.azp__ep-transport {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* The live card's play button pulses to invite a first press. On an
   episode's own page there is nothing to invite; it is plainly the point. */
.azp--episode .azp__play--lg::after {
	display: none;
}

.azp--episode .azp__play--lg { --azp-play-size: 54px; }

.azp--episode .azp__skip {
	width: 40px;
	height: 40px;
}

.azp--episode .azp__skip-ico {
	width: 27px;
	height: 27px;
}

.azp--episode .azp__volume input[type="range"] { width: 84px; }

/* With room: the cover down the whole left side, everything else beside it. */
@container (min-width: 560px) {
	.azp__ep-inner {
		grid-template-areas:
			"art info"
			"art wave"
			"art ctrl";
		gap: 12px 24px;
	}
	.azp__ep-art {
		width: 196px;
		border-radius: 16px;
		align-self: center;
	}
	.azp .azp__ep-title { font-size: 1.25rem; }
}

@container (min-width: 900px) {
	.azp__ep-art { width: 220px; }
}

/* A phone's volume is its buttons; browsers there ignore the slider. */
@media (max-width: 520px) {
	.azp--episode .azp__volume { display: none; }
}

/* --- a video episode's card ------------------------------------------------ */

/*
 * The picture on top at the full width of the player, 16:9; under it the
 * podcast, title, date and length, the waveform and the controls, as for
 * audio. There is no square cover — the poster is the picture.
 */
.azp--video .azp__ep-inner {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"stage"
		"info";
	gap: 14px;
}

.azp--video .azp__ep-info {
	padding: 0 4px;
}

.azp__stage {
	grid-area: stage;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 14px;
	background: #000;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.azp__stage-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.azp .azp__stage-poster[hidden],
.azp .azp__stage-frame[hidden] {
	display: none;
}

/*
 * A frame from the video, framed the way the video will play — letterboxed,
 * not cropped — so the picture before play is the picture during it.
 */
.azp__stage-frame {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	cursor: pointer;
}

/* The large play button over the poster. */
.azp .azp__stage-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: var(--azp-play);
	color: var(--azp-play-glyph);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), var(--azp-play-glow);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.azp .azp__stage-play:hover {
	background: var(--azp-play-hover);
	transform: scale(1.05);
}

.azp .azp__stage-play .azp__glyphs,
.azp .azp__stage-play .azp__icon {
	width: 32px;
	height: 32px;
}

/* Playing: the video takes the stage; the poster and play button step aside. */
.azp__stage.has-video .azp__stage-poster,
.azp__stage.has-video .azp__stage-frame,
.azp__stage.has-video .azp__stage-play {
	display: none;
}

.azp .azp__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	cursor: pointer;
}

/* --- the video's own controls --------------------------------------------- */

/*
 * A video player's controls over the bottom of the picture, on a shade that
 * keeps them readable on any frame. They appear once the video is playing in
 * the player. While it plays they fade after a moment of stillness and the
 * pointer hides with them; any movement, touch or key brings them back.
 * Paused, or with keyboard focus inside, they stay. White on the shade —
 * this is a picture, not the glass panel.
 */
.azp__vbar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: none;
	padding: 34px 12px 8px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0));
	color: #fff;
	transition: opacity 0.25s ease;
}

.azp__stage.has-video .azp__vbar { display: block; }

.azp--episode.is-playing .azp__stage.has-video:not(.is-active):not(:has(:focus-visible)) .azp__vbar {
	opacity: 0;
}

.azp--episode.is-playing .azp__stage.has-video:not(.is-active):not(:has(:focus-visible)) {
	cursor: none;
}

.azp__vseek {
	margin: 0 2px 4px;
}

/*
 * The seek bar: played in amber, loaded in light grey, the rest faint. Both
 * stops follow the handle's own path, as on the other seek bars. It thickens
 * under the pointer so it is easy to hit.
 */
.azp .azp__vseek-input {
	height: 16px;
}

.azp .azp__vseek-input::-webkit-slider-runnable-track {
	height: 4px;
	background: linear-gradient(to right,
		var(--azp-secondary) calc(var(--azp-thumb) / 2 + (100% - var(--azp-thumb)) * var(--azp-frac, 0)),
		rgba(255, 255, 255, 0.5) 0 calc(var(--azp-thumb) / 2 + (100% - var(--azp-thumb)) * var(--azp-buf, 0)),
		rgba(255, 255, 255, 0.22) 0);
	transition: height 0.12s ease;
}

.azp .azp__vseek-input:hover::-webkit-slider-runnable-track {
	height: 6px;
}

.azp .azp__vseek-input:hover::-webkit-slider-thumb {
	margin-top: calc((6px - var(--azp-thumb)) / 2);
}

.azp .azp__vseek-input::-moz-range-track {
	height: 4px;
	background: linear-gradient(to right,
		rgba(255, 255, 255, 0.5) calc(100% * var(--azp-buf, 0)),
		rgba(255, 255, 255, 0.22) 0);
}

.azp__vrow {
	display: flex;
	align-items: center;
	gap: 2px;
}

.azp .azp__vbtn {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.15s ease;
}

.azp .azp__vbtn:hover { background: rgba(255, 255, 255, 0.16); }
.azp .azp__vbtn[hidden] { display: none; }

.azp .azp__vplay .azp__glyphs,
.azp .azp__vplay .azp__icon {
	width: 24px;
	height: 24px;
}

.azp .azp__vskip .azp__skip-ico {
	width: 24px;
	height: 24px;
}

.azp__vbar .azp__volume {
	margin: 0 4px 0 2px;
}

.azp__vbar .azp__volume input[type="range"] {
	width: 72px;
}

.azp__vtime {
	margin-left: 6px;
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.92);
}

.azp__vspacer { flex: 1 1 auto; }

.azp .azp__vrate {
	width: auto;
	min-width: 44px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* The whole player, full screen: the picture fills it, the controls stay ours. */
.azp__stage:fullscreen {
	aspect-ratio: auto;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
}

.azp__stage:-webkit-full-screen {
	aspect-ratio: auto;
	width: 100%;
	height: 100%;
	border-radius: 0;
}

.azp__stage:fullscreen .azp__vbar { padding: 60px 24px 16px; }

/* Narrow players: the volume slider goes (a phone's volume is its buttons),
   picture-in-picture goes, the rest tightens. */
@container (max-width: 480px) {
	.azp__vbar { padding: 28px 8px 6px; }
	.azp .azp__vbtn { width: 34px; height: 34px; }
	.azp__vbar .azp__volume,
	.azp__vbar [data-azp-pip] { display: none; }
	.azp__vtime { margin-left: 2px; font-size: 0.75rem; }
}

/* --- the floating window, while browsing other pages ------------------------ */

/*
 * Above the bar's right end. Its own z-index just over the bar's, so the two
 * never fight. The glass of .azp is switched off: this is a picture.
 */
.azp.azp--mini {
	position: fixed;
	right: 16px;
	bottom: calc(77px + 14px + env(safe-area-inset-bottom, 0px));
	z-index: 99991;
	width: 340px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid var(--azp-edge);
	border-radius: 14px;
	background: #000;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.azp.azp--mini[hidden] {
	display: none;
}

.azp__mini-stage {
	position: absolute;
	inset: 0;
}

/* Open the episode's page, full screen, close — shown on hover or focus,
   and always on touch screens, which have no hover. */
.azp__mini-tools {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	gap: 6px;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.azp--mini:hover .azp__mini-tools,
.azp--mini:focus-within .azp__mini-tools {
	opacity: 1;
}

@media (hover: none) {
	.azp__mini-tools { opacity: 1; }
}

.azp .azp__mini-btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.azp .azp__mini-btn:hover { background: rgba(0, 0, 0, 0.85); }

@media (max-width: 700px) {
	.azp.azp--mini {
		right: 10px;
		bottom: calc(61px + 10px + env(safe-area-inset-bottom, 0px));
		width: min(60vw, 260px);
	}
}

/* --- the episode list ------------------------------------------------------ */

.azp--episodes {
	max-width: var(--azp-ep-max, none);
	margin: 0 0 1.75em;
	padding: 18px 22px 8px;
	border: 1px solid var(--azp-edge);
	border-radius: var(--azp-radius);
	box-shadow: var(--azp-shadow);
}

.azp--episodes .azp__eps {
	margin-top: 8px;
}

.azp .azp__ep-row {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
}

.azp .azp__ep-row + .azp__ep-row {
	border-top: 1px solid var(--azp-line);
}

.azp__ep-thumb {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--azp-sunken);
}

.azp__ep-row-body {
	min-width: 0;
}

.azp .azp__ep-row-title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--azp-fg);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.azp .azp__ep-row-title:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp .azp__ep-row.is-current .azp__ep-row-title {
	color: var(--azp-play-hover);
}

.azp__ep-row-meta {
	display: block;
	font-size: 0.8125rem;
	color: var(--azp-muted);
}

.azp__ep-row-meta .azp__ep-resume::before {
	content: " · ";
	color: var(--azp-muted);
	font-weight: 400;
}

.azp__ep-row .azp__ep-progress {
	margin-top: 6px;
}

.azp__ep-row-btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--azp-play);
	color: var(--azp-play-glyph);
	box-shadow: 0 4px 14px rgba(var(--azp-secondary-rgb), 0.3);
	transition: background-color 0.15s ease;
}

.azp__ep-row-btn:hover {
	background: var(--azp-play-hover);
}

/* Rows are not .azp scopes, so the glyph swap is spelled out for them. */
.azp__ep-row.is-playing .azp__icon--play,
.azp__ep-row.is-loading .azp__icon--play,
.azp__ep-row.is-loading .azp__icon--pause { display: none; }
.azp__ep-row.is-playing .azp__icon--pause,
.azp__ep-row.is-loading .azp__spinner { display: block; }

.azp--episodes .azp__glyphs {
	display: grid;
	place-items: center;
}

/* --- the inline button, in lists the theme prints -------------------------- */

/*
 * Not a panel: a button among the theme's own text. So none of the glass,
 * and the text colour is the theme's — the wrapper can sit on anything.
 */
.azp.azp--inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 0.9em;
	color: inherit;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	font-size: 1rem;
}

.azp__ep-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 6px 16px 6px 10px;
	border-radius: 999px;
	background: var(--azp-play);
	color: var(--azp-play-glyph);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 4px 14px rgba(var(--azp-secondary-rgb), 0.28);
	transition: background-color 0.15s ease;
}

.azp__ep-inline:hover {
	background: var(--azp-play-hover);
}

.azp__ep-inline .azp__glyphs {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
}

.azp .azp__ep-inline .azp__icon {
	width: 18px;
	height: 18px;
}

.azp .azp__ep-inline .azp__spinner {
	width: 15px;
	height: 15px;
}

.azp__ep-inline-meta {
	font-weight: 500;
	opacity: 0.82;
}

/* Beside the button, in the theme's colour — it is the theme's background. */
.azp--inline .azp__ep-resume {
	color: inherit;
	opacity: 0.8;
}

/* --- page builder elements ----------------------------------------------- */

/*
 * Inside a builder element, spacing is the builder's: Design Options set the
 * margins, so the cards' own bottom margin is dropped.
 */
.azp-el > .azp--episode,
.azp-el > .azp--ep-mini {
	margin: 0;
}

/*
 * A player element placed on an episode's page stands in for the automatic
 * card. The PHP leaves that card out when it sees the element in time; this
 * catches the order it cannot see — the episode's text rendered before the
 * element in a template.
 */
body:has(.azp--placed) .azp--episode.azp--auto {
	display: none;
}

/* --- the mini player ------------------------------------------------------- */

/*
 * One episode in a loop: cover, title, length, play and "Več". A row by
 * default, a card with the cover on top for grids. The row follows its own
 * width through a container query: narrow, the buttons drop under the text.
 */
.azp--ep-mini {
	--azp-glass: rgba(24, 24, 28, 0.78);
	--azp-sunken: rgba(0, 0, 0, 0.18);
	--azp-mini-art: 64px;
	--azp-mini-radius: 18px;

	container-type: inline-size;
	margin: 0 0 1em;
	padding: 12px;
	border: 1px solid var(--azp-edge);
	border-radius: var(--azp-mini-radius);
	box-shadow: var(--azp-shadow);
}

.azp__mini-inner {
	display: grid;
	grid-template-columns: var(--azp-mini-art) minmax(0, 1fr) auto;
	grid-template-areas: "art body actions";
	align-items: center;
	gap: 8px 14px;
}

.azp--no-art .azp__mini-inner {
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "body actions";
}

.azp .azp__mini-art {
	grid-area: art;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--azp-sunken);
}

.azp__mini-art img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.azp__mini-art:hover img {
	transform: scale(1.04);
}

.azp__mini-body {
	grid-area: body;
	min-width: 0;
}

.azp .azp__mini-show {
	margin: 0 0 1px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.75rem;
}

.azp .azp__mini-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--azp-fg);
	/* Two lines at most; the full title is on the episode's page. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.azp .azp__mini-title a {
	color: inherit;
	text-decoration: none;
}

.azp .azp__mini-title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp.azp--ep-mini.is-current .azp__mini-title {
	color: var(--azp-play-hover);
}

.azp .azp__mini-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 6px;
	margin: 3px 0 0;
	font-size: 0.8125rem;
	color: var(--azp-muted);
}

.azp__mini-meta:empty {
	display: none;
}

.azp__mini-meta > time,
.azp__mini-len {
	white-space: nowrap;
}

.azp__mini-len {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.azp .azp__mini-ico {
	flex: none;
	width: 14px;
	height: 14px;
	opacity: 0.85;
}

/* "Nadaljuj pri 12:34" / "Poslušano" as a small tag. */
.azp__mini-meta .azp__ep-resume {
	display: inline-block;
	padding: 0 7px;
	border: 1px solid rgba(var(--azp-secondary-rgb), 0.55);
	border-radius: 999px;
	font-size: 0.6875rem;
	line-height: 1.6;
	white-space: nowrap;
}

.azp--ep-mini .azp__ep-progress {
	margin-top: 8px;
}

.azp__mini-actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	gap: 8px;
}

.azp .azp__mini-play {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--azp-play);
	color: var(--azp-play-glyph);
	box-shadow: 0 4px 14px rgba(var(--azp-secondary-rgb), 0.3);
	transition: background-color 0.15s ease;
}

.azp .azp__mini-play:hover {
	background: var(--azp-play-hover);
}

.azp__mini-play .azp__glyphs {
	display: grid;
	place-items: center;
}

.azp .azp__mini-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 12px 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--azp-fg);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.azp .azp__mini-more:hover {
	border-color: rgba(255, 255, 255, 0.45);
	background-color: rgba(255, 255, 255, 0.18);
	color: var(--azp-fg);
}

.azp .azp__mini-more svg {
	flex: none;
	transition: transform 0.15s ease;
}

.azp .azp__mini-more:hover svg {
	transform: translateX(2px);
}

/* Narrow rows: the buttons go under the text, beside the cover. */
@container (max-width: 400px) {
	.azp--ep-mini-row .azp__mini-inner {
		grid-template-areas:
			"art body"
			"art actions";
		grid-template-columns: var(--azp-mini-art) minmax(0, 1fr);
		align-items: start;
	}
	.azp--ep-mini-row.azp--no-art .azp__mini-inner {
		grid-template-areas: "body" "actions";
		grid-template-columns: minmax(0, 1fr);
	}
	.azp--ep-mini-row .azp__mini-art {
		align-self: center;
	}
}

/*
 * The card: the cover on top at full width, the buttons along the bottom.
 * It fills its grid cell, so cards in a row end level and their buttons line
 * up, whatever the length of the titles.
 */
.azp-el--mini:has(> .azp--ep-mini-card),
.azp--ep-mini-card {
	height: 100%;
}

.azp--ep-mini-card .azp__mini-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	height: 100%;
}

.azp--ep-mini-card .azp__mini-art {
	width: 100%;
	border-radius: 12px;
}

.azp--ep-mini-card .azp__mini-body {
	padding: 0 2px;
}

.azp--ep-mini-card .azp__mini-actions {
	justify-content: space-between;
	margin-top: auto;
	padding: 0 2px 2px;
}

/*
 * Plain: no panel, and the theme's own text colour, for light sections and
 * list designs of the theme's. Only the amber play button stays.
 */
.azp.azp--plain {
	--azp-fg: currentColor;
	--azp-muted: color-mix(in srgb, currentColor 68%, transparent);
	--azp-line: color-mix(in srgb, currentColor 14%, transparent);
	--azp-track: color-mix(in srgb, currentColor 14%, transparent);
	--azp-sunken: color-mix(in srgb, currentColor 8%, transparent);

	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.azp--plain .azp__mini-more,
.azp--plain .azp__mini-more:hover {
	border-color: color-mix(in srgb, currentColor 30%, transparent);
	background-color: transparent;
}

.azp--plain .azp__mini-more:hover {
	border-color: currentColor;
}

.azp--plain .azp__mini-meta .azp__ep-resume {
	color: inherit;
}

/* Amber text would be faint on a light theme; the play button marks it. */
.azp.azp--plain.is-current .azp__mini-title {
	color: inherit;
}

/* --- the episode showcase ------------------------------------------------ */

/*
 * A podcast at a glance: its cover on the left, a grid of episodes beside it.
 * A deep panel of its own, dark charcoal into navy, so it reads the same on
 * any section. Every colour is a variable:
 *
 *   .azp--showcase {
 *     --azp-sc-bg: linear-gradient(100deg, #1b1c20, #233f75);
 *     --azp-sc-card: rgba(16, 30, 64, .45);
 *     --azp-sc-edge: rgba(120, 150, 210, .28);
 *   }
 *
 * The cover is always square and sets the panel's height; the episode cards
 * share that height between their rows. The cover column's width follows
 * the rows beside it (rows / (rows + columns × 1.3), kept between 22% and 50%,
 * and at most --azp-sc-cover-max) so the cards keep a workable shape. Each card is a size container and
 * tightens its own type when it gets short.
 *
 * Type is set in em against the player's own 16px, not rem: a theme with a
 * larger root size would otherwise blow the titles up.
 */
.azp.azp--showcase {
	--azp-sc-bg: linear-gradient(100deg, #1b1c20 0%, #1b2b50 48%, #24417a 100%);
	--azp-sc-card: rgba(16, 30, 64, 0.42);
	--azp-sc-edge: rgba(120, 150, 210, 0.28);
	--azp-sc-gap: 20px;
	--azp-sc-pad: 32px;
	--azp-sc-radius: 26px;
	--azp-sc-card-radius: 18px;
	--azp-sc-c: 3;
	--azp-sc-r: 2;
	--azp-sc-r2: 3;
	--azp-sc-cover-max: 480px;

	container: azp-sc / inline-size;
	margin: 0;
	padding: var(--azp-sc-pad);
	border-radius: var(--azp-sc-radius);
	background: var(--azp-sc-bg);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	color: #fff;
	font-size: 16px;
}

.azp.azp--sc-cols-1 { --azp-sc-c: 1; }
.azp.azp--sc-cols-2 { --azp-sc-c: 2; }
.azp.azp--sc-cols-3 { --azp-sc-c: 3; }
.azp.azp--sc-cols-4 { --azp-sc-c: 4; }
.azp.azp--sc-r-1 { --azp-sc-r: 1; }
.azp.azp--sc-r-2 { --azp-sc-r: 2; }
.azp.azp--sc-r-3 { --azp-sc-r: 3; }
.azp.azp--sc-r-4 { --azp-sc-r: 4; }
.azp.azp--sc-r-5 { --azp-sc-r: 5; }
.azp.azp--sc-r-6 { --azp-sc-r: 6; }
.azp.azp--sc-r-7 { --azp-sc-r: 7; }
.azp.azp--sc-r-8 { --azp-sc-r: 8; }
.azp.azp--sc-r-9 { --azp-sc-r: 9; }
.azp.azp--sc-r-10 { --azp-sc-r: 10; }
.azp.azp--sc-r-11 { --azp-sc-r: 11; }
.azp.azp--sc-r-12 { --azp-sc-r: 12; }
.azp.azp--sc-r2-1 { --azp-sc-r2: 1; }
.azp.azp--sc-r2-2 { --azp-sc-r2: 2; }
.azp.azp--sc-r2-3 { --azp-sc-r2: 3; }
.azp.azp--sc-r2-4 { --azp-sc-r2: 4; }
.azp.azp--sc-r2-5 { --azp-sc-r2: 5; }
.azp.azp--sc-r2-6 { --azp-sc-r2: 6; }
.azp.azp--sc-r2-7 { --azp-sc-r2: 7; }
.azp.azp--sc-r2-8 { --azp-sc-r2: 8; }
.azp.azp--sc-r2-9 { --azp-sc-r2: 9; }
.azp.azp--sc-r2-10 { --azp-sc-r2: 10; }
.azp.azp--sc-r2-11 { --azp-sc-r2: 11; }
.azp.azp--sc-r2-12 { --azp-sc-r2: 12; }

.azp__sc-inner {
	display: grid;
	grid-template-columns:
		min(var(--azp-sc-cover-max), calc((100% - var(--azp-sc-gap)) * clamp(0.22, var(--azp-sc-r) / (var(--azp-sc-r) + var(--azp-sc-c) * 1.3), 0.5)))
		minmax(0, 1fr);
	gap: var(--azp-sc-gap);
	align-items: start;
}

/* Square, edge to edge in its rounded box. */
.azp__sc-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1.5px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--azp-sc-card-radius);
	background: rgba(255, 255, 255, 0.04);
}

.azp .azp__sc-cover img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

/*
 * height: 0 with min-height: 100% keeps the cards out of the row's sizing:
 * the cover alone decides the height, and the cards' rows share it.
 */
.azp .azp__sc-grid {
	display: grid;
	grid-template-columns: repeat(var(--azp-sc-c), minmax(0, 1fr));
	grid-auto-rows: minmax(0, 1fr);
	gap: var(--azp-sc-gap);
	align-self: stretch;
	height: 0;
	min-height: 100%;
	margin: 0;
	padding: 0;
}

.azp .azp__sc-card {
	container: azp-sc-card / size;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1.5px solid var(--azp-sc-edge);
	border-radius: var(--azp-sc-card-radius);
	background: var(--azp-sc-card);
}

/* Belt and braces against a theme decorating anything list-like. */
.azp .azp__sc-card::before,
.azp .azp__sc-card::after,
.azp .azp__sc-card::marker {
	content: none;
	display: none;
}

.azp .azp__sc-card[hidden] {
	display: none;
}

/* Title, link and button as one stack, centred in the card's height. */
.azp__sc-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 6px;
	height: 100%;
	padding: 18px 20px;
}

.azp .azp__sc-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.azp .azp__sc-title::before,
.azp .azp__sc-title::after {
	content: none;
}

.azp .azp__sc-title a {
	color: inherit;
	text-decoration: none;
}

.azp .azp__sc-title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp .azp__sc-card.is-current .azp__sc-title {
	color: var(--azp-play-hover);
}

.azp .azp__sc-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 0.875em;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.azp .azp__sc-more span {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.azp .azp__sc-more:hover {
	color: var(--azp-play-hover);
}

.azp .azp__sc-more svg {
	flex: none;
	width: 14px;
	height: 14px;
	transition: transform 0.15s ease;
}

.azp .azp__sc-more:hover svg {
	transform: translateX(3px);
}

.azp .azp__sc-listen {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 6px 16px 6px 12px;
	border: 1.5px solid var(--azp-secondary);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 0.875em;
	font-weight: 500;
	line-height: 1.2;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.azp .azp__sc-listen:hover {
	background: rgba(var(--azp-secondary-rgb), 0.14);
}

.azp__sc-listen .azp__glyphs {
	display: grid;
	place-items: center;
	color: var(--azp-secondary);
}

/* A filled triangle here, as the design has it. */
.azp .azp__sc-listen .azp__icon {
	width: 13px;
	height: 13px;
}

.azp .azp__sc-listen .azp__icon--play {
	fill: currentColor;
	stroke: none;
}

.azp .azp__sc-listen .azp__spinner {
	width: 12px;
	height: 12px;
}

/* Playing: the button fills amber, as every other play button does. */
.azp .azp__sc-card.is-playing .azp__sc-listen,
.azp .azp__sc-card.is-loading .azp__sc-listen {
	background: var(--azp-play);
	color: var(--azp-play-glyph);
}

.azp__sc-card.is-playing .azp__sc-listen .azp__glyphs,
.azp__sc-card.is-loading .azp__sc-listen .azp__glyphs {
	color: inherit;
}

/* The cards are not .azp scopes, so the glyph swap is spelled out. */
.azp__sc-card .azp__icon--pause,
.azp__sc-card .azp__spinner { display: none; }
.azp__sc-card.is-playing .azp__icon--play,
.azp__sc-card.is-loading .azp__icon--play { display: none; }
.azp__sc-card.is-playing .azp__icon--pause { display: block; }
.azp__sc-card.is-loading .azp__spinner { display: block; }

/* A short card: less padding, one line of title. */
@container azp-sc-card (max-height: 150px) {
	.azp__sc-body {
		gap: 4px;
		padding: 12px 16px;
	}
	.azp .azp__sc-listen {
		margin-top: 6px;
	}
	.azp .azp__sc-title {
		-webkit-line-clamp: 1;
		font-size: 0.9375em;
	}
}

/* Very short: the title is the link, so the extra one goes. */
@container azp-sc-card (max-height: 104px) {
	.azp .azp__sc-more {
		display: none;
	}
	.azp__sc-body {
		padding: 11px 14px;
	}
}

/* A narrow card: the button's word is enough room. */
@container azp-sc-card (max-width: 190px) {
	.azp__sc-body {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* Wide grids drop to two columns on medium widths. */
@container azp-sc (max-width: 1100px) {
	.azp--sc-cols-3 .azp__sc-inner,
	.azp--sc-cols-4 .azp__sc-inner {
		--azp-sc-c: 2;
		--azp-sc-r: var(--azp-sc-r2);
	}
	.azp--showcase .azp__sc-inner {
		--azp-sc-gap: 16px;
	}
}

/* Narrow: the cover on top, the episodes under it at their own height. */
@container azp-sc (max-width: 900px) {
	.azp--showcase .azp__sc-inner {
		grid-template-columns: minmax(0, 1fr);
	}
	.azp--showcase .azp__sc-cover {
		width: min(100%, 300px);
		justify-self: center;
	}
	.azp--showcase .azp__sc-grid {
		grid-auto-rows: auto;
		height: auto;
		min-height: 0;
	}
	.azp--showcase .azp__sc-card {
		container-type: normal;
	}
	.azp--showcase .azp__sc-body {
		gap: 8px;
		padding: 18px 20px 20px;
	}
}

@container azp-sc (max-width: 520px) {
	.azp--showcase .azp__sc-grid {
		--azp-sc-c: 1;
		gap: 12px;
	}
}

/* The panel's own padding shrinks with the screen, not the element. */
@media (max-width: 700px) {
	.azp.azp--showcase {
		--azp-sc-pad: 16px;
		--azp-sc-radius: 22px;
		--azp-sc-card-radius: 16px;
	}
}

/* --- latest episodes ----------------------------------------------------- */

/*
 * The newest episodes as cards, in the showcase's colours and with its
 * buttons. "Row" puts a square cover beside the text, "Card" on top. With the
 * panel off the cards sit on the page itself and keep their own dark fill.
 * Follows its own width: three columns need about 1000px, two about 600px.
 */
.azp.azp--latest {
	--azp-sc-bg: linear-gradient(100deg, #1b1c20 0%, #1b2b50 48%, #24417a 100%);
	--azp-sc-card: rgba(16, 30, 64, 0.42);
	--azp-sc-edge: rgba(120, 150, 210, 0.28);
	--azp-lt-gap: 20px;
	--azp-lt-art: 96px;
	--azp-lt-c: 3;

	container: azp-lt / inline-size;
	margin: 0;
	padding: 32px;
	border-radius: 26px;
	background: var(--azp-sc-bg);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	color: #fff;
	font-size: 16px;
}

.azp.azp--lt-cols-1 { --azp-lt-c: 1; }
.azp.azp--lt-cols-2 { --azp-lt-c: 2; }
.azp.azp--lt-cols-3 { --azp-lt-c: 3; }
.azp.azp--lt-cols-4 { --azp-lt-c: 4; }

/* No panel: the page shows between the cards, which carry a solid fill. */
.azp.azp--latest.azp--lt-bare {
	--azp-sc-card: #1b2b50;
	padding: 0;
	border-radius: 0;
	background: none;
}

.azp .azp__lt-heading {
	margin: 0 0 18px;
	padding: 0;
	font-family: inherit;
	font-size: 1.375em;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.azp--lt-bare .azp__lt-heading {
	color: inherit;
}

.azp .azp__lt-grid {
	display: grid;
	grid-template-columns: repeat(var(--azp-lt-c), minmax(0, 1fr));
	gap: var(--azp-lt-gap);
	margin: 0;
	padding: 0;
}

.azp .azp__lt-card {
	display: grid;
	grid-template-columns: var(--azp-lt-art) minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-width: 0;
	margin: 0;
	padding: 14px;
	border: 1.5px solid var(--azp-sc-edge);
	border-radius: 18px;
	background: var(--azp-sc-card);
}

.azp .azp__lt-card::before,
.azp .azp__lt-card::after,
.azp .azp__lt-card::marker {
	content: none;
	display: none;
}

.azp__lt-art {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
}

.azp .azp__lt-art img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.azp__lt-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.azp .azp__lt-show {
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.75em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--azp-secondary);
}

.azp .azp__lt-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.azp .azp__lt-title::before,
.azp .azp__lt-title::after {
	content: none;
}

.azp .azp__lt-title a {
	color: inherit;
	text-decoration: none;
}

.azp .azp__lt-title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.azp .azp__lt-card.is-current .azp__lt-title {
	color: var(--azp-play-hover);
}

.azp .azp__lt-meta {
	margin: 0;
	font-size: 0.8125em;
	color: rgba(255, 255, 255, 0.72);
}

.azp__lt-meta > * {
	white-space: nowrap;
}

.azp__lt-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 8px;
}

.azp .azp__lt-actions .azp__sc-listen {
	margin-top: 0;
}

.azp .azp__lt-actions .azp__sc-more {
	margin: 0;
}

/* Playing: the button fills amber, the glyph follows. */
.azp .azp__lt-card.is-playing .azp__sc-listen,
.azp .azp__lt-card.is-loading .azp__sc-listen {
	background: var(--azp-play);
	color: var(--azp-play-glyph);
}

.azp__lt-card.is-playing .azp__sc-listen .azp__glyphs,
.azp__lt-card.is-loading .azp__sc-listen .azp__glyphs {
	color: inherit;
}

.azp__lt-card .azp__icon--pause,
.azp__lt-card .azp__spinner { display: none; }
.azp__lt-card.is-playing .azp__icon--play,
.azp__lt-card.is-loading .azp__icon--play { display: none; }
.azp__lt-card.is-playing .azp__icon--pause { display: block; }
.azp__lt-card.is-loading .azp__spinner { display: block; }

/* Card layout: the cover on top, edge to edge. */
.azp.azp--lt-card .azp__lt-card {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	align-content: start;
	gap: 14px;
	padding: 0 0 18px;
	overflow: hidden;
}

.azp--lt-card .azp__lt-art {
	border-radius: 0;
}

.azp--lt-card .azp__lt-body {
	padding: 0 18px;
}

@container azp-lt (max-width: 1000px) {
	.azp--lt-cols-3 .azp__lt-grid,
	.azp--lt-cols-4 .azp__lt-grid {
		--azp-lt-c: 2;
	}
}

@container azp-lt (max-width: 600px) {
	.azp .azp__lt-grid {
		--azp-lt-c: 1;
		gap: 12px;
	}
	.azp--latest .azp__lt-grid {
		--azp-lt-art: 84px;
	}
	.azp--lt-card .azp__lt-grid {
		--azp-lt-c: 2;
	}
}

@container azp-lt (max-width: 420px) {
	.azp--lt-card .azp__lt-grid {
		--azp-lt-c: 1;
	}
}

@media (max-width: 700px) {
	.azp.azp--latest:not(.azp--lt-bare) {
		padding: 16px;
		border-radius: 22px;
	}
}

/* ==========================================================================
   Glass buttons
   ==========================================================================

   Measured off the design's "Prikaži več": the pill sits about 26 levels
   lighter than the panel around it, a little lighter again toward its
   bottom edge, with a hairline that is bright along the top-left and fades
   toward the bottom-right. Nothing else — no bevel, no glints. The blur is
   what lets the photo show through it as soft colour. */

.azp .azp__action,
.azp .azp__more,
.azp .azp__streams .azp__copy,
.azp .azp__files .azp__file {
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background-color: rgba(255, 255, 255, 0.13);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 100%);
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(14px) saturate(120%);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.azp .azp__action:hover,
.azp .azp__more:hover,
.azp .azp__streams .azp__copy:hover,
.azp .azp__files .azp__file:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background-color: rgba(255, 255, 255, 0.19);
}

.azp .azp__action:active,
.azp .azp__more:active,
.azp .azp__streams .azp__copy:active,
.azp .azp__files .azp__file:active {
	background-color: rgba(255, 255, 255, 0.24);
	transform: scale(0.985);
}

/*
 * Capitals, as the design sets it. The pill is now light enough that even the
 * hover amber measured 4.25:1 under this label, so it gets one step paler still.
 */
.azp .azp__more {
	padding: 13px 12px;
	color: #ffc45a;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.azp .azp__streams .azp__copy.is-done {
	background-color: var(--azp-play);
	background-image: none;
	border-color: transparent;
	color: var(--azp-play-glyph);
}

@media (prefers-reduced-transparency: reduce) {
	.azp .azp__action,
	.azp .azp__more,
	.azp .azp__streams .azp__copy,
	.azp .azp__files .azp__file {
		background-color: rgba(255, 255, 255, 0.18);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.azp *,
	.azp *::before,
	.azp *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.azp--bar { transition: none; }
	.azp__play--lg::after { display: none; }
}

.azp.is-failed .azp__badge {
	color: var(--azp-secondary);
	opacity: 1;
}
