/* ============================================================
   S News Mobile Menu — snmm-menu.css
   Solo visible en pantallas < 768px
   ============================================================ */

#snmm-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    background: #000;
    border-top: 1px solid #1c1c1c;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.snmm-inner {
    display: flex;
    align-items: center;
    height: 64px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.snmm-item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px;
    text-decoration: none;
    height: 100%;
    padding: 0 2px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
    cursor: pointer;
}

.snmm-item:active { background: rgba(255,255,255,.04); }

.snmm-icon {
    display: flex; align-items: center; justify-content: center;
    color: #3a3a3a;
    transition: color 0.2s;
    line-height: 0;
}

.snmm-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 9px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: #3a3a3a;
    transition: color 0.2s;
    white-space: nowrap; line-height: 1;
}

/* Active */
.snmm-item.snmm-active .snmm-icon  { color: #fff; }
.snmm-item.snmm-active .snmm-label { color: #fff; }
.snmm-item.snmm-active::after {
    content: '';
    position: absolute; top: 0; left: 22%; right: 22%;
    height: 1.5px; background: #fff;
    border-radius: 0 0 2px 2px;
}

/* ── ASK ── */
.snmm-ask {
    flex: 0 0 72px;
}
.snmm-ask.snmm-active::after { display: none; }

/* Black circle — same color as nav bg, sits slightly above the border-top */
.snmm-ask-bg {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #000;
    border: 1px solid #1c1c1c;
    display: flex; align-items: center; justify-content: center;
    margin-top: -14px;
    margin-bottom: 2px;
}

/* White bubble inside */
.snmm-ask-bubble {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    line-height: 0;
    transition: transform 0.15s ease;
}
.snmm-ask:active .snmm-ask-bubble { transform: scale(0.93); }

.snmm-ask .snmm-label {
    color: #555;
    margin-top: -2px;
}
.snmm-ask.snmm-active .snmm-label { color: #fff; }

/* Mobile only */
@media (max-width: 767px) {
    #snmm-nav { display: block; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

@media print {
    #snmm-nav { display: none !important; }
}
