/* Home page additions. Everything else comes from site.css, benchmarks.css and servers.css */
.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 28px 24px;
}

.stat-tile {
    flex: 1 1 160px;
    max-width: 260px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s;
}

.stat-tile:hover {
    border-color: var(--border2);
    color: var(--text);
}

.stat-value {
    display: block;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-of {
    color: var(--muted);
    font-weight: 400;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

.home-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    padding: 0 28px;
    align-items: start;
}

.home-panel {
    padding: 20px;
}

.home-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-panel-head h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.home-panel-head a {
    font-size: 13px;
    color: var(--accent-text);
    text-decoration: none;
}

.bench-group + .bench-group {
    margin-top: 18px;
}

.bench-group h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}

.bar-row {
    display: grid;
    grid-template-columns: minmax(90px, 35%) 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
}

.bar-label {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.bar-label span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-user {
    font-size: 12px;
    color: var(--muted);
}

.bar-track {
    height: 10px;
    border-radius: 5px;
    background: var(--bg3);
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: var(--accent);
}

.bar-score {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.home-server {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    text-decoration: none;
    color: var(--text);
}

.home-server + .home-server {
    border-top: 1px solid var(--border);
}

.home-server:hover .home-server-name {
    color: var(--accent-text);
}

.home-server-name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
