.nyxo-cookie-banner[hidden] { display: none !important; }
.nyxo-cookie-banner,.nyxo-cookie-dialog {
  font-family: Inter, Arial, sans-serif;
  color: #f3f6ff;
  background: #0b1427;
  border: 1px solid #344565;
  border-radius: 18px;
  box-shadow: 0 16px 70px #0008;
  line-height: 1.55;
}
.nyxo-cookie-banner {
  position: fixed;
  z-index: 10000;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1140px;
  margin: auto;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.nyxo-cookie-banner strong { font-size: 1.1rem; }
.nyxo-cookie-banner p,.nyxo-cookie-dialog p {
  font-size: .9rem;
  margin: 8px 0;
  color: #c7d2e8;
}
.nyxo-cookie-banner a,.nyxo-cookie-dialog a { color: #a9c9ff; text-decoration: underline; }
.nyxo-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.nyxo-cookie-actions button,.nyxo-cookie-manage { font: inherit; cursor: pointer; }
.nyxo-cookie-actions button {
  padding: 11px 16px;
  border: 1px solid #6c87b1;
  color: #fff;
  background: #192b48;
  border-radius: 9px;
  min-height: 44px;
}
.nyxo-cookie-actions button:hover { background: #294064; }
.nyxo-cookie-actions button:focus-visible,.nyxo-cookie-manage:focus-visible {
  outline: 3px solid #85b8ff;
  outline-offset: 3px;
}
.nyxo-cookie-dialog {
  padding: 28px;
  width: min(560px, calc(100% - 32px));
  max-height: 85vh;
  overflow: auto;
  margin: auto;
}
.nyxo-cookie-dialog::backdrop { background: #020711bb; }
.nyxo-cookie-dialog label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  margin-top: 20px;
}
.nyxo-cookie-dialog input { width: 18px; height: 18px; accent-color: #7aaeff; }
.nyxo-cookie-dialog .nyxo-cookie-actions { margin-top: 24px; }
.nyxo-cookie-manage {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  text-decoration: underline;
}
.nyxo-cookie-dialog h2 { font-size: 1.35rem; }
@media (max-width: 1024px) {
  body.app-body .nyxo-cookie-banner {
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 110px - env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  body.app-body.sidebar-open .nyxo-cookie-banner {
    visibility: hidden;
    pointer-events: none;
  }
}
@media (max-width: 850px) {
  .nyxo-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 18px;
    gap: 14px;
  }
  .nyxo-cookie-actions { flex-shrink: 1; }
  .nyxo-cookie-actions button { flex: 1; }
}
