.vvb-root,
.vvb-root *,
.vvb-portal,
.vvb-portal * {
  box-sizing: border-box;
}

.vvb-root {
  --vvb-stage-height: clamp(420px, 62vh, 760px);
  --vvb-stage-height-mobile: 72svh;
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #09131E;
}

.vvb-stage {
  position: relative;
  width: 100%;
  height: var(--vvb-stage-height);
  min-height: 420px;
  overflow: clip;
  background: transparent;
  contain: layout paint style;
}

.vvb-bubble {
  appearance: none;
  position: absolute;
  width: var(--vvb-size);
  height: var(--vvb-size);
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  outline: none;
  transition: opacity 120ms ease;
  will-change: transform;
}

.vvb-bubble-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--vvb-color);
  transition: transform 160ms ease;
}

.vvb-bubble:hover .vvb-bubble-fill,
.vvb-bubble:focus-visible .vvb-bubble-fill {
  transform: scale(1.05);
}

.vvb-bubble.is-dragging {
  cursor: grabbing;
}

.vvb-bubble:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.94), 0 0 0 6px rgba(9, 19, 30, 0.16);
}

.vvb-portal {
  position: fixed;
  inset: 0;
  z-index: 2147482200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vvb-portal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vvb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 30, 0.22);
}

.vvb-dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px 24px;
  outline: none;
}

.vvb-dialog.is-mobile {
  padding: 0;
}

.vvb-dialog-shell {
  --vvb-ink: #FFFFFF;
  position: relative;
  width: min(760px, calc(100vw - 48px));
  background-color: #FF5A6E;
  max-height: min(76vh, 760px);
  min-height: 0;
  border-radius: 28px;
  color: var(--vvb-ink);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.988);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 0.9, 0.26, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(9, 19, 30, 0.16);
}


.vvb-dialog-shell,
.vvb-dialog-shell * {
  color: var(--vvb-ink);
}

.vvb-portal.is-open .vvb-dialog-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vvb-dialog.is-mobile .vvb-dialog-shell {
  width: 100vw;
  max-height: 100svh;
  min-height: 100svh;
  border-radius: 0;
}

.vvb-dialog-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  padding: 74px 28px 0;
}

.vvb-dialog.is-mobile .vvb-dialog-inner {
  padding: 74px 20px 0;
}

.vvb-close {
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: inherit;
  cursor: pointer;
  z-index: 2;
}

.vvb-close:hover,
.vvb-close:focus-visible {
  background: rgba(255,255,255,0.22);
}

.vvb-close:focus-visible {
  outline: 2px solid rgba(255,255,255,0.94);
  outline-offset: 2px;
}

.vvb-close span {
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.vvb-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.84;
}

.vvb-title {
  margin: 0;
  max-width: 14ch;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.vvb-intro {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
  opacity: 0.94;
}

.vvb-list-wrap {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}

.vvb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vvb-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.vvb-item-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.vvb-item-text {
  display: block;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.52;
  font-weight: 500;
}

.vvb-list-wrap::-webkit-scrollbar {
  width: 10px;
}

.vvb-list-wrap::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.vvb-header {
  padding-bottom: 4px;
}

html.vvb-scroll-lock,
body.vvb-scroll-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 767px) {
  .vvb-stage {
    height: var(--vvb-stage-height-mobile);
    min-height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vvb-bubble,
  .vvb-dialog-shell,
  .vvb-portal {
    transition: none !important;
    animation: none !important;
  }
}


.vvb-footer {
  margin-top: 0;
  padding: 18px 28px 22px;
  border-top: 1px solid rgba(255,255,255,0.16);
  position: relative;
  z-index: 1;
}

.vvb-dialog.is-mobile .vvb-footer {
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
}

.vvb-download {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.vvb-download:hover,
.vvb-download:focus-visible {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.52);
}

.vvb-download:active {
  transform: translateY(1px);
}

.vvb-download:focus-visible {
  outline: 2px solid rgba(255,255,255,0.94);
  outline-offset: 2px;
}

.vvb-footer { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.vvb-download { min-height:44px; }

/* Hard isolate bubble buttons from theme/global button styles, especially Salient. */
.vvb-root .vvb-stage > button.vvb-bubble,
.vvb-root .vvb-stage > button.vvb-bubble:hover,
.vvb-root .vvb-stage > button.vvb-bubble:focus,
.vvb-root .vvb-stage > button.vvb-bubble:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: var(--vvb-size) !important;
  height: var(--vvb-size) !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  overflow: hidden !important;
  clip-path: circle(50% at 50% 50%) !important;
}

.vvb-root .vvb-stage > button.vvb-bubble::before,
.vvb-root .vvb-stage > button.vvb-bubble::after,
.vvb-root .vvb-stage > button.vvb-bubble:hover::before,
.vvb-root .vvb-stage > button.vvb-bubble:hover::after,
.vvb-root .vvb-stage > button.vvb-bubble:focus::before,
.vvb-root .vvb-stage > button.vvb-bubble:focus::after,
.vvb-root .vvb-stage > button.vvb-bubble:active::before,
.vvb-root .vvb-stage > button.vvb-bubble:active::after {
  content: none !important;
  display: none !important;
}

.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill,
.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill:hover,
.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill:focus,
.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill:active {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  background: var(--vvb-color) !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  clip-path: circle(50% at 50% 50%) !important;
}

.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill::before,
.vvb-root .vvb-stage > button.vvb-bubble > .vvb-bubble-fill::after {
  content: none !important;
  display: none !important;
}

