.cookie-notice[hidden], [data-cookie-preview-bar][hidden] {
  display: none !important;
}
.cookie-notice {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(1080px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 12px 16px;
  box-shadow: 0 10px 40px #0009;
}
.cookie-notice, .cookie-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  background: var(--cms-panel, #091118);
  color: var(--ink, #eef1f3);
  border: 1px solid var(--cms-border, #536070);
}
.cookie-preview-bar {
  padding: 12px 16px;
}
.cookie-notice-text {
  flex: 1 1 320px;
}
.cookie-notice h2, .cookie-preview-bar h3 {
  font-size: 1rem;
  margin: 0 0 3px;
}
.cookie-notice p, .cookie-preview-bar p {
  font-size: .95rem;
  line-height: 1.35;
  margin: 0;
}
.cookie-notice form {
  margin: 0;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--red, #ff3449);
  background: transparent;
  color: var(--ink, #eef1f3);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions button:hover, .cookie-actions button:focus-visible {
  outline: 2px solid var(--yellow, #f5ef1b);
  outline-offset: 2px;
}
.cookie-actions button:disabled {
  opacity: .6;
  cursor: wait;
}
.cookie-actions a {
  color: var(--ink, #eef1f3);
  text-decoration: underline;
}
.cookie-notice .cookie-error:empty {
  display: none;
}
@media (max-width: 600px) {
  .cookie-notice form { width: 100%; }
}
