
.hiscores-hero {
    margin: 50px 0 22px;
    padding: 28px 30px;
    border-radius: 24px;
    background: linear-gradient(180deg, #1b1d25 0%, #14161d 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hiscores-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(177, 45, 63, 0.16), transparent 34%);
}

.hiscores-hero > * { position: relative; z-index: 1; }
.hiscores-hero .eyebrow { margin-bottom: 6px; font-size: 13px; color: var(--gold); }
.hiscores-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 58px); line-height: 1; letter-spacing: -0.03em; }
.hiscores-hero p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }

.hiscores-toolbar,
.hiscores-table-wrap {
    background: var(--panel);
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hiscores-toolbar {
    margin: 20px 0 25px;
    padding: 20px;
}

.hiscores-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.field.grow { flex: 1; }
.field label { font-size: 13px; color: var(--muted); }

.field select,
.field input {
    height: 42px;
    padding: 0 12px;
}

.field input::placeholder { color: rgba(255,255,255,0.35); }
.button-field { display: flex; }

.hiscores-table-wrap {
    padding: 20px;
}

.hiscores-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 14px;
}

.hiscores-header h2 {
    margin: 0;
    font-size: 26px;
}

.page-note {
    font-size: 13px;
    color: var(--muted);
}

.hiscores-table {
    width: 100%;
    border-collapse: collapse;
}

.hiscores-table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 12px;
    border-bottom: 1px solid var(--line);
}

.hiscores-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hiscores-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.hiscores-table a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.hiscores-table a:hover { color: #fff; }

.empty-state {
    text-align: center;
    padding: 20px;
    color: var(--muted);
}
