@font-face {
  font-family: "BF Consent Lexend";
  src: url("../source/byteforge/fonts/lexend-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BF Consent Lexend";
  src: url("../source/byteforge/fonts/lexend-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.bf-consent,
.bf-consent-dialog {
  --bf-consent-bg: #fff;
  --bf-consent-ink: #161616;
  --bf-consent-accent: #f55f05;
  --bf-consent-primary-bg: #161616;
  --bf-consent-primary-text: #fff;
  --bf-consent-secondary-bg: #fff;
  --bf-consent-secondary-text: #161616;
  --bf-consent-font: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --bf-consent-button-radius: 999px;
  color: var(--bf-consent-ink);
  font: 15px/1.5 var(--bf-consent-font);
}
.bf-consent[hidden] { display: none; }
.bf-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(1040px, calc(100% - 40px));
  margin: auto;
  border: 1px solid color-mix(in srgb, var(--bf-consent-ink) 18%, transparent);
  border-radius: 24px;
  padding: 24px;
  background: var(--bf-consent-bg);
  box-shadow: 0 24px 80px rgb(0 0 0 / .18);
}
.bf-consent h2,
.bf-consent-dialog h2 {
  margin: 2px 0 8px;
  color: var(--bf-consent-ink);
  font-family: var(--bf-consent-font);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.bf-consent p { max-width: 680px; margin: 0; color: var(--bf-consent-ink); }
.bf-consent a { color: inherit; text-decoration: underline; }
.bf-consent-kicker { margin: 0 !important; color: var(--bf-consent-ink) !important; font-size: 11px !important; font-weight: 800 !important; opacity: 1 !important; }
.bf-consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.bf-consent-button {
  min-height: 44px;
  border: 1px solid var(--bf-consent-primary-bg);
  border-radius: var(--bf-consent-button-radius);
  padding: 9px 18px;
  background: var(--bf-consent-primary-bg);
  color: var(--bf-consent-primary-text);
  font: 800 14px/1.2 var(--bf-consent-font);
  cursor: pointer;
}
.bf-consent-button:hover,
.bf-consent-button:active,
.bf-consent-button:focus {
  border-radius: var(--bf-consent-button-radius) !important;
  outline: none;
  box-shadow: none;
}
.bf-consent-button.is-secondary { border-color: var(--bf-consent-secondary-text); background: var(--bf-consent-secondary-bg); color: var(--bf-consent-secondary-text); }
html[data-bf-consent-input="pointer"] .bf-consent-button:focus,
html[data-bf-consent-input="pointer"] .bf-consent-close:focus { outline: 0 !important; box-shadow: none !important; }
html[data-bf-consent-input="keyboard"] .bf-consent-button:focus-visible,
html[data-bf-consent-input="keyboard"] .bf-consent-close:focus-visible { outline: 3px solid var(--bf-consent-ink); outline-offset: 3px; box-shadow: none; }
.bf-consent-dialog { width: min(650px, calc(100% - 32px)); border: 0; border-radius: 26px; padding: 0; background: var(--bf-consent-bg); box-shadow: 0 25px 80px rgb(0 0 0 / .28); }
.bf-consent-dialog::backdrop { background: rgb(0 0 0 / .55); }
.bf-consent-dialog form { padding: 28px; }
.bf-consent-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.bf-consent-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bf-consent-secondary-bg); color: var(--bf-consent-secondary-text); font: 25px/1 var(--bf-consent-font); cursor: pointer; }
.bf-consent-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid color-mix(in srgb, var(--bf-consent-ink) 15%, transparent); padding: 18px 0; }
.bf-consent-option strong { color: var(--bf-consent-ink); font-size: 16px; }
.bf-consent-option p { max-width: 470px; margin: 4px 0 0; color: var(--bf-consent-ink); }
.bf-consent-option input { width: 22px; height: 22px; accent-color: var(--bf-consent-accent); }
.bf-consent-service { display: grid; gap: 2px; border-top: 1px solid color-mix(in srgb, var(--bf-consent-ink) 15%, transparent); padding: 12px 0; }
.bf-consent-service span { color: var(--bf-consent-ink); font-size: 12px; }
@media (max-width: 760px) {
  .bf-consent { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; width: auto; padding: 20px; }
  .bf-consent-actions { justify-content: stretch; }
  .bf-consent-button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-consent * { scroll-behavior: auto !important; }
}
