.hist-container {
    max-width: 860px;
    padding-bottom: 1.75rem;
}

.hist-container .page-back {
    margin-top: 1.5rem;
}

.hist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hist-stat {
    background: rgba(74, 111, 165, 0.08);
    border: 1px solid rgba(74, 111, 165, 0.18);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
}

.hist-stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
}

.hist-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-gray);
    margin-top: 0.3rem;
}

.hist-filters {
    margin-bottom: 1.25rem;
}

.hist-table th,
.hist-table td {
    vertical-align: middle;
}

.hist-col-date {
    white-space: nowrap;
    color: var(--text-gray);
    font-size: 0.78rem;
    width: 6rem;
}

.hist-col-correct {
    white-space: nowrap;
    font-size: 0.82rem;
    color: var(--text-gray);
    text-align: center;
}

.hist-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.hist-auth-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    color: var(--text-gray);
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hist-relogin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: auto;
    padding: 0.65rem 1.75rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .hist-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .hist-stat {
        padding: 0.75rem 0.5rem;
    }
    .hist-stat-value {
        font-size: 1.2rem;
    }
    .hist-col-date,
    .hist-col-correct {
        display: none;
    }
}
