.fegm-consent[hidden], .fegm-consent-settings[hidden] { display: none !important; }
.fegm-consent {
  position: fixed;
  inset: auto 18px 18px 18px;
  z-index: 999999;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px;
  color: #fffaf4;
  background: #132532;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fegm-consent h2 { margin: 0 0 8px; color: #fff; font-size: 22px; line-height: 1.15; }
.fegm-consent p { margin: 0; color: #dce5e9; font-size: 14px; line-height: 1.5; }
.fegm-consent a { color: #ffb777; text-decoration: underline; }
.fegm-consent-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.fegm-consent button { min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; background: transparent; font: 700 13px/1 inherit; cursor: pointer; }
.fegm-consent button[data-fegm-accept], .fegm-consent button[data-fegm-save] { color: #17242e; background: #ed7b27; border-color: #ed7b27; }
.fegm-consent-settings { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.fegm-consent-toggle { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.fegm-consent-toggle input { margin-top: 3px; accent-color: #ed7b27; }
.fegm-consent-toggle strong, .fegm-consent-toggle small { display: block; }
.fegm-consent-toggle small { margin-top: 3px; color: #c4ced5; }
@media (max-width: 560px) {
  .fegm-consent { inset: auto 8px 8px 8px; max-height: calc(100dvh - 98px); padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
  .fegm-consent-actions { display: grid; }
  .fegm-consent button { width: 100%; }
}
