/* STOSPN Consent: same neon look as the earlier banner (radial dark gradient, violet border + glow, cyan title, pill buttons). */
#sxc-root { --sxc-bg1: #130a21; --sxc-bg2: #06030a; --sxc-violet: #7b2cbf; --sxc-violet2: #9d4edd; --sxc-deep: #7000ff; --sxc-cyan: #00f0ff; --sxc-text: #d1d5db; }
#sxc-root .sxc-box[hidden], #sxc-root [hidden] { display: none !important; }

#sxc-root .sxc-box {
	position: fixed; z-index: 2147483000; bottom: 16px; right: 16px; left: auto;
	width: 460px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow-y: auto;
	box-sizing: border-box; padding: 20px 22px 18px;
	background: radial-gradient(circle at top, var(--sxc-bg1) 0%, var(--sxc-bg2) 100%);
	border: 1px solid var(--sxc-violet); border-radius: 12px;
	box-shadow: 0 0 20px rgba(123, 44, 191, .4), inset 0 0 10px rgba(0, 240, 255, .1);
	color: #e0e0e0; font: 400 14px/1.6 "Plus Jakarta Sans", "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	text-align: start; animation: sxc-in .35s ease-out;
}
#sxc-root[dir="rtl"] .sxc-box { right: auto; left: 16px; font-family: "Plus Jakarta Sans", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; }
#sxc-root.sxc-bar .sxc-box { left: 16px; right: 16px; width: auto; max-width: none; }
@keyframes sxc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

#sxc-root .sxc-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
#sxc-root .sxc-icon { color: var(--sxc-cyan); display: inline-flex; filter: drop-shadow(0 0 6px rgba(0, 240, 255, .6)); }
#sxc-root .sxc-title {
	margin: 0; padding: 0; border: 0; background: none; color: var(--sxc-cyan);
	font: 700 16px/1.3 "Orbitron", "Segoe UI", Arial, sans-serif; letter-spacing: .5px; text-transform: none;
	text-shadow: 0 0 8px rgba(0, 240, 255, .6);
}
#sxc-root[dir="rtl"] .sxc-title { font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif; letter-spacing: 0; }
#sxc-root .sxc-msg { margin: 0 0 14px; color: var(--sxc-text); font-size: 14px; line-height: 1.6; }
#sxc-root .sxc-link { color: var(--sxc-cyan); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
#sxc-root .sxc-link:hover, #sxc-root .sxc-link:focus { color: var(--sxc-violet2); text-shadow: 0 0 8px rgba(157, 78, 221, .6); }

/* Categories */
#sxc-root .sxc-prefs { margin: 0 0 14px; border-top: 1px solid rgba(123, 44, 191, .45); }
#sxc-root .sxc-cat { padding: 10px 0; border-bottom: 1px solid rgba(123, 44, 191, .25); }
#sxc-root .sxc-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; cursor: pointer; }
#sxc-root .sxc-cat-name { color: var(--sxc-cyan); font-weight: 600; }
#sxc-root .sxc-always { color: #00ff9c; font-size: 12px; font-weight: 600; }
#sxc-root .sxc-cat-desc { margin: 4px 0 0; color: #9ca3af; font-size: 12.5px; line-height: 1.5; }
#sxc-root .sxc-switch { position: relative; flex: 0 0 auto; width: 44px; height: 24px; }
#sxc-root .sxc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
#sxc-root .sxc-slider { position: absolute; inset: 0; border-radius: 24px; background: #1f1630; border: 1px solid var(--sxc-violet); transition: all .25s ease; }
#sxc-root .sxc-slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #6b7280; transition: all .25s ease; }
#sxc-root .sxc-switch input:checked + .sxc-slider { background: rgba(0, 240, 255, .15); border-color: var(--sxc-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, .4); }
#sxc-root .sxc-switch input:checked + .sxc-slider::before { left: 23px; background: var(--sxc-cyan); }
#sxc-root[dir="rtl"] .sxc-slider::before { left: auto; right: 3px; }
#sxc-root[dir="rtl"] .sxc-switch input:checked + .sxc-slider::before { left: auto; right: 23px; }
#sxc-root .sxc-switch input:focus-visible + .sxc-slider { outline: 2px solid var(--sxc-cyan); outline-offset: 2px; }
#sxc-root .sxc-switch input:disabled + .sxc-slider { opacity: .45; }

/* Buttons: Accept and Reject the same size (equal choice), Settings secondary. */
#sxc-root .sxc-btns { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
/* Order: Accept / OK and Reject side by side, then Save and Settings. */
#sxc-root .sxc-accept, #sxc-root .sxc-ok { order: 1; }
#sxc-root .sxc-reject { order: 2; }
#sxc-root .sxc-save { order: 3; }
#sxc-root .sxc-more { order: 4; }
#sxc-root .sxc-btn { flex: 1 1 0; min-width: 0 !important; min-height: 42px !important; margin: 0 !important; padding: 10px 18px !important; box-sizing: border-box !important; border-radius: 30px !important; background: transparent !important; cursor: pointer; outline: none !important; font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: .5px !important; text-transform: none !important; white-space: nowrap !important; transition: all .3s cubic-bezier(.4, 0, .2, 1); }
#sxc-root .sxc-accept, #sxc-root .sxc-ok { color: var(--sxc-cyan) !important; border: 2px solid var(--sxc-cyan) !important; box-shadow: 0 0 10px rgba(0, 240, 255, .3) !important; }
#sxc-root .sxc-accept:hover, #sxc-root .sxc-accept:focus-visible, #sxc-root .sxc-ok:hover, #sxc-root .sxc-ok:focus-visible { background: var(--sxc-cyan) !important; color: #06030a !important; box-shadow: 0 0 20px rgba(0, 240, 255, .8), 0 0 30px rgba(0, 240, 255, .4) !important; transform: translateY(-2px) !important; }
#sxc-root .sxc-reject, #sxc-root .sxc-save { color: var(--sxc-violet2) !important; border: 2px solid var(--sxc-violet2) !important; box-shadow: 0 0 10px rgba(157, 78, 221, .3) !important; }
#sxc-root .sxc-reject:hover, #sxc-root .sxc-reject:focus-visible, #sxc-root .sxc-save:hover, #sxc-root .sxc-save:focus-visible { background: var(--sxc-violet2) !important; color: #fff !important; box-shadow: 0 0 20px rgba(157, 78, 221, .8), 0 0 30px rgba(157, 78, 221, .4) !important; transform: translateY(-2px) !important; }
#sxc-root .sxc-more { flex: 1 1 100%; min-height: 38px !important; color: #b794ff !important; border: 1px solid var(--sxc-deep) !important; font-size: 13px !important; }
#sxc-root .sxc-more:hover, #sxc-root .sxc-more:focus-visible { background: rgba(112, 0, 255, .2) !important; color: var(--sxc-cyan) !important; border-color: var(--sxc-cyan) !important; box-shadow: 0 0 12px rgba(0, 240, 255, .4) !important; }

/* Phones: full width at the bottom, above the chat / TOP buttons. */
@media (max-width: 600px) {
	#sxc-root .sxc-box, #sxc-root[dir="rtl"] .sxc-box { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 16px 16px 14px; }
	#sxc-root .sxc-msg { font-size: 13.5px; }
	#sxc-root .sxc-btn { padding: 10px 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
	#sxc-root .sxc-box { animation: none; }
	#sxc-root .sxc-btn { transition: none; }
}
