.ssc-banner[hidden],
.ssc-modal[hidden] {
	display: none !important;
}

.ssc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100050;
	padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.98);
	border-top: 3px solid #fed700;
	box-shadow: 0 -12px 40px rgba(24, 24, 24, 0.12);
}

.ssc-banner__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.ssc-banner__title {
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	color: #333e48;
}

.ssc-banner__text {
	margin: 0;
	max-width: 760px;
	font-size: 14px;
	line-height: 1.5;
	color: #4a5560;
}

.ssc-banner__text a,
.ssc-modal__policy {
	color: #333e48;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ssc-banner__actions,
.ssc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex-shrink: 0;
}

.ssc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 4px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.ssc-btn--primary {
	background: #fed700;
	color: #333e48;
	border-color: #e7c400;
}

.ssc-btn--primary:hover {
	background: #e7c400;
}

.ssc-btn--ghost {
	background: #fff;
	color: #333e48;
	border-color: #c5cdd4;
}

.ssc-btn--ghost:hover {
	border-color: #333e48;
}

.ssc-modal {
	position: fixed;
	inset: 0;
	z-index: 100060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.ssc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(24, 30, 36, 0.72);
}

.ssc-modal__panel {
	position: relative;
	width: min(560px, 100%);
	max-height: min(90vh, 720px);
	overflow: auto;
	padding: 28px 24px 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.ssc-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #333e48;
	cursor: pointer;
}

.ssc-modal__title {
	margin: 0 36px 8px 0;
	font-size: 22px;
	line-height: 1.25;
	color: #333e48;
}

.ssc-modal__intro,
.ssc-item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #4a5560;
}

.ssc-modal__list {
	display: grid;
	gap: 10px;
	margin: 18px 0;
}

.ssc-item {
	padding: 14px 14px 14px 16px;
	border: 1px solid #e4e8ec;
	border-radius: 8px;
}

.ssc-item--locked {
	background: #f7f8f9;
}

.ssc-item__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ssc-item h3 {
	margin: 0 0 4px;
	font-size: 15px;
	color: #333e48;
}

.ssc-toggle {
	position: relative;
	flex: 0 0 auto;
	margin-top: 2px;
}

.ssc-toggle input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ssc-toggle__ui {
	display: block;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: #c5cdd4;
	position: relative;
	transition: background 0.2s ease;
}

.ssc-toggle__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s ease;
}

.ssc-toggle input:checked + .ssc-toggle__ui {
	background: #fed700;
}

.ssc-toggle input:checked + .ssc-toggle__ui::after {
	transform: translateX(18px);
}

.ssc-toggle input:disabled + .ssc-toggle__ui {
	background: #333e48;
	cursor: not-allowed;
}

.ssc-toggle input:focus-visible + .ssc-toggle__ui {
	outline: 2px solid #333e48;
	outline-offset: 2px;
}

.ssc-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

body.ssc-modal-open {
	overflow: hidden;
}

.copyright-bar .ssc-footer-links {
	display: inline;
	white-space: normal;
}

.copyright-bar .ssc-footer-sep {
	margin: 0 0.35em;
}

.ssc-footer-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
}

.copyright-bar .ssc-footer-link,
.ssc-mobile-footer-links .ssc-footer-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.ssc-mobile-footer-links {
	padding: 4px 0 18px;
	text-align: center;
}

@media (max-width: 767.98px) {
	.ssc-banner {
		bottom: 52px;
	}

	.ssc-banner__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.ssc-banner__actions .ssc-btn {
		flex: 1 1 auto;
	}

	.ssc-modal__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.ssc-modal__actions {
		width: 100%;
	}

	.ssc-modal__actions .ssc-btn {
		flex: 1 1 auto;
	}
}
