.events-list{

    display:flex;

    flex-direction:column;

    gap:18px;

    padding:18px;
}

/* ===================================== */
/* EVENT ROW */
/* ===================================== */

.event-row{

    background:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
    0 6px 20px rgba(0,0,0,0.12);
}

/* ===================================== */
/* EVENT MAIN */
/* ===================================== */

.event-main{

    display:grid;

    grid-template-columns:
    110px
    120px
    1fr
    90px;

    align-items:center;

    gap:16px;

    padding:22px;

    cursor:pointer;

    color:#0f172a;

    font-weight:800;
}

/* ===================================== */
/* TIME */
/* ===================================== */

.event-time{

    font-size:30px;

    font-weight:900;

    color:#0f172a;
}

/* ===================================== */
/* TEAM */
/* ===================================== */

.event-team{

    font-size:15px;

    font-weight:700;

    color:#64748b;

    text-transform:uppercase;
}

/* ===================================== */
/* PLAYER */
/* ===================================== */

.event-player{

    font-size:24px;

    font-weight:900;

    color:#111827;
}

/* ===================================== */
/* ACTION */
/* ===================================== */

.event-action{

    background:#0f172a;

    color:white;

    border-radius:16px;

    padding:14px;

    text-align:center;

    font-size:24px;

    font-weight:900;
}

/* ===================================== */
/* EVENT EDITOR */
/* ===================================== */

.event-editor{

    display:none;

    padding:24px;

    background:#f8fafc;

    border-top:2px solid #e2e8f0;
}

.event-editor.active{

    display:block;
}

/* ===================================== */
/* GRID */
/* ===================================== */

.editor-grid{

    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:14px;

    margin-bottom:18px;
}

/* ===================================== */
/* BUTTONS */
/* ===================================== */

.editor-btn{

    border:none;

    border-radius:18px;

    padding:18px;

    font-size:24px;

    font-weight:900;

    cursor:pointer;

    background:#e2e8f0;

    color:#0f172a;

    transition:0.2s;
}

.editor-btn.active{

    background:#2563eb;

    color:white;

    transform:scale(1.04);
}

/* ===================================== */
/* TIME INPUT */
/* ===================================== */

.editor-time{

    width:100%;

    padding:16px;

    font-size:24px;

    font-weight:900;

    text-align:center;

    border-radius:16px;

    border:2px solid #cbd5e1;

    margin-bottom:18px;

    box-sizing:border-box;
}

/* ===================================== */
/* ACTIONS */
/* ===================================== */

.editor-actions{

    display:flex;

    gap:14px;
}

/* ===================================== */
/* SAVE */
/* ===================================== */

.editor-save{

    flex:1;

    border:none;

    border-radius:16px;

    background:#16a34a;

    color:white;

    font-size:20px;

    font-weight:900;

    padding:18px;

    cursor:pointer;
}

/* ===================================== */
/* DELETE */
/* ===================================== */

.editor-delete{

    width:90px;

    border:none;

    border-radius:16px;

    background:#dc2626;

    color:white;

    font-size:26px;

    font-weight:900;

    cursor:pointer;
}

/* ===================================== */
/* EMPTY */
/* ===================================== */

.event-empty{

    background:white;

    border-radius:24px;

    padding:40px;

    text-align:center;

    font-size:24px;

    font-weight:900;

    color:#64748b;
}

/* ===================================== */
/* EVENTS SCREEN FIX */
/* ===================================== */

#eventsScreen{

    position:fixed;

    inset:0;

    background:#020f2f;

    overflow-y:auto;

    overflow-x:hidden;

    z-index:999;

    padding-bottom:120px;
}

/* SCROLL IOS */

#eventsScreen{

    -webkit-overflow-scrolling:touch;
}

/* LIST */

.events-list{

    min-height:100vh;
}

/* ===================================== */
/* PLAYER SELECT */
/* ===================================== */

.player-select{

    width:100%;

    height:64px;

    border-radius:18px;

    border:3px solid #cbd5e1;

    background:white;

    font-size:28px;

    font-weight:800;

    padding:0 18px;

    margin-top:14px;

    margin-bottom:18px;

    color:#0f172a;

    outline:none;

    box-sizing:border-box;

    appearance:none;
}

/* ===================================== */
/* MINI POINTS */
/* ===================================== */

.mini-edit-row{

    display:flex;

    gap:12px;

    margin-top:16px;

    margin-bottom:16px;
}

.mini-point-btn{

    flex:1;

    height:64px;

    border:none;

    border-radius:18px;

    background:#e2e8f0;

    font-size:32px;

    font-weight:900;

    cursor:pointer;
}

.mini-point-btn.plus{

    background:#2563eb;

    color:white;
}

/* ===================================== */
/* SAVE BUTTON */
/* ===================================== */

.editor-save{

    flex:1;

    height:78px;

    border:none;

    border-radius:22px;

    background:#16a34a;

    color:white;

    font-size:34px;

    font-weight:900;

    cursor:pointer;
}

/* ===================================== */
/* DELETE BUTTON */
/* ===================================== */

.editor-delete{

    width:90px;

    border:none;

    border-radius:22px;

    background:#dc2626;

    color:white;

    font-size:34px;

    font-weight:900;

    cursor:pointer;
}