.specto-banner {
  --specto-banner-padding: var(--su-space-block-l, 32px);
  --specto-banner-gap: var(--su-space-unit-xl, 16px);
  --specto-banner-action-gap: var(--su-space-block-xs, 12px);
  --specto-banner-dismiss-size: var(--su-size-unit-s, 32px);
  --specto-banner-dismiss-gap: var(--su-space-unit-m, 8px);
  --specto-banner-bg: var(--sc-fil-str-pri-def, #9625ff);
  --specto-banner-fg: var(--sc-tex-con-pla-def, #fff);
  --specto-banner-shadow: var(--specto-ui-elevation-m);
  --specto-banner-radius: var(--specto-ui-shape-radius-global, 16px);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--specto-banner-gap);
  inline-size: 100%;
  min-width: 0;
  padding: var(--specto-banner-padding);
  border-radius: var(--specto-banner-radius);
  background: var(--specto-banner-bg);
  color: var(--specto-banner-fg);
  box-shadow: var(--specto-banner-shadow);
}
.specto-consent-banner {
  position: sticky;
  inset-block-end: 0;
  inline-size: 100%;
  z-index: var(--specto-banner-z-index, 20);
}
.specto-banner__dismiss {
  z-index: 1;
  border-radius: var(--specto-ui-shape-radius-context, 8px);
}
.specto-banner[data-specto-emphasis='neutral'] {
  --specto-banner-bg: var(--sc-fil-str-neu-def, #292e3b);
}
.specto-banner__content {
  display: flex;
  flex-direction: column;
  gap: var(--specto-banner-content-gap, var(--su-space-block-l, 32px));
  min-width: 0;
}
.specto-banner[data-specto-dismissible='true'] .specto-banner__content {
  padding-inline-end: max(0px, calc(var(--specto-banner-dismiss-size) + var(--specto-banner-dismiss-gap) - var(--specto-banner-padding)));
}
.specto-banner__message {
  font-family: var(--su-font-family-body, inherit);
  font-size: var(--su-font-size-body-s, 14px);
  font-weight: var(--su-font-weight-normal, 400);
  line-height: var(--su-line-height-body-s, 1.42857);
  overflow-wrap: anywhere;
}
.specto-banner__message > :first-child {
  margin-block-start: 0;
}
.specto-banner__message > :last-child {
  margin-block-end: 0;
}
.specto-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--specto-banner-action-gap);
  min-width: 0;
}
.specto-consent-banner .specto-consent-preferences {
  display: none;
}
.specto-consent-banner[data-specto-consent-expanded='true'] .specto-consent-preferences {
  display: flex;
}
.specto-banner[data-specto-actions='0'] .specto-banner__action,
.specto-banner[data-specto-actions='1'] .specto-banner__action ~ .specto-banner__action,
.specto-banner[data-specto-actions='2'] .specto-banner__action ~ .specto-banner__action ~ .specto-banner__action {
  display: none;
}
.specto-banner__action {
  --specto-btn-bg: transparent;
  --specto-btn-fg: var(--specto-banner-fg);
  --specto-btn-icon-color: var(--specto-banner-fg);
  --specto-btn-border: var(--sc-bor-reg-pla-def, #fff);
  --specto-btn-ripple-color: var(--specto-banner-fg);
  --specto-btn-after-bg: transparent;
  --specto-btn-after-fg: var(--specto-banner-fg);
  --specto-btn-after-icon-color: var(--specto-banner-fg);
  --specto-btn-after-border: var(--sc-bor-reg-pla-def, #fff);
}
.specto-banner__action:not(.specto-banner__action ~ .specto-banner__action) {
  --specto-btn-bg: var(--sc-fil-reg-pla-def, #fff);
  --specto-btn-fg: var(--sc-tex-lab-con-def, #000);
  --specto-btn-icon-color: var(--sc-ico-lab-con-def, #000);
  --specto-btn-after-bg: var(--sc-fil-reg-pla-def, #fff);
  --specto-btn-after-fg: var(--sc-tex-lab-con-def, #000);
  --specto-btn-after-icon-color: var(--sc-ico-lab-con-def, #000);
  --specto-btn-after-border: transparent;
}
.specto-banner.specto-announcement-banner .specto-banner__dismiss {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
}
.specto-banner__dismiss svg {
  inline-size: var(--su-size-unit-2xs, 20px);
  block-size: var(--su-size-unit-2xs, 20px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.specto-banner__dismiss:focus-visible, .specto-banner__action:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
