.hs-frame { margin-bottom: 16px; }
.hs-header { display: flex; align-items: center; gap: 12px; }

/* Filtros */
.hs-filters {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr auto;
    gap: 12px;
    align-items: end;
}
@media (max-width: 800px) {
    .hs-filters { grid-template-columns: 1fr 1fr; }
    .hs-field--btn { grid-column: 1 / -1; }
}
.hs-field { display: flex; flex-direction: column; gap: 4px; }
.hs-label {
    color: var(--hydra-glow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.hs-input {
    background: rgba(5, 16, 42, 0.85);
    border: 1px solid var(--frame-border);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.hs-input:focus {
    border-color: var(--frame-border-strong);
    background: rgba(5, 16, 42, 0.95);
}
.hs-field--btn .btn { padding: 10px 18px; }

/* Tabela â€” mesmo padrÃ£o da pÃ¡gina /online */
.hs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-primary);
    table-layout: fixed;
}

/* Larguras e alinhamentos por coluna (header + body coerentes) */
.hs-table th:nth-child(1), .hs-table td:nth-child(1) { width: 70px;  text-align: left; }
.hs-table th:nth-child(2), .hs-table td:nth-child(2) { width: auto;  text-align: left; }
.hs-table th:nth-child(3), .hs-table td:nth-child(3) { width: 150px; text-align: left; }
.hs-table th:nth-child(4), .hs-table td:nth-child(4) { width: 150px; text-align: left; }
.hs-table th:nth-child(5), .hs-table td:nth-child(5) { width: 90px;  text-align: center; }
.hs-table th:nth-child(6), .hs-table td:nth-child(6) { width: 180px; text-align: right; }

.hs-table thead th {
    background: linear-gradient(180deg, rgba(27, 58, 122, 0.35) 0%, rgba(27, 58, 122, 0.2) 100%);
    color: var(--hydra-light);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    padding: 11px 16px;
    border-bottom: 1px solid var(--frame-border-strong);
    letter-spacing: 0.4px;
}
.hs-table tbody tr {
    border-bottom: 1px solid rgba(74, 119, 212, 0.06);
    transition: background 0.12s;
}
.hs-table tbody tr:nth-child(even) td {
    background: rgba(74, 119, 212, 0.035);
}
.hs-table tbody tr:hover td {
    background: rgba(74, 119, 212, 0.12);
}
.hs-table td {
    padding: 11px 16px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-rank {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.hs-rank--gold    { color: #f5d77e; }
.hs-rank--silver  { color: #cfd8e0; }
.hs-rank--bronze  { color: #c47e3a; }
.hs-rank--default { color: var(--text-muted); }

.hs-name-link {
    color: var(--hydra-light);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}
.hs-name-link:hover { color: var(--hydra-glow); }

.hs-level {
    color: var(--gold-light);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.hs-value {
    color: var(--text-primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* PaginaÃ§Ã£o */
.hs-pagination-wrap {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(74, 119, 212, 0.1);
    background: rgba(5, 16, 42, 0.4);
}
.hs-pagination-info { color: var(--text-secondary); font-size: 12px; }
.hs-pagination-info strong { color: var(--hydra-light); }
.hs-pagination {
    display: inline-flex;
    gap: 4px;
}
.hs-page-link {
    display: inline-block;
    min-width: 32px;
    padding: 6px 10px;
    text-align: center;
    background: rgba(27, 58, 122, 0.2);
    border: 1px solid var(--frame-border);
    border-radius: 3px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.hs-page-link:hover {
    background: var(--hydra-deep);
    color: var(--white);
    border-color: var(--frame-border-strong);
}
.hs-page-link--active {
    background: var(--hydra-deep);
    color: var(--white);
    border-color: var(--hydra-glow);
}
.hs-page-link--disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.hs-page-link--disabled:hover {
    background: rgba(27, 58, 122, 0.2);
    color: var(--text-primary);
    border-color: var(--frame-border);
}

.hs-empty {
    margin: 0;
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 13px;
}

/* Powergamers: abas de filtro de dia */
.pg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.pg-tab {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--gold, #d8b775);
    background: rgba(14, 8, 4, .45);
    border: 1px solid var(--frame-border, rgba(191, 151, 78, .16));
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: all .15s ease;
}

.pg-tab:hover,
.pg-tab--active {
    color: var(--gold-bright, #f0d49a);
    background: rgba(191, 151, 78, .14);
    border-color: rgba(191, 151, 78, .45);
}
