/* MM Global widget — site-wide invites & match bar */
.mmg-drawer {
    position: fixed;
    top: 16px;
    right: -420px;
    width: min(380px, calc(100vw - 24px));
    z-index: 2147482000;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.mmg-drawer.mmg-open {
    right: 16px;
    pointer-events: auto;
}
.mmg-drawer-inner {
    background: #fff;
    border: 2px solid #1d4ed8;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 16px 48px rgba(15,23,42,.25);
    position: relative;
}
.mmg-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}
.mmg-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #1d4ed8;
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.mmg-title { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.mmg-sub { font-size: 13px; color: #475569; margin-bottom: 4px; }
.mmg-sub strong { color: #0f172a; }
.mmg-btns { display: flex; gap: 8px; margin-top: 14px; }
.mmg-btn {
    flex: 1;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.mmg-accept { background: #16a34a; color: #fff; }
.mmg-decline { background: #e2e8f0; color: #0f172a; }

.mmg-ban-badge {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147481999;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.mmg-match-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147481998;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    max-width: min(560px, calc(100vw - 24px));
}
.mmg-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: mmg-pulse 1.2s ease infinite;
    flex-shrink: 0;
}
@keyframes mmg-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.mmg-match-link {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}
.mmg-match-link:hover { color: #fff; }

.mm-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin: 12px 0;
}
.mm-profile-stat {
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
}
.mm-profile-stat b { display: block; font-size: 18px; color: #0f172a; }
.mm-profile-stat span { font-size: 11px; color: #64748b; text-transform: uppercase; }
.mm-profile-ban {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    color: #991b1b;
    font-weight: 700;
    margin-bottom: 10px;
}
