.cookie-notice {
  position: fixed;
  z-index: 80;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  width: calc(100% - 48px);
  max-width: 740px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 20px 24px;
  border: 1px solid #dce4eb;
  border-left: 4px solid #0f9b8e;
  border-radius: 10px;
  background: #fff;
  color: #45505c;
  box-shadow: 0 8px 36px rgba(18, 50, 79, .18);
  font-family: inherit;
}

.cookie-notice__content { min-width: 0; }

.cookie-notice__title {
  margin: 0 0 6px;
  color: #12324f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.cookie-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-notice__button {
  flex: none;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #12324f;
  border-radius: 8px;
  background: #12324f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.cookie-notice__button:hover { background: #0d2539; }
.cookie-notice__button:focus-visible { outline: 3px solid #0f9b8e; outline-offset: 3px; }

html.has-cookie-notice {
  scroll-padding-bottom: var(--cookie-notice-space, 180px);
}

html.has-cookie-notice body {
  padding-bottom: var(--cookie-notice-space, 180px);
}

@media (max-width: 600px) {
  .cookie-notice {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-notice__button { width: 100%; }
}

.cookie-notice[hidden]{display:none}
#analytics-settings{margin:0 4% 1rem;background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}
#analytics-deny{background:white;color:#12324f}
