:root {
    --primary: #8a2be2;
    --primary-2: #7b1fa2;
    --accent: #ff4500;
    --radius: 14px;
    --m-bg: #0f0f0f;
    --m-surface: #1a1a1a;
    --m-surface-2: #212121;
    --m-hover: #2a2a2a;
    --m-border: #2e2e2e;
    --m-text: #ffffff;
    --m-muted: #9a9a9a;
    --m-bubble-mine: #5b2d91;
    --m-bubble: #262626;
    --m-danger: #e53935;
    --m-green: #4caf50;
    --m-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

[data-theme="light"] {
    --m-bg: #f2f2f5;
    --m-surface: #ffffff;
    --m-surface-2: #f0f0f3;
    --m-hover: #e9e9ef;
    --m-border: #e0e0e6;
    --m-text: #111111;
    --m-muted: #6b6b76;
    --m-bubble-mine: #d9b8ff;
    --m-bubble: #e9e9ef;
    --m-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

html, body { height: 100%; }
body {
    background: var(--m-bg);
    color: var(--m-text);
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; color: inherit; }
img { display: block; }

/* ==================== APP LAYOUT ==================== */
.m-app {
    display: grid;
    grid-template-columns: auto 340px 1fr;
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.m-overlay { display: none; }

.m-farleft {
    width: 0;
    overflow: hidden;
    background: var(--m-surface);
    border-right: 1px solid var(--m-border);
    transition: width 0.28s ease;
    flex-shrink: 0;
}
.m-farleft.open { width: 260px; }
.m-farleft-header {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid var(--m-border);
    min-width: 260px;
}
.m-farleft-header .m-avatar { width: 52px; height: 52px; font-size: 22px; }
.m-farleft-header .nick { font-weight: 700; font-size: 16px; }
.m-farleft-header .uname { color: var(--m-muted); font-size: 13px; }
.m-farleft-nav { display: flex; flex-direction: column; min-width: 260px; padding: 8px; }
.m-farleft-nav button {
    text-align: left;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}
.m-farleft-nav button:hover { background: var(--m-hover); }

.m-chats {
    background: var(--m-surface);
    border-right: 1px solid var(--m-border);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.m-chats-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    position: relative;
    z-index: 5;
}
.m-icon-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.m-icon-btn:hover { background: var(--m-hover); }
.m-search-wrap { flex: 1; position: relative; }
.m-search {
    width: 100%;
    padding: 10px 14px;
    border-radius: 20px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    outline: none;
    font-size: 15px;
}
.m-search:focus { border-color: var(--primary); }
.m-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    max-height: 380px;
    overflow-y: auto;
    display: none;
    box-shadow: var(--m-shadow);
    z-index: 20;
}
.m-search-results.show { display: block; }

.m-filter-menu {
    display: none;
    flex-direction: column;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    margin: 0 10px;
    padding: 6px;
    box-shadow: var(--m-shadow);
}
.m-filter-menu.show { display: flex; }
.m-filter-menu button {
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}
.m-filter-menu button:hover { background: var(--m-hover); }

.m-chat-list { flex: 1; overflow-y: auto; padding: 6px 8px; }

.m-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}
.m-chat-item:hover { background: var(--m-hover); }
.m-chat-item.active { background: var(--m-hover); }
.m-chat-item .body { flex: 1; min-width: 0; }
.m-chat-item .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.m-chat-item .title { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-chat-item .time { font-size: 11px; color: var(--m-muted); flex-shrink: 0; }
.m-chat-item .preview {
    font-size: 13px; color: var(--m-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
}
.m-chat-item .badge {
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    min-width: 20px;
    text-align: center;
}

.m-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
.m-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-avatar.sm { width: 38px; height: 38px; font-size: 15px; }
.m-avatar.xs { width: 30px; height: 30px; font-size: 12px; }

/* ==================== MAIN PANEL ==================== */
.m-main {
    background: var(--m-bg);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}
.m-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--m-muted); }
.m-empty-logo { font-size: 64px; }
#m-chatview { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.m-chat-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--m-surface);
    border-bottom: 1px solid var(--m-border);
    z-index: 3;
}
.m-chat-title { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.m-chat-title .name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-chat-title .sub { font-size: 12px; color: var(--m-muted); }

.m-pinned {
    background: var(--m-surface);
    border-bottom: 1px solid var(--m-border);
    max-height: 40%;
    overflow-y: auto;
    display: none;
}
.m-pinned.show { display: block; }
.m-pinned-item {
    padding: 8px 16px;
    border-bottom: 1px solid var(--m-border);
    cursor: pointer;
    font-size: 14px;
}
.m-pinned-item:hover { background: var(--m-hover); }
.m-pinned-item .who { color: var(--primary); font-weight: 600; }

.m-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; }

