.scc-banner {
	--scc-bg: #375226;
	--scc-fg: #f4f5f7;
	--scc-accent: #4f8cff;
	--scc-accent-fg: #ffffff;
	--scc-border: rgba(255, 255, 255, 0.12);
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	background: var(--scc-bg);
	color: var(--scc-fg);
	box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.scc-banner.scc-position-bottom { bottom: 0; }
.scc-banner.scc-position-top { top: 0; box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }

.scc-banner[hidden] { display: none; }

.scc-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
}

.scc-banner-main {flex: 1 1 auto;min-width: 260px;}

.scc-banner-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--scc-fg);
}

.scc-banner-text { margin: 0; opacity: 0.9; }
.scc-banner-text a, .scc-banner-text a:visited {color: #5c873f;text-decoration: none;}
.scc-banner-text a:hover {color: #4bc300;}

.scc-categories {
	margin-top: 16px;
	display: grid;
	gap: 12px;
	border-top: 1px solid var(--scc-border);
	padding-top: 16px;
}
.scc-categories[hidden] { display: none; }

.scc-category-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.scc-category-copy strong { color: var(--scc-fg); }
.scc-category-copy p { margin: 2px 0 0; opacity: 0.8; font-size: 13px; }
.scc-always-on { font-size: 12px; opacity: 0.6; margin-left: 6px; }

.scc-switch {
	position: relative;
	display: inline-block;
	width: 38px;
	height: 22px;
	flex: 0 0 auto;
	margin-top: 2px;
}
.scc-switch input { opacity: 0; width: 0; height: 0; }
.scc-switch-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.25);
	transition: 0.2s;
	border-radius: 999px;
}
.scc-switch-slider::before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 3px;
	top: 3px;
	background-color: #fff;
	transition: 0.2s;
	border-radius: 50%;
}
.scc-switch input:checked + .scc-switch-slider {background-color: #4bc300;}
.scc-switch input:checked + .scc-switch-slider::before { transform: translateX(16px); }
.scc-switch input:disabled + .scc-switch-slider {opacity: 0.2;cursor: not-allowed;}

.scc-banner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	flex: 0 0 auto;
}

.scc-btn {
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
}

.scc-btn-primary {background: #5c873f;color: var(--scc-accent-fg);}
.scc-btn-primary:hover { background: #4bc300; }

.scc-btn-outline {
	background: transparent;
	color: var(--scc-fg);
	border: 1px solid var(--scc-border);
}
.scc-btn-outline:hover { background: rgba(255, 255, 255, 0.06); }

.scc-btn-text {
	background: transparent;
	color: var(--scc-fg);
	text-decoration: underline;
	padding-left: 6px;
	padding-right: 6px;
}

.scc-settings-link {
	cursor: pointer;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
}

@media (max-width: 640px) {
	.scc-banner-inner { flex-direction: column; }
	.scc-banner-actions { width: 100%; }
	.scc-btn { flex: 1 1 auto; }
}
