/* RC8 promotion wizard compact chrome.
   Removes the tall top bar and keeps only the close action aligned with the step kicker. */
.rc8-promo-wizard {
  --rc8-compact-top: calc(30px + env(safe-area-inset-top));
}

.rc8-wizard-shell {
  grid-template-rows: 0 4px minmax(0, 1fr) auto !important;
}

.rc8-wizard-header {
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.rc8-wizard-brand,
.rc8-wizard-save-exit {
  display: none !important;
}

.rc8-wizard-body {
  padding-top: var(--rc8-compact-top) !important;
}

.rc8-wizard-close {
  position: fixed !important;
  z-index: 12 !important;
  top: calc(var(--rc8-compact-top) - 12px) !important;
  right: 24px !important;
  left: auto !important;
  justify-self: auto !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #f4f3f1 !important;
  color: #1b1b1d !important;
  box-shadow: none !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

.rc8-question-head {
  padding-right: 52px;
}

@media (max-width: 560px) {
  .rc8-promo-wizard {
    --rc8-compact-top: calc(26px + env(safe-area-inset-top));
  }

  .rc8-wizard-close {
    top: calc(var(--rc8-compact-top) - 11px) !important;
    right: 24px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 25px !important;
  }

  .rc8-question-head {
    margin-bottom: 24px !important;
    padding-right: 48px;
  }
}
