.cookie-banner, .cookie-banner * { box-sizing: border-box; }
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 40px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 18px;
  background: #0f1c2e;
  color: #eef5ff;
  border: 1px solid #485e76;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  font: 14px/1.5 system-ui, sans-serif;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { max-width: 700px; }
.cookie-banner p { margin: 0; color: #c7d8eb; }
.cookie-banner a { color: #f5c542; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; justify-content: flex-end; flex-shrink: 0; gap: 10px; }
.cookie-banner button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #a0b8d4;
  border-radius: 60px;
  background: transparent;
  color: #eef5ff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner button:hover { background: #1d344c; }
.cookie-banner button.cookie-banner__accept { color: #07111f; background: #f5c542; border-color: #f5c542; }
.cookie-banner button.cookie-banner__accept:hover { background: #ffdd77; }
.cookie-settings {
  padding: 0;
  min-height: 32px;
  background: transparent;
  border: 0;
  color: #b8cce4;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner button:focus-visible, .cookie-banner a:focus-visible, .cookie-settings:focus-visible { outline: 2px solid #f5c542; outline-offset: 4px; }
@media (max-width: 440px) {
  .cookie-banner { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); gap: 12px; padding: 16px; font-size: 13px; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-banner button { padding: 10px 8px; white-space: normal; }
}
