/* =========================================================
   Viralix credit banner - "Editorial" variant
   Near-black card, gold top rule, Fraunces wordmark.
   Fixed bottom-right, sized for a chat-launcher slot.
   Add one <link> in <head> and one <a> before </body>.
   ========================================================= */

.vlx-banner {
  /* brand tokens - kept local so the file is self-contained */
  --vlx-ink: #1A1A1A;
  --vlx-gold: #D4AF37;
  --vlx-gold-light: #E8D5A0;
  --vlx-cream: #FAF7F2;

  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50; /* toast layer, per the shared z-index scale */

  display: flex;
  align-items: center;
  min-height: 44px;   /* touch target floor */
  min-width: 44px;

  padding: 13px 20px 14px 18px;
  background: var(--vlx-ink);
  border: 0;
  border-top: 3px solid var(--vlx-gold);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);

  text-decoration: none;
  cursor: pointer;

  transition: box-shadow .22s ease, border-top-color .22s ease,
              transform .22s ease;
}

.vlx-banner__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.vlx-banner__mark {
  display: block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.vlx-banner__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.vlx-banner__kicker {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--vlx-gold);
}

.vlx-banner__name {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--vlx-cream);
  transition: color .22s ease;
}

/* hover: colour only, never a layout shift */
.vlx-banner:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  border-top-color: var(--vlx-gold-light);
  transform: translateY(-2px);
}
.vlx-banner:hover .vlx-banner__name { color: var(--vlx-gold-light); }

/* keyboard focus must be visible on any background */
.vlx-banner:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* respect a reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .vlx-banner,
  .vlx-banner__name { transition: none; }
  .vlx-banner:hover { transform: none; }
}

/* small screens: keep it clear of the bottom edge */
@media (max-width: 420px) {
  .vlx-banner { right: 10px; bottom: 10px; padding: 11px 16px 12px 14px; }
  .vlx-banner__name { font-size: .95rem; }
}
