:root {
	--shc-bg: #0f172a;
	--shc-fg: #f8fafc;
	--shc-muted: #cbd5e1;
	--shc-primary: #22c55e;
	--shc-primary-fg: #052e16;
	--shc-secondary-bg: #1e293b;
	--shc-secondary-fg: #f8fafc;
	--shc-link: #93c5fd;
	--shc-border: #334155;
}

.shc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: var(--shc-bg);
	color: var(--shc-fg);
	border-top: 1px solid var(--shc-border);
	box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.shc-banner__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 24px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
}

.shc-banner__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 600;
}

.shc-banner__body {
	margin: 0 0 8px;
	color: var(--shc-muted);
}

.shc-banner__links { display: flex; gap: 16px; flex-wrap: wrap; }
.shc-link { color: var(--shc-link); text-decoration: underline; font-size: 14px; }

.shc-banner__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.shc-banner__actions[hidden],
.shc-manage[hidden] {
	display: none;
}

.shc-btn {
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
}

.shc-btn:focus-visible {
	outline: 2px solid var(--shc-link);
	outline-offset: 2px;
}

.shc-btn--primary {
	background: var(--shc-primary);
	color: var(--shc-primary-fg);
}

.shc-btn--secondary {
	background: var(--shc-secondary-bg);
	color: var(--shc-secondary-fg);
	border-color: var(--shc-border);
}

.shc-btn--ghost {
	background: transparent;
	color: var(--shc-fg);
	border-color: var(--shc-border);
}

.shc-manage {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px 20px;
	border-top: 1px solid var(--shc-border);
}

.shc-manage__row {
	padding: 12px 0;
	border-bottom: 1px solid var(--shc-border);
}

.shc-manage__row:last-of-type { border-bottom: none; }

.shc-manage__row label { display: block; cursor: pointer; }

.shc-manage__actions {
	padding-top: 12px;
	display: flex;
	justify-content: flex-end;
}

.stablehub-manage-cookies-link {
	position: fixed;
	bottom: 12px;
	left: 12px;
	z-index: 999998;
	background: rgba(15,23,42,0.85);
	color: #f8fafc;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.1);
}

.stablehub-manage-cookies-link:hover { background: rgba(15,23,42,0.95); color: #fff; }

@media (max-width: 720px) {
	.shc-banner__inner { grid-template-columns: 1fr; }
	.shc-banner__actions { justify-content: stretch; }
	.shc-btn { flex: 1 1 auto; }
}
