.cookie-preferences[hidden], #cookie-settings[hidden] { display: none; }
#cookie-settings { padding: 0; border: 0; background: transparent; color: #b6d0c4; font: inherit; text-align: left; cursor: pointer; }
#cookie-settings:hover { color: #70e6c3; text-decoration: underline; }
.cookie-preferences {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  max-height: 55dvh;
  overflow: auto;
  border-top: 1px solid #3b6c5b;
  background: #102820;
  color: #e6f4ee;
  box-shadow: 0 -12px 48px #0006;
}
.cookie-preferences-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 28px;
  padding-block: 16px max(16px, env(safe-area-inset-bottom));
}
.cookie-preferences h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.35; }
.cookie-preferences p { margin: 0; max-width: 760px; color: #bfd4cb; font-size: 13px; line-height: 1.5; }
.cookie-preferences p a { color: #7eebcc; text-decoration: underline; text-underline-offset: 2px; }
.cookie-preferences-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-preferences-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #5bbb9e;
  border-radius: 8px;
  background: #194439;
  color: #e6f4ee;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.cookie-preferences-actions button:hover { background: #285b4d; }
.cookie-preferences :is(a, button):focus-visible, #cookie-settings:focus-visible { outline: 2px solid #79f5d2; outline-offset: 3px; }
@media (max-width: 700px) {
  .cookie-preferences-inner { grid-template-columns: 1fr; }
}
