.wd-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 1180px;
  margin-inline: auto;
  color: #f7f1e5;
  font-weight: 400;
  font-size: .95rem;
  line-height: 1.5;
}
.wd-consent[hidden] { display: none; }
.wd-consent__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(250px,340px);
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(222,192,131,.5);
  border-radius: 20px;
  background: linear-gradient(145deg,rgba(9,17,43,.97),rgba(16,29,62,.96));
  box-shadow: 0 24px 70px rgba(3,7,18,.48),inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.wd-consent__eyebrow { color: #d8bf82; font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.wd-consent__title { margin: 5px 0 8px; color: #fffaf0; font-weight: 700; font-size: 1.55rem; line-height: 1.15; }
.wd-consent__text { max-width: 72ch; margin: 0; }
.wd-consent__note { margin-top: 8px !important; color: rgba(247,241,229,.72); font-size: .82rem; }
.wd-consent__link { color: #ead08f; text-underline-offset: 3px; }
.wd-consent__choices { display: grid; align-content: center; gap: 9px; }
.wd-consent__required { display: flex; justify-content: space-between; gap: 12px; padding: 7px 4px; color: rgba(247,241,229,.76); font-size: .78rem; }
.wd-consent__required-title { color: #fff; }
.wd-consent__button {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1;
  cursor: pointer;
}
.wd-consent__button { padding: 10px 16px; border: 1px solid rgba(222,192,131,.42); }
.wd-consent__button--primary { background: linear-gradient(145deg,#315fbd,#173f94); color: #fff; }
.wd-consent__button--secondary { background: transparent; color: #f7f1e5; }
.wd-consent__button:hover { border-color: #ead08f; }

.wd-consent__inner {
  border: 0;
  box-shadow: var(--wd-surface-shadow);
}
.wd-consent__button:focus-visible,.wd-privacy-open:focus-visible { outline: 3px solid #ead08f; outline-offset: 3px; }
.wd-privacy-open { padding: 7px 0; border: 0; border-bottom: 1px solid rgba(226,205,152,.14); border-radius: 0; appearance: none; background: transparent; color: #eee8da; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.wd-privacy-open:hover { color: #dfc681; }
.wd-form-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(43,179,177,.24);
  border-radius: 14px;
  background: rgba(43,179,177,.07);
  color: var(--form-text, inherit);
  font-size: .88rem;
  line-height: 1.45;
  cursor: pointer;
}
.wd-form-consent__control { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #247f7d; }
.wd-form-consent__control:focus-visible { outline: 3px solid rgba(43,179,177,.34); outline-offset: 3px; }
.wd-form-consent__text { min-width: 0; }
.wd-form-consent__text::after { content: " *"; color: #b33d3d; font-weight: 800; }
.wd-form-consent__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wd-form--compact .wd-form-consent { margin-top: 12px; padding: 11px 12px; font-size: .78rem; }
@media (max-width: 760px) {
  .wd-consent { right: 10px; bottom: 10px; left: 10px; font-size: .88rem; }
  .wd-consent__inner { grid-template-columns: 1fr; gap: 13px; max-height: calc(100vh - 20px); padding: 16px; overflow: auto; border-radius: 16px; }
  .wd-consent__title { font-size: 1.3rem; }
  .wd-consent__choices { grid-template-columns: 1fr; }
}