.m-day-divider { text-align: center; color: var(--m-muted); font-size: 12px; margin: 10px 0; }

.m-msg { display: flex; margin: 2px 0; position: relative; }
.m-msg.mine { justify-content: flex-end; }
.m-msg.selected .m-bubble { outline: 2px solid var(--primary); }
.m-bubble-wrap { max-width: 72%; display: flex; flex-direction: column; }
.m-msg.mine .m-bubble-wrap { align-items: flex-end; }
.m-msg-sender { font-size: 12px; color: var(--primary); font-weight: 600; margin: 0 8px 2px; }
.m-bubble {
    background: var(--m-bubble);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    word-break: break-word;
    position: relative;
}
.m-msg.mine .m-bubble { background: var(--m-bubble-mine); color: #fff; }
[data-theme="light"] .m-msg.mine .m-bubble { color: #1a1a1a; }
.m-bubble .reply-ref {
    border-left: 3px solid var(--primary);
    padding: 4px 8px;
    margin-bottom: 4px;
    font-size: 13px;
    background: rgba(0,0,0,0.12);
    border-radius: 6px;
    color: var(--m-muted);
}
.m-bubble img.m-img, .m-bubble video.m-vid {
    max-width: 320px;
    max-height: 300px;
    border-radius: 8px;
    margin-top: 4px;
}
.m-bubble .m-time {
    display: block;
    font-size: 11px;
    color: var(--m-muted);
    text-align: right;
    margin-top: 2px;
}
.m-msg.mine .m-bubble .m-time { color: rgba(255,255,255,0.7); }
[data-theme="light"] .m-msg.mine .m-bubble .m-time { color: rgba(0,0,0,0.5); }
.m-msg .m-pin-flag { font-size: 10px; color: var(--m-muted); margin-right: 4px; }

.m-input-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--m-surface);
    border-top: 1px solid var(--m-border);
}
.m-input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 20px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    outline: none;
    font-size: 15px;
}
.m-input:focus { border-color: var(--primary); }
.m-send {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 17px;
    flex-shrink: 0;
}
.m-send:disabled { opacity: 0.4; }
.m-reply-bar, .m-select-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--m-surface-2);
    border-top: 1px solid var(--m-border);
    font-size: 13px;
    flex-wrap: wrap;
}
.m-reply-bar span { flex: 1; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-select-bar button, .m-reply-bar button {
    background: var(--m-hover);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
}

/* friend request / system banner */
.m-system-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--m-surface);
    border-top: 1px solid var(--m-border);
}
.m-btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}
.m-btn-primary:hover { background: var(--primary-2); }
.m-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.m-btn-ghost { background: var(--m-hover); padding: 10px 18px; border-radius: 20px; font-size: 14px; }
.m-btn-danger { background: var(--m-danger); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.m-btn-green { background: var(--m-green); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; }

/* ==================== CONTEXT MENU ==================== */
.m-context {
    position: fixed;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    box-shadow: var(--m-shadow);
    min-width: 180px;
    z-index: 1000;
    display: none;
    padding: 6px;
}
.m-context.show { display: block; }
.m-context button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.m-context button:hover { background: var(--m-hover); }
.m-context button.danger { color: var(--m-danger); }

/* ==================== MODAL ==================== */
.m-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}
.m-modal.show { display: flex; }
.m-modal-card {
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--m-shadow);
    animation: m-pop 0.18s ease;
}
.m-modal-small { max-width: 340px; }
@keyframes m-pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.m-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--m-border);
    font-weight: 700;
    font-size: 17px;
}
.m-modal-body { padding: 18px; overflow-y: auto; }

