
.g-container {
    font-family: "Inter", sans-serif;
    color: #ece4d3;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
}
.g-container h1 { font-family: "Cinzel", serif; }
 
.g-header { text-align: center; margin-bottom: 34px; }
.g-header h1 { font-size: 2rem; color: #ece4d3; font-weight: 600; letter-spacing: 0.5px; margin: 0; }
 
.g-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.g-stat-card {
    background: #1b1611;
    border: 1px solid rgba(201, 162, 39, 0.16);
    padding: 16px;
    border-radius: 4px;
    text-align: center;
}
.g-stat-val { display: block; font-size: 1.6rem; font-weight: 700; color: #e0b84a; font-family: "Cinzel", serif; }
.g-stat-label { font-size: 0.78rem; color: #948c7a; }
 
.g-controls { display: flex; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.g-search { flex: 1; min-width: 240px; }
.g-search label { position: absolute; left: -9999px; }
.g-search input {
    width: 100%;
    padding: 11px 16px;
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 3px;
    color: #ece4d3;
    outline: none;
    box-sizing: border-box;
}
.g-search input::placeholder { color: #948c7a; }
.g-search input:focus-visible { border-color: #e0b84a; }
 
.g-filters { display: flex; gap: 8px; }
.g-filter-btn {
    padding: 10px 16px;
    background: #1b1611;
    border: 1px solid rgba(201, 162, 39, 0.16);
    border-radius: 3px;
    color: #948c7a;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.g-filter-btn.active, .g-filter-btn:hover { background: #ab8226; color: #14100a; border-color: #ab8226; }
 
.g-table-wrapper {
    background: #15110d;
    border: 1px solid rgba(201, 162, 39, 0.16);
    border-radius: 4px;
    overflow: hidden;
}
.g-table { width: 100%; border-collapse: collapse; }
.g-table th {
    background: #1b1611;
    padding: 13px 18px;
    text-align: left;
    font-size: 0.78rem;
    color: #948c7a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.g-row { border-bottom: 1px solid rgba(201, 162, 39, 0.1); transition: background 0.15s ease; }
.g-row:last-child { border-bottom: none; }
.g-row:hover { background: rgba(201, 162, 39, 0.05); }
.g-cell { padding: 13px 18px; }
.g-name a { color: #ece4d3; text-decoration: none; font-weight: 500; transition: color 0.15s ease; }
.g-name a:hover { color: #e0b84a; }
 
.g-empty { text-align: center; color: #948c7a; padding: 30px !important; }
 
.g-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; }
.lvl-low    { background: rgba(47, 158, 106, 0.14); color: #2f9e6a; }
.lvl-medium { background: rgba(201, 162, 39, 0.14); color: #e0b84a; }
.lvl-high   { background: rgba(184, 64, 47, 0.14); color: #b8402f; }
 
@media (max-width: 600px) {
    .g-controls { flex-direction: column; }
    .g-filters { overflow-x: auto; padding-bottom: 6px; }
    .g-header h1 { font-size: 1.6rem; }
}
