body{
margin:0;
font-family:Arial,sans-serif;
background:#f5f5f5;
color:#111;
}

.header{
background:white;
padding:18px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:100;
}

.title{
font-size:22px;
font-weight:700;
letter-spacing:-0.4px;
}

.container{
padding:15px;
max-width:900px;
margin:auto;
}

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

.match-title{
color:#888;
font-size:13px;
font-weight:600;
margin-bottom:4px;
}

.group-name{
font-size:12px;
margin-bottom:15px;
color:#666;
font-weight:500;
}

.match-layout{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:10px;
margin:20px 0;
}

.team-side{
flex:1;
text-align:center;
min-width:90px;
}

.team-name{
font-size:18px;
font-weight:700;
margin-bottom:6px;
}

.team-score{
font-size:42px;
font-weight:800;
line-height:1;
margin-bottom:10px;
}

.match-center{
text-align:center;
min-width:85px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}

.match-clock{
font-size:22px;
font-weight:700;
margin-bottom:5px;
}

.live{
color:red;
font-weight:700;
font-size:13px;
}

.ht{
color:orange;
font-weight:700;
font-size:13px;
}

.ft{
color:green;
font-weight:700;
font-size:13px;
}

.scorers-side{
margin-top:8px;
font-size:12px;
text-align:left;
min-height:30px;
}

.scorer-item{
padding:4px 0;
color:#444;
font-size:12px;
line-height:1.4;
}

table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:12px;
overflow:hidden;
}

th,td{
padding:12px 8px;
text-align:center;
border-bottom:1px solid #eee;
font-size:13px;
}

th{
background:#fafafa;
font-weight:700;
}

.qualify{
border-left:5px solid blue;
}

button{
padding:11px 14px;
margin:5px;
border:none;
border-radius:10px;
background:black;
color:white;
cursor:pointer;
font-size:13px;
font-weight:600;
transition:0.2s ease;
}

button:hover{
opacity:0.85;
}

select,input{
width:100%;
padding:13px;
border:1px solid #ddd;
border-radius:10px;
margin-bottom:12px;
font-size:14px;
outline:none;
box-sizing:border-box;
background:white;
}

select:focus,
input:focus{
border-color:black;
}

hr{
border:none;
border-top:1px solid #eee;
margin:20px 0;
}

h3{
margin-bottom:10px;
font-size:15px;
font-weight:700;
}

/* Bigger screens only */
@media(min-width:768px){

.title{
font-size:28px;
}

.match-layout{
gap:20px;
}

.team-name{
font-size:22px;
}

.team-score{
font-size:54px;
}

.match-clock{
font-size:28px;
}

.scorer-item{
font-size:13px;
}
}