.app-nav { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: stretch; justify-content: space-evenly; min-height: var(--nav-height); padding: .4rem max(.3rem, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(.3rem, env(safe-area-inset-left)); background: var(--mm-bg-raised); backdrop-filter: blur(16px); border-top: 1px solid var(--mm-outline); }
.app-nav a { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-width: 0; min-height: 3.75rem; padding: .4rem; color: var(--mm-text-muted); font-size: .75rem; font-weight: 600; text-decoration: none; border-radius: 12px; }
.app-nav a[aria-current="page"] { background: var(--mm-surface-elevated); color: var(--mm-positive-text); }
.app-nav a:hover { background: var(--mm-surface-hover); color: var(--mm-text); }
.app-nav img { width: 1.4rem; height: 1.4rem; filter: brightness(0) invert(.85); }
.app-nav a[aria-current="page"] img { filter: brightness(0) saturate(100%) invert(76%) sepia(49%) saturate(555%) hue-rotate(54deg); }
.mm-nav-brand, .mm-nav-footer { display: none; }
:root[data-theme="light"] .app-nav img { filter: brightness(0) invert(.25); }
.mm-nav-brand svg { flex-shrink: 0; color: var(--mm-text); }
.mm-context-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--mm-outline); padding-bottom: 1.25rem; margin-bottom: 2rem; min-height: 60px; }
.mm-context-header p { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: 0; min-width: 0; font-size: .68rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.mm-context-header p > span:first-child { color: var(--mm-text-subtle); }
.mm-context-header strong { color: var(--mm-positive-text); }
.mm-account-link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--mm-surface-elevated); color: var(--mm-text); border: 1px solid var(--mm-outline-strong); }
.mm-account-link svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (max-width: 767px) { .mm-context-header { margin-bottom: 1.5rem; padding-bottom: 1rem; } .mm-context-header p { font-size: .6rem; gap: .4rem; letter-spacing: .05em; } }
@media (min-width: 768px) { .app-nav { inset: 0 auto 0 0; width: 88px; flex-direction: column; justify-content: flex-start; gap: .5rem; padding: 2rem .6rem; border-top: 0; border-right: 1px solid var(--mm-outline); } .app-nav a { flex: 0 0 auto; margin-bottom: .5rem; } .mm-nav-brand { display: block; color: var(--mm-gold); text-align: center; font: 600 2rem var(--mm-font-heading); margin-bottom: 2rem; } .mm-nav-brand span, .mm-nav-footer { display: none; } }
@media (min-width: 1120px) { .app-nav { width: 248px; padding: 2.5rem 1.25rem; } .mm-nav-brand { display: flex; align-items: center; gap: .75rem; text-align: left; padding: 0 .75rem; margin-bottom: 3rem; } .mm-nav-brand span { display: block; color: var(--mm-text); font: 400 1.2rem/1.1 var(--mm-font-heading); letter-spacing: -.02em; } .app-nav a { flex-direction: row; justify-content: flex-start; gap: 1rem; padding: .9rem 1.1rem; font-size: .92rem; } .mm-nav-footer { display: block; margin-top: auto; padding: .75rem; border-top: 1px solid var(--mm-outline); color: var(--mm-text-subtle); font-size: .75rem; line-height: 1.7; } .mm-nav-footer strong { display: block; color: var(--mm-gold); font-weight: 500; } }
@media (min-width: 768px) { .app-nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--mm-green); color: var(--mm-text); } .mm-nav-brand svg { display: block; margin: auto; } }
@media (min-width: 1120px) { .mm-nav-brand { padding-inline: .25rem; gap: .65rem; } .mm-nav-brand span { font-size: 1.12rem; } .mm-nav-footer { padding: 1rem; border: 1px solid var(--mm-outline); border-radius: 18px; background: var(--mm-surface); } .mm-nav-footer > span { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; } .mm-nav-footer strong { color: var(--mm-text); margin-block: .3rem; overflow-wrap: anywhere; } .mm-nav-footer small { color: var(--mm-text-muted); } }
