/* Slapukų sutikimas */
.fbs-banner {
	--fbs-gold: var(--fb-gold, #d4af37);
	--fbs-grad: var(--fb-gold-grad, linear-gradient(135deg, #f7e3a1, #d4af37 45%, #a07c22));
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9998;
	width: min(400px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 16px 18px 14px;
	background: #0b0b0b;
	color: #e8e2d2;
	border: 1px solid rgba(212, 175, 55, .35);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
	font-family: var(--fbt-font, system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 14px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s, transform .25s;
}
.fbs-banner.is-visible { opacity: 1; transform: none; }
.fbs-banner[hidden] { display: none; }
.fbs-banner__text { margin: 0 0 12px; }
.fbs-banner__text a { color: var(--fbs-gold); }
.fbs-banner__actions { display: flex; gap: 8px; align-items: center; }
.fbs-banner__actions .fbs-btn--link { margin-right: auto; }
.fbs-btn {
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	border-radius: 999px;
	padding: 8px 16px;
	cursor: pointer;
	border: 1px solid transparent;
	line-height: 1.2;
	white-space: nowrap;
}
.fbs-btn--primary { background: var(--fbs-grad, #d4af37); color: #120f05; }
.fbs-btn--ghost { background: transparent; color: #f1ead6; border-color: rgba(255, 255, 255, .28); }
.fbs-btn--ghost:hover { border-color: var(--fbs-gold, #d4af37); }
.fbs-btn--link { background: none; color: #b8b1a4; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.fbs-btn:focus-visible { outline: 2px solid var(--fbs-gold, #d4af37); outline-offset: 2px; }

/* Nustatymų langas */
.fbs-lock { overflow: hidden; }
.fbs-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--fbt-font, system-ui, sans-serif); }
.fbs-modal[hidden] { display: none; }
.fbs-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.fbs-modal__box { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(86vh, 760px); background: #0b0b0b; color: #e8e2d2; border: 1px solid rgba(212, 175, 55, .35); border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.fbs-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 10px; }
.fbs-modal__head h2 { margin: 0; font-size: 1.3rem; color: #fff; font-family: var(--fb-font-display, Georgia, serif); }
.fbs-modal__close { background: none; border: 0; color: #8f897d; font-size: 28px; line-height: 1; cursor: pointer; }
.fbs-modal__body { overflow-y: auto; padding: 0 22px 8px; }
.fbs-modal__intro { font-size: 14px; color: #b8b1a4; margin: 0 0 14px; }
.fbs-modal__intro a { color: #f0d27c; }
.fbs-modal__foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.fbs-cat { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.fbs-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fbs-cat__toggle { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0; text-align: left; }
.fbs-cat__toggle::before { content: "›"; display: inline-block; transition: transform .2s; color: #d4af37; font-size: 18px; }
.fbs-cat__toggle[aria-expanded=true]::before { transform: rotate(90deg); }
.fbs-cat__count { font-size: 11px; background: rgba(212, 175, 55, .18); color: #f0d27c; border-radius: 999px; padding: 1px 8px; }
.fbs-cat__desc { margin: 6px 0 0; font-size: 13px; color: #b8b1a4; }
.fbs-cat__list { margin-top: 10px; display: grid; gap: 8px; }
.fbs-cookie { background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.fbs-cookie__row { display: flex; justify-content: space-between; gap: 8px; }
.fbs-cookie code { color: #f0d27c; background: none; font-size: 12.5px; word-break: break-all; }
.fbs-cookie__row span { color: #8f897d; font-size: 12px; text-align: right; }
.fbs-cookie p { margin: 4px 0 2px; }
.fbs-cookie small { color: #8f897d; }
.fbs-always { font-size: 12px; color: #8f897d; white-space: nowrap; }
.fbs-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.fbs-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.fbs-switch span[aria-hidden] { position: absolute; inset: 0; background: #3a3832; border-radius: 999px; transition: background .2s; }
.fbs-switch span[aria-hidden]::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.fbs-switch input:checked + span { background: #d4af37; }
.fbs-switch input:checked + span::after { transform: translateX(20px); }
.fbs-switch input:focus-visible + span { outline: 2px solid #d4af37; outline-offset: 2px; }

/* Politikos lentelė */
.fbs-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.fbs-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fbs-table th, .fbs-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fb-border, #e5e5e5); vertical-align: top; }
.fbs-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fb-muted, #666); }
.fbs-table code { word-break: break-all; }

@media (max-width: 600px) {
	.fbs-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); font-size: 13px; }
	.fbs-banner__text { margin-bottom: 10px; }
	.fbs-banner__actions { gap: 6px; }
	.fbs-btn { padding: 8px 12px; font-size: 13px; }
	.fbs-modal { padding: 0; align-items: flex-end; }
	.fbs-modal__box { max-height: 92vh; border-radius: 16px 16px 0 0; }
	.fbs-modal__foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
	.fbs-modal__foot .fbs-btn { flex: 1 1 auto; }
}
