#adara-chat-btn,
#adara-chat-window,
.adara-chat-btn-style {
    display: none !important;
}

:root {
    --adara-live-accent: #bd254b;
    --adara-live-deep: #3c101a;
    --adara-live-paper: #ffffff;
    --adara-live-soft: #f7f1f3;
    --adara-live-text: #22161a;
    --adara-live-muted: #7a6670;
    --adara-live-line: rgba(60, 16, 26, 0.10);
    --adara-live-ok: #22c55e;
    --adara-live-warn: #f59e0b;
}

@keyframes adara-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(189, 37, 75, 0.55); }
    70% { box-shadow: 0 0 0 14px rgba(189, 37, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(189, 37, 75, 0); }
}

.adara-live-native-toggle {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    height: 56px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #bd254b 0%, #8f1636 100%);
    color: #fff;
    font-family: Jost, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 32px rgba(60, 16, 26, 0.28);
    animation: adara-live-pulse 2.2s infinite;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.adara-live-native-toggle:hover {
    transform: translateY(-1px);
}

.adara-live-native-window {
    position: fixed;
    left: 24px;
    bottom: 92px;
    width: 390px;
    max-width: calc(100vw - 32px);
    height: 620px;
    max-height: 78vh;
    z-index: 9999999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--adara-live-paper);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 28px 70px rgba(33, 17, 23, 0.30);
    font-family: Jost, sans-serif;
    color: var(--adara-live-text);
}

.adara-live-native-window.is-open {
    display: flex;
}

.adara-live-native-header {
    padding: 18px 18px 16px;
    background: linear-gradient(150deg, #441420 0%, #2b0e16 100%);
    color: #fff;
}

.adara-live-native-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.adara-live-native-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    opacity: 0.8;
}

.adara-live-native-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.adara-live-native-subtitle {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.82;
}

.adara-live-native-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.adara-live-native-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.adara-live-native-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--adara-live-warn);
    flex: 0 0 10px;
}

.adara-live-native-dot.is-ok {
    background: var(--adara-live-ok);
}

.adara-live-native-dot.is-warn {
    background: var(--adara-live-warn);
}

.adara-live-native-status-text {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.92;
}

.adara-live-native-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 18px;
    background: radial-gradient(circle at top right, rgba(189, 37, 75, 0.08), transparent 34%), linear-gradient(180deg, #fffdfc 0%, #f8f2f4 100%);
}

.adara-live-native-log {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.adara-live-native-bubble {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 8px 18px rgba(60, 16, 26, 0.06);
}

.adara-live-native-bubble.bot {
    align-self: flex-start;
    background: #fff;
    color: var(--adara-live-text);
    border: 1px solid var(--adara-live-line);
    border-bottom-left-radius: 6px;
}

.adara-live-native-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #bd254b 0%, #8d1735 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.adara-live-native-bubble.system {
    align-self: center;
    background: transparent;
    color: var(--adara-live-muted);
    border: 1px dashed rgba(60, 16, 26, 0.18);
    box-shadow: none;
    text-align: center;
    font-size: 12px;
}

.adara-live-native-bubble.live {
    outline: 1px dashed rgba(189, 37, 75, 0.28);
}

.adara-live-native-bubble small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.adara-live-native-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.adara-live-native-btn {
    appearance: none;
    border-radius: 14px;
    padding: 13px 12px;
    min-height: 54px;
    font-family: Jost, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.adara-live-native-btn:hover:not([disabled]) {
    transform: translateY(-1px);
}

.adara-live-native-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.adara-live-native-btn.primary,
.adara-live-native-btn.is-active {
    border: none;
    background: linear-gradient(135deg, #bd254b 0%, #8d1735 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(141, 23, 53, 0.18);
}

.adara-live-native-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--adara-live-deep);
    border: 1px solid var(--adara-live-line);
}

.adara-live-native-text-row {
    display: block;
}

.adara-live-native-input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(60, 16, 26, 0.14);
    border-radius: 14px;
    background: #fff;
    color: #20171a;
    padding: 13px 14px;
    font-family: Jost, sans-serif;
    font-size: 14px;
    outline: none;
}

.adara-live-native-input::placeholder {
    color: #8c7881;
}

.adara-live-native-input:disabled {
    opacity: 0.7;
    cursor: wait;
}

.adara-live-native-note {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(60, 16, 26, 0.05);
    color: var(--adara-live-muted);
    font-size: 12px;
    line-height: 1.55;
}

.adara-live-native-note a {
    color: var(--adara-live-accent);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .adara-live-native-window {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .adara-live-native-toggle {
        left: 18px;
        bottom: 18px;
        width: 62px;
        height: 62px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .adara-live-native-toggle .label {
        display: none;
    }

    .adara-live-native-body {
        padding: 16px;
    }

    .adara-live-native-controls {
        grid-template-columns: 1fr;
    }
}
