.t1 {
    --a: #9aa0a6;
    --b: #5d6268;
}
.t2 {
    --a: #e3a36b;
    --b: #8a4f24;
}
.t3 {
    --a: #e6ebf0;
    --b: #7d8893;
}
.t4 {
    --a: #ffd66b;
    --b: #b07a12;
}
.t5 {
    --a: #ff5a6e;
    --b: #8c0f22;
}
.wpsp-md {
    --z: 46px;
    --m1: #5d6268;
    --m2: #2b2e31;
    --mi: #c9cdd0;
    position: relative;
    display: inline-grid;
    flex: none;
    place-items: center;
    width: var(--z);
    height: calc(var(--z) * 1.1);
    vertical-align: middle;
}
.wpsp-md.bronze {
    --m1: #f0a868;
    --m2: #7a3f16;
    --mi: #ffe0c2;
}
.wpsp-md.silver {
    --m1: #f2f5f8;
    --m2: #6d7884;
    --mi: #fff;
}
.wpsp-md.gold {
    --m1: #ffe07a;
    --m2: #a86d0a;
    --mi: #fff6d6;
}
.wpsp-md.platinum {
    --m1: #eef4ff;
    --m2: #56637d;
    --mi: #fff;
}
.wpsp-md.diamond {
    --m1: #a5f3fc;
    --m2: #1d4ed8;
    --mi: #f0fdff;
}
.wpsp-md.season {
    --m1: #ff7ab6;
    --m2: #9d174d;
    --mi: #fff0f7;
}
.wpsp-md.season-hal {
    --m1: #ffa24a;
    --m2: #7c2d12;
    --mi: #fff4e6;
}
.wpsp-md.season-nye {
    --m1: #93c5fd;
    --m2: #1e3a8a;
    --mi: #f0f7ff;
}
.wpsp-md.sp-gem {
    --m1: #7dd3fc;
    --m2: #6d28d9;
    --mi: #f0f9ff;
}
.wpsp-md.sp-red {
    --m1: #ff6b6b;
    --m2: #9b0f1f;
    --mi: #fff;
}
.wpsp-md.sp-mod {
    --m1: #4ade80;
    --m2: #166534;
    --mi: #f0fdf4;
}
.wpsp-md.sp-crown {
    --m1: #ff5a6e;
    --m2: #7c0a1f;
    --mi: #ffd66b;
}
.wpsp-md.lk {
    --m1: #3a3d40;
    --m2: #1f2123;
    --mi: #55595d;
}

