.scc-banner {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.scc-banner.scc-pos-bottom { bottom: 0; }
.scc-banner.scc-pos-top { top: 0; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); }

.scc-banner.scc-layout-bar .scc-banner-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.scc-banner.scc-layout-box {
	left: auto;
	right: 20px;
	bottom: 20px;
	max-width: 380px;
	border-radius: 10px;
}

.scc-banner.scc-layout-box .scc-banner-inner {
	padding: 20px;
	display: block;
}

.scc-message p {
	margin: 0;
}

.scc-prefs {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.scc-pref-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.scc-pref-row input {
	margin-top: 3px;
}

.scc-pref-row small {
	opacity: 0.8;
}

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

.scc-layout-bar .scc-actions {
	margin-top: 0;
}

.scc-btn {
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: inherit;
	padding: 9px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.scc-btn:hover {
	opacity: 0.9;
}

.scc-btn-accept {
	color: #fff;
}

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

.scc-reopen-badge {
	position: fixed;
	bottom: 16px;
	left: 16px;
	z-index: 999990;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1;
	font-weight: 500;
	border-radius: 20px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: #ffffff;
	color: #1f2933;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.scc-reopen-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.scc-reopen-badge:focus-visible {
	outline: 2px solid #2f9e44;
	outline-offset: 2px;
}

.scc-reopen-badge svg {
	display: block;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.scc-banner.scc-layout-bar .scc-banner-inner {
		flex-direction: column;
		align-items: stretch;
	}
	.scc-banner.scc-layout-box {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
	}
}
