body{
    margin:0;
    background:#f3f4f6;
    font-family:"Noto Sans KR",Arial,sans-serif;
}
.container{
    max-width:1100px;
    margin:40px auto;
    background:#fff;
    border-radius:14px;
    padding:30px;
    box-shadow:0 6px 24px rgba(0,0,0,.08);
}
h1{margin-top:0}

input,select{
    padding:8px;
    border:1px solid #d1d5db;
    border-radius:8px;
}
button{
    padding:6px 14px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

.btn-blue{background:#3b82f6;color:#fff}
.btn-gray{background:#e5e7eb}
.btn-red{background:#ef4444;color:#fff}

.add-team,.add-player,.add-item{
    margin-bottom:12px;
    display:flex;
    gap:6px;
}

.team{
    border:1px solid #e5e7eb;
    border-radius:14px;
    margin-top:16px;
}
.team-header{
    padding:14px 18px;
    display:flex;
    justify-content:space-between;
    cursor:pointer;
}
.team-body{
    padding:18px;
    background:#f9fafb;
}

.player{
    border:1px solid #e5e7eb;
    border-radius:12px;
    margin-top:10px;
    background:#fff;
}
.player-header{
    padding:12px 14px;
    display:flex;
    justify-content:space-between;
    cursor:pointer;
}
.player-body{
    padding:14px;
    background:#f9fafb;
}

.arrow{
    margin-right:6px;
    color:#6b7280;
}

.item{
    display:flex;
    justify-content:space-between;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:8px;
    margin-top:6px;
}

/* 모달 */
.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1000;
}
.hidden{display:none}
.modal-box{
    background:#fff;
    padding:24px;
    border-radius:14px;
    width:320px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.modal-btns{
    display:flex;
    justify-content:flex-end;
    gap:8px;
}
