.resort-chatbot {
    --resort-chat-clay: #99432d;
    --resort-chat-olive: #48533b;
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 120;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    letter-spacing: 0;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.resort-header.nav-open ~ .resort-chatbot,
body.resort-nav-open .resort-chatbot,
body.nav-drawer-open .resort-chatbot,
body.modal-open .resort-chatbot {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(16px) scale(0.85) !important;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease !important;
}

.resort-chatbot *, .resort-chatbot *::before, .resort-chatbot *::after { box-sizing: border-box; }
.resort-chatbot button { font-family: inherit; letter-spacing: 0; cursor: pointer; }

/* The trigger button: Animated floating capsule widget with "Aqua Bot" visible outside */
.resort-chatbot-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 16px 5px 6px;
    border: 1.5px solid #d9ceba;
    background: linear-gradient(135deg, #ffffff 0%, #fbf6ec 100%);
    cursor: pointer;
    border-radius: 999px;
    outline: none;
    box-shadow: 0 10px 28px rgba(45, 54, 37, 0.22), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform-origin: 50% 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.resort-chatbot-toggle:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(45, 54, 37, 0.3), 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: #c9b99e;
}

.resort-chatbot-toggle:active {
    transform: translateY(-1px) scale(0.98);
}

/* Single smooth transparent pulse wave behind Aqua Bot */
.resort-chatbot-ripple {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1.5px solid rgba(153, 67, 45, 0.36);
    background: rgba(153, 67, 45, 0.08);
    pointer-events: none;
    z-index: -1;
    animation: resortBotSinglePulse 2.8s cubic-bezier(0.16, 0.8, 0.3, 1) infinite;
}

@keyframes resortBotSinglePulse {
    0% {
        transform: scale(0.98);
        opacity: 0.8;
    }
    60% {
        transform: scale(1.14, 1.28);
        opacity: 0;
    }
    100% {
        transform: scale(1.18, 1.34);
        opacity: 0;
    }
}

/* Shimmer mirror sweep animation removed */
.resort-chatbot-toggle::before {
    display: none !important;
}

/* The circular emblem inside the pill */
.resort-chatbot-emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3c4632 0%, #4b583d 100%);
    color: #f6edd9;
    border: 2px solid rgba(240, 223, 191, 0.9);
    box-shadow: 0 4px 14px rgba(45, 54, 37, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.resort-chatbot-toggle:hover .resort-chatbot-emblem {
    transform: scale(1.08) rotate(-4deg);
}

/* Emblem logo icon */
.resort-chatbot-emblem .icon {
    width: 24px;
    height: 24px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.resort-chatbot-emblem .bot-emblem-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
}

.resort-chatbot-emblem .bot-icon-chat {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.resort-chatbot-emblem .bot-icon-close {
    position: absolute;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    color: #ffffff;
}

/* Visible "Aqua Bot" text caption */
.resort-chatbot-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.resort-chatbot-caption .bot-name {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #2c3523;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.resort-chatbot-caption .bot-status {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #99432d;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    line-height: 1.2;
}

.resort-chatbot-caption .live-indicator {
    display: none !important;
}

/* When the Chat Panel is Open */
.resort-chatbot.is-open .resort-chatbot-toggle {
    animation: none;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3c4632;
    border-color: #f0dfbf;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.resort-chatbot.is-open .resort-chatbot-toggle::before {
    display: none;
}

.resort-chatbot.is-open .resort-chatbot-ripple {
    display: none;
}

.resort-chatbot.is-open .resort-chatbot-caption {
    display: none;
}

.resort-chatbot.is-open .resort-chatbot-emblem {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
}

.resort-chatbot.is-open .resort-chatbot-emblem .bot-icon-chat {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.resort-chatbot.is-open .resort-chatbot-emblem .bot-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.resort-chatbot.is-open .resort-chatbot-status-dot {
    display: none;
}

/* Online status dot */
.resort-chatbot-status-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border: 2.5px solid #fffdf8;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(35, 42, 28, 0.25);
}
.resort-chatbot-status-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1.5px solid #22c55e;
    border-radius: 50%;
    animation: botStatusPulse 2.2s ease-out infinite;
}
@keyframes botStatusPulse {
    0% { transform: scale(0.8); opacity: 0.85; }
    70%, 100% { transform: scale(2); opacity: 0; }
}
.resort-chatbot.is-open .resort-chatbot-status-dot {
    display: none;
}

.resort-chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    display: flex;
    flex-direction: column;
    width: min(390px, calc(100vw - 32px));
    height: min(520px, calc(100vh - 150px));
    height: min(520px, calc(100dvh - 150px));
    overflow: hidden;
    border: 1px solid #d4cab9;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(35, 42, 28, 0.28);
    transform-origin: 90% 100%;
    animation: resortChatOpen .22s cubic-bezier(0.16, 1, 0.3, 1);
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), height 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

/* Expanded Full Screen / Full Page State on Desktop: Header is NEVER covered */
.resort-chatbot-panel.is-expanded {
    position: fixed !important;
    right: 20px !important;
    top: max(96px, calc(var(--header-height, 96px) + 14px)) !important;
    bottom: 20px !important;
    width: min(700px, calc(100vw - 40px)) !important;
    height: auto !important;
    max-height: calc(100vh - max(96px, calc(var(--header-height, 96px) + 14px)) - 24px) !important;
    max-height: calc(100dvh - max(96px, calc(var(--header-height, 96px) + 14px)) - 24px) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(35, 42, 28, 0.38) !important;
    z-index: 95 !important;
}

.resort-chatbot-panel[hidden] { display: none; }
.resort-chatbot-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    color: #ffffff;
    background: var(--resort-chat-olive);
}
.resort-chatbot-head-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.resort-chatbot-head-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    border: 1.5px solid rgba(240, 223, 191, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.resort-chatbot-head-avatar .resort-chatbot-avatar-img,
.resort-chatbot-head-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.resort-chatbot-head-avatar .icon {
    width: 18px;
    height: 18px;
}
.resort-chatbot-head strong { display: block; font-size: 15.5px; line-height: 1.3; }
.resort-chatbot-head span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: #e4e7db; }

.resort-chatbot-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.resort-chatbot-expand,
.resort-chatbot-close {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    transition: background .2s, border-color .2s, transform .15s;
}

.resort-chatbot-expand:hover,
.resort-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.06);
}

