:root {
	--scc-accent: #e02b20;
}

.scc-banner,
.scc-panel {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.scc-banner *,
.scc-panel * {
	box-sizing: border-box;
}

.scc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: #1b1b1b;
	color: #f2f2f2;
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-shadow: 0 -2px 12px rgba(0,0,0,.25);
}

.scc-banner-text {
	flex: 1 1 320px;
	font-size: 14px;
	line-height: 1.5;
}

.scc-banner-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

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

.scc-btn-primary {
	background: var(--scc-accent);
	color: #fff;
	border-color: var(--scc-accent);
}

.scc-btn-secondary {
	background: transparent;
	color: #f2f2f2;
	border-color: #666;
}

.scc-btn-link {
	background: transparent;
	color: #cfcfcf;
	border-color: transparent;
	text-decoration: underline;
	padding: 10px 6px;
}

.scc-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	background: rgba(0,0,0,.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.scc-panel {
	background: #fff;
	color: #1b1b1b;
	max-width: 480px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 10px;
	padding: 28px;
}

.scc-panel h2 {
	margin: 0 0 12px;
	font-size: 20px;
}

.scc-intro {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
	margin: 0 0 20px;
}

.scc-category {
	border-top: 1px solid #eaeaea;
	padding: 14px 0;
}

.scc-category-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.scc-category-title {
	font-weight: 600;
	font-size: 15px;
}

.scc-category-desc {
	margin: 6px 0 0;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.scc-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
	flex-shrink: 0;
}

.scc-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.scc-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: #ccc;
	border-radius: 22px;
	transition: background .15s;
}

.scc-slider::before {
	content: "";
	position: absolute;
	height: 16px;
	width: 16px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .15s;
}

.scc-switch input:checked + .scc-slider {
	background: var(--scc-accent);
}

.scc-switch input:checked + .scc-slider::before {
	transform: translateX(18px);
}

.scc-switch input:disabled + .scc-slider {
	opacity: .6;
	cursor: not-allowed;
}

.scc-actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
	flex-wrap: wrap;
}

.scc-actions .scc-btn {
	flex: 1 1 auto;
	text-align: center;
}

.scc-footer-links {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #eaeaea;
	font-size: 12px;
	color: #777;
}

.scc-footer-links a {
	color: #777;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.scc-banner {
		flex-direction: column;
		align-items: stretch;
	}
	.scc-banner-actions {
		justify-content: stretch;
	}
	.scc-banner-actions .scc-btn {
		flex: 1 1 auto;
	}
}
