.cookie-banner { position: fixed; z-index: 1000; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; width: min(1160px, calc(100% - 36px)); margin-inline: auto; padding: 20px; border: 1px solid rgba(225,0,255,.38); border-radius: 5px 22px; background: rgba(10,9,15,.97); color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.64); backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { display: flex; align-items: flex-start; gap: 14px; }
.cookie-banner-copy img { flex: 0 0 42px; }
.cookie-banner-copy strong { display: block; font-family: Cinzel, serif; font-size: 1.05rem; }
.cookie-banner-copy p { max-width: 680px; margin: 5px 0 4px; color: #c7c1ce; font-size: .78rem; line-height: 1.55; }
.cookie-banner-copy a { color: #f09aff; font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions, .consent-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-button { min-height: 42px; padding: 9px 14px; border: 1px solid #5b4769; border-radius: 5px 13px; background: #17131d; color: #fff; font: 700 .72rem/1.3 Poppins, sans-serif; cursor: pointer; }
.cookie-button:hover, .cookie-button:focus-visible { border-color: #e100ff; outline: none; }
.cookie-primary { border-color: transparent; background: linear-gradient(100deg,#7f00ff,#e100ff); }
.consent-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow-y: auto; padding: 0; border: 1px solid #59316a; border-radius: 5px 24px; background: #0d0b12; color: #fff; box-shadow: 0 28px 100px #000d; }
.consent-dialog::backdrop { background: rgba(3,2,6,.82); backdrop-filter: blur(5px); }
.consent-dialog form { position: relative; padding: clamp(24px, 5vw, 42px); }
.consent-dialog h2 { margin: 0 0 12px; font-family: Cinzel, serif; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 500; }
.consent-dialog form > p:not(.eyebrow) { color: #bdb5c5; font-size: .88rem; line-height: 1.65; }
.consent-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid #3c3045; border-radius: 50%; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
.consent-options { display: grid; gap: 8px; margin: 24px 0; }
.consent-options label { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 16px; padding: 15px; border: 1px solid #312738; border-radius: 4px 14px; background: #15121a; cursor: pointer; }
.consent-options label span { display: grid; gap: 3px; }
.consent-options strong { font-size: .88rem; }
.consent-options small { color: #a9a0b1; font-size: .72rem; line-height: 1.45; }
.consent-options input { position: absolute; opacity: 0; pointer-events: none; }
.consent-options i { position: relative; width: 46px; height: 26px; border: 1px solid #55435f; border-radius: 99px; background: #25202b; transition: .2s; }
.consent-options i::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #968c9e; content: ""; transition: .2s; }
.consent-options input:checked + i { border-color: #cf00eb; background: #7200a5; }
.consent-options input:checked + i::after { left: 23px; background: #fff; }
.consent-options input:disabled + i { opacity: .72; }

@media (max-width: 800px) {
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions [data-consent-manage] { grid-column: 1 / -1; }
  .cookie-button { width: 100%; }
}
@media (max-width: 520px) {
  .cookie-banner { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; width: calc(100% - 20px); padding: 16px; border-radius: 4px 18px; }
  .cookie-banner-copy img { display: none; }
  .cookie-banner-copy strong { font-size: .95rem; }
  .cookie-banner-copy p { font-size: .74rem; }
  .cookie-banner-actions { grid-template-columns: 1fr; }
  .cookie-banner-actions [data-consent-manage] { grid-column: auto; }
  .consent-dialog-actions { display: grid; grid-template-columns: 1fr; }
}

