.cookie-notice {
  position: fixed;
  z-index: 19;
  inset: auto auto max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 440px;
  max-width: calc(100% - 40px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-card);
  color: var(--ink);
  box-shadow: 0 8px 36px rgb(0 0 0 / .12);
  animation: cookie-notice-in 300ms ease-out both;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__details { margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.cookie-notice__actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.cookie-notice__agreement { margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
.analytics-settings { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 10px 0; background: none; border: 0; color: var(--ink-2); font: inherit; font-size: 12px; line-height: 20px; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; cursor: pointer; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
.analytics-settings:hover { color: var(--ink); text-decoration-color: var(--accent); }
.analytics-settings:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--line); border-radius: 6px; }
.cookie-notice__title {
  margin: 0 0 5px;
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.45;
}
.cookie-notice__policy {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice__accept {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font: 14px/1.4 var(--font-mono);
  cursor: pointer;
}
.cookie-notice__accept:hover { background: var(--ink-2); }
.cookie-notice__accept.cookie-notice__decline { align-self: center; min-height: 40px; padding: 8px 18px; border: 0; background: transparent; color: var(--ink-2); font: 13px/1.5 var(--font-mono); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice__accept.cookie-notice__decline:hover { color: var(--ink); }
.cookie-notice__accept:focus-visible,
.cookie-notice__policy:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent-deep); }
@keyframes cookie-notice-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    padding: 16px;
    gap: 12px;
  }
  .cookie-notice__title { font-size: 16px; }
  .cookie-notice__actions { flex-direction: column; }
  .cookie-notice__accept { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { animation: none; }
}

.cookie-notice{background:#f5f0e7;z-index:100}.cookie-notice__accept{font:inherit;color:#f5f0e7}.cookie-notice__decline{color:#27332b}.cookie-notice__title{font:600 19px Manrope,sans-serif}.analytics-settings{color:#184e56}
