/* NM Messenger Bar v1.2.1 */
:root {
    --nm-bar-bg: #1A1614;
    --nm-bar-text: #FAF7F2;
    --nm-bar-hover-bg: rgba(200,169,110,0.15);
    --nm-bar-hover-text: #C8A96E;
    --nm-bar-divider: rgba(200,169,110,0.25);
    --nm-bar-height: 68px;
    --nm-bar-icon: 34px;
    --nm-sidebar-width: 68px;
    --nm-sidebar-icon: 30px;
}

.nm-messenger-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    background: var(--nm-bar-bg);
    height: var(--nm-bar-height);
    border-top: 2px solid var(--nm-bar-divider);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
}

.nm-bar-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
    width: 100%;
}

.nm-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--nm-bar-text);
    font-size: 9px;
	font-weight:600!important;
    font-family: inherit;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
    border-right: 1px solid var(--nm-bar-divider);
    cursor: pointer;
    background: transparent;
    border-top: none; border-bottom: none; border-left: none;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.nm-bar-btn:last-child { border-right: none; }

.nm-bar-btn:hover,
.nm-bar-btn:active,
.nm-bar-btn:focus {
    background: var(--nm-bar-hover-bg);
    color: var(--nm-bar-hover-text);
    outline: none;
}

.nm-bar-btn svg {
    width: var(--nm-bar-icon) !important;
    height: var(--nm-bar-icon) !important;
    min-width: var(--nm-bar-icon);
    min-height: var(--nm-bar-icon);
    fill: currentColor;
    flex-shrink: 0;
    pointer-events: none;
    display: block;
    overflow: hidden;
}

.nm-bar-btn span {
    font-size: 8px;
    opacity: 0.7;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.nm-bar-btn:hover span,
.nm-bar-btn:active span { opacity: 1; }

body.nm-bar-active {
    padding-bottom: var(--nm-bar-height) !important;
}

@media (max-width: 1024px) {
    .nm-messenger-bar { display: flex; }
}

.nm-messenger-sidebar {
    display: none;
    position: fixed;
    right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    flex-direction: column;
    background: var(--nm-bar-bg);
    border-radius: 8px 0 0 8px;
    border: 1px solid var(--nm-bar-divider);
    border-right: none;
    box-shadow: -2px 0 16px rgba(0,0,0,0.2);
    overflow: hidden;
}

.nm-sidebar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: var(--nm-sidebar-width);
    padding: 13px 0;
    text-decoration: none;
    color: var(--nm-bar-text);
    font-size: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--nm-bar-divider);
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    background: transparent;
    border-top: none; border-left: none; border-right: none;
    font-family: inherit;
}

.nm-sidebar-btn:last-child { border-bottom: none; }

.nm-sidebar-btn:hover,
.nm-sidebar-btn:active,
.nm-sidebar-btn:focus {
    background: var(--nm-bar-hover-bg);
    color: var(--nm-bar-hover-text);
    outline: none;
}

.nm-sidebar-btn svg {
    width: var(--nm-sidebar-icon) !important;
    height: var(--nm-sidebar-icon) !important;
    min-width: var(--nm-sidebar-icon);
    min-height: var(--nm-sidebar-icon);
    fill: currentColor;
    pointer-events: none;
    display: block;
    overflow: hidden;
}

.nm-sidebar-btn span { opacity: 0.7; line-height: 1; white-space: nowrap; }
.nm-sidebar-btn:hover span { opacity: 1; }

@media (min-width: 1025px) {
    .nm-messenger-sidebar { display: flex; }
}
