#bdgc-root { --bdgc-ink: #0F2D52; --bdgc-text: #4F5D73; --bdgc-quiet: #5C6A80; --bdgc-green: #2A7F48; --bdgc-green-h: #24733F; --bdgc-line: #E3EAF2; --bdgc-soft: #F7FBFF; --bdgc-ring: #A4D8F0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; color: var(--bdgc-ink); -webkit-font-smoothing: antialiased; }
#bdgc-root, #bdgc-root * { box-sizing: border-box; }
#bdgc-root [hidden] { display: none !important; }
#bdgc-root p, #bdgc-root h2 { margin: 0; padding: 0; font-family: inherit; letter-spacing: 0; text-transform: none; }
#bdgc-root svg { display: block; }

#bdgc-root .bdgc-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; display: flex; align-items: center; gap: 28px; max-width: 1080px; margin: 0 auto; padding: 20px 22px 20px 26px; background: #fff; border: 1px solid var(--bdgc-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(15, 45, 82, .18), 0 2px 6px rgba(15, 45, 82, .06); animation: bdgc-up .4s cubic-bezier(.2, .7, .2, 1) both; }
#bdgc-root .bdgc-bar-text { flex: 1 1 auto; min-width: 0; }
#bdgc-root .bdgc-bar-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--bdgc-ink); }
#bdgc-root .bdgc-bar-title svg { width: 20px; height: 20px; flex: none; color: var(--bdgc-green); }
#bdgc-root .bdgc-bar-copy { font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--bdgc-text); text-wrap: pretty; }
#bdgc-root .bdgc-bar-copy a { color: var(--bdgc-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
#bdgc-root .bdgc-bar-copy a:hover { color: var(--bdgc-green); }
#bdgc-root .bdgc-actions { display: flex; gap: 10px; flex: none; }

#bdgc-root .bdgc-btn { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px 20px; border: 1.5px solid transparent; border-radius: 999px; font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-align: center; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; transition: background-color .15s, border-color .15s, color .15s; }
#bdgc-root .bdgc-green, #bdgc-root .bdgc-green:focus { background: var(--bdgc-green); border-color: var(--bdgc-green); color: #fff; }
#bdgc-root .bdgc-green:hover { background: var(--bdgc-green-h); border-color: var(--bdgc-green-h); color: #fff; }
#bdgc-root .bdgc-dark, #bdgc-root .bdgc-dark:focus { background: var(--bdgc-ink); border-color: var(--bdgc-ink); color: #fff; }
#bdgc-root .bdgc-dark:hover { background: #1B3D66; border-color: #1B3D66; color: #fff; }
#bdgc-root .bdgc-ghost, #bdgc-root .bdgc-ghost:focus { background: #fff; border-color: #C9D4E2; color: var(--bdgc-ink); }
#bdgc-root .bdgc-ghost:hover { background: var(--bdgc-soft); border-color: var(--bdgc-ink); color: var(--bdgc-ink); }
#bdgc-root .bdgc-btn:focus-visible, #bdgc-root .bdgc-x:focus-visible, #bdgc-root .bdgc-reopen:focus-visible, #bdgc-root .bdgc-bar-copy a:focus-visible { outline: 3px solid var(--bdgc-ring); outline-offset: 2px; }

