.players-surface {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.players-surface--accent {
    background:
        linear-gradient(135deg, rgba(136, 73, 90, 0.08), rgba(15, 23, 42, 0.1)),
        rgba(0, 0, 0, 0.18);
}
.players-card-surface {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.players-card-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(251, 113, 133, 0.14), transparent 34%),
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(0, 0, 0, 0.2);
}
.players-card-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
    pointer-events: none;
}
.players-card-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.players-card-bg-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    pointer-events: none;
    user-select: none;
    transition: opacity 0.35s ease;
}
.players-card-bg-avatar[src] {
    opacity: 0.24;
}
.players-table-surface {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.players-clan-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.12rem 0.45rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body.public-bg-light .players-clan-pill {
    background: rgba(15, 23, 42, 0.46);
    border-color: rgba(15, 23, 42, 0.22);
}
body.public-bg-light .players-surface {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.28);
    box-shadow:
        0 10px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body.public-bg-light .players-surface--accent {
    background:
        linear-gradient(135deg, rgba(136, 73, 90, 0.1), rgba(15, 23, 42, 0.18)),
        rgba(15, 23, 42, 0.28);
}
body.public-bg-light .players-card-surface,
body.public-bg-light .players-table-surface {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.24);
}
body.public-bg-light .players-card-hero {
    background:
        radial-gradient(circle at 18% 8%, rgba(251, 113, 133, 0.12), transparent 34%),
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.18)),
        rgba(15, 23, 42, 0.24);
}
body.public-bg-light .players-top-score-badge {
    background: rgba(15, 23, 42, 0.42) !important;
}
body.public-bg-light .players-top-no-clan {
    background: rgba(15, 23, 42, 0.42) !important;
    color: rgba(248, 250, 252, 0.88) !important;
}
