:host { font-family: "Manrope", "Segoe UI", sans-serif; font-size: 14px; line-height: 1.6; color: #f7f8fc; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #656a78; border-radius: 999px; background: transparent; color: #fff; padding: 9px 20px; cursor: pointer; line-height: 1.35; font-weight: 600; }
button:hover { background: #242835; border-color: #b1b6c4; }
a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f5c400; outline-offset: 3px; }
p { margin: 0 0 12px; color: #bfc3cd; overflow-wrap: anywhere; }
.cookie-banner { position: fixed; z-index: 2147483000; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; border: 1px solid #393d49; border-radius: 18px; background: #10131b; box-shadow: 0 12px 48px #0006; }
.cookie-banner > p { padding-right: 32px; }
.cookie-close { position: absolute; right: 10px; top: 10px; width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 10px; font-size: 25px; color: #bfc3cd; }
.cookie-links { font-size: 13px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cookie-actions__choices { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.cookie-solid { background: #fff; border-color: #fff; color: #10131b; }
.cookie-solid:hover { background: #e8eaf0; border-color: #e8eaf0; }
.cookie-launcher { position: fixed; z-index: 2147482000; bottom: max(8px, env(safe-area-inset-bottom)); left: 10px; min-height: 36px; padding: 6px 12px; background: #10131b; font-size: 12px; box-shadow: 0 2px 10px #0003; }
:host([data-inline]) { display: block; flex: none; }
:host([data-inline]) .cookie-launcher { position: static; min-height: 32px; padding: 5px 10px; box-shadow: none; white-space: nowrap; }
.cookie-dialog { position: fixed; width: min(680px, calc(100% - 32px)); max-width: none; height: auto; max-height: min(780px, calc(100dvh - 32px)); margin: auto; padding: 0; border: 1px solid #393d49; border-radius: 18px; background: #10131b; color: #fff; box-shadow: 0 24px 80px #0008; overflow: hidden; }
.cookie-dialog[open] { display: flex; flex-direction: column; }
.cookie-dialog::backdrop { background: #070b18a6; }
.cookie-dialog header { flex: none; position: relative; padding: 22px 64px 12px 24px; }
h2 { margin: 0; font-size: clamp(20px, 3vw, 25px); font-weight: 650; line-height: 1.3; }
.cookie-dialog__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; scrollbar-color: #717887 #1e2330; scrollbar-width: thin; }
.cookie-note { padding: 12px; background: #1c2231; border-radius: 8px; font-size: 12px; color: #cbd0dc; }
.cookie-category { border-top: 1px solid #393d49; padding: 15px 0; }
.cookie-category__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-disclosure { justify-content: flex-start; flex: 1; border: 0; border-radius: 6px; padding: 4px 0; text-align: left; font-size: 16px; font-weight: 650; }
.cookie-disclosure:hover { background: transparent; color: #f5d957; }
.cookie-disclosure > span:first-child { font-size: 25px; flex: none; width: 20px; text-align: center; transition: transform 150ms; }
.cookie-disclosure[aria-expanded="true"] > span:first-child { transform: rotate(90deg); }
.cookie-category > p { padding: 6px 0 0 28px; margin: 0; }
.cookie-always { flex: none; font-size: 12px; color: #c4c9d4; }
input[role="switch"] { appearance: none; flex: none; width: 48px; height: 28px; margin: 8px 0; border: 1px solid #7b8293; border-radius: 999px; background: #353b4b; cursor: pointer; position: relative; }
input[role="switch"]::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform 150ms; }
input[role="switch"]:checked { background: #f7f8fc; border-color: #f7f8fc; }
input[role="switch"]:checked::before { background: #10131b; transform: translateX(20px); }
input[role="switch"]:disabled { cursor: not-allowed; opacity: .65; }
.cookie-dialog footer { flex: none; margin: 0; padding: 16px 24px; border-top: 1px solid #393d49; background: #10131b; }
.cookie-dialog footer .cookie-solid { margin-left: auto; }
.cookie-status { position: fixed; z-index: 2147483001; bottom: 52px; left: 12px; max-width: min(440px, calc(100% - 24px)); padding: 12px 16px; background: #10131b; color: #fff; border: 1px solid #656a78; border-radius: 10px; }
@media (max-width: 560px) {
  .cookie-banner { padding: 18px; width: calc(100% - 16px); bottom: 8px; border-radius: 12px; }
  .cookie-banner > p { padding-right: 24px; }
  .cookie-actions, .cookie-actions__choices { gap: 8px; }
  .cookie-banner .cookie-actions { align-items: stretch; }
  .cookie-banner .cookie-actions > button, .cookie-actions__choices { width: 100%; margin-left: 0; }
  .cookie-actions__choices > button { flex: 1; padding-inline: 10px; }
  .cookie-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .cookie-dialog header { padding: 18px 52px 14px 16px; }
  .cookie-dialog__body { padding: 0 16px; }
  .cookie-dialog footer { padding: 12px 16px; }
  .cookie-dialog footer > button { flex: 1; padding-inline: 12px; }
  .cookie-dialog footer .cookie-solid { flex-basis: 100%; margin-left: 0; }
  .cookie-category__heading { gap: 8px; }
  .cookie-disclosure { font-size: 14px; }
  .cookie-always { max-width: 62px; text-align: right; }
  input[role="switch"] { width: 52px; height: 32px; margin: 6px 0; }
  input[role="switch"]::before { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; } }
@media (forced-colors: active) { input[role="switch"] { appearance: auto; } }
