.cookie-ui [hidden], .cookie-preferences[hidden] { display: none !important; }
.cookie-preferences { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.cookie-preferences:hover { color: var(--cyan); }
.cookie-banner { position: fixed; z-index: 100; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px 26px; border: 1px solid #cbbce8; border-radius: 14px; background: #fff8e7; color: #13101c; box-shadow: 0 8px 40px #0005; }
.cookie-banner h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.4px; }
.cookie-banner p, .cookie-dialog p { font-size: 14px; line-height: 1.6; }
.cookie-banner a { color: #6d3bd1; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-actions button { min-height: 44px; padding: 11px 16px; border: 1px solid #6d3bd1; border-radius: 6px; background: #fff8e7; color: #3e2371; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cookie-actions button:hover { background: #eee4ff; }
.cookie-actions button:focus-visible, .cookie-category input:focus-visible { outline: 3px solid #8b5cf6; outline-offset: 3px; }
.cookie-dialog { max-width: 560px; max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border: 1px solid #8b5cf6; background: #13101c; color: #fff8e7; }
.cookie-dialog h2 { margin-bottom: 14px; font-size: 26px; line-height: 1.2; letter-spacing: -.6px; }
.cookie-dialog a { color: #c8b5ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid #4b415f; font-size: 15px; }
div.cookie-category { display: block; }
.cookie-category strong { display: block; margin-bottom: 6px; }
.cookie-category span span, .cookie-category p { display: block; font-size: 13px; line-height: 1.6; color: #ddd3ef; }
.cookie-category input { flex: 0 0 auto; width: 24px; height: 24px; accent-color: #8b5cf6; cursor: pointer; }
.cookie-dialog .cookie-note { margin-top: 18px; font-size: 12px; color: #ddd3ef; }
.cookie-storage-status { position: fixed; bottom: 12px; left: 16px; right: 16px; z-index: 101; padding: 14px; border: 1px solid #8b5cf6; border-radius: 8px; background: #13101c; color: #fff8e7; font-size: 14px; }
.footer-inner nav { flex-wrap: wrap; }
@media (max-width: 600px) {
  .cookie-banner { padding: 18px; bottom: 8px; width: calc(100% - 16px); }
  .cookie-banner h2 { font-size: 18px; }
  .cookie-banner p { font-size: 13px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions button[data-consent="customize"] { grid-column: 1 / -1; }
  .cookie-dialog { padding: 24px 20px; }
  .cookie-dialog h2 { font-size: 23px; }
}
