.stm-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  pointer-events: none;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.stm-consent[hidden] {
  display: none !important;
}

.stm-consent__inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  background: #111;
  color: #f5f5f5;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.stm-consent__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.45;
}

.stm-consent__link {
  color: #c9a96e;
  text-decoration: underline;
}

.stm-consent__actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.stm-consent__btn {
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.2;
}

.stm-consent__btn--accept {
  background: #c9a96e;
  color: #111;
  font-weight: 600;
}

.stm-consent__btn--decline {
  background: transparent;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.stm-consent__btn:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .stm-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .stm-consent__actions {
    justify-content: stretch;
  }
  .stm-consent__btn {
    flex: 1;
  }
}
