.profile-edit {
    max-width: 500px;
    margin: 40px auto;
}

.profile-form p {
    margin-bottom: 20px;
}

.profile-form input[type="text"],
.profile-form input[type="file"] {
    width: 100%;
    padding: 8px;
    font-size: 16px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.back-link {
    margin-top: 20px;
    text-align: center;
}






.avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}





/* 画像クリア用チェックボックス横並び */
.clear-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.clear-checkbox input[type="checkbox"] {
    margin: 0;
}



.pwa-popup {
    display: none;
}

.pwa-popup.show {
    display: flex;
    position: fixed;
    z-index: 99999;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
}

.pwa-popup-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 25px 20px 20px;
    text-align: center;
    color: #fff;
    background: #181818;
    border-radius: 18px;
}

.pwa-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.pwa-buttons {
    display: flex;
    gap: 10px;
}

.pwa-buttons button {
    flex: 1;
    padding: 13px 8px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

#pwa-install-btn {
    color: #fff;
    background: #007aff;
}

#pwa-close-btn {
    color: #fff;
    background: #444;
}


