/* public/css/modules/messenger-balloon.css */
/* 「新电波」托盘气泡 —— 常驻样式（页面加载即可能出现，不随窗口懒加载）。
   点击气泡本体打开 VSN Messenger；点 × 视为已读。 */

.vsn-balloon {
    position: fixed;
    right: 8px;
    bottom: calc(var(--taskbar-height, 38px) + 14px);
    width: 250px;
    background-color: #ffffe1; /* 经典气泡黄 */
    color: var(--win98-black);
    border: 1px solid var(--win98-black);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    padding: 6px 8px 8px;
    z-index: 9999;
    cursor: pointer;
    font-size: 12px;
    animation: vsn-balloon-in 0.18s ease-out;
}

@keyframes vsn-balloon-in {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}

/* 指向托盘的小尾巴：黑色描边三角 + 内层黄色三角 */
.vsn-balloon::before {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 22px;
    border: 12px solid transparent;
    border-top-color: var(--win98-black);
    border-bottom: 0;
    border-left-width: 0;
}

.vsn-balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 23px;
    border: 10px solid transparent;
    border-top-color: #ffffe1;
    border-bottom: 0;
    border-left-width: 0;
}

.vsn-balloon-title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.vsn-balloon-title img {
    width: 16px;
    height: 16px;
}

.vsn-balloon-close {
    margin-left: auto;
    min-width: 0;
    width: 16px;
    height: 15px;
    padding: 0;
    line-height: 1;
    font-size: 11px;
}

.vsn-balloon-body {
    line-height: 1.45;
    word-break: break-word;
}
