@font-face {
    font-family: 'digital';
    src: url('../fonts/digital-7.ttf');
  }
body{
    font-family: 'digital';
    background:black;
    color:#00FF00;
    min-height:100vh;
}

.dashboard-shell{
    padding:30px 18px 40px;
}

.dashboard-title,
.table-title{
    font-size:32px;
    text-align:center;
    letter-spacing:2px;
    margin-bottom:24px;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(170px,1fr));
    gap:18px;
    margin-bottom:32px;
}

.summary-card{
    border:1px solid rgba(0,255,0,0.35);
    box-shadow:0 0 18px rgba(0,255,0,0.14), inset 0 0 10px rgba(0,255,0,0.08);
    background:linear-gradient(180deg, rgba(0,32,0,0.88), rgba(0,0,0,0.94));
    padding:18px 12px 20px;
    border-radius:10px;
}

.dashboard-status-card{
    margin-bottom:24px;
}

.dashboard-status-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.dashboard-status-header .counter-title{
    min-height:auto;
    padding:0;
    justify-content:flex-start;
}

.connection-status{
    font-size:18px;
    padding:6px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.15);
}

.connection-status.live{
    color:#a8ff60;
    border-color:rgba(168,255,96,0.45);
    box-shadow:0 0 12px rgba(168,255,96,0.18);
}

.connection-status.reconnecting{
    color:#ffd166;
    border-color:rgba(255,209,102,0.45);
    box-shadow:0 0 12px rgba(255,209,102,0.18);
}

.connection-status.disconnected{
    color:#ff8f8f;
    border-color:rgba(255,143,143,0.45);
    box-shadow:0 0 12px rgba(255,143,143,0.18);
}

.dashboard-status-message{
    margin-top:10px;
    font-size:16px;
    color:rgba(0,255,0,0.8);
    word-break:break-word;
}

.counter-title{
    font-size:20px;
    padding:0 0 12px;
    text-align:center;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1.2;
}

.counter{
    font-size:42px;
    text-align:center;
    color:yellow;
}

.lobby-overview,
.private-room-section{
    margin-top:18px;
}

.neon-table-wrap{
    border:1px solid rgba(0,255,0,0.3);
    border-radius:12px;
    overflow-x:auto;
    overflow-y:hidden;
    width:100%;
    -webkit-overflow-scrolling:touch;
    box-shadow:0 0 16px rgba(0,255,0,0.12);
}

.neon-table{
    margin-bottom:0;
    min-width:1700px;
    width:100%;
    table-layout:fixed;
    color:#00FF00;
    background:rgba(0,0,0,0.85);
}

.neon-table .col-lobby-name{
    width:140px;
}

.neon-table .col-stat{
    width:170px;
}

.neon-table .col-total{
    width:150px;
}

.neon-table>thead>tr>th{
    color:#00FF00;
    border-bottom:1px solid rgba(0,255,0,0.35);
    border-top:none;
    font-size:17px;
    letter-spacing:1px;
    text-align:center;
    vertical-align:middle;
    background:rgba(0,50,0,0.55);
    white-space:normal;
    word-break:break-word;
    line-height:1.25;
}

.neon-table>tbody>tr>td{
    border-top:1px solid rgba(0,255,0,0.18);
    color:yellow;
    font-size:19px;
    text-align:center;
    vertical-align:middle;
    white-space:nowrap;
}

.neon-table>tbody>tr>td:first-child{
    color:#00FF00;
}

.private-room-grid{
    grid-template-columns:repeat(4,minmax(170px,1fr));
    margin-bottom:0;
}

.compact-card .counter{
    font-size:36px;
}

@media (max-width: 1199px){
    .summary-grid{
        grid-template-columns:repeat(3,minmax(170px,1fr));
    }

    .private-room-grid{
        grid-template-columns:repeat(2,minmax(170px,1fr));
    }
}

@media (max-width: 767px){
    .dashboard-shell{
        padding:20px 10px 30px;
    }

    .dashboard-status-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .dashboard-title,
    .table-title{
        font-size:26px;
        margin-bottom:18px;
    }

    .summary-grid,
    .private-room-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .counter{
        font-size:34px;
    }

    .counter-title{
        font-size:18px;
        min-height:auto;
    }

    .neon-table>thead>tr>th{
        font-size:14px;
    }

    .neon-table>tbody>tr>td{
        font-size:16px;
    }
}
