#ns-smiley-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999999;
    border: 0;
    border-radius: 999px;
    background: #cdd64b;
    color: #111;
    font-weight: 800;
    font-size: 16px;
    padding: 15px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
    cursor: pointer;
}

#ns-smiley-panel {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: min(390px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 120px));
    z-index: 999999;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    overflow: hidden;
    display: none;
    font-family: inherit;
}

#ns-smiley-header {
    background: #1f1f1f;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#ns-smiley-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
}

#ns-smiley-title {
    font-weight: 800;
    font-size: 18px;
    line-height: 1.1;
}

#ns-smiley-subtitle {
    font-size: 13px;
    opacity: .9;
    margin-top: 2px;
}

#ns-smiley-close {
    margin-left: auto;
    border: 0;
    background: #cdd64b;
    color: #fff;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 2px;
}

#ns-smiley-messages {
    height: 360px;
    overflow-y: auto;
    padding: 16px;
    background: #f7f7f7;
}

.ns-msg {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.ns-msg.bot {
    background: #fff;
    color: #111;
    margin-right: 28px;
}

.ns-msg.user {
    background: #111;
    color: #fff;
    margin-left: 60px;
    text-align: right;
}

#ns-smiley-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 0;
    background: #fff;
}

.ns-quick {
    border: 0;
    border-radius: 999px;
    background: #cdd64b;
    color: #111;
    padding: 8px 11px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}

#ns-smiley-form {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
    background: #fff;
}

#ns-smiley-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
}

#ns-smiley-send {
    border: 0;
    border-radius: 12px;
    background: #cdd64b;
    color: #fff;
    font-weight: 800;
    padding: 0 16px;
    cursor: pointer;
}

@media (max-width: 520px) {
    #ns-smiley-panel {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 78px;
    }

    #ns-smiley-launcher {
        right: 14px;
        bottom: 14px;
    }
}

#ns-smiley-launcher, .smiley-launcher {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.ns-smiley-mark, .smiley-launcher-face {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #fff url("/wp-content/plugins/nicesmile-smiley-ai-pro/assets/img/smiley-logo.png") center/72% no-repeat !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    color: transparent !important;
    font-size: 0 !important;
}

#ns-smiley-avatar, .smiley-avatar {
    background: #fff url("/wp-content/plugins/nicesmile-smiley-ai-pro/assets/img/smiley-logo.png") center/72% no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
}

@media (max-width: 430px) {
    #ns-smiley-launcher .ns-smiley-label,
    .smiley-launcher .ns-smiley-label {
        display: none !important;
    }

    #ns-smiley-launcher, .smiley-launcher {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }
}