.ff-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #506144;
  border-radius: 18px;
  background: #152116;
  color: #fff;
  box-shadow: 0 16px 48px #0008;
  font: 14px/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
}
.ff-consent *, .ff-consent *::before, .ff-consent *::after { box-sizing: border-box; }
.ff-consent h2 { color: #fff; font-size: 18px; line-height: 1.25; margin: 0 0 6px; }
.ff-consent p { font-size: 14px; margin: 0 0 8px; color: #dde5d5; }
.ff-consent a { color: #c5ed9a; text-decoration: underline; }
.ff-consent-links { margin-bottom: 14px !important; }
.ff-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-consent-button {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ff-primary { background: #96dc1e; border: 1px solid #96dc1e; color: #101b0a; }
.ff-secondary { background: transparent; border: 1px solid #b1c6a5; color: #fff; }
.ff-text { background: transparent; border: 1px solid transparent; color: #c5ed9a; text-decoration: underline; }
.ff-consent-button:focus-visible, .ff-consent a:focus-visible, .ff-consent input:focus-visible {
  outline: 3px solid #96dc1e; outline-offset: 2px;
}
.ff-consent-categories { display: grid; gap: 8px; margin: 14px 0; }
.ff-consent-category {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 10px; border: 1px solid #506144; border-radius: 10px; cursor: pointer;
}
.ff-consent-category input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #96dc1e; flex: none; }
.ff-consent-category strong, .ff-consent-category small { display: block; }
.ff-consent-category small { color: #dde5d5; font-size: 12px; }
.ff-consent-note { font-size: 12px !important; }
@media (max-width: 520px) {
  .ff-consent { padding: 16px; }
  .ff-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ff-consent-button { padding: 8px; }
  .ff-text { grid-column: 1 / -1; }
}