*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f3f5f7;
    color:#222;
    height:100vh;
    overflow:hidden;
}

header{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 35px;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo{
    font-size:38px;
    font-weight:bold;
}

#server-status{
    font-size:22px;
    font-weight:bold;
    color:#0aa52b;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    padding:20px;
}

.stat-card{
    background:white;
    border-radius:14px;
    padding:18px;
    box-shadow:0 4px 16px rgba(0,0,0,.08);
}

.stat-title{
    color:#666;
    font-size:18px;
}

.stat-value{
    margin-top:10px;
    font-size:46px;
    font-weight:bold;
}

.content-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    padding:0 20px 20px;
    height:calc(100vh - 210px);
}

.card{
    background:white;
    border-radius:14px;
    padding:20px;
    box-shadow:0 4px 16px rgba(0,0,0,.08);
    overflow:hidden;
}

.card h2{
    margin:0 0 15px;
    font-size:24px;
}

.live-container{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:15px;
}

.live-box{
    border-left:6px solid #00b140;
    background:#f9fffa;
    border-radius:8px;
    padding:16px;
}

.live-title{
    font-size:24px;
    font-weight:bold;
    margin-bottom:12px;
}

.live-line{
    font-size:16px;
    margin:4px 0;
}

.scroll{
    height:100%;
    overflow-y:auto;
}

.record-item{
    padding:12px 0;
    border-bottom:1px solid #ddd;
    font-size:15px;
}

.event-item{
    padding:10px 0;
    border-bottom:1px solid #ddd;
    font-size:14px;
}

.record-item:last-child,
.event-item:last-child{
    border-bottom:none;
}

.scroll::-webkit-scrollbar{
    width:8px;
}

.scroll::-webkit-scrollbar-thumb{
    background:#bbb;
    border-radius:10px;
}

.content-grid{

display:grid;

grid-template-columns:1fr 1fr;

grid-template-rows:320px 320px;

gap:20px;

padding:0 20px 20px;

height:calc(100vh - 210px);

}

.card{

display:flex;

flex-direction:column;

overflow:hidden;

}

.scroll{

flex:1;

overflow-y:auto;

padding-right:8px;

}

.live-container{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

align-content:start;

gap:15px;

}

.record-item{

padding:12px;

border-bottom:1px solid #e6e6e6;

}

.event-item{

padding:10px;

border-bottom:1px solid #e6e6e6;

}

.scroll::-webkit-scrollbar{

width:8px;

}

.scroll::-webkit-scrollbar-thumb{

background:#bfbfbf;

border-radius:8px;

}