.resort-chatbot-expand svg,
.resort-chatbot-close svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.resort-chatbot-panel .resort-chatbot-expand .icon-compress {
    display: none;
}
.resort-chatbot-panel .resort-chatbot-expand .icon-expand {
    display: block;
}

.resort-chatbot-panel.is-expanded .resort-chatbot-expand .icon-compress {
    display: block;
}
.resort-chatbot-panel.is-expanded .resort-chatbot-expand .icon-expand {
    display: none;
}
.resort-chatbot-messages {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f7f7f3;
}
.resort-chatbot-message {
    flex: 0 0 auto;
    max-width: 86%;
    padding: 9px 13px;
    border-radius: 14px;
    overflow-wrap: anywhere;
    font-size: 13.5px;
    line-height: 1.5;
}

/* User question sent from RIGHT side */
.resort-chatbot-message.user {
    align-self: flex-end;
    margin-left: auto;
    background: linear-gradient(135deg, #99432d 0%, #823623 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px 14px 4px 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(153, 67, 45, 0.22);
    animation: resortUserMsgIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bot answer from LEFT side */
.resort-chatbot-message.bot {
    align-self: flex-start;
    margin-right: auto;
    color: #2e3525;
    background: #ffffff;
    border: 1px solid #e1ded4;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    animation: resortBotMsgIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes resortUserMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes resortBotMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.resort-chatbot-message.is-thinking {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4a5440;
    background: #fdfaf4;
    border: 1px solid #e5dcce;
    box-shadow: 0 2px 8px rgba(75, 88, 61, 0.08);
    font-size: 13.5px;
    font-weight: 500;
}

.resort-chatbot-message.is-thinking .thinking-text {
    font-style: italic;
    letter-spacing: 0.15px;
}

.resort-chatbot-message.is-thinking .thinking-dots {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
}

.resort-chatbot-message.is-thinking .thinking-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--resort-chat-clay);
    opacity: 0.35;
    display: inline-block;
    animation: resortThinkingDot 1.15s infinite ease-in-out both;
}

.resort-chatbot-message.is-thinking .thinking-dots i:nth-child(1) {
    animation-delay: 0s;
}

.resort-chatbot-message.is-thinking .thinking-dots i:nth-child(2) {
    animation-delay: 0.18s;
}

