.ouno-consent {
  position: fixed;
  z-index: 100;
  right: clamp(14px, 2.4vw, 34px);
  bottom: max(14px, env(safe-area-inset-bottom));
  left: clamp(14px, 2.4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(245, 240, 231, .22);
  border-radius: 3px;
  background: rgba(53, 43, 38, .97);
  color: #F5F0E7;
  box-shadow: 0 14px 44px rgba(35, 24, 20, .24);
  font-family: "DM Sans", Arial, sans-serif;
  transform: translate3d(0, calc(100% + 40px), 0);
  opacity: 0;
  visibility: hidden;
  transition: transform .46s cubic-bezier(.2,.8,.2,1), opacity .32s ease, visibility 0s linear .46s;
}

.ouno-consent.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ouno-consent__copy {
  margin: 0;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -.01em;
}

.ouno-consent a {
  color: inherit;
  text-underline-offset: 3px;
}

.ouno-consent__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
}

.ouno-consent button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 240, 231, .52);
  border-radius: 0;
  background: transparent;
  color: #F5F0E7;
  font: 600 10px/1 "DM Sans", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.ouno-consent button[data-consent="granted"] {
  border-color: #F5F0E7;
  background: #F5F0E7;
  color: #352B26;
}

.ouno-consent button:focus-visible,
.privacy-settings:focus-visible {
  outline: 2px solid #F5F0E7;
  outline-offset: 3px;
}

.privacy-settings {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .ouno-consent {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    max-height: 15dvh;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    overflow: auto;
  }

  .ouno-consent__copy {
    font-size: 10.5px;
    line-height: 1.32;
  }

  .ouno-consent__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .ouno-consent button {
    min-height: 29px;
    padding: 6px 9px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ouno-consent { transition: none; }
}
