/* モーダル全画面の背景 */
.csc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
/* モーダル表示用の大枠 */
.csc-modal-frame {
    position: relative;
    max-width: 1256px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
/* モーダル内部のボックス */
.csc-modal-content {
    width: 250px;
    position: absolute;
    top: 140px;
    right: 0px;
    background: #fff;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #dbdbdb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding-top: 10px;
}
.csc-modal-content::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 24px;
    border-style: solid;
    border-color: transparent transparent #dbdbdb transparent;
}
/* 内側（白い中身） */
.csc-modal-content::after {
    content: "";
    position: absolute;
    top: -23px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 11px 23px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}
.csc-profile-menu {
    width: 100% !important;
    list-style: none;
    margin: 0;
    padding: 0;
}
.csc-profile-menu li {
    display: block;
    width: 100% !important;
}
.csc-profile-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 30px;
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}
.csc-logout {
    border-top: 3px solid #dbdbdb;
}
.csc-profile-menu li a:hover {
    background: #f5f5f5;
}
/* ボタン風リンクにしたい場合 */
.csc-profile-btn {
    background: transparent;
    border: none;
    color: #0073aa;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 14px;
}
.csc-profile-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.csc-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.csc-avatar-initials {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    font-weight: bold;
}