.bf6gt-card,
.bf6gt-search-wrap,
.bf6gt-admin-panel {
    background: radial-gradient(circle at top left, rgba(255, 130, 0, .16), transparent 34%), #101114;
    color: #f7f7f7;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.bf6gt-card {
    padding: 22px;
    margin: 18px 0;
    overflow: hidden;
}

.bf6gt-card-compact {
    padding: 18px;
}

.bf6gt-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.bf6gt-card h3,
.bf6gt-card h4,
.bf6gt-admin-panel h2 {
    color: #fff;
    margin: 0;
}

.bf6gt-card h3 {
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.bf6gt-card p {
    color: rgba(255, 255, 255, .64);
    margin: 6px 0 0;
}

.bf6gt-badge {
    background: linear-gradient(135deg, #ff7a00, #ff3d00);
    color: #101114;
    font-weight: 900;
    letter-spacing: .08em;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(255, 92, 0, .25);
}

.bf6gt-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bf6gt-stat-grid > div {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px;
}

.bf6gt-stat-grid span {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bf6gt-stat-grid strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.bf6gt-redsec-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    background: rgba(255, 122, 0, .11);
    border: 1px solid rgba(255, 122, 0, .26);
    border-radius: 14px;
    padding: 12px 14px;
}

.bf6gt-redsec-strip span {
    color: #ff8a1f;
    font-weight: 900;
    letter-spacing: .14em;
}

.bf6gt-redsec-strip strong {
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
}

.bf6gt-modes {
    margin-top: 20px;
    overflow-x: auto;
}

.bf6gt-modes h4 {
    margin-bottom: 10px;
}

.bf6gt-modes table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}

.bf6gt-modes th,
.bf6gt-modes td {
    color: #f7f7f7;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 10px;
    text-align: left;
}

.bf6gt-modes th {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bf6gt-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
}

.bf6gt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.bf6gt-search-wrap {
    padding: 18px;
    margin: 18px 0;
}

.bf6gt-search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bf6gt-search-form input {
    flex: 1 1 240px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 12px 14px;
}

.bf6gt-search-form button {
    border: 0;
    border-radius: 12px;
    background: #ff7a00;
    color: #111;
    font-weight: 900;
    padding: 12px 18px;
    cursor: pointer;
}

.bf6gt-error,
.bf6gt-message {
    border-radius: 12px;
    padding: 14px;
    margin: 12px 0;
}

.bf6gt-error {
    background: rgba(180, 30, 30, .14);
    border: 1px solid rgba(255, 80, 80, .3);
    color: #ffd6d6;
}

.bf6gt-message {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #f7f7f7;
}

.bf6gt-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin: 18px 0;
}

.bf6gt-admin-panel {
    padding: 18px;
}

.bf6gt-admin-panel input,
.bf6gt-admin-panel select {
    max-width: 100%;
}

.bf6gt-admin-wrap .widefat code {
    white-space: normal;
}

@media (max-width: 760px) {
    .bf6gt-stat-grid,
    .bf6gt-admin-grid {
        grid-template-columns: 1fr;
    }

    .bf6gt-card-head {
        flex-direction: column;
    }
}
