.fcs-consent-banner,
.fcs-consent-dialog,
.fcs-consent-reopen,
.fcs-consent-media {
  box-sizing: border-box;
  font-family: "Bai Jamjuree", sans-serif;
  color: #fafafa;
  font-weight: 400;
  letter-spacing: normal;
}
.fcs-consent-banner *, .fcs-consent-dialog *, .fcs-consent-media * { box-sizing: border-box; }
.fcs-consent-banner[hidden], .fcs-consent-reopen[hidden], .fcs-consent-media [hidden] { display: none !important; }
.fcs-consent-banner {
  position: fixed;
  z-index: 999990;
  right: 20px;
  bottom: 20px;
  width: min(600px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 28px;
  background: #030915;
  border: 1px solid #34404f;
  box-shadow: 0 12px 50px #0007;
}
.fcs-consent-banner h2, .fcs-consent-dialog h2 {
  margin: 0 0 14px;
  color: #fafafa;
  font: 500 30px/1.1 "Bai Jamjuree", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.fcs-consent-banner p, .fcs-consent-dialog p, .fcs-consent-media p {
  margin: 0 0 16px;
  font: 400 15px/1.55 "Bai Jamjuree", sans-serif;
  color: #d6d6d6;
  letter-spacing: normal;
}
.fcs-consent-banner .fcs-consent-label, .fcs-consent-dialog .fcs-consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #fafafa;
  font: 400 12px/1.3 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}
.fcs-consent-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0c8ef1; flex: 0 0 7px; }
.fcs-consent-policy { color: #d6d6d6; font: 400 13px/1.5 "Bai Jamjuree", sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.fcs-consent-policy:hover { color: #fafafa; }
.fcs-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fcs-consent-actions button, .fcs-consent-media button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 15px;
  border: 0;
  border-radius: 0;
  color: #fafafa;
  background: #0c8ef1;
  font: 400 13px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: normal;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background-color .2s ease;
}
.fcs-consent-actions button:hover, .fcs-consent-media button:hover { background: #0979cf; color: #fafafa; }
.fcs-consent-actions .fcs-consent-settings { background: transparent; box-shadow: inset 0 0 0 1px #34404f; }
.fcs-consent-actions .fcs-consent-settings:hover { background: #ffffff0c; }
.fcs-consent-banner :focus-visible, .fcs-consent-dialog :focus-visible, .fcs-consent-reopen:focus-visible, .fcs-consent-media :focus-visible { outline: 2px solid #0c8ef1; outline-offset: 4px; }
.fcs-consent-reopen {
  position: fixed;
  z-index: 999980;
  bottom: 12px;
  left: 12px;
  min-height: 40px;
  max-width: calc(100% - 24px);
  padding: 10px 13px;
  border: 1px solid #34404f;
  border-radius: 0;
  background: #030915;
  color: #d6d6d6;
  font: 400 11px/1.4 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  cursor: pointer;
}
.fcs-consent-reopen:hover { color: #fafafa; border-color: #0c8ef1; background: #030915; }
.fcs-consent-reopen[type="button"]:is(:focus, :active) { color: #fafafa; border-color: #0c8ef1; background: #030915; }
.fcs-consent-actions button[type="button"]:is(:focus, :active), .fcs-consent-media button[type="button"]:is(:focus, :active) { color: #fafafa; background: #0979cf; }
.fcs-consent-actions .fcs-consent-settings[type="button"]:is(:focus, :active) { background: #ffffff0c; }
.fcs-consent-dialog .fcs-consent-close[type="button"]:is(:focus, :active) { color: #fafafa; background: transparent; border-color: #34404f; }
.fcs-consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  width: min(720px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 30px;
  overflow: auto;
  color: #fafafa;
  background: #030915;
  border: 1px solid #34404f;
  border-radius: 0;
  box-shadow: 0 20px 80px #0008;
}
.fcs-consent-dialog:not([open]) { display: none; }
.fcs-consent-dialog::backdrop { background: #030915bf; }
.fcs-consent-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.fcs-consent-dialog .fcs-consent-close {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  margin: -10px -10px 0 0;
  color: #fafafa;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  font: 300 30px/1 "Bai Jamjuree", sans-serif;
  cursor: pointer;
}
.fcs-consent-dialog .fcs-consent-close:hover { border-color: #34404f; }
.fcs-consent-category { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 0; padding: 20px 0; border-top: 1px solid #ffffff21; }
.fcs-consent-category h3, .fcs-consent-category strong { display: block; margin: 0 0 7px; color: #fafafa; font: 500 18px/1.2 "Bai Jamjuree", sans-serif; }
.fcs-consent-category p, .fcs-consent-category > span > span { display: block; margin: 0; color: #b8b8b8; font: 400 14px/1.5 "Bai Jamjuree", sans-serif; }
.fcs-consent-category input[type="checkbox"] { flex: 0 0 24px; appearance: auto; width: 24px; height: 24px; margin: 10px; padding: 0; accent-color: #0c8ef1; cursor: pointer; }
.fcs-consent-category .fcs-consent-required { flex: 0 0 90px; color: #b8b8b8; font: 400 11px/1.5 "IBM Plex Mono", monospace; text-transform: uppercase; text-align: right; }
.fcs-consent-dialog .fcs-consent-save { flex: 1 0 auto; }
.fcs-consent-media { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; min-height: 180px; padding: 24px; background: #030915; border: 1px solid #ffffff21; text-align: center; }
.fcs-consent-media p { max-width: 350px; margin: 0; }
.fcs-consent-background-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.fcs-consent-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
  .fcs-consent-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px; }
  .fcs-consent-banner h2, .fcs-consent-dialog h2 { font-size: 27px; }
  .fcs-consent-actions { gap: 8px; }
  .fcs-consent-actions button { flex: 1 1 calc(50% - 8px); padding: 13px; }
  .fcs-consent-actions .fcs-consent-settings { flex-basis: 100%; }
  .fcs-consent-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px; }
  .fcs-consent-category { gap: 12px; }
  .fcs-consent-category .fcs-consent-required { flex-basis: 70px; }
  body:has(.fcs-mobile-contact) .fcs-consent-reopen { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .fcs-consent-actions button, .fcs-consent-media button { transition: none; }
}
