.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    gap:30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.card h2 {
    margin: 0 0 20px;
    font-size: 30px;
}

.profile-header{
    display:flex;
    align-items:center;
    gap:30px;
    max-width:1200px;
    margin:50px auto;
}

.profile-header img{
    width:128px;
    height:128px;
    border-radius:8px;
}

.profile-info h1{
    margin:0;
    margin-bottom:8px;
    font-size: 56px;
    font-weight: 800;
    text-align:left;
}

.profile-content{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    max-width:1200px;
    margin:50px auto 30px;
}

.stat-row{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.stat-row:last-child{
    border-bottom:none;
}

.recent-matches{
    max-width:1200px;
    margin:30px auto 50px;
}

.recent-match{
    display:flex;
    align-items:center;
    gap:16px;
    padding:14px 0;
    border-top:1px solid #ececec;
    text-decoration:none;
    color:inherit;
}

.recent-match:first-child{
    border-top:none;
}

.match-result{
    width:24px;
    height:24px;
    border-radius:50%;
    flex-shrink:0;
}

.match-result.win{
    background:#33c46b;
}

.match-result.loss{
    background:#e4584a;
}

.match-info{
    flex:1;
}

.match-kit{
    font-size:18px;
    font-weight:700;
    color:#222;
    margin-bottom:4px;
}

.match-meta{
    color:#777;
    font-size:14px;
}

.match-meta a{
    color:#444;
    font-weight:600;
    text-decoration:none;
}

.match-meta a:hover{
    text-decoration:underline;
}

.match-date{
    color:#999;
    font-size:14px;
    white-space:nowrap;
}

.expired{
    cursor: default;
    opacity: .7;
}

.rating{
    font-size:20px;
    font-weight:700;
    color:#444;
    margin-bottom:8px;
}

.uuid{
    color:#999;
    font-family:monospace;
    font-size:13px;
}