.resort-chatbot-message.is-thinking .thinking-dots i:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes resortThinkingDot {
    0%, 80%, 100% {
        transform: translateY(0) scale(0.85);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-5px) scale(1.15);
        opacity: 1;
        background: #99432d;
    }
}
.resort-chatbot-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.resort-chatbot-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all .2s ease;
}
.resort-chatbot-links a,
.resort-chatbot-links a.resort-chat-btn-secondary {
    color: var(--clay) !important;
    background: #f7efe4 !important;
    border: 1.5px solid #b78a69 !important;
    box-shadow: 0 2px 6px rgba(183, 138, 105, 0.15) !important;
}
.resort-chatbot-links a:visited,
.resort-chatbot-links a.resort-chat-btn-secondary:visited {
    color: var(--clay) !important;
}
.resort-chatbot-links a:hover,
.resort-chatbot-links a.resort-chat-btn-secondary:hover {
    background: #eedcc7 !important;
    color: #632b1c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(183, 138, 105, 0.28) !important;
}
.resort-chatbot-links a.resort-chat-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #99432d 0%, #7d3523 100%) !important;
    border: 1.5px solid #632b1c !important;
    box-shadow: 0 3px 10px rgba(153, 67, 45, 0.3) !important;
}
.resort-chatbot-links a.resort-chat-btn-primary:visited {
    color: #ffffff !important;
}
.resort-chatbot-links a.resort-chat-btn-primary:hover {
    background: #632b1c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(153, 67, 45, 0.45) !important;
}
.resort-chatbot-chips { display: flex; flex: 0 0 auto; gap: 6px; padding: 10px 12px; overflow-x: auto; border-top: 1px solid #e3e5dd; }
.resort-chatbot-chips button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #d4ddcf;
    border-radius: 4px;
    color: var(--resort-chat-olive);
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
}
.resort-chatbot-chips button:hover { background: #eef3ea; }
.resort-chatbot-form { display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; margin: 0; padding: 12px; border-top: 1px solid #e3e5dd; }
.resort-chatbot-form input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #c7bca8;
    border-radius: 4px;
    color: #333b2a;
    background: #ffffff;
    font: 16px 'Trebuchet MS', Arial, sans-serif;
    letter-spacing: 0;
}
.resort-chatbot-form button { display: grid; place-items: center; height: 42px; padding: 0; border: 0; border-radius: 4px; color: #ffffff; background: var(--resort-chat-clay); }
.resort-chatbot button:disabled { cursor: wait; opacity: .6; }

/* Footer "Powered by Aquaworld AI" Badge */
.resort-chatbot-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px 8px;
    background: #fbf8f2;
    border-top: 1px solid #ece5d8;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #7d7a6e;
    letter-spacing: 0.2px;
    user-select: none;
    flex-shrink: 0;
}

.resort-chatbot-footer-brand strong {
    font-weight: 700;
    color: #99432d;
    letter-spacing: 0.25px;
}

.resort-chatbot-footer-brand .ai-sparkle-icon {
    width: 12px;
    height: 12px;
    color: #99432d;
    flex-shrink: 0;
}
.resort-chatbot :focus-visible { outline: 2px solid var(--resort-chat-clay); outline-offset: 3px; }
.resort-chatbot-head button:focus-visible { outline-color: #ffffff; }
@keyframes resortBotPulse {
    0% { opacity: .7; transform: scale(.88); }
    65%, 100% { opacity: 0; transform: scale(1.35); }
}
@keyframes resortBotHello {
    0%, 58%, 100% { transform: translateY(0) rotate(0); }
    66% { transform: translateY(-3px) rotate(-8deg); }
    74% { transform: translateY(0) rotate(7deg); }
    82% { transform: translateY(-2px) rotate(-5deg); }
    90% { transform: translateY(0) rotate(0); }
}
@keyframes resortChatOpen {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
    .resort-chatbot {
        right: 14px;
        bottom: max(78px, calc(env(safe-area-inset-bottom, 0px) + 78px));
    }

    .resort-chatbot-toggle {
        padding: 3px 10px 3px 3px;
        gap: 6px;
        border-width: 1px;
        box-shadow: 0 4px 14px rgba(45, 54, 37, 0.18);
    }

    .resort-chatbot-emblem {
        width: 32px;
        height: 32px;
        border-width: 1.5px;
    }

    .resort-chatbot-emblem .bot-emblem-icon {
        width: 20px;
        height: 20px;
    }

    .resort-chatbot-emblem .icon {
        width: 16px;
        height: 16px;
    }

    .resort-chatbot-status-dot {
        width: 10px;
        height: 10px;
        top: 0;
        right: 0;
        border-width: 2px;
    }

    .resort-chatbot-caption .bot-name {
        font-size: 12px;
        font-weight: 800;
        line-height: 1.15;
    }

    .resort-chatbot-caption .bot-status {
        font-size: 9.5px;
        gap: 4px;
        margin-top: 1px;
        line-height: 1.15;
    }

    .resort-chatbot-caption .live-indicator {
        width: 5.5px;
        height: 5.5px;
    }

    /* Single tight subtle pulse wave: stays close to the capsule */
    .resort-chatbot-ripple {
        animation: resortBotMobilePulse 2.6s cubic-bezier(0.16, 0.8, 0.3, 1) infinite;
    }

    @keyframes resortBotMobilePulse {
        0% {
            transform: scale(0.98);
            opacity: 0.7;
        }
        60% {
            transform: scale(1.08, 1.16);
            opacity: 0;
        }
        100% {
            transform: scale(1.1, 1.2);
            opacity: 0;
        }
    }

    /* Default Open Panel on Mobile: Compact and proper */
    .resort-chatbot-panel {
        position: fixed;
        right: 10px;
        left: auto;
        bottom: max(10px, env(safe-area-inset-bottom, 10px));
        width: min(330px, calc(100vw - 20px));
        height: min(420px, 64dvh);
        height: min(420px, 64vh);
        border-radius: 16px;
        box-shadow: 0 16px 44px rgba(35, 42, 28, 0.35);
    }

    /* FULL PAGE / FULL SCREEN Mode on Mobile: Header is NEVER covered */
    .resort-chatbot-panel.is-expanded {
        position: fixed !important;
        top: max(74px, calc(var(--header-height, 68px) + 8px)) !important;
        left: 8px !important;
        right: 8px !important;
        bottom: max(8px, env(safe-area-inset-bottom, 8px)) !important;
        width: auto !important;
        height: auto !important;
        max-height: calc(100vh - max(74px, calc(var(--header-height, 68px) + 8px)) - 16px) !important;
        max-height: calc(100dvh - max(74px, calc(var(--header-height, 68px) + 8px)) - 16px) !important;
        border-radius: 18px !important;
        z-index: 95 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
    }

    .resort-chatbot.is-open .resort-chatbot-toggle { display: none; }
    .resort-chatbot-head {
        padding: 9px 12px;
        gap: 8px;
    }
    .resort-chatbot-head-avatar {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }
    .resort-chatbot-head strong {
        font-size: 13.5px;
    }
    .resort-chatbot-head span {
        font-size: 10px;
        margin-top: 1px;
    }
    .resort-chatbot-actions {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .resort-chatbot-expand,
    .resort-chatbot-close {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }
    .resort-chatbot-expand svg,
    .resort-chatbot-close svg {
        width: 14px;
        height: 14px;
    }
    .resort-chatbot-messages {
        padding: 10px;
        gap: 8px;
    }
    .resort-chatbot-message {
        font-size: 12px;
        padding: 7px 11px;
        line-height: 1.45;
    }
    .resort-chatbot-chips {
        padding: 5px 8px;
        gap: 5px;
    }
    .resort-chatbot-chips button {
        min-height: 26px;
        padding: 3px 8px;
        font-size: 10.5px;
        border-radius: 4px;
    }
    .resort-chatbot-form {
        padding: 6px 8px;
        gap: 6px;
        grid-template-columns: minmax(0, 1fr) 34px;
    }
    .resort-chatbot-form input {
        height: 38px;
        font-size: 16px !important; /* Critical >= 16px completely eliminates iOS mobile auto-zoom */
        padding: 0 10px;
        border-radius: 6px;
    }
    .resort-chatbot-form button {
        height: 34px;
        width: 34px;
        border-radius: 4px;
    }
    .resort-chatbot-form button svg {
        width: 14px;
        height: 14px;
    }

    .resort-chatbot-footer-brand {
        padding: 5px 8px 6px;
        font-size: 10px;
        gap: 4px;
    }

    .resort-chatbot-footer-brand .ai-sparkle-icon {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .resort-chatbot {
        right: 14px;
        bottom: max(78px, calc(env(safe-area-inset-bottom, 0px) + 78px));
    }
    .resort-chatbot-toggle {
        padding: 2px 8px 2px 2px;
        gap: 5px;
    }
    .resort-chatbot-emblem {
        width: 29px;
        height: 29px;
    }
    .resort-chatbot-emblem .bot-emblem-icon {
        width: 18px;
        height: 18px;
    }
    .resort-chatbot-caption .bot-name {
        font-size: 11.5px;
    }
    .resort-chatbot-caption .bot-status {
        font-size: 9px;
    }
}
@media (prefers-reduced-motion: reduce) { .resort-chatbot *, .resort-chatbot *::before, .resort-chatbot *::after { animation: none; transition: none; } }
@media print { .resort-chatbot { display: none; } }

/* Guarantee Resort Bot is always visible and accessible */
body:not(.resort-nav-open):not(.nav-drawer-open) .resort-chatbot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 99999 !important;
}
