/* --------------- */
/* Profile         */
/* --------------- */

/* 全体         */
.profile-container {
    margin: 0 0 15px;
}

.profile-menu {
    font-weight: bold;
    margin: 0 auto;
}

/* Username         */
.display-username {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.username {
    margin: 0;
    display: flex;
    align-items: center;
}

.edit-btn {
    width: 25px;
    height: 25px;
    padding: 2px;

    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.edit-btn img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* Player List */
#new-game-data-btn,
#new-player-data-btn {
    display: none;
    /* 上書き */
    width: 80%;
    margin: 10px auto;
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: bold;
    border: none;
}

/* Player List / Game History のテーブル共通 */
.player-table,
.history-table {
    /* 角丸にするため collapse にしない(base.css の table の既定の separate・border-spacing: 0) */
    margin: 0 auto;
    font-size: 0.85rem;
    width: 80%;
    margin: 10px auto;
}

.player-table th,
.player-table td,
.history-table th,
.history-table td {
    padding: 6px 10px;
    text-align: center;
    white-space: nowrap;
}

.player-table .display-username {
    margin: 0;
    width: 100%;
}

.player-table .display-username .player-name {
    margin-right: auto;
    padding-left: 10px;
}


/* Account Menu */
.account-menu-div>.column-div {
    gap: 5px;
    margin-bottom: 10px;
}

/* サインアウトの下も、上(パスワード変更との間)と同じく 10px + 外側の gap 10px = 20px 空ける(2026-10-22)。
   flex にして、form の高さを中のボタンとそろえる(文字の行の高さの分だけ下の隙間が広がらないように) */
.account-menu-div>.sign-out-form {
    display: flex;
    margin: auto auto 10px;
}

.withdraw-menu {
    padding-top: 10px;
}

/* Withdraw Page */
.withdraw-table tr {
    border-bottom: 1px solid var(--color-beige-dark);
}

.withdraw-btns {
    gap: 20px;
    width: 80%;
    margin: 30px auto 0;
}