.oa-welcome-guide { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1035; color: #263046; font-family: "Nunito Sans", sans-serif; }
.oa-welcome-guide *, .oa-welcome-guide *::before, .oa-welcome-guide *::after { box-sizing: border-box; }
.oa-welcome-guide[hidden], .oa-welcome-guide [hidden] { display: none !important; }
.oa-welcome-guide button, .oa-welcome-guide a { -webkit-tap-highlight-color: transparent; }
.oa-welcome-launcher { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 5px 16px 5px 6px; border: 1px solid #dfd3f5; border-radius: 18px; background: #fff; color: #503484; cursor: pointer; box-shadow: 0 8px 30px #21113720; font-size: 13px; font-weight: 800; text-align: left; }
.oa-welcome-launcher img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; background: #f2eaff; }
.oa-welcome-launcher small { display: block; color: #837592; font-size: 11px; font-weight: 600; line-height: 1.5; }
.oa-welcome-panel { display: flex; align-items: flex-end; width: min(650px, calc(100vw - 36px)); gap: 16px; isolation: isolate; }
.oa-welcome-characters { position: relative; width: 180px; height: 225px; flex: 0 0 180px; pointer-events: none; z-index: 1; }
.oa-welcome-characters img { display: block; position: absolute; bottom: 0; left: 0; width: 180px; height: 225px; object-fit: contain; object-position: bottom; transform-origin: 50% 90%; filter: drop-shadow(0 9px 12px #26174921); }
.oa-welcome-characters img.is-speaking { animation: oaGuideArrive .65s cubic-bezier(.2,.75,.3,1) both, oaGuideTalk 3.4s ease-in-out .7s 2; }
.oa-welcome-guide[data-speaker="Leo"] .oa-welcome-characters img.is-speaking { animation-name: oaGuideArrive, oaGuideExplain; }
.oa-welcome-bubble { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; margin-bottom: 34px; border: 1px solid #dcd0f2; border-radius: 22px; background: #fff; box-shadow: 0 15px 60px #1c10352e; }
/* Keep the tail outside the scroll container so long explanations cannot clip it. */
.oa-welcome-bubble-content { position: relative; z-index: 1; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border-radius: inherit; background: #fff; }
.oa-welcome-bubble::before { content: ""; position: absolute; left: -9px; bottom: 110px; width: 16px; height: 16px; background: #fff; border-left: 1px solid #dcd0f2; border-bottom: 1px solid #dcd0f2; transform: rotate(45deg); pointer-events: none; }
.oa-welcome-topline { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; padding-right: 20px; margin-bottom: 12px; line-height: 1.3; }
.oa-welcome-topline strong { color: #7853c8; font-size: 15px; font-weight: 900; }
.oa-welcome-topline > span { color: #93889f; font-size: 10px; font-weight: 700; }
.oa-welcome-close { position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #968b9e; font-size: 26px; line-height: 1; cursor: pointer; }
.oa-welcome-message h2 { font-family: "Sora", sans-serif; color: #2e2348; font-size: 19px; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; margin: 0 0 10px; }
.oa-welcome-message p { color: #6c637c; font-size: 15px; line-height: 1.6; margin: 0; }
.oa-welcome-message .oa-welcome-detail { margin-top: 10px; font-size: 13px; }
.oa-welcome-message .oa-welcome-price { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f3eefb; color: #503484; font-size: 13px; font-weight: 800; }
.oa-welcome-choices { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.oa-welcome-choices button { display: flex; align-items: center; gap: 8px; flex: 1 1 calc(50% - 7px); min-height: 44px; padding: 10px 12px; border: 1px solid #dfd3f5; border-radius: 12px; background: #faf7ff; color: #6643a9; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.oa-welcome-choice-icon { flex: 0 0 18px; width: 18px; font-size: 16px; text-align: center; color: #8860d6; }
.oa-welcome-progress { color: #a294b4; font-size: 11px; font-weight: 700; margin-top: 16px; }
.oa-welcome-actions { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.oa-welcome-actions button { min-height: 44px; min-width: 44px; padding: 8px 10px; border: 0; border-radius: 11px; background: #f3eefb; color: #7655b4; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.oa-welcome-actions button:disabled { opacity: .4; cursor: default; }
.oa-welcome-actions .oa-welcome-pause { margin-right: auto; background: transparent; color: #8a7b99; }
.oa-welcome-actions .oa-welcome-next { background: #7656ce; color: #fff; }
.oa-welcome-guide button:hover:not(:disabled), .oa-welcome-explore:hover { filter: brightness(.94); }
.oa-welcome-guide button:focus-visible, .oa-welcome-guide a:focus-visible { outline: 3px solid #19bdca; outline-offset: 3px; }
.oa-welcome-explore { display: block; color: #7656ce; font-size: 12px; font-weight: 800; text-align: center; padding: 10px 0 0; margin-top: 2px; }
body.oa-has-welcome-guide .oa-scroll-top { bottom: calc(88px + env(safe-area-inset-bottom)); }
body.oa-welcome-guide-open .oa-scroll-top { visibility: hidden; }
.oa-welcome-guide[data-paused="true"] .oa-welcome-characters img { animation-play-state: running, paused; }
@keyframes oaGuideArrive { from { opacity: 0; transform: translate(-12px, 16px) rotate(-3deg); } to { opacity: 1; transform: translate(0, 0) rotate(0); } }
@keyframes oaGuideTalk { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-4px) rotate(-1.2deg); } 70% { transform: translateY(-2px) rotate(.6deg); } }
@keyframes oaGuideExplain { 0%, 100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-3px) rotate(1.3deg); } 65% { transform: translateY(-1px) rotate(-.7deg); } }
/* Leave the existing mobile WhatsApp action reachable below the guide launcher. */
@media (max-width: 767.98px) {
    .oa-welcome-guide[data-oa-welcome-context="conoceme-detail"] { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .oa-welcome-guide[data-oa-welcome-context="conoceme-detail"] .oa-welcome-bubble-content { max-height: calc(100dvh - 184px); }
}
@media (max-width: 575.98px) {
    .oa-welcome-guide { left: max(12px, env(safe-area-inset-left)); bottom: calc(18px + env(safe-area-inset-bottom)); }
    body.oa-welcome-guide-open .oa-welcome-guide { bottom: calc(88px + env(safe-area-inset-bottom)); }
    .oa-welcome-launcher { min-height: 48px; max-width: 210px; }
    .oa-welcome-panel { width: calc(100vw - 24px); flex-direction: column; align-items: flex-start; gap: 10px; }
    .oa-welcome-characters { order: 2; flex: 0 0 120px; width: 120px; height: 120px; }
    .oa-welcome-characters img { width: 120px; height: 120px; left: 0; }
    .oa-welcome-bubble { order: 1; width: 100%; margin-bottom: 0; }
    .oa-welcome-bubble-content { padding: 16px; max-height: calc(100dvh - 270px); }
    .oa-welcome-bubble::before { left: 48px; bottom: -9px; border-left: 0; border-right: 1px solid #dcd0f2; }
    .oa-welcome-message h2 { font-size: 17px; }
    .oa-welcome-message p { font-size: 14px; line-height: 1.55; }
    .oa-welcome-topline > span { font-size: 9px; }
    .oa-welcome-actions { gap: 3px; }
    .oa-welcome-actions button { padding: 8px; font-size: 11px; }
}
@media (max-width: 374.98px) {
    .oa-welcome-actions { flex-wrap: wrap; }
    .oa-welcome-actions .oa-welcome-next { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .oa-welcome-guide *, .oa-welcome-guide *::before, .oa-welcome-guide *::after { animation: none !important; transition: none !important; }
}
