:popover-open {
    width: 220px;
    height: auto;
    position: absolute;
    inset: unset;
    top: 50px;
    right: 25px;
    margin: 0;

    /* シンプルな白背景 */
    background-color: white;

    /* 控えめなシャドウと角丸 */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* スムーズなアニメーション */
    animation: popoverFadeIn 0.15s ease-out;
    transform-origin: top right;
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* popover内のコンテンツスタイル */
#menu-popover {
    padding: 12px;
    color: #374151;
}

#menu-popover .user-info {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#menu-popover .user-email {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
}

#menu-popover .user-status {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

#menu-popover .status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
}

#menu-popover .menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: background-color 0.1s ease;
    margin: 2px 0;
}

#menu-popover .menu-item:hover {
    background-color: #f9fafb;
    color: #111827;
}

#menu-popover .menu-item i {
    width: 14px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

/* シンプルな上向きアロー */
#menu-popover::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}