/* CompactCSS source: /heichelos/series-player.css */
/* B"H — Series player: a quiet dark bar over the cream heichel pages.
   Palette follows the heichel template itself (deep ink #17253a / theme
   #071a2b, cream #f7f1e3, gold accent) so it never clashes with the page.
   B"H 2026-11-20 (ikar series load fix): the interactive controls are
   scoped under body.geelooy-app-shell because the tunnel text-color law
   (style/geelooy-app/base/elements-content.css + elements-technical.css:
   `body.geelooy-app-shell :where(button, ...)` at specificity (0,1,1))
   overrode this sheet's bare class rules (0,1,0) and painted the labels
   in dark ink (--aw-text) on the dark pill -- measured rgb(43,33,24) on
   rgb(23,37,58). The scoped selectors resolve to (0,2,1) exactly where
   that law applies, and nowhere else. */

body.geelooy-app-shell .awt-series-player-launcher {
	position: fixed;
	inset-inline-end: 1rem;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	padding: .65rem 1.1rem;
	border: 1px solid #8a6d3b;
	border-radius: 999px;
	background: #17253a;
	color: #f7f1e3;
	font: 600 .95rem/1.2 system-ui, sans-serif;
	box-shadow: 0 .8rem 2rem rgb(7 26 43 / 35%);
	cursor: pointer;
}

body.geelooy-app-shell .awt-series-player-launcher:hover {
	background: #20324e;
}

.awt-series-player-panel {
	position: fixed;
	inset-inline: 1rem;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: 91;
	max-inline-size: 44rem;
	margin-inline: auto;
	padding: .9rem 1rem 1rem;
	border: 1px solid #8a6d3b;
	border-radius: 1.25rem;
	background: #17253a;
	color: #f7f1e3;
	box-shadow: 0 1.4rem 3.5rem rgb(7 26 43 / 45%);
	font-family: system-ui, sans-serif;
}

.awt-sp-head {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.awt-sp-kicker {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d9c9a8;
}

.awt-sp-position {
	font-size: .8rem;
	color: #cfd8e6;
}

body.geelooy-app-shell .awt-sp-close {
	margin-inline-start: auto;
	inline-size: 2rem;
	block-size: 2rem;
	border: 1px solid #8a6d3b;
	border-radius: 999px;
	background: transparent;
	color: #f7f1e3;
	font-size: .9rem;
	cursor: pointer;
}

.awt-sp-title {
	margin: .55rem 0 .6rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.awt-sp-media {
	display: block;
	inline-size: 100%;
	max-block-size: 52dvh;
	border-radius: .8rem;
	background: #000;
}

audio.awt-sp-media {
	max-block-size: none;
	background: transparent;
}

.awt-sp-controls {
	display: flex;
	gap: .55rem;
	margin-top: .7rem;
}

body.geelooy-app-shell .awt-sp-btn {
	flex: 1 1 0;
	padding: .55rem .8rem;
	border: 1px solid #8a6d3b;
	border-radius: 999px;
	background: #20324e;
	color: #f7f1e3;
	font: 600 .9rem/1.2 system-ui, sans-serif;
	cursor: pointer;
}

body.geelooy-app-shell .awt-sp-btn:hover {
	background: #2a4066;
}

.awt-series-player-current {
	/* B"H 2026-11-20 (residuals round): the mechanism was verified
	   working with trusted clicks (class applied during play and kept
	   after finish; Previous after Finished restarts the queue), but
	   a lone 3px outline was easy to miss on the cream list — the E2E
	   reported "no highlight". A soft gold wash joins the outline so
	   the now-playing row is unmistakable. */
	outline: 3px solid #8a6d3b;
	outline-offset: 2px;
	border-radius: .5rem;
	background: rgba(199, 164, 90, .18);
	box-shadow: 0 0 0 5px rgba(199, 164, 90, .18);
}

@media (max-width: 35rem) {
	.awt-series-player-panel {
		inset-inline: .6rem;
		bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
	}
	body.geelooy-app-shell .awt-series-player-launcher {
		inset-inline-end: .6rem;
		bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
	}
}
