.cookie-notice {
  position: fixed;
  z-index: 45;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(580px, calc(100% - 32px));
  box-sizing: border-box;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--ui-border-on-dark, #5c6462);
  border-radius: 14px;
  background: var(--ui-graphite, #252a2b);
  color: var(--ui-on-dark, #f7f8f5);
  box-shadow: 0 8px 28px rgb(0 0 0 / 16%);
  font-family: "ALGACLUB Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice .cookie-notice-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: inherit;
  font: inherit;
}

.cookie-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice .cookie-notice-button {
  flex: none;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ui-accent, #9aca16);
  color: var(--ui-text, #17191a);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.cookie-notice a:focus-visible,
.cookie-notice button:focus-visible {
  outline: 2px solid var(--ui-accent, #9aca16);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .cookie-notice {
    gap: 12px;
    padding: 12px;
    font-size: 13px;
  }

  .cookie-notice .cookie-notice-button {
    padding-inline: 12px;
  }
}