.wpsp-md > .md-s {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--m1) 30%, transparent));
}
.wpsp-md > .md-s path {
    fill: color-mix(in srgb, var(--m2) 85%, #000);
    stroke: color-mix(in srgb, var(--m1) 80%, #fff);
    stroke-width: 1.5;
}
.wpsp-md::after {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--m1) 45%, transparent), transparent 70%);
    pointer-events: none;
    content: "";
}
.wpsp-md > .md-i {
    position: relative;
    z-index: 1;
    display: grid;
    color: var(--mi);
}
.wpsp-md > .md-i svg {
    display: block;
}
.wpsp-md.lk::after {
    display: none;
}
.wpsp-md.lk > .md-s {
    filter: none;
}
.wpsp-md.season > .md-s,
.wpsp-md.season::after {
    filter: hue-rotate(calc(var(--sy, 0) * 24deg));
}
.wpsp-md[data-medal-name] {
    cursor: help;
}
.wpsp-md[data-medal-name]:focus-visible {
    outline: 2px solid #ffb46a;
    outline-offset: 3px;
    border-radius: 6px;
}
.wpsp-lv {
    display: inline-grid;
    place-items: center;
    min-width: 19px;
    height: 17px;
    padding: 0 5px;
    border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--a) 14%, transparent);
    color: var(--a);
    font:
        700 10.5px/1 Poppins,
        Inter,
        system-ui,
        sans-serif;
    vertical-align: middle;
}
.wpsp-member-badges {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
}
.wpsp-member-badges:not(:empty) {
    margin-inline-start: 5px;
}
.wpsp-member-badges .wpsp-md > .md-s {
    filter: none;
}
.wpsp-member-badges .wpsp-md::after {
    display: none;
}
.wpsp-lvsh {
    --s: 34px;
    position: relative;
    display: inline-grid;
    flex: none;
    place-items: center;
    width: var(--s);
    height: calc(var(--s) * 1.08);
}
.wpsp-lvsh svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.wpsp-lvsh path {
    fill: color-mix(in srgb, var(--b) 70%, #000);
    stroke: var(--a);
    stroke-width: 1.6;
}
.wpsp-lvsh b {
    position: relative;
    margin-top: -6%;
    color: var(--a);
    font:
        700 calc(var(--s) * 0.45) / 1 Poppins,
        Inter,
        system-ui,
        sans-serif;
}
.wpsp-medal-tooltip[hidden] {
    display: none !important;
}
.wpsp-medal-tooltip {
    position: fixed;
    z-index: 2147483647;
    width: max-content;
    max-width: min(240px, calc(100vw - 16px));
    padding: 8px 11px;
    border: 1px solid #4a4f56;
    border-radius: 8px;
    background: #202326;
    color: #f6f7f8;
    box-shadow: 0 6px 22px rgb(0 0 0 / 45%);
    font:
        13px / 1.4 Inter,
        system-ui,
        sans-serif;
    overflow-wrap: anywhere;
    pointer-events: none;
}
.wpsp-medal-tooltip strong,
.wpsp-medal-tooltip span {
    display: block;
}
.wpsp-medal-tooltip span {
    color: #bfc8d1;
}
.wpsp-toasts {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: min(360px, calc(100vw - 24px));
    font:
        14px / 1.45 Inter,
        system-ui,
        sans-serif;
    pointer-events: none;
}
.wpsp-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #303336;
    border-radius: 14px;
    background: #1e2022;
    color: #d9dcde;
    box-shadow: 0 16px 40px -12px #000;
    pointer-events: auto;
    animation: wpsp-toast-in 0.3s ease-out;
    transition:
        opacity 0.25s,
        transform 0.25s;
}
.wpsp-toast.out {
    opacity: 0;
    transform: translateY(8px);
}
.wpsp-toast > div {
    flex: 1;
    min-width: 0;
}
.wpsp-toast small {
    display: block;
    color: #ffd66b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.wpsp-toast.badge.bronze small {
    color: #e3a36b;
}
.wpsp-toast.badge.silver small {
    color: #dfe5ea;
}
.wpsp-toast.badge.platinum small {
    color: #c7d2fe;
}
.wpsp-toast.badge.diamond small {
    color: #7dd3fc;
}
.wpsp-toast.badge.special small {
    color: #c4b5fd;
}
.wpsp-toast.badge.season small {
    color: #f9a8d4;
}
.wpsp-toast b {
    display: block;
    color: #fff;
    font:
        600 15px / 1.3 Poppins,
        Inter,
        system-ui,
        sans-serif;
}
.wpsp-toast b a {
    color: inherit;
    text-decoration: none;
}
.wpsp-toast b a:hover {
    text-decoration: underline;
}
.wpsp-toast p {
    margin: 0;
    color: #8d9194;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: left;
}
.wpsp-toast button {
    align-self: flex-start;
    padding: 0 2px;
    border: 0;
    background: none;
    color: #5f6367;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.wpsp-toast button:hover {
    color: #fff;
}
.wpsp-toast.lvl {
    border-color: rgba(255, 214, 107, 0.35);
    background: linear-gradient(120deg, rgba(255, 214, 107, 0.14), transparent 60%), #1e2022;
    animation:
        wpsp-toast-in 0.3s ease-out,
        wpsp-glow 2.4s 3;
}
.wpsp-toast.pts {
    width: max-content;
    padding: 8px 12px;
}
.wpsp-toast.pts p {
    color: #d9dcde;
    font-size: 13px;
}
.wpsp-toast .pp {
    padding: 2px 10px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font:
        700 15px Poppins,
        Inter,
        system-ui,
        sans-serif;
}
body:has(#wpsp-floating-chat) .wpsp-toasts {
    bottom: 88px;
}
@keyframes wpsp-toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}
@keyframes wpsp-glow {
    50% {
        box-shadow:
            0 0 0 4px rgba(255, 214, 107, 0.08),
            0 16px 40px -12px #000;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wpsp-toast,
    .wpsp-toast.lvl {
        animation: none;
        transition: none;
    }
}
