/* assets/ronnie-ui/ronnie-assistant.css — V1066 RONNIE DESIGN SYSTEM ·
 * RONNIE ASSISTANT/AVATAR TREATMENT
 *
 * The one canonical treatment for Ronnie's presence on new-language
 * pages: the mascot avatar (inline SVG supplied by
 * ronnie-assistant.js), the hero portrait sizing, the greeting bubble
 * and the corner helper card. Subtle charm, credible for a normal
 * business customer — never the theatrical cast. Presentation-only. */

.rn-ronnie { display: inline-flex; flex: none; }
.rn-ronnie svg { display: block; width: 100%; height: 100%; }
.rn-ronnie--sm { width: 34px; height: 34px; }
.rn-ronnie--md { width: 56px; height: 56px; }
.rn-ronnie--hero { width: 148px; height: 148px; filter: drop-shadow(0 10px 24px rgba(30, 58, 138, .18)); }

/* speech bubble next to the avatar */
.rn-ronnie-bubble {
  position: relative;
  background: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-lg);
  box-shadow: var(--rn-shadow);
  padding: var(--rn-s3) var(--rn-s4);
  font-size: 14px;
}
.rn-ronnie-bubble::before {
  content: ""; position: absolute; left: -7px; top: 18px;
  width: 12px; height: 12px; background: var(--rn-surface);
  border-left: 1px solid var(--rn-border); border-bottom: 1px solid var(--rn-border);
  transform: rotate(45deg);
}

/* corner helper card ("Hi, I'm Ronnie") */
.rn-ronnie-helper {
  position: fixed; left: 18px; bottom: 18px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  background: var(--rn-surface); border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius-pill); box-shadow: var(--rn-shadow-lift);
  padding: 8px 16px 8px 8px; text-decoration: none; color: inherit;
}
.rn-ronnie-helper:hover { border-color: var(--rn-blue); }
.rn-ronnie-helper .rn-ronnie-helper__text { font-size: 13px; line-height: 1.3; }
.rn-ronnie-helper .rn-ronnie-helper__text strong { display: block; font-size: 13.5px; }
@media (max-width: 620px) { .rn-ronnie-helper .rn-ronnie-helper__text { display: none; } }

/* hero voice-wave flanks (decorative, muted, CSS-only) */
.rn-wave { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.rn-wave i { width: 3px; border-radius: 2px; background: var(--rn-blue-soft); height: 30%; }
.rn-wave i:nth-child(2n) { height: 70%; background: #D6E4FB; }
.rn-wave i:nth-child(3n) { height: 100%; }
.rn-wave--live i { background: var(--rn-live-soft); }
.rn-wave--live i:nth-child(2n) { background: #BFE8CC; }
