.cookiebar {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: 18px;
  background: #0f3a3f;
  color: #e8f1f0;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5);
  font-size: .92rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms cubic-bezier(.23, 1, .32, 1), transform 320ms cubic-bezier(.23, 1, .32, 1);
}
.cookiebar.is-visible { opacity: 1; transform: none; }
.cookiebar.is-leaving { opacity: 0; transform: translateY(8px); transition-duration: 180ms; }
.cookiebar p { margin: 0; color: #e8f1f0; }
.cookiebar strong { color: #fff; }
.cookiebar a { color: #f2a27e; font-weight: 600; }
.cookiebar button {
  flex: none;
  min-height: 44px;
  padding: .6rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #f2a27e;
  color: #0f3a3f;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color .2s;
}
.cookiebar button:hover { background: #f6b597; }
.cookiebar button:active { transform: scale(.97); }
.cookiebar button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) {
  .cookiebar { left: 12px; right: 12px; max-width: none; flex-direction: column; align-items: stretch; }
  .cookiebar button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookiebar, .cookiebar.is-leaving { transition: none; }
}