#bdgc-root .bdgc-modal { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 16px; }
#bdgc-root .bdgc-overlay { position: absolute; inset: 0; background: rgba(15, 45, 82, .45); animation: bdgc-fade .2s ease both; }
#bdgc-root .bdgc-dialog { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: min(740px, calc(100dvh - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(15, 45, 82, .3); overflow: hidden; outline: none; animation: bdgc-pop .25s cubic-bezier(.2, .7, .2, 1) both; }
#bdgc-root .bdgc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 14px; }
#bdgc-root .bdgc-title { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--bdgc-ink); }
#bdgc-root .bdgc-x { -webkit-appearance: none; appearance: none; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin: -6px -10px -6px 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bdgc-text); cursor: pointer; box-shadow: none; transition: background-color .15s, color .15s; }
#bdgc-root .bdgc-x:hover, #bdgc-root .bdgc-x:focus { background: var(--bdgc-soft); color: var(--bdgc-ink); }
#bdgc-root .bdgc-x svg { width: 20px; height: 20px; }
#bdgc-root .bdgc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 24px 8px; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
#bdgc-root .bdgc-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
#bdgc-root .bdgc-intro { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--bdgc-text); }
#bdgc-root .bdgc-cat { margin: 0 0 12px; padding: 16px 18px; background: var(--bdgc-soft); border: 1px solid var(--bdgc-line); border-radius: 14px; }
#bdgc-root .bdgc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 6px; padding: 0; font-size: inherit; font-weight: 400; line-height: 1.3; cursor: default; }
#bdgc-root label.bdgc-cat-head { cursor: pointer; }
#bdgc-root .bdgc-cat-name { font-size: 15px; font-weight: 700; color: var(--bdgc-ink); }
#bdgc-root .bdgc-always { font-size: 12.5px; font-weight: 600; color: var(--bdgc-green); white-space: nowrap; }
#bdgc-root .bdgc-cat-text { font-size: 13.5px; line-height: 1.5; color: var(--bdgc-text); }
#bdgc-root .bdgc-cookies { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--bdgc-quiet); overflow-wrap: anywhere; }

#bdgc-root .bdgc-switch { position: relative; display: inline-block; flex: none; width: 46px; height: 26px; }
#bdgc-root .bdgc-switch input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
#bdgc-root .bdgc-knob { position: absolute; inset: 0; border-radius: 999px; background: #C9D4E2; transition: background-color .18s; }
#bdgc-root .bdgc-knob::before { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 45, 82, .25); transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
#bdgc-root .bdgc-switch input:checked + .bdgc-knob { background: var(--bdgc-green); }
#bdgc-root .bdgc-switch input:checked + .bdgc-knob::before { transform: translateX(20px); }
#bdgc-root .bdgc-switch input:focus-visible + .bdgc-knob { outline: 3px solid var(--bdgc-ring); outline-offset: 2px; }

#bdgc-root .bdgc-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 20px; background: #fff; border-top: 1px solid var(--bdgc-line); }

#bdgc-root .bdgc-reopen { -webkit-appearance: none; appearance: none; position: fixed; left: 16px; bottom: 16px; z-index: 2147482990; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--bdgc-line); border-radius: 50%; color: var(--bdgc-green); cursor: pointer; box-shadow: 0 6px 18px rgba(15, 45, 82, .16); transition: transform .15s, box-shadow .15s; }
#bdgc-root .bdgc-reopen:hover, #bdgc-root .bdgc-reopen:focus { background: #fff; color: var(--bdgc-green); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 45, 82, .2); }
#bdgc-root .bdgc-reopen svg { width: 22px; height: 22px; }

html.bdgc-lock { overflow: hidden; }

@keyframes bdgc-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bdgc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bdgc-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bdgc-sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 880px) {
	#bdgc-root .bdgc-bar { flex-direction: column; align-items: stretch; gap: 16px; left: 12px; right: 12px; bottom: 12px; padding: 18px; }
	#bdgc-root .bdgc-actions { display: grid; grid-template-columns: 1fr 1fr; }
	#bdgc-root .bdgc-actions .bdgc-ghost { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 560px) {
	#bdgc-root .bdgc-modal { align-items: flex-end; padding: 0; }
	#bdgc-root .bdgc-dialog { max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 20px 20px 0 0; animation-name: bdgc-sheet; }
	#bdgc-root .bdgc-head { padding: 18px 18px 12px; }
	#bdgc-root .bdgc-body { padding: 0 18px 6px; }
	#bdgc-root .bdgc-cat { padding: 14px 16px; }
	#bdgc-root .bdgc-foot { flex-direction: column-reverse; padding: 12px 18px 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
	#bdgc-root .bdgc-foot .bdgc-btn { width: 100%; }
}

@media (max-width: 380px) {
	#bdgc-root .bdgc-bar { left: 8px; right: 8px; bottom: 8px; padding: 16px 14px; }
	#bdgc-root .bdgc-actions { gap: 8px; }
	#bdgc-root .bdgc-btn { padding: 10px 12px; white-space: normal; }
	#bdgc-root .bdgc-reopen { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	#bdgc-root *, #bdgc-root *::before { animation: none !important; transition: none !important; }
}