.m-field { margin-bottom: 14px; }
.m-field label { display: block; font-size: 13px; color: var(--m-muted); margin-bottom: 6px; }
.m-field input[type="text"], .m-field input[type="tel"], .m-field input[type="password"], .m-field textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    font-size: 15px;
    outline: none;
}
.m-field input:focus, .m-field textarea:focus { border-color: var(--primary); }
.m-field textarea { resize: vertical; min-height: 70px; }
.m-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.m-list { display: flex; flex-direction: column; gap: 4px; }
.m-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}
.m-list-item:hover { background: var(--m-hover); }
.m-list-item .info { flex: 1; min-width: 0; }
.m-list-item .info .name { font-weight: 600; font-size: 15px; }
.m-list-item .info .sub { font-size: 12px; color: var(--m-muted); }

.m-confirm-text { padding: 22px 20px; font-size: 16px; text-align: center; line-height: 1.5; }
.m-confirm-actions { display: flex; gap: 10px; padding: 0 16px 18px; }
.m-confirm-actions button { flex: 1; }

.m-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 3000;
    display: none;
    box-shadow: var(--m-shadow);
    max-width: 90vw;
}

/* ==================== AUTH PAGES ==================== */
.m-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.m-auth-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; }
.m-auth-glow.g1 { width: 380px; height: 380px; background: var(--primary); top: 10%; left: 10%; }
.m-auth-glow.g2 { width: 320px; height: 320px; background: var(--accent); bottom: 10%; right: 10%; }
.m-auth-card {
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: 18px;
    padding: 32px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--m-shadow);
    position: relative;
    z-index: 2;
}
.m-auth-logo { text-align: center; margin-bottom: 22px; }
.m-auth-logo img { width: 60px; height: 60px; border-radius: 12px; margin: 0 auto 10px; }
.m-auth-logo h1 { font-size: 22px; font-weight: 800; }
.m-auth-logo .m-auth-sub { color: var(--m-muted); font-size: 14px; margin-top: 4px; }
.m-auth h2 { font-size: 18px; margin-bottom: 16px; }
.m-auth form { display: flex; flex-direction: column; gap: 12px; }
.m-auth input {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    font-size: 15px;
    outline: none;
}
.m-auth input:focus { border-color: var(--primary); }
.m-auth .m-btn-primary { width: 100%; margin-top: 6px; }
.m-auth-alt { text-align: center; margin-top: 16px; font-size: 13px; color: var(--m-muted); }
.m-auth-alt a { color: var(--primary); text-decoration: none; font-weight: 600; }
.m-auth-error {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(229,57,53,0.15);
    border: 1px solid var(--m-danger);
    border-radius: 10px;
    color: #ff8a80;
    font-size: 13px;
}

/* ==================== MOBILE ==================== */
.m-bottomnav { display: none; }
#m-plus { display: none; }
.m-back { display: none; }

