#fogo-modal {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 10, 16, .72);
  box-sizing: border-box;
}
#fogo-modal.is-open { display: flex; }
#fogo-modal .fogo-dialog {
  display: flex;
  width: min(860px, 100%);
  min-height: 460px;
  max-height: calc(100vh - 48px);
  border-radius: 16px;
  overflow: hidden;
  background: #090808;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
#fogo-modal .fogo-brand {
  flex: 1 1 46%;
  padding: 28px 32px;
  background: #e23b4a;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
}
#fogo-modal .fogo-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin: 0 0 8px;
  display: block;
}
#fogo-modal .fogo-banner[hidden] { display: none !important; }
@media (min-width: 761px) {
  #fogo-modal .fogo-banner-phone { display: none !important; }
}
#fogo-modal .fogo-brand:has(.fogo-banner:not([hidden])) {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #090808;
  min-height: 460px;
}
#fogo-modal .fogo-brand:has(.fogo-banner:not([hidden])) > :not(.fogo-banner) { display: none !important; }
#fogo-modal .fogo-brand:has(.fogo-banner:not([hidden])) .fogo-banner:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}
#fogo-modal .fogo-brand h2 { margin: 28px 0 8px; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
#fogo-modal .fogo-brand p { margin: 0; font-size: 15px; line-height: 1.45; color: #fff; }
#fogo-modal .fogo-brand ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#fogo-modal .fogo-brand li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; }
#fogo-modal .fogo-perk {
  width: 36px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}
#fogo-modal .fogo-age { margin-top: auto; padding-top: 24px; font-size: 12px; opacity: .85; }
#fogo-modal .fogo-main {
  flex: 1 1 54%;
  padding: 28px 32px 24px;
  text-align: left;
  position: relative;
  color: #fff;
  overflow: auto;
}
#fogo-modal .fogo-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
  padding: 0;
}
#fogo-modal .fogo-main h3 { margin: 8px 0 4px; font-size: 22px; color: #fff; }
#fogo-modal .fogo-lead { margin: 0 0 18px; color: #b8bbc8; font-size: 14px; }
#fogo-modal .fogo-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
#fogo-modal .fogo-field span { font-size: 13px; color: #d5d7de; }
#fogo-modal .fogo-field input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #2c2c2c;
  background: #161616;
  color: #fff;
  padding: 0 12px;
  font-size: 15px;
  box-sizing: border-box;
}
#fogo-modal .fogo-turnstile {
  min-height: 0;
  margin: 0 0 14px;
}
#fogo-modal .fogo-turnstile:empty { display: none; }
#fogo-modal .fogo-turnstile iframe {
  max-width: 100% !important;
}
#fogo-modal .fogo-submit {
  width: 100% !important;
  height: 46px !important;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: #f12c4c;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
#fogo-modal form { display: block; width: 100%; }
#fogo-modal form[hidden] { display: none !important; }
#fogo-modal .fogo-switch {
  display: block;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 14px 0 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #b8bbc8;
  font-size: 14px;
  overflow: visible !important;
  white-space: normal;
}
#fogo-modal .fogo-forgot {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: -4px 0 16px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
#fogo-modal .fogo-wait {
  margin: 14px 0 0;
  color: #ffb4c0;
  font-size: 13px;
  font-weight: 700;
}
#fogo-modal #fogo-resend:disabled {
  color: #8d909c;
  cursor: default;
}
#fogo-modal .fogo-switch button {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline !important;
  overflow: visible !important;
  white-space: nowrap !important;
}
#fogo-modal .fogo-error { min-height: 18px; margin: 0 0 10px; color: #ff8d8d; font-size: 13px; }
@media (max-width: 760px) {
  #fogo-modal { padding: 12px; align-items: flex-start; overflow: auto; }
  #fogo-modal .fogo-dialog { flex-direction: column; min-height: 0; width: 100%; max-height: none; }
  #fogo-modal .fogo-banner-desk { display: none !important; }
  #fogo-modal .fogo-brand:not(:has(.fogo-banner-phone:not([hidden]))) { display: none !important; }
  #fogo-modal .fogo-brand:has(.fogo-banner-phone:not([hidden])) {
    display: block !important;
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
    min-height: 180px !important;
  }
}
