/**
 * 全局聊天入口按钮样式（独立模块）
 * 说明：该文件在头部 CSS 清单中显式加载，确保样式稳定生效
 */

.chat-entry-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-right-section .chat-entry-wrapper .chat-entry-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 1;
    flex-shrink: 0;

    /* 与参考页对齐：深色背景上的浅透明毛玻璃 */
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
    transition: all 0.22s ease !important;
}

.header-right-section .chat-entry-wrapper .chat-entry-box:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-3px);
}

.header-right-section .chat-entry-wrapper .chat-entry-btn {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
}

.header-right-section .chat-entry-wrapper .chat-entry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.header-right-section .chat-entry-wrapper .chat-entry-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.header-right-section .chat-entry-wrapper .chat-entry-btn:hover .chat-entry-icon {
    color: #ffffff !important;
}

.header-right-section .chat-entry-wrapper .chat-entry-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 128, 255, 0.35);
    border-radius: 8px;
}
