.bha-player {
	--bha-ink: #162d38;
	--bha-accent: #0a595d;
	--bha-muted: #4f636a;
	--bha-line: #cedbd9;
	--bha-paper: #fbfcf9;
	--bha-button: #fff;
	display: block;
	margin: 1.25rem 0 1.75rem;
	color: var(--bha-ink);
	font: 400 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
	letter-spacing: normal;
	text-align: start;
	text-transform: none;
	color-scheme: light;
}
.bha-player.bha-floating-host { display: contents; }
.bha-player *, .bha-player *::before, .bha-player *::after { box-sizing: border-box; }
.bha-player [hidden] { display: none !important; }
.bha-player .bha-card {
	position: relative;
	padding: clamp(16px, 3vw, 30px);
	border: 1px solid var(--bha-line);
	border-top: 3px solid var(--bha-accent);
	border-radius: 5px;
	background: var(--bha-paper);
}
.bha-player .bha-mast { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.bha-player .bha-mark { display: inline-flex; margin-inline-end: 2px; color: var(--bha-accent); }
.bha-player .bha-divider { font-weight: 400; color: #748d8d; }
.bha-player .bha-audio-word { color: var(--bha-accent); }
.bha-player .bha-heading {
	margin: 12px 0 3px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bha-ink);
	font: 600 clamp(25px, 3.5vw, 35px)/1.15 Georgia, "Times New Roman", serif;
	letter-spacing: -.035em;
	text-transform: none;
}
.bha-player .bha-description { margin: 0; color: var(--bha-muted); font: inherit; font-size: 14px; }
.bha-player .bha-media { display: block; width: 100%; max-width: 100%; margin: 16px 0 0; }
.bha-player .bha-settings { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0; }
.bha-player .bha-settings label { display: flex; flex-flow: column; gap: 4px; max-width: 100%; margin: 0; }
.bha-player .bha-settings label > span { color: var(--bha-muted); font-size: 12px; font-weight: 650; }
.bha-player select {
	appearance: auto;
	width: auto;
	max-width: 100%;
	height: auto;
	min-height: 38px;
	margin: 0;
	padding: 4px 8px;
	border: 1px solid #9dafae;
	border-radius: 4px;
	background: var(--bha-button);
	color: var(--bha-ink);
	font: inherit;
	font-size: 14px;
	line-height: normal;
}
.bha-player .bha-transport, .bha-player .bha-mini-transport { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.bha-player button, .bha-player .bha-link, .bha-player .bha-share-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: transparent;
	box-shadow: none;
	color: var(--bha-ink);
	font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	appearance: none;
}
.bha-player svg { display: block; flex: none; width: 18px; height: 18px; }
.bha-player button:hover, .bha-player .bha-link:hover, .bha-player .bha-share-menu a:hover {
	background: #eaf0ed; color: var(--bha-ink);
}
.bha-player button:disabled { opacity: .55; cursor: default; }
.bha-player :is(a, button, input, select, .bha-heading):focus-visible { outline: 3px solid #147a85; outline-offset: 2px; }
.bha-player .bha-play, .bha-player .bha-play:hover { padding-inline: 16px; border-radius: 22px; background: var(--bha-accent); color: white; }
.bha-player .bha-play:hover { background: #074448; }
.bha-player .bha-stop { width: 44px; }
.bha-player .bha-skip { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bha-player .bha-skip svg { width: 16px; height: 16px; }
.bha-player .bha-timeline { display: flex; align-items: center; gap: 10px; margin: 5px 0 9px; }
.bha-player time { flex: none; color: var(--bha-muted); font: 550 12px/1.2 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.bha-player .bha-timeline input {
	flex: 1 1 0%;
	width: 10px;
	min-width: 0;
	height: 27px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	accent-color: var(--bha-accent);
	cursor: pointer;
	appearance: auto;
}
.bha-player .bha-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 14px; padding-top: 4px; border-top: 1px solid var(--bha-line); }
.bha-player .bha-link { padding-inline: 4px; color: var(--bha-accent); font-size: 13px; }
.bha-player .bha-link svg { width: 16px; height: 16px; }
.bha-player .bha-share { max-width: 100%; }
.bha-player .bha-share-menu {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0;
	margin: 0 0 6px;
	padding: 6px;
	border: 1px solid var(--bha-line);
	border-radius: 5px;
	background: var(--bha-button);
}
.bha-player .bha-share-menu a, .bha-player .bha-share-menu button { justify-content: flex-start; min-height: 36px; font-size: 13px; }
.bha-player .bha-share-menu input { max-width: 100%; min-width: 0; }
.bha-player .bha-status { margin: 8px 0 0; color: var(--bha-muted); font: inherit; font-size: 13px; }
.bha-player .bha-status:empty { display: none; }
.bha-player .bha-float {
	position: fixed;
	z-index: 99990;
	right: max(12px, env(safe-area-inset-right));
	bottom: max(12px, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: max-content;
	max-width: min(490px, calc(100vw - 24px));
	padding: 6px 8px 6px 11px;
	border: 1px solid #334d56;
	border-radius: 8px;
	background: #152e38;
	box-shadow: 0 4px 18px #102b3533;
	color: white;
}
.bha-player .bha-float-title { display: grid; justify-content: start; gap: 3px; padding: 5px; overflow: hidden; color: white; text-align: start; }
.bha-player .bha-float-title span { color: #b4d6d3; font-size: 9px; letter-spacing: .12em; }
.bha-player .bha-float-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14px/1.3 Georgia, serif; }
.bha-player .bha-mini-transport { flex: none; flex-wrap: nowrap; gap: 0; }
.bha-player .bha-float .bha-skip { flex-flow: column; gap: 1px; min-width: 35px; padding: 3px; color: white; font-size: 10px; }
.bha-player .bha-float .bha-play { min-width: 40px; min-height: 40px; padding: 9px; background: #d4e8e4; color: #153c42; }
.bha-player .bha-float .bha-dismiss { min-width: 36px; padding: 4px; color: #d6e5e4; }
.bha-player .bha-float button:hover { background: #29454f; color: white; }
.bha-player .bha-float button:focus-visible { outline-color: #b8dfdb; }
@media (max-width: 480px) {
	.bha-player .bha-card { padding: 16px; }
	.bha-player .bha-transport { gap: 2px; }
	.bha-player .bha-transport .bha-skip { padding-inline: 6px; }
	.bha-player .bha-float { gap: 3px; }
}

.bha-placement-notice {
	position: relative;
	margin: 1rem 0;
	padding: .75rem 1rem;
	border: 2px dashed #0a595d;
	border-radius: 4px;
	background: #f2f9f6;
	color: #163a37;
	font: 600 15px/1.5 system-ui, sans-serif;
}