@media (max-width: 768px) {
    #m-plus { display: inline-flex; }
    #m-filter { display: none; }
    .m-app { grid-template-columns: 1fr; }
    .m-farleft {
        position: fixed;
        top: 0; bottom: 0; left: 0;
        z-index: 500;
        height: 100vh;
        width: 0;
    }
    .m-farleft.open { width: 260px; }
    .m-overlay {
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 400;
    }
    .m-overlay.show { display: block; }
    .m-chats { border-right: none; height: 100%; }
    .m-main {
        position: fixed;
        inset: 0;
        z-index: 300;
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }
    .m-main.open { transform: translateX(0); }
    .m-back { display: inline-flex !important; }
    .m-bottomnav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(20,20,24,0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--m-border);
        z-index: 200;
        height: 64px;
        padding-bottom: env(safe-area-inset-bottom);
    }
    [data-theme="light"] .m-bottomnav { background: rgba(255,255,255,0.85); }
    .m-bottomnav button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 11px;
        color: var(--m-muted);
        position: relative;
        z-index: 2;
        transition: color 0.2s;
    }
    .m-bottomnav button.active { color: var(--primary); }
    .m-bottomnav button .m-nav-ico { font-size: 20px; }
    .m-bottomnav-indicator {
        position: absolute;
        top: 6px;
        left: 0;
        width: 25%;
        height: 4px;
        border-radius: 4px;
        background: var(--primary);
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .m-chats-top { padding-top: 12px; }
    .m-bubble-wrap { max-width: 82%; }
    .m-bubble img.m-img, .m-bubble video.m-vid { max-width: 240px; }
}

/* ==================== PHONE INPUT ==================== */
.m-phone { position: relative; display: flex; gap: 8px; }
.m-phone-region {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    white-space: nowrap;
    min-width: 84px;
}
.m-phone-region .flag { font-size: 18px; line-height: 1; }
.m-phone-region .caret { font-size: 11px; color: var(--m-muted); }
.m-phone-input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    color: var(--m-text);
    font-size: 15px;
    outline: none;
    min-width: 0;
    letter-spacing: 0.5px;
}
.m-phone-input:focus { border-color: var(--primary); }
.m-phone-region-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    box-shadow: var(--m-shadow);
}
.m-phone-region-list.open { display: block; }
.m-phone-region-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}
.m-phone-region-item:hover { background: var(--m-hover); }
.m-phone-region-item .flag { font-size: 18px; }
.m-phone-region-item .name { flex: 1; }
.m-phone-region-item .code { color: var(--m-muted); }

/* ==================== CALL UI ==================== */
.m-call {
    position: fixed;
    inset: 0;
    background: #0b0b0d;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.m-call.minimized { display: none; }
.m-call-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}
.m-call-title { font-weight: 700; font-size: 16px; }
.m-call-status { color: #9a9a9a; font-size: 13px; }
.m-call-remote {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    overflow-y: auto;
    min-height: 0;
}
.m-call-remote .tile {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 3;
    background: #1a1a1f;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-call-remote .tile video { width: 100%; height: 100%; object-fit: cover; }
.m-call-remote .tile .label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-size: 13px;
    background: rgba(0,0,0,0.5);
    padding: 3px 9px;
    border-radius: 12px;
}
.m-call-remote .tile .avatar-big { font-size: 64px; font-weight: 800; color: var(--primary); }
.m-call-local {
    position: absolute;
    bottom: 96px;
    right: 18px;
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
    z-index: 5;
    display: none;
    border: 2px solid rgba(255,255,255,0.25);
}
.m-call-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 22px;
}
.m-call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    background: #2a2a30;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}
.m-call-btn:active { transform: scale(0.92); }
.m-call-btn.off { background: #e53935; }
.m-call-btn.end { background: #e53935; width: 70px; height: 70px; font-size: 28px; }
.m-call-btn.accept { background: #4caf50; width: 70px; height: 70px; font-size: 28px; }
.m-call-minimize {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 18px;
    color: #fff;
}
.m-call-pill {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--m-surface-2);
    border: 1px solid var(--m-border);
    border-radius: 24px;
    padding: 10px 16px;
    z-index: 6000;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--m-shadow);
    color: var(--m-text);
}
.m-call-pill.hidden { display: none; }
.m-call-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #4caf50; animation: m-pulse 1.2s infinite; }
@keyframes m-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